]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/configure
Makefile.am (ext_compat_headers): New.
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252 ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
261 :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
264 :
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
274 $*
275 _LT_EOF
276 exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
292 fi
293 done
294 fi
295
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
299 :
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
304 #
305 # So, first we look for a working echo in the user's PATH.
306
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
316 fi
317 done
318 IFS="$lt_save_ifs"
319
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
342 :
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
360
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
365 fi
366 prev="$cmd"
367 done
368
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
376 fi
377 fi
378 fi
379 fi
380 fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
510 fi
511
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514 # Accept the important Cygnus configure options, so we can diagnose typos.
515
516 case $ac_option in
517
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
522
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
527
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
534
535 --config-cache | -C)
536 cache_file=config.cache ;;
537
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
543
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
552
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
565
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
574
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
578
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
585
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
590
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
597
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
602
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
607
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
614
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
623
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
628
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
632
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
636
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
640
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
649
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
654
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
661
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
668
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
685
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
689
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
695
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
706
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
711
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
716
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
723
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
728
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
731
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
734
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
747
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
756
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
760
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
767
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
774
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
778 ;;
779
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
789
790 *)
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796 ;;
797
798 esac
799 done
800
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
821 do
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
845 fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
873 fi
874 else
875 ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
884 fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
926
927 #
928 # Report the --help message.
929 #
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
935
936 Usage: $0 [OPTION]... [VAR=VALUE]...
937
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
940
941 Defaults for the options are specified in brackets.
942
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953
954 _ACEOF
955
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
962
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
967
968 For better control, use the options below.
969
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
984
985 cat <<\_ACEOF
986
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
991
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
997 fi
998
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1004
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-symvers=STYLE enables symbol versioning of the shared library
1057 [default=yes]
1058 --enable-visibility enables visibility safe usage [default=yes]
1059 --enable-version-specific-runtime-libs
1060 Specify that runtime libraries should be installed
1061 in a compiler-specific directory
1062
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --with-target-subdir=SUBDIR
1067 configuring in a subdirectory
1068 --with-cross-host=HOST configuring with a cross compiler
1069 --with-newlib assume newlib as a system C library
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1071 both]
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-gnu-ld assume the C compiler uses GNU ld default=no
1074 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1075 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1076 --with-gxx-include-dir=DIR
1077 installation directory for include files
1078
1079 Some influential environment variables:
1080 CC C compiler command
1081 CFLAGS C compiler flags
1082 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1083 nonstandard directory <lib dir>
1084 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1085 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CPP C preprocessor
1089 CXXCPP C++ preprocessor
1090
1091 Use these variables to override the choices made by `configure' or to help
1092 it to find libraries and programs with nonstandard names/locations.
1093
1094 _ACEOF
1095 fi
1096
1097 if test "$ac_init_help" = "recursive"; then
1098 # If there are subdirs, report their specific --help.
1099 ac_popdir=`pwd`
1100 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101 test -d $ac_dir || continue
1102 ac_builddir=.
1103
1104 if test "$ac_dir" != .; then
1105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106 # A "../" for each directory in $ac_dir_suffix.
1107 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108 else
1109 ac_dir_suffix= ac_top_builddir=
1110 fi
1111
1112 case $srcdir in
1113 .) # No --srcdir option. We are building in place.
1114 ac_srcdir=.
1115 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir=.
1117 else
1118 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119 fi ;;
1120 [\\/]* | ?:[\\/]* ) # Absolute path.
1121 ac_srcdir=$srcdir$ac_dir_suffix;
1122 ac_top_srcdir=$srcdir ;;
1123 *) # Relative path.
1124 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126 esac
1127
1128 # Do not use `cd foo && pwd` to compute absolute paths, because
1129 # the directories may not exist.
1130 case `pwd` in
1131 .) ac_abs_builddir="$ac_dir";;
1132 *)
1133 case "$ac_dir" in
1134 .) ac_abs_builddir=`pwd`;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1137 esac;;
1138 esac
1139 case $ac_abs_builddir in
1140 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1141 *)
1142 case ${ac_top_builddir}. in
1143 .) ac_abs_top_builddir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_srcdir=$ac_srcdir;;
1150 *)
1151 case $ac_srcdir in
1152 .) ac_abs_srcdir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1159 *)
1160 case $ac_top_srcdir in
1161 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164 esac;;
1165 esac
1166
1167 cd $ac_dir
1168 # Check for guested configure; otherwise get Cygnus style configure.
1169 if test -f $ac_srcdir/configure.gnu; then
1170 echo
1171 $SHELL $ac_srcdir/configure.gnu --help=recursive
1172 elif test -f $ac_srcdir/configure; then
1173 echo
1174 $SHELL $ac_srcdir/configure --help=recursive
1175 elif test -f $ac_srcdir/configure.ac ||
1176 test -f $ac_srcdir/configure.in; then
1177 echo
1178 $ac_configure --help
1179 else
1180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1181 fi
1182 cd $ac_popdir
1183 done
1184 fi
1185
1186 test -n "$ac_init_help" && exit 0
1187 if $ac_init_version; then
1188 cat <<\_ACEOF
1189 package-unused configure version-unused
1190 generated by GNU Autoconf 2.59
1191
1192 Copyright (C) 2003 Free Software Foundation, Inc.
1193 This configure script is free software; the Free Software Foundation
1194 gives unlimited permission to copy, distribute and modify it.
1195 _ACEOF
1196 exit 0
1197 fi
1198 exec 5>config.log
1199 cat >&5 <<_ACEOF
1200 This file contains any messages produced by compilers while
1201 running configure, to aid debugging if configure makes a mistake.
1202
1203 It was created by package-unused $as_me version-unused, which was
1204 generated by GNU Autoconf 2.59. Invocation command line was
1205
1206 $ $0 $@
1207
1208 _ACEOF
1209 {
1210 cat <<_ASUNAME
1211 ## --------- ##
1212 ## Platform. ##
1213 ## --------- ##
1214
1215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1220
1221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1223
1224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231
1232 _ASUNAME
1233
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235 for as_dir in $PATH
1236 do
1237 IFS=$as_save_IFS
1238 test -z "$as_dir" && as_dir=.
1239 echo "PATH: $as_dir"
1240 done
1241
1242 } >&5
1243
1244 cat >&5 <<_ACEOF
1245
1246
1247 ## ----------- ##
1248 ## Core tests. ##
1249 ## ----------- ##
1250
1251 _ACEOF
1252
1253
1254 # Keep a trace of the command line.
1255 # Strip out --no-create and --no-recursion so they do not pile up.
1256 # Strip out --silent because we don't want to record it for future runs.
1257 # Also quote any args containing shell meta-characters.
1258 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_configure_args=
1260 ac_configure_args0=
1261 ac_configure_args1=
1262 ac_sep=
1263 ac_must_keep_next=false
1264 for ac_pass in 1 2
1265 do
1266 for ac_arg
1267 do
1268 case $ac_arg in
1269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1272 continue ;;
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 esac
1276 case $ac_pass in
1277 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1278 2)
1279 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1280 if test $ac_must_keep_next = true; then
1281 ac_must_keep_next=false # Got value, back to normal.
1282 else
1283 case $ac_arg in
1284 *=* | --config-cache | -C | -disable-* | --disable-* \
1285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1287 | -with-* | --with-* | -without-* | --without-* | --x)
1288 case "$ac_configure_args0 " in
1289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 esac
1291 ;;
1292 -* ) ac_must_keep_next=true ;;
1293 esac
1294 fi
1295 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1296 # Get rid of the leading space.
1297 ac_sep=" "
1298 ;;
1299 esac
1300 done
1301 done
1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1304
1305 # When interrupted or exit'd, cleanup temporary files, and complete
1306 # config.log. We remove comments because anyway the quotes in there
1307 # would cause problems or look ugly.
1308 # WARNING: Be sure not to use single quotes in there, as some shells,
1309 # such as our DU 5.0 friend, will then `close' the trap.
1310 trap 'exit_status=$?
1311 # Save into config.log some information that might help in debugging.
1312 {
1313 echo
1314
1315 cat <<\_ASBOX
1316 ## ---------------- ##
1317 ## Cache variables. ##
1318 ## ---------------- ##
1319 _ASBOX
1320 echo
1321 # The following way of writing the cache mishandles newlines in values,
1322 {
1323 (set) 2>&1 |
1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 *ac_space=\ *)
1326 sed -n \
1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329 ;;
1330 *)
1331 sed -n \
1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1333 ;;
1334 esac;
1335 }
1336 echo
1337
1338 cat <<\_ASBOX
1339 ## ----------------- ##
1340 ## Output variables. ##
1341 ## ----------------- ##
1342 _ASBOX
1343 echo
1344 for ac_var in $ac_subst_vars
1345 do
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1348 done | sort
1349 echo
1350
1351 if test -n "$ac_subst_files"; then
1352 cat <<\_ASBOX
1353 ## ------------- ##
1354 ## Output files. ##
1355 ## ------------- ##
1356 _ASBOX
1357 echo
1358 for ac_var in $ac_subst_files
1359 do
1360 eval ac_val=$`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1362 done | sort
1363 echo
1364 fi
1365
1366 if test -s confdefs.h; then
1367 cat <<\_ASBOX
1368 ## ----------- ##
1369 ## confdefs.h. ##
1370 ## ----------- ##
1371 _ASBOX
1372 echo
1373 sed "/^$/d" confdefs.h | sort
1374 echo
1375 fi
1376 test "$ac_signal" != 0 &&
1377 echo "$as_me: caught signal $ac_signal"
1378 echo "$as_me: exit $exit_status"
1379 } >&5
1380 rm -f core *.core &&
1381 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 exit $exit_status
1383 ' 0
1384 for ac_signal in 1 2 13 15; do
1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 done
1387 ac_signal=0
1388
1389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1390 rm -rf conftest* confdefs.h
1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 echo >confdefs.h
1393
1394 # Predefined preprocessor variables.
1395
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 _ACEOF
1399
1400
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 _ACEOF
1404
1405
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 _ACEOF
1409
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 _ACEOF
1414
1415
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 _ACEOF
1419
1420
1421 # Let the site file select an alternate cache file if it wants to.
1422 # Prefer explicitly selected file to automatically selected ones.
1423 if test -z "$CONFIG_SITE"; then
1424 if test "x$prefix" != xNONE; then
1425 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426 else
1427 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428 fi
1429 fi
1430 for ac_site_file in $CONFIG_SITE; do
1431 if test -r "$ac_site_file"; then
1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433 echo "$as_me: loading site script $ac_site_file" >&6;}
1434 sed 's/^/| /' "$ac_site_file" >&5
1435 . "$ac_site_file"
1436 fi
1437 done
1438
1439 if test -r "$cache_file"; then
1440 # Some versions of bash will fail to source /dev/null (special
1441 # files actually), so we avoid doing that.
1442 if test -f "$cache_file"; then
1443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444 echo "$as_me: loading cache $cache_file" >&6;}
1445 case $cache_file in
1446 [\\/]* | ?:[\\/]* ) . $cache_file;;
1447 *) . ./$cache_file;;
1448 esac
1449 fi
1450 else
1451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1452 echo "$as_me: creating cache $cache_file" >&6;}
1453 >$cache_file
1454 fi
1455
1456 # Check that the precious variables saved in the cache have kept the same
1457 # value.
1458 ac_cache_corrupted=false
1459 for ac_var in `(set) 2>&1 |
1460 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1462 eval ac_new_set=\$ac_env_${ac_var}_set
1463 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1464 eval ac_new_val="\$ac_env_${ac_var}_value"
1465 case $ac_old_set,$ac_new_set in
1466 set,)
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1470 ,set)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,);;
1475 *)
1476 if test "x$ac_old_val" != "x$ac_new_val"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1480 echo "$as_me: former value: $ac_old_val" >&2;}
1481 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1482 echo "$as_me: current value: $ac_new_val" >&2;}
1483 ac_cache_corrupted=:
1484 fi;;
1485 esac
1486 # Pass precious variables to config.status.
1487 if test "$ac_new_set" = set; then
1488 case $ac_new_val in
1489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491 *) ac_arg=$ac_var=$ac_new_val ;;
1492 esac
1493 case " $ac_configure_args " in
1494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1495 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496 esac
1497 fi
1498 done
1499 if $ac_cache_corrupted; then
1500 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1501 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1502 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1503 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1504 { (exit 1); exit 1; }; }
1505 fi
1506
1507 ac_ext=c
1508 ac_cpp='$CPP $CPPFLAGS'
1509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540 ac_config_headers="$ac_config_headers config.h"
1541
1542
1543 # This works around the fact that libtool configuration may change LD
1544 # for this particular configuration, but some shells, instead of
1545 # keeping the changes in LD private, export them just because LD is
1546 # exported. Only used at the end of this file.
1547 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1548
1549 # For libtool versioning info, format is CURRENT:REVISION:AGE
1550 libtool_VERSION=6:10:0
1551
1552
1553 # Find the rest of the source tree framework.
1554 # Default to --enable-multilib
1555 # Check whether --enable-multilib or --disable-multilib was given.
1556 if test "${enable_multilib+set}" = set; then
1557 enableval="$enable_multilib"
1558 case "$enableval" in
1559 yes) multilib=yes ;;
1560 no) multilib=no ;;
1561 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1562 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1563 { (exit 1); exit 1; }; } ;;
1564 esac
1565 else
1566 multilib=yes
1567 fi;
1568
1569 # We may get other options which we leave undocumented:
1570 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1571 # See config-ml.in if you want the gory details.
1572
1573 if test "$srcdir" = "."; then
1574 if test "$with_target_subdir" != "."; then
1575 multi_basedir="$srcdir/$with_multisrctop../.."
1576 else
1577 multi_basedir="$srcdir/$with_multisrctop.."
1578 fi
1579 else
1580 multi_basedir="$srcdir/.."
1581 fi
1582
1583
1584 # Even if the default multilib is not a cross compilation,
1585 # it may be that some of the other multilibs are.
1586 if test $cross_compiling = no && test $multilib = yes \
1587 && test "x${with_multisubdir}" != x ; then
1588 cross_compiling=maybe
1589 fi
1590
1591 ac_config_commands="$ac_config_commands default-1"
1592
1593
1594 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1595 #
1596 # You will slowly go insane if you do not grok the following fact: when
1597 # building v3 as part of the compiler, the top-level /target/ becomes the
1598 # library's /host/. configure then causes --target to default to --host,
1599 # exactly like any other package using autoconf. Therefore, 'target' and
1600 # 'host' will always be the same. This makes sense both for native and
1601 # cross compilers, just think about it for a little while. :-)
1602 #
1603 # Also, if v3 is being configured as part of a cross compiler, the top-level
1604 # configure script will pass the "real" host as $with_cross_host.
1605 #
1606 # Do not delete or change the following two lines. For why, see
1607 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1608 ac_aux_dir=
1609 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1610 if test -f $ac_dir/install-sh; then
1611 ac_aux_dir=$ac_dir
1612 ac_install_sh="$ac_aux_dir/install-sh -c"
1613 break
1614 elif test -f $ac_dir/install.sh; then
1615 ac_aux_dir=$ac_dir
1616 ac_install_sh="$ac_aux_dir/install.sh -c"
1617 break
1618 elif test -f $ac_dir/shtool; then
1619 ac_aux_dir=$ac_dir
1620 ac_install_sh="$ac_aux_dir/shtool install -c"
1621 break
1622 fi
1623 done
1624 if test -z "$ac_aux_dir"; then
1625 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1626 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1627 { (exit 1); exit 1; }; }
1628 fi
1629 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1630 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1631 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1632
1633 # Make sure we can run config.sub.
1634 $ac_config_sub sun4 >/dev/null 2>&1 ||
1635 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1636 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1637 { (exit 1); exit 1; }; }
1638
1639 echo "$as_me:$LINENO: checking build system type" >&5
1640 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1641 if test "${ac_cv_build+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 ac_cv_build_alias=$build_alias
1645 test -z "$ac_cv_build_alias" &&
1646 ac_cv_build_alias=`$ac_config_guess`
1647 test -z "$ac_cv_build_alias" &&
1648 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1649 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1650 { (exit 1); exit 1; }; }
1651 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1652 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1653 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1654 { (exit 1); exit 1; }; }
1655
1656 fi
1657 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1658 echo "${ECHO_T}$ac_cv_build" >&6
1659 build=$ac_cv_build
1660 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1661 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1662 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1663
1664
1665 echo "$as_me:$LINENO: checking host system type" >&5
1666 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1667 if test "${ac_cv_host+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 ac_cv_host_alias=$host_alias
1671 test -z "$ac_cv_host_alias" &&
1672 ac_cv_host_alias=$ac_cv_build_alias
1673 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1674 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1675 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1676 { (exit 1); exit 1; }; }
1677
1678 fi
1679 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1680 echo "${ECHO_T}$ac_cv_host" >&6
1681 host=$ac_cv_host
1682 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1683 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1684 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685
1686
1687 echo "$as_me:$LINENO: checking target system type" >&5
1688 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1689 if test "${ac_cv_target+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 ac_cv_target_alias=$target_alias
1693 test "x$ac_cv_target_alias" = "x" &&
1694 ac_cv_target_alias=$ac_cv_host_alias
1695 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1696 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1697 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1698 { (exit 1); exit 1; }; }
1699
1700 fi
1701 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1702 echo "${ECHO_T}$ac_cv_target" >&6
1703 target=$ac_cv_target
1704 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1705 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1706 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1707
1708
1709 # The aliases save the names the user supplied, while $host etc.
1710 # will get canonicalized.
1711 test -n "$target_alias" &&
1712 test "$program_prefix$program_suffix$program_transform_name" = \
1713 NONENONEs,x,x, &&
1714 program_prefix=${target_alias}-
1715 target_alias=${target_alias-$host_alias}
1716
1717 # Handy for debugging:
1718 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1719
1720 if test "$build" != "$host"; then
1721 # We are being configured with some form of cross compiler.
1722 GLIBCXX_IS_NATIVE=false
1723 case "$host","$target" in
1724 # Darwin crosses can use the host system's libraries and headers,
1725 # because of the fat library support. Of course, it must be the
1726 # same version of Darwin on both sides. Allow the user to
1727 # just say --target=foo-darwin without a version number to mean
1728 # "the version on this system".
1729 *-*-darwin*,*-*-darwin*)
1730 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1731 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1732 if test $hostos = $targetos -o $targetos = darwin ; then
1733 GLIBCXX_IS_NATIVE=true
1734 fi
1735 ;;
1736
1737 *)
1738
1739 ;;
1740 esac
1741 else
1742 GLIBCXX_IS_NATIVE=true
1743 fi
1744
1745 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1746 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1747 # 1.x: minimum required version
1748 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1749 # of other PACKAGE_* variables will, however, and there's nothing
1750 # we can do about that; they come from AC_INIT).
1751 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1752 # file in the top srcdir, etc, etc), so stop complaining.
1753 # no-dependencies: turns off auto dependency generation (just for now)
1754 # -Wall: turns on all automake warnings...
1755 # -Wno-portability: ...except this one, since GNU make is now required.
1756 am__api_version="1.9"
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1763 # AIX /bin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1772 if test -z "$INSTALL"; then
1773 if test "${ac_cv_path_install+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in
1783 ./ | .// | /cC/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1786 /usr/ucb/* ) ;;
1787 *)
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1797 :
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1801 :
1802 else
1803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1804 break 3
1805 fi
1806 fi
1807 done
1808 done
1809 ;;
1810 esac
1811 done
1812
1813
1814 fi
1815 if test "${ac_cv_path_install+set}" = set; then
1816 INSTALL=$ac_cv_path_install
1817 else
1818 # As a last resort, use the slow shell script. We don't cache a
1819 # path for INSTALL within a source directory, because that will
1820 # break other packages using the cache if that directory is
1821 # removed, or if the path is relative.
1822 INSTALL=$ac_install_sh
1823 fi
1824 fi
1825 echo "$as_me:$LINENO: result: $INSTALL" >&5
1826 echo "${ECHO_T}$INSTALL" >&6
1827
1828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1829 # It thinks the first close brace ends the variable substitution.
1830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1831
1832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1833
1834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1835
1836 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1837 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1838 # Just in case
1839 sleep 1
1840 echo timestamp > conftest.file
1841 # Do `set' in a subshell so we don't clobber the current shell's
1842 # arguments. Must try -L first in case configure is actually a
1843 # symlink; some systems play weird games with the mod time of symlinks
1844 # (eg FreeBSD returns the mod time of the symlink's containing
1845 # directory).
1846 if (
1847 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1848 if test "$*" = "X"; then
1849 # -L didn't work.
1850 set X `ls -t $srcdir/configure conftest.file`
1851 fi
1852 rm -f conftest.file
1853 if test "$*" != "X $srcdir/configure conftest.file" \
1854 && test "$*" != "X conftest.file $srcdir/configure"; then
1855
1856 # If neither matched, then we have a broken ls. This can happen
1857 # if, for instance, CONFIG_SHELL is bash and it inherits a
1858 # broken ls alias from the environment. This has actually
1859 # happened. Such a system could not be considered "sane".
1860 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1861 alias in your environment" >&5
1862 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&2;}
1864 { (exit 1); exit 1; }; }
1865 fi
1866
1867 test "$2" = conftest.file
1868 )
1869 then
1870 # Ok.
1871 :
1872 else
1873 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874 Check your system clock" >&5
1875 echo "$as_me: error: newly created file is older than distributed files!
1876 Check your system clock" >&2;}
1877 { (exit 1); exit 1; }; }
1878 fi
1879 echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6
1881 test "$program_prefix" != NONE &&
1882 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1883 # Use a double $ so make ignores it.
1884 test "$program_suffix" != NONE &&
1885 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1886 # Double any \ or $. echo might interpret backslashes.
1887 # By default was `s,x,x', remove it if useless.
1888 cat <<\_ACEOF >conftest.sed
1889 s/[\\$]/&&/g;s/;s,x,x,$//
1890 _ACEOF
1891 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1892 rm conftest.sed
1893
1894 # expand $ac_aux_dir to an absolute path
1895 am_aux_dir=`cd $ac_aux_dir && pwd`
1896
1897 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1898 # Use eval to expand $SHELL
1899 if eval "$MISSING --run true"; then
1900 am_missing_run="$MISSING --run "
1901 else
1902 am_missing_run=
1903 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1905 fi
1906
1907 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1908 # We used to keeping the `.' as first argument, in order to
1909 # allow $(mkdir_p) to be used without argument. As in
1910 # $(mkdir_p) $(somedir)
1911 # where $(somedir) is conditionally defined. However this is wrong
1912 # for two reasons:
1913 # 1. if the package is installed by a user who cannot write `.'
1914 # make install will fail,
1915 # 2. the above comment should most certainly read
1916 # $(mkdir_p) $(DESTDIR)$(somedir)
1917 # so it does not work when $(somedir) is undefined and
1918 # $(DESTDIR) is not.
1919 # To support the latter case, we have to write
1920 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1921 # so the `.' trick is pointless.
1922 mkdir_p='mkdir -p --'
1923 else
1924 # On NextStep and OpenStep, the `mkdir' command does not
1925 # recognize any option. It will interpret all options as
1926 # directories to create, and then abort because `.' already
1927 # exists.
1928 for d in ./-p ./--version;
1929 do
1930 test -d $d && rmdir $d
1931 done
1932 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1933 if test -f "$ac_aux_dir/mkinstalldirs"; then
1934 mkdir_p='$(mkinstalldirs)'
1935 else
1936 mkdir_p='$(install_sh) -d'
1937 fi
1938 fi
1939
1940 for ac_prog in gawk mawk nawk awk
1941 do
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_AWK+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$AWK"; then
1950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1951 else
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1954 do
1955 IFS=$as_save_IFS
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_AWK="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 break 2
1962 fi
1963 done
1964 done
1965
1966 fi
1967 fi
1968 AWK=$ac_cv_prog_AWK
1969 if test -n "$AWK"; then
1970 echo "$as_me:$LINENO: result: $AWK" >&5
1971 echo "${ECHO_T}$AWK" >&6
1972 else
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1975 fi
1976
1977 test -n "$AWK" && break
1978 done
1979
1980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 cat >conftest.make <<\_ACEOF
1987 all:
1988 @echo 'ac_maketemp="$(MAKE)"'
1989 _ACEOF
1990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1992 if test -n "$ac_maketemp"; then
1993 eval ac_cv_prog_make_${ac_make}_set=yes
1994 else
1995 eval ac_cv_prog_make_${ac_make}_set=no
1996 fi
1997 rm -f conftest.make
1998 fi
1999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2000 echo "$as_me:$LINENO: result: yes" >&5
2001 echo "${ECHO_T}yes" >&6
2002 SET_MAKE=
2003 else
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 SET_MAKE="MAKE=${MAKE-make}"
2007 fi
2008
2009 rm -rf .tst 2>/dev/null
2010 mkdir .tst 2>/dev/null
2011 if test -d .tst; then
2012 am__leading_dot=.
2013 else
2014 am__leading_dot=_
2015 fi
2016 rmdir .tst 2>/dev/null
2017
2018 # test to see if srcdir already configured
2019 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2020 test -f $srcdir/config.status; then
2021 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2022 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2023 { (exit 1); exit 1; }; }
2024 fi
2025
2026 # test whether we have cygpath
2027 if test -z "$CYGPATH_W"; then
2028 if (cygpath --version) >/dev/null 2>/dev/null; then
2029 CYGPATH_W='cygpath -w'
2030 else
2031 CYGPATH_W=echo
2032 fi
2033 fi
2034
2035
2036 # Define the identity of the package.
2037 PACKAGE='libstdc++'
2038 VERSION='version-unused'
2039
2040
2041 # Some tools Automake needs.
2042
2043 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2044
2045
2046 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2047
2048
2049 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2050
2051
2052 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2053
2054
2055 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2056
2057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2058
2059 # Installed binaries are usually stripped using `strip' when the user
2060 # run `make install-strip'. However `strip' might not be the right
2061 # tool to use in cross-compilation environments, therefore Automake
2062 # will honor the `STRIP' environment variable to overrule this program.
2063 if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}strip; ac_word=$2
2067 echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2069 if test "${ac_cv_prog_STRIP+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2077 do
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2085 fi
2086 done
2087 done
2088
2089 fi
2090 fi
2091 STRIP=$ac_cv_prog_STRIP
2092 if test -n "$STRIP"; then
2093 echo "$as_me:$LINENO: result: $STRIP" >&5
2094 echo "${ECHO_T}$STRIP" >&6
2095 else
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2098 fi
2099
2100 fi
2101 if test -z "$ac_cv_prog_STRIP"; then
2102 ac_ct_STRIP=$STRIP
2103 # Extract the first word of "strip", so it can be a program name with args.
2104 set dummy strip; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$ac_ct_STRIP"; then
2111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_ac_ct_STRIP="strip"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2123 fi
2124 done
2125 done
2126
2127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2128 fi
2129 fi
2130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2131 if test -n "$ac_ct_STRIP"; then
2132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2133 echo "${ECHO_T}$ac_ct_STRIP" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2137 fi
2138
2139 STRIP=$ac_ct_STRIP
2140 else
2141 STRIP="$ac_cv_prog_STRIP"
2142 fi
2143
2144 fi
2145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2146
2147 # We need awk for the "check" target. The system "awk" is bad on
2148 # some platforms.
2149 # Always define AMTAR for backward compatibility.
2150
2151 AMTAR=${AMTAR-"${am_missing_run}tar"}
2152
2153 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2165 # up critical shell variables.
2166
2167 ac_ext=c
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2173 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2174 # On Suns, sometimes $CPP names a directory.
2175 if test -n "$CPP" && test -d "$CPP"; then
2176 CPP=
2177 fi
2178 if test -z "$CPP"; then
2179 if test "${ac_cv_prog_CPP+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 # Double quotes because CPP needs to be expanded
2183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2184 do
2185 ac_preproc_ok=false
2186 for ac_c_preproc_warn_flag in '' yes
2187 do
2188 # Use a header file that comes with gcc, so configuring glibc
2189 # with a fresh cross-compiler works.
2190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2191 # <limits.h> exists even on freestanding compilers.
2192 # On the NeXT, cc -E runs the code through the compiler's parser,
2193 # not just through cpp. "Syntax error" is here to catch this case.
2194 cat >conftest.$ac_ext <<_ACEOF
2195 /* confdefs.h. */
2196 _ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2200 #ifdef __STDC__
2201 # include <limits.h>
2202 #else
2203 # include <assert.h>
2204 #endif
2205 Syntax error
2206 _ACEOF
2207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2209 ac_status=$?
2210 grep -v '^ *+' conftest.er1 >conftest.err
2211 rm -f conftest.er1
2212 cat conftest.err >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } >/dev/null; then
2215 if test -s conftest.err; then
2216 ac_cpp_err=$ac_c_preproc_warn_flag
2217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2218 else
2219 ac_cpp_err=
2220 fi
2221 else
2222 ac_cpp_err=yes
2223 fi
2224 if test -z "$ac_cpp_err"; then
2225 :
2226 else
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2229
2230 # Broken: fails on valid input.
2231 continue
2232 fi
2233 rm -f conftest.err conftest.$ac_ext
2234
2235 # OK, works on sane cases. Now check whether non-existent headers
2236 # can be detected and how.
2237 cat >conftest.$ac_ext <<_ACEOF
2238 /* confdefs.h. */
2239 _ACEOF
2240 cat confdefs.h >>conftest.$ac_ext
2241 cat >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 #include <ac_nonexistent.h>
2244 _ACEOF
2245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } >/dev/null; then
2253 if test -s conftest.err; then
2254 ac_cpp_err=$ac_c_preproc_warn_flag
2255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2256 else
2257 ac_cpp_err=
2258 fi
2259 else
2260 ac_cpp_err=yes
2261 fi
2262 if test -z "$ac_cpp_err"; then
2263 # Broken: success on invalid input.
2264 continue
2265 else
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2268
2269 # Passes both tests.
2270 ac_preproc_ok=:
2271 break
2272 fi
2273 rm -f conftest.err conftest.$ac_ext
2274
2275 done
2276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2277 rm -f conftest.err conftest.$ac_ext
2278 if $ac_preproc_ok; then
2279 break
2280 fi
2281
2282 done
2283 ac_cv_prog_CPP=$CPP
2284
2285 fi
2286 CPP=$ac_cv_prog_CPP
2287 else
2288 ac_cv_prog_CPP=$CPP
2289 fi
2290 echo "$as_me:$LINENO: result: $CPP" >&5
2291 echo "${ECHO_T}$CPP" >&6
2292 ac_preproc_ok=false
2293 for ac_c_preproc_warn_flag in '' yes
2294 do
2295 # Use a header file that comes with gcc, so configuring glibc
2296 # with a fresh cross-compiler works.
2297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2298 # <limits.h> exists even on freestanding compilers.
2299 # On the NeXT, cc -E runs the code through the compiler's parser,
2300 # not just through cpp. "Syntax error" is here to catch this case.
2301 cat >conftest.$ac_ext <<_ACEOF
2302 /* confdefs.h. */
2303 _ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2307 #ifdef __STDC__
2308 # include <limits.h>
2309 #else
2310 # include <assert.h>
2311 #endif
2312 Syntax error
2313 _ACEOF
2314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2316 ac_status=$?
2317 grep -v '^ *+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2325 else
2326 ac_cpp_err=
2327 fi
2328 else
2329 ac_cpp_err=yes
2330 fi
2331 if test -z "$ac_cpp_err"; then
2332 :
2333 else
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2336
2337 # Broken: fails on valid input.
2338 continue
2339 fi
2340 rm -f conftest.err conftest.$ac_ext
2341
2342 # OK, works on sane cases. Now check whether non-existent headers
2343 # can be detected and how.
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h. */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2350 #include <ac_nonexistent.h>
2351 _ACEOF
2352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2354 ac_status=$?
2355 grep -v '^ *+' conftest.er1 >conftest.err
2356 rm -f conftest.er1
2357 cat conftest.err >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } >/dev/null; then
2360 if test -s conftest.err; then
2361 ac_cpp_err=$ac_c_preproc_warn_flag
2362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2363 else
2364 ac_cpp_err=
2365 fi
2366 else
2367 ac_cpp_err=yes
2368 fi
2369 if test -z "$ac_cpp_err"; then
2370 # Broken: success on invalid input.
2371 continue
2372 else
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2375
2376 # Passes both tests.
2377 ac_preproc_ok=:
2378 break
2379 fi
2380 rm -f conftest.err conftest.$ac_ext
2381
2382 done
2383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2384 rm -f conftest.err conftest.$ac_ext
2385 if $ac_preproc_ok; then
2386 :
2387 else
2388 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2393 fi
2394
2395 ac_ext=c
2396 ac_cpp='$CPP $CPPFLAGS'
2397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2400
2401
2402 echo "$as_me:$LINENO: checking for egrep" >&5
2403 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2404 if test "${ac_cv_prog_egrep+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2408 then ac_cv_prog_egrep='grep -E'
2409 else ac_cv_prog_egrep='egrep'
2410 fi
2411 fi
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2413 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2414 EGREP=$ac_cv_prog_egrep
2415
2416
2417
2418 # Keep these sync'd with the list in Makefile.am. The first provides an
2419 # expandable list at autoconf time; the second provides an expandable list
2420 # (i.e., shell variable) at configure time.
2421
2422 SUBDIRS='include libmath libsupc++ src po testsuite'
2423
2424 # These need to be absolute paths, yet at the same time need to
2425 # canonicalize only relative paths, because then amd will not unmount
2426 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2427 glibcxx_builddir=`${PWDCMD-pwd}`
2428 case $srcdir in
2429 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2430 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2431 esac
2432 toplevel_srcdir=${glibcxx_srcdir}/..
2433
2434
2435
2436
2437 # We use these options to decide which functions to include. They are
2438 # set from the top level.
2439
2440 # Check whether --with-target-subdir or --without-target-subdir was given.
2441 if test "${with_target_subdir+set}" = set; then
2442 withval="$with_target_subdir"
2443
2444 fi;
2445
2446
2447 # Check whether --with-cross-host or --without-cross-host was given.
2448 if test "${with_cross_host+set}" = set; then
2449 withval="$with_cross_host"
2450
2451 fi;
2452
2453
2454 # Check whether --with-newlib or --without-newlib was given.
2455 if test "${with_newlib+set}" = set; then
2456 withval="$with_newlib"
2457
2458 fi;
2459
2460 # We're almost certainly being configured before anything else which uses
2461 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2462 # we not cache the value of CXX that we "discover" here, because it's set
2463 # to something unique for us and libjava. Other target libraries need to
2464 # find CXX for themselves. We yank the rug out from under the normal AC_*
2465 # process by sneakily renaming the cache variable. This also lets us debug
2466 # the value of "our" CXX in postmortems.
2467 #
2468 # We must also force CXX to /not/ be a precious variable, otherwise the
2469 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2470 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2471 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2472 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2473 #
2474 # -fno-builtin must be present here so that a non-conflicting form of
2475 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2476
2477
2478
2479
2480 save_CXXFLAGS="$CXXFLAGS"
2481 CXXFLAGS="$CXXFLAGS -fno-builtin"
2482 ac_ext=c
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2508 fi
2509 done
2510 done
2511
2512 fi
2513 fi
2514 CC=$ac_cv_prog_CC
2515 if test -n "$CC"; then
2516 echo "$as_me:$LINENO: result: $CC" >&5
2517 echo "${ECHO_T}$CC" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2521 fi
2522
2523 fi
2524 if test -z "$ac_cv_prog_CC"; then
2525 ac_ct_CC=$CC
2526 # Extract the first word of "gcc", so it can be a program name with args.
2527 set dummy gcc; ac_word=$2
2528 echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2538 do
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_CC="gcc"
2544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2546 fi
2547 done
2548 done
2549
2550 fi
2551 fi
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6
2556 else
2557 echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6
2559 fi
2560
2561 CC=$ac_ct_CC
2562 else
2563 CC="$ac_cv_prog_CC"
2564 fi
2565
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy ${ac_tool_prefix}cc; ac_word=$2
2570 echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC="$CC" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2580 do
2581 IFS=$as_save_IFS
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_CC="${ac_tool_prefix}cc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 break 2
2588 fi
2589 done
2590 done
2591
2592 fi
2593 fi
2594 CC=$ac_cv_prog_CC
2595 if test -n "$CC"; then
2596 echo "$as_me:$LINENO: result: $CC" >&5
2597 echo "${ECHO_T}$CC" >&6
2598 else
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2601 fi
2602
2603 fi
2604 if test -z "$ac_cv_prog_CC"; then
2605 ac_ct_CC=$CC
2606 # Extract the first word of "cc", so it can be a program name with args.
2607 set dummy cc; ac_word=$2
2608 echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2618 do
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_ac_ct_CC="cc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2626 fi
2627 done
2628 done
2629
2630 fi
2631 fi
2632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2635 echo "${ECHO_T}$ac_ct_CC" >&6
2636 else
2637 echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6
2639 fi
2640
2641 CC=$ac_ct_CC
2642 else
2643 CC="$ac_cv_prog_CC"
2644 fi
2645
2646 fi
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc; ac_word=$2
2650 echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 else
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 else
2658 ac_prog_rejected=no
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2661 do
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected=yes
2668 continue
2669 fi
2670 ac_cv_prog_CC="cc"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2673 fi
2674 done
2675 done
2676
2677 if test $ac_prog_rejected = yes; then
2678 # We found a bogon in the path, so make sure we never use it.
2679 set dummy $ac_cv_prog_CC
2680 shift
2681 if test $# != 0; then
2682 # We chose a different compiler from the bogus one.
2683 # However, it has the same basename, so the bogon will be chosen
2684 # first if we set CC to just the basename; use the full file name.
2685 shift
2686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2687 fi
2688 fi
2689 fi
2690 fi
2691 CC=$ac_cv_prog_CC
2692 if test -n "$CC"; then
2693 echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700 fi
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 for ac_prog in cl
2704 do
2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 else
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2717 do
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726 done
2727 done
2728
2729 fi
2730 fi
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740 test -n "$CC" && break
2741 done
2742 fi
2743 if test -z "$CC"; then
2744 ac_ct_CC=$CC
2745 for ac_prog in cl
2746 do
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy $ac_prog; ac_word=$2
2749 echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else
2754 if test -n "$ac_ct_CC"; then
2755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2759 do
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_ac_ct_CC="$ac_prog"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2767 fi
2768 done
2769 done
2770
2771 fi
2772 fi
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2776 echo "${ECHO_T}$ac_ct_CC" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2780 fi
2781
2782 test -n "$ac_ct_CC" && break
2783 done
2784
2785 CC=$ac_ct_CC
2786 fi
2787
2788 fi
2789
2790
2791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2796
2797 # Provide some information about the compiler.
2798 echo "$as_me:$LINENO:" \
2799 "checking for C compiler version" >&5
2800 ac_compiler=`set X $ac_compile; echo $2`
2801 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2802 (eval $ac_compiler --version </dev/null >&5) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2806 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2807 (eval $ac_compiler -v </dev/null >&5) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2812 (eval $ac_compiler -V </dev/null >&5) 2>&5
2813 ac_status=$?
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2816
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2823
2824 int
2825 main ()
2826 {
2827
2828 ;
2829 return 0;
2830 }
2831 _ACEOF
2832 # FIXME: Cleanup?
2833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2834 (eval $ac_link) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 gcc_no_link=no
2839 else
2840 gcc_no_link=yes
2841 fi
2842
2843 if test x$gcc_no_link = xyes; then
2844 # Setting cross_compile will disable run tests; it will
2845 # also disable AC_CHECK_FILE but that's generally
2846 # correct if we can't link.
2847 cross_compiling=yes
2848 EXEEXT=
2849 else
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2856
2857 int
2858 main ()
2859 {
2860
2861 ;
2862 return 0;
2863 }
2864 _ACEOF
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2869 # of exeext.
2870 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2874 (eval $ac_link_default) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 # Find the output, starting from the most likely. This scheme is
2879 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2880 # resort.
2881
2882 # Be careful to initialize this variable, since it used to be cached.
2883 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2884 ac_cv_exeext=
2885 # b.out is created by i960 compilers.
2886 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2887 do
2888 test -f "$ac_file" || continue
2889 case $ac_file in
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2891 ;;
2892 conftest.$ac_ext )
2893 # This is the source file.
2894 ;;
2895 [ab].out )
2896 # We found the default executable, but exeext='' is most
2897 # certainly right.
2898 break;;
2899 *.* )
2900 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 # FIXME: I believe we export ac_cv_exeext for Libtool,
2902 # but it would be cool to find out if it's true. Does anybody
2903 # maintain Libtool? --akim.
2904 export ac_cv_exeext
2905 break;;
2906 * )
2907 break;;
2908 esac
2909 done
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2913
2914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2915 See \`config.log' for more details." >&5
2916 echo "$as_me: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&2;}
2918 { (exit 77); exit 77; }; }
2919 fi
2920
2921 ac_exeext=$ac_cv_exeext
2922 echo "$as_me:$LINENO: result: $ac_file" >&5
2923 echo "${ECHO_T}$ac_file" >&6
2924
2925 # Check the compiler produces executables we can run. If not, either
2926 # the compiler is broken, or we cross compile.
2927 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2930 # If not cross compiling, check that we can run a simple program.
2931 if test "$cross_compiling" != yes; then
2932 if { ac_try='./$ac_file'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 (eval $ac_try) 2>&5
2935 ac_status=$?
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 cross_compiling=no
2939 else
2940 if test "$cross_compiling" = maybe; then
2941 cross_compiling=yes
2942 else
2943 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2944 If you meant to cross compile, use \`--host'.
2945 See \`config.log' for more details." >&5
2946 echo "$as_me: error: cannot run C compiled programs.
2947 If you meant to cross compile, use \`--host'.
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2950 fi
2951 fi
2952 fi
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2955
2956 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2957 ac_clean_files=$ac_clean_files_save
2958 # Check the compiler produces executables we can run. If not, either
2959 # the compiler is broken, or we cross compile.
2960 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2961 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2962 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2963 echo "${ECHO_T}$cross_compiling" >&6
2964
2965 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2966 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2968 (eval $ac_link) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; then
2972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2974 # work properly (i.e., refer to `conftest.exe'), while it won't with
2975 # `rm'.
2976 for ac_file in conftest.exe conftest conftest.*; do
2977 test -f "$ac_file" || continue
2978 case $ac_file in
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 export ac_cv_exeext
2982 break;;
2983 * ) break;;
2984 esac
2985 done
2986 else
2987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2988 See \`config.log' for more details." >&5
2989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2992 fi
2993
2994 rm -f conftest$ac_cv_exeext
2995 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2996 echo "${ECHO_T}$ac_cv_exeext" >&6
2997
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3000 ac_exeext=$EXEEXT
3001 fi
3002 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3003 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3004 if test "${ac_cv_objext+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 else
3007 cat >conftest.$ac_ext <<_ACEOF
3008 /* confdefs.h. */
3009 _ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3013
3014 int
3015 main ()
3016 {
3017
3018 ;
3019 return 0;
3020 }
3021 _ACEOF
3022 rm -f conftest.o conftest.obj
3023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3025 ac_status=$?
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3029 case $ac_file in
3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3031 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3032 break;;
3033 esac
3034 done
3035 else
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3038
3039 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3040 See \`config.log' for more details." >&5
3041 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&2;}
3043 { (exit 1); exit 1; }; }
3044 fi
3045
3046 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3047 fi
3048 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3049 echo "${ECHO_T}$ac_cv_objext" >&6
3050 OBJEXT=$ac_cv_objext
3051 ac_objext=$OBJEXT
3052 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3053 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3054 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 cat >conftest.$ac_ext <<_ACEOF
3058 /* confdefs.h. */
3059 _ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3063
3064 int
3065 main ()
3066 {
3067 #ifndef __GNUC__
3068 choke me
3069 #endif
3070
3071 ;
3072 return 0;
3073 }
3074 _ACEOF
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_compiler_gnu=yes
3098 else
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3101
3102 ac_compiler_gnu=no
3103 fi
3104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3106
3107 fi
3108 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3109 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3110 GCC=`test $ac_compiler_gnu = yes && echo yes`
3111 ac_test_CFLAGS=${CFLAGS+set}
3112 ac_save_CFLAGS=$CFLAGS
3113 CFLAGS="-g"
3114 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3115 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3116 if test "${ac_cv_prog_cc_g+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 else
3119 cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h. */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3125
3126 int
3127 main ()
3128 {
3129
3130 ;
3131 return 0;
3132 }
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136 (eval $ac_compile) 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -z "$ac_c_werror_flag"
3144 || test ! -s conftest.err'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 (eval $ac_try) 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; } &&
3150 { ac_try='test -s conftest.$ac_objext'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ac_cv_prog_cc_g=yes
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3160
3161 ac_cv_prog_cc_g=no
3162 fi
3163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3164 fi
3165 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3167 if test "$ac_test_CFLAGS" = set; then
3168 CFLAGS=$ac_save_CFLAGS
3169 elif test $ac_cv_prog_cc_g = yes; then
3170 if test "$GCC" = yes; then
3171 CFLAGS="-g -O2"
3172 else
3173 CFLAGS="-g"
3174 fi
3175 else
3176 if test "$GCC" = yes; then
3177 CFLAGS="-O2"
3178 else
3179 CFLAGS=
3180 fi
3181 fi
3182 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3183 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3184 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 ac_cv_prog_cc_stdc=no
3188 ac_save_CC=$CC
3189 cat >conftest.$ac_ext <<_ACEOF
3190 /* confdefs.h. */
3191 _ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3195 #include <stdarg.h>
3196 #include <stdio.h>
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3203 char **p;
3204 int i;
3205 {
3206 return p[i];
3207 }
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3209 {
3210 char *s;
3211 va_list v;
3212 va_start (v,p);
3213 s = g (p, va_arg (v,int));
3214 va_end (v);
3215 return s;
3216 }
3217
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std1 is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std1. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3226
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3233 int
3234 main ()
3235 {
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3237 ;
3238 return 0;
3239 }
3240 _ACEOF
3241 # Don't try gcc -ansi; that turns off useful extensions and
3242 # breaks some systems' header files.
3243 # AIX -qlanglvl=ansi
3244 # Ultrix and OSF/1 -std1
3245 # HP-UX 10.20 and later -Ae
3246 # HP-UX older versions -Aa -D_HPUX_SOURCE
3247 # SVR4 -Xc -D__EXTENSIONS__
3248 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3249 do
3250 CC="$ac_save_CC $ac_arg"
3251 rm -f conftest.$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try='test -z "$ac_c_werror_flag"
3261 || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 (eval $ac_try) 2>&5
3264 ac_status=$?
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 (eval $ac_try) 2>&5
3270 ac_status=$?
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3273 ac_cv_prog_cc_stdc=$ac_arg
3274 break
3275 else
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3278
3279 fi
3280 rm -f conftest.err conftest.$ac_objext
3281 done
3282 rm -f conftest.$ac_ext conftest.$ac_objext
3283 CC=$ac_save_CC
3284
3285 fi
3286
3287 case "x$ac_cv_prog_cc_stdc" in
3288 x|xno)
3289 echo "$as_me:$LINENO: result: none needed" >&5
3290 echo "${ECHO_T}none needed" >&6 ;;
3291 *)
3292 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3294 CC="$CC $ac_cv_prog_cc_stdc" ;;
3295 esac
3296
3297 # Some people use a C++ compiler to compile C. Since we use `exit',
3298 # in C++ we need to declare it. In case someone uses the same compiler
3299 # for both compiling C and C++ we need to have the C++ compiler decide
3300 # the declaration of exit, since it's the most demanding environment.
3301 cat >conftest.$ac_ext <<_ACEOF
3302 #ifndef __cplusplus
3303 choke me
3304 #endif
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3309 ac_status=$?
3310 grep -v '^ *+' conftest.er1 >conftest.err
3311 rm -f conftest.er1
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try='test -z "$ac_c_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 (eval $ac_try) 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3328 for ac_declaration in \
3329 '' \
3330 'extern "C" void std::exit (int) throw (); using std::exit;' \
3331 'extern "C" void std::exit (int); using std::exit;' \
3332 'extern "C" void exit (int) throw ();' \
3333 'extern "C" void exit (int);' \
3334 'void exit (int);'
3335 do
3336 cat >conftest.$ac_ext <<_ACEOF
3337 /* confdefs.h. */
3338 _ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3342 $ac_declaration
3343 #include <stdlib.h>
3344 int
3345 main ()
3346 {
3347 exit (42);
3348 ;
3349 return 0;
3350 }
3351 _ACEOF
3352 rm -f conftest.$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3355 ac_status=$?
3356 grep -v '^ *+' conftest.er1 >conftest.err
3357 rm -f conftest.er1
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 (eval $ac_try) 2>&5
3365 ac_status=$?
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 (eval $ac_try) 2>&5
3371 ac_status=$?
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3374 :
3375 else
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3378
3379 continue
3380 fi
3381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 $ac_declaration
3389 int
3390 main ()
3391 {
3392 exit (42);
3393 ;
3394 return 0;
3395 }
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 (eval $ac_try) 2>&5
3410 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 (eval $ac_try) 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 break
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3423
3424 fi
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 done
3427 rm -f conftest*
3428 if test -n "$ac_declaration"; then
3429 echo '#ifdef __cplusplus' >>confdefs.h
3430 echo $ac_declaration >>confdefs.h
3431 echo '#endif' >>confdefs.h
3432 fi
3433
3434 else
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3437
3438 fi
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3445
3446 ac_ext=cc
3447 ac_cpp='$CXXCPP $CPPFLAGS'
3448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3453 do
3454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3456 echo "$as_me:$LINENO: checking for $ac_word" >&5
3457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 else
3461 if test -n "$CXX"; then
3462 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3463 else
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3466 do
3467 IFS=$as_save_IFS
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 break 2
3474 fi
3475 done
3476 done
3477
3478 fi
3479 fi
3480 CXX=$glibcxx_cv_prog_CXX
3481 if test -n "$CXX"; then
3482 echo "$as_me:$LINENO: result: $CXX" >&5
3483 echo "${ECHO_T}$CXX" >&6
3484 else
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3487 fi
3488
3489 test -n "$CXX" && break
3490 done
3491 fi
3492 if test -z "$CXX"; then
3493 ac_ct_CXX=$CXX
3494 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3495 do
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_CXX"; then
3504 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3508 do
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_CXX="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3516 fi
3517 done
3518 done
3519
3520 fi
3521 fi
3522 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3523 if test -n "$ac_ct_CXX"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3525 echo "${ECHO_T}$ac_ct_CXX" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 fi
3530
3531 test -n "$ac_ct_CXX" && break
3532 done
3533 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3534
3535 CXX=$ac_ct_CXX
3536 fi
3537
3538
3539 # Provide some information about the compiler.
3540 echo "$as_me:$LINENO:" \
3541 "checking for C++ compiler version" >&5
3542 ac_compiler=`set X $ac_compile; echo $2`
3543 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3544 (eval $ac_compiler --version </dev/null >&5) 2>&5
3545 ac_status=$?
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }
3548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3549 (eval $ac_compiler -v </dev/null >&5) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }
3553 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3554 (eval $ac_compiler -V </dev/null >&5) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }
3558
3559 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 cat >conftest.$ac_ext <<_ACEOF
3565 /* confdefs.h. */
3566 _ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3570
3571 int
3572 main ()
3573 {
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3577
3578 ;
3579 return 0;
3580 }
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_compiler_gnu=yes
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3608
3609 ac_compiler_gnu=no
3610 fi
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3613
3614 fi
3615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3617 GXX=`test $ac_compiler_gnu = yes && echo yes`
3618 ac_test_CXXFLAGS=${CXXFLAGS+set}
3619 ac_save_CXXFLAGS=$CXXFLAGS
3620 CXXFLAGS="-g"
3621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3623 if test "${ac_cv_prog_cxx_g+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 else
3626 cat >conftest.$ac_ext <<_ACEOF
3627 /* confdefs.h. */
3628 _ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632
3633 int
3634 main ()
3635 {
3636
3637 ;
3638 return 0;
3639 }
3640 _ACEOF
3641 rm -f conftest.$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3644 ac_status=$?
3645 grep -v '^ *+' conftest.er1 >conftest.err
3646 rm -f conftest.er1
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -z "$ac_cxx_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 (eval $ac_try) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 (eval $ac_try) 2>&5
3660 ac_status=$?
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_prog_cxx_g=yes
3664 else
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3667
3668 ac_cv_prog_cxx_g=no
3669 fi
3670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3671 fi
3672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3674 if test "$ac_test_CXXFLAGS" = set; then
3675 CXXFLAGS=$ac_save_CXXFLAGS
3676 elif test $ac_cv_prog_cxx_g = yes; then
3677 if test "$GXX" = yes; then
3678 CXXFLAGS="-g -O2"
3679 else
3680 CXXFLAGS="-g"
3681 fi
3682 else
3683 if test "$GXX" = yes; then
3684 CXXFLAGS="-O2"
3685 else
3686 CXXFLAGS=
3687 fi
3688 fi
3689 for ac_declaration in \
3690 '' \
3691 'extern "C" void std::exit (int) throw (); using std::exit;' \
3692 'extern "C" void std::exit (int); using std::exit;' \
3693 'extern "C" void exit (int) throw ();' \
3694 'extern "C" void exit (int);' \
3695 'void exit (int);'
3696 do
3697 cat >conftest.$ac_ext <<_ACEOF
3698 /* confdefs.h. */
3699 _ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 $ac_declaration
3704 #include <stdlib.h>
3705 int
3706 main ()
3707 {
3708 exit (42);
3709 ;
3710 return 0;
3711 }
3712 _ACEOF
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3716 ac_status=$?
3717 grep -v '^ *+' conftest.er1 >conftest.err
3718 rm -f conftest.er1
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_cxx_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 (eval $ac_try) 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5
3732 ac_status=$?
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 :
3736 else
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3739
3740 continue
3741 fi
3742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_declaration
3750 int
3751 main ()
3752 {
3753 exit (42);
3754 ;
3755 return 0;
3756 }
3757 _ACEOF
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_cxx_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5
3771 ac_status=$?
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 (eval $ac_try) 2>&5
3777 ac_status=$?
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3780 break
3781 else
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3784
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 done
3788 rm -f conftest*
3789 if test -n "$ac_declaration"; then
3790 echo '#ifdef __cplusplus' >>confdefs.h
3791 echo $ac_declaration >>confdefs.h
3792 echo '#endif' >>confdefs.h
3793 fi
3794
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800
3801 CXXFLAGS="$save_CXXFLAGS"
3802
3803
3804
3805
3806 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3807 # available). Uncomment the next line to force a particular method.
3808 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3809 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3810 LN_S=$as_ln_s
3811 if test "$LN_S" = "ln -s"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3816 echo "${ECHO_T}no, using $LN_S" >&6
3817 fi
3818
3819 #LN_S='cp -p'
3820
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823 set dummy ${ac_tool_prefix}as; ac_word=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_AS+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 else
3829 if test -n "$AS"; then
3830 ac_cv_prog_AS="$AS" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3834 do
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_AS="${ac_tool_prefix}as"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3842 fi
3843 done
3844 done
3845
3846 fi
3847 fi
3848 AS=$ac_cv_prog_AS
3849 if test -n "$AS"; then
3850 echo "$as_me:$LINENO: result: $AS" >&5
3851 echo "${ECHO_T}$AS" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3855 fi
3856
3857 fi
3858 if test -z "$ac_cv_prog_AS"; then
3859 ac_ct_AS=$AS
3860 # Extract the first word of "as", so it can be a program name with args.
3861 set dummy as; ac_word=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 if test -n "$ac_ct_AS"; then
3868 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3872 do
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_AS="as"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3880 fi
3881 done
3882 done
3883
3884 fi
3885 fi
3886 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3887 if test -n "$ac_ct_AS"; then
3888 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3889 echo "${ECHO_T}$ac_ct_AS" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3893 fi
3894
3895 AS=$ac_ct_AS
3896 else
3897 AS="$ac_cv_prog_AS"
3898 fi
3899
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ar; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_AR+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$AR"; then
3909 ac_cv_prog_AR="$AR" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3913 do
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_AR="${ac_tool_prefix}ar"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3921 fi
3922 done
3923 done
3924
3925 fi
3926 fi
3927 AR=$ac_cv_prog_AR
3928 if test -n "$AR"; then
3929 echo "$as_me:$LINENO: result: $AR" >&5
3930 echo "${ECHO_T}$AR" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3934 fi
3935
3936 fi
3937 if test -z "$ac_cv_prog_AR"; then
3938 ac_ct_AR=$AR
3939 # Extract the first word of "ar", so it can be a program name with args.
3940 set dummy ar; ac_word=$2
3941 echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3943 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 if test -n "$ac_ct_AR"; then
3947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3951 do
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_ac_ct_AR="ar"
3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3959 fi
3960 done
3961 done
3962
3963 fi
3964 fi
3965 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3966 if test -n "$ac_ct_AR"; then
3967 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3968 echo "${ECHO_T}$ac_ct_AR" >&6
3969 else
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3972 fi
3973
3974 AR=$ac_ct_AR
3975 else
3976 AR="$ac_cv_prog_AR"
3977 fi
3978
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_RANLIB+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$RANLIB"; then
3988 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3992 do
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4000 fi
4001 done
4002 done
4003
4004 fi
4005 fi
4006 RANLIB=$ac_cv_prog_RANLIB
4007 if test -n "$RANLIB"; then
4008 echo "$as_me:$LINENO: result: $RANLIB" >&5
4009 echo "${ECHO_T}$RANLIB" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4013 fi
4014
4015 fi
4016 if test -z "$ac_cv_prog_RANLIB"; then
4017 ac_ct_RANLIB=$RANLIB
4018 # Extract the first word of "ranlib", so it can be a program name with args.
4019 set dummy ranlib; ac_word=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 else
4025 if test -n "$ac_ct_RANLIB"; then
4026 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4030 do
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_RANLIB="ranlib"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4038 fi
4039 done
4040 done
4041
4042 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4043 fi
4044 fi
4045 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4046 if test -n "$ac_ct_RANLIB"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4048 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4052 fi
4053
4054 RANLIB=$ac_ct_RANLIB
4055 else
4056 RANLIB="$ac_cv_prog_RANLIB"
4057 fi
4058
4059
4060 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4061 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4062 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4063 if test "${enable_maintainer_mode+set}" = set; then
4064 enableval="$enable_maintainer_mode"
4065 USE_MAINTAINER_MODE=$enableval
4066 else
4067 USE_MAINTAINER_MODE=no
4068 fi;
4069 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4070 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4071
4072
4073 if test $USE_MAINTAINER_MODE = yes; then
4074 MAINTAINER_MODE_TRUE=
4075 MAINTAINER_MODE_FALSE='#'
4076 else
4077 MAINTAINER_MODE_TRUE='#'
4078 MAINTAINER_MODE_FALSE=
4079 fi
4080
4081 MAINT=$MAINTAINER_MODE_TRUE
4082
4083
4084
4085 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4086 # which are themselves conditionally expanded.
4087 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4088 ## other macros from doing the same. This should be automated.) -pme
4089 need_libmath=no
4090
4091 # Check for uClibc since Linux platforms use different configuration
4092 # directories depending on the C library in use.
4093 cat >conftest.$ac_ext <<_ACEOF
4094 /* confdefs.h. */
4095 _ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4099
4100 #include <stdio.h>
4101 #if __UCLIBC__
4102 _using_uclibc
4103 #endif
4104
4105 _ACEOF
4106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4107 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4108 uclibc=yes
4109 else
4110 uclibc=no
4111 fi
4112 rm -f conftest*
4113
4114
4115 # Find platform-specific directories containing configuration info.
4116 # Also possibly modify flags used elsewhere, as needed by the platform.
4117
4118 . $glibcxx_srcdir/configure.host
4119 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4120 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4121 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4122 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4123
4124
4125
4126 enable_dlopen=yes
4127
4128
4129
4130
4131
4132 macro_version='2.1a'
4133 macro_revision='1.2435'
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146 ltmain="$ac_aux_dir/ltmain.sh"
4147
4148 # Set options
4149
4150
4151 enable_win32_dll=no
4152
4153
4154 # Check whether --enable-shared or --disable-shared was given.
4155 if test "${enable_shared+set}" = set; then
4156 enableval="$enable_shared"
4157 p=${PACKAGE-default}
4158 case $enableval in
4159 yes) enable_shared=yes ;;
4160 no) enable_shared=no ;;
4161 *)
4162 enable_shared=no
4163 # Look at the argument we got. We use all the common list separators.
4164 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4165 for pkg in $enableval; do
4166 IFS="$lt_save_ifs"
4167 if test "X$pkg" = "X$p"; then
4168 enable_shared=yes
4169 fi
4170 done
4171 IFS="$lt_save_ifs"
4172 ;;
4173 esac
4174 else
4175 enable_shared=yes
4176 fi;
4177
4178
4179
4180
4181
4182
4183
4184
4185 # Check whether --enable-static or --disable-static was given.
4186 if test "${enable_static+set}" = set; then
4187 enableval="$enable_static"
4188 p=${PACKAGE-default}
4189 case $enableval in
4190 yes) enable_static=yes ;;
4191 no) enable_static=no ;;
4192 *)
4193 enable_static=no
4194 # Look at the argument we got. We use all the common list separators.
4195 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4196 for pkg in $enableval; do
4197 IFS="$lt_save_ifs"
4198 if test "X$pkg" = "X$p"; then
4199 enable_static=yes
4200 fi
4201 done
4202 IFS="$lt_save_ifs"
4203 ;;
4204 esac
4205 else
4206 enable_static=yes
4207 fi;
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217 # Check whether --with-pic or --without-pic was given.
4218 if test "${with_pic+set}" = set; then
4219 withval="$with_pic"
4220 pic_mode="$withval"
4221 else
4222 pic_mode=default
4223 fi;
4224
4225 test -z "$pic_mode" && pic_mode=default
4226
4227
4228
4229
4230
4231
4232
4233 # Check whether --enable-fast-install or --disable-fast-install was given.
4234 if test "${enable_fast_install+set}" = set; then
4235 enableval="$enable_fast_install"
4236 p=${PACKAGE-default}
4237 case $enableval in
4238 yes) enable_fast_install=yes ;;
4239 no) enable_fast_install=no ;;
4240 *)
4241 enable_fast_install=no
4242 # Look at the argument we got. We use all the common list separators.
4243 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4244 for pkg in $enableval; do
4245 IFS="$lt_save_ifs"
4246 if test "X$pkg" = "X$p"; then
4247 enable_fast_install=yes
4248 fi
4249 done
4250 IFS="$lt_save_ifs"
4251 ;;
4252 esac
4253 else
4254 enable_fast_install=yes
4255 fi;
4256
4257
4258
4259
4260
4261
4262
4263
4264 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4265 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4266 if test "${lt_cv_path_SED+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 # Loop through the user's path and test for sed and gsed.
4270 # Then use that list of sed's as ones to test for truncation.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 for as_dir in $PATH
4273 do
4274 IFS=$as_save_IFS
4275 test -z "$as_dir" && as_dir=.
4276 for lt_ac_prog in sed gsed; do
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4279 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4280 fi
4281 done
4282 done
4283 done
4284 IFS=$as_save_IFS
4285 lt_ac_max=0
4286 lt_ac_count=0
4287 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4288 # along with /bin/sed that truncates output.
4289 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4290 test ! -f $lt_ac_sed && continue
4291 cat /dev/null > conftest.in
4292 lt_ac_count=0
4293 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4294 # Check for GNU sed and select it if it is found.
4295 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4296 lt_cv_path_SED=$lt_ac_sed
4297 break
4298 fi
4299 while true; do
4300 cat conftest.in conftest.in >conftest.tmp
4301 mv conftest.tmp conftest.in
4302 cp conftest.in conftest.nl
4303 echo >>conftest.nl
4304 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4305 cmp -s conftest.out conftest.nl || break
4306 # 10000 chars as input seems more than enough
4307 test $lt_ac_count -gt 10 && break
4308 lt_ac_count=`expr $lt_ac_count + 1`
4309 if test $lt_ac_count -gt $lt_ac_max; then
4310 lt_ac_max=$lt_ac_count
4311 lt_cv_path_SED=$lt_ac_sed
4312 fi
4313 done
4314 done
4315
4316 fi
4317
4318 SED=$lt_cv_path_SED
4319
4320 echo "$as_me:$LINENO: result: $SED" >&5
4321 echo "${ECHO_T}$SED" >&6
4322
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336 echo "$as_me:$LINENO: checking for fgrep" >&5
4337 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4338 if test "${ac_cv_prog_fgrep+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 else
4341 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4342 then ac_cv_prog_fgrep='grep -F'
4343 else ac_cv_prog_fgrep='fgrep'
4344 fi
4345 fi
4346 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4347 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4348 FGREP=$ac_cv_prog_fgrep
4349
4350
4351 test -z "$GREP" && GREP=grep
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then
4373 withval="$with_gnu_ld"
4374 test "$withval" = no || with_gnu_ld=yes
4375 else
4376 with_gnu_ld=no
4377 fi;
4378 ac_prog=ld
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4382 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4383 case $host in
4384 *-*-mingw*)
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4387 *)
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 esac
4390 case $ac_prog in
4391 # Accept absolute paths.
4392 [\\/]* | ?:[\\/]*)
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 done
4399 test -z "$LD" && LD="$ac_prog"
4400 ;;
4401 "")
4402 # If it fails, then pretend we aren't using GCC.
4403 ac_prog=ld
4404 ;;
4405 *)
4406 # If it is relative, then search for the first ld in PATH.
4407 with_gnu_ld=unknown
4408 ;;
4409 esac
4410 elif test "$with_gnu_ld" = yes; then
4411 echo "$as_me:$LINENO: checking for GNU ld" >&5
4412 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4413 else
4414 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4415 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4416 fi
4417 if test "${lt_cv_path_LD+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 else
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4423 IFS="$lt_save_ifs"
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4433 ;;
4434 *)
4435 test "$with_gnu_ld" != yes && break
4436 ;;
4437 esac
4438 fi
4439 done
4440 IFS="$lt_save_ifs"
4441 else
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4443 fi
4444 fi
4445
4446 LD="$lt_cv_path_LD"
4447 if test -n "$LD"; then
4448 echo "$as_me:$LINENO: result: $LD" >&5
4449 echo "${ECHO_T}$LD" >&6
4450 else
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4453 fi
4454 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4455 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4456 { (exit 1); exit 1; }; }
4457 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4458 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 else
4462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU* | *'with BFD'*)
4465 lt_cv_prog_gnu_ld=yes
4466 ;;
4467 *)
4468 lt_cv_prog_gnu_ld=no
4469 ;;
4470 esac
4471 fi
4472 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4473 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4474 with_gnu_ld=$lt_cv_prog_gnu_ld
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4486 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4487 if test "${lt_cv_path_NM+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 if test -n "$NM"; then
4491 # Let the user override the test.
4492 lt_cv_path_NM="$NM"
4493 else
4494 lt_nm_to_check="${ac_tool_prefix}nm"
4495 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4496 lt_nm_to_check="$lt_nm_to_check nm"
4497 fi
4498 for lt_tmp_nm in $lt_nm_to_check; do
4499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4500 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4501 IFS="$lt_save_ifs"
4502 test -z "$ac_dir" && ac_dir=.
4503 tmp_nm="$ac_dir/$lt_tmp_nm"
4504 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4505 # Check to see if the nm accepts a BSD-compat flag.
4506 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4507 # nm: unknown option "B" ignored
4508 # Tru64's nm complains that /dev/null is an invalid object file
4509 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4510 */dev/null* | *'Invalid file or object type'*)
4511 lt_cv_path_NM="$tmp_nm -B"
4512 break
4513 ;;
4514 *)
4515 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4516 */dev/null*)
4517 lt_cv_path_NM="$tmp_nm -p"
4518 break
4519 ;;
4520 *)
4521 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4522 continue # so that we can try to find one that supports BSD flags
4523 ;;
4524 esac
4525 ;;
4526 esac
4527 fi
4528 done
4529 IFS="$lt_save_ifs"
4530 done
4531 : ${lt_cv_path_NM=no}
4532 fi
4533 fi
4534 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4535 echo "${ECHO_T}$lt_cv_path_NM" >&6
4536 if test "$lt_cv_path_NM" != "no"; then
4537 NM="$lt_cv_path_NM"
4538 else
4539 # Didn't find any BSD compatible name lister, look for dumpbin.
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4542 do
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4547 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 if test -n "$DUMPBIN"; then
4551 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4555 do
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4563 fi
4564 done
4565 done
4566
4567 fi
4568 fi
4569 DUMPBIN=$ac_cv_prog_DUMPBIN
4570 if test -n "$DUMPBIN"; then
4571 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4572 echo "${ECHO_T}$DUMPBIN" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4576 fi
4577
4578 test -n "$DUMPBIN" && break
4579 done
4580 fi
4581 if test -z "$DUMPBIN"; then
4582 ac_ct_DUMPBIN=$DUMPBIN
4583 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4584 do
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 else
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4597 do
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4605 fi
4606 done
4607 done
4608
4609 fi
4610 fi
4611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4614 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4615 else
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4618 fi
4619
4620 test -n "$ac_ct_DUMPBIN" && break
4621 done
4622 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4623
4624 DUMPBIN=$ac_ct_DUMPBIN
4625 fi
4626
4627
4628 if test "$DUMPBIN" != ":"; then
4629 NM="$DUMPBIN"
4630 fi
4631 fi
4632 test -z "$NM" && NM=nm
4633
4634
4635
4636
4637
4638
4639 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4640 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4641 if test "${lt_cv_nm_interface+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644 lt_cv_nm_interface="BSD nm"
4645 echo "int some_variable = 0;" > conftest.$ac_ext
4646 (eval echo "\"\$as_me:4646: $ac_compile\"" >&5)
4647 (eval "$ac_compile" 2>conftest.err)
4648 cat conftest.err >&5
4649 (eval echo "\"\$as_me:4649: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4650 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4651 cat conftest.err >&5
4652 (eval echo "\"\$as_me:4652: output\"" >&5)
4653 cat conftest.out >&5
4654 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4655 lt_cv_nm_interface="MS dumpbin"
4656 fi
4657 rm -f conftest*
4658 fi
4659 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4660 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4661
4662 # find the maximum length of command line arguments
4663 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4664 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4668 i=0
4669 teststring="ABCD"
4670
4671 case $build_os in
4672 msdosdjgpp*)
4673 # On DJGPP, this test can blow up pretty badly due to problems in libc
4674 # (any single argument exceeding 2000 bytes causes a buffer overrun
4675 # during glob expansion). Even if it were fixed, the result of this
4676 # check would be larger than it should be.
4677 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4678 ;;
4679
4680 gnu*)
4681 # Under GNU Hurd, this test is not required because there is
4682 # no limit to the length of command line arguments.
4683 # Libtool will interpret -1 as no limit whatsoever
4684 lt_cv_sys_max_cmd_len=-1;
4685 ;;
4686
4687 cygwin* | mingw*)
4688 # On Win9x/ME, this test blows up -- it succeeds, but takes
4689 # about 5 minutes as the teststring grows exponentially.
4690 # Worse, since 9x/ME are not pre-emptively multitasking,
4691 # you end up with a "frozen" computer, even though with patience
4692 # the test eventually succeeds (with a max line length of 256k).
4693 # Instead, let's just punt: use the minimum linelength reported by
4694 # all of the supported platforms: 8192 (on NT/2K/XP).
4695 lt_cv_sys_max_cmd_len=8192;
4696 ;;
4697
4698 amigaos*)
4699 # On AmigaOS with pdksh, this test takes hours, literally.
4700 # So we just punt and use a minimum line length of 8192.
4701 lt_cv_sys_max_cmd_len=8192;
4702 ;;
4703
4704 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4705 # This has been around since 386BSD, at least. Likely further.
4706 if test -x /sbin/sysctl; then
4707 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4708 elif test -x /usr/sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4710 else
4711 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4712 fi
4713 # And add a safety zone
4714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4716 ;;
4717
4718 interix*)
4719 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4720 lt_cv_sys_max_cmd_len=196608
4721 ;;
4722
4723 osf*)
4724 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4725 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4726 # nice to cause kernel panics so lets avoid the loop below.
4727 # First set a reasonable default.
4728 lt_cv_sys_max_cmd_len=16384
4729 #
4730 if test -x /sbin/sysconfig; then
4731 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4732 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4733 esac
4734 fi
4735 ;;
4736 sco3.2v5*)
4737 lt_cv_sys_max_cmd_len=102400
4738 ;;
4739 sysv5* | sco5v6* | sysv4.2uw2*)
4740 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4741 if test -n "$kargmax"; then
4742 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4743 else
4744 lt_cv_sys_max_cmd_len=32768
4745 fi
4746 ;;
4747 *)
4748 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4749 if test -n $lt_cv_sys_max_cmd_len; then
4750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 else
4753 # Make teststring a little bigger before we do anything with it.
4754 # a 1K string should be a reasonable start.
4755 for i in 1 2 3 4 5 6 7 8 ; do
4756 teststring=$teststring$teststring
4757 done
4758 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4759 # If test is not a shell built-in, we'll probably end up computing a
4760 # maximum length that is only half of the actual maximum length, but
4761 # we can't tell.
4762 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4763 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4764 test $i != 17 # 1/2 MB should be enough
4765 do
4766 i=`expr $i + 1`
4767 teststring=$teststring$teststring
4768 done
4769 # Only check the string length outside the loop.
4770 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4771 teststring=
4772 # Add a significant safety factor because C++ compilers can tack on
4773 # massive amounts of additional arguments before passing them to the
4774 # linker. It appears as though 1/2 is a usable value.
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4776 fi
4777 ;;
4778 esac
4779
4780 fi
4781
4782 if test -n $lt_cv_sys_max_cmd_len ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4785 else
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4788 fi
4789 max_cmd_len=$lt_cv_sys_max_cmd_len
4790
4791
4792
4793
4794
4795
4796
4797 : ${CP="cp -f"}
4798 : ${MV="mv -f"}
4799 : ${RM="rm -f"}
4800
4801 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4802 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4803 # Try some XSI features
4804 xsi_shell=no
4805 ( _lt_dummy="a/b/c"
4806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4807 = c,a/b,, ) >/dev/null 2>&1 \
4808 && xsi_shell=yes
4809 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4810 echo "${ECHO_T}$xsi_shell" >&6
4811
4812
4813 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4814 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4815 lt_shell_append=no
4816 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 >/dev/null 2>&1 \
4818 && lt_shell_append=yes
4819 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4820 echo "${ECHO_T}$lt_shell_append" >&6
4821
4822
4823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4824 lt_unset=unset
4825 else
4826 lt_unset=false
4827 fi
4828
4829
4830
4831
4832
4833 # test EBCDIC or ASCII
4834 case `echo X|tr X '\101'` in
4835 A) # ASCII based system
4836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4837 lt_SP2NL='tr \040 \012'
4838 lt_NL2SP='tr \015\012 \040\040'
4839 ;;
4840 *) # EBCDIC based system
4841 lt_SP2NL='tr \100 \n'
4842 lt_NL2SP='tr \r\n \100\100'
4843 ;;
4844 esac
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4855 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4856 if test "${lt_cv_ld_reload_flag+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 lt_cv_ld_reload_flag='-r'
4860 fi
4861 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4862 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4863 reload_flag=$lt_cv_ld_reload_flag
4864 case $reload_flag in
4865 "" | " "*) ;;
4866 *) reload_flag=" $reload_flag" ;;
4867 esac
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4869 case $host_os in
4870 darwin*)
4871 if test "$GCC" = yes; then
4872 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 else
4874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4875 fi
4876 ;;
4877 esac
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4889 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4890 if test "${lt_cv_deplibs_check_method+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 lt_cv_file_magic_cmd='$MAGIC_CMD'
4894 lt_cv_file_magic_test_file=
4895 lt_cv_deplibs_check_method='unknown'
4896 # Need to set the preceding variable on all platforms that support
4897 # interlibrary dependencies.
4898 # 'none' -- dependencies not supported.
4899 # `unknown' -- same as none, but documents that we really don't know.
4900 # 'pass_all' -- all dependencies passed with no checks.
4901 # 'test_compile' -- check by making test program.
4902 # 'file_magic [[regex]]' -- check by looking for files in library path
4903 # which responds to the $file_magic_cmd with a given extended regex.
4904 # If you have `file' or equivalent on your system and you're not sure
4905 # whether `pass_all' will *always* work, you probably want this one.
4906
4907 case $host_os in
4908 aix4* | aix5*)
4909 lt_cv_deplibs_check_method=pass_all
4910 ;;
4911
4912 beos*)
4913 lt_cv_deplibs_check_method=pass_all
4914 ;;
4915
4916 bsdi[45]*)
4917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4918 lt_cv_file_magic_cmd='/usr/bin/file -L'
4919 lt_cv_file_magic_test_file=/shlib/libc.so
4920 ;;
4921
4922 cygwin*)
4923 # func_win32_libid is a shell function defined in ltmain.sh
4924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4925 lt_cv_file_magic_cmd='func_win32_libid'
4926 ;;
4927
4928 mingw* | pw32*)
4929 # Base MSYS/MinGW do not provide the 'file' command needed by
4930 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4931 # unless we find 'file', for example because we are cross-compiling.
4932 if ( file / ) >/dev/null 2>&1; then
4933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4934 lt_cv_file_magic_cmd='func_win32_libid'
4935 else
4936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4937 lt_cv_file_magic_cmd='$OBJDUMP -f'
4938 fi
4939 ;;
4940
4941 darwin* | rhapsody*)
4942 lt_cv_deplibs_check_method=pass_all
4943 ;;
4944
4945 freebsd* | dragonfly*)
4946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947 case $host_cpu in
4948 i*86 )
4949 # Not sure whether the presence of OpenBSD here was a mistake.
4950 # Let's accept both of them until this is cleared up.
4951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4952 lt_cv_file_magic_cmd=/usr/bin/file
4953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4954 ;;
4955 esac
4956 else
4957 lt_cv_deplibs_check_method=pass_all
4958 fi
4959 ;;
4960
4961 gnu*)
4962 lt_cv_deplibs_check_method=pass_all
4963 ;;
4964
4965 hpux10.20* | hpux11*)
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 case $host_cpu in
4968 ia64*)
4969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4971 ;;
4972 hppa*64*)
4973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4974 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4975 ;;
4976 *)
4977 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4979 ;;
4980 esac
4981 ;;
4982
4983 interix[3-9]*)
4984 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4986 ;;
4987
4988 irix5* | irix6* | nonstopux*)
4989 case $LD in
4990 *-32|*"-32 ") libmagic=32-bit;;
4991 *-n32|*"-n32 ") libmagic=N32;;
4992 *-64|*"-64 ") libmagic=64-bit;;
4993 *) libmagic=never-match;;
4994 esac
4995 lt_cv_deplibs_check_method=pass_all
4996 ;;
4997
4998 # This must be Linux ELF.
4999 linux* | k*bsd*-gnu)
5000 lt_cv_deplibs_check_method=pass_all
5001 ;;
5002
5003 netbsd*)
5004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 else
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5008 fi
5009 ;;
5010
5011 newos6*)
5012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5013 lt_cv_file_magic_cmd=/usr/bin/file
5014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5015 ;;
5016
5017 *nto* | *qnx*)
5018 lt_cv_deplibs_check_method=pass_all
5019 ;;
5020
5021 openbsd*)
5022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 else
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5026 fi
5027 ;;
5028
5029 osf3* | osf4* | osf5*)
5030 lt_cv_deplibs_check_method=pass_all
5031 ;;
5032
5033 rdos*)
5034 lt_cv_deplibs_check_method=pass_all
5035 ;;
5036
5037 solaris*)
5038 lt_cv_deplibs_check_method=pass_all
5039 ;;
5040
5041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5042 lt_cv_deplibs_check_method=pass_all
5043 ;;
5044
5045 sysv4 | sysv4.3*)
5046 case $host_vendor in
5047 motorola)
5048 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]'
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5050 ;;
5051 ncr)
5052 lt_cv_deplibs_check_method=pass_all
5053 ;;
5054 sequent)
5055 lt_cv_file_magic_cmd='/bin/file'
5056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5057 ;;
5058 sni)
5059 lt_cv_file_magic_cmd='/bin/file'
5060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5061 lt_cv_file_magic_test_file=/lib/libc.so
5062 ;;
5063 siemens)
5064 lt_cv_deplibs_check_method=pass_all
5065 ;;
5066 pc)
5067 lt_cv_deplibs_check_method=pass_all
5068 ;;
5069 esac
5070 ;;
5071
5072 tpf*)
5073 lt_cv_deplibs_check_method=pass_all
5074 ;;
5075 esac
5076
5077 fi
5078 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5079 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100 if test "${ac_cv_prog_AR+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 if test -n "$AR"; then
5104 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5108 do
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5116 fi
5117 done
5118 done
5119
5120 fi
5121 fi
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5129 fi
5130
5131 fi
5132 if test -z "$ac_cv_prog_AR"; then
5133 ac_ct_AR=$AR
5134 # Extract the first word of "ar", so it can be a program name with args.
5135 set dummy ar; ac_word=$2
5136 echo "$as_me:$LINENO: checking for $ac_word" >&5
5137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 else
5141 if test -n "$ac_ct_AR"; then
5142 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5146 do
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_AR="ar"
5152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5154 fi
5155 done
5156 done
5157
5158 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5159 fi
5160 fi
5161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5162 if test -n "$ac_ct_AR"; then
5163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5164 echo "${ECHO_T}$ac_ct_AR" >&6
5165 else
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5168 fi
5169
5170 AR=$ac_ct_AR
5171 else
5172 AR="$ac_cv_prog_AR"
5173 fi
5174
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5201 do
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5209 fi
5210 done
5211 done
5212
5213 fi
5214 fi
5215 STRIP=$ac_cv_prog_STRIP
5216 if test -n "$STRIP"; then
5217 echo "$as_me:$LINENO: result: $STRIP" >&5
5218 echo "${ECHO_T}$STRIP" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5222 fi
5223
5224 fi
5225 if test -z "$ac_cv_prog_STRIP"; then
5226 ac_ct_STRIP=$STRIP
5227 # Extract the first word of "strip", so it can be a program name with args.
5228 set dummy strip; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 if test -n "$ac_ct_STRIP"; then
5235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5239 do
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_STRIP="strip"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5247 fi
5248 done
5249 done
5250
5251 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5252 fi
5253 fi
5254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5255 if test -n "$ac_ct_STRIP"; then
5256 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5257 echo "${ECHO_T}$ac_ct_STRIP" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5261 fi
5262
5263 STRIP=$ac_ct_STRIP
5264 else
5265 STRIP="$ac_cv_prog_STRIP"
5266 fi
5267
5268 test -z "$STRIP" && STRIP=:
5269
5270
5271
5272
5273
5274
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5278 echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5280 if test "${ac_cv_prog_RANLIB+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 else
5283 if test -n "$RANLIB"; then
5284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5288 do
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5296 fi
5297 done
5298 done
5299
5300 fi
5301 fi
5302 RANLIB=$ac_cv_prog_RANLIB
5303 if test -n "$RANLIB"; then
5304 echo "$as_me:$LINENO: result: $RANLIB" >&5
5305 echo "${ECHO_T}$RANLIB" >&6
5306 else
5307 echo "$as_me:$LINENO: result: no" >&5
5308 echo "${ECHO_T}no" >&6
5309 fi
5310
5311 fi
5312 if test -z "$ac_cv_prog_RANLIB"; then
5313 ac_ct_RANLIB=$RANLIB
5314 # Extract the first word of "ranlib", so it can be a program name with args.
5315 set dummy ranlib; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if test -n "$ac_ct_RANLIB"; then
5322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5326 do
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_RANLIB="ranlib"
5332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5334 fi
5335 done
5336 done
5337
5338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5339 fi
5340 fi
5341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5342 if test -n "$ac_ct_RANLIB"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5348 fi
5349
5350 RANLIB=$ac_ct_RANLIB
5351 else
5352 RANLIB="$ac_cv_prog_RANLIB"
5353 fi
5354
5355 test -z "$RANLIB" && RANLIB=:
5356
5357
5358
5359
5360
5361
5362 # Determine commands to create old-style static archives.
5363 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5364 old_postinstall_cmds='chmod 644 $oldlib'
5365 old_postuninstall_cmds=
5366
5367 if test -n "$RANLIB"; then
5368 case $host_os in
5369 openbsd*)
5370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5371 ;;
5372 *)
5373 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5374 ;;
5375 esac
5376 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5377 fi
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412 # If no C compiler was specified, use CC.
5413 LTCC=${LTCC-"$CC"}
5414
5415 # If no C compiler flags were specified, use CFLAGS.
5416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5417
5418 # Allow CC to be a program name with arguments.
5419 compiler=$CC
5420
5421
5422 # Check for command to grab the raw symbol name followed by C symbol from nm.
5423 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5424 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5425 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5428
5429 # These are sane defaults that work on at least a few old systems.
5430 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5431
5432 # Character class describing NM global symbol codes.
5433 symcode='[BCDEGRST]'
5434
5435 # Regexp to match symbols that can be accessed directly from C.
5436 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5437
5438 # Define system-specific variables.
5439 case $host_os in
5440 aix*)
5441 symcode='[BCDT]'
5442 ;;
5443 cygwin* | mingw* | pw32*)
5444 symcode='[ABCDGISTW]'
5445 ;;
5446 hpux*)
5447 if test "$host_cpu" = ia64; then
5448 symcode='[ABCDEGRST]'
5449 fi
5450 ;;
5451 irix* | nonstopux*)
5452 symcode='[BCDEGRST]'
5453 ;;
5454 osf*)
5455 symcode='[BCDEGQRST]'
5456 ;;
5457 solaris*)
5458 symcode='[BDRT]'
5459 ;;
5460 sco3.2v5*)
5461 symcode='[DT]'
5462 ;;
5463 sysv4.2uw2*)
5464 symcode='[DT]'
5465 ;;
5466 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 symcode='[ABDT]'
5468 ;;
5469 sysv4)
5470 symcode='[DFNSTU]'
5471 ;;
5472 esac
5473
5474 # If we're using GNU nm, then use its standard symbol codes.
5475 case `$NM -V 2>&1` in
5476 *GNU* | *'with BFD'*)
5477 symcode='[ABCDGIRSTW]' ;;
5478 esac
5479
5480 # Transform an extracted symbol line into a proper C declaration.
5481 # Some systems (esp. on ia64) link data and code symbols differently,
5482 # so use this general approach.
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5484
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5487
5488 # Handle CRLF in mingw tool chain
5489 opt_cr=
5490 case $build_os in
5491 mingw*)
5492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5493 ;;
5494 esac
5495
5496 # Try without a prefix underscore, then with it.
5497 for ac_symprfx in "" "_"; do
5498
5499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5500 symxfrm="\\1 $ac_symprfx\\2 \\2"
5501
5502 # Write the raw and C identifiers.
5503 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5504 # Fake it for dumpbin and say T for any non-static function
5505 # and D for any global variable.
5506 # Also find C++ and __fastcall symbols from MSVC++,
5507 # which start with @ or ?.
5508 lt_cv_sys_global_symbol_pipe="$AWK '"\
5509 " {last_section=section; section=\$ 3};"\
5510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5511 " \$ 0!~/External *\|/{next};"\
5512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5513 " {if(hide[section]) next};"\
5514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5518 " ' prfx=^$ac_symprfx"
5519 else
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5521 fi
5522
5523 # Check to see that the pipe works correctly.
5524 pipe_works=no
5525
5526 rm -f conftest*
5527 cat > conftest.$ac_ext <<_LT_EOF
5528 #ifdef __cplusplus
5529 extern "C" {
5530 #endif
5531 char nm_test_var;
5532 void nm_test_func(void);
5533 void nm_test_func(void){}
5534 #ifdef __cplusplus
5535 }
5536 #endif
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 _LT_EOF
5539
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5546 nlist=conftest.nm
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5555 else
5556 rm -f "$nlist"T
5557 fi
5558
5559 # Make sure that we snagged all the symbols we need.
5560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<_LT_EOF > conftest.$ac_ext
5563 #ifdef __cplusplus
5564 extern "C" {
5565 #endif
5566
5567 _LT_EOF
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5570
5571 cat <<_LT_EOF >> conftest.$ac_ext
5572
5573 /* The mapping between symbol names and symbols. */
5574 const struct {
5575 const char *name;
5576 void *address;
5577 }
5578 lt__PROGRAM__LTX_preloaded_symbols[] =
5579 {
5580 { "@PROGRAM@", (void *) 0 },
5581 _LT_EOF
5582 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5583 cat <<\_LT_EOF >> conftest.$ac_ext
5584 {0, (void *) 0}
5585 };
5586
5587 /* This works around a problem in FreeBSD linker */
5588 #ifdef FREEBSD_WORKAROUND
5589 static const void *lt_preloaded_setup() {
5590 return lt__PROGRAM__LTX_preloaded_symbols;
5591 }
5592 #endif
5593
5594 #ifdef __cplusplus
5595 }
5596 #endif
5597 _LT_EOF
5598 # Now try linking the two files.
5599 mv conftest.$ac_objext conftstm.$ac_objext
5600 lt_save_LIBS="$LIBS"
5601 lt_save_CFLAGS="$CFLAGS"
5602 LIBS="conftstm.$ac_objext"
5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 pipe_works=yes
5610 fi
5611 LIBS="$lt_save_LIBS"
5612 CFLAGS="$lt_save_CFLAGS"
5613 else
5614 echo "cannot find nm_test_func in $nlist" >&5
5615 fi
5616 else
5617 echo "cannot find nm_test_var in $nlist" >&5
5618 fi
5619 else
5620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5621 fi
5622 else
5623 echo "$progname: failed program was:" >&5
5624 cat conftest.$ac_ext >&5
5625 fi
5626 rm -f conftest* conftst*
5627
5628 # Do not use the global_symbol_pipe unless it works.
5629 if test "$pipe_works" = yes; then
5630 break
5631 else
5632 lt_cv_sys_global_symbol_pipe=
5633 fi
5634 done
5635
5636 fi
5637
5638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5639 lt_cv_sys_global_symbol_to_cdecl=
5640 fi
5641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5642 echo "$as_me:$LINENO: result: failed" >&5
5643 echo "${ECHO_T}failed" >&6
5644 else
5645 echo "$as_me:$LINENO: result: ok" >&5
5646 echo "${ECHO_T}ok" >&6
5647 fi
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then
5667 enableval="$enable_libtool_lock"
5668
5669 fi;
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5671
5672 # Some flags need to be propagated to the compiler or linker for good
5673 # libtool support.
5674 case $host in
5675 ia64-*-hpux*)
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5684 *ELF-32*)
5685 HPUX_IA64_MODE="32"
5686 ;;
5687 *ELF-64*)
5688 HPUX_IA64_MODE="64"
5689 ;;
5690 esac
5691 fi
5692 rm -rf conftest*
5693 ;;
5694 *-*-irix6*)
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5704 *32-bit*)
5705 LD="${LD-ld} -melf32bsmip"
5706 ;;
5707 *N32*)
5708 LD="${LD-ld} -melf32bmipn32"
5709 ;;
5710 *64-bit*)
5711 LD="${LD-ld} -melf64bmip"
5712 ;;
5713 esac
5714 else
5715 case `/usr/bin/file conftest.$ac_objext` in
5716 *32-bit*)
5717 LD="${LD-ld} -32"
5718 ;;
5719 *N32*)
5720 LD="${LD-ld} -n32"
5721 ;;
5722 *64-bit*)
5723 LD="${LD-ld} -64"
5724 ;;
5725 esac
5726 fi
5727 fi
5728 rm -rf conftest*
5729 ;;
5730
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5737 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; then
5740 case `/usr/bin/file conftest.o` in
5741 *32-bit*)
5742 case $host in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5745 ;;
5746 x86_64-*linux*)
5747 LD="${LD-ld} -m elf_i386"
5748 ;;
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5751 ;;
5752 s390x-*linux*)
5753 LD="${LD-ld} -m elf_s390"
5754 ;;
5755 sparc64-*linux*)
5756 LD="${LD-ld} -m elf32_sparc"
5757 ;;
5758 esac
5759 ;;
5760 *64-bit*)
5761 case $host in
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5764 ;;
5765 x86_64-*linux*)
5766 LD="${LD-ld} -m elf_x86_64"
5767 ;;
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5770 ;;
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5773 ;;
5774 sparc*-*linux*)
5775 LD="${LD-ld} -m elf64_sparc"
5776 ;;
5777 esac
5778 ;;
5779 esac
5780 fi
5781 rm -rf conftest*
5782 ;;
5783
5784 *-*-sco3.2v5*)
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5789 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5798
5799 if test x$gcc_no_link = xyes; then
5800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5802 { (exit 1); exit 1; }; }
5803 fi
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810
5811 int
5812 main ()
5813 {
5814
5815 ;
5816 return 0;
5817 }
5818 _ACEOF
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>conftest.er1
5822 ac_status=$?
5823 grep -v '^ *+' conftest.er1 >conftest.err
5824 rm -f conftest.er1
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -z "$ac_c_werror_flag"
5829 || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 (eval $ac_try) 2>&5
5838 ac_status=$?
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 lt_cv_cc_needs_belf=yes
5842 else
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5845
5846 lt_cv_cc_needs_belf=no
5847 fi
5848 rm -f conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5850 ac_ext=c
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5855
5856 fi
5857 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5862 fi
5863 ;;
5864 sparc*-*solaris*)
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5873 *64-bit*)
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5876 *) LD="${LD-ld} -64" ;;
5877 esac
5878 ;;
5879 esac
5880 fi
5881 rm -rf conftest*
5882 ;;
5883 esac
5884
5885 need_locks="$enable_libtool_lock"
5886
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 #include <stdlib.h>
5899 #include <stdarg.h>
5900 #include <string.h>
5901 #include <float.h>
5902
5903 int
5904 main ()
5905 {
5906
5907 ;
5908 return 0;
5909 }
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 (eval $ac_try) 2>&5
5924 ac_status=$?
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_stdc=yes
5934 else
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5937
5938 ac_cv_header_stdc=no
5939 fi
5940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5941
5942 if test $ac_cv_header_stdc = yes; then
5943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <string.h>
5951
5952 _ACEOF
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "memchr" >/dev/null 2>&1; then
5955 :
5956 else
5957 ac_cv_header_stdc=no
5958 fi
5959 rm -f conftest*
5960
5961 fi
5962
5963 if test $ac_cv_header_stdc = yes; then
5964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <stdlib.h>
5972
5973 _ACEOF
5974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5975 $EGREP "free" >/dev/null 2>&1; then
5976 :
5977 else
5978 ac_cv_header_stdc=no
5979 fi
5980 rm -f conftest*
5981
5982 fi
5983
5984 if test $ac_cv_header_stdc = yes; then
5985 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5986 if test "$cross_compiling" = yes; then
5987 :
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ctype.h>
5996 #if ((' ' & 0x0FF) == 0x020)
5997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 #else
6000 # define ISLOWER(c) \
6001 (('a' <= (c) && (c) <= 'i') \
6002 || ('j' <= (c) && (c) <= 'r') \
6003 || ('s' <= (c) && (c) <= 'z'))
6004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6005 #endif
6006
6007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6008 int
6009 main ()
6010 {
6011 int i;
6012 for (i = 0; i < 256; i++)
6013 if (XOR (islower (i), ISLOWER (i))
6014 || toupper (i) != TOUPPER (i))
6015 exit(2);
6016 exit (0);
6017 }
6018 _ACEOF
6019 rm -f conftest$ac_exeext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5
6022 ac_status=$?
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 (eval $ac_try) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6030 :
6031 else
6032 echo "$as_me: program exited with status $ac_status" >&5
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6035
6036 ( exit $ac_status )
6037 ac_cv_header_stdc=no
6038 fi
6039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6040 fi
6041 fi
6042 fi
6043 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6044 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6045 if test $ac_cv_header_stdc = yes; then
6046
6047 cat >>confdefs.h <<\_ACEOF
6048 #define STDC_HEADERS 1
6049 _ACEOF
6050
6051 fi
6052
6053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6064 inttypes.h stdint.h unistd.h
6065 do
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 cat >conftest.$ac_ext <<_ACEOF
6073 /* confdefs.h. */
6074 _ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6078 $ac_includes_default
6079
6080 #include <$ac_header>
6081 _ACEOF
6082 rm -f conftest.$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6085 ac_status=$?
6086 grep -v '^ *+' conftest.er1 >conftest.err
6087 rm -f conftest.er1
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 (eval $ac_try) 2>&5
6095 ac_status=$?
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 eval "$as_ac_Header=yes"
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6108
6109 eval "$as_ac_Header=no"
6110 fi
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6112 fi
6113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h <<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118 _ACEOF
6119
6120 fi
6121
6122 done
6123
6124
6125
6126 for ac_header in dlfcn.h
6127 do
6128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6141
6142 #include <$ac_header>
6143 _ACEOF
6144 rm -f conftest.$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6147 ac_status=$?
6148 grep -v '^ *+' conftest.er1 >conftest.err
6149 rm -f conftest.er1
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5
6157 ac_status=$?
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 (eval $ac_try) 2>&5
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_Header=yes"
6167 else
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6170
6171 eval "$as_ac_Header=no"
6172 fi
6173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6174 fi
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6178 cat >>confdefs.h <<_ACEOF
6179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6181
6182 fi
6183
6184 done
6185
6186
6187
6188 ac_ext=cc
6189 ac_cpp='$CXXCPP $CPPFLAGS'
6190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6193 if test -n "$ac_tool_prefix"; then
6194 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6195 do
6196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 if test -n "$CXX"; then
6204 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6208 do
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6216 fi
6217 done
6218 done
6219
6220 fi
6221 fi
6222 CXX=$glibcxx_cv_prog_CXX
6223 if test -n "$CXX"; then
6224 echo "$as_me:$LINENO: result: $CXX" >&5
6225 echo "${ECHO_T}$CXX" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6229 fi
6230
6231 test -n "$CXX" && break
6232 done
6233 fi
6234 if test -z "$CXX"; then
6235 ac_ct_CXX=$CXX
6236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6237 do
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$ac_ct_CXX"; then
6246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6250 do
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_ac_ct_CXX="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6258 fi
6259 done
6260 done
6261
6262 fi
6263 fi
6264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6265 if test -n "$ac_ct_CXX"; then
6266 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6267 echo "${ECHO_T}$ac_ct_CXX" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6271 fi
6272
6273 test -n "$ac_ct_CXX" && break
6274 done
6275 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6276
6277 CXX=$ac_ct_CXX
6278 fi
6279
6280
6281 # Provide some information about the compiler.
6282 echo "$as_me:$LINENO:" \
6283 "checking for C++ compiler version" >&5
6284 ac_compiler=`set X $ac_compile; echo $2`
6285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6286 (eval $ac_compiler --version </dev/null >&5) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6291 (eval $ac_compiler -v </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6296 (eval $ac_compiler -V </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6300
6301 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6302 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312
6313 int
6314 main ()
6315 {
6316 #ifndef __GNUC__
6317 choke me
6318 #endif
6319
6320 ;
6321 return 0;
6322 }
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_compiler_gnu=yes
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6350
6351 ac_compiler_gnu=no
6352 fi
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6355
6356 fi
6357 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6359 GXX=`test $ac_compiler_gnu = yes && echo yes`
6360 ac_test_CXXFLAGS=${CXXFLAGS+set}
6361 ac_save_CXXFLAGS=$CXXFLAGS
6362 CXXFLAGS="-g"
6363 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6364 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6365 if test "${ac_cv_prog_cxx_g+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 else
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374
6375 int
6376 main ()
6377 {
6378
6379 ;
6380 return 0;
6381 }
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cxx_g=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6409
6410 ac_cv_prog_cxx_g=no
6411 fi
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6413 fi
6414 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6415 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6416 if test "$ac_test_CXXFLAGS" = set; then
6417 CXXFLAGS=$ac_save_CXXFLAGS
6418 elif test $ac_cv_prog_cxx_g = yes; then
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-g -O2"
6421 else
6422 CXXFLAGS="-g"
6423 fi
6424 else
6425 if test "$GXX" = yes; then
6426 CXXFLAGS="-O2"
6427 else
6428 CXXFLAGS=
6429 fi
6430 fi
6431 for ac_declaration in \
6432 '' \
6433 'extern "C" void std::exit (int) throw (); using std::exit;' \
6434 'extern "C" void std::exit (int); using std::exit;' \
6435 'extern "C" void exit (int) throw ();' \
6436 'extern "C" void exit (int);' \
6437 'void exit (int);'
6438 do
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h. */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_declaration
6446 #include <stdlib.h>
6447 int
6448 main ()
6449 {
6450 exit (42);
6451 ;
6452 return 0;
6453 }
6454 _ACEOF
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6458 ac_status=$?
6459 grep -v '^ *+' conftest.er1 >conftest.err
6460 rm -f conftest.er1
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -z "$ac_cxx_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 (eval $ac_try) 2>&5
6468 ac_status=$?
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6477 :
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6481
6482 continue
6483 fi
6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */
6487 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_declaration
6492 int
6493 main ()
6494 {
6495 exit (42);
6496 ;
6497 return 0;
6498 }
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_cxx_werror_flag"
6510 || test ! -s conftest.err'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try='test -s conftest.$ac_objext'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 break
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6526
6527 fi
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 done
6530 rm -f conftest*
6531 if test -n "$ac_declaration"; then
6532 echo '#ifdef __cplusplus' >>confdefs.h
6533 echo $ac_declaration >>confdefs.h
6534 echo '#endif' >>confdefs.h
6535 fi
6536
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542
6543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6545 (test "X$CXX" != "Xg++"))) ; then
6546 ac_ext=cc
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6553 if test -z "$CXXCPP"; then
6554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 # Double quotes because CXXCPP needs to be expanded
6558 for CXXCPP in "$CXX -E" "/lib/cpp"
6559 do
6560 ac_preproc_ok=false
6561 for ac_cxx_preproc_warn_flag in '' yes
6562 do
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #ifdef __STDC__
6576 # include <limits.h>
6577 #else
6578 # include <assert.h>
6579 #endif
6580 Syntax error
6581 _ACEOF
6582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6584 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1
6587 cat conftest.err >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null; then
6590 if test -s conftest.err; then
6591 ac_cpp_err=$ac_cxx_preproc_warn_flag
6592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6593 else
6594 ac_cpp_err=
6595 fi
6596 else
6597 ac_cpp_err=yes
6598 fi
6599 if test -z "$ac_cpp_err"; then
6600 :
6601 else
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6604
6605 # Broken: fails on valid input.
6606 continue
6607 fi
6608 rm -f conftest.err conftest.$ac_ext
6609
6610 # OK, works on sane cases. Now check whether non-existent headers
6611 # can be detected and how.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6622 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } >/dev/null; then
6628 if test -s conftest.err; then
6629 ac_cpp_err=$ac_cxx_preproc_warn_flag
6630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6631 else
6632 ac_cpp_err=
6633 fi
6634 else
6635 ac_cpp_err=yes
6636 fi
6637 if test -z "$ac_cpp_err"; then
6638 # Broken: success on invalid input.
6639 continue
6640 else
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6643
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6647 fi
6648 rm -f conftest.err conftest.$ac_ext
6649
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then
6654 break
6655 fi
6656
6657 done
6658 ac_cv_prog_CXXCPP=$CXXCPP
6659
6660 fi
6661 CXXCPP=$ac_cv_prog_CXXCPP
6662 else
6663 ac_cv_prog_CXXCPP=$CXXCPP
6664 fi
6665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6666 echo "${ECHO_T}$CXXCPP" >&6
6667 ac_preproc_ok=false
6668 for ac_cxx_preproc_warn_flag in '' yes
6669 do
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h. */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #ifdef __STDC__
6683 # include <limits.h>
6684 #else
6685 # include <assert.h>
6686 #endif
6687 Syntax error
6688 _ACEOF
6689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null; then
6697 if test -s conftest.err; then
6698 ac_cpp_err=$ac_cxx_preproc_warn_flag
6699 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6700 else
6701 ac_cpp_err=
6702 fi
6703 else
6704 ac_cpp_err=yes
6705 fi
6706 if test -z "$ac_cpp_err"; then
6707 :
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6711
6712 # Broken: fails on valid input.
6713 continue
6714 fi
6715 rm -f conftest.err conftest.$ac_ext
6716
6717 # OK, works on sane cases. Now check whether non-existent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6740 fi
6741 else
6742 ac_cpp_err=yes
6743 fi
6744 if test -z "$ac_cpp_err"; then
6745 # Broken: success on invalid input.
6746 continue
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6750
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6754 fi
6755 rm -f conftest.err conftest.$ac_ext
6756
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then
6761 :
6762 else
6763 _lt_caught_CXX_error=yes
6764 fi
6765
6766 ac_ext=c
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6771
6772 else
6773 _lt_caught_CXX_error=yes
6774 fi
6775
6776
6777
6778
6779
6780 # This can be used to rebuild libtool when needed
6781 LIBTOOL_DEPS="$ltmain"
6782
6783 # Always use our own libtool.
6784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810 test -z "$LN_S" && LN_S="ln -s"
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825 if test -n "${ZSH_VERSION+set}" ; then
6826 setopt NO_GLOB_SUBST
6827 fi
6828
6829 echo "$as_me:$LINENO: checking for objdir" >&5
6830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6831 if test "${lt_cv_objdir+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 rm -f .libs 2>/dev/null
6835 mkdir .libs 2>/dev/null
6836 if test -d .libs; then
6837 lt_cv_objdir=.libs
6838 else
6839 # MS-DOS does not allow filenames that begin with a dot.
6840 lt_cv_objdir=_libs
6841 fi
6842 rmdir .libs 2>/dev/null
6843 fi
6844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845 echo "${ECHO_T}$lt_cv_objdir" >&6
6846 objdir=$lt_cv_objdir
6847
6848
6849
6850
6851
6852 cat >>confdefs.h <<_ACEOF
6853 #define LT_OBJDIR "$lt_cv_objdir/"
6854 _ACEOF
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872 case $host_os in
6873 aix3*)
6874 # AIX sometimes has problems with the GCC collect2 program. For some
6875 # reason, if we set the COLLECT_NAMES environment variable, the problems
6876 # vanish in a puff of smoke.
6877 if test "X${COLLECT_NAMES+set}" != Xset; then
6878 COLLECT_NAMES=
6879 export COLLECT_NAMES
6880 fi
6881 ;;
6882 esac
6883
6884 # Sed substitution that helps us do robust quoting. It backslashifies
6885 # metacharacters that are still active within double-quoted strings.
6886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6887
6888 # Same as above, but do not quote variable references.
6889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6890
6891 # Sed substitution to delay expansion of an escaped shell variable in a
6892 # double_quote_subst'ed string.
6893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6894
6895 # Sed substitution to delay expansion of an escaped single quote.
6896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6897
6898 # Sed substitution to avoid accidental globbing in evaled expressions
6899 no_glob_subst='s/\*/\\\*/g'
6900
6901 # Global variables:
6902 ofile=libtool
6903 can_build_shared=yes
6904
6905 # All known linkers require a `.a' archive for static linking (except MSVC,
6906 # which needs '.lib').
6907 libext=a
6908
6909 with_gnu_ld="$lt_cv_prog_gnu_ld"
6910
6911 old_CC="$CC"
6912 old_CFLAGS="$CFLAGS"
6913
6914 # Set sane defaults for various variables
6915 test -z "$CC" && CC=cc
6916 test -z "$LTCC" && LTCC=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918 test -z "$LD" && LD=ld
6919 test -z "$ac_objext" && ac_objext=o
6920
6921 for cc_temp in $compiler""; do
6922 case $cc_temp in
6923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6925 \-*) ;;
6926 *) break;;
6927 esac
6928 done
6929 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6930
6931
6932 # Only perform the check for file, if the check method requires it
6933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6934 case $deplibs_check_method in
6935 file_magic*)
6936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6937 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 case $MAGIC_CMD in
6943 [\\/*] | ?:[\\/]*)
6944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6945 ;;
6946 *)
6947 lt_save_MAGIC_CMD="$MAGIC_CMD"
6948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6950 for ac_dir in $ac_dummy; do
6951 IFS="$lt_save_ifs"
6952 test -z "$ac_dir" && ac_dir=.
6953 if test -f $ac_dir/${ac_tool_prefix}file; then
6954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6955 if test -n "$file_magic_test_file"; then
6956 case $deplibs_check_method in
6957 "file_magic "*)
6958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6961 $EGREP "$file_magic_regex" > /dev/null; then
6962 :
6963 else
6964 cat <<_LT_EOF 1>&2
6965
6966 *** Warning: the command libtool uses to detect shared libraries,
6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
6968 *** The result is that libtool may fail to recognize shared libraries
6969 *** as such. This will affect the creation of libtool libraries that
6970 *** depend on shared libraries, but programs linked with such libtool
6971 *** libraries will work regardless of this problem. Nevertheless, you
6972 *** may want to report the problem to your system manager and/or to
6973 *** bug-libtool@gnu.org
6974
6975 _LT_EOF
6976 fi ;;
6977 esac
6978 fi
6979 break
6980 fi
6981 done
6982 IFS="$lt_save_ifs"
6983 MAGIC_CMD="$lt_save_MAGIC_CMD"
6984 ;;
6985 esac
6986 fi
6987
6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989 if test -n "$MAGIC_CMD"; then
6990 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6991 echo "${ECHO_T}$MAGIC_CMD" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6995 fi
6996
6997
6998
6999
7000
7001 if test -z "$lt_cv_path_MAGIC_CMD"; then
7002 if test -n "$ac_tool_prefix"; then
7003 echo "$as_me:$LINENO: checking for file" >&5
7004 echo $ECHO_N "checking for file... $ECHO_C" >&6
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 case $MAGIC_CMD in
7009 [\\/*] | ?:[\\/]*)
7010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7011 ;;
7012 *)
7013 lt_save_MAGIC_CMD="$MAGIC_CMD"
7014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7016 for ac_dir in $ac_dummy; do
7017 IFS="$lt_save_ifs"
7018 test -z "$ac_dir" && ac_dir=.
7019 if test -f $ac_dir/file; then
7020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7021 if test -n "$file_magic_test_file"; then
7022 case $deplibs_check_method in
7023 "file_magic "*)
7024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7027 $EGREP "$file_magic_regex" > /dev/null; then
7028 :
7029 else
7030 cat <<_LT_EOF 1>&2
7031
7032 *** Warning: the command libtool uses to detect shared libraries,
7033 *** $file_magic_cmd, produces output that libtool cannot recognize.
7034 *** The result is that libtool may fail to recognize shared libraries
7035 *** as such. This will affect the creation of libtool libraries that
7036 *** depend on shared libraries, but programs linked with such libtool
7037 *** libraries will work regardless of this problem. Nevertheless, you
7038 *** may want to report the problem to your system manager and/or to
7039 *** bug-libtool@gnu.org
7040
7041 _LT_EOF
7042 fi ;;
7043 esac
7044 fi
7045 break
7046 fi
7047 done
7048 IFS="$lt_save_ifs"
7049 MAGIC_CMD="$lt_save_MAGIC_CMD"
7050 ;;
7051 esac
7052 fi
7053
7054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7055 if test -n "$MAGIC_CMD"; then
7056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7061 fi
7062
7063
7064 else
7065 MAGIC_CMD=:
7066 fi
7067 fi
7068
7069 fi
7070 ;;
7071 esac
7072
7073 # Use C for the default configuration in the libtool script
7074
7075 lt_save_CC="$CC"
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7081
7082
7083 # Source file extension for C test sources.
7084 ac_ext=c
7085
7086 # Object file extension for compiled C test sources.
7087 objext=o
7088 objext=$objext
7089
7090 # Code to be used in simple compile tests
7091 lt_simple_compile_test_code="int some_variable = 0;"
7092
7093 # Code to be used in simple link tests
7094 lt_simple_link_test_code='int main(){return(0);}'
7095
7096
7097
7098
7099
7100
7101
7102 # If no C compiler was specified, use CC.
7103 LTCC=${LTCC-"$CC"}
7104
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7107
7108 # Allow CC to be a program name with arguments.
7109 compiler=$CC
7110
7111 # Save the default compiler, since it gets overwritten when the other
7112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7113 compiler_DEFAULT=$CC
7114
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate=`cat conftest.err`
7120 $RM conftest*
7121
7122 ac_outfile=conftest.$ac_objext
7123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate=`cat conftest.err`
7126 $RM conftest*
7127
7128
7129 ## CAVEAT EMPTOR:
7130 ## There is no encapsulation within the following macros, do not change
7131 ## the running order or otherwise move them around unless you know exactly
7132 ## what you are doing...
7133 if test -n "$compiler"; then
7134
7135 lt_prog_compiler_no_builtin_flag=
7136
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7139
7140 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 else
7145 lt_cv_prog_compiler_rtti_exceptions=no
7146 ac_outfile=conftest.$ac_objext
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7148 lt_compiler_flag="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err)
7160 ac_status=$?
7161 cat conftest.err >&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7169 lt_cv_prog_compiler_rtti_exceptions=yes
7170 fi
7171 fi
7172 $RM conftest*
7173
7174 fi
7175 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7177
7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7180 else
7181 :
7182 fi
7183
7184 fi
7185
7186
7187
7188
7189
7190
7191 lt_prog_compiler_wl=
7192 lt_prog_compiler_pic=
7193 lt_prog_compiler_static=
7194
7195 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7197
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl='-Wl,'
7200 lt_prog_compiler_static='-static'
7201
7202 case $host_os in
7203 aix*)
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static='-Bstatic'
7208 fi
7209 ;;
7210
7211 amigaos*)
7212 if test "$host_cpu" = m68k; then
7213 # FIXME: we need at least 68020 code to build shared libraries, but
7214 # adding the `-m68020' flag to GCC prevents building anything better,
7215 # like `-m68040'.
7216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7217 fi
7218 ;;
7219
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7222 ;;
7223
7224 mingw* | cygwin* | pw32* | os2*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7230 ;;
7231
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7236 ;;
7237
7238 hpux*)
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 # not for PA HP-UX.
7241 case $host_cpu in
7242 hppa*64*|ia64*)
7243 # +Z the default
7244 ;;
7245 *)
7246 lt_prog_compiler_pic='-fPIC'
7247 ;;
7248 esac
7249 ;;
7250
7251 interix[3-9]*)
7252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7253 # Instead, we relocate shared libraries at runtime.
7254 ;;
7255
7256 msdosdjgpp*)
7257 # Just because we use GCC doesn't mean we suddenly get shared libraries
7258 # on systems that don't support them.
7259 lt_prog_compiler_can_build_shared=no
7260 enable_shared=no
7261 ;;
7262
7263 *nto* | *qnx*)
7264 # QNX uses GNU C++, but need to define -shared option too, otherwise
7265 # it will coredump.
7266 lt_prog_compiler_pic='-fPIC -shared'
7267 ;;
7268
7269 sysv4*MP*)
7270 if test -d /usr/nec; then
7271 lt_prog_compiler_pic=-Kconform_pic
7272 fi
7273 ;;
7274
7275 *)
7276 lt_prog_compiler_pic='-fPIC'
7277 ;;
7278 esac
7279 else
7280 # PORTME Check for flag to pass linker flags through the system compiler.
7281 case $host_os in
7282 aix*)
7283 lt_prog_compiler_wl='-Wl,'
7284 if test "$host_cpu" = ia64; then
7285 # AIX 5 now supports IA64 processor
7286 lt_prog_compiler_static='-Bstatic'
7287 else
7288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7289 fi
7290 ;;
7291 darwin*)
7292 # PIC is the default on this platform
7293 # Common symbols not allowed in MH_DYLIB files
7294 case $cc_basename in
7295 xlc*)
7296 lt_prog_compiler_pic='-qnocommon'
7297 lt_prog_compiler_wl='-Wl,'
7298 ;;
7299 esac
7300 ;;
7301
7302 mingw* | cygwin* | pw32* | os2*)
7303 # This hack is so that the source file can tell whether it is being
7304 # built for inclusion in a dll (and should export symbols for example).
7305 lt_prog_compiler_pic='-DDLL_EXPORT'
7306 ;;
7307
7308 hpux9* | hpux10* | hpux11*)
7309 lt_prog_compiler_wl='-Wl,'
7310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 # not for PA HP-UX.
7312 case $host_cpu in
7313 hppa*64*|ia64*)
7314 # +Z the default
7315 ;;
7316 *)
7317 lt_prog_compiler_pic='+Z'
7318 ;;
7319 esac
7320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7321 lt_prog_compiler_static='${wl}-a ${wl}archive'
7322 ;;
7323
7324 irix5* | irix6* | nonstopux*)
7325 lt_prog_compiler_wl='-Wl,'
7326 # PIC (with -KPIC) is the default.
7327 lt_prog_compiler_static='-non_shared'
7328 ;;
7329
7330 linux* | k*bsd*-gnu)
7331 case $cc_basename in
7332 icc* | ecc*)
7333 lt_prog_compiler_wl='-Wl,'
7334 lt_prog_compiler_pic='-KPIC'
7335 lt_prog_compiler_static='-static'
7336 ;;
7337 pgcc* | pgf77* | pgf90* | pgf95*)
7338 # Portland Group compilers (*not* the Pentium gcc compiler,
7339 # which looks to be a dead project)
7340 lt_prog_compiler_wl='-Wl,'
7341 lt_prog_compiler_pic='-fpic'
7342 lt_prog_compiler_static='-Bstatic'
7343 ;;
7344 ccc*)
7345 lt_prog_compiler_wl='-Wl,'
7346 # All Alpha code is PIC.
7347 lt_prog_compiler_static='-non_shared'
7348 ;;
7349 *)
7350 case `$CC -V 2>&1 | sed 5q` in
7351 *Sun\ C*)
7352 # Sun C 5.9
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl='-Wl,'
7356 ;;
7357 *Sun\ F*)
7358 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-Bstatic'
7361 lt_prog_compiler_wl=''
7362 ;;
7363 esac
7364 ;;
7365 esac
7366 ;;
7367
7368 newsos6)
7369 lt_prog_compiler_pic='-KPIC'
7370 lt_prog_compiler_static='-Bstatic'
7371 ;;
7372
7373 *nto* | *qnx*)
7374 # QNX uses GNU C++, but need to define -shared option too, otherwise
7375 # it will coredump.
7376 lt_prog_compiler_pic='-fPIC -shared'
7377 ;;
7378
7379 osf3* | osf4* | osf5*)
7380 lt_prog_compiler_wl='-Wl,'
7381 # All OSF/1 code is PIC.
7382 lt_prog_compiler_static='-non_shared'
7383 ;;
7384
7385 rdos*)
7386 lt_prog_compiler_static='-non_shared'
7387 ;;
7388
7389 solaris*)
7390 lt_prog_compiler_pic='-KPIC'
7391 lt_prog_compiler_static='-Bstatic'
7392 case $cc_basename in
7393 f77* | f90* | f95*)
7394 lt_prog_compiler_wl='-Qoption ld ';;
7395 *)
7396 lt_prog_compiler_wl='-Wl,';;
7397 esac
7398 ;;
7399
7400 sunos4*)
7401 lt_prog_compiler_wl='-Qoption ld '
7402 lt_prog_compiler_pic='-PIC'
7403 lt_prog_compiler_static='-Bstatic'
7404 ;;
7405
7406 sysv4 | sysv4.2uw2* | sysv4.3*)
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='-KPIC'
7409 lt_prog_compiler_static='-Bstatic'
7410 ;;
7411
7412 sysv4*MP*)
7413 if test -d /usr/nec ;then
7414 lt_prog_compiler_pic='-Kconform_pic'
7415 lt_prog_compiler_static='-Bstatic'
7416 fi
7417 ;;
7418
7419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_pic='-KPIC'
7422 lt_prog_compiler_static='-Bstatic'
7423 ;;
7424
7425 unicos*)
7426 lt_prog_compiler_wl='-Wl,'
7427 lt_prog_compiler_can_build_shared=no
7428 ;;
7429
7430 uts4*)
7431 lt_prog_compiler_pic='-pic'
7432 lt_prog_compiler_static='-Bstatic'
7433 ;;
7434
7435 *)
7436 lt_prog_compiler_can_build_shared=no
7437 ;;
7438 esac
7439 fi
7440
7441 case $host_os in
7442 # For platforms which do not support PIC, -DPIC is meaningless:
7443 *djgpp*)
7444 lt_prog_compiler_pic=
7445 ;;
7446 *)
7447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7448 ;;
7449 esac
7450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7452
7453
7454
7455
7456
7457
7458 #
7459 # Check to make sure the PIC flag actually works.
7460 #
7461 if test -n "$lt_prog_compiler_pic"; then
7462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7464 if test "${lt_prog_compiler_pic_works+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 else
7467 lt_prog_compiler_pic_works=no
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7471 # Insert the option either (1) after the last *FLAGS variable, or
7472 # (2) before a word containing "conftest.", or (3) at the end.
7473 # Note that $ac_compile itself does not contain backslashes and begins
7474 # with a dollar sign (not a hyphen), so the echo should work correctly.
7475 # The option is referenced via a variable to avoid confusing sed.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>conftest.err)
7482 ac_status=$?
7483 cat conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s "$ac_outfile"; then
7486 # The compiler can only warn and ignore the option if not recognized
7487 # So say no if there are warnings other than the usual output.
7488 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_prog_compiler_pic_works=yes
7492 fi
7493 fi
7494 $RM conftest*
7495
7496 fi
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7499
7500 if test x"$lt_prog_compiler_pic_works" = xyes; then
7501 case $lt_prog_compiler_pic in
7502 "" | " "*) ;;
7503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7504 esac
7505 else
7506 lt_prog_compiler_pic=
7507 lt_prog_compiler_can_build_shared=no
7508 fi
7509
7510 fi
7511
7512
7513
7514
7515
7516
7517 #
7518 # Check to make sure the static flag actually works.
7519 #
7520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7521 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7523 if test "${lt_prog_compiler_static_works+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 else
7526 lt_prog_compiler_static_works=no
7527 save_LDFLAGS="$LDFLAGS"
7528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7531 # The linker can only warn and ignore the option if not recognized
7532 # So say no if there are warnings
7533 if test -s conftest.err; then
7534 # Append any errors to the config.log.
7535 cat conftest.err 1>&5
7536 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_prog_compiler_static_works=yes
7540 fi
7541 else
7542 lt_prog_compiler_static_works=yes
7543 fi
7544 fi
7545 $RM conftest*
7546 LDFLAGS="$save_LDFLAGS"
7547
7548 fi
7549 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7551
7552 if test x"$lt_prog_compiler_static_works" = xyes; then
7553 :
7554 else
7555 lt_prog_compiler_static=
7556 fi
7557
7558
7559
7560
7561
7562
7563
7564 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 lt_cv_prog_compiler_c_o=no
7570 $RM -r conftest 2>/dev/null
7571 mkdir conftest
7572 cd conftest
7573 mkdir out
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7575
7576 lt_compiler_flag="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out/conftest.err)
7587 ac_status=$?
7588 cat out/conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591 then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597 lt_cv_prog_compiler_c_o=yes
7598 fi
7599 fi
7600 chmod u+w . 2>&5
7601 $RM conftest*
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605 $RM out/* && rmdir out
7606 cd ..
7607 $RM -r conftest
7608 $RM conftest*
7609
7610 fi
7611 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7613
7614
7615
7616
7617
7618
7619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 lt_cv_prog_compiler_c_o=no
7625 $RM -r conftest 2>/dev/null
7626 mkdir conftest
7627 cd conftest
7628 mkdir out
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7630
7631 lt_compiler_flag="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out/conftest.err)
7642 ac_status=$?
7643 cat out/conftest.err >&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7646 then
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7652 lt_cv_prog_compiler_c_o=yes
7653 fi
7654 fi
7655 chmod u+w . 2>&5
7656 $RM conftest*
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7660 $RM out/* && rmdir out
7661 cd ..
7662 $RM -r conftest
7663 $RM conftest*
7664
7665 fi
7666 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7668
7669
7670
7671
7672 hard_links="nottested"
7673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7674 # do not overwrite the value of need_locks provided by the user
7675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7677 hard_links=yes
7678 $RM conftest*
7679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7680 touch conftest.a
7681 ln conftest.a conftest.b 2>&5 || hard_links=no
7682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7683 echo "$as_me:$LINENO: result: $hard_links" >&5
7684 echo "${ECHO_T}$hard_links" >&6
7685 if test "$hard_links" = no; then
7686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7688 need_locks=warn
7689 fi
7690 else
7691 need_locks=no
7692 fi
7693
7694
7695
7696
7697
7698
7699 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7701
7702 runpath_var=
7703 allow_undefined_flag=
7704 always_export_symbols=no
7705 archive_cmds=
7706 archive_expsym_cmds=
7707 compiler_needs_object=no
7708 enable_shared_with_static_runtimes=no
7709 export_dynamic_flag_spec=
7710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7711 hardcode_automatic=no
7712 hardcode_direct=no
7713 hardcode_direct_absolute=no
7714 hardcode_libdir_flag_spec=
7715 hardcode_libdir_flag_spec_ld=
7716 hardcode_libdir_separator=
7717 hardcode_minus_L=no
7718 hardcode_shlibpath_var=unsupported
7719 inherit_rpath=no
7720 link_all_deplibs=unknown
7721 module_cmds=
7722 module_expsym_cmds=
7723 old_archive_from_new_cmds=
7724 old_archive_from_expsyms_cmds=
7725 thread_safe_flag_spec=
7726 whole_archive_flag_spec=
7727 # include_expsyms should be a list of space-separated symbols to be *always*
7728 # included in the symbol list
7729 include_expsyms=
7730 # exclude_expsyms can be an extended regexp of symbols to exclude
7731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733 # as well as any symbol that contains `d'.
7734 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736 # platforms (ab)use it in PIC code, but their linkers get confused if
7737 # the symbol is explicitly referenced. Since portable code cannot
7738 # rely on this symbol name, it's probably fine to never include it in
7739 # preloaded symbol tables.
7740 extract_expsyms_cmds=
7741
7742 case $host_os in
7743 cygwin* | mingw* | pw32*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7748 with_gnu_ld=no
7749 fi
7750 ;;
7751 interix*)
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7753 with_gnu_ld=yes
7754 ;;
7755 openbsd*)
7756 with_gnu_ld=no
7757 ;;
7758 esac
7759
7760 ld_shlibs=yes
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7763 wlarc='${wl}'
7764
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var=LD_RUN_PATH
7769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7770 export_dynamic_flag_spec='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7774 else
7775 whole_archive_flag_spec=
7776 fi
7777 supports_anon_versioning=no
7778 case `$LD -v 2>&1` in
7779 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7780 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7781 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7782 *\ 2.11.*) ;; # other 2.11 versions
7783 *) supports_anon_versioning=yes ;;
7784 esac
7785
7786 # See if GNU ld supports shared libraries.
7787 case $host_os in
7788 aix3* | aix4* | aix5*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64; then
7791 ld_shlibs=no
7792 cat <<_LT_EOF 1>&2
7793
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7799
7800 _LT_EOF
7801 fi
7802 ;;
7803
7804 amigaos*)
7805 if test "$host_cpu" = m68k; then
7806 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)'
7807 hardcode_libdir_flag_spec='-L$libdir'
7808 hardcode_minus_L=yes
7809 fi
7810
7811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7812 # that the semantics of dynamic libraries on AmigaOS, at least up
7813 # to version 4, is to share data among multiple programs linked
7814 # with the same dynamic library. Since this doesn't match the
7815 # behavior of shared libraries on other platforms, we can't use
7816 # them.
7817 ld_shlibs=no
7818 ;;
7819
7820 beos*)
7821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7822 allow_undefined_flag=unsupported
7823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7824 # support --undefined. This deserves some investigation. FIXME
7825 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 else
7827 ld_shlibs=no
7828 fi
7829 ;;
7830
7831 cygwin* | mingw* | pw32*)
7832 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7833 # as there is no search path for DLLs.
7834 hardcode_libdir_flag_spec='-L$libdir'
7835 allow_undefined_flag=unsupported
7836 always_export_symbols=no
7837 enable_shared_with_static_runtimes=yes
7838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7839
7840 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7842 # If the export-symbols file already is a .def file (1st line
7843 # is EXPORTS), use it as is; otherwise, prepend...
7844 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7845 cp $export_symbols $output_objdir/$soname.def;
7846 else
7847 echo EXPORTS > $output_objdir/$soname.def;
7848 cat $export_symbols >> $output_objdir/$soname.def;
7849 fi~
7850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7851 else
7852 ld_shlibs=no
7853 fi
7854 ;;
7855
7856 interix[3-9]*)
7857 hardcode_direct=no
7858 hardcode_shlibpath_var=no
7859 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7860 export_dynamic_flag_spec='${wl}-E'
7861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7862 # Instead, shared libraries are loaded at an image base (0x10000000 by
7863 # default) and relocated if they conflict, which is a slow very memory
7864 # consuming and fragmenting process. To avoid this, we pick a random,
7865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7868 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'
7869 ;;
7870
7871 gnu* | linux* | tpf* | k*bsd*-gnu)
7872 tmp_diet=no
7873 if test "$host_os" = linux-dietlibc; then
7874 case $cc_basename in
7875 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7876 esac
7877 fi
7878 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7879 && test "$tmp_diet" = no
7880 then
7881 tmp_addflag=
7882 case $cc_basename,$host_cpu in
7883 pgcc*) # Portland Group C compiler
7884 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7885 tmp_addflag=' $pic_flag'
7886 ;;
7887 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7888 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7889 tmp_addflag=' $pic_flag -Mnomain' ;;
7890 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7891 tmp_addflag=' -i_dynamic' ;;
7892 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7893 tmp_addflag=' -i_dynamic -nofor_main' ;;
7894 ifc* | ifort*) # Intel Fortran compiler
7895 tmp_addflag=' -nofor_main' ;;
7896 esac
7897 case `$CC -V 2>&1 | sed 5q` in
7898 *Sun\ C*) # Sun C 5.9
7899 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7900 compiler_needs_object=yes
7901 tmp_sharedflag='-G' ;;
7902 *Sun\ F*) # Sun Fortran 8.3
7903 tmp_sharedflag='-G' ;;
7904 *)
7905 tmp_sharedflag='-shared' ;;
7906 esac
7907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7908
7909 if test "x$supports_anon_versioning" = xyes; then
7910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7912 echo "local: *; };" >> $output_objdir/$libname.ver~
7913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7914 fi
7915 else
7916 ld_shlibs=no
7917 fi
7918 ;;
7919
7920 netbsd*)
7921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7922 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7923 wlarc=
7924 else
7925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7927 fi
7928 ;;
7929
7930 solaris*)
7931 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7932 ld_shlibs=no
7933 cat <<_LT_EOF 1>&2
7934
7935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7936 *** create shared libraries on Solaris systems. Therefore, libtool
7937 *** is disabling shared libraries support. We urge you to upgrade GNU
7938 *** binutils to release 2.9.1 or newer. Another option is to modify
7939 *** your PATH or compiler configuration so that the native linker is
7940 *** used, and then restart.
7941
7942 _LT_EOF
7943 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 else
7947 ld_shlibs=no
7948 fi
7949 ;;
7950
7951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7952 case `$LD -v 2>&1` in
7953 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7954 ld_shlibs=no
7955 cat <<_LT_EOF 1>&2
7956
7957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7958 *** reliably create shared libraries on SCO systems. Therefore, libtool
7959 *** is disabling shared libraries support. We urge you to upgrade GNU
7960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7961 *** your PATH or compiler configuration so that the native linker is
7962 *** used, and then restart.
7963
7964 _LT_EOF
7965 ;;
7966 *)
7967 # For security reasons, it is highly recommended that you always
7968 # use absolute paths for naming shared libraries, and exclude the
7969 # DT_RUNPATH tag from executables and libraries. But doing so
7970 # requires that you compile everything twice, which is a pain.
7971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 else
7976 ld_shlibs=no
7977 fi
7978 ;;
7979 esac
7980 ;;
7981
7982 sunos4*)
7983 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7984 wlarc=
7985 hardcode_direct=yes
7986 hardcode_shlibpath_var=no
7987 ;;
7988
7989 *)
7990 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993 else
7994 ld_shlibs=no
7995 fi
7996 ;;
7997 esac
7998
7999 if test "$ld_shlibs" = no; then
8000 runpath_var=
8001 hardcode_libdir_flag_spec=
8002 export_dynamic_flag_spec=
8003 whole_archive_flag_spec=
8004 fi
8005 else
8006 # PORTME fill in a description of your system's linker (not GNU ld)
8007 case $host_os in
8008 aix3*)
8009 allow_undefined_flag=unsupported
8010 always_export_symbols=yes
8011 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'
8012 # Note: this linker hardcodes the directories in LIBPATH if there
8013 # are no directories specified by -L.
8014 hardcode_minus_L=yes
8015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8016 # Neither direct hardcoding nor static linking is supported with a
8017 # broken collect2.
8018 hardcode_direct=unsupported
8019 fi
8020 ;;
8021
8022 aix4* | aix5*)
8023 if test "$host_cpu" = ia64; then
8024 # On IA64, the linker does run time linking by default, so we don't
8025 # have to do anything special.
8026 aix_use_runtimelinking=no
8027 exp_sym_flag='-Bexport'
8028 no_entry_flag=""
8029 else
8030 # If we're using GNU nm, then we don't want the "-C" option.
8031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8032 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8033 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8034 else
8035 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'
8036 fi
8037 aix_use_runtimelinking=no
8038
8039 # Test if we are trying to use run time linking or normal
8040 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8041 # need to do runtime linking.
8042 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8043 for ld_flag in $LDFLAGS; do
8044 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8045 aix_use_runtimelinking=yes
8046 break
8047 fi
8048 done
8049 ;;
8050 esac
8051
8052 exp_sym_flag='-bexport'
8053 no_entry_flag='-bnoentry'
8054 fi
8055
8056 # When large executables or shared objects are built, AIX ld can
8057 # have problems creating the table of contents. If linking a library
8058 # or program results in "error TOC overflow" add -mminimal-toc to
8059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8061
8062 archive_cmds=''
8063 hardcode_direct=yes
8064 hardcode_direct_absolute=yes
8065 hardcode_libdir_separator=':'
8066 link_all_deplibs=yes
8067 file_list_spec='${wl}-f,'
8068
8069 if test "$GCC" = yes; then
8070 case $host_os in aix4.[012]|aix4.[012].*)
8071 # We only want to do this on AIX 4.2 and lower, the check
8072 # below for broken collect2 doesn't work under 4.3+
8073 collect2name=`${CC} -print-prog-name=collect2`
8074 if test -f "$collect2name" &&
8075 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8076 then
8077 # We have reworked collect2
8078 :
8079 else
8080 # We have old collect2
8081 hardcode_direct=unsupported
8082 # It fails to find uninstalled libraries when the uninstalled
8083 # path is not listed in the libpath. Setting hardcode_minus_L
8084 # to unsupported forces relinking
8085 hardcode_minus_L=yes
8086 hardcode_libdir_flag_spec='-L$libdir'
8087 hardcode_libdir_separator=
8088 fi
8089 ;;
8090 esac
8091 shared_flag='-shared'
8092 if test "$aix_use_runtimelinking" = yes; then
8093 shared_flag="$shared_flag "'${wl}-G'
8094 fi
8095 else
8096 # not using gcc
8097 if test "$host_cpu" = ia64; then
8098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8099 # chokes on -Wl,-G. The following line is correct:
8100 shared_flag='-G'
8101 else
8102 if test "$aix_use_runtimelinking" = yes; then
8103 shared_flag='${wl}-G'
8104 else
8105 shared_flag='${wl}-bM:SRE'
8106 fi
8107 fi
8108 fi
8109
8110 # It seems that -bexpall does not export symbols beginning with
8111 # underscore (_), so it is better to generate a list of symbols to export.
8112 always_export_symbols=yes
8113 if test "$aix_use_runtimelinking" = yes; then
8114 # Warning - without using the other runtime loading flags (-brtl),
8115 # -berok will link without error, but may produce a broken library.
8116 allow_undefined_flag='-berok'
8117 # Determine the default libpath from the value encoded in an
8118 # empty executable.
8119 if test x$gcc_no_link = xyes; then
8120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8122 { (exit 1); exit 1; }; }
8123 fi
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8130
8131 int
8132 main ()
8133 {
8134
8135 ;
8136 return 0;
8137 }
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8161
8162 lt_aix_libpath_sed='
8163 /Import File Strings/,/^$/ {
8164 /^0/ {
8165 s/^0 *\(.*\)$/\1/
8166 p
8167 }
8168 }'
8169 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8170 # Check for a 64-bit object if we didn't find anything.
8171 if test -z "$aix_libpath"; then
8172 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8173 fi
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8177
8178 fi
8179 rm -f conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8182
8183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8184 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8185 else
8186 if test "$host_cpu" = ia64; then
8187 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8188 allow_undefined_flag="-z nodefs"
8189 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"
8190 else
8191 # Determine the default libpath from the value encoded in an
8192 # empty executable.
8193 if test x$gcc_no_link = xyes; then
8194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8196 { (exit 1); exit 1; }; }
8197 fi
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8204
8205 int
8206 main ()
8207 {
8208
8209 ;
8210 return 0;
8211 }
8212 _ACEOF
8213 rm -f conftest.$ac_objext conftest$ac_exeext
8214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 (eval $ac_link) 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } &&
8222 { ac_try='test -z "$ac_c_werror_flag"
8223 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } &&
8229 { ac_try='test -s conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8235
8236 lt_aix_libpath_sed='
8237 /Import File Strings/,/^$/ {
8238 /^0/ {
8239 s/^0 *\(.*\)$/\1/
8240 p
8241 }
8242 }'
8243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8244 # Check for a 64-bit object if we didn't find anything.
8245 if test -z "$aix_libpath"; then
8246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8247 fi
8248 else
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8251
8252 fi
8253 rm -f conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8256
8257 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8258 # Warning - without using the other run time loading flags,
8259 # -berok will link without error, but may produce a broken library.
8260 no_undefined_flag=' ${wl}-bernotok'
8261 allow_undefined_flag=' ${wl}-berok'
8262 # Exported symbols can be pulled into shared objects from archives
8263 whole_archive_flag_spec='$convenience'
8264 archive_cmds_need_lc=yes
8265 # This is similar to how AIX traditionally builds its shared libraries.
8266 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'
8267 fi
8268 fi
8269 ;;
8270
8271 amigaos*)
8272 if test "$host_cpu" = m68k; then
8273 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)'
8274 hardcode_libdir_flag_spec='-L$libdir'
8275 hardcode_minus_L=yes
8276 fi
8277 # see comment about different semantics on the GNU ld section
8278 ld_shlibs=no
8279 ;;
8280
8281 bsdi[45]*)
8282 export_dynamic_flag_spec=-rdynamic
8283 ;;
8284
8285 cygwin* | mingw* | pw32*)
8286 # When not using gcc, we currently assume that we are using
8287 # Microsoft Visual C++.
8288 # hardcode_libdir_flag_spec is actually meaningless, as there is
8289 # no search path for DLLs.
8290 hardcode_libdir_flag_spec=' '
8291 allow_undefined_flag=unsupported
8292 # Tell ltmain to make .lib files, not .a files.
8293 libext=lib
8294 # Tell ltmain to make .dll files, not .so files.
8295 shrext_cmds=".dll"
8296 # FIXME: Setting linknames here is a bad hack.
8297 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8298 # The linker will automatically build a .lib file if we build a DLL.
8299 old_archive_from_new_cmds='true'
8300 # FIXME: Should let the user specify the lib program.
8301 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8302 fix_srcfile_path='`cygpath -w "$srcfile"`'
8303 enable_shared_with_static_runtimes=yes
8304 ;;
8305
8306 darwin* | rhapsody*)
8307 case $host_os in
8308 rhapsody* | darwin1.[012])
8309 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8310 ;;
8311 *) # Darwin 1.3 on
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8313 10.[012])
8314 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8315 ;;
8316 10.*)
8317 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8318 ;;
8319 esac
8320 ;;
8321 esac
8322 archive_cmds_need_lc=no
8323 hardcode_direct=no
8324 hardcode_automatic=yes
8325 hardcode_shlibpath_var=unsupported
8326 whole_archive_flag_spec=''
8327 link_all_deplibs=yes
8328 if test "$GCC" = yes ; then
8329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 lt_cv_apple_cc_single_mod=no
8333 if test -z "${LT_MULTI_MODULE}"; then
8334 # By default we will add the -single_module flag. You can override
8335 # by either setting the environment variable LT_MULTI_MODULE
8336 # non-empty at configure time, or by adding -multi-module to the
8337 # link flags.
8338 echo "int foo(void){return 1;}" > conftest.c
8339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib ${wl}-single_module conftest.c
8341 if test -f libconftest.dylib; then
8342 lt_cv_apple_cc_single_mod=yes
8343 rm libconftest.dylib
8344 fi
8345 rm conftest.$ac_ext
8346 fi
8347 fi
8348
8349 output_verbose_link_cmd=echo
8350 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8351 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8352 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8353 else
8354 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8355 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8356 fi
8357 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8359 else
8360 case $cc_basename in
8361 xlc*)
8362 output_verbose_link_cmd=echo
8363 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8364 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8366 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8368 ;;
8369 *)
8370 ld_shlibs=no
8371 ;;
8372 esac
8373 fi
8374 ;;
8375
8376 dgux*)
8377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_libdir_flag_spec='-L$libdir'
8379 hardcode_shlibpath_var=no
8380 ;;
8381
8382 freebsd1*)
8383 ld_shlibs=no
8384 ;;
8385
8386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387 # support. Future versions do this automatically, but an explicit c++rt0.o
8388 # does not break anything, and helps significantly (at the cost of a little
8389 # extra space).
8390 freebsd2.2*)
8391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8392 hardcode_libdir_flag_spec='-R$libdir'
8393 hardcode_direct=yes
8394 hardcode_shlibpath_var=no
8395 ;;
8396
8397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398 freebsd2*)
8399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_direct=yes
8401 hardcode_minus_L=yes
8402 hardcode_shlibpath_var=no
8403 ;;
8404
8405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406 freebsd* | dragonfly*)
8407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8408 hardcode_libdir_flag_spec='-R$libdir'
8409 hardcode_direct=yes
8410 hardcode_shlibpath_var=no
8411 ;;
8412
8413 hpux9*)
8414 if test "$GCC" = yes; then
8415 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'
8416 else
8417 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'
8418 fi
8419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8420 hardcode_libdir_separator=:
8421 hardcode_direct=yes
8422
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L=yes
8426 export_dynamic_flag_spec='${wl}-E'
8427 ;;
8428
8429 hpux10*)
8430 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432 else
8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8434 fi
8435 if test "$with_gnu_ld" = no; then
8436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437 hardcode_libdir_flag_spec_ld='+b $libdir'
8438 hardcode_libdir_separator=:
8439 hardcode_direct=yes
8440 hardcode_direct_absolute=yes
8441 export_dynamic_flag_spec='${wl}-E'
8442 # hardcode_minus_L: Not really in the search PATH,
8443 # but as the default location of the library.
8444 hardcode_minus_L=yes
8445 fi
8446 ;;
8447
8448 hpux11*)
8449 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8450 case $host_cpu in
8451 hppa*64*)
8452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8453 ;;
8454 ia64*)
8455 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8456 ;;
8457 *)
8458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8459 ;;
8460 esac
8461 else
8462 case $host_cpu in
8463 hppa*64*)
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8465 ;;
8466 ia64*)
8467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8468 ;;
8469 *)
8470 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8471 ;;
8472 esac
8473 fi
8474 if test "$with_gnu_ld" = no; then
8475 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8476 hardcode_libdir_separator=:
8477
8478 case $host_cpu in
8479 hppa*64*|ia64*)
8480 hardcode_direct=no
8481 hardcode_shlibpath_var=no
8482 ;;
8483 *)
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8487
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L=yes
8491 ;;
8492 esac
8493 fi
8494 ;;
8495
8496 irix5* | irix6* | nonstopux*)
8497 if test "$GCC" = yes; then
8498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8499 # Try to use the -exported_symbol ld option, if it does not
8500 # work, assume that -exports_file does not work either and
8501 # implicitly export all symbols.
8502 save_LDFLAGS="$LDFLAGS"
8503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504 if test x$gcc_no_link = xyes; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8508 fi
8509 cat >conftest.$ac_ext <<_ACEOF
8510 int foo(void) {}
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 (eval $ac_try) 2>&5
8531 ac_status=$?
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8535
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8539
8540 fi
8541 rm -f conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LDFLAGS="$save_LDFLAGS"
8544 else
8545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8547 fi
8548 archive_cmds_need_lc='no'
8549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8550 hardcode_libdir_separator=:
8551 inherit_rpath=yes
8552 link_all_deplibs=yes
8553 ;;
8554
8555 netbsd*)
8556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8558 else
8559 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8560 fi
8561 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_direct=yes
8563 hardcode_shlibpath_var=no
8564 ;;
8565
8566 newsos6)
8567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_direct=yes
8569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8570 hardcode_libdir_separator=:
8571 hardcode_shlibpath_var=no
8572 ;;
8573
8574 *nto* | *qnx*)
8575 ;;
8576
8577 openbsd*)
8578 hardcode_direct=yes
8579 hardcode_shlibpath_var=no
8580 hardcode_direct_absolute=yes
8581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec='${wl}-E'
8586 else
8587 case $host_os in
8588 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec='-R$libdir'
8591 ;;
8592 *)
8593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8595 ;;
8596 esac
8597 fi
8598 ;;
8599
8600 os2*)
8601 hardcode_libdir_flag_spec='-L$libdir'
8602 hardcode_minus_L=yes
8603 allow_undefined_flag=unsupported
8604 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'
8605 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8606 ;;
8607
8608 osf3*)
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8611 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8612 else
8613 allow_undefined_flag=' -expect_unresolved \*'
8614 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8615 fi
8616 archive_cmds_need_lc='no'
8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8618 hardcode_libdir_separator=:
8619 ;;
8620
8621 osf4* | osf5*) # as osf3* with the addition of -msym flag
8622 if test "$GCC" = yes; then
8623 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8624 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8625 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8629 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~
8630 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8631
8632 # Both c and cxx compiler support -rpath directly
8633 hardcode_libdir_flag_spec='-rpath $libdir'
8634 fi
8635 archive_cmds_need_lc='no'
8636 hardcode_libdir_separator=:
8637 ;;
8638
8639 solaris*)
8640 no_undefined_flag=' -z defs'
8641 if test "$GCC" = yes; then
8642 wlarc='${wl}'
8643 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8646 else
8647 case `$CC -V 2>&1` in
8648 *"Compilers 5.0"*)
8649 wlarc=''
8650 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8653 ;;
8654 *)
8655 wlarc='${wl}'
8656 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8659 ;;
8660 esac
8661 fi
8662 hardcode_libdir_flag_spec='-R$libdir'
8663 hardcode_shlibpath_var=no
8664 case $host_os in
8665 solaris2.[0-5] | solaris2.[0-5].*) ;;
8666 *)
8667 # The compiler driver will combine and reorder linker options,
8668 # but understands `-z linker_flag'. GCC discards it without `$wl',
8669 # but is careful enough not to reorder.
8670 # Supported since Solaris 2.6 (maybe 2.5.1?)
8671 if test "$GCC" = yes; then
8672 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8673 else
8674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8675 fi
8676 ;;
8677 esac
8678 link_all_deplibs=yes
8679 ;;
8680
8681 sunos4*)
8682 if test "x$host_vendor" = xsequent; then
8683 # Use $CC to link under sequent, because it throws in some extra .o
8684 # files that make .init and .fini sections work.
8685 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8686 else
8687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8688 fi
8689 hardcode_libdir_flag_spec='-L$libdir'
8690 hardcode_direct=yes
8691 hardcode_minus_L=yes
8692 hardcode_shlibpath_var=no
8693 ;;
8694
8695 sysv4)
8696 case $host_vendor in
8697 sni)
8698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct=yes # is this really true???
8700 ;;
8701 siemens)
8702 ## LD is ld it makes a PLAMLIB
8703 ## CC just makes a GrossModule.
8704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8705 reload_cmds='$CC -r -o $output$reload_objs'
8706 hardcode_direct=no
8707 ;;
8708 motorola)
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8711 ;;
8712 esac
8713 runpath_var='LD_RUN_PATH'
8714 hardcode_shlibpath_var=no
8715 ;;
8716
8717 sysv4.3*)
8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_shlibpath_var=no
8720 export_dynamic_flag_spec='-Bexport'
8721 ;;
8722
8723 sysv4*MP*)
8724 if test -d /usr/nec; then
8725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var=no
8727 runpath_var=LD_RUN_PATH
8728 hardcode_runpath_var=yes
8729 ld_shlibs=yes
8730 fi
8731 ;;
8732
8733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8734 no_undefined_flag='${wl}-z,text'
8735 archive_cmds_need_lc=no
8736 hardcode_shlibpath_var=no
8737 runpath_var='LD_RUN_PATH'
8738
8739 if test "$GCC" = yes; then
8740 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 else
8743 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8745 fi
8746 ;;
8747
8748 sysv5* | sco3.2v5* | sco5v6*)
8749 # Note: We can NOT use -z defs as we might desire, because we do not
8750 # link with -lc, and that would cause any symbols used from libc to
8751 # always be unresolved, which means just about no library would
8752 # ever link correctly. If we're not using GNU ld we use -z text
8753 # though, which does catch some bad symbols but isn't as heavy-handed
8754 # as -z defs.
8755 no_undefined_flag='${wl}-z,text'
8756 allow_undefined_flag='${wl}-z,nodefs'
8757 archive_cmds_need_lc=no
8758 hardcode_shlibpath_var=no
8759 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 export_dynamic_flag_spec='${wl}-Bexport'
8763 runpath_var='LD_RUN_PATH'
8764
8765 if test "$GCC" = yes; then
8766 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 else
8769 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8771 fi
8772 ;;
8773
8774 uts4*)
8775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_shlibpath_var=no
8778 ;;
8779
8780 *)
8781 ld_shlibs=no
8782 ;;
8783 esac
8784
8785 if test x$host_vendor = xsni; then
8786 case $host in
8787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8788 export_dynamic_flag_spec='${wl}-Blargedynsym'
8789 ;;
8790 esac
8791 fi
8792 fi
8793
8794 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6
8796 test "$ld_shlibs" = no && can_build_shared=no
8797
8798 with_gnu_ld=$with_gnu_ld
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814 #
8815 # Do we need to explicitly link libc?
8816 #
8817 case "x$archive_cmds_need_lc" in
8818 x|xyes)
8819 # Assume -lc should be added
8820 archive_cmds_need_lc=yes
8821
8822 if test "$enable_shared" = yes && test "$GCC" = yes; then
8823 case $archive_cmds in
8824 *'~'*)
8825 # FIXME: we may have to deal with multi-command sequences.
8826 ;;
8827 '$CC '*)
8828 # Test whether the compiler implicitly links with -lc since on some
8829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8830 # to ld, don't add -lc before -lgcc.
8831 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8833 $RM conftest*
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8835
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>&5
8838 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } 2>conftest.err; then
8841 soname=conftest
8842 lib=conftest
8843 libobjs=conftest.$ac_objext
8844 deplibs=
8845 wl=$lt_prog_compiler_wl
8846 pic_flag=$lt_prog_compiler_pic
8847 compiler_flags=-v
8848 linker_flags=-v
8849 verstring=
8850 output_objdir=.
8851 libname=conftest
8852 lt_save_allow_undefined_flag=$allow_undefined_flag
8853 allow_undefined_flag=
8854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8855 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }
8859 then
8860 archive_cmds_need_lc=no
8861 else
8862 archive_cmds_need_lc=yes
8863 fi
8864 allow_undefined_flag=$lt_save_allow_undefined_flag
8865 else
8866 cat conftest.err 1>&5
8867 fi
8868 $RM conftest*
8869 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8870 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8871 ;;
8872 esac
8873 fi
8874 ;;
8875 esac
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9035 withGCC=$GCC
9036 if test "$withGCC" = yes; then
9037 case $host_os in
9038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9039 *) lt_awk_arg="/^libraries:/" ;;
9040 esac
9041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9043 # if the path contains ";" then we assume it to be the separator
9044 # otherwise default to the standard path separator (i.e. ":") - it is
9045 # assumed that no part of a normal pathname contains ";" but that should
9046 # okay in the real world where ";" in dirpaths is itself problematic.
9047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9048 else
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9050 fi
9051 # Ok, now we have the path, separated by spaces, we can step through it
9052 # and add multilib dir if necessary.
9053 lt_tmp_lt_search_path_spec=
9054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9055 for lt_sys_path in $lt_search_path_spec; do
9056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9058 else
9059 test -d "$lt_sys_path" && \
9060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9061 fi
9062 done
9063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9064 BEGIN {RS=" "; FS="/|\n";} {
9065 lt_foo="";
9066 lt_count=0;
9067 for (lt_i = NF; lt_i > 0; lt_i--) {
9068 if ($lt_i != "" && $lt_i != ".") {
9069 if ($lt_i == "..") {
9070 lt_count++;
9071 } else {
9072 if (lt_count == 0) {
9073 lt_foo="/" $lt_i lt_foo;
9074 } else {
9075 lt_count--;
9076 }
9077 }
9078 }
9079 }
9080 if (lt_foo != "") { lt_freq[lt_foo]++; }
9081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9082 }'`
9083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9084 else
9085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9086 fi
9087 library_names_spec=
9088 libname_spec='lib$name'
9089 soname_spec=
9090 shrext_cmds=".so"
9091 postinstall_cmds=
9092 postuninstall_cmds=
9093 finish_cmds=
9094 finish_eval=
9095 shlibpath_var=
9096 shlibpath_overrides_runpath=unknown
9097 version_type=none
9098 dynamic_linker="$host_os ld.so"
9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9100 need_lib_prefix=unknown
9101 hardcode_into_libs=no
9102
9103 # when you set need_version to no, make sure it does not cause -set_version
9104 # flags to be left without arguments
9105 need_version=unknown
9106
9107 case $host_os in
9108 aix3*)
9109 version_type=linux
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9111 shlibpath_var=LIBPATH
9112
9113 # AIX 3 has no versioning support, so we append a major version to the name.
9114 soname_spec='${libname}${release}${shared_ext}$major'
9115 ;;
9116
9117 aix4* | aix5*)
9118 version_type=linux
9119 need_lib_prefix=no
9120 need_version=no
9121 hardcode_into_libs=yes
9122 if test "$host_cpu" = ia64; then
9123 # AIX 5 supports IA64
9124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9125 shlibpath_var=LD_LIBRARY_PATH
9126 else
9127 # With GCC up to 2.95.x, collect2 would create an import file
9128 # for dependence libraries. The import file would start with
9129 # the line `#! .'. This would cause the generated library to
9130 # depend on `.', always an invalid library. This was fixed in
9131 # development snapshots of GCC prior to 3.0.
9132 case $host_os in
9133 aix4 | aix4.[01] | aix4.[01].*)
9134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9135 echo ' yes '
9136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9137 :
9138 else
9139 can_build_shared=no
9140 fi
9141 ;;
9142 esac
9143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9144 # soname into executable. Probably we can add versioning support to
9145 # collect2, so additional links can be useful in future.
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9148 # instead of lib<name>.a to let people know that these are not
9149 # typical AIX shared libraries.
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 else
9152 # We preserve .a as extension for shared libraries through AIX4.2
9153 # and later when we are not doing run time linking.
9154 library_names_spec='${libname}${release}.a $libname.a'
9155 soname_spec='${libname}${release}${shared_ext}$major'
9156 fi
9157 shlibpath_var=LIBPATH
9158 fi
9159 ;;
9160
9161 amigaos*)
9162 if test "$host_cpu" = m68k; then
9163 library_names_spec='$libname.ixlibrary $libname.a'
9164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9165 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9166 else
9167 dynamic_linker=no
9168 fi
9169 ;;
9170
9171 beos*)
9172 library_names_spec='${libname}${shared_ext}'
9173 dynamic_linker="$host_os ld.so"
9174 shlibpath_var=LIBRARY_PATH
9175 ;;
9176
9177 bsdi[45]*)
9178 version_type=linux
9179 need_version=no
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec='${libname}${release}${shared_ext}$major'
9182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9183 shlibpath_var=LD_LIBRARY_PATH
9184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9186 # the default ld.so.conf also contains /usr/contrib/lib and
9187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9188 # libtool to hard-code these into programs
9189 ;;
9190
9191 cygwin* | mingw* | pw32*)
9192 version_type=windows
9193 shrext_cmds=".dll"
9194 need_version=no
9195 need_lib_prefix=no
9196
9197 case $withGCC,$host_os in
9198 yes,cygwin* | yes,mingw* | yes,pw32*)
9199 library_names_spec='$libname.dll.a'
9200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9201 postinstall_cmds='base_file=`basename \${file}`~
9202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9203 dldir=$destdir/`dirname \$dlpath`~
9204 test -d \$dldir || mkdir -p \$dldir~
9205 $install_prog $dir/$dlname \$dldir/$dlname~
9206 chmod a+x \$dldir/$dlname~
9207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9209 fi'
9210 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9212 $RM \$dlpath'
9213 shlibpath_overrides_runpath=yes
9214
9215 case $host_os in
9216 cygwin*)
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9220 ;;
9221 mingw*)
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9233 else
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9235 fi
9236 ;;
9237 pw32*)
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9240 ;;
9241 esac
9242 ;;
9243
9244 *)
9245 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9246 ;;
9247 esac
9248 dynamic_linker='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9250 shlibpath_var=PATH
9251 ;;
9252
9253 darwin* | rhapsody*)
9254 dynamic_linker="$host_os dyld"
9255 version_type=darwin
9256 need_lib_prefix=no
9257 need_version=no
9258 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath=yes
9261 shlibpath_var=DYLD_LIBRARY_PATH
9262 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9263
9264 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9266 ;;
9267
9268 dgux*)
9269 version_type=linux
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec='${libname}${release}${shared_ext}$major'
9274 shlibpath_var=LD_LIBRARY_PATH
9275 ;;
9276
9277 freebsd1*)
9278 dynamic_linker=no
9279 ;;
9280
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9286 else
9287 case $host_os in
9288 freebsd[123]*) objformat=aout ;;
9289 *) objformat=elf ;;
9290 esac
9291 fi
9292 version_type=freebsd-$objformat
9293 case $version_type in
9294 freebsd-elf*)
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9296 need_version=no
9297 need_lib_prefix=no
9298 ;;
9299 freebsd-*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9301 need_version=yes
9302 ;;
9303 esac
9304 shlibpath_var=LD_LIBRARY_PATH
9305 case $host_os in
9306 freebsd2*)
9307 shlibpath_overrides_runpath=yes
9308 ;;
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9312 ;;
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9317 ;;
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9321 ;;
9322 esac
9323 ;;
9324
9325 gnu*)
9326 version_type=linux
9327 need_lib_prefix=no
9328 need_version=no
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9333 ;;
9334
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9338 version_type=sunos
9339 need_lib_prefix=no
9340 need_version=no
9341 case $host_cpu in
9342 ia64*)
9343 shrext_cmds='.so'
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9352 else
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9354 fi
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9356 ;;
9357 hppa*64*)
9358 shrext_cmds='.sl'
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9367 ;;
9368 *)
9369 shrext_cmds='.sl'
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9375 ;;
9376 esac
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9379 ;;
9380
9381 interix[3-9]*)
9382 version_type=linux
9383 need_lib_prefix=no
9384 need_version=no
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9391 ;;
9392
9393 irix5* | irix6* | nonstopux*)
9394 case $host_os in
9395 nonstopux*) version_type=nonstopux ;;
9396 *)
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9398 version_type=linux
9399 else
9400 version_type=irix
9401 fi ;;
9402 esac
9403 need_lib_prefix=no
9404 need_version=no
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9407 case $host_os in
9408 irix5* | nonstopux*)
9409 libsuff= shlibsuff=
9410 ;;
9411 *)
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9420 esac
9421 ;;
9422 esac
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9428 ;;
9429
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9432 dynamic_linker=no
9433 ;;
9434
9435 # This must be Linux ELF.
9436 linux* | k*bsd*-gnu)
9437 version_type=linux
9438 need_lib_prefix=no
9439 need_version=no
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # Some binutils ld are patched to set DT_RUNPATH
9446 save_LDFLAGS=$LDFLAGS
9447 save_libdir=$libdir
9448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9454 fi
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461
9462 int
9463 main ()
9464 {
9465
9466 ;
9467 return 0;
9468 }
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9493 shlibpath_overrides_runpath=yes
9494 fi
9495
9496 else
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9499
9500 fi
9501 rm -f conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LDFLAGS=$save_LDFLAGS
9504 libdir=$save_libdir
9505
9506 # This implies no fast_install, which is unacceptable.
9507 # Some rework will be needed to allow for fast_install
9508 # before this can be enabled.
9509 hardcode_into_libs=yes
9510
9511 # Append ld.so.conf contents to the search path
9512 if test -f /etc/ld.so.conf; then
9513 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9514 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9515 fi
9516
9517 # We used to test for /lib/ld.so.1 and disable shared libraries on
9518 # powerpc, because MkLinux only supported shared libraries with the
9519 # GNU dynamic linker. Since this was broken with cross compilers,
9520 # most powerpc-linux boxes support dynamic linking these days and
9521 # people can always --disable-shared, the test was removed, and we
9522 # assume the GNU/Linux dynamic linker is in use.
9523 dynamic_linker='GNU/Linux ld.so'
9524 ;;
9525
9526 netbsd*)
9527 version_type=sunos
9528 need_lib_prefix=no
9529 need_version=no
9530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9533 dynamic_linker='NetBSD (a.out) ld.so'
9534 else
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 dynamic_linker='NetBSD ld.elf_so'
9538 fi
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes
9541 hardcode_into_libs=yes
9542 ;;
9543
9544 newsos6)
9545 version_type=linux
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes
9549 ;;
9550
9551 *nto* | *qnx*)
9552 version_type=qnx
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 shlibpath_var=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath=no
9559 hardcode_into_libs=yes
9560 dynamic_linker='ldqnx.so'
9561 ;;
9562
9563 openbsd*)
9564 version_type=sunos
9565 sys_lib_dlsearch_path_spec="/usr/lib"
9566 need_lib_prefix=no
9567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9568 case $host_os in
9569 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9570 *) need_version=no ;;
9571 esac
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9576 case $host_os in
9577 openbsd2.[89] | openbsd2.[89].*)
9578 shlibpath_overrides_runpath=no
9579 ;;
9580 *)
9581 shlibpath_overrides_runpath=yes
9582 ;;
9583 esac
9584 else
9585 shlibpath_overrides_runpath=yes
9586 fi
9587 ;;
9588
9589 os2*)
9590 libname_spec='$name'
9591 shrext_cmds=".dll"
9592 need_lib_prefix=no
9593 library_names_spec='$libname${shared_ext} $libname.a'
9594 dynamic_linker='OS/2 ld.exe'
9595 shlibpath_var=LIBPATH
9596 ;;
9597
9598 osf3* | osf4* | osf5*)
9599 version_type=osf
9600 need_lib_prefix=no
9601 need_version=no
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9604 shlibpath_var=LD_LIBRARY_PATH
9605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9607 ;;
9608
9609 rdos*)
9610 dynamic_linker=no
9611 ;;
9612
9613 solaris*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=yes
9621 hardcode_into_libs=yes
9622 # ldd complains unless libraries are executable
9623 postinstall_cmds='chmod +x $lib'
9624 ;;
9625
9626 sunos4*)
9627 version_type=sunos
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=yes
9632 if test "$with_gnu_ld" = yes; then
9633 need_lib_prefix=no
9634 fi
9635 need_version=yes
9636 ;;
9637
9638 sysv4 | sysv4.3*)
9639 version_type=linux
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 soname_spec='${libname}${release}${shared_ext}$major'
9642 shlibpath_var=LD_LIBRARY_PATH
9643 case $host_vendor in
9644 sni)
9645 shlibpath_overrides_runpath=no
9646 need_lib_prefix=no
9647 runpath_var=LD_RUN_PATH
9648 ;;
9649 siemens)
9650 need_lib_prefix=no
9651 ;;
9652 motorola)
9653 need_lib_prefix=no
9654 need_version=no
9655 shlibpath_overrides_runpath=no
9656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9657 ;;
9658 esac
9659 ;;
9660
9661 sysv4*MP*)
9662 if test -d /usr/nec ;then
9663 version_type=linux
9664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9665 soname_spec='$libname${shared_ext}.$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9667 fi
9668 ;;
9669
9670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9671 version_type=freebsd-elf
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 shlibpath_overrides_runpath=yes
9678 hardcode_into_libs=yes
9679 if test "$with_gnu_ld" = yes; then
9680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9681 else
9682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9683 case $host_os in
9684 sco3.2v5*)
9685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9686 ;;
9687 esac
9688 fi
9689 sys_lib_dlsearch_path_spec='/usr/lib'
9690 ;;
9691
9692 tpf*)
9693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9694 version_type=linux
9695 need_lib_prefix=no
9696 need_version=no
9697 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=no
9700 hardcode_into_libs=yes
9701 ;;
9702
9703 uts4*)
9704 version_type=linux
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9708 ;;
9709
9710 *)
9711 dynamic_linker=no
9712 ;;
9713 esac
9714 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9715 echo "${ECHO_T}$dynamic_linker" >&6
9716 test "$dynamic_linker" = no && can_build_shared=no
9717
9718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9719 if test "$GCC" = yes; then
9720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9721 fi
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9811 hardcode_action=
9812 if test -n "$hardcode_libdir_flag_spec" ||
9813 test -n "$runpath_var" ||
9814 test "X$hardcode_automatic" = "Xyes" ; then
9815
9816 # We can hardcode non-existent directories.
9817 if test "$hardcode_direct" != no &&
9818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9819 # have to relink, otherwise we might link with an installed library
9820 # when we should be linking with a yet-to-be-installed one
9821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9822 test "$hardcode_minus_L" != no; then
9823 # Linking always hardcodes the temporary library directory.
9824 hardcode_action=relink
9825 else
9826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9827 hardcode_action=immediate
9828 fi
9829 else
9830 # We cannot hardcode anything, or else we can only hardcode existing
9831 # directories.
9832 hardcode_action=unsupported
9833 fi
9834 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9835 echo "${ECHO_T}$hardcode_action" >&6
9836
9837 if test "$hardcode_action" = relink ||
9838 test "$inherit_rpath" = yes; then
9839 # Fast installation is not supported
9840 enable_fast_install=no
9841 elif test "$shlibpath_overrides_runpath" = yes ||
9842 test "$enable_shared" = no; then
9843 # Fast installation is not necessary
9844 enable_fast_install=needless
9845 fi
9846
9847
9848
9849
9850
9851
9852 if test "x$enable_dlopen" != xyes; then
9853 enable_dlopen=unknown
9854 enable_dlopen_self=unknown
9855 enable_dlopen_self_static=unknown
9856 else
9857 lt_cv_dlopen=no
9858 lt_cv_dlopen_libs=
9859
9860 case $host_os in
9861 beos*)
9862 lt_cv_dlopen="load_add_on"
9863 lt_cv_dlopen_libs=
9864 lt_cv_dlopen_self=yes
9865 ;;
9866
9867 mingw* | pw32*)
9868 lt_cv_dlopen="LoadLibrary"
9869 lt_cv_dlopen_libs=
9870 ;;
9871
9872 cygwin*)
9873 lt_cv_dlopen="dlopen"
9874 lt_cv_dlopen_libs=
9875 ;;
9876
9877 darwin*)
9878 # if libdl is installed we need to link against it
9879 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-ldl $LIBS"
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9890 fi
9891 cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h. */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9897
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char dlopen ();
9905 int
9906 main ()
9907 {
9908 dlopen ();
9909 ;
9910 return 0;
9911 }
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_lib_dl_dlopen=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9939
9940 ac_cv_lib_dl_dlopen=no
9941 fi
9942 rm -f conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9945 fi
9946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950 else
9951
9952 lt_cv_dlopen="dyld"
9953 lt_cv_dlopen_libs=
9954 lt_cv_dlopen_self=yes
9955
9956 fi
9957
9958 ;;
9959
9960 *)
9961 echo "$as_me:$LINENO: checking for shl_load" >&5
9962 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9963 if test "${ac_cv_func_shl_load+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9970 fi
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define shl_load innocuous_shl_load
9980
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char shl_load (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9985
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9991
9992 #undef shl_load
9993
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9997 {
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char shl_load ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10006 choke me
10007 #else
10008 char (*f) () = shl_load;
10009 #endif
10010 #ifdef __cplusplus
10011 }
10012 #endif
10013
10014 int
10015 main ()
10016 {
10017 return f != shl_load;
10018 ;
10019 return 0;
10020 }
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 ac_cv_func_shl_load=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10048
10049 ac_cv_func_shl_load=no
10050 fi
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 fi
10054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10056 if test $ac_cv_func_shl_load = yes; then
10057 lt_cv_dlopen="shl_load"
10058 else
10059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-ldld $LIBS"
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10070 fi
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10077
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10084 char shl_load ();
10085 int
10086 main ()
10087 {
10088 shl_load ();
10089 ;
10090 return 0;
10091 }
10092 _ACEOF
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095 (eval $ac_link) 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } &&
10102 { ac_try='test -z "$ac_c_werror_flag"
10103 || test ! -s conftest.err'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; } &&
10109 { ac_try='test -s conftest$ac_exeext'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; }; then
10115 ac_cv_lib_dld_shl_load=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10119
10120 ac_cv_lib_dld_shl_load=no
10121 fi
10122 rm -f conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10125 fi
10126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10128 if test $ac_cv_lib_dld_shl_load = yes; then
10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10130 else
10131 echo "$as_me:$LINENO: checking for dlopen" >&5
10132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10133 if test "${ac_cv_func_dlopen+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10140 fi
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define dlopen innocuous_dlopen
10150
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char dlopen (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10155
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10161
10162 #undef dlopen
10163
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10167 {
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char dlopen ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10176 choke me
10177 #else
10178 char (*f) () = dlopen;
10179 #endif
10180 #ifdef __cplusplus
10181 }
10182 #endif
10183
10184 int
10185 main ()
10186 {
10187 return f != dlopen;
10188 ;
10189 return 0;
10190 }
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_func_dlopen=yes
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10218
10219 ac_cv_func_dlopen=no
10220 fi
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 fi
10224 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10225 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10226 if test $ac_cv_func_dlopen = yes; then
10227 lt_cv_dlopen="dlopen"
10228 else
10229 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldl $LIBS"
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10240 fi
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10247
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char dlopen ();
10255 int
10256 main ()
10257 {
10258 dlopen ();
10259 ;
10260 return 0;
10261 }
10262 _ACEOF
10263 rm -f conftest.$ac_objext conftest$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_dl_dlopen=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10289
10290 ac_cv_lib_dl_dlopen=no
10291 fi
10292 rm -f conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10295 fi
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10298 if test $ac_cv_lib_dl_dlopen = yes; then
10299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10300 else
10301 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10302 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lsvld $LIBS"
10308 if test x$gcc_no_link = xyes; then
10309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10311 { (exit 1); exit 1; }; }
10312 fi
10313 cat >conftest.$ac_ext <<_ACEOF
10314 /* confdefs.h. */
10315 _ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10319
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char dlopen ();
10327 int
10328 main ()
10329 {
10330 dlopen ();
10331 ;
10332 return 0;
10333 }
10334 _ACEOF
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_svld_dlopen=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10361
10362 ac_cv_lib_svld_dlopen=no
10363 fi
10364 rm -f conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10367 fi
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10370 if test $ac_cv_lib_svld_dlopen = yes; then
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10372 else
10373 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10374 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-ldld $LIBS"
10380 if test x$gcc_no_link = xyes; then
10381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10383 { (exit 1); exit 1; }; }
10384 fi
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 /* We use char because int might match the return type of a gcc2
10397 builtin and then its argument prototype would still apply. */
10398 char dld_link ();
10399 int
10400 main ()
10401 {
10402 dld_link ();
10403 ;
10404 return 0;
10405 }
10406 _ACEOF
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_dld_dld_link=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10433
10434 ac_cv_lib_dld_dld_link=no
10435 fi
10436 rm -f conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10439 fi
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10441 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10442 if test $ac_cv_lib_dld_dld_link = yes; then
10443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10444 fi
10445
10446
10447 fi
10448
10449
10450 fi
10451
10452
10453 fi
10454
10455
10456 fi
10457
10458
10459 fi
10460
10461 ;;
10462 esac
10463
10464 if test "x$lt_cv_dlopen" != xno; then
10465 enable_dlopen=yes
10466 else
10467 enable_dlopen=no
10468 fi
10469
10470 case $lt_cv_dlopen in
10471 dlopen)
10472 save_CPPFLAGS="$CPPFLAGS"
10473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10474
10475 save_LDFLAGS="$LDFLAGS"
10476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10477
10478 save_LIBS="$LIBS"
10479 LIBS="$lt_cv_dlopen_libs $LIBS"
10480
10481 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10482 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10483 if test "${lt_cv_dlopen_self+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test "$cross_compiling" = yes; then :
10487 lt_cv_dlopen_self=cross
10488 else
10489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10490 lt_status=$lt_dlunknown
10491 cat > conftest.$ac_ext <<_LT_EOF
10492 #line 10492 "configure"
10493 #include "confdefs.h"
10494
10495 #if HAVE_DLFCN_H
10496 #include <dlfcn.h>
10497 #endif
10498
10499 #include <stdio.h>
10500
10501 #ifdef RTLD_GLOBAL
10502 # define LT_DLGLOBAL RTLD_GLOBAL
10503 #else
10504 # ifdef DL_GLOBAL
10505 # define LT_DLGLOBAL DL_GLOBAL
10506 # else
10507 # define LT_DLGLOBAL 0
10508 # endif
10509 #endif
10510
10511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10512 find out it does not work in some platform. */
10513 #ifndef LT_DLLAZY_OR_NOW
10514 # ifdef RTLD_LAZY
10515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10516 # else
10517 # ifdef DL_LAZY
10518 # define LT_DLLAZY_OR_NOW DL_LAZY
10519 # else
10520 # ifdef RTLD_NOW
10521 # define LT_DLLAZY_OR_NOW RTLD_NOW
10522 # else
10523 # ifdef DL_NOW
10524 # define LT_DLLAZY_OR_NOW DL_NOW
10525 # else
10526 # define LT_DLLAZY_OR_NOW 0
10527 # endif
10528 # endif
10529 # endif
10530 # endif
10531 #endif
10532
10533 #ifdef __cplusplus
10534 extern "C" void exit (int);
10535 #endif
10536
10537 void fnord() { int i=42;}
10538 int main ()
10539 {
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10542
10543 if (self)
10544 {
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10548 }
10549 else
10550 puts (dlerror ());
10551
10552 exit (status);
10553 }
10554 _LT_EOF
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10560 (./conftest; exit; ) >&5 2>/dev/null
10561 lt_status=$?
10562 case x$lt_status in
10563 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10565 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10566 esac
10567 else :
10568 # compilation failed
10569 lt_cv_dlopen_self=no
10570 fi
10571 fi
10572 rm -fr conftest*
10573
10574
10575 fi
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10578
10579 if test "x$lt_cv_dlopen_self" = xyes; then
10580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10581 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10582 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10583 if test "${lt_cv_dlopen_self_static+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 if test "$cross_compiling" = yes; then :
10587 lt_cv_dlopen_self_static=cross
10588 else
10589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10590 lt_status=$lt_dlunknown
10591 cat > conftest.$ac_ext <<_LT_EOF
10592 #line 10592 "configure"
10593 #include "confdefs.h"
10594
10595 #if HAVE_DLFCN_H
10596 #include <dlfcn.h>
10597 #endif
10598
10599 #include <stdio.h>
10600
10601 #ifdef RTLD_GLOBAL
10602 # define LT_DLGLOBAL RTLD_GLOBAL
10603 #else
10604 # ifdef DL_GLOBAL
10605 # define LT_DLGLOBAL DL_GLOBAL
10606 # else
10607 # define LT_DLGLOBAL 0
10608 # endif
10609 #endif
10610
10611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10612 find out it does not work in some platform. */
10613 #ifndef LT_DLLAZY_OR_NOW
10614 # ifdef RTLD_LAZY
10615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10616 # else
10617 # ifdef DL_LAZY
10618 # define LT_DLLAZY_OR_NOW DL_LAZY
10619 # else
10620 # ifdef RTLD_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_NOW
10622 # else
10623 # ifdef DL_NOW
10624 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # else
10626 # define LT_DLLAZY_OR_NOW 0
10627 # endif
10628 # endif
10629 # endif
10630 # endif
10631 #endif
10632
10633 #ifdef __cplusplus
10634 extern "C" void exit (int);
10635 #endif
10636
10637 void fnord() { int i=42;}
10638 int main ()
10639 {
10640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641 int status = $lt_dlunknown;
10642
10643 if (self)
10644 {
10645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10646 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10647 /* dlclose (self); */
10648 }
10649 else
10650 puts (dlerror ());
10651
10652 exit (status);
10653 }
10654 _LT_EOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10660 (./conftest; exit; ) >&5 2>/dev/null
10661 lt_status=$?
10662 case x$lt_status in
10663 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10664 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10665 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666 esac
10667 else :
10668 # compilation failed
10669 lt_cv_dlopen_self_static=no
10670 fi
10671 fi
10672 rm -fr conftest*
10673
10674
10675 fi
10676 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10677 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10678 fi
10679
10680 CPPFLAGS="$save_CPPFLAGS"
10681 LDFLAGS="$save_LDFLAGS"
10682 LIBS="$save_LIBS"
10683 ;;
10684 esac
10685
10686 case $lt_cv_dlopen_self in
10687 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10688 *) enable_dlopen_self=unknown ;;
10689 esac
10690
10691 case $lt_cv_dlopen_self_static in
10692 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10693 *) enable_dlopen_self_static=unknown ;;
10694 esac
10695 fi
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713 striplib=
10714 old_striplib=
10715 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10716 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10717 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10718 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10719 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 # FIXME - insert some real tests, host_os isn't really good enough
10724 case $host_os in
10725 darwin*)
10726 if test -n "$STRIP" ; then
10727 striplib="$STRIP -x"
10728 old_striplib="$STRIP -S"
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735 ;;
10736 *)
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10739 ;;
10740 esac
10741 fi
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754 # Report which library types will actually be built
10755 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10756 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10757 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10758 echo "${ECHO_T}$can_build_shared" >&6
10759
10760 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10761 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10762 test "$can_build_shared" = "no" && enable_shared=no
10763
10764 # On AIX, shared libraries and static libraries use the same namespace, and
10765 # are all built from PIC.
10766 case $host_os in
10767 aix3*)
10768 test "$enable_shared" = yes && enable_static=no
10769 if test -n "$RANLIB"; then
10770 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771 postinstall_cmds='$RANLIB $lib'
10772 fi
10773 ;;
10774
10775 aix4* | aix5*)
10776 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777 test "$enable_shared" = yes && enable_static=no
10778 fi
10779 ;;
10780 esac
10781 echo "$as_me:$LINENO: result: $enable_shared" >&5
10782 echo "${ECHO_T}$enable_shared" >&6
10783
10784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10786 # Make sure either enable_shared or enable_static is yes.
10787 test "$enable_shared" = yes || enable_static=yes
10788 echo "$as_me:$LINENO: result: $enable_static" >&5
10789 echo "${ECHO_T}$enable_static" >&6
10790
10791
10792
10793
10794 fi
10795 ac_ext=c
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10800
10801 CC="$lt_save_CC"
10802
10803
10804 ac_ext=cc
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10809
10810 archive_cmds_need_lc_CXX=no
10811 allow_undefined_flag_CXX=
10812 always_export_symbols_CXX=no
10813 archive_expsym_cmds_CXX=
10814 compiler_needs_object_CXX=no
10815 export_dynamic_flag_spec_CXX=
10816 hardcode_direct_CXX=no
10817 hardcode_direct_absolute_CXX=no
10818 hardcode_libdir_flag_spec_CXX=
10819 hardcode_libdir_flag_spec_ld_CXX=
10820 hardcode_libdir_separator_CXX=
10821 hardcode_minus_L_CXX=no
10822 hardcode_shlibpath_var_CXX=unsupported
10823 hardcode_automatic_CXX=no
10824 inherit_rpath_CXX=no
10825 module_cmds_CXX=
10826 module_expsym_cmds_CXX=
10827 link_all_deplibs_CXX=unknown
10828 old_archive_cmds_CXX=$old_archive_cmds
10829 no_undefined_flag_CXX=
10830 whole_archive_flag_spec_CXX=
10831 enable_shared_with_static_runtimes_CXX=no
10832
10833 # Source file extension for C++ test sources.
10834 ac_ext=cpp
10835
10836 # Object file extension for compiled C++ test sources.
10837 objext=o
10838 objext_CXX=$objext
10839
10840 # No sense in running all these tests if we already determined that
10841 # the CXX compiler isn't working. Some variables (like enable_shared)
10842 # are currently assumed to apply to all compilers on this platform,
10843 # and will be corrupted by setting them based on a non-working compiler.
10844 if test "$_lt_caught_CXX_error" != yes; then
10845 # Code to be used in simple compile tests
10846 lt_simple_compile_test_code="int some_variable = 0;"
10847
10848 # Code to be used in simple link tests
10849 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10850
10851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10852
10853
10854
10855
10856
10857
10858 # If no C compiler was specified, use CC.
10859 LTCC=${LTCC-"$CC"}
10860
10861 # If no C compiler flags were specified, use CFLAGS.
10862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10863
10864 # Allow CC to be a program name with arguments.
10865 compiler=$CC
10866
10867
10868 # save warnings/boilerplate of simple test code
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_compiler_boilerplate=`cat conftest.err`
10873 $RM conftest*
10874
10875 ac_outfile=conftest.$ac_objext
10876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10878 _lt_linker_boilerplate=`cat conftest.err`
10879 $RM conftest*
10880
10881
10882 # Allow CC to be a program name with arguments.
10883 lt_save_CC=$CC
10884 lt_save_LD=$LD
10885 lt_save_GCC=$GCC
10886 GCC=$GXX
10887 lt_save_with_gnu_ld=$with_gnu_ld
10888 lt_save_path_LD=$lt_cv_path_LD
10889 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10890 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10891 else
10892 $as_unset lt_cv_prog_gnu_ld
10893 fi
10894 if test -n "${lt_cv_path_LDCXX+set}"; then
10895 lt_cv_path_LD=$lt_cv_path_LDCXX
10896 else
10897 $as_unset lt_cv_path_LD
10898 fi
10899 test -z "${LDCXX+set}" || LD=$LDCXX
10900 CC=${CXX-"c++"}
10901 compiler=$CC
10902 compiler_CXX=$CC
10903 for cc_temp in $compiler""; do
10904 case $cc_temp in
10905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10907 \-*) ;;
10908 *) break;;
10909 esac
10910 done
10911 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10912
10913
10914 if test -n "$compiler"; then
10915 # We don't want -fno-exception when compiling C++ code, so set the
10916 # no_builtin_flag separately
10917 if test "$GXX" = yes; then
10918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10919 else
10920 lt_prog_compiler_no_builtin_flag_CXX=
10921 fi
10922
10923 if test "$GXX" = yes; then
10924 # Set up default GNU C++ configuration
10925
10926
10927
10928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10929 if test "${with_gnu_ld+set}" = set; then
10930 withval="$with_gnu_ld"
10931 test "$withval" = no || with_gnu_ld=yes
10932 else
10933 with_gnu_ld=no
10934 fi;
10935 ac_prog=ld
10936 if test "$GCC" = yes; then
10937 # Check if gcc -print-prog-name=ld gives a path.
10938 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10939 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10940 case $host in
10941 *-*-mingw*)
10942 # gcc leaves a trailing carriage return which upsets mingw
10943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10944 *)
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10946 esac
10947 case $ac_prog in
10948 # Accept absolute paths.
10949 [\\/]* | ?:[\\/]*)
10950 re_direlt='/[^/][^/]*/\.\./'
10951 # Canonicalize the pathname of ld
10952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10955 done
10956 test -z "$LD" && LD="$ac_prog"
10957 ;;
10958 "")
10959 # If it fails, then pretend we aren't using GCC.
10960 ac_prog=ld
10961 ;;
10962 *)
10963 # If it is relative, then search for the first ld in PATH.
10964 with_gnu_ld=unknown
10965 ;;
10966 esac
10967 elif test "$with_gnu_ld" = yes; then
10968 echo "$as_me:$LINENO: checking for GNU ld" >&5
10969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10970 else
10971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10973 fi
10974 if test "${lt_cv_path_LD+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 if test -z "$LD"; then
10978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10979 for ac_dir in $PATH; do
10980 IFS="$lt_save_ifs"
10981 test -z "$ac_dir" && ac_dir=.
10982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10983 lt_cv_path_LD="$ac_dir/$ac_prog"
10984 # Check to see if the program is GNU ld. I'd rather use --version,
10985 # but apparently some variants of GNU ld only accept -v.
10986 # Break only if it was the GNU/non-GNU ld that we prefer.
10987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10988 *GNU* | *'with BFD'*)
10989 test "$with_gnu_ld" != no && break
10990 ;;
10991 *)
10992 test "$with_gnu_ld" != yes && break
10993 ;;
10994 esac
10995 fi
10996 done
10997 IFS="$lt_save_ifs"
10998 else
10999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11000 fi
11001 fi
11002
11003 LD="$lt_cv_path_LD"
11004 if test -n "$LD"; then
11005 echo "$as_me:$LINENO: result: $LD" >&5
11006 echo "${ECHO_T}$LD" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11010 fi
11011 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11012 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11013 { (exit 1); exit 1; }; }
11014 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11015 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11016 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11020 case `$LD -v 2>&1 </dev/null` in
11021 *GNU* | *'with BFD'*)
11022 lt_cv_prog_gnu_ld=yes
11023 ;;
11024 *)
11025 lt_cv_prog_gnu_ld=no
11026 ;;
11027 esac
11028 fi
11029 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11030 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11031 with_gnu_ld=$lt_cv_prog_gnu_ld
11032
11033
11034
11035
11036
11037
11038
11039 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11040 # archiving commands below assume that GNU ld is being used.
11041 if test "$with_gnu_ld" = yes; then
11042 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 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'
11044
11045 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11047
11048 # If archive_cmds runs LD, not CC, wlarc should be empty
11049 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11050 # investigate it a little bit more. (MM)
11051 wlarc='${wl}'
11052
11053 # ancient GNU ld didn't support --whole-archive et. al.
11054 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11055 $GREP 'no-whole-archive' > /dev/null; then
11056 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11057 else
11058 whole_archive_flag_spec_CXX=
11059 fi
11060 else
11061 with_gnu_ld=no
11062 wlarc=
11063
11064 # A generic and very simple default shared library creation
11065 # command for GNU C++ for the case where it uses the native
11066 # linker, instead of GNU ld. If possible, this setting should
11067 # overridden to take advantage of the native linker features on
11068 # the platform it is being used on.
11069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11070 fi
11071
11072 # Commands to make compiler produce verbose output that lists
11073 # what "hidden" libraries, object files and flags are used when
11074 # linking a shared library.
11075 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11076
11077 else
11078 GXX=no
11079 with_gnu_ld=no
11080 wlarc=
11081 fi
11082
11083 # PORTME: fill in a description of your system's C++ link characteristics
11084 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11085 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11086 ld_shlibs_CXX=yes
11087 case $host_os in
11088 aix3*)
11089 # FIXME: insert proper C++ library support
11090 ld_shlibs_CXX=no
11091 ;;
11092 aix4* | aix5*)
11093 if test "$host_cpu" = ia64; then
11094 # On IA64, the linker does run time linking by default, so we don't
11095 # have to do anything special.
11096 aix_use_runtimelinking=no
11097 exp_sym_flag='-Bexport'
11098 no_entry_flag=""
11099 else
11100 aix_use_runtimelinking=no
11101
11102 # Test if we are trying to use run time linking or normal
11103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11104 # need to do runtime linking.
11105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11106 for ld_flag in $LDFLAGS; do
11107 case $ld_flag in
11108 *-brtl*)
11109 aix_use_runtimelinking=yes
11110 break
11111 ;;
11112 esac
11113 done
11114 ;;
11115 esac
11116
11117 exp_sym_flag='-bexport'
11118 no_entry_flag='-bnoentry'
11119 fi
11120
11121 # When large executables or shared objects are built, AIX ld can
11122 # have problems creating the table of contents. If linking a library
11123 # or program results in "error TOC overflow" add -mminimal-toc to
11124 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11125 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11126
11127 archive_cmds_CXX=''
11128 hardcode_direct_CXX=yes
11129 hardcode_direct_absolute_CXX=yes
11130 hardcode_libdir_separator_CXX=':'
11131 link_all_deplibs_CXX=yes
11132 file_list_spec_CXX='${wl}-f,'
11133
11134 if test "$GXX" = yes; then
11135 case $host_os in aix4.[012]|aix4.[012].*)
11136 # We only want to do this on AIX 4.2 and lower, the check
11137 # below for broken collect2 doesn't work under 4.3+
11138 collect2name=`${CC} -print-prog-name=collect2`
11139 if test -f "$collect2name" &&
11140 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11141 then
11142 # We have reworked collect2
11143 :
11144 else
11145 # We have old collect2
11146 hardcode_direct_CXX=unsupported
11147 # It fails to find uninstalled libraries when the uninstalled
11148 # path is not listed in the libpath. Setting hardcode_minus_L
11149 # to unsupported forces relinking
11150 hardcode_minus_L_CXX=yes
11151 hardcode_libdir_flag_spec_CXX='-L$libdir'
11152 hardcode_libdir_separator_CXX=
11153 fi
11154 esac
11155 shared_flag='-shared'
11156 if test "$aix_use_runtimelinking" = yes; then
11157 shared_flag="$shared_flag "'${wl}-G'
11158 fi
11159 else
11160 # not using gcc
11161 if test "$host_cpu" = ia64; then
11162 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11163 # chokes on -Wl,-G. The following line is correct:
11164 shared_flag='-G'
11165 else
11166 if test "$aix_use_runtimelinking" = yes; then
11167 shared_flag='${wl}-G'
11168 else
11169 shared_flag='${wl}-bM:SRE'
11170 fi
11171 fi
11172 fi
11173
11174 # It seems that -bexpall does not export symbols beginning with
11175 # underscore (_), so it is better to generate a list of symbols to
11176 # export.
11177 always_export_symbols_CXX=yes
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # Warning - without using the other runtime loading flags (-brtl),
11180 # -berok will link without error, but may produce a broken library.
11181 allow_undefined_flag_CXX='-berok'
11182 # Determine the default libpath from the value encoded in an empty
11183 # executable.
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11188 fi
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11195
11196 int
11197 main ()
11198 {
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11207 ac_status=$?
11208 grep -v '^ *+' conftest.er1 >conftest.err
11209 rm -f conftest.er1
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_cxx_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11226
11227 lt_aix_libpath_sed='
11228 /Import File Strings/,/^$/ {
11229 /^0/ {
11230 s/^0 *\(.*\)$/\1/
11231 p
11232 }
11233 }'
11234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11235 # Check for a 64-bit object if we didn't find anything.
11236 if test -z "$aix_libpath"; then
11237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11238 fi
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11242
11243 fi
11244 rm -f conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11247
11248 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11249
11250 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11251 else
11252 if test "$host_cpu" = ia64; then
11253 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11254 allow_undefined_flag_CXX="-z nodefs"
11255 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"
11256 else
11257 # Determine the default libpath from the value encoded in an
11258 # empty executable.
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11263 fi
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270
11271 int
11272 main ()
11273 {
11274
11275 ;
11276 return 0;
11277 }
11278 _ACEOF
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301
11302 lt_aix_libpath_sed='
11303 /Import File Strings/,/^$/ {
11304 /^0/ {
11305 s/^0 *\(.*\)$/\1/
11306 p
11307 }
11308 }'
11309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11310 # Check for a 64-bit object if we didn't find anything.
11311 if test -z "$aix_libpath"; then
11312 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11313 fi
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11317
11318 fi
11319 rm -f conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11322
11323 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11324 # Warning - without using the other run time loading flags,
11325 # -berok will link without error, but may produce a broken library.
11326 no_undefined_flag_CXX=' ${wl}-bernotok'
11327 allow_undefined_flag_CXX=' ${wl}-berok'
11328 # Exported symbols can be pulled into shared objects from archives
11329 whole_archive_flag_spec_CXX='$convenience'
11330 archive_cmds_need_lc_CXX=yes
11331 # This is similar to how AIX traditionally builds its shared
11332 # libraries.
11333 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'
11334 fi
11335 fi
11336 ;;
11337
11338 beos*)
11339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11340 allow_undefined_flag_CXX=unsupported
11341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11342 # support --undefined. This deserves some investigation. FIXME
11343 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 else
11345 ld_shlibs_CXX=no
11346 fi
11347 ;;
11348
11349 chorus*)
11350 case $cc_basename in
11351 *)
11352 # FIXME: insert proper C++ library support
11353 ld_shlibs_CXX=no
11354 ;;
11355 esac
11356 ;;
11357
11358 cygwin* | mingw* | pw32*)
11359 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11360 # as there is no search path for DLLs.
11361 hardcode_libdir_flag_spec_CXX='-L$libdir'
11362 allow_undefined_flag_CXX=unsupported
11363 always_export_symbols_CXX=no
11364 enable_shared_with_static_runtimes_CXX=yes
11365
11366 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11367 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'
11368 # If the export-symbols file already is a .def file (1st line
11369 # is EXPORTS), use it as is; otherwise, prepend...
11370 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11371 cp $export_symbols $output_objdir/$soname.def;
11372 else
11373 echo EXPORTS > $output_objdir/$soname.def;
11374 cat $export_symbols >> $output_objdir/$soname.def;
11375 fi~
11376 $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'
11377 else
11378 ld_shlibs_CXX=no
11379 fi
11380 ;;
11381 darwin* | rhapsody*)
11382 case $host_os in
11383 rhapsody* | darwin1.[012])
11384 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11385 ;;
11386 *) # Darwin 1.3 on
11387 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11388 10.[012])
11389 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11390 ;;
11391 10.*)
11392 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11393 ;;
11394 esac
11395 ;;
11396 esac
11397 archive_cmds_need_lc_CXX=no
11398 hardcode_direct_CXX=no
11399 hardcode_automatic_CXX=yes
11400 hardcode_shlibpath_var_CXX=unsupported
11401 whole_archive_flag_spec_CXX=''
11402 link_all_deplibs_CXX=yes
11403
11404 if test "$GXX" = yes ; then
11405 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 else
11408 lt_cv_apple_cc_single_mod=no
11409 if test -z "${LT_MULTI_MODULE}"; then
11410 # By default we will add the -single_module flag. You can override
11411 # by either setting the environment variable LT_MULTI_MODULE
11412 # non-empty at configure time, or by adding -multi-module to the
11413 # link flags.
11414 echo "int foo(void){return 1;}" > conftest.c
11415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11416 -dynamiclib ${wl}-single_module conftest.c
11417 if test -f libconftest.dylib; then
11418 lt_cv_apple_cc_single_mod=yes
11419 rm libconftest.dylib
11420 fi
11421 rm conftest.$ac_ext
11422 fi
11423 fi
11424
11425 output_verbose_link_cmd=echo
11426 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11427 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11428 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11429 else
11430 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'
11431 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11432 fi
11433 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11434 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11435 else
11436 case $cc_basename in
11437 xlc*)
11438 output_verbose_link_cmd=echo
11439 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11440 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11441 # Don't fix this by using the ld -exported_symbols_list flag,
11442 # it doesn't exist in older darwin lds
11443 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11444 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11445 ;;
11446 *)
11447 ld_shlibs_CXX=no
11448 ;;
11449 esac
11450 fi
11451 ;;
11452
11453 dgux*)
11454 case $cc_basename in
11455 ec++*)
11456 # FIXME: insert proper C++ library support
11457 ld_shlibs_CXX=no
11458 ;;
11459 ghcx*)
11460 # Green Hills C++ Compiler
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11463 ;;
11464 *)
11465 # FIXME: insert proper C++ library support
11466 ld_shlibs_CXX=no
11467 ;;
11468 esac
11469 ;;
11470
11471 freebsd[12]*)
11472 # C++ shared libraries reported to be fairly broken before
11473 # switch to ELF
11474 ld_shlibs_CXX=no
11475 ;;
11476
11477 freebsd-elf*)
11478 archive_cmds_need_lc_CXX=no
11479 ;;
11480
11481 freebsd* | dragonfly*)
11482 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11483 # conventions
11484 ld_shlibs_CXX=yes
11485 ;;
11486
11487 gnu*)
11488 ;;
11489
11490 hpux9*)
11491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11493 export_dynamic_flag_spec_CXX='${wl}-E'
11494 hardcode_direct_CXX=yes
11495 hardcode_minus_L_CXX=yes # Not in the search PATH,
11496 # but as the default
11497 # location of the library.
11498
11499 case $cc_basename in
11500 CC*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11503 ;;
11504 aCC*)
11505 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'
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11509 #
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11513 # dependencies.
11514 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; $ECHO "X$list" | $Xsed'
11515 ;;
11516 *)
11517 if test "$GXX" = yes; then
11518 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'
11519 else
11520 # FIXME: insert proper C++ library support
11521 ld_shlibs_CXX=no
11522 fi
11523 ;;
11524 esac
11525 ;;
11526
11527 hpux10*|hpux11*)
11528 if test $with_gnu_ld = no; then
11529 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11530 hardcode_libdir_separator_CXX=:
11531
11532 case $host_cpu in
11533 hppa*64*|ia64*)
11534 ;;
11535 *)
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11537 ;;
11538 esac
11539 fi
11540 case $host_cpu in
11541 hppa*64*|ia64*)
11542 hardcode_direct_CXX=no
11543 hardcode_shlibpath_var_CXX=no
11544 ;;
11545 *)
11546 hardcode_direct_CXX=yes
11547 hardcode_direct_absolute_CXX=yes
11548 hardcode_minus_L_CXX=yes # Not in the search PATH,
11549 # but as the default
11550 # location of the library.
11551 ;;
11552 esac
11553
11554 case $cc_basename in
11555 CC*)
11556 # FIXME: insert proper C++ library support
11557 ld_shlibs_CXX=no
11558 ;;
11559 aCC*)
11560 case $host_cpu in
11561 hppa*64*)
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11563 ;;
11564 ia64*)
11565 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11566 ;;
11567 *)
11568 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11569 ;;
11570 esac
11571 # Commands to make compiler produce verbose output that lists
11572 # what "hidden" libraries, object files and flags are used when
11573 # linking a shared library.
11574 #
11575 # There doesn't appear to be a way to prevent this compiler from
11576 # explicitly linking system object files so we need to strip them
11577 # from the output so that they don't get included in the library
11578 # dependencies.
11579 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; $ECHO "X$list" | $Xsed'
11580 ;;
11581 *)
11582 if test "$GXX" = yes; then
11583 if test $with_gnu_ld = no; then
11584 case $host_cpu in
11585 hppa*64*)
11586 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11587 ;;
11588 ia64*)
11589 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11590 ;;
11591 *)
11592 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'
11593 ;;
11594 esac
11595 fi
11596 else
11597 # FIXME: insert proper C++ library support
11598 ld_shlibs_CXX=no
11599 fi
11600 ;;
11601 esac
11602 ;;
11603
11604 interix[3-9]*)
11605 hardcode_direct_CXX=no
11606 hardcode_shlibpath_var_CXX=no
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}-E'
11609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11610 # Instead, shared libraries are loaded at an image base (0x10000000 by
11611 # default) and relocated if they conflict, which is a slow very memory
11612 # consuming and fragmenting process. To avoid this, we pick a random,
11613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11615 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'
11616 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'
11617 ;;
11618 irix5* | irix6*)
11619 case $cc_basename in
11620 CC*)
11621 # SGI C++
11622 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11623
11624 # Archives containing C++ object files must be created using
11625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11626 # necessary to make sure instantiated templates are included
11627 # in the archive.
11628 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11629 ;;
11630 *)
11631 if test "$GXX" = yes; then
11632 if test "$with_gnu_ld" = no; then
11633 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11634 else
11635 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11636 fi
11637 fi
11638 link_all_deplibs_CXX=yes
11639 ;;
11640 esac
11641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11642 hardcode_libdir_separator_CXX=:
11643 inherit_rpath_CXX=yes
11644 ;;
11645
11646 linux* | k*bsd*-gnu)
11647 case $cc_basename in
11648 KCC*)
11649 # Kuck and Associates, Inc. (KAI) C++ Compiler
11650
11651 # KCC will only create a shared library if the output file
11652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11653 # to its proper name (with version) after linking.
11654 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'
11655 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'
11656 # Commands to make compiler produce verbose output that lists
11657 # what "hidden" libraries, object files and flags are used when
11658 # linking a shared library.
11659 #
11660 # There doesn't appear to be a way to prevent this compiler from
11661 # explicitly linking system object files so we need to strip them
11662 # from the output so that they don't get included in the library
11663 # dependencies.
11664 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; $ECHO "X$list" | $Xsed'
11665
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11667 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11668
11669 # Archives containing C++ object files must be created using
11670 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11671 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11672 ;;
11673 icpc* | ecpc* )
11674 # Intel C++
11675 with_gnu_ld=yes
11676 # version 8.0 and above of icpc choke on multiply defined symbols
11677 # if we add $predep_objects and $postdep_objects, however 7.1 and
11678 # earlier do not add the objects themselves.
11679 case `$CC -V 2>&1` in
11680 *"Version 7."*)
11681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11682 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'
11683 ;;
11684 *) # Version 8.0 or newer
11685 tmp_idyn=
11686 case $host_cpu in
11687 ia64*) tmp_idyn=' -i_dynamic';;
11688 esac
11689 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11690 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'
11691 ;;
11692 esac
11693 archive_cmds_need_lc_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11696 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11697 ;;
11698 pgCC*)
11699 # Portland Group C++ compiler
11700 case `$CC -V` in
11701 *pgCC\ [1-5]*)
11702 prelink_cmds_CXX='tpldir=Template.dir~
11703 rm -rf $tpldir~
11704 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11705 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11706 old_archive_cmds_CXX='tpldir=Template.dir~
11707 rm -rf $tpldir~
11708 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11709 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11710 $RANLIB $oldlib'
11711 archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11714 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11715 archive_expsym_cmds_CXX='tpldir=Template.dir~
11716 rm -rf $tpldir~
11717 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718 $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'
11719 ;;
11720 *) # Version 6 will use weak symbols
11721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11722 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'
11723 ;;
11724 esac
11725
11726 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11728 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11729 ;;
11730 cxx*)
11731 # Compaq C++
11732 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 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'
11734
11735 runpath_var=LD_RUN_PATH
11736 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11737 hardcode_libdir_separator_CXX=:
11738
11739 # Commands to make compiler produce verbose output that lists
11740 # what "hidden" libraries, object files and flags are used when
11741 # linking a shared library.
11742 #
11743 # There doesn't appear to be a way to prevent this compiler from
11744 # explicitly linking system object files so we need to strip them
11745 # from the output so that they don't get included in the library
11746 # dependencies.
11747 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11748 ;;
11749 *)
11750 case `$CC -V 2>&1 | sed 5q` in
11751 *Sun\ C*)
11752 # Sun C++ 5.9
11753 no_undefined_flag_CXX=' -zdefs'
11754 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755 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'
11756 hardcode_libdir_flag_spec_CXX='-R$libdir'
11757 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11758 compiler_needs_object_CXX=yes
11759
11760 # Not sure whether something based on
11761 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11762 # would be better.
11763 output_verbose_link_cmd='echo'
11764
11765 # Archives containing C++ object files must be created using
11766 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11767 # necessary to make sure instantiated templates are included
11768 # in the archive.
11769 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11770 ;;
11771 esac
11772 ;;
11773 esac
11774 ;;
11775
11776 lynxos*)
11777 # FIXME: insert proper C++ library support
11778 ld_shlibs_CXX=no
11779 ;;
11780
11781 m88k*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11784 ;;
11785
11786 mvs*)
11787 case $cc_basename in
11788 cxx*)
11789 # FIXME: insert proper C++ library support
11790 ld_shlibs_CXX=no
11791 ;;
11792 *)
11793 # FIXME: insert proper C++ library support
11794 ld_shlibs_CXX=no
11795 ;;
11796 esac
11797 ;;
11798
11799 netbsd*)
11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11802 wlarc=
11803 hardcode_libdir_flag_spec_CXX='-R$libdir'
11804 hardcode_direct_CXX=yes
11805 hardcode_shlibpath_var_CXX=no
11806 fi
11807 # Workaround some broken pre-1.5 toolchains
11808 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11809 ;;
11810
11811 *nto* | *qnx*)
11812 ld_shlibs_CXX=yes
11813 ;;
11814
11815 openbsd2*)
11816 # C++ shared libraries are fairly broken
11817 ld_shlibs_CXX=no
11818 ;;
11819
11820 openbsd*)
11821 hardcode_direct_CXX=yes
11822 hardcode_shlibpath_var_CXX=no
11823 hardcode_direct_absolute_CXX=yes
11824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11828 export_dynamic_flag_spec_CXX='${wl}-E'
11829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11830 fi
11831 output_verbose_link_cmd=echo
11832 ;;
11833
11834 osf3* | osf4* | osf5*)
11835 case $cc_basename in
11836 KCC*)
11837 # Kuck and Associates, Inc. (KAI) C++ Compiler
11838
11839 # KCC will only create a shared library if the output file
11840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11841 # to its proper name (with version) after linking.
11842 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'
11843
11844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11845 hardcode_libdir_separator_CXX=:
11846
11847 # Archives containing C++ object files must be created using
11848 # the KAI C++ compiler.
11849 case $host in
11850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11852 esac
11853 ;;
11854 RCC*)
11855 # Rational C++ 2.4.1
11856 # FIXME: insert proper C++ library support
11857 ld_shlibs_CXX=no
11858 ;;
11859 cxx*)
11860 case $host in
11861 osf3*)
11862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11863 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11865 ;;
11866 *)
11867 allow_undefined_flag_CXX=' -expect_unresolved \*'
11868 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11870 echo "-hidden">> $lib.exp~
11871 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11872 $RM $lib.exp'
11873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11874 ;;
11875 esac
11876
11877 hardcode_libdir_separator_CXX=:
11878
11879 # Commands to make compiler produce verbose output that lists
11880 # what "hidden" libraries, object files and flags are used when
11881 # linking a shared library.
11882 #
11883 # There doesn't appear to be a way to prevent this compiler from
11884 # explicitly linking system object files so we need to strip them
11885 # from the output so that they don't get included in the library
11886 # dependencies.
11887 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11888 ;;
11889 *)
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11892 case $host in
11893 osf3*)
11894 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11895 ;;
11896 *)
11897 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11898 ;;
11899 esac
11900
11901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX=:
11903
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11908
11909 else
11910 # FIXME: insert proper C++ library support
11911 ld_shlibs_CXX=no
11912 fi
11913 ;;
11914 esac
11915 ;;
11916
11917 psos*)
11918 # FIXME: insert proper C++ library support
11919 ld_shlibs_CXX=no
11920 ;;
11921
11922 sunos4*)
11923 case $cc_basename in
11924 CC*)
11925 # Sun C++ 4.x
11926 # FIXME: insert proper C++ library support
11927 ld_shlibs_CXX=no
11928 ;;
11929 lcc*)
11930 # Lucid
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11933 ;;
11934 *)
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11937 ;;
11938 esac
11939 ;;
11940
11941 solaris*)
11942 case $cc_basename in
11943 CC*)
11944 # Sun C++ 4.2, 5.x and Centerline C++
11945 archive_cmds_need_lc_CXX=yes
11946 no_undefined_flag_CXX=' -zdefs'
11947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11949 $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'
11950
11951 hardcode_libdir_flag_spec_CXX='-R$libdir'
11952 hardcode_shlibpath_var_CXX=no
11953 case $host_os in
11954 solaris2.[0-5] | solaris2.[0-5].*) ;;
11955 *)
11956 # The compiler driver will combine and reorder linker options,
11957 # but understands `-z linker_flag'.
11958 # Supported since Solaris 2.6 (maybe 2.5.1?)
11959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11960 ;;
11961 esac
11962 link_all_deplibs_CXX=yes
11963
11964 output_verbose_link_cmd='echo'
11965
11966 # Archives containing C++ object files must be created using
11967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11968 # necessary to make sure instantiated templates are included
11969 # in the archive.
11970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11971 ;;
11972 gcx*)
11973 # Green Hills C++ Compiler
11974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11975
11976 # The C++ compiler must be used to create the archive.
11977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11978 ;;
11979 *)
11980 # GNU C++ compiler with Solaris linker
11981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11984 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11987
11988 # Commands to make compiler produce verbose output that lists
11989 # what "hidden" libraries, object files and flags are used when
11990 # linking a shared library.
11991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11992 else
11993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11994 # platform.
11995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11998
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12003 fi
12004
12005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12006 case $host_os in
12007 solaris2.[0-5] | solaris2.[0-5].*) ;;
12008 *)
12009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12010 ;;
12011 esac
12012 fi
12013 ;;
12014 esac
12015 ;;
12016
12017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12018 no_undefined_flag_CXX='${wl}-z,text'
12019 archive_cmds_need_lc_CXX=no
12020 hardcode_shlibpath_var_CXX=no
12021 runpath_var='LD_RUN_PATH'
12022
12023 case $cc_basename in
12024 CC*)
12025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12027 ;;
12028 *)
12029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12031 ;;
12032 esac
12033 ;;
12034
12035 sysv5* | sco3.2v5* | sco5v6*)
12036 # Note: We can NOT use -z defs as we might desire, because we do not
12037 # link with -lc, and that would cause any symbols used from libc to
12038 # always be unresolved, which means just about no library would
12039 # ever link correctly. If we're not using GNU ld we use -z text
12040 # though, which does catch some bad symbols but isn't as heavy-handed
12041 # as -z defs.
12042 no_undefined_flag_CXX='${wl}-z,text'
12043 allow_undefined_flag_CXX='${wl}-z,nodefs'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12047 hardcode_libdir_separator_CXX=':'
12048 link_all_deplibs_CXX=yes
12049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12050 runpath_var='LD_RUN_PATH'
12051
12052 case $cc_basename in
12053 CC*)
12054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12056 ;;
12057 *)
12058 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12060 ;;
12061 esac
12062 ;;
12063
12064 tandem*)
12065 case $cc_basename in
12066 NCC*)
12067 # NonStop-UX NCC 3.20
12068 # FIXME: insert proper C++ library support
12069 ld_shlibs_CXX=no
12070 ;;
12071 *)
12072 # FIXME: insert proper C++ library support
12073 ld_shlibs_CXX=no
12074 ;;
12075 esac
12076 ;;
12077
12078 vxworks*)
12079 # FIXME: insert proper C++ library support
12080 ld_shlibs_CXX=no
12081 ;;
12082
12083 *)
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12086 ;;
12087 esac
12088
12089 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12090 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12091 test "$ld_shlibs_CXX" = no && can_build_shared=no
12092
12093 GCC_CXX="$GXX"
12094 LD_CXX="$LD"
12095
12096 ## CAVEAT EMPTOR:
12097 ## There is no encapsulation within the following macros, do not change
12098 ## the running order or otherwise move them around unless you know exactly
12099 ## what you are doing...
12100 # Dependencies to place before and after the object being linked:
12101 predep_objects_CXX=
12102 postdep_objects_CXX=
12103 predeps_CXX=
12104 postdeps_CXX=
12105 compiler_lib_search_path_CXX=
12106
12107 cat > conftest.$ac_ext <<_LT_EOF
12108 class Foo
12109 {
12110 public:
12111 Foo (void) { a = 0; }
12112 private:
12113 int a;
12114 };
12115 _LT_EOF
12116
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; then
12122 # Parse the compiler output and extract the necessary
12123 # objects, libraries and library flags.
12124
12125 # Sentinel used to keep track of whether or not we are before
12126 # the conftest object file.
12127 pre_test_object_deps_done=no
12128
12129 # The `*' in the case matches for architectures that use `case' in
12130 # $output_verbose_cmd can trigger glob expansion during the loop
12131 # eval without this substitution.
12132 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12133
12134 for p in `eval $output_verbose_link_cmd`; do
12135 case $p in
12136
12137 -L* | -R* | -l*)
12138 # Some compilers place space between "-{L,R}" and the path.
12139 # Remove the space.
12140 if test $p = "-L" ||
12141 test $p = "-R"; then
12142 prev=$p
12143 continue
12144 else
12145 prev=
12146 fi
12147
12148 if test "$pre_test_object_deps_done" = no; then
12149 case $p in
12150 -L* | -R*)
12151 # Internal compiler library paths should come after those
12152 # provided the user. The postdeps already come after the
12153 # user supplied libs so there is no need to process them.
12154 if test -z "$compiler_lib_search_path_CXX"; then
12155 compiler_lib_search_path_CXX="${prev}${p}"
12156 else
12157 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12158 fi
12159 ;;
12160 # The "-l" case would never come before the object being
12161 # linked, so don't bother handling this case.
12162 esac
12163 else
12164 if test -z "$postdeps_CXX"; then
12165 postdeps_CXX="${prev}${p}"
12166 else
12167 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12168 fi
12169 fi
12170 ;;
12171
12172 *.$objext)
12173 # This assumes that the test object file only shows up
12174 # once in the compiler output.
12175 if test "$p" = "conftest.$objext"; then
12176 pre_test_object_deps_done=yes
12177 continue
12178 fi
12179
12180 if test "$pre_test_object_deps_done" = no; then
12181 if test -z "$predep_objects_CXX"; then
12182 predep_objects_CXX="$p"
12183 else
12184 predep_objects_CXX="$predep_objects_CXX $p"
12185 fi
12186 else
12187 if test -z "$postdep_objects_CXX"; then
12188 postdep_objects_CXX="$p"
12189 else
12190 postdep_objects_CXX="$postdep_objects_CXX $p"
12191 fi
12192 fi
12193 ;;
12194
12195 *) ;; # Ignore the rest.
12196
12197 esac
12198 done
12199
12200 # Clean up.
12201 rm -f a.out a.exe
12202 else
12203 echo "libtool.m4: error: problem compiling CXX test program"
12204 fi
12205
12206 $RM -f confest.$objext
12207
12208 # PORTME: override above test on systems where it is broken
12209 case $host_os in
12210 interix[3-9]*)
12211 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12212 # hack all around it, let's just trust "g++" to DTRT.
12213 predep_objects_CXX=
12214 postdep_objects_CXX=
12215 postdeps_CXX=
12216 ;;
12217
12218 linux*)
12219 case `$CC -V 2>&1 | sed 5q` in
12220 *Sun\ C*)
12221 # Sun C++ 5.9
12222
12223 # The more standards-conforming stlport4 library is
12224 # incompatible with the Cstd library. Avoid specifying
12225 # it if it's in CXXFLAGS. Ignore libCrun as
12226 # -library=stlport4 depends on it.
12227 case " $CXX $CXXFLAGS " in
12228 *" -library=stlport4 "*)
12229 solaris_use_stlport4=yes
12230 ;;
12231 esac
12232
12233 if test "$solaris_use_stlport4" != yes; then
12234 postdeps_CXX='-library=Cstd -library=Crun'
12235 fi
12236 ;;
12237 esac
12238 ;;
12239
12240 solaris*)
12241 case $cc_basename in
12242 CC*)
12243 # The more standards-conforming stlport4 library is
12244 # incompatible with the Cstd library. Avoid specifying
12245 # it if it's in CXXFLAGS. Ignore libCrun as
12246 # -library=stlport4 depends on it.
12247 case " $CXX $CXXFLAGS " in
12248 *" -library=stlport4 "*)
12249 solaris_use_stlport4=yes
12250 ;;
12251 esac
12252
12253 # Adding this requires a known-good setup of shared libraries for
12254 # Sun compiler versions before 5.6, else PIC objects from an old
12255 # archive will be linked into the output, leading to subtle bugs.
12256 if test "$solaris_use_stlport4" != yes; then
12257 postdeps_CXX='-library=Cstd -library=Crun'
12258 fi
12259 ;;
12260 esac
12261 ;;
12262 esac
12263
12264
12265 case " $postdeps_CXX " in
12266 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12267 esac
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294 lt_prog_compiler_wl_CXX=
12295 lt_prog_compiler_pic_CXX=
12296 lt_prog_compiler_static_CXX=
12297
12298 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12300
12301 # C++ specific cases for pic, static, wl, etc.
12302 if test "$GXX" = yes; then
12303 lt_prog_compiler_wl_CXX='-Wl,'
12304 lt_prog_compiler_static_CXX='-static'
12305
12306 case $host_os in
12307 aix*)
12308 # All AIX code is PIC.
12309 if test "$host_cpu" = ia64; then
12310 # AIX 5 now supports IA64 processor
12311 lt_prog_compiler_static_CXX='-Bstatic'
12312 fi
12313 ;;
12314 amigaos*)
12315 if test "$host_cpu" = m68k; then
12316 # FIXME: we need at least 68020 code to build shared libraries, but
12317 # adding the `-m68020' flag to GCC prevents building anything better,
12318 # like `-m68040'.
12319 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12320 fi
12321 ;;
12322 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12323 # PIC is the default for these OSes.
12324 ;;
12325 mingw* | cygwin* | os2* | pw32*)
12326 # This hack is so that the source file can tell whether it is being
12327 # built for inclusion in a dll (and should export symbols for example).
12328 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12329 # (--disable-auto-import) libraries
12330 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12331 ;;
12332 darwin* | rhapsody*)
12333 # PIC is the default on this platform
12334 # Common symbols not allowed in MH_DYLIB files
12335 lt_prog_compiler_pic_CXX='-fno-common'
12336 ;;
12337 *djgpp*)
12338 # DJGPP does not support shared libraries at all
12339 lt_prog_compiler_pic_CXX=
12340 ;;
12341 interix[3-9]*)
12342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12343 # Instead, we relocate shared libraries at runtime.
12344 ;;
12345 sysv4*MP*)
12346 if test -d /usr/nec; then
12347 lt_prog_compiler_pic_CXX=-Kconform_pic
12348 fi
12349 ;;
12350 hpux*)
12351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12352 # not for PA HP-UX.
12353 case $host_cpu in
12354 hppa*64*|ia64*)
12355 ;;
12356 *)
12357 lt_prog_compiler_pic_CXX='-fPIC'
12358 ;;
12359 esac
12360 ;;
12361 *qnx* | *nto*)
12362 # QNX uses GNU C++, but need to define -shared option too, otherwise
12363 # it will coredump.
12364 lt_prog_compiler_pic_CXX='-fPIC -shared'
12365 ;;
12366 *)
12367 lt_prog_compiler_pic_CXX='-fPIC'
12368 ;;
12369 esac
12370 else
12371 case $host_os in
12372 aix4* | aix5*)
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX='-Bstatic'
12377 else
12378 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12379 fi
12380 ;;
12381 chorus*)
12382 case $cc_basename in
12383 cxch68*)
12384 # Green Hills C++ Compiler
12385 # _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"
12386 ;;
12387 esac
12388 ;;
12389 darwin*)
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12393 xlc*)
12394 lt_prog_compiler_pic_CXX='-qnocommon'
12395 lt_prog_compiler_wl_CXX='-Wl,'
12396 ;;
12397 esac
12398 ;;
12399 dgux*)
12400 case $cc_basename in
12401 ec++*)
12402 lt_prog_compiler_pic_CXX='-KPIC'
12403 ;;
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX='-pic'
12407 ;;
12408 *)
12409 ;;
12410 esac
12411 ;;
12412 freebsd* | dragonfly*)
12413 # FreeBSD uses GNU C++
12414 ;;
12415 hpux9* | hpux10* | hpux11*)
12416 case $cc_basename in
12417 CC*)
12418 lt_prog_compiler_wl_CXX='-Wl,'
12419 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64; then
12421 lt_prog_compiler_pic_CXX='+Z'
12422 fi
12423 ;;
12424 aCC*)
12425 lt_prog_compiler_wl_CXX='-Wl,'
12426 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12427 case $host_cpu in
12428 hppa*64*|ia64*)
12429 # +Z the default
12430 ;;
12431 *)
12432 lt_prog_compiler_pic_CXX='+Z'
12433 ;;
12434 esac
12435 ;;
12436 *)
12437 ;;
12438 esac
12439 ;;
12440 interix*)
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12443 ;;
12444 irix5* | irix6* | nonstopux*)
12445 case $cc_basename in
12446 CC*)
12447 lt_prog_compiler_wl_CXX='-Wl,'
12448 lt_prog_compiler_static_CXX='-non_shared'
12449 # CC pic flag -KPIC is the default.
12450 ;;
12451 *)
12452 ;;
12453 esac
12454 ;;
12455 linux* | k*bsd*-gnu)
12456 case $cc_basename in
12457 KCC*)
12458 # KAI C++ Compiler
12459 lt_prog_compiler_wl_CXX='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX='-fPIC'
12461 ;;
12462 icpc* | ecpc* )
12463 # Intel C++
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-KPIC'
12466 lt_prog_compiler_static_CXX='-static'
12467 ;;
12468 pgCC*)
12469 # Portland Group C++ compiler
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_pic_CXX='-fpic'
12472 lt_prog_compiler_static_CXX='-Bstatic'
12473 ;;
12474 cxx*)
12475 # Compaq C++
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX=
12479 lt_prog_compiler_static_CXX='-non_shared'
12480 ;;
12481 *)
12482 case `$CC -V 2>&1 | sed 5q` in
12483 *Sun\ C*)
12484 # Sun C++ 5.9
12485 lt_prog_compiler_pic_CXX='-KPIC'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12487 lt_prog_compiler_wl_CXX='-Qoption ld '
12488 ;;
12489 esac
12490 ;;
12491 esac
12492 ;;
12493 lynxos*)
12494 ;;
12495 m88k*)
12496 ;;
12497 mvs*)
12498 case $cc_basename in
12499 cxx*)
12500 lt_prog_compiler_pic_CXX='-W c,exportall'
12501 ;;
12502 *)
12503 ;;
12504 esac
12505 ;;
12506 netbsd*)
12507 ;;
12508 *qnx* | *nto*)
12509 # QNX uses GNU C++, but need to define -shared option too, otherwise
12510 # it will coredump.
12511 lt_prog_compiler_pic_CXX='-fPIC -shared'
12512 ;;
12513 osf3* | osf4* | osf5*)
12514 case $cc_basename in
12515 KCC*)
12516 lt_prog_compiler_wl_CXX='--backend -Wl,'
12517 ;;
12518 RCC*)
12519 # Rational C++ 2.4.1
12520 lt_prog_compiler_pic_CXX='-pic'
12521 ;;
12522 cxx*)
12523 # Digital/Compaq C++
12524 lt_prog_compiler_wl_CXX='-Wl,'
12525 # Make sure the PIC flag is empty. It appears that all Alpha
12526 # Linux and Compaq Tru64 Unix objects are PIC.
12527 lt_prog_compiler_pic_CXX=
12528 lt_prog_compiler_static_CXX='-non_shared'
12529 ;;
12530 *)
12531 ;;
12532 esac
12533 ;;
12534 psos*)
12535 ;;
12536 solaris*)
12537 case $cc_basename in
12538 CC*)
12539 # Sun C++ 4.2, 5.x and Centerline C++
12540 lt_prog_compiler_pic_CXX='-KPIC'
12541 lt_prog_compiler_static_CXX='-Bstatic'
12542 lt_prog_compiler_wl_CXX='-Qoption ld '
12543 ;;
12544 gcx*)
12545 # Green Hills C++ Compiler
12546 lt_prog_compiler_pic_CXX='-PIC'
12547 ;;
12548 *)
12549 ;;
12550 esac
12551 ;;
12552 sunos4*)
12553 case $cc_basename in
12554 CC*)
12555 # Sun C++ 4.x
12556 lt_prog_compiler_pic_CXX='-pic'
12557 lt_prog_compiler_static_CXX='-Bstatic'
12558 ;;
12559 lcc*)
12560 # Lucid
12561 lt_prog_compiler_pic_CXX='-pic'
12562 ;;
12563 *)
12564 ;;
12565 esac
12566 ;;
12567 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12568 case $cc_basename in
12569 CC*)
12570 lt_prog_compiler_wl_CXX='-Wl,'
12571 lt_prog_compiler_pic_CXX='-KPIC'
12572 lt_prog_compiler_static_CXX='-Bstatic'
12573 ;;
12574 esac
12575 ;;
12576 tandem*)
12577 case $cc_basename in
12578 NCC*)
12579 # NonStop-UX NCC 3.20
12580 lt_prog_compiler_pic_CXX='-KPIC'
12581 ;;
12582 *)
12583 ;;
12584 esac
12585 ;;
12586 vxworks*)
12587 ;;
12588 *)
12589 lt_prog_compiler_can_build_shared_CXX=no
12590 ;;
12591 esac
12592 fi
12593
12594 case $host_os in
12595 # For platforms which do not support PIC, -DPIC is meaningless:
12596 *djgpp*)
12597 lt_prog_compiler_pic_CXX=
12598 ;;
12599 *)
12600 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12601 ;;
12602 esac
12603 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12604 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12605
12606
12607
12608 #
12609 # Check to make sure the PIC flag actually works.
12610 #
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12614 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 lt_prog_compiler_pic_works_CXX=no
12618 ac_outfile=conftest.$ac_objext
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12621 # Insert the option either (1) after the last *FLAGS variable, or
12622 # (2) before a word containing "conftest.", or (3) at the end.
12623 # Note that $ac_compile itself does not contain backslashes and begins
12624 # with a dollar sign (not a hyphen), so the echo should work correctly.
12625 # The option is referenced via a variable to avoid confusing sed.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>conftest.err)
12632 ac_status=$?
12633 cat conftest.err >&5
12634 echo "$as_me:12634: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s "$ac_outfile"; then
12636 # The compiler can only warn and ignore the option if not recognized
12637 # So say no if there are warnings other than the usual output.
12638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12641 lt_prog_compiler_pic_works_CXX=yes
12642 fi
12643 fi
12644 $RM conftest*
12645
12646 fi
12647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12649
12650 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12651 case $lt_prog_compiler_pic_CXX in
12652 "" | " "*) ;;
12653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12654 esac
12655 else
12656 lt_prog_compiler_pic_CXX=
12657 lt_prog_compiler_can_build_shared_CXX=no
12658 fi
12659
12660 fi
12661
12662
12663
12664 #
12665 # Check to make sure the static flag actually works.
12666 #
12667 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12668 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12669 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12670 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else
12673 lt_prog_compiler_static_works_CXX=no
12674 save_LDFLAGS="$LDFLAGS"
12675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12678 # The linker can only warn and ignore the option if not recognized
12679 # So say no if there are warnings
12680 if test -s conftest.err; then
12681 # Append any errors to the config.log.
12682 cat conftest.err 1>&5
12683 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_static_works_CXX=yes
12687 fi
12688 else
12689 lt_prog_compiler_static_works_CXX=yes
12690 fi
12691 fi
12692 $RM conftest*
12693 LDFLAGS="$save_LDFLAGS"
12694
12695 fi
12696 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12697 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12698
12699 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12700 :
12701 else
12702 lt_prog_compiler_static_CXX=
12703 fi
12704
12705
12706
12707
12708 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12709 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 lt_cv_prog_compiler_c_o_CXX=no
12714 $RM -r conftest 2>/dev/null
12715 mkdir conftest
12716 cd conftest
12717 mkdir out
12718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12719
12720 lt_compiler_flag="-o out/conftest2.$ac_objext"
12721 # Insert the option either (1) after the last *FLAGS variable, or
12722 # (2) before a word containing "conftest.", or (3) at the end.
12723 # Note that $ac_compile itself does not contain backslashes and begins
12724 # with a dollar sign (not a hyphen), so the echo should work correctly.
12725 lt_compile=`echo "$ac_compile" | $SED \
12726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12728 -e 's:$: $lt_compiler_flag:'`
12729 (eval echo "\"\$as_me:12729: $lt_compile\"" >&5)
12730 (eval "$lt_compile" 2>out/conftest.err)
12731 ac_status=$?
12732 cat out/conftest.err >&5
12733 echo "$as_me:12733: \$? = $ac_status" >&5
12734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12735 then
12736 # The compiler can only warn and ignore the option if not recognized
12737 # So say no if there are warnings
12738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12741 lt_cv_prog_compiler_c_o_CXX=yes
12742 fi
12743 fi
12744 chmod u+w . 2>&5
12745 $RM conftest*
12746 # SGI C++ compiler will create directory out/ii_files/ for
12747 # template instantiation
12748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12749 $RM out/* && rmdir out
12750 cd ..
12751 $RM -r conftest
12752 $RM conftest*
12753
12754 fi
12755 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12756 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12757
12758
12759
12760 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12761 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12762 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 lt_cv_prog_compiler_c_o_CXX=no
12766 $RM -r conftest 2>/dev/null
12767 mkdir conftest
12768 cd conftest
12769 mkdir out
12770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12771
12772 lt_compiler_flag="-o out/conftest2.$ac_objext"
12773 # Insert the option either (1) after the last *FLAGS variable, or
12774 # (2) before a word containing "conftest.", or (3) at the end.
12775 # Note that $ac_compile itself does not contain backslashes and begins
12776 # with a dollar sign (not a hyphen), so the echo should work correctly.
12777 lt_compile=`echo "$ac_compile" | $SED \
12778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12780 -e 's:$: $lt_compiler_flag:'`
12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
12782 (eval "$lt_compile" 2>out/conftest.err)
12783 ac_status=$?
12784 cat out/conftest.err >&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12787 then
12788 # The compiler can only warn and ignore the option if not recognized
12789 # So say no if there are warnings
12790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12793 lt_cv_prog_compiler_c_o_CXX=yes
12794 fi
12795 fi
12796 chmod u+w . 2>&5
12797 $RM conftest*
12798 # SGI C++ compiler will create directory out/ii_files/ for
12799 # template instantiation
12800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12801 $RM out/* && rmdir out
12802 cd ..
12803 $RM -r conftest
12804 $RM conftest*
12805
12806 fi
12807 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12809
12810
12811
12812
12813 hard_links="nottested"
12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12815 # do not overwrite the value of need_locks provided by the user
12816 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12818 hard_links=yes
12819 $RM conftest*
12820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12821 touch conftest.a
12822 ln conftest.a conftest.b 2>&5 || hard_links=no
12823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12824 echo "$as_me:$LINENO: result: $hard_links" >&5
12825 echo "${ECHO_T}$hard_links" >&6
12826 if test "$hard_links" = no; then
12827 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12829 need_locks=warn
12830 fi
12831 else
12832 need_locks=no
12833 fi
12834
12835
12836
12837 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12838 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12839
12840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12841 case $host_os in
12842 aix4* | aix5*)
12843 # If we're using GNU nm, then we don't want the "-C" option.
12844 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12845 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12846 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12847 else
12848 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'
12849 fi
12850 ;;
12851 pw32*)
12852 export_symbols_cmds_CXX="$ltdll_cmds"
12853 ;;
12854 cygwin* | mingw*)
12855 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'
12856 ;;
12857 *)
12858 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12859 ;;
12860 esac
12861
12862 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12863 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12864 test "$ld_shlibs_CXX" = no && can_build_shared=no
12865
12866 with_gnu_ld_CXX=$with_gnu_ld
12867
12868
12869
12870
12871
12872
12873 #
12874 # Do we need to explicitly link libc?
12875 #
12876 case "x$archive_cmds_need_lc_CXX" in
12877 x|xyes)
12878 # Assume -lc should be added
12879 archive_cmds_need_lc_CXX=yes
12880
12881 if test "$enable_shared" = yes && test "$GCC" = yes; then
12882 case $archive_cmds_CXX in
12883 *'~'*)
12884 # FIXME: we may have to deal with multi-command sequences.
12885 ;;
12886 '$CC '*)
12887 # Test whether the compiler implicitly links with -lc since on some
12888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12889 # to ld, don't add -lc before -lgcc.
12890 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12891 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12892 $RM conftest*
12893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12894
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } 2>conftest.err; then
12900 soname=conftest
12901 lib=conftest
12902 libobjs=conftest.$ac_objext
12903 deplibs=
12904 wl=$lt_prog_compiler_wl_CXX
12905 pic_flag=$lt_prog_compiler_pic_CXX
12906 compiler_flags=-v
12907 linker_flags=-v
12908 verstring=
12909 output_objdir=.
12910 libname=conftest
12911 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12912 allow_undefined_flag_CXX=
12913 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12914 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }
12918 then
12919 archive_cmds_need_lc_CXX=no
12920 else
12921 archive_cmds_need_lc_CXX=yes
12922 fi
12923 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12924 else
12925 cat conftest.err 1>&5
12926 fi
12927 $RM conftest*
12928 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12929 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12930 ;;
12931 esac
12932 fi
12933 ;;
12934 esac
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 withGCC=$GXX
13002 library_names_spec=
13003 libname_spec='lib$name'
13004 soname_spec=
13005 shrext_cmds=".so"
13006 postinstall_cmds=
13007 postuninstall_cmds=
13008 finish_cmds=
13009 finish_eval=
13010 shlibpath_var=
13011 shlibpath_overrides_runpath=unknown
13012 version_type=none
13013 dynamic_linker="$host_os ld.so"
13014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13015 need_lib_prefix=unknown
13016 hardcode_into_libs=no
13017
13018 # when you set need_version to no, make sure it does not cause -set_version
13019 # flags to be left without arguments
13020 need_version=unknown
13021
13022 case $host_os in
13023 aix3*)
13024 version_type=linux
13025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13026 shlibpath_var=LIBPATH
13027
13028 # AIX 3 has no versioning support, so we append a major version to the name.
13029 soname_spec='${libname}${release}${shared_ext}$major'
13030 ;;
13031
13032 aix4* | aix5*)
13033 version_type=linux
13034 need_lib_prefix=no
13035 need_version=no
13036 hardcode_into_libs=yes
13037 if test "$host_cpu" = ia64; then
13038 # AIX 5 supports IA64
13039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else
13042 # With GCC up to 2.95.x, collect2 would create an import file
13043 # for dependence libraries. The import file would start with
13044 # the line `#! .'. This would cause the generated library to
13045 # depend on `.', always an invalid library. This was fixed in
13046 # development snapshots of GCC prior to 3.0.
13047 case $host_os in
13048 aix4 | aix4.[01] | aix4.[01].*)
13049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13050 echo ' yes '
13051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13052 :
13053 else
13054 can_build_shared=no
13055 fi
13056 ;;
13057 esac
13058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13059 # soname into executable. Probably we can add versioning support to
13060 # collect2, so additional links can be useful in future.
13061 if test "$aix_use_runtimelinking" = yes; then
13062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13063 # instead of lib<name>.a to let people know that these are not
13064 # typical AIX shared libraries.
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 else
13067 # We preserve .a as extension for shared libraries through AIX4.2
13068 # and later when we are not doing run time linking.
13069 library_names_spec='${libname}${release}.a $libname.a'
13070 soname_spec='${libname}${release}${shared_ext}$major'
13071 fi
13072 shlibpath_var=LIBPATH
13073 fi
13074 ;;
13075
13076 amigaos*)
13077 if test "$host_cpu" = m68k; then
13078 library_names_spec='$libname.ixlibrary $libname.a'
13079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13080 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
13081 else
13082 dynamic_linker=no
13083 fi
13084 ;;
13085
13086 beos*)
13087 library_names_spec='${libname}${shared_ext}'
13088 dynamic_linker="$host_os ld.so"
13089 shlibpath_var=LIBRARY_PATH
13090 ;;
13091
13092 bsdi[45]*)
13093 version_type=linux
13094 need_version=no
13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 soname_spec='${libname}${release}${shared_ext}$major'
13097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13098 shlibpath_var=LD_LIBRARY_PATH
13099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13101 # the default ld.so.conf also contains /usr/contrib/lib and
13102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13103 # libtool to hard-code these into programs
13104 ;;
13105
13106 cygwin* | mingw* | pw32*)
13107 version_type=windows
13108 shrext_cmds=".dll"
13109 need_version=no
13110 need_lib_prefix=no
13111
13112 case $withGCC,$host_os in
13113 yes,cygwin* | yes,mingw* | yes,pw32*)
13114 library_names_spec='$libname.dll.a'
13115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13116 postinstall_cmds='base_file=`basename \${file}`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 test -d \$dldir || mkdir -p \$dldir~
13120 $install_prog $dir/$dlname \$dldir/$dlname~
13121 chmod a+x \$dldir/$dlname~
13122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13124 fi'
13125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13126 dlpath=$dir/\$dldll~
13127 $RM \$dlpath'
13128 shlibpath_overrides_runpath=yes
13129
13130 case $host_os in
13131 cygwin*)
13132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13135 ;;
13136 mingw*)
13137 # MinGW DLLs use traditional 'lib' prefix
13138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13141 # It is most probably a Windows format PATH printed by
13142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13143 # path with ; separators, and with drive letters. We can handle the
13144 # drive letters (cygwin fileutils understands them), so leave them,
13145 # especially as we might pass files found there to a mingw objdump,
13146 # which wouldn't understand a cygwinified path. Ahh.
13147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13148 else
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13150 fi
13151 ;;
13152 pw32*)
13153 # pw32 DLLs use 'pw' prefix rather than 'lib'
13154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13155 ;;
13156 esac
13157 ;;
13158
13159 *)
13160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13161 ;;
13162 esac
13163 dynamic_linker='Win32 ld.exe'
13164 # FIXME: first we should search . and the directory the executable is in
13165 shlibpath_var=PATH
13166 ;;
13167
13168 darwin* | rhapsody*)
13169 dynamic_linker="$host_os dyld"
13170 version_type=darwin
13171 need_lib_prefix=no
13172 need_version=no
13173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13174 soname_spec='${libname}${release}${major}$shared_ext'
13175 shlibpath_overrides_runpath=yes
13176 shlibpath_var=DYLD_LIBRARY_PATH
13177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13178
13179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13180 ;;
13181
13182 dgux*)
13183 version_type=linux
13184 need_lib_prefix=no
13185 need_version=no
13186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13187 soname_spec='${libname}${release}${shared_ext}$major'
13188 shlibpath_var=LD_LIBRARY_PATH
13189 ;;
13190
13191 freebsd1*)
13192 dynamic_linker=no
13193 ;;
13194
13195 freebsd* | dragonfly*)
13196 # DragonFly does not have aout. When/if they implement a new
13197 # versioning mechanism, adjust this.
13198 if test -x /usr/bin/objformat; then
13199 objformat=`/usr/bin/objformat`
13200 else
13201 case $host_os in
13202 freebsd[123]*) objformat=aout ;;
13203 *) objformat=elf ;;
13204 esac
13205 fi
13206 version_type=freebsd-$objformat
13207 case $version_type in
13208 freebsd-elf*)
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 need_version=no
13211 need_lib_prefix=no
13212 ;;
13213 freebsd-*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13215 need_version=yes
13216 ;;
13217 esac
13218 shlibpath_var=LD_LIBRARY_PATH
13219 case $host_os in
13220 freebsd2*)
13221 shlibpath_overrides_runpath=yes
13222 ;;
13223 freebsd3.[01]* | freebsdelf3.[01]*)
13224 shlibpath_overrides_runpath=yes
13225 hardcode_into_libs=yes
13226 ;;
13227 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13228 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13231 ;;
13232 *) # from 4.6 on, and DragonFly
13233 shlibpath_overrides_runpath=yes
13234 hardcode_into_libs=yes
13235 ;;
13236 esac
13237 ;;
13238
13239 gnu*)
13240 version_type=linux
13241 need_lib_prefix=no
13242 need_version=no
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13244 soname_spec='${libname}${release}${shared_ext}$major'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 hardcode_into_libs=yes
13247 ;;
13248
13249 hpux9* | hpux10* | hpux11*)
13250 # Give a soname corresponding to the major version so that dld.sl refuses to
13251 # link against other versions.
13252 version_type=sunos
13253 need_lib_prefix=no
13254 need_version=no
13255 case $host_cpu in
13256 ia64*)
13257 shrext_cmds='.so'
13258 hardcode_into_libs=yes
13259 dynamic_linker="$host_os dld.so"
13260 shlibpath_var=LD_LIBRARY_PATH
13261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 if test "X$HPUX_IA64_MODE" = X32; then
13265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13266 else
13267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13268 fi
13269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13270 ;;
13271 hppa*64*)
13272 shrext_cmds='.sl'
13273 hardcode_into_libs=yes
13274 dynamic_linker="$host_os dld.sl"
13275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13278 soname_spec='${libname}${release}${shared_ext}$major'
13279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13281 ;;
13282 *)
13283 shrext_cmds='.sl'
13284 dynamic_linker="$host_os dld.sl"
13285 shlibpath_var=SHLIB_PATH
13286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13289 ;;
13290 esac
13291 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13292 postinstall_cmds='chmod 555 $lib'
13293 ;;
13294
13295 interix[3-9]*)
13296 version_type=linux
13297 need_lib_prefix=no
13298 need_version=no
13299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13300 soname_spec='${libname}${release}${shared_ext}$major'
13301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13302 shlibpath_var=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath=no
13304 hardcode_into_libs=yes
13305 ;;
13306
13307 irix5* | irix6* | nonstopux*)
13308 case $host_os in
13309 nonstopux*) version_type=nonstopux ;;
13310 *)
13311 if test "$lt_cv_prog_gnu_ld" = yes; then
13312 version_type=linux
13313 else
13314 version_type=irix
13315 fi ;;
13316 esac
13317 need_lib_prefix=no
13318 need_version=no
13319 soname_spec='${libname}${release}${shared_ext}$major'
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 case $host_os in
13322 irix5* | nonstopux*)
13323 libsuff= shlibsuff=
13324 ;;
13325 *)
13326 case $LD in # libtool.m4 will add one of these switches to LD
13327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13328 libsuff= shlibsuff= libmagic=32-bit;;
13329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13330 libsuff=32 shlibsuff=N32 libmagic=N32;;
13331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13333 *) libsuff= shlibsuff= libmagic=never-match;;
13334 esac
13335 ;;
13336 esac
13337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13338 shlibpath_overrides_runpath=no
13339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13341 hardcode_into_libs=yes
13342 ;;
13343
13344 # No shared lib support for Linux oldld, aout, or coff.
13345 linux*oldld* | linux*aout* | linux*coff*)
13346 dynamic_linker=no
13347 ;;
13348
13349 # This must be Linux ELF.
13350 linux* | k*bsd*-gnu)
13351 version_type=linux
13352 need_lib_prefix=no
13353 need_version=no
13354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355 soname_spec='${libname}${release}${shared_ext}$major'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 save_LDFLAGS=$LDFLAGS
13361 save_libdir=$libdir
13362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13368 fi
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375
13376 int
13377 main ()
13378 {
13379
13380 ;
13381 return 0;
13382 }
13383 _ACEOF
13384 rm -f conftest.$ac_objext conftest$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_cxx_werror_flag"
13394 || test ! -s conftest.err'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; } &&
13400 { ac_try='test -s conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13407 shlibpath_overrides_runpath=yes
13408 fi
13409
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13413
13414 fi
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LDFLAGS=$save_LDFLAGS
13418 libdir=$save_libdir
13419
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs=yes
13424
13425 # Append ld.so.conf contents to the search path
13426 if test -f /etc/ld.so.conf; then
13427 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13428 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13429 fi
13430
13431 # We used to test for /lib/ld.so.1 and disable shared libraries on
13432 # powerpc, because MkLinux only supported shared libraries with the
13433 # GNU dynamic linker. Since this was broken with cross compilers,
13434 # most powerpc-linux boxes support dynamic linking these days and
13435 # people can always --disable-shared, the test was removed, and we
13436 # assume the GNU/Linux dynamic linker is in use.
13437 dynamic_linker='GNU/Linux ld.so'
13438 ;;
13439
13440 netbsd*)
13441 version_type=sunos
13442 need_lib_prefix=no
13443 need_version=no
13444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13447 dynamic_linker='NetBSD (a.out) ld.so'
13448 else
13449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13450 soname_spec='${libname}${release}${shared_ext}$major'
13451 dynamic_linker='NetBSD ld.elf_so'
13452 fi
13453 shlibpath_var=LD_LIBRARY_PATH
13454 shlibpath_overrides_runpath=yes
13455 hardcode_into_libs=yes
13456 ;;
13457
13458 newsos6)
13459 version_type=linux
13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13463 ;;
13464
13465 *nto* | *qnx*)
13466 version_type=qnx
13467 need_lib_prefix=no
13468 need_version=no
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='ldqnx.so'
13475 ;;
13476
13477 openbsd*)
13478 version_type=sunos
13479 sys_lib_dlsearch_path_spec="/usr/lib"
13480 need_lib_prefix=no
13481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 case $host_os in
13483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13484 *) need_version=no ;;
13485 esac
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13488 shlibpath_var=LD_LIBRARY_PATH
13489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 case $host_os in
13491 openbsd2.[89] | openbsd2.[89].*)
13492 shlibpath_overrides_runpath=no
13493 ;;
13494 *)
13495 shlibpath_overrides_runpath=yes
13496 ;;
13497 esac
13498 else
13499 shlibpath_overrides_runpath=yes
13500 fi
13501 ;;
13502
13503 os2*)
13504 libname_spec='$name'
13505 shrext_cmds=".dll"
13506 need_lib_prefix=no
13507 library_names_spec='$libname${shared_ext} $libname.a'
13508 dynamic_linker='OS/2 ld.exe'
13509 shlibpath_var=LIBPATH
13510 ;;
13511
13512 osf3* | osf4* | osf5*)
13513 version_type=osf
13514 need_lib_prefix=no
13515 need_version=no
13516 soname_spec='${libname}${release}${shared_ext}$major'
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13521 ;;
13522
13523 rdos*)
13524 dynamic_linker=no
13525 ;;
13526
13527 solaris*)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec='${libname}${release}${shared_ext}$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=yes
13535 hardcode_into_libs=yes
13536 # ldd complains unless libraries are executable
13537 postinstall_cmds='chmod +x $lib'
13538 ;;
13539
13540 sunos4*)
13541 version_type=sunos
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13544 shlibpath_var=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath=yes
13546 if test "$with_gnu_ld" = yes; then
13547 need_lib_prefix=no
13548 fi
13549 need_version=yes
13550 ;;
13551
13552 sysv4 | sysv4.3*)
13553 version_type=linux
13554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13555 soname_spec='${libname}${release}${shared_ext}$major'
13556 shlibpath_var=LD_LIBRARY_PATH
13557 case $host_vendor in
13558 sni)
13559 shlibpath_overrides_runpath=no
13560 need_lib_prefix=no
13561 runpath_var=LD_RUN_PATH
13562 ;;
13563 siemens)
13564 need_lib_prefix=no
13565 ;;
13566 motorola)
13567 need_lib_prefix=no
13568 need_version=no
13569 shlibpath_overrides_runpath=no
13570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13571 ;;
13572 esac
13573 ;;
13574
13575 sysv4*MP*)
13576 if test -d /usr/nec ;then
13577 version_type=linux
13578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13579 soname_spec='$libname${shared_ext}.$major'
13580 shlibpath_var=LD_LIBRARY_PATH
13581 fi
13582 ;;
13583
13584 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13585 version_type=freebsd-elf
13586 need_lib_prefix=no
13587 need_version=no
13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13589 soname_spec='${libname}${release}${shared_ext}$major'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13592 hardcode_into_libs=yes
13593 if test "$with_gnu_ld" = yes; then
13594 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13595 else
13596 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13597 case $host_os in
13598 sco3.2v5*)
13599 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13600 ;;
13601 esac
13602 fi
13603 sys_lib_dlsearch_path_spec='/usr/lib'
13604 ;;
13605
13606 tpf*)
13607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13612 shlibpath_var=LD_LIBRARY_PATH
13613 shlibpath_overrides_runpath=no
13614 hardcode_into_libs=yes
13615 ;;
13616
13617 uts4*)
13618 version_type=linux
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13622 ;;
13623
13624 *)
13625 dynamic_linker=no
13626 ;;
13627 esac
13628 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13629 echo "${ECHO_T}$dynamic_linker" >&6
13630 test "$dynamic_linker" = no && can_build_shared=no
13631
13632 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13635 fi
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13673 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13674 hardcode_action_CXX=
13675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13676 test -n "$runpath_var_CXX" ||
13677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13678
13679 # We can hardcode non-existent directories.
13680 if test "$hardcode_direct_CXX" != no &&
13681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13682 # have to relink, otherwise we might link with an installed library
13683 # when we should be linking with a yet-to-be-installed one
13684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13685 test "$hardcode_minus_L_CXX" != no; then
13686 # Linking always hardcodes the temporary library directory.
13687 hardcode_action_CXX=relink
13688 else
13689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13690 hardcode_action_CXX=immediate
13691 fi
13692 else
13693 # We cannot hardcode anything, or else we can only hardcode existing
13694 # directories.
13695 hardcode_action_CXX=unsupported
13696 fi
13697 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13698 echo "${ECHO_T}$hardcode_action_CXX" >&6
13699
13700 if test "$hardcode_action_CXX" = relink ||
13701 test "$inherit_rpath_CXX" = yes; then
13702 # Fast installation is not supported
13703 enable_fast_install=no
13704 elif test "$shlibpath_overrides_runpath" = yes ||
13705 test "$enable_shared" = no; then
13706 # Fast installation is not necessary
13707 enable_fast_install=needless
13708 fi
13709
13710
13711
13712
13713
13714
13715
13716 fi # test -n "$compiler"
13717
13718 CC=$lt_save_CC
13719 LDCXX=$LD
13720 LD=$lt_save_LD
13721 GCC=$lt_save_GCC
13722 with_gnu_ld=$lt_save_with_gnu_ld
13723 lt_cv_path_LDCXX=$lt_cv_path_LD
13724 lt_cv_path_LD=$lt_save_path_LD
13725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13727 fi # test "$_lt_caught_CXX_error" != yes
13728
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747 ac_config_commands="$ac_config_commands libtool"
13748
13749
13750
13751
13752 # Only expand once:
13753
13754
13755
13756
13757
13758 # Possibly disable most of the library.
13759 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13760 ## than just ignoring the results. Faster /and/ more correct, win win.
13761
13762 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13763 if test "${enable_hosted_libstdcxx+set}" = set; then
13764 enableval="$enable_hosted_libstdcxx"
13765
13766 else
13767 case "$host" in
13768 arm*-*-symbianelf*)
13769 enable_hosted_libstdcxx=no
13770 ;;
13771 *)
13772 enable_hosted_libstdcxx=yes
13773 ;;
13774 esac
13775 fi;
13776 if test "$enable_hosted_libstdcxx" = no; then
13777 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13778 echo "$as_me: Only freestanding libraries will be built" >&6;}
13779 is_hosted=no
13780 hosted_define=0
13781 enable_abi_check=no
13782 enable_libstdcxx_pch=no
13783 else
13784 is_hosted=yes
13785 hosted_define=1
13786 fi
13787
13788
13789 cat >>confdefs.h <<_ACEOF
13790 #define _GLIBCXX_HOSTED $hosted_define
13791 _ACEOF
13792
13793
13794
13795 # Enable compiler support that doesn't require linking.
13796
13797 echo "$as_me:$LINENO: checking for exception model to use" >&5
13798 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13799
13800
13801 ac_ext=cc
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13806
13807 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13808 if test "${enable_sjlj_exceptions+set}" = set; then
13809 enableval="$enable_sjlj_exceptions"
13810
13811 case "$enableval" in
13812 yes|no|auto) ;;
13813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13814 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13815 { (exit 1); exit 1; }; } ;;
13816 esac
13817
13818 else
13819 enable_sjlj_exceptions=auto
13820 fi;
13821
13822
13823 if test $enable_sjlj_exceptions = auto; then
13824 # Botheration. Now we've got to detect the exception model. Link tests
13825 # against libgcc.a are problematic since we've not been given proper -L
13826 # bits for single-tree newlib and libgloss.
13827 #
13828 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13829 cat > conftest.$ac_ext << EOF
13830 #line 13830 "configure"
13831 struct S { ~S(); };
13832 void bar();
13833 void foo()
13834 {
13835 S s;
13836 bar();
13837 }
13838 EOF
13839 old_CXXFLAGS="$CXXFLAGS"
13840 CXXFLAGS=-S
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13847 enable_sjlj_exceptions=yes
13848 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=no
13850 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13852 fi
13853 fi
13854 CXXFLAGS="$old_CXXFLAGS"
13855 rm -f conftest*
13856 fi
13857
13858 # This is a tad weird, for hysterical raisins. We have to map
13859 # enable/disable to two different models.
13860 case $enable_sjlj_exceptions in
13861 yes)
13862
13863 cat >>confdefs.h <<\_ACEOF
13864 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13865 _ACEOF
13866
13867 ac_exception_model_name=sjlj
13868 ;;
13869 no)
13870 ac_exception_model_name="call frame"
13871 ;;
13872 *)
13873 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13874 echo "$as_me: error: unable to detect exception model" >&2;}
13875 { (exit 1); exit 1; }; }
13876 ;;
13877 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13883
13884 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13885 echo "${ECHO_T}$ac_exception_model_name" >&6
13886
13887
13888 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13889 if test "${enable_libstdcxx_pch+set}" = set; then
13890 enableval="$enable_libstdcxx_pch"
13891
13892 case "$enableval" in
13893 yes|no) ;;
13894 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13895 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13896 { (exit 1); exit 1; }; } ;;
13897 esac
13898
13899 else
13900 enable_libstdcxx_pch=$is_hosted
13901 fi;
13902
13903 if test $enable_libstdcxx_pch = yes; then
13904 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13905 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13906 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 ac_save_CXXFLAGS="$CXXFLAGS"
13910 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13911
13912
13913 ac_ext=cc
13914 ac_cpp='$CXXCPP $CPPFLAGS'
13915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13918
13919 echo '#include <math.h>' > conftest.h
13920 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13921 -o conftest.h.gch 1>&5 2>&1 &&
13922 echo '#error "pch failed"' > conftest.h &&
13923 echo '#include "conftest.h"' > conftest.cc &&
13924 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13925 then
13926 glibcxx_cv_prog_CXX_pch=yes
13927 else
13928 glibcxx_cv_prog_CXX_pch=no
13929 fi
13930 rm -f conftest*
13931 CXXFLAGS=$ac_save_CXXFLAGS
13932 ac_ext=c
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13937
13938
13939 fi
13940 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13941 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13942 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13943 fi
13944
13945 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13946 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13949
13950
13951 if test $enable_libstdcxx_pch = yes; then
13952 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13953 else
13954 glibcxx_PCHFLAGS=""
13955 fi
13956
13957
13958
13959 # Enable all the variable C++ runtime options that doesn't require linking.
13960
13961 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13962 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13963 # Check whether --enable-cstdio or --disable-cstdio was given.
13964 if test "${enable_cstdio+set}" = set; then
13965 enableval="$enable_cstdio"
13966
13967 case "$enableval" in
13968 stdio) ;;
13969 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13970 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13971 { (exit 1); exit 1; }; } ;;
13972 esac
13973
13974 else
13975 enable_cstdio=stdio
13976 fi;
13977
13978
13979 # Now that libio has been removed, you can have any color you want as long
13980 # as it's black. This is one big no-op until other packages are added, but
13981 # showing the framework never hurts.
13982 case ${enable_cstdio} in
13983 stdio)
13984 CSTDIO_H=config/io/c_io_stdio.h
13985 BASIC_FILE_H=config/io/basic_file_stdio.h
13986 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13987 echo "$as_me:$LINENO: result: stdio" >&5
13988 echo "${ECHO_T}stdio" >&6
13989 ;;
13990 esac
13991
13992
13993
13994
13995
13996
13997 # Check whether --enable-clocale or --disable-clocale was given.
13998 if test "${enable_clocale+set}" = set; then
13999 enableval="$enable_clocale"
14000
14001 case "$enableval" in
14002 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14003 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14004 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14005 { (exit 1); exit 1; }; } ;;
14006 esac
14007
14008 else
14009 enable_clocale=auto
14010 fi;
14011
14012
14013 # Deal with gettext issues. Default to not using it (=no) until we detect
14014 # support for it later. Let the user turn it off via --e/d, but let that
14015 # default to on for easier handling.
14016 USE_NLS=no
14017 # Check whether --enable-nls or --disable-nls was given.
14018 if test "${enable_nls+set}" = set; then
14019 enableval="$enable_nls"
14020
14021 else
14022 enable_nls=yes
14023 fi;
14024
14025 # Either a known packaage, or "auto"
14026 if test $enable_clocale = no || test $enable_clocale = yes; then
14027 enable_clocale=auto
14028 fi
14029 enable_clocale_flag=$enable_clocale
14030
14031 # Probe for locale model to use if none specified.
14032 # Default to "generic".
14033 if test $enable_clocale_flag = auto; then
14034 case ${target_os} in
14035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14036 enable_clocale_flag=gnu
14037 ;;
14038 darwin* | freebsd*)
14039 enable_clocale_flag=darwin
14040 ;;
14041 *)
14042 enable_clocale_flag=generic
14043 ;;
14044 esac
14045 fi
14046
14047 # Sanity check model, and test for special functionality.
14048 if test $enable_clocale_flag = gnu; then
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055
14056 #include <features.h>
14057 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14058 _GLIBCXX_ok
14059 #endif
14060
14061 _ACEOF
14062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14063 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14064 enable_clocale_flag=gnu
14065 else
14066 enable_clocale_flag=generic
14067 fi
14068 rm -f conftest*
14069
14070
14071 if test $enable_clocale = auto; then
14072 # Test for bugs early in glibc-2.2.x series
14073 if test "$cross_compiling" = yes; then
14074 enable_clocale_flag=generic
14075 else
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082
14083 #define _GNU_SOURCE 1
14084 #include <locale.h>
14085 #include <string.h>
14086 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14087 extern __typeof(newlocale) __newlocale;
14088 extern __typeof(duplocale) __duplocale;
14089 extern __typeof(strcoll_l) __strcoll_l;
14090 #endif
14091 int main()
14092 {
14093 const char __one[] = "Äuglein Augmen";
14094 const char __two[] = "Äuglein";
14095 int i;
14096 int j;
14097 __locale_t loc;
14098 __locale_t loc_dup;
14099 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14100 loc_dup = __duplocale(loc);
14101 i = __strcoll_l(__one, __two, loc);
14102 j = __strcoll_l(__one, __two, loc_dup);
14103 return 0;
14104 }
14105
14106 _ACEOF
14107 rm -f conftest$ac_exeext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14109 (eval $ac_link) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 enable_clocale_flag=gnu
14119 else
14120 echo "$as_me: program exited with status $ac_status" >&5
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14123
14124 ( exit $ac_status )
14125 enable_clocale_flag=generic
14126 fi
14127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14128 fi
14129 fi
14130
14131 # Set it to scream when it hurts.
14132 ac_save_CFLAGS="$CFLAGS"
14133 CFLAGS="-Wimplicit-function-declaration -Werror"
14134
14135 # Use strxfrm_l if available.
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #define _GNU_SOURCE 1
14143 #include <string.h>
14144 #include <locale.h>
14145 int
14146 main ()
14147 {
14148 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14149 ;
14150 return 0;
14151 }
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175
14176 cat >>confdefs.h <<\_ACEOF
14177 #define HAVE_STRXFRM_L 1
14178 _ACEOF
14179
14180 else
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.$ac_ext >&5
14183
14184 fi
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14186
14187 # Use strerror_l if available.
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE 1
14195 #include <string.h>
14196 #include <locale.h>
14197 int
14198 main ()
14199 {
14200 __locale_t loc; strerror_l(5, loc);
14201 ;
14202 return 0;
14203 }
14204 _ACEOF
14205 rm -f conftest.$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } &&
14214 { ac_try='test -z "$ac_c_werror_flag"
14215 || test ! -s conftest.err'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; } &&
14221 { ac_try='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14227
14228 cat >>confdefs.h <<\_ACEOF
14229 #define HAVE_STRERROR_L 1
14230 _ACEOF
14231
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 fi
14237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14238
14239 CFLAGS="$ac_save_CFLAGS"
14240 fi
14241
14242 # Perhaps use strerror_r if available, and strerror_l isn't.
14243 ac_save_CFLAGS="$CFLAGS"
14244 CFLAGS="-Wimplicit-function-declaration -Werror"
14245 cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h. */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14251 #define _GNU_SOURCE 1
14252 #include <string.h>
14253 #include <locale.h>
14254 int
14255 main ()
14256 {
14257 char s[128]; strerror_r(5, s, 128);
14258 ;
14259 return 0;
14260 }
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14264 (eval $ac_compile) 2>conftest.er1
14265 ac_status=$?
14266 grep -v '^ *+' conftest.er1 >conftest.err
14267 rm -f conftest.er1
14268 cat conftest.err >&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -z "$ac_c_werror_flag"
14272 || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14284
14285 cat >>confdefs.h <<\_ACEOF
14286 #define HAVE_STRERROR_R 1
14287 _ACEOF
14288
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14292
14293 fi
14294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14295 CFLAGS="$ac_save_CFLAGS"
14296
14297 # Set configure bits for specified locale package
14298 echo "$as_me:$LINENO: checking for C locale to use" >&5
14299 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14300 case ${enable_clocale_flag} in
14301 generic)
14302 echo "$as_me:$LINENO: result: generic" >&5
14303 echo "${ECHO_T}generic" >&6
14304
14305 CLOCALE_H=config/locale/generic/c_locale.h
14306 CLOCALE_CC=config/locale/generic/c_locale.cc
14307 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14308 CCOLLATE_CC=config/locale/generic/collate_members.cc
14309 CCTYPE_CC=config/locale/generic/ctype_members.cc
14310 CMESSAGES_H=config/locale/generic/messages_members.h
14311 CMESSAGES_CC=config/locale/generic/messages_members.cc
14312 CMONEY_CC=config/locale/generic/monetary_members.cc
14313 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14314 CTIME_H=config/locale/generic/time_members.h
14315 CTIME_CC=config/locale/generic/time_members.cc
14316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14317 ;;
14318 darwin)
14319 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14320 echo "${ECHO_T}darwin or freebsd" >&6
14321
14322 CLOCALE_H=config/locale/generic/c_locale.h
14323 CLOCALE_CC=config/locale/generic/c_locale.cc
14324 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14325 CCOLLATE_CC=config/locale/generic/collate_members.cc
14326 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14327 CMESSAGES_H=config/locale/generic/messages_members.h
14328 CMESSAGES_CC=config/locale/generic/messages_members.cc
14329 CMONEY_CC=config/locale/generic/monetary_members.cc
14330 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14331 CTIME_H=config/locale/generic/time_members.h
14332 CTIME_CC=config/locale/generic/time_members.cc
14333 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14334 ;;
14335
14336 gnu)
14337 echo "$as_me:$LINENO: result: gnu" >&5
14338 echo "${ECHO_T}gnu" >&6
14339
14340 # Declare intention to use gettext, and add support for specific
14341 # languages.
14342 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14343 ALL_LINGUAS="de fr"
14344
14345 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14346 # Extract the first word of "msgfmt", so it can be a program name with args.
14347 set dummy msgfmt; ac_word=$2
14348 echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14350 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$check_msgfmt"; then
14354 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14358 do
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363 ac_cv_prog_check_msgfmt="yes"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14366 fi
14367 done
14368 done
14369
14370 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14371 fi
14372 fi
14373 check_msgfmt=$ac_cv_prog_check_msgfmt
14374 if test -n "$check_msgfmt"; then
14375 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14376 echo "${ECHO_T}$check_msgfmt" >&6
14377 else
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14380 fi
14381
14382 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14383 USE_NLS=yes
14384 fi
14385 # Export the build objects.
14386 for ling in $ALL_LINGUAS; do \
14387 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14388 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14389 done
14390
14391
14392
14393 CLOCALE_H=config/locale/gnu/c_locale.h
14394 CLOCALE_CC=config/locale/gnu/c_locale.cc
14395 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14396 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14397 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14398 CMESSAGES_H=config/locale/gnu/messages_members.h
14399 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14400 CMONEY_CC=config/locale/gnu/monetary_members.cc
14401 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14402 CTIME_H=config/locale/gnu/time_members.h
14403 CTIME_CC=config/locale/gnu/time_members.cc
14404 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14405 ;;
14406 ieee_1003.1-2001)
14407 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14408 echo "${ECHO_T}IEEE 1003.1" >&6
14409
14410 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14411 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14412 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14413 CCOLLATE_CC=config/locale/generic/collate_members.cc
14414 CCTYPE_CC=config/locale/generic/ctype_members.cc
14415 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14416 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14417 CMONEY_CC=config/locale/generic/monetary_members.cc
14418 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14419 CTIME_H=config/locale/generic/time_members.h
14420 CTIME_CC=config/locale/generic/time_members.cc
14421 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14422 ;;
14423 esac
14424
14425 # This is where the testsuite looks for locale catalogs, using the
14426 # -DLOCALEDIR define during testsuite compilation.
14427 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14428
14429
14430 # A standalone libintl (e.g., GNU libintl) may be in use.
14431 if test $USE_NLS = yes; then
14432
14433 for ac_header in libintl.h
14434 do
14435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 fi
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14444 else
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14456 _ACEOF
14457 rm -f conftest.$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try='test -z "$ac_c_werror_flag"
14467 || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 ac_header_compiler=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 ac_header_compiler=no
14485 fi
14486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14488 echo "${ECHO_T}$ac_header_compiler" >&6
14489
14490 # Is the header present?
14491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 #include <$ac_header>
14500 _ACEOF
14501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } >/dev/null; then
14509 if test -s conftest.err; then
14510 ac_cpp_err=$ac_c_preproc_warn_flag
14511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14512 else
14513 ac_cpp_err=
14514 fi
14515 else
14516 ac_cpp_err=yes
14517 fi
14518 if test -z "$ac_cpp_err"; then
14519 ac_header_preproc=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 ac_header_preproc=no
14525 fi
14526 rm -f conftest.err conftest.$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14528 echo "${ECHO_T}$ac_header_preproc" >&6
14529
14530 # So? What about this header?
14531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 yes:no: )
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14537 ac_header_preproc=yes
14538 ;;
14539 no:yes:* )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14552 (
14553 cat <<\_ASBOX
14554 ## ----------------------------------------- ##
14555 ## Report this to the package-unused lists. ##
14556 ## ----------------------------------------- ##
14557 _ASBOX
14558 ) |
14559 sed "s/^/$as_me: WARNING: /" >&2
14560 ;;
14561 esac
14562 echo "$as_me:$LINENO: checking for $ac_header" >&5
14563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 eval "$as_ac_Header=\$ac_header_preproc"
14568 fi
14569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14571
14572 fi
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h <<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 _ACEOF
14577
14578 else
14579 USE_NLS=no
14580 fi
14581
14582 done
14583
14584 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14585 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14586 if test "${ac_cv_search_gettext+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 ac_func_search_save_LIBS=$LIBS
14590 ac_cv_search_gettext=no
14591 if test x$gcc_no_link = xyes; then
14592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14594 { (exit 1); exit 1; }; }
14595 fi
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 cat confdefs.h >>conftest.$ac_ext
14600 cat >>conftest.$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14602
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 /* We use char because int might match the return type of a gcc2
14608 builtin and then its argument prototype would still apply. */
14609 char gettext ();
14610 int
14611 main ()
14612 {
14613 gettext ();
14614 ;
14615 return 0;
14616 }
14617 _ACEOF
14618 rm -f conftest.$ac_objext conftest$ac_exeext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14620 (eval $ac_link) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_c_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest$ac_exeext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 ac_cv_search_gettext="none required"
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14644
14645 fi
14646 rm -f conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 if test "$ac_cv_search_gettext" = no; then
14649 for ac_lib in intl; do
14650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14651 if test x$gcc_no_link = xyes; then
14652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14654 { (exit 1); exit 1; }; }
14655 fi
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 /* We use char because int might match the return type of a gcc2
14668 builtin and then its argument prototype would still apply. */
14669 char gettext ();
14670 int
14671 main ()
14672 {
14673 gettext ();
14674 ;
14675 return 0;
14676 }
14677 _ACEOF
14678 rm -f conftest.$ac_objext conftest$ac_exeext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14680 (eval $ac_link) 2>conftest.er1
14681 ac_status=$?
14682 grep -v '^ *+' conftest.er1 >conftest.err
14683 rm -f conftest.er1
14684 cat conftest.err >&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } &&
14687 { ac_try='test -z "$ac_c_werror_flag"
14688 || test ! -s conftest.err'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; } &&
14694 { ac_try='test -s conftest$ac_exeext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14700 ac_cv_search_gettext="-l$ac_lib"
14701 break
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14705
14706 fi
14707 rm -f conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext conftest.$ac_ext
14709 done
14710 fi
14711 LIBS=$ac_func_search_save_LIBS
14712 fi
14713 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14714 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14715 if test "$ac_cv_search_gettext" != no; then
14716 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14717
14718 else
14719 USE_NLS=no
14720 fi
14721
14722 fi
14723 if test $USE_NLS = yes; then
14724
14725 cat >>confdefs.h <<\_ACEOF
14726 #define _GLIBCXX_USE_NLS 1
14727 _ACEOF
14728
14729 fi
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14747 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14748 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14749 if test "${enable_libstdcxx_allocator+set}" = set; then
14750 enableval="$enable_libstdcxx_allocator"
14751
14752 case "$enableval" in
14753 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14754 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14755 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757 esac
14758
14759 else
14760 enable_libstdcxx_allocator=auto
14761 fi;
14762
14763
14764 # If they didn't use this option switch, or if they specified --enable
14765 # with no specific model, we'll have to look for one. If they
14766 # specified --disable (???), do likewise.
14767 if test $enable_libstdcxx_allocator = no ||
14768 test $enable_libstdcxx_allocator = yes;
14769 then
14770 enable_libstdcxx_allocator=auto
14771 fi
14772
14773 # Either a known package, or "auto". Auto implies the default choice
14774 # for a particular platform.
14775 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14776
14777 # Probe for host-specific support if no specific model is specified.
14778 # Default to "new".
14779 if test $enable_libstdcxx_allocator_flag = auto; then
14780 case ${target_os} in
14781 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14782 enable_libstdcxx_allocator_flag=new
14783 ;;
14784 *)
14785 enable_libstdcxx_allocator_flag=new
14786 ;;
14787 esac
14788 fi
14789 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14790 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14791
14792
14793 # Set configure bits for specified locale package
14794 case ${enable_libstdcxx_allocator_flag} in
14795 bitmap)
14796 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14797 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14798 ;;
14799 malloc)
14800 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14801 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14802 ;;
14803 mt)
14804 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14805 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14806 ;;
14807 new)
14808 ALLOCATOR_H=config/allocator/new_allocator_base.h
14809 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14810 ;;
14811 pool)
14812 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14813 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14814 ;;
14815 esac
14816
14817
14818
14819
14820
14821 # Check whether --enable-cheaders or --disable-cheaders was given.
14822 if test "${enable_cheaders+set}" = set; then
14823 enableval="$enable_cheaders"
14824
14825 case "$enableval" in
14826 c|c_std|c_global) ;;
14827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14828 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14829 { (exit 1); exit 1; }; } ;;
14830 esac
14831
14832 else
14833 enable_cheaders=$c_model
14834 fi;
14835
14836 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14837 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14838
14839 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14840
14841 # Allow overrides to configure.host here.
14842 if test $enable_cheaders = c_global; then
14843 c_compatibility=yes
14844 fi
14845
14846 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14847 c_extra=yes
14848 fi
14849
14850
14851
14852
14853
14854
14855
14856
14857 # Check whether --enable-long-long or --disable-long-long was given.
14858 if test "${enable_long_long+set}" = set; then
14859 enableval="$enable_long_long"
14860
14861 case "$enableval" in
14862 yes|no) ;;
14863 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14864 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14865 { (exit 1); exit 1; }; } ;;
14866 esac
14867
14868 else
14869 enable_long_long=yes
14870 fi;
14871
14872 if test $enable_long_long = yes; then
14873
14874 cat >>confdefs.h <<\_ACEOF
14875 #define _GLIBCXX_USE_LONG_LONG 1
14876 _ACEOF
14877
14878 fi
14879 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14880 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14881 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14882 echo "${ECHO_T}$enable_long_long" >&6
14883
14884
14885 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14886 if test "${enable_wchar_t+set}" = set; then
14887 enableval="$enable_wchar_t"
14888
14889 case "$enableval" in
14890 yes|no) ;;
14891 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14892 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14893 { (exit 1); exit 1; }; } ;;
14894 esac
14895
14896 else
14897 enable_wchar_t=yes
14898 fi;
14899
14900
14901 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14902
14903 for ac_header in wchar.h
14904 do
14905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14907 echo "$as_me:$LINENO: checking for $ac_header" >&5
14908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 fi
14912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14914 else
14915 # Is the header compilable?
14916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 $ac_includes_default
14925 #include <$ac_header>
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try='test -z "$ac_c_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 ac_header_compiler=yes
14950 else
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14953
14954 ac_header_compiler=no
14955 fi
14956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14958 echo "${ECHO_T}$ac_header_compiler" >&6
14959
14960 # Is the header present?
14961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <$ac_header>
14970 _ACEOF
14971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14973 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } >/dev/null; then
14979 if test -s conftest.err; then
14980 ac_cpp_err=$ac_c_preproc_warn_flag
14981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14982 else
14983 ac_cpp_err=
14984 fi
14985 else
14986 ac_cpp_err=yes
14987 fi
14988 if test -z "$ac_cpp_err"; then
14989 ac_header_preproc=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 ac_header_preproc=no
14995 fi
14996 rm -f conftest.err conftest.$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14998 echo "${ECHO_T}$ac_header_preproc" >&6
14999
15000 # So? What about this header?
15001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15002 yes:no: )
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15007 ac_header_preproc=yes
15008 ;;
15009 no:yes:* )
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15022 (
15023 cat <<\_ASBOX
15024 ## ----------------------------------------- ##
15025 ## Report this to the package-unused lists. ##
15026 ## ----------------------------------------- ##
15027 _ASBOX
15028 ) |
15029 sed "s/^/$as_me: WARNING: /" >&2
15030 ;;
15031 esac
15032 echo "$as_me:$LINENO: checking for $ac_header" >&5
15033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 else
15037 eval "$as_ac_Header=\$ac_header_preproc"
15038 fi
15039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15041
15042 fi
15043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15044 cat >>confdefs.h <<_ACEOF
15045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15046 _ACEOF
15047 ac_has_wchar_h=yes
15048 else
15049 ac_has_wchar_h=no
15050 fi
15051
15052 done
15053
15054 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15055 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 #include <wchar.h>
15063 int
15064 main ()
15065 {
15066 mbstate_t teststate;
15067 ;
15068 return 0;
15069 }
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 have_mbstate_t=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15097
15098 have_mbstate_t=no
15099 fi
15100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15101 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15102 echo "${ECHO_T}$have_mbstate_t" >&6
15103 if test x"$have_mbstate_t" = xyes; then
15104
15105 cat >>confdefs.h <<\_ACEOF
15106 #define HAVE_MBSTATE_T 1
15107 _ACEOF
15108
15109 fi
15110
15111 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15112 # ac_has_wchar_h.
15113
15114 for ac_header in wctype.h
15115 do
15116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15118 echo "$as_me:$LINENO: checking for $ac_header" >&5
15119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 fi
15123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15125 else
15126 # Is the header compilable?
15127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 #include <$ac_header>
15137 _ACEOF
15138 rm -f conftest.$ac_objext
15139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15140 (eval $ac_compile) 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } &&
15147 { ac_try='test -z "$ac_c_werror_flag"
15148 || test ! -s conftest.err'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_header_compiler=yes
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15164
15165 ac_header_compiler=no
15166 fi
15167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15169 echo "${ECHO_T}$ac_header_compiler" >&6
15170
15171 # Is the header present?
15172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <$ac_header>
15181 _ACEOF
15182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } >/dev/null; then
15190 if test -s conftest.err; then
15191 ac_cpp_err=$ac_c_preproc_warn_flag
15192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15193 else
15194 ac_cpp_err=
15195 fi
15196 else
15197 ac_cpp_err=yes
15198 fi
15199 if test -z "$ac_cpp_err"; then
15200 ac_header_preproc=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15204
15205 ac_header_preproc=no
15206 fi
15207 rm -f conftest.err conftest.$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15209 echo "${ECHO_T}$ac_header_preproc" >&6
15210
15211 # So? What about this header?
15212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15213 yes:no: )
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15218 ac_header_preproc=yes
15219 ;;
15220 no:yes:* )
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15233 (
15234 cat <<\_ASBOX
15235 ## ----------------------------------------- ##
15236 ## Report this to the package-unused lists. ##
15237 ## ----------------------------------------- ##
15238 _ASBOX
15239 ) |
15240 sed "s/^/$as_me: WARNING: /" >&2
15241 ;;
15242 esac
15243 echo "$as_me:$LINENO: checking for $ac_header" >&5
15244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 eval "$as_ac_Header=\$ac_header_preproc"
15249 fi
15250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15252
15253 fi
15254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 _ACEOF
15258 ac_has_wctype_h=yes
15259 else
15260 ac_has_wctype_h=no
15261 fi
15262
15263 done
15264
15265
15266 if test x"$enable_wchar_t" = x"yes"; then
15267
15268
15269
15270 ac_ext=cc
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15275
15276
15277 if test x"$ac_has_wchar_h" = xyes &&
15278 test x"$ac_has_wctype_h" = xyes; then
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <wchar.h>
15286 #include <stddef.h>
15287 wint_t i;
15288 long l = WEOF;
15289 long j = WCHAR_MIN;
15290 long k = WCHAR_MAX;
15291 namespace test
15292 {
15293 using ::btowc;
15294 using ::fgetwc;
15295 using ::fgetws;
15296 using ::fputwc;
15297 using ::fputws;
15298 using ::fwide;
15299 using ::fwprintf;
15300 using ::fwscanf;
15301 using ::getwc;
15302 using ::getwchar;
15303 using ::mbrlen;
15304 using ::mbrtowc;
15305 using ::mbsinit;
15306 using ::mbsrtowcs;
15307 using ::putwc;
15308 using ::putwchar;
15309 using ::swprintf;
15310 using ::swscanf;
15311 using ::ungetwc;
15312 using ::vfwprintf;
15313 using ::vswprintf;
15314 using ::vwprintf;
15315 using ::wcrtomb;
15316 using ::wcscat;
15317 using ::wcschr;
15318 using ::wcscmp;
15319 using ::wcscoll;
15320 using ::wcscpy;
15321 using ::wcscspn;
15322 using ::wcsftime;
15323 using ::wcslen;
15324 using ::wcsncat;
15325 using ::wcsncmp;
15326 using ::wcsncpy;
15327 using ::wcspbrk;
15328 using ::wcsrchr;
15329 using ::wcsrtombs;
15330 using ::wcsspn;
15331 using ::wcsstr;
15332 using ::wcstod;
15333 using ::wcstok;
15334 using ::wcstol;
15335 using ::wcstoul;
15336 using ::wcsxfrm;
15337 using ::wctob;
15338 using ::wmemchr;
15339 using ::wmemcmp;
15340 using ::wmemcpy;
15341 using ::wmemmove;
15342 using ::wmemset;
15343 using ::wprintf;
15344 using ::wscanf;
15345 }
15346
15347 int
15348 main ()
15349 {
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -z "$ac_cxx_werror_flag"
15365 || test ! -s conftest.err'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15377 :
15378 else
15379 echo "$as_me: failed program was:" >&5
15380 sed 's/^/| /' conftest.$ac_ext >&5
15381
15382 enable_wchar_t=no
15383 fi
15384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385 else
15386 enable_wchar_t=no
15387 fi
15388
15389 ac_ext=c
15390 ac_cpp='$CPP $CPPFLAGS'
15391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15394
15395 fi
15396
15397 if test x"$enable_wchar_t" = x"yes"; then
15398
15399 cat >>confdefs.h <<\_ACEOF
15400 #define _GLIBCXX_USE_WCHAR_T 1
15401 _ACEOF
15402
15403 fi
15404
15405 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15406 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15407 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15408 echo "${ECHO_T}$enable_wchar_t" >&6
15409
15410
15411
15412 # Check whether --enable-c99 or --disable-c99 was given.
15413 if test "${enable_c99+set}" = set; then
15414 enableval="$enable_c99"
15415
15416 case "$enableval" in
15417 yes|no) ;;
15418 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15419 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15420 { (exit 1); exit 1; }; } ;;
15421 esac
15422
15423 else
15424 enable_c99=yes
15425 fi;
15426
15427
15428 if test x"$enable_c99" = x"yes"; then
15429
15430
15431
15432 ac_ext=cc
15433 ac_cpp='$CXXCPP $CPPFLAGS'
15434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15437
15438
15439 # Use -fno-exceptions so that the C driver can link these tests without
15440 # hitting undefined references to personality routines.
15441 ac_save_CXXFLAGS="$CXXFLAGS"
15442 ac_save_LIBS="$LIBS"
15443 ac_save_gcc_no_link="$gcc_no_link"
15444
15445 if test x$gcc_no_link != xyes; then
15446 # Use -fno-exceptions to that the C driver can link these tests without
15447 # hitting undefined references to personality routines.
15448 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15449 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15450 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15451 if test "${ac_cv_lib_m_sin+set}" = set; then
15452 echo $ECHO_N "(cached) $ECHO_C" >&6
15453 else
15454 ac_check_lib_save_LIBS=$LIBS
15455 LIBS="-lm $LIBS"
15456 if test x$gcc_no_link = xyes; then
15457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15459 { (exit 1); exit 1; }; }
15460 fi
15461 cat >conftest.$ac_ext <<_ACEOF
15462 /* confdefs.h. */
15463 _ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15467
15468 /* Override any gcc2 internal prototype to avoid an error. */
15469 #ifdef __cplusplus
15470 extern "C"
15471 #endif
15472 /* We use char because int might match the return type of a gcc2
15473 builtin and then its argument prototype would still apply. */
15474 char sin ();
15475 int
15476 main ()
15477 {
15478 sin ();
15479 ;
15480 return 0;
15481 }
15482 _ACEOF
15483 rm -f conftest.$ac_objext conftest$ac_exeext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15485 (eval $ac_link) 2>conftest.er1
15486 ac_status=$?
15487 grep -v '^ *+' conftest.er1 >conftest.err
15488 rm -f conftest.er1
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -z "$ac_cxx_werror_flag"
15493 || test ! -s conftest.err'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; } &&
15499 { ac_try='test -s conftest$ac_exeext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15502 ac_status=$?
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_lib_m_sin=yes
15506 else
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15509
15510 ac_cv_lib_m_sin=no
15511 fi
15512 rm -f conftest.err conftest.$ac_objext \
15513 conftest$ac_exeext conftest.$ac_ext
15514 LIBS=$ac_check_lib_save_LIBS
15515 fi
15516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15517 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15518 if test $ac_cv_lib_m_sin = yes; then
15519
15520 LIBS="$LIBS -lm"
15521
15522 else
15523
15524 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15525 gcc_no_link=yes
15526
15527 fi
15528
15529 fi
15530
15531 # Check for the existence of <math.h> functions used if C99 is enabled.
15532 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15533 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15534 if test "${ac_c99_math+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537
15538 if test x$gcc_no_link = xyes; then
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 #include <math.h>
15546 volatile double d1, d2;
15547 volatile int i;
15548 int
15549 main ()
15550 {
15551 i = fpclassify(d1);
15552 i = isfinite(d1);
15553 i = isinf(d1);
15554 i = isnan(d1);
15555 i = isnormal(d1);
15556 i = signbit(d1);
15557 i = isgreater(d1, d2);
15558 i = isgreaterequal(d1, d2);
15559 i = isless(d1, d2);
15560 i = islessequal(d1, d2);
15561 i = islessgreater(d1, d2);
15562 i = islessgreater(d1, d2);
15563 i = isunordered(d1, d2);
15564
15565 ;
15566 return 0;
15567 }
15568 _ACEOF
15569 rm -f conftest.$ac_objext
15570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15571 (eval $ac_compile) 2>conftest.er1
15572 ac_status=$?
15573 grep -v '^ *+' conftest.er1 >conftest.err
15574 rm -f conftest.er1
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -z "$ac_cxx_werror_flag"
15579 || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 ac_c99_math=yes
15592 else
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15595
15596 ac_c99_math=no
15597 fi
15598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15599 else
15600 if test x$gcc_no_link = xyes; then
15601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15603 { (exit 1); exit 1; }; }
15604 fi
15605 cat >conftest.$ac_ext <<_ACEOF
15606 /* confdefs.h. */
15607 _ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15611 #include <math.h>
15612 volatile double d1, d2;
15613 volatile int i;
15614 int
15615 main ()
15616 {
15617 i = fpclassify(d1);
15618 i = isfinite(d1);
15619 i = isinf(d1);
15620 i = isnan(d1);
15621 i = isnormal(d1);
15622 i = signbit(d1);
15623 i = isgreater(d1, d2);
15624 i = isgreaterequal(d1, d2);
15625 i = isless(d1, d2);
15626 i = islessequal(d1, d2);
15627 i = islessgreater(d1, d2);
15628 i = islessgreater(d1, d2);
15629 i = isunordered(d1, d2);
15630
15631 ;
15632 return 0;
15633 }
15634 _ACEOF
15635 rm -f conftest.$ac_objext conftest$ac_exeext
15636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15637 (eval $ac_link) 2>conftest.er1
15638 ac_status=$?
15639 grep -v '^ *+' conftest.er1 >conftest.err
15640 rm -f conftest.er1
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try='test -z "$ac_cxx_werror_flag"
15645 || test ! -s conftest.err'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; } &&
15651 { ac_try='test -s conftest$ac_exeext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_c99_math=yes
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 ac_c99_math=no
15663 fi
15664 rm -f conftest.err conftest.$ac_objext \
15665 conftest$ac_exeext conftest.$ac_ext
15666 fi
15667
15668 fi
15669
15670 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15671 echo "${ECHO_T}$ac_c99_math" >&6
15672 if test x"$ac_c99_math" = x"yes"; then
15673
15674 cat >>confdefs.h <<\_ACEOF
15675 #define _GLIBCXX_USE_C99_MATH 1
15676 _ACEOF
15677
15678 fi
15679
15680 # Check for the existence of <complex.h> complex math functions.
15681 # This is necessary even though libstdc++ uses the builtin versions
15682 # of these functions, because if the builtin cannot be used, a reference
15683 # to the library function is emitted.
15684
15685 for ac_header in tgmath.h
15686 do
15687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15689 echo "$as_me:$LINENO: checking for $ac_header" >&5
15690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 fi
15694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15696 else
15697 # Is the header compilable?
15698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15707 #include <$ac_header>
15708 _ACEOF
15709 rm -f conftest.$ac_objext
15710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15711 (eval $ac_compile) 2>conftest.er1
15712 ac_status=$?
15713 grep -v '^ *+' conftest.er1 >conftest.err
15714 rm -f conftest.er1
15715 cat conftest.err >&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } &&
15718 { ac_try='test -z "$ac_cxx_werror_flag"
15719 || test ! -s conftest.err'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 ac_header_compiler=yes
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 ac_header_compiler=no
15737 fi
15738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15740 echo "${ECHO_T}$ac_header_compiler" >&6
15741
15742 # Is the header present?
15743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <$ac_header>
15752 _ACEOF
15753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15755 ac_status=$?
15756 grep -v '^ *+' conftest.er1 >conftest.err
15757 rm -f conftest.er1
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } >/dev/null; then
15761 if test -s conftest.err; then
15762 ac_cpp_err=$ac_cxx_preproc_warn_flag
15763 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15764 else
15765 ac_cpp_err=
15766 fi
15767 else
15768 ac_cpp_err=yes
15769 fi
15770 if test -z "$ac_cpp_err"; then
15771 ac_header_preproc=yes
15772 else
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15775
15776 ac_header_preproc=no
15777 fi
15778 rm -f conftest.err conftest.$ac_ext
15779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15780 echo "${ECHO_T}$ac_header_preproc" >&6
15781
15782 # So? What about this header?
15783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15784 yes:no: )
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15789 ac_header_preproc=yes
15790 ;;
15791 no:yes:* )
15792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15804 (
15805 cat <<\_ASBOX
15806 ## ----------------------------------------- ##
15807 ## Report this to the package-unused lists. ##
15808 ## ----------------------------------------- ##
15809 _ASBOX
15810 ) |
15811 sed "s/^/$as_me: WARNING: /" >&2
15812 ;;
15813 esac
15814 echo "$as_me:$LINENO: checking for $ac_header" >&5
15815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819 eval "$as_ac_Header=\$ac_header_preproc"
15820 fi
15821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15823
15824 fi
15825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15826 cat >>confdefs.h <<_ACEOF
15827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15828 _ACEOF
15829 ac_has_tgmath_h=yes
15830 else
15831 ac_has_tgmath_h=no
15832 fi
15833
15834 done
15835
15836
15837 for ac_header in complex.h
15838 do
15839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15841 echo "$as_me:$LINENO: checking for $ac_header" >&5
15842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15844 echo $ECHO_N "(cached) $ECHO_C" >&6
15845 fi
15846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15848 else
15849 # Is the header compilable?
15850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15852 cat >conftest.$ac_ext <<_ACEOF
15853 /* confdefs.h. */
15854 _ACEOF
15855 cat confdefs.h >>conftest.$ac_ext
15856 cat >>conftest.$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 $ac_includes_default
15859 #include <$ac_header>
15860 _ACEOF
15861 rm -f conftest.$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>conftest.er1
15864 ac_status=$?
15865 grep -v '^ *+' conftest.er1 >conftest.err
15866 rm -f conftest.er1
15867 cat conftest.err >&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } &&
15870 { ac_try='test -z "$ac_cxx_werror_flag"
15871 || test ! -s conftest.err'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; } &&
15877 { ac_try='test -s conftest.$ac_objext'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15880 ac_status=$?
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; }; then
15883 ac_header_compiler=yes
15884 else
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.$ac_ext >&5
15887
15888 ac_header_compiler=no
15889 fi
15890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15892 echo "${ECHO_T}$ac_header_compiler" >&6
15893
15894 # Is the header present?
15895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15897 cat >conftest.$ac_ext <<_ACEOF
15898 /* confdefs.h. */
15899 _ACEOF
15900 cat confdefs.h >>conftest.$ac_ext
15901 cat >>conftest.$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 #include <$ac_header>
15904 _ACEOF
15905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } >/dev/null; then
15913 if test -s conftest.err; then
15914 ac_cpp_err=$ac_cxx_preproc_warn_flag
15915 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15916 else
15917 ac_cpp_err=
15918 fi
15919 else
15920 ac_cpp_err=yes
15921 fi
15922 if test -z "$ac_cpp_err"; then
15923 ac_header_preproc=yes
15924 else
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.$ac_ext >&5
15927
15928 ac_header_preproc=no
15929 fi
15930 rm -f conftest.err conftest.$ac_ext
15931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15932 echo "${ECHO_T}$ac_header_preproc" >&6
15933
15934 # So? What about this header?
15935 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15936 yes:no: )
15937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15941 ac_header_preproc=yes
15942 ;;
15943 no:yes:* )
15944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15956 (
15957 cat <<\_ASBOX
15958 ## ----------------------------------------- ##
15959 ## Report this to the package-unused lists. ##
15960 ## ----------------------------------------- ##
15961 _ASBOX
15962 ) |
15963 sed "s/^/$as_me: WARNING: /" >&2
15964 ;;
15965 esac
15966 echo "$as_me:$LINENO: checking for $ac_header" >&5
15967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 eval "$as_ac_Header=\$ac_header_preproc"
15972 fi
15973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15975
15976 fi
15977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15978 cat >>confdefs.h <<_ACEOF
15979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15980 _ACEOF
15981 ac_has_complex_h=yes
15982 else
15983 ac_has_complex_h=no
15984 fi
15985
15986 done
15987
15988 ac_c99_complex=no;
15989 if test x"$ac_has_complex_h" = x"yes"; then
15990 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15991 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15992 if test x$gcc_no_link = xyes; then
15993 cat >conftest.$ac_ext <<_ACEOF
15994 /* confdefs.h. */
15995 _ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 #include <complex.h>
16000 typedef __complex__ float float_type;
16001 typedef __complex__ double double_type;
16002 typedef __complex__ long double ld_type;
16003 volatile float_type tmpf;
16004 volatile double_type tmpd;
16005 volatile ld_type tmpld;
16006 volatile float f;
16007 volatile double d;
16008 volatile long double ld;
16009 int
16010 main ()
16011 {
16012 f = cabsf(tmpf);
16013 f = cargf(tmpf);
16014 tmpf = ccosf(tmpf);
16015 tmpf = ccoshf(tmpf);
16016 tmpf = cexpf(tmpf);
16017 tmpf = clogf(tmpf);
16018 tmpf = csinf(tmpf);
16019 tmpf = csinhf(tmpf);
16020 tmpf = csqrtf(tmpf);
16021 tmpf = ctanf(tmpf);
16022 tmpf = ctanhf(tmpf);
16023 tmpf = cpowf(tmpf, tmpf);
16024 d = cabs(tmpd);
16025 d = carg(tmpd);
16026 tmpd = ccos(tmpd);
16027 tmpd = ccosh(tmpd);
16028 tmpd = cexp(tmpd);
16029 tmpd = clog(tmpd);
16030 tmpd = csin(tmpd);
16031 tmpd = csinh(tmpd);
16032 tmpd = csqrt(tmpd);
16033 tmpd = ctan(tmpd);
16034 tmpd = ctanh(tmpd);
16035 tmpd = cpow(tmpd, tmpd);
16036 ld = cabsl(tmpld);
16037 ld = cargl(tmpld);
16038 tmpld = ccosl(tmpld);
16039 tmpld = ccoshl(tmpld);
16040 tmpld = cexpl(tmpld);
16041 tmpld = clogl(tmpld);
16042 tmpld = csinl(tmpld);
16043 tmpld = csinhl(tmpld);
16044 tmpld = csqrtl(tmpld);
16045 tmpld = ctanl(tmpld);
16046 tmpld = ctanhl(tmpld);
16047 tmpld = cpowl(tmpld, tmpld);
16048
16049 ;
16050 return 0;
16051 }
16052 _ACEOF
16053 rm -f conftest.$ac_objext
16054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16055 (eval $ac_compile) 2>conftest.er1
16056 ac_status=$?
16057 grep -v '^ *+' conftest.er1 >conftest.err
16058 rm -f conftest.er1
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try='test -z "$ac_cxx_werror_flag"
16063 || test ! -s conftest.err'
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16066 ac_status=$?
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; } &&
16069 { ac_try='test -s conftest.$ac_objext'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16072 ac_status=$?
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; }; then
16075 ac_c99_complex=yes
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16079
16080 ac_c99_complex=no
16081 fi
16082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16083 else
16084 if test x$gcc_no_link = xyes; then
16085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16087 { (exit 1); exit 1; }; }
16088 fi
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 #include <complex.h>
16096 typedef __complex__ float float_type;
16097 typedef __complex__ double double_type;
16098 typedef __complex__ long double ld_type;
16099 volatile float_type tmpf;
16100 volatile double_type tmpd;
16101 volatile ld_type tmpld;
16102 volatile float f;
16103 volatile double d;
16104 volatile long double ld;
16105 int
16106 main ()
16107 {
16108 f = cabsf(tmpf);
16109 f = cargf(tmpf);
16110 tmpf = ccosf(tmpf);
16111 tmpf = ccoshf(tmpf);
16112 tmpf = cexpf(tmpf);
16113 tmpf = clogf(tmpf);
16114 tmpf = csinf(tmpf);
16115 tmpf = csinhf(tmpf);
16116 tmpf = csqrtf(tmpf);
16117 tmpf = ctanf(tmpf);
16118 tmpf = ctanhf(tmpf);
16119 tmpf = cpowf(tmpf, tmpf);
16120 d = cabs(tmpd);
16121 d = carg(tmpd);
16122 tmpd = ccos(tmpd);
16123 tmpd = ccosh(tmpd);
16124 tmpd = cexp(tmpd);
16125 tmpd = clog(tmpd);
16126 tmpd = csin(tmpd);
16127 tmpd = csinh(tmpd);
16128 tmpd = csqrt(tmpd);
16129 tmpd = ctan(tmpd);
16130 tmpd = ctanh(tmpd);
16131 tmpd = cpow(tmpd, tmpd);
16132 ld = cabsl(tmpld);
16133 ld = cargl(tmpld);
16134 tmpld = ccosl(tmpld);
16135 tmpld = ccoshl(tmpld);
16136 tmpld = cexpl(tmpld);
16137 tmpld = clogl(tmpld);
16138 tmpld = csinl(tmpld);
16139 tmpld = csinhl(tmpld);
16140 tmpld = csqrtl(tmpld);
16141 tmpld = ctanl(tmpld);
16142 tmpld = ctanhl(tmpld);
16143 tmpld = cpowl(tmpld, tmpld);
16144
16145 ;
16146 return 0;
16147 }
16148 _ACEOF
16149 rm -f conftest.$ac_objext conftest$ac_exeext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try='test -z "$ac_cxx_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest$ac_exeext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 ac_c99_complex=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16175
16176 ac_c99_complex=no
16177 fi
16178 rm -f conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16180 fi
16181 fi
16182 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16183 echo "${ECHO_T}$ac_c99_complex" >&6
16184 if test x"$ac_c99_complex" = x"yes"; then
16185
16186 cat >>confdefs.h <<\_ACEOF
16187 #define _GLIBCXX_USE_C99_COMPLEX 1
16188 _ACEOF
16189
16190 fi
16191
16192 # Check for the existence in <stdio.h> of vscanf, et. al.
16193 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16194 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16195 if test "${ac_c99_stdio+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198
16199 if test x$gcc_no_link = xyes; then
16200 cat >conftest.$ac_ext <<_ACEOF
16201 /* confdefs.h. */
16202 _ACEOF
16203 cat confdefs.h >>conftest.$ac_ext
16204 cat >>conftest.$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 #include <stdio.h>
16207 #include <stdarg.h>
16208 void foo(char* fmt, ...)
16209 {
16210 va_list args; va_start(args, fmt);
16211 vfscanf(stderr, "%i", args);
16212 vscanf("%i", args);
16213 vsnprintf(fmt, 0, "%i", args);
16214 vsscanf(fmt, "%i", args);
16215 }
16216 int
16217 main ()
16218 {
16219 snprintf("12", 0, "%i");
16220 ;
16221 return 0;
16222 }
16223 _ACEOF
16224 rm -f conftest.$ac_objext
16225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16226 (eval $ac_compile) 2>conftest.er1
16227 ac_status=$?
16228 grep -v '^ *+' conftest.er1 >conftest.err
16229 rm -f conftest.er1
16230 cat conftest.err >&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } &&
16233 { ac_try='test -z "$ac_cxx_werror_flag"
16234 || test ! -s conftest.err'
16235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16236 (eval $ac_try) 2>&5
16237 ac_status=$?
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; } &&
16240 { ac_try='test -s conftest.$ac_objext'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16243 ac_status=$?
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; }; then
16246 ac_c99_stdio=yes
16247 else
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.$ac_ext >&5
16250
16251 ac_c99_stdio=no
16252 fi
16253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16254 else
16255 if test x$gcc_no_link = xyes; then
16256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16258 { (exit 1); exit 1; }; }
16259 fi
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 #include <stdio.h>
16267 #include <stdarg.h>
16268 void foo(char* fmt, ...)
16269 {
16270 va_list args; va_start(args, fmt);
16271 vfscanf(stderr, "%i", args);
16272 vscanf("%i", args);
16273 vsnprintf(fmt, 0, "%i", args);
16274 vsscanf(fmt, "%i", args);
16275 }
16276 int
16277 main ()
16278 {
16279 snprintf("12", 0, "%i");
16280 ;
16281 return 0;
16282 }
16283 _ACEOF
16284 rm -f conftest.$ac_objext conftest$ac_exeext
16285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16286 (eval $ac_link) 2>conftest.er1
16287 ac_status=$?
16288 grep -v '^ *+' conftest.er1 >conftest.err
16289 rm -f conftest.er1
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } &&
16293 { ac_try='test -z "$ac_cxx_werror_flag"
16294 || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_c99_stdio=yes
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 ac_c99_stdio=no
16312 fi
16313 rm -f conftest.err conftest.$ac_objext \
16314 conftest$ac_exeext conftest.$ac_ext
16315 fi
16316
16317 fi
16318
16319 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16320 echo "${ECHO_T}$ac_c99_stdio" >&6
16321
16322 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16323 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16324 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16325 if test "${ac_c99_stdlib+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16328
16329 if test x$gcc_no_link = xyes; then
16330 cat >conftest.$ac_ext <<_ACEOF
16331 /* confdefs.h. */
16332 _ACEOF
16333 cat confdefs.h >>conftest.$ac_ext
16334 cat >>conftest.$ac_ext <<_ACEOF
16335 /* end confdefs.h. */
16336 #include <stdlib.h>
16337 volatile float f;
16338 volatile long double ld;
16339 volatile unsigned long long ll;
16340 lldiv_t mydivt;
16341 int
16342 main ()
16343 {
16344 char* tmp;
16345 f = strtof("gnu", &tmp);
16346 ld = strtold("gnu", &tmp);
16347 ll = strtoll("gnu", &tmp, 10);
16348 ll = strtoull("gnu", &tmp, 10);
16349 ll = llabs(10);
16350 mydivt = lldiv(10,1);
16351 ll = mydivt.quot;
16352 ll = mydivt.rem;
16353 ll = atoll("10");
16354 _Exit(0);
16355
16356 ;
16357 return 0;
16358 }
16359 _ACEOF
16360 rm -f conftest.$ac_objext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16362 (eval $ac_compile) 2>conftest.er1
16363 ac_status=$?
16364 grep -v '^ *+' conftest.er1 >conftest.err
16365 rm -f conftest.er1
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try='test -z "$ac_cxx_werror_flag"
16370 || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try='test -s conftest.$ac_objext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_c99_stdlib=yes
16383 else
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.$ac_ext >&5
16386
16387 ac_c99_stdlib=no
16388 fi
16389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16390 else
16391 if test x$gcc_no_link = xyes; then
16392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16394 { (exit 1); exit 1; }; }
16395 fi
16396 cat >conftest.$ac_ext <<_ACEOF
16397 /* confdefs.h. */
16398 _ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402 #include <stdlib.h>
16403 volatile float f;
16404 volatile long double ld;
16405 volatile unsigned long long ll;
16406 lldiv_t mydivt;
16407 int
16408 main ()
16409 {
16410 char* tmp;
16411 f = strtof("gnu", &tmp);
16412 ld = strtold("gnu", &tmp);
16413 ll = strtoll("gnu", &tmp, 10);
16414 ll = strtoull("gnu", &tmp, 10);
16415 ll = llabs(10);
16416 mydivt = lldiv(10,1);
16417 ll = mydivt.quot;
16418 ll = mydivt.rem;
16419 ll = atoll("10");
16420 _Exit(0);
16421
16422 ;
16423 return 0;
16424 }
16425 _ACEOF
16426 rm -f conftest.$ac_objext conftest$ac_exeext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428 (eval $ac_link) 2>conftest.er1
16429 ac_status=$?
16430 grep -v '^ *+' conftest.er1 >conftest.err
16431 rm -f conftest.er1
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try='test -z "$ac_cxx_werror_flag"
16436 || test ! -s conftest.err'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; } &&
16442 { ac_try='test -s conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_c99_stdlib=yes
16449 else
16450 echo "$as_me: failed program was:" >&5
16451 sed 's/^/| /' conftest.$ac_ext >&5
16452
16453 ac_c99_stdlib=no
16454 fi
16455 rm -f conftest.err conftest.$ac_objext \
16456 conftest$ac_exeext conftest.$ac_ext
16457 fi
16458
16459 fi
16460
16461 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16462 echo "${ECHO_T}$ac_c99_stdlib" >&6
16463
16464 # Check for the existence in <wchar.h> of wcstold, etc.
16465 ac_c99_wchar=no;
16466 if test x"$ac_has_wchar_h" = xyes &&
16467 test x"$ac_has_wctype_h" = xyes; then
16468 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16469 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 #include <wchar.h>
16477 namespace test
16478 {
16479 using ::wcstold;
16480 using ::wcstoll;
16481 using ::wcstoull;
16482 }
16483
16484 int
16485 main ()
16486 {
16487
16488 ;
16489 return 0;
16490 }
16491 _ACEOF
16492 rm -f conftest.$ac_objext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16494 (eval $ac_compile) 2>conftest.er1
16495 ac_status=$?
16496 grep -v '^ *+' conftest.er1 >conftest.err
16497 rm -f conftest.er1
16498 cat conftest.err >&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); } &&
16501 { ac_try='test -z "$ac_cxx_werror_flag"
16502 || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try='test -s conftest.$ac_objext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 ac_c99_wchar=yes
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16518
16519 ac_c99_wchar=no
16520 fi
16521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16522
16523 # Checks for wide character functions that may not be present.
16524 # Injection of these is wrapped with guard macros.
16525 # NB: only put functions here, instead of immediately above, if
16526 # absolutely necessary.
16527 cat >conftest.$ac_ext <<_ACEOF
16528 /* confdefs.h. */
16529 _ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 #include <wchar.h>
16534 namespace test { using ::vfwscanf; }
16535 int
16536 main ()
16537 {
16538
16539 ;
16540 return 0;
16541 }
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>conftest.er1
16546 ac_status=$?
16547 grep -v '^ *+' conftest.er1 >conftest.err
16548 rm -f conftest.er1
16549 cat conftest.err >&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try='test -z "$ac_cxx_werror_flag"
16553 || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16565
16566 cat >>confdefs.h <<\_ACEOF
16567 #define HAVE_VFWSCANF 1
16568 _ACEOF
16569
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 fi
16575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16576
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #include <wchar.h>
16584 namespace test { using ::vswscanf; }
16585 int
16586 main ()
16587 {
16588
16589 ;
16590 return 0;
16591 }
16592 _ACEOF
16593 rm -f conftest.$ac_objext
16594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try='test -z "$ac_cxx_werror_flag"
16603 || test ! -s conftest.err'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; } &&
16609 { ac_try='test -s conftest.$ac_objext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615
16616 cat >>confdefs.h <<\_ACEOF
16617 #define HAVE_VSWSCANF 1
16618 _ACEOF
16619
16620 else
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16623
16624 fi
16625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16626
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 #include <wchar.h>
16634 namespace test { using ::vwscanf; }
16635 int
16636 main ()
16637 {
16638
16639 ;
16640 return 0;
16641 }
16642 _ACEOF
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_cxx_werror_flag"
16653 || test ! -s conftest.err'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16656 ac_status=$?
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try='test -s conftest.$ac_objext'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; }; then
16665
16666 cat >>confdefs.h <<\_ACEOF
16667 #define HAVE_VWSCANF 1
16668 _ACEOF
16669
16670 else
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16673
16674 fi
16675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16676
16677 cat >conftest.$ac_ext <<_ACEOF
16678 /* confdefs.h. */
16679 _ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 #include <wchar.h>
16684 namespace test { using ::wcstof; }
16685 int
16686 main ()
16687 {
16688
16689 ;
16690 return 0;
16691 }
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16696 ac_status=$?
16697 grep -v '^ *+' conftest.er1 >conftest.err
16698 rm -f conftest.er1
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_cxx_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715
16716 cat >>confdefs.h <<\_ACEOF
16717 #define HAVE_WCSTOF 1
16718 _ACEOF
16719
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 fi
16725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16726
16727 cat >conftest.$ac_ext <<_ACEOF
16728 /* confdefs.h. */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 #include <wctype.h>
16734 int
16735 main ()
16736 {
16737 wint_t t; int i = iswblank(t);
16738 ;
16739 return 0;
16740 }
16741 _ACEOF
16742 rm -f conftest.$ac_objext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16744 (eval $ac_compile) 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } &&
16751 { ac_try='test -z "$ac_cxx_werror_flag"
16752 || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764
16765 cat >>confdefs.h <<\_ACEOF
16766 #define HAVE_ISWBLANK 1
16767 _ACEOF
16768
16769 else
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16772
16773 fi
16774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16775
16776 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16777 echo "${ECHO_T}$ac_c99_wchar" >&6
16778 fi
16779
16780 # Option parsed, now set things appropriately.
16781 if test x"$ac_c99_math" = x"no" ||
16782 test x"$ac_c99_complex" = x"no" ||
16783 test x"$ac_c99_stdio" = x"no" ||
16784 test x"$ac_c99_stdlib" = x"no" ||
16785 test x"$ac_c99_wchar" = x"no"; then
16786 enable_c99=no;
16787 else
16788
16789 cat >>confdefs.h <<\_ACEOF
16790 #define _GLIBCXX_USE_C99 1
16791 _ACEOF
16792
16793 fi
16794
16795 gcc_no_link="$ac_save_gcc_no_link"
16796 LIBS="$ac_save_LIBS"
16797 CXXFLAGS="$ac_save_CXXFLAGS"
16798 ac_ext=c
16799 ac_cpp='$CPP $CPPFLAGS'
16800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16803
16804 fi
16805
16806 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16807 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16808 echo "$as_me:$LINENO: result: $enable_c99" >&5
16809 echo "${ECHO_T}$enable_c99" >&6
16810
16811
16812 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16813 if test "${enable_concept_checks+set}" = set; then
16814 enableval="$enable_concept_checks"
16815
16816 case "$enableval" in
16817 yes|no) ;;
16818 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16819 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16820 { (exit 1); exit 1; }; } ;;
16821 esac
16822
16823 else
16824 enable_concept_checks=no
16825 fi;
16826
16827 if test $enable_concept_checks = yes; then
16828
16829 cat >>confdefs.h <<\_ACEOF
16830 #define _GLIBCXX_CONCEPT_CHECKS 1
16831 _ACEOF
16832
16833 fi
16834
16835
16836 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16837 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16838 enableval="$enable_libstdcxx_debug_flags"
16839 case "x$enable_libstdcxx_debug_flags" in
16840 xno | x) enable_libstdcxx_debug_flags= ;;
16841 x-*) ;;
16842 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16843 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16844 { (exit 1); exit 1; }; } ;;
16845 esac
16846 else
16847 enable_libstdcxx_debug_flags="-g3 -O0"
16848 fi;
16849
16850
16851 # Option parsed, now set things appropriately
16852 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16853
16854
16855 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16856 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16857
16858
16859 echo "$as_me:$LINENO: checking for additional debug build" >&5
16860 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16861 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16862 if test "${enable_libstdcxx_debug+set}" = set; then
16863 enableval="$enable_libstdcxx_debug"
16864
16865 case "$enableval" in
16866 yes|no) ;;
16867 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16868 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16869 { (exit 1); exit 1; }; } ;;
16870 esac
16871
16872 else
16873 enable_libstdcxx_debug=no
16874 fi;
16875
16876 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16877 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16878
16879
16880
16881
16882 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16883 # dependencies (omp.h and libgomp).
16884 enable_parallel=no;
16885 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16886 enable_parallel=yes;
16887 else
16888 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16889 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16890 fi
16891
16892 # Check to see if it's explicitly disabled.
16893 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16894 # [permit yes|no])
16895
16896 # if test x$enable_libgomp = xno; then
16897 # enable_parallel=no
16898 # fi
16899
16900 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16901 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16902 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16903 echo "${ECHO_T}$enable_parallel" >&6
16904
16905
16906 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16907 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16908 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16909 if test "${enable_cxx_flags+set}" = set; then
16910 enableval="$enable_cxx_flags"
16911 case "x$enable_cxx_flags" in
16912 xno | x) enable_cxx_flags= ;;
16913 x-*) ;;
16914 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16915 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16916 { (exit 1); exit 1; }; } ;;
16917 esac
16918 else
16919 enable_cxx_flags=
16920 fi;
16921
16922
16923 # Run through flags (either default or command-line) and set anything
16924 # extra (e.g., #defines) that must accompany particular g++ options.
16925 if test -n "$enable_cxx_flags"; then
16926 for f in $enable_cxx_flags; do
16927 case "$f" in
16928 -fhonor-std) ;;
16929 -*) ;;
16930 *) # and we're trying to pass /what/ exactly?
16931 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16932 echo "$as_me: error: compiler flags start with a -" >&2;}
16933 { (exit 1); exit 1; }; } ;;
16934 esac
16935 done
16936 fi
16937
16938 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16939 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16940 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16941
16942
16943
16944 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16945 if test "${enable_fully_dynamic_string+set}" = set; then
16946 enableval="$enable_fully_dynamic_string"
16947
16948 case "$enableval" in
16949 yes|no) ;;
16950 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16951 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16952 { (exit 1); exit 1; }; } ;;
16953 esac
16954
16955 else
16956 enable_fully_dynamic_string=no
16957 fi;
16958
16959 if test $enable_fully_dynamic_string = yes; then
16960
16961 cat >>confdefs.h <<\_ACEOF
16962 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16963 _ACEOF
16964
16965 fi
16966
16967
16968 # Checks for operating systems support that don't require linking.
16969
16970
16971 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16972 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16973 if test "${ac_system_error1+set}" = set; then
16974 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 else
16976
16977 cat >conftest.$ac_ext <<_ACEOF
16978 /* confdefs.h. */
16979 _ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h. */
16983 #include <errno.h>
16984 int
16985 main ()
16986 {
16987 int i = EOWNERDEAD;
16988 ;
16989 return 0;
16990 }
16991 _ACEOF
16992 rm -f conftest.$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try='test -z "$ac_c_werror_flag"
17002 || test ! -s conftest.err'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17005 ac_status=$?
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; } &&
17008 { ac_try='test -s conftest.$ac_objext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_system_error1=yes
17015 else
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17018
17019 ac_system_error1=no
17020 fi
17021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17022
17023 fi
17024
17025 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17026 echo "${ECHO_T}$ac_system_error1" >&6
17027 if test x"$ac_system_error1" = x"yes"; then
17028
17029 cat >>confdefs.h <<\_ACEOF
17030 #define HAVE_EOWNERDEAD 1
17031 _ACEOF
17032
17033 fi
17034
17035 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17036 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17037 if test "${ac_system_error2+set}" = set; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 else
17040
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 #include <errno.h>
17048 int
17049 main ()
17050 {
17051 int i = ENOTRECOVERABLE;
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try='test -z "$ac_c_werror_flag"
17066 || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17069 ac_status=$?
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try='test -s conftest.$ac_objext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17078 ac_system_error2=yes
17079 else
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17082
17083 ac_system_error2=no
17084 fi
17085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17086
17087 fi
17088
17089 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17090 echo "${ECHO_T}$ac_system_error2" >&6
17091 if test x"$ac_system_error2" = x"yes"; then
17092
17093 cat >>confdefs.h <<\_ACEOF
17094 #define HAVE_ENOTRECOVERABLE 1
17095 _ACEOF
17096
17097 fi
17098
17099 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17100 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17101 if test "${ac_system_error3+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17104
17105 cat >conftest.$ac_ext <<_ACEOF
17106 /* confdefs.h. */
17107 _ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111 #include <errno.h>
17112 int
17113 main ()
17114 {
17115 int i = ENOLINK;
17116 ;
17117 return 0;
17118 }
17119 _ACEOF
17120 rm -f conftest.$ac_objext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17122 (eval $ac_compile) 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } &&
17129 { ac_try='test -z "$ac_c_werror_flag"
17130 || test ! -s conftest.err'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17133 ac_status=$?
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } &&
17136 { ac_try='test -s conftest.$ac_objext'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17139 ac_status=$?
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 ac_system_error3=yes
17143 else
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17146
17147 ac_system_error3=no
17148 fi
17149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17150
17151 fi
17152
17153 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17154 echo "${ECHO_T}$ac_system_error3" >&6
17155 if test x"$ac_system_error3" = x"yes"; then
17156
17157 cat >>confdefs.h <<\_ACEOF
17158 #define HAVE_ENOLINK 1
17159 _ACEOF
17160
17161 fi
17162
17163 echo "$as_me:$LINENO: checking for EPROTO" >&5
17164 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17165 if test "${ac_system_error_4+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 #include <errno.h>
17176 int
17177 main ()
17178 {
17179 int i = EPROTO;
17180 ;
17181 return 0;
17182 }
17183 _ACEOF
17184 rm -f conftest.$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17187 ac_status=$?
17188 grep -v '^ *+' conftest.er1 >conftest.err
17189 rm -f conftest.er1
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag"
17194 || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_system_error_4=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17210
17211 ac_system_error_4=no
17212 fi
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17214
17215 fi
17216
17217 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17218 echo "${ECHO_T}$ac_system_error_4" >&6
17219 if test x"$ac_system_error_4" = x"yes"; then
17220
17221 cat >>confdefs.h <<\_ACEOF
17222 #define HAVE_EPROTO 1
17223 _ACEOF
17224
17225 fi
17226
17227 echo "$as_me:$LINENO: checking for ENODATA" >&5
17228 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17229 if test "${ac_system_error_5+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 else
17232
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 #include <errno.h>
17240 int
17241 main ()
17242 {
17243 int i = ENODATA;
17244 ;
17245 return 0;
17246 }
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_system_error_5=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17274
17275 ac_system_error_5=no
17276 fi
17277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278
17279 fi
17280
17281 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17282 echo "${ECHO_T}$ac_system_error_5" >&6
17283 if test x"$ac_system_error_5" = x"yes"; then
17284
17285 cat >>confdefs.h <<\_ACEOF
17286 #define HAVE_ENODATA 1
17287 _ACEOF
17288
17289 fi
17290
17291 echo "$as_me:$LINENO: checking for ENOSR" >&5
17292 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17293 if test "${ac_system_error_6+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 #include <errno.h>
17304 int
17305 main ()
17306 {
17307 int i = ENOSR;
17308 ;
17309 return 0;
17310 }
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -z "$ac_c_werror_flag"
17322 || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try='test -s conftest.$ac_objext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17331 ac_status=$?
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 ac_system_error_6=yes
17335 else
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17338
17339 ac_system_error_6=no
17340 fi
17341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17342
17343 fi
17344
17345 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17346 echo "${ECHO_T}$ac_system_error_6" >&6
17347 if test x"$ac_system_error_6" = x"yes"; then
17348
17349 cat >>confdefs.h <<\_ACEOF
17350 #define HAVE_ENOSR 1
17351 _ACEOF
17352
17353 fi
17354
17355 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17356 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17357 if test "${ac_system_error_7+set}" = set; then
17358 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 else
17360
17361 cat >conftest.$ac_ext <<_ACEOF
17362 /* confdefs.h. */
17363 _ACEOF
17364 cat confdefs.h >>conftest.$ac_ext
17365 cat >>conftest.$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 #include <errno.h>
17368 int
17369 main ()
17370 {
17371 int i = ENOSTR;
17372 ;
17373 return 0;
17374 }
17375 _ACEOF
17376 rm -f conftest.$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>conftest.er1
17379 ac_status=$?
17380 grep -v '^ *+' conftest.er1 >conftest.err
17381 rm -f conftest.er1
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } &&
17385 { ac_try='test -z "$ac_c_werror_flag"
17386 || test ! -s conftest.err'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; } &&
17392 { ac_try='test -s conftest.$ac_objext'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17398 ac_system_error_7=yes
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17402
17403 ac_system_error_7=no
17404 fi
17405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17406
17407 fi
17408
17409 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17410 echo "${ECHO_T}$ac_system_error_7" >&6
17411 if test x"$ac_system_error_7" = x"yes"; then
17412
17413 cat >>confdefs.h <<\_ACEOF
17414 #define HAVE_ENOSTR 1
17415 _ACEOF
17416
17417 fi
17418
17419 echo "$as_me:$LINENO: checking for ETIME" >&5
17420 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17421 if test "${ac_system_error_8+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17423 else
17424
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h. */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17431 #include <errno.h>
17432 int
17433 main ()
17434 {
17435 int i = ETIME;
17436 ;
17437 return 0;
17438 }
17439 _ACEOF
17440 rm -f conftest.$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17443 ac_status=$?
17444 grep -v '^ *+' conftest.er1 >conftest.err
17445 rm -f conftest.er1
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try='test -z "$ac_c_werror_flag"
17450 || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17459 ac_status=$?
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_system_error_8=yes
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 ac_system_error_8=no
17468 fi
17469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17470
17471 fi
17472
17473 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17474 echo "${ECHO_T}$ac_system_error_8" >&6
17475 if test x"$ac_system_error_8" = x"yes"; then
17476
17477 cat >>confdefs.h <<\_ACEOF
17478 #define HAVE_ETIME 1
17479 _ACEOF
17480
17481 fi
17482
17483 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17484 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17485 if test "${ac_system_error9+set}" = set; then
17486 echo $ECHO_N "(cached) $ECHO_C" >&6
17487 else
17488
17489 cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 #include <errno.h>
17496 int
17497 main ()
17498 {
17499 int i = sys_nerr;
17500 ;
17501 return 0;
17502 }
17503 _ACEOF
17504 rm -f conftest.$ac_objext
17505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17506 (eval $ac_compile) 2>conftest.er1
17507 ac_status=$?
17508 grep -v '^ *+' conftest.er1 >conftest.err
17509 rm -f conftest.er1
17510 cat conftest.err >&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } &&
17513 { ac_try='test -z "$ac_c_werror_flag"
17514 || test ! -s conftest.err'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; } &&
17520 { ac_try='test -s conftest.$ac_objext'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; }; then
17526 ac_system_error9=yes
17527 else
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531 ac_system_error9=no
17532 fi
17533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17534
17535 fi
17536
17537 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17538 echo "${ECHO_T}$ac_system_error9" >&6
17539 if test x"$ac_system_error9" = x"yes"; then
17540
17541 cat >>confdefs.h <<\_ACEOF
17542 #define HAVE_SYS_NERR 1
17543 _ACEOF
17544
17545 fi
17546
17547 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17548 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17549 if test "${ac_system_error_10+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17551 else
17552
17553 cat >conftest.$ac_ext <<_ACEOF
17554 /* confdefs.h. */
17555 _ACEOF
17556 cat confdefs.h >>conftest.$ac_ext
17557 cat >>conftest.$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559 #include <errno.h>
17560 int
17561 main ()
17562 {
17563 int i = EBADMSG;
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17571 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try='test -z "$ac_c_werror_flag"
17578 || test ! -s conftest.err'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17581 ac_status=$?
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; } &&
17584 { ac_try='test -s conftest.$ac_objext'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; }; then
17590 ac_system_error_10=yes
17591 else
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17594
17595 ac_system_error_10=no
17596 fi
17597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17598
17599 fi
17600
17601 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17602 echo "${ECHO_T}$ac_system_error_10" >&6
17603 if test x"$ac_system_error_10" = x"yes"; then
17604
17605 cat >>confdefs.h <<\_ACEOF
17606 #define HAVE_EBADMSG 1
17607 _ACEOF
17608
17609 fi
17610
17611 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17612 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17613 if test "${ac_system_error_11+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 else
17616
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #include <errno.h>
17624 int
17625 main ()
17626 {
17627 int i = ECANCELED;
17628 ;
17629 return 0;
17630 }
17631 _ACEOF
17632 rm -f conftest.$ac_objext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17634 (eval $ac_compile) 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try='test -z "$ac_c_werror_flag"
17642 || test ! -s conftest.err'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17645 ac_status=$?
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; } &&
17648 { ac_try='test -s conftest.$ac_objext'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17651 ac_status=$?
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 ac_system_error_11=yes
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17658
17659 ac_system_error_11=no
17660 fi
17661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17662
17663 fi
17664
17665 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17666 echo "${ECHO_T}$ac_system_error_11" >&6
17667 if test x"$ac_system_error_11" = x"yes"; then
17668
17669 cat >>confdefs.h <<\_ACEOF
17670 #define HAVE_ECANCELED 1
17671 _ACEOF
17672
17673 fi
17674
17675 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17676 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17677 if test "${ac_system_error_12+set}" = set; then
17678 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 else
17680
17681 cat >conftest.$ac_ext <<_ACEOF
17682 /* confdefs.h. */
17683 _ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 #include <errno.h>
17688 int
17689 main ()
17690 {
17691 int i = EOVERFLOW;
17692 ;
17693 return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17699 ac_status=$?
17700 grep -v '^ *+' conftest.er1 >conftest.err
17701 rm -f conftest.er1
17702 cat conftest.err >&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try='test -z "$ac_c_werror_flag"
17706 || test ! -s conftest.err'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; } &&
17712 { ac_try='test -s conftest.$ac_objext'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 ac_system_error_12=yes
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 ac_system_error_12=no
17724 fi
17725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17726
17727 fi
17728
17729 echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17730 echo "${ECHO_T}$ac_system_error_12" >&6
17731 if test x"$ac_system_error_12" = x"yes"; then
17732
17733 cat >>confdefs.h <<\_ACEOF
17734 #define HAVE_EOVERFLOW 1
17735 _ACEOF
17736
17737 fi
17738
17739
17740 # No surprises, no surprises...
17741
17742 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17743 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17744 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17745 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17746 echo "${ECHO_T}$target_thread_file" >&6
17747
17748 if test $target_thread_file != single; then
17749
17750 cat >>confdefs.h <<\_ACEOF
17751 #define HAVE_GTHR_DEFAULT 1
17752 _ACEOF
17753
17754 fi
17755
17756 glibcxx_thread_h=gthr-$target_thread_file.h
17757
17758 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17759 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17760 enable_thread=yes
17761 else
17762 enable_thread=no
17763 fi
17764
17765
17766
17767
17768 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17769 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17770
17771
17772 ac_ext=cc
17773 ac_cpp='$CXXCPP $CPPFLAGS'
17774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17777
17778
17779 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17780 cat > conftest.$ac_ext << EOF
17781 #line 17781 "configure"
17782 int main()
17783 {
17784 // NB: _Atomic_word not necessarily int.
17785 typedef int atomic_type;
17786 atomic_type c1;
17787 atomic_type c2;
17788 const atomic_type c3(0);
17789 if (__sync_fetch_and_add(&c1, c2) == c3)
17790 {
17791 // Do something.
17792 }
17793 return 0;
17794 }
17795 EOF
17796 old_CXXFLAGS="$CXXFLAGS"
17797 CXXFLAGS=-S
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799 (eval $ac_compile) 2>&5
17800 ac_status=$?
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; then
17803 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17804 enable_atomic_builtins=no
17805 else
17806
17807 cat >>confdefs.h <<\_ACEOF
17808 #define _GLIBCXX_ATOMIC_BUILTINS 1
17809 _ACEOF
17810
17811 enable_atomic_builtins=yes
17812 atomicity_dir=cpu/generic/atomicity_builtins
17813 fi
17814 fi
17815 CXXFLAGS="$old_CXXFLAGS"
17816 rm -f conftest*
17817
17818 # Now, if still generic, set to mutex.
17819 if test $atomicity_dir = "cpu/generic" ; then
17820 atomicity_dir=cpu/generic/atomicity_mutex
17821 fi
17822 ac_ext=c
17823 ac_cpp='$CPP $CPPFLAGS'
17824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17827
17828 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17829 echo "${ECHO_T}$enable_atomic_builtins" >&6
17830
17831 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17832 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17833 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17834 if test $target_thread_file = single; then
17835 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17836 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17837 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17838 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17839 else
17840 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17841 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17842 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17843 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17844 fi
17845 fi
17846
17847
17848 # All these tests are for C++; save the language and the compiler flags.
17849 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17850 # found in GLIBCXX_CONFIGURE.
17851
17852
17853 ac_ext=cc
17854 ac_cpp='$CXXCPP $CPPFLAGS'
17855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17858
17859 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17860 ac_save_CXXFLAGS="$CXXFLAGS"
17861
17862 # Check for maintainer-mode bits.
17863 if test x"$USE_MAINTAINER_MODE" = xno; then
17864 WERROR=''
17865 else
17866 WERROR='-Werror'
17867 fi
17868
17869 # Check for -ffunction-sections -fdata-sections
17870 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17871 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17872 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17873 cat >conftest.$ac_ext <<_ACEOF
17874 /* confdefs.h. */
17875 _ACEOF
17876 cat confdefs.h >>conftest.$ac_ext
17877 cat >>conftest.$ac_ext <<_ACEOF
17878 /* end confdefs.h. */
17879 int foo; void bar() { };
17880 int
17881 main ()
17882 {
17883
17884 ;
17885 return 0;
17886 }
17887 _ACEOF
17888 rm -f conftest.$ac_objext
17889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17890 (eval $ac_compile) 2>conftest.er1
17891 ac_status=$?
17892 grep -v '^ *+' conftest.er1 >conftest.err
17893 rm -f conftest.er1
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } &&
17897 { ac_try='test -z "$ac_cxx_werror_flag"
17898 || test ! -s conftest.err'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; } &&
17904 { ac_try='test -s conftest.$ac_objext'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17907 ac_status=$?
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; }; then
17910 ac_fdsections=yes
17911 else
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17914
17915 ac_fdsections=no
17916 fi
17917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17918 if test "$ac_test_CXXFLAGS" = set; then
17919 CXXFLAGS="$ac_save_CXXFLAGS"
17920 else
17921 # this is the suspicious part
17922 CXXFLAGS=''
17923 fi
17924 if test x"$ac_fdsections" = x"yes"; then
17925 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17926 fi
17927 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17928 echo "${ECHO_T}$ac_fdsections" >&6
17929
17930 ac_ext=c
17931 ac_cpp='$CPP $CPPFLAGS'
17932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17935
17936
17937
17938
17939
17940 if $GLIBCXX_IS_NATIVE; then
17941
17942 # We can do more elaborate tests that assume a working linker.
17943 CANADIAN=no
17944
17945 # Check for available headers.
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17962 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17963 sys/types.h sys/ipc.h sys/sem.h
17964 do
17965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17967 echo "$as_me:$LINENO: checking for $ac_header" >&5
17968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 fi
17972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17974 else
17975 # Is the header compilable?
17976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17978 cat >conftest.$ac_ext <<_ACEOF
17979 /* confdefs.h. */
17980 _ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17984 $ac_includes_default
17985 #include <$ac_header>
17986 _ACEOF
17987 rm -f conftest.$ac_objext
17988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17989 (eval $ac_compile) 2>conftest.er1
17990 ac_status=$?
17991 grep -v '^ *+' conftest.er1 >conftest.err
17992 rm -f conftest.er1
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } &&
17996 { ac_try='test -z "$ac_c_werror_flag"
17997 || test ! -s conftest.err'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18000 ac_status=$?
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; } &&
18003 { ac_try='test -s conftest.$ac_objext'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18006 ac_status=$?
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; }; then
18009 ac_header_compiler=yes
18010 else
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18013
18014 ac_header_compiler=no
18015 fi
18016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18018 echo "${ECHO_T}$ac_header_compiler" >&6
18019
18020 # Is the header present?
18021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18023 cat >conftest.$ac_ext <<_ACEOF
18024 /* confdefs.h. */
18025 _ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 #include <$ac_header>
18030 _ACEOF
18031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18033 ac_status=$?
18034 grep -v '^ *+' conftest.er1 >conftest.err
18035 rm -f conftest.er1
18036 cat conftest.err >&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } >/dev/null; then
18039 if test -s conftest.err; then
18040 ac_cpp_err=$ac_c_preproc_warn_flag
18041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18042 else
18043 ac_cpp_err=
18044 fi
18045 else
18046 ac_cpp_err=yes
18047 fi
18048 if test -z "$ac_cpp_err"; then
18049 ac_header_preproc=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 ac_header_preproc=no
18055 fi
18056 rm -f conftest.err conftest.$ac_ext
18057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18058 echo "${ECHO_T}$ac_header_preproc" >&6
18059
18060 # So? What about this header?
18061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18062 yes:no: )
18063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18067 ac_header_preproc=yes
18068 ;;
18069 no:yes:* )
18070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18082 (
18083 cat <<\_ASBOX
18084 ## ----------------------------------------- ##
18085 ## Report this to the package-unused lists. ##
18086 ## ----------------------------------------- ##
18087 _ASBOX
18088 ) |
18089 sed "s/^/$as_me: WARNING: /" >&2
18090 ;;
18091 esac
18092 echo "$as_me:$LINENO: checking for $ac_header" >&5
18093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 eval "$as_ac_Header=\$ac_header_preproc"
18098 fi
18099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18101
18102 fi
18103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18104 cat >>confdefs.h <<_ACEOF
18105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18106 _ACEOF
18107
18108 fi
18109
18110 done
18111
18112
18113
18114
18115 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18116 if test "${with_gnu_ld+set}" = set; then
18117 withval="$with_gnu_ld"
18118 test "$withval" = no || with_gnu_ld=yes
18119 else
18120 with_gnu_ld=no
18121 fi;
18122 ac_prog=ld
18123 if test "$GCC" = yes; then
18124 # Check if gcc -print-prog-name=ld gives a path.
18125 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18126 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18127 case $host in
18128 *-*-mingw*)
18129 # gcc leaves a trailing carriage return which upsets mingw
18130 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18131 *)
18132 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18133 esac
18134 case $ac_prog in
18135 # Accept absolute paths.
18136 [\\/]* | ?:[\\/]*)
18137 re_direlt='/[^/][^/]*/\.\./'
18138 # Canonicalize the pathname of ld
18139 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18140 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18141 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18142 done
18143 test -z "$LD" && LD="$ac_prog"
18144 ;;
18145 "")
18146 # If it fails, then pretend we aren't using GCC.
18147 ac_prog=ld
18148 ;;
18149 *)
18150 # If it is relative, then search for the first ld in PATH.
18151 with_gnu_ld=unknown
18152 ;;
18153 esac
18154 elif test "$with_gnu_ld" = yes; then
18155 echo "$as_me:$LINENO: checking for GNU ld" >&5
18156 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18157 else
18158 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18159 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18160 fi
18161 if test "${lt_cv_path_LD+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 else
18164 if test -z "$LD"; then
18165 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18166 for ac_dir in $PATH; do
18167 IFS="$lt_save_ifs"
18168 test -z "$ac_dir" && ac_dir=.
18169 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18170 lt_cv_path_LD="$ac_dir/$ac_prog"
18171 # Check to see if the program is GNU ld. I'd rather use --version,
18172 # but apparently some variants of GNU ld only accept -v.
18173 # Break only if it was the GNU/non-GNU ld that we prefer.
18174 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18175 *GNU* | *'with BFD'*)
18176 test "$with_gnu_ld" != no && break
18177 ;;
18178 *)
18179 test "$with_gnu_ld" != yes && break
18180 ;;
18181 esac
18182 fi
18183 done
18184 IFS="$lt_save_ifs"
18185 else
18186 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18187 fi
18188 fi
18189
18190 LD="$lt_cv_path_LD"
18191 if test -n "$LD"; then
18192 echo "$as_me:$LINENO: result: $LD" >&5
18193 echo "${ECHO_T}$LD" >&6
18194 else
18195 echo "$as_me:$LINENO: result: no" >&5
18196 echo "${ECHO_T}no" >&6
18197 fi
18198 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18199 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18200 { (exit 1); exit 1; }; }
18201 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18202 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18203 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18207 case `$LD -v 2>&1 </dev/null` in
18208 *GNU* | *'with BFD'*)
18209 lt_cv_prog_gnu_ld=yes
18210 ;;
18211 *)
18212 lt_cv_prog_gnu_ld=no
18213 ;;
18214 esac
18215 fi
18216 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18217 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18218 with_gnu_ld=$lt_cv_prog_gnu_ld
18219
18220
18221
18222
18223
18224
18225
18226 # If we're not using GNU ld, then there's no point in even trying these
18227 # tests. Check for that first. We should have already tested for gld
18228 # by now (in libtool), but require it now just to be safe...
18229 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18230 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18231
18232
18233
18234 # The name set by libtool depends on the version of libtool. Shame on us
18235 # for depending on an impl detail, but c'est la vie. Older versions used
18236 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18237 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18238 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18239 # set (hence we're using an older libtool), then set it.
18240 if test x${with_gnu_ld+set} != xset; then
18241 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18242 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18243 with_gnu_ld=no
18244 else
18245 with_gnu_ld=$ac_cv_prog_gnu_ld
18246 fi
18247 fi
18248
18249 # Start by getting the version number. I think the libtool test already
18250 # does some of this, but throws away the result.
18251 if test x"$with_gnu_ld" = x"yes"; then
18252 echo "$as_me:$LINENO: checking for ld version" >&5
18253 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18254
18255 ldver=`$LD --version 2>/dev/null | head -1 | \
18256 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18257
18258 glibcxx_gnu_ld_version=`echo $ldver | \
18259 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18260 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18261 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18262 fi
18263
18264 # Set --gc-sections.
18265 glibcxx_gcsections_min_ld=21602
18266 if test x"$with_gnu_ld" = x"yes" &&
18267 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18268
18269 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18270 # NB: This flag only works reliably after 2.16.1. Configure tests
18271 # for this are difficult, so hard wire a value that should work.
18272
18273 ac_test_CFLAGS="${CFLAGS+set}"
18274 ac_save_CFLAGS="$CFLAGS"
18275 CFLAGS='-Wl,--gc-sections'
18276
18277 # Check for -Wl,--gc-sections
18278 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18279 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18280 if test x$gcc_no_link = xyes; then
18281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18283 { (exit 1); exit 1; }; }
18284 fi
18285 cat >conftest.$ac_ext <<_ACEOF
18286 /* confdefs.h. */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 int one(void) { return 1; }
18292 int two(void) { return 2; }
18293
18294 int
18295 main ()
18296 {
18297 two();
18298 ;
18299 return 0;
18300 }
18301 _ACEOF
18302 rm -f conftest.$ac_objext conftest$ac_exeext
18303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18304 (eval $ac_link) 2>conftest.er1
18305 ac_status=$?
18306 grep -v '^ *+' conftest.er1 >conftest.err
18307 rm -f conftest.er1
18308 cat conftest.err >&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } &&
18311 { ac_try='test -z "$ac_c_werror_flag"
18312 || test ! -s conftest.err'
18313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314 (eval $ac_try) 2>&5
18315 ac_status=$?
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); }; } &&
18318 { ac_try='test -s conftest$ac_exeext'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; }; then
18324 ac_gcsections=yes
18325 else
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.$ac_ext >&5
18328
18329 ac_gcsections=no
18330 fi
18331 rm -f conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18333 if test "$ac_gcsections" = "yes"; then
18334 rm -f conftest.c
18335 touch conftest.c
18336 if $CC -c conftest.c; then
18337 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18338 grep "Warning: gc-sections option ignored" > /dev/null; then
18339 ac_gcsections=no
18340 fi
18341 fi
18342 rm -f conftest.c conftest.o conftest
18343 fi
18344 if test "$ac_gcsections" = "yes"; then
18345 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18346 fi
18347 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18348 echo "${ECHO_T}$ac_gcsections" >&6
18349
18350 if test "$ac_test_CFLAGS" = set; then
18351 CFLAGS="$ac_save_CFLAGS"
18352 else
18353 # this is the suspicious part
18354 CFLAGS=''
18355 fi
18356 fi
18357
18358 # Set -z,relro.
18359 # Note this is only for shared objects.
18360 ac_ld_relro=no
18361 if test x"$with_gnu_ld" = x"yes"; then
18362 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18363 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18364 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18365 if test -n "$cxx_z_relo"; then
18366 OPT_LDFLAGS="-Wl,-z,relro"
18367 ac_ld_relro=yes
18368 fi
18369 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18370 echo "${ECHO_T}$ac_ld_relro" >&6
18371 fi
18372
18373 # Set linker optimization flags.
18374 if test x"$with_gnu_ld" = x"yes"; then
18375 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18376 fi
18377
18378
18379
18380
18381
18382 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18383 ac_save_CXXFLAGS="$CXXFLAGS"
18384 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18385
18386 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18387 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18388 if test "${ac_cv_lib_m_sin+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 else
18391 ac_check_lib_save_LIBS=$LIBS
18392 LIBS="-lm $LIBS"
18393 if test x$gcc_no_link = xyes; then
18394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18396 { (exit 1); exit 1; }; }
18397 fi
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404
18405 /* Override any gcc2 internal prototype to avoid an error. */
18406 #ifdef __cplusplus
18407 extern "C"
18408 #endif
18409 /* We use char because int might match the return type of a gcc2
18410 builtin and then its argument prototype would still apply. */
18411 char sin ();
18412 int
18413 main ()
18414 {
18415 sin ();
18416 ;
18417 return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest.$ac_objext conftest$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422 (eval $ac_link) 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try='test -s conftest$ac_exeext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_lib_m_sin=yes
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 ac_cv_lib_m_sin=no
18448 fi
18449 rm -f conftest.err conftest.$ac_objext \
18450 conftest$ac_exeext conftest.$ac_ext
18451 LIBS=$ac_check_lib_save_LIBS
18452 fi
18453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18454 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18455 if test $ac_cv_lib_m_sin = yes; then
18456 libm="-lm"
18457 fi
18458
18459 ac_save_LIBS="$LIBS"
18460 LIBS="$LIBS $libm"
18461
18462
18463
18464 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18465 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18466 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18467 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 else
18470
18471
18472
18473 ac_ext=cc
18474 ac_cpp='$CXXCPP $CPPFLAGS'
18475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18478
18479 cat >conftest.$ac_ext <<_ACEOF
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 #include <math.h>
18486 #ifdef HAVE_IEEEFP_H
18487 #include <ieeefp.h>
18488 #endif
18489
18490 int
18491 main ()
18492 {
18493 isinf(0);
18494 ;
18495 return 0;
18496 }
18497 _ACEOF
18498 rm -f conftest.$ac_objext
18499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18500 (eval $ac_compile) 2>conftest.er1
18501 ac_status=$?
18502 grep -v '^ *+' conftest.er1 >conftest.err
18503 rm -f conftest.er1
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } &&
18507 { ac_try='test -z "$ac_cxx_werror_flag"
18508 || test ! -s conftest.err'
18509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18510 (eval $ac_try) 2>&5
18511 ac_status=$?
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); }; } &&
18514 { ac_try='test -s conftest.$ac_objext'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 glibcxx_cv_func_isinf_use=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18524
18525 glibcxx_cv_func_isinf_use=no
18526 fi
18527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18528 ac_ext=c
18529 ac_cpp='$CPP $CPPFLAGS'
18530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18533
18534
18535 fi
18536
18537 fi
18538 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18539 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18540
18541 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18542
18543 for ac_func in isinf
18544 do
18545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18546 echo "$as_me:$LINENO: checking for $ac_func" >&5
18547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18548 if eval "test \"\${$as_ac_var+set}\" = set"; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551 if test x$gcc_no_link = xyes; then
18552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18554 { (exit 1); exit 1; }; }
18555 fi
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18564 #define $ac_func innocuous_$ac_func
18565
18566 /* System header to define __stub macros and hopefully few prototypes,
18567 which can conflict with char $ac_func (); below.
18568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18569 <limits.h> exists even on freestanding compilers. */
18570
18571 #ifdef __STDC__
18572 # include <limits.h>
18573 #else
18574 # include <assert.h>
18575 #endif
18576
18577 #undef $ac_func
18578
18579 /* Override any gcc2 internal prototype to avoid an error. */
18580 #ifdef __cplusplus
18581 extern "C"
18582 {
18583 #endif
18584 /* We use char because int might match the return type of a gcc2
18585 builtin and then its argument prototype would still apply. */
18586 char $ac_func ();
18587 /* The GNU C library defines this for functions which it implements
18588 to always fail with ENOSYS. Some functions are actually named
18589 something starting with __ and the normal name is an alias. */
18590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18591 choke me
18592 #else
18593 char (*f) () = $ac_func;
18594 #endif
18595 #ifdef __cplusplus
18596 }
18597 #endif
18598
18599 int
18600 main ()
18601 {
18602 return f != $ac_func;
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 rm -f conftest.$ac_objext conftest$ac_exeext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18609 (eval $ac_link) 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try='test -z "$ac_c_werror_flag"
18617 || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try='test -s conftest$ac_exeext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 eval "$as_ac_var=yes"
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634 eval "$as_ac_var=no"
18635 fi
18636 rm -f conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18638 fi
18639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18641 if test `eval echo '${'$as_ac_var'}'` = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18644 _ACEOF
18645
18646 fi
18647 done
18648
18649 else
18650
18651 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18652 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18653 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18654 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 else
18657
18658
18659
18660 ac_ext=cc
18661 ac_cpp='$CXXCPP $CPPFLAGS'
18662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18665
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 #include <math.h>
18673 #ifdef HAVE_IEEEFP_H
18674 #include <ieeefp.h>
18675 #endif
18676
18677 int
18678 main ()
18679 {
18680 _isinf(0);
18681 ;
18682 return 0;
18683 }
18684 _ACEOF
18685 rm -f conftest.$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18688 ac_status=$?
18689 grep -v '^ *+' conftest.er1 >conftest.err
18690 rm -f conftest.er1
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try='test -z "$ac_cxx_werror_flag"
18695 || test ! -s conftest.err'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18698 ac_status=$?
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; } &&
18701 { ac_try='test -s conftest.$ac_objext'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18707 glibcxx_cv_func__isinf_use=yes
18708 else
18709 echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.$ac_ext >&5
18711
18712 glibcxx_cv_func__isinf_use=no
18713 fi
18714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18715 ac_ext=c
18716 ac_cpp='$CPP $CPPFLAGS'
18717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18720
18721
18722 fi
18723
18724 fi
18725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18726 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18727
18728 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18729
18730 for ac_func in _isinf
18731 do
18732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18733 echo "$as_me:$LINENO: checking for $ac_func" >&5
18734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18735 if eval "test \"\${$as_ac_var+set}\" = set"; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 if test x$gcc_no_link = xyes; then
18739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18741 { (exit 1); exit 1; }; }
18742 fi
18743 cat >conftest.$ac_ext <<_ACEOF
18744 /* confdefs.h. */
18745 _ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18751 #define $ac_func innocuous_$ac_func
18752
18753 /* System header to define __stub macros and hopefully few prototypes,
18754 which can conflict with char $ac_func (); below.
18755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18756 <limits.h> exists even on freestanding compilers. */
18757
18758 #ifdef __STDC__
18759 # include <limits.h>
18760 #else
18761 # include <assert.h>
18762 #endif
18763
18764 #undef $ac_func
18765
18766 /* Override any gcc2 internal prototype to avoid an error. */
18767 #ifdef __cplusplus
18768 extern "C"
18769 {
18770 #endif
18771 /* We use char because int might match the return type of a gcc2
18772 builtin and then its argument prototype would still apply. */
18773 char $ac_func ();
18774 /* The GNU C library defines this for functions which it implements
18775 to always fail with ENOSYS. Some functions are actually named
18776 something starting with __ and the normal name is an alias. */
18777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18778 choke me
18779 #else
18780 char (*f) () = $ac_func;
18781 #endif
18782 #ifdef __cplusplus
18783 }
18784 #endif
18785
18786 int
18787 main ()
18788 {
18789 return f != $ac_func;
18790 ;
18791 return 0;
18792 }
18793 _ACEOF
18794 rm -f conftest.$ac_objext conftest$ac_exeext
18795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18796 (eval $ac_link) 2>conftest.er1
18797 ac_status=$?
18798 grep -v '^ *+' conftest.er1 >conftest.err
18799 rm -f conftest.er1
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } &&
18803 { ac_try='test -z "$ac_c_werror_flag"
18804 || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try='test -s conftest$ac_exeext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 eval "$as_ac_var=yes"
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18820
18821 eval "$as_ac_var=no"
18822 fi
18823 rm -f conftest.err conftest.$ac_objext \
18824 conftest$ac_exeext conftest.$ac_ext
18825 fi
18826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18828 if test `eval echo '${'$as_ac_var'}'` = yes; then
18829 cat >>confdefs.h <<_ACEOF
18830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18831 _ACEOF
18832
18833 fi
18834 done
18835
18836 fi
18837 fi
18838
18839
18840
18841
18842
18843
18844 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18845 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18846 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18847 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 else
18850
18851
18852
18853 ac_ext=cc
18854 ac_cpp='$CXXCPP $CPPFLAGS'
18855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18858
18859 cat >conftest.$ac_ext <<_ACEOF
18860 /* confdefs.h. */
18861 _ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 #include <math.h>
18866 #ifdef HAVE_IEEEFP_H
18867 #include <ieeefp.h>
18868 #endif
18869
18870 int
18871 main ()
18872 {
18873 isnan(0);
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18880 (eval $ac_compile) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_cxx_werror_flag"
18888 || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest.$ac_objext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 glibcxx_cv_func_isnan_use=yes
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18904
18905 glibcxx_cv_func_isnan_use=no
18906 fi
18907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18908 ac_ext=c
18909 ac_cpp='$CPP $CPPFLAGS'
18910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18913
18914
18915 fi
18916
18917 fi
18918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18919 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18920
18921 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18922
18923 for ac_func in isnan
18924 do
18925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18926 echo "$as_me:$LINENO: checking for $ac_func" >&5
18927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18928 if eval "test \"\${$as_ac_var+set}\" = set"; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 else
18931 if test x$gcc_no_link = xyes; then
18932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18934 { (exit 1); exit 1; }; }
18935 fi
18936 cat >conftest.$ac_ext <<_ACEOF
18937 /* confdefs.h. */
18938 _ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18944 #define $ac_func innocuous_$ac_func
18945
18946 /* System header to define __stub macros and hopefully few prototypes,
18947 which can conflict with char $ac_func (); below.
18948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18949 <limits.h> exists even on freestanding compilers. */
18950
18951 #ifdef __STDC__
18952 # include <limits.h>
18953 #else
18954 # include <assert.h>
18955 #endif
18956
18957 #undef $ac_func
18958
18959 /* Override any gcc2 internal prototype to avoid an error. */
18960 #ifdef __cplusplus
18961 extern "C"
18962 {
18963 #endif
18964 /* We use char because int might match the return type of a gcc2
18965 builtin and then its argument prototype would still apply. */
18966 char $ac_func ();
18967 /* The GNU C library defines this for functions which it implements
18968 to always fail with ENOSYS. Some functions are actually named
18969 something starting with __ and the normal name is an alias. */
18970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18971 choke me
18972 #else
18973 char (*f) () = $ac_func;
18974 #endif
18975 #ifdef __cplusplus
18976 }
18977 #endif
18978
18979 int
18980 main ()
18981 {
18982 return f != $ac_func;
18983 ;
18984 return 0;
18985 }
18986 _ACEOF
18987 rm -f conftest.$ac_objext conftest$ac_exeext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18989 (eval $ac_link) 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try='test -z "$ac_c_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest$ac_exeext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 eval "$as_ac_var=yes"
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 eval "$as_ac_var=no"
19015 fi
19016 rm -f conftest.err conftest.$ac_objext \
19017 conftest$ac_exeext conftest.$ac_ext
19018 fi
19019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19021 if test `eval echo '${'$as_ac_var'}'` = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19024 _ACEOF
19025
19026 fi
19027 done
19028
19029 else
19030
19031 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19032 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19033 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19034 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037
19038
19039
19040 ac_ext=cc
19041 ac_cpp='$CXXCPP $CPPFLAGS'
19042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19045
19046 cat >conftest.$ac_ext <<_ACEOF
19047 /* confdefs.h. */
19048 _ACEOF
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19052 #include <math.h>
19053 #ifdef HAVE_IEEEFP_H
19054 #include <ieeefp.h>
19055 #endif
19056
19057 int
19058 main ()
19059 {
19060 _isnan(0);
19061 ;
19062 return 0;
19063 }
19064 _ACEOF
19065 rm -f conftest.$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>conftest.er1
19068 ac_status=$?
19069 grep -v '^ *+' conftest.er1 >conftest.err
19070 rm -f conftest.er1
19071 cat conftest.err >&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try='test -z "$ac_cxx_werror_flag"
19075 || test ! -s conftest.err'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19078 ac_status=$?
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; } &&
19081 { ac_try='test -s conftest.$ac_objext'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19084 ac_status=$?
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; }; then
19087 glibcxx_cv_func__isnan_use=yes
19088 else
19089 echo "$as_me: failed program was:" >&5
19090 sed 's/^/| /' conftest.$ac_ext >&5
19091
19092 glibcxx_cv_func__isnan_use=no
19093 fi
19094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19095 ac_ext=c
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100
19101
19102 fi
19103
19104 fi
19105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19106 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19107
19108 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19109
19110 for ac_func in _isnan
19111 do
19112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19113 echo "$as_me:$LINENO: checking for $ac_func" >&5
19114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19115 if eval "test \"\${$as_ac_var+set}\" = set"; then
19116 echo $ECHO_N "(cached) $ECHO_C" >&6
19117 else
19118 if test x$gcc_no_link = xyes; then
19119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19121 { (exit 1); exit 1; }; }
19122 fi
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19131 #define $ac_func innocuous_$ac_func
19132
19133 /* System header to define __stub macros and hopefully few prototypes,
19134 which can conflict with char $ac_func (); below.
19135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19136 <limits.h> exists even on freestanding compilers. */
19137
19138 #ifdef __STDC__
19139 # include <limits.h>
19140 #else
19141 # include <assert.h>
19142 #endif
19143
19144 #undef $ac_func
19145
19146 /* Override any gcc2 internal prototype to avoid an error. */
19147 #ifdef __cplusplus
19148 extern "C"
19149 {
19150 #endif
19151 /* We use char because int might match the return type of a gcc2
19152 builtin and then its argument prototype would still apply. */
19153 char $ac_func ();
19154 /* The GNU C library defines this for functions which it implements
19155 to always fail with ENOSYS. Some functions are actually named
19156 something starting with __ and the normal name is an alias. */
19157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19158 choke me
19159 #else
19160 char (*f) () = $ac_func;
19161 #endif
19162 #ifdef __cplusplus
19163 }
19164 #endif
19165
19166 int
19167 main ()
19168 {
19169 return f != $ac_func;
19170 ;
19171 return 0;
19172 }
19173 _ACEOF
19174 rm -f conftest.$ac_objext conftest$ac_exeext
19175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19176 (eval $ac_link) 2>conftest.er1
19177 ac_status=$?
19178 grep -v '^ *+' conftest.er1 >conftest.err
19179 rm -f conftest.er1
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try='test -z "$ac_c_werror_flag"
19184 || test ! -s conftest.err'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19187 ac_status=$?
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; } &&
19190 { ac_try='test -s conftest$ac_exeext'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; }; then
19196 eval "$as_ac_var=yes"
19197 else
19198 echo "$as_me: failed program was:" >&5
19199 sed 's/^/| /' conftest.$ac_ext >&5
19200
19201 eval "$as_ac_var=no"
19202 fi
19203 rm -f conftest.err conftest.$ac_objext \
19204 conftest$ac_exeext conftest.$ac_ext
19205 fi
19206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19208 if test `eval echo '${'$as_ac_var'}'` = yes; then
19209 cat >>confdefs.h <<_ACEOF
19210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19211 _ACEOF
19212
19213 fi
19214 done
19215
19216 fi
19217 fi
19218
19219
19220
19221
19222
19223
19224 echo "$as_me:$LINENO: checking for finite declaration" >&5
19225 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19226 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19227 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230
19231
19232
19233 ac_ext=cc
19234 ac_cpp='$CXXCPP $CPPFLAGS'
19235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19238
19239 cat >conftest.$ac_ext <<_ACEOF
19240 /* confdefs.h. */
19241 _ACEOF
19242 cat confdefs.h >>conftest.$ac_ext
19243 cat >>conftest.$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19245 #include <math.h>
19246 #ifdef HAVE_IEEEFP_H
19247 #include <ieeefp.h>
19248 #endif
19249
19250 int
19251 main ()
19252 {
19253 finite(0);
19254 ;
19255 return 0;
19256 }
19257 _ACEOF
19258 rm -f conftest.$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try='test -z "$ac_cxx_werror_flag"
19268 || test ! -s conftest.err'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; } &&
19274 { ac_try='test -s conftest.$ac_objext'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; }; then
19280 glibcxx_cv_func_finite_use=yes
19281 else
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19284
19285 glibcxx_cv_func_finite_use=no
19286 fi
19287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19288 ac_ext=c
19289 ac_cpp='$CPP $CPPFLAGS'
19290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19293
19294
19295 fi
19296
19297 fi
19298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19299 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19300
19301 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19302
19303 for ac_func in finite
19304 do
19305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19306 echo "$as_me:$LINENO: checking for $ac_func" >&5
19307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19308 if eval "test \"\${$as_ac_var+set}\" = set"; then
19309 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 else
19311 if test x$gcc_no_link = xyes; then
19312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19314 { (exit 1); exit 1; }; }
19315 fi
19316 cat >conftest.$ac_ext <<_ACEOF
19317 /* confdefs.h. */
19318 _ACEOF
19319 cat confdefs.h >>conftest.$ac_ext
19320 cat >>conftest.$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19324 #define $ac_func innocuous_$ac_func
19325
19326 /* System header to define __stub macros and hopefully few prototypes,
19327 which can conflict with char $ac_func (); below.
19328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19329 <limits.h> exists even on freestanding compilers. */
19330
19331 #ifdef __STDC__
19332 # include <limits.h>
19333 #else
19334 # include <assert.h>
19335 #endif
19336
19337 #undef $ac_func
19338
19339 /* Override any gcc2 internal prototype to avoid an error. */
19340 #ifdef __cplusplus
19341 extern "C"
19342 {
19343 #endif
19344 /* We use char because int might match the return type of a gcc2
19345 builtin and then its argument prototype would still apply. */
19346 char $ac_func ();
19347 /* The GNU C library defines this for functions which it implements
19348 to always fail with ENOSYS. Some functions are actually named
19349 something starting with __ and the normal name is an alias. */
19350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19351 choke me
19352 #else
19353 char (*f) () = $ac_func;
19354 #endif
19355 #ifdef __cplusplus
19356 }
19357 #endif
19358
19359 int
19360 main ()
19361 {
19362 return f != $ac_func;
19363 ;
19364 return 0;
19365 }
19366 _ACEOF
19367 rm -f conftest.$ac_objext conftest$ac_exeext
19368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19369 (eval $ac_link) 2>conftest.er1
19370 ac_status=$?
19371 grep -v '^ *+' conftest.er1 >conftest.err
19372 rm -f conftest.er1
19373 cat conftest.err >&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try='test -z "$ac_c_werror_flag"
19377 || test ! -s conftest.err'
19378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19379 (eval $ac_try) 2>&5
19380 ac_status=$?
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); }; } &&
19383 { ac_try='test -s conftest$ac_exeext'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; }; then
19389 eval "$as_ac_var=yes"
19390 else
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19393
19394 eval "$as_ac_var=no"
19395 fi
19396 rm -f conftest.err conftest.$ac_objext \
19397 conftest$ac_exeext conftest.$ac_ext
19398 fi
19399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19401 if test `eval echo '${'$as_ac_var'}'` = yes; then
19402 cat >>confdefs.h <<_ACEOF
19403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19404 _ACEOF
19405
19406 fi
19407 done
19408
19409 else
19410
19411 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19412 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19413 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19414 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 else
19417
19418
19419
19420 ac_ext=cc
19421 ac_cpp='$CXXCPP $CPPFLAGS'
19422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19425
19426 cat >conftest.$ac_ext <<_ACEOF
19427 /* confdefs.h. */
19428 _ACEOF
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432 #include <math.h>
19433 #ifdef HAVE_IEEEFP_H
19434 #include <ieeefp.h>
19435 #endif
19436
19437 int
19438 main ()
19439 {
19440 _finite(0);
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 rm -f conftest.$ac_objext
19446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19447 (eval $ac_compile) 2>conftest.er1
19448 ac_status=$?
19449 grep -v '^ *+' conftest.er1 >conftest.err
19450 rm -f conftest.er1
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try='test -z "$ac_cxx_werror_flag"
19455 || test ! -s conftest.err'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19458 ac_status=$?
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; } &&
19461 { ac_try='test -s conftest.$ac_objext'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19464 ac_status=$?
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; }; then
19467 glibcxx_cv_func__finite_use=yes
19468 else
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.$ac_ext >&5
19471
19472 glibcxx_cv_func__finite_use=no
19473 fi
19474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19475 ac_ext=c
19476 ac_cpp='$CPP $CPPFLAGS'
19477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19480
19481
19482 fi
19483
19484 fi
19485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19486 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19487
19488 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19489
19490 for ac_func in _finite
19491 do
19492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19493 echo "$as_me:$LINENO: checking for $ac_func" >&5
19494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19495 if eval "test \"\${$as_ac_var+set}\" = set"; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 else
19498 if test x$gcc_no_link = xyes; then
19499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19501 { (exit 1); exit 1; }; }
19502 fi
19503 cat >conftest.$ac_ext <<_ACEOF
19504 /* confdefs.h. */
19505 _ACEOF
19506 cat confdefs.h >>conftest.$ac_ext
19507 cat >>conftest.$ac_ext <<_ACEOF
19508 /* end confdefs.h. */
19509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19511 #define $ac_func innocuous_$ac_func
19512
19513 /* System header to define __stub macros and hopefully few prototypes,
19514 which can conflict with char $ac_func (); below.
19515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19516 <limits.h> exists even on freestanding compilers. */
19517
19518 #ifdef __STDC__
19519 # include <limits.h>
19520 #else
19521 # include <assert.h>
19522 #endif
19523
19524 #undef $ac_func
19525
19526 /* Override any gcc2 internal prototype to avoid an error. */
19527 #ifdef __cplusplus
19528 extern "C"
19529 {
19530 #endif
19531 /* We use char because int might match the return type of a gcc2
19532 builtin and then its argument prototype would still apply. */
19533 char $ac_func ();
19534 /* The GNU C library defines this for functions which it implements
19535 to always fail with ENOSYS. Some functions are actually named
19536 something starting with __ and the normal name is an alias. */
19537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19538 choke me
19539 #else
19540 char (*f) () = $ac_func;
19541 #endif
19542 #ifdef __cplusplus
19543 }
19544 #endif
19545
19546 int
19547 main ()
19548 {
19549 return f != $ac_func;
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 rm -f conftest.$ac_objext conftest$ac_exeext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19556 (eval $ac_link) 2>conftest.er1
19557 ac_status=$?
19558 grep -v '^ *+' conftest.er1 >conftest.err
19559 rm -f conftest.er1
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } &&
19563 { ac_try='test -z "$ac_c_werror_flag"
19564 || test ! -s conftest.err'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 (eval $ac_try) 2>&5
19567 ac_status=$?
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; } &&
19570 { ac_try='test -s conftest$ac_exeext'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 eval "$as_ac_var=yes"
19577 else
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19580
19581 eval "$as_ac_var=no"
19582 fi
19583 rm -f conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext conftest.$ac_ext
19585 fi
19586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19588 if test `eval echo '${'$as_ac_var'}'` = yes; then
19589 cat >>confdefs.h <<_ACEOF
19590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19591 _ACEOF
19592
19593 fi
19594 done
19595
19596 fi
19597 fi
19598
19599
19600
19601
19602
19603
19604 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19605 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19606 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19607 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19608 echo $ECHO_N "(cached) $ECHO_C" >&6
19609 else
19610
19611
19612
19613 ac_ext=cc
19614 ac_cpp='$CXXCPP $CPPFLAGS'
19615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19618
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 #include <math.h>
19626 int
19627 main ()
19628 {
19629 copysign(0, 0);
19630 ;
19631 return 0;
19632 }
19633 _ACEOF
19634 rm -f conftest.$ac_objext
19635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19636 (eval $ac_compile) 2>conftest.er1
19637 ac_status=$?
19638 grep -v '^ *+' conftest.er1 >conftest.err
19639 rm -f conftest.er1
19640 cat conftest.err >&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } &&
19643 { ac_try='test -z "$ac_cxx_werror_flag"
19644 || test ! -s conftest.err'
19645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646 (eval $ac_try) 2>&5
19647 ac_status=$?
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; } &&
19650 { ac_try='test -s conftest.$ac_objext'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19653 ac_status=$?
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; }; then
19656 glibcxx_cv_func_copysign_use=yes
19657 else
19658 echo "$as_me: failed program was:" >&5
19659 sed 's/^/| /' conftest.$ac_ext >&5
19660
19661 glibcxx_cv_func_copysign_use=no
19662 fi
19663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19664 ac_ext=c
19665 ac_cpp='$CPP $CPPFLAGS'
19666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19669
19670
19671 fi
19672
19673 fi
19674 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19675 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19676
19677 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19678
19679 for ac_func in copysign
19680 do
19681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19682 echo "$as_me:$LINENO: checking for $ac_func" >&5
19683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19684 if eval "test \"\${$as_ac_var+set}\" = set"; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 else
19687 if test x$gcc_no_link = xyes; then
19688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19690 { (exit 1); exit 1; }; }
19691 fi
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19700 #define $ac_func innocuous_$ac_func
19701
19702 /* System header to define __stub macros and hopefully few prototypes,
19703 which can conflict with char $ac_func (); below.
19704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19705 <limits.h> exists even on freestanding compilers. */
19706
19707 #ifdef __STDC__
19708 # include <limits.h>
19709 #else
19710 # include <assert.h>
19711 #endif
19712
19713 #undef $ac_func
19714
19715 /* Override any gcc2 internal prototype to avoid an error. */
19716 #ifdef __cplusplus
19717 extern "C"
19718 {
19719 #endif
19720 /* We use char because int might match the return type of a gcc2
19721 builtin and then its argument prototype would still apply. */
19722 char $ac_func ();
19723 /* The GNU C library defines this for functions which it implements
19724 to always fail with ENOSYS. Some functions are actually named
19725 something starting with __ and the normal name is an alias. */
19726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19727 choke me
19728 #else
19729 char (*f) () = $ac_func;
19730 #endif
19731 #ifdef __cplusplus
19732 }
19733 #endif
19734
19735 int
19736 main ()
19737 {
19738 return f != $ac_func;
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 rm -f conftest.$ac_objext conftest$ac_exeext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19745 (eval $ac_link) 2>conftest.er1
19746 ac_status=$?
19747 grep -v '^ *+' conftest.er1 >conftest.err
19748 rm -f conftest.er1
19749 cat conftest.err >&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } &&
19752 { ac_try='test -z "$ac_c_werror_flag"
19753 || test ! -s conftest.err'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19756 ac_status=$?
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; } &&
19759 { ac_try='test -s conftest$ac_exeext'
19760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761 (eval $ac_try) 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; }; then
19765 eval "$as_ac_var=yes"
19766 else
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19769
19770 eval "$as_ac_var=no"
19771 fi
19772 rm -f conftest.err conftest.$ac_objext \
19773 conftest$ac_exeext conftest.$ac_ext
19774 fi
19775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19777 if test `eval echo '${'$as_ac_var'}'` = yes; then
19778 cat >>confdefs.h <<_ACEOF
19779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19780 _ACEOF
19781
19782 fi
19783 done
19784
19785 else
19786
19787 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19788 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19789 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19790 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 else
19793
19794
19795
19796 ac_ext=cc
19797 ac_cpp='$CXXCPP $CPPFLAGS'
19798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19801
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 #include <math.h>
19809 int
19810 main ()
19811 {
19812 _copysign(0, 0);
19813 ;
19814 return 0;
19815 }
19816 _ACEOF
19817 rm -f conftest.$ac_objext
19818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19819 (eval $ac_compile) 2>conftest.er1
19820 ac_status=$?
19821 grep -v '^ *+' conftest.er1 >conftest.err
19822 rm -f conftest.er1
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } &&
19826 { ac_try='test -z "$ac_cxx_werror_flag"
19827 || test ! -s conftest.err'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19830 ac_status=$?
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; } &&
19833 { ac_try='test -s conftest.$ac_objext'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; }; then
19839 glibcxx_cv_func__copysign_use=yes
19840 else
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19843
19844 glibcxx_cv_func__copysign_use=no
19845 fi
19846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19847 ac_ext=c
19848 ac_cpp='$CPP $CPPFLAGS'
19849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19852
19853
19854 fi
19855
19856 fi
19857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19858 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19859
19860 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19861
19862 for ac_func in _copysign
19863 do
19864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19865 echo "$as_me:$LINENO: checking for $ac_func" >&5
19866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19867 if eval "test \"\${$as_ac_var+set}\" = set"; then
19868 echo $ECHO_N "(cached) $ECHO_C" >&6
19869 else
19870 if test x$gcc_no_link = xyes; then
19871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19873 { (exit 1); exit 1; }; }
19874 fi
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19883 #define $ac_func innocuous_$ac_func
19884
19885 /* System header to define __stub macros and hopefully few prototypes,
19886 which can conflict with char $ac_func (); below.
19887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19888 <limits.h> exists even on freestanding compilers. */
19889
19890 #ifdef __STDC__
19891 # include <limits.h>
19892 #else
19893 # include <assert.h>
19894 #endif
19895
19896 #undef $ac_func
19897
19898 /* Override any gcc2 internal prototype to avoid an error. */
19899 #ifdef __cplusplus
19900 extern "C"
19901 {
19902 #endif
19903 /* We use char because int might match the return type of a gcc2
19904 builtin and then its argument prototype would still apply. */
19905 char $ac_func ();
19906 /* The GNU C library defines this for functions which it implements
19907 to always fail with ENOSYS. Some functions are actually named
19908 something starting with __ and the normal name is an alias. */
19909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19910 choke me
19911 #else
19912 char (*f) () = $ac_func;
19913 #endif
19914 #ifdef __cplusplus
19915 }
19916 #endif
19917
19918 int
19919 main ()
19920 {
19921 return f != $ac_func;
19922 ;
19923 return 0;
19924 }
19925 _ACEOF
19926 rm -f conftest.$ac_objext conftest$ac_exeext
19927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19928 (eval $ac_link) 2>conftest.er1
19929 ac_status=$?
19930 grep -v '^ *+' conftest.er1 >conftest.err
19931 rm -f conftest.er1
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } &&
19935 { ac_try='test -z "$ac_c_werror_flag"
19936 || test ! -s conftest.err'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; } &&
19942 { ac_try='test -s conftest$ac_exeext'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19945 ac_status=$?
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; }; then
19948 eval "$as_ac_var=yes"
19949 else
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.$ac_ext >&5
19952
19953 eval "$as_ac_var=no"
19954 fi
19955 rm -f conftest.err conftest.$ac_objext \
19956 conftest$ac_exeext conftest.$ac_ext
19957 fi
19958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19960 if test `eval echo '${'$as_ac_var'}'` = yes; then
19961 cat >>confdefs.h <<_ACEOF
19962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19963 _ACEOF
19964
19965 fi
19966 done
19967
19968 fi
19969 fi
19970
19971
19972
19973
19974
19975
19976 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19977 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19978 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19979 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982
19983
19984
19985 ac_ext=cc
19986 ac_cpp='$CXXCPP $CPPFLAGS'
19987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19990
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h. */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 #include <math.h>
19998 int
19999 main ()
20000 {
20001 sincos(0, 0, 0);
20002 ;
20003 return 0;
20004 }
20005 _ACEOF
20006 rm -f conftest.$ac_objext
20007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20008 (eval $ac_compile) 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } &&
20015 { ac_try='test -z "$ac_cxx_werror_flag"
20016 || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 glibcxx_cv_func_sincos_use=yes
20029 else
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20032
20033 glibcxx_cv_func_sincos_use=no
20034 fi
20035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20036 ac_ext=c
20037 ac_cpp='$CPP $CPPFLAGS'
20038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20041
20042
20043 fi
20044
20045 fi
20046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20047 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20048
20049 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20050
20051 for ac_func in sincos
20052 do
20053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20054 echo "$as_me:$LINENO: checking for $ac_func" >&5
20055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20056 if eval "test \"\${$as_ac_var+set}\" = set"; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 else
20059 if test x$gcc_no_link = xyes; then
20060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20062 { (exit 1); exit 1; }; }
20063 fi
20064 cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h. */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20072 #define $ac_func innocuous_$ac_func
20073
20074 /* System header to define __stub macros and hopefully few prototypes,
20075 which can conflict with char $ac_func (); below.
20076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20077 <limits.h> exists even on freestanding compilers. */
20078
20079 #ifdef __STDC__
20080 # include <limits.h>
20081 #else
20082 # include <assert.h>
20083 #endif
20084
20085 #undef $ac_func
20086
20087 /* Override any gcc2 internal prototype to avoid an error. */
20088 #ifdef __cplusplus
20089 extern "C"
20090 {
20091 #endif
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20094 char $ac_func ();
20095 /* The GNU C library defines this for functions which it implements
20096 to always fail with ENOSYS. Some functions are actually named
20097 something starting with __ and the normal name is an alias. */
20098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20099 choke me
20100 #else
20101 char (*f) () = $ac_func;
20102 #endif
20103 #ifdef __cplusplus
20104 }
20105 #endif
20106
20107 int
20108 main ()
20109 {
20110 return f != $ac_func;
20111 ;
20112 return 0;
20113 }
20114 _ACEOF
20115 rm -f conftest.$ac_objext conftest$ac_exeext
20116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20117 (eval $ac_link) 2>conftest.er1
20118 ac_status=$?
20119 grep -v '^ *+' conftest.er1 >conftest.err
20120 rm -f conftest.er1
20121 cat conftest.err >&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } &&
20124 { ac_try='test -z "$ac_c_werror_flag"
20125 || test ! -s conftest.err'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20128 ac_status=$?
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; } &&
20131 { ac_try='test -s conftest$ac_exeext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20137 eval "$as_ac_var=yes"
20138 else
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20141
20142 eval "$as_ac_var=no"
20143 fi
20144 rm -f conftest.err conftest.$ac_objext \
20145 conftest$ac_exeext conftest.$ac_ext
20146 fi
20147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20149 if test `eval echo '${'$as_ac_var'}'` = yes; then
20150 cat >>confdefs.h <<_ACEOF
20151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20152 _ACEOF
20153
20154 fi
20155 done
20156
20157 else
20158
20159 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20160 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20161 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20162 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20163 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 else
20165
20166
20167
20168 ac_ext=cc
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20173
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 #include <math.h>
20181 int
20182 main ()
20183 {
20184 _sincos(0, 0, 0);
20185 ;
20186 return 0;
20187 }
20188 _ACEOF
20189 rm -f conftest.$ac_objext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20191 (eval $ac_compile) 2>conftest.er1
20192 ac_status=$?
20193 grep -v '^ *+' conftest.er1 >conftest.err
20194 rm -f conftest.er1
20195 cat conftest.err >&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } &&
20198 { ac_try='test -z "$ac_cxx_werror_flag"
20199 || test ! -s conftest.err'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20202 ac_status=$?
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; } &&
20205 { ac_try='test -s conftest.$ac_objext'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20208 ac_status=$?
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20211 glibcxx_cv_func__sincos_use=yes
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 glibcxx_cv_func__sincos_use=no
20217 fi
20218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20219 ac_ext=c
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224
20225
20226 fi
20227
20228 fi
20229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20230 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20231
20232 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20233
20234 for ac_func in _sincos
20235 do
20236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20237 echo "$as_me:$LINENO: checking for $ac_func" >&5
20238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20239 if eval "test \"\${$as_ac_var+set}\" = set"; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 if test x$gcc_no_link = xyes; then
20243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20245 { (exit 1); exit 1; }; }
20246 fi
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20255 #define $ac_func innocuous_$ac_func
20256
20257 /* System header to define __stub macros and hopefully few prototypes,
20258 which can conflict with char $ac_func (); below.
20259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20260 <limits.h> exists even on freestanding compilers. */
20261
20262 #ifdef __STDC__
20263 # include <limits.h>
20264 #else
20265 # include <assert.h>
20266 #endif
20267
20268 #undef $ac_func
20269
20270 /* Override any gcc2 internal prototype to avoid an error. */
20271 #ifdef __cplusplus
20272 extern "C"
20273 {
20274 #endif
20275 /* We use char because int might match the return type of a gcc2
20276 builtin and then its argument prototype would still apply. */
20277 char $ac_func ();
20278 /* The GNU C library defines this for functions which it implements
20279 to always fail with ENOSYS. Some functions are actually named
20280 something starting with __ and the normal name is an alias. */
20281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20282 choke me
20283 #else
20284 char (*f) () = $ac_func;
20285 #endif
20286 #ifdef __cplusplus
20287 }
20288 #endif
20289
20290 int
20291 main ()
20292 {
20293 return f != $ac_func;
20294 ;
20295 return 0;
20296 }
20297 _ACEOF
20298 rm -f conftest.$ac_objext conftest$ac_exeext
20299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20300 (eval $ac_link) 2>conftest.er1
20301 ac_status=$?
20302 grep -v '^ *+' conftest.er1 >conftest.err
20303 rm -f conftest.er1
20304 cat conftest.err >&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } &&
20307 { ac_try='test -z "$ac_c_werror_flag"
20308 || test ! -s conftest.err'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20311 ac_status=$?
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; } &&
20314 { ac_try='test -s conftest$ac_exeext'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20317 ac_status=$?
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; }; then
20320 eval "$as_ac_var=yes"
20321 else
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.$ac_ext >&5
20324
20325 eval "$as_ac_var=no"
20326 fi
20327 rm -f conftest.err conftest.$ac_objext \
20328 conftest$ac_exeext conftest.$ac_ext
20329 fi
20330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20332 if test `eval echo '${'$as_ac_var'}'` = yes; then
20333 cat >>confdefs.h <<_ACEOF
20334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20335 _ACEOF
20336
20337 fi
20338 done
20339
20340 fi
20341 fi
20342
20343
20344
20345
20346
20347
20348 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20349 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20350 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20351 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20352 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 else
20354
20355
20356
20357 ac_ext=cc
20358 ac_cpp='$CXXCPP $CPPFLAGS'
20359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20362
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 #include <math.h>
20370 #ifdef HAVE_IEEEFP_H
20371 #include <ieeefp.h>
20372 #endif
20373
20374 int
20375 main ()
20376 {
20377 fpclass(0);
20378 ;
20379 return 0;
20380 }
20381 _ACEOF
20382 rm -f conftest.$ac_objext
20383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20384 (eval $ac_compile) 2>conftest.er1
20385 ac_status=$?
20386 grep -v '^ *+' conftest.er1 >conftest.err
20387 rm -f conftest.er1
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } &&
20391 { ac_try='test -z "$ac_cxx_werror_flag"
20392 || test ! -s conftest.err'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20395 ac_status=$?
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; } &&
20398 { ac_try='test -s conftest.$ac_objext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 glibcxx_cv_func_fpclass_use=yes
20405 else
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20408
20409 glibcxx_cv_func_fpclass_use=no
20410 fi
20411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20412 ac_ext=c
20413 ac_cpp='$CPP $CPPFLAGS'
20414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20417
20418
20419 fi
20420
20421 fi
20422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20423 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20424
20425 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20426
20427 for ac_func in fpclass
20428 do
20429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20430 echo "$as_me:$LINENO: checking for $ac_func" >&5
20431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20432 if eval "test \"\${$as_ac_var+set}\" = set"; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20434 else
20435 if test x$gcc_no_link = xyes; then
20436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20438 { (exit 1); exit 1; }; }
20439 fi
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20448 #define $ac_func innocuous_$ac_func
20449
20450 /* System header to define __stub macros and hopefully few prototypes,
20451 which can conflict with char $ac_func (); below.
20452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20453 <limits.h> exists even on freestanding compilers. */
20454
20455 #ifdef __STDC__
20456 # include <limits.h>
20457 #else
20458 # include <assert.h>
20459 #endif
20460
20461 #undef $ac_func
20462
20463 /* Override any gcc2 internal prototype to avoid an error. */
20464 #ifdef __cplusplus
20465 extern "C"
20466 {
20467 #endif
20468 /* We use char because int might match the return type of a gcc2
20469 builtin and then its argument prototype would still apply. */
20470 char $ac_func ();
20471 /* The GNU C library defines this for functions which it implements
20472 to always fail with ENOSYS. Some functions are actually named
20473 something starting with __ and the normal name is an alias. */
20474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20475 choke me
20476 #else
20477 char (*f) () = $ac_func;
20478 #endif
20479 #ifdef __cplusplus
20480 }
20481 #endif
20482
20483 int
20484 main ()
20485 {
20486 return f != $ac_func;
20487 ;
20488 return 0;
20489 }
20490 _ACEOF
20491 rm -f conftest.$ac_objext conftest$ac_exeext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20493 (eval $ac_link) 2>conftest.er1
20494 ac_status=$?
20495 grep -v '^ *+' conftest.er1 >conftest.err
20496 rm -f conftest.er1
20497 cat conftest.err >&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try='test -z "$ac_c_werror_flag"
20501 || test ! -s conftest.err'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20504 ac_status=$?
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; } &&
20507 { ac_try='test -s conftest$ac_exeext'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20510 ac_status=$?
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; }; then
20513 eval "$as_ac_var=yes"
20514 else
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20517
20518 eval "$as_ac_var=no"
20519 fi
20520 rm -f conftest.err conftest.$ac_objext \
20521 conftest$ac_exeext conftest.$ac_ext
20522 fi
20523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20525 if test `eval echo '${'$as_ac_var'}'` = yes; then
20526 cat >>confdefs.h <<_ACEOF
20527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20528 _ACEOF
20529
20530 fi
20531 done
20532
20533 else
20534
20535 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20536 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20537 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20538 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20539 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 else
20541
20542
20543
20544 ac_ext=cc
20545 ac_cpp='$CXXCPP $CPPFLAGS'
20546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20549
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 #include <math.h>
20557 #ifdef HAVE_IEEEFP_H
20558 #include <ieeefp.h>
20559 #endif
20560
20561 int
20562 main ()
20563 {
20564 _fpclass(0);
20565 ;
20566 return 0;
20567 }
20568 _ACEOF
20569 rm -f conftest.$ac_objext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20571 (eval $ac_compile) 2>conftest.er1
20572 ac_status=$?
20573 grep -v '^ *+' conftest.er1 >conftest.err
20574 rm -f conftest.er1
20575 cat conftest.err >&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } &&
20578 { ac_try='test -z "$ac_cxx_werror_flag"
20579 || test ! -s conftest.err'
20580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20581 (eval $ac_try) 2>&5
20582 ac_status=$?
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); }; } &&
20585 { ac_try='test -s conftest.$ac_objext'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20588 ac_status=$?
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; }; then
20591 glibcxx_cv_func__fpclass_use=yes
20592 else
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20595
20596 glibcxx_cv_func__fpclass_use=no
20597 fi
20598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20599 ac_ext=c
20600 ac_cpp='$CPP $CPPFLAGS'
20601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20604
20605
20606 fi
20607
20608 fi
20609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20610 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20611
20612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20613
20614 for ac_func in _fpclass
20615 do
20616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20617 echo "$as_me:$LINENO: checking for $ac_func" >&5
20618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20619 if eval "test \"\${$as_ac_var+set}\" = set"; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 else
20622 if test x$gcc_no_link = xyes; then
20623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20625 { (exit 1); exit 1; }; }
20626 fi
20627 cat >conftest.$ac_ext <<_ACEOF
20628 /* confdefs.h. */
20629 _ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20635 #define $ac_func innocuous_$ac_func
20636
20637 /* System header to define __stub macros and hopefully few prototypes,
20638 which can conflict with char $ac_func (); below.
20639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20640 <limits.h> exists even on freestanding compilers. */
20641
20642 #ifdef __STDC__
20643 # include <limits.h>
20644 #else
20645 # include <assert.h>
20646 #endif
20647
20648 #undef $ac_func
20649
20650 /* Override any gcc2 internal prototype to avoid an error. */
20651 #ifdef __cplusplus
20652 extern "C"
20653 {
20654 #endif
20655 /* We use char because int might match the return type of a gcc2
20656 builtin and then its argument prototype would still apply. */
20657 char $ac_func ();
20658 /* The GNU C library defines this for functions which it implements
20659 to always fail with ENOSYS. Some functions are actually named
20660 something starting with __ and the normal name is an alias. */
20661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20662 choke me
20663 #else
20664 char (*f) () = $ac_func;
20665 #endif
20666 #ifdef __cplusplus
20667 }
20668 #endif
20669
20670 int
20671 main ()
20672 {
20673 return f != $ac_func;
20674 ;
20675 return 0;
20676 }
20677 _ACEOF
20678 rm -f conftest.$ac_objext conftest$ac_exeext
20679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20680 (eval $ac_link) 2>conftest.er1
20681 ac_status=$?
20682 grep -v '^ *+' conftest.er1 >conftest.err
20683 rm -f conftest.er1
20684 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } &&
20687 { ac_try='test -z "$ac_c_werror_flag"
20688 || test ! -s conftest.err'
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690 (eval $ac_try) 2>&5
20691 ac_status=$?
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; } &&
20694 { ac_try='test -s conftest$ac_exeext'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; }; then
20700 eval "$as_ac_var=yes"
20701 else
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20704
20705 eval "$as_ac_var=no"
20706 fi
20707 rm -f conftest.err conftest.$ac_objext \
20708 conftest$ac_exeext conftest.$ac_ext
20709 fi
20710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20712 if test `eval echo '${'$as_ac_var'}'` = yes; then
20713 cat >>confdefs.h <<_ACEOF
20714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20715 _ACEOF
20716
20717 fi
20718 done
20719
20720 fi
20721 fi
20722
20723
20724
20725
20726
20727
20728 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20729 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20730 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20731 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20733 else
20734
20735
20736
20737 ac_ext=cc
20738 ac_cpp='$CXXCPP $CPPFLAGS'
20739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20742
20743 cat >conftest.$ac_ext <<_ACEOF
20744 /* confdefs.h. */
20745 _ACEOF
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 #include <math.h>
20750 #ifdef HAVE_IEEEFP_H
20751 #include <ieeefp.h>
20752 #endif
20753
20754 int
20755 main ()
20756 {
20757 qfpclass(0);
20758 ;
20759 return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_cxx_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 glibcxx_cv_func_qfpclass_use=yes
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 glibcxx_cv_func_qfpclass_use=no
20790 fi
20791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20792 ac_ext=c
20793 ac_cpp='$CPP $CPPFLAGS'
20794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20797
20798
20799 fi
20800
20801 fi
20802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20803 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20804
20805 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20806
20807 for ac_func in qfpclass
20808 do
20809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20810 echo "$as_me:$LINENO: checking for $ac_func" >&5
20811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20812 if eval "test \"\${$as_ac_var+set}\" = set"; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 else
20815 if test x$gcc_no_link = xyes; then
20816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20818 { (exit 1); exit 1; }; }
20819 fi
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20828 #define $ac_func innocuous_$ac_func
20829
20830 /* System header to define __stub macros and hopefully few prototypes,
20831 which can conflict with char $ac_func (); below.
20832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20833 <limits.h> exists even on freestanding compilers. */
20834
20835 #ifdef __STDC__
20836 # include <limits.h>
20837 #else
20838 # include <assert.h>
20839 #endif
20840
20841 #undef $ac_func
20842
20843 /* Override any gcc2 internal prototype to avoid an error. */
20844 #ifdef __cplusplus
20845 extern "C"
20846 {
20847 #endif
20848 /* We use char because int might match the return type of a gcc2
20849 builtin and then its argument prototype would still apply. */
20850 char $ac_func ();
20851 /* The GNU C library defines this for functions which it implements
20852 to always fail with ENOSYS. Some functions are actually named
20853 something starting with __ and the normal name is an alias. */
20854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20855 choke me
20856 #else
20857 char (*f) () = $ac_func;
20858 #endif
20859 #ifdef __cplusplus
20860 }
20861 #endif
20862
20863 int
20864 main ()
20865 {
20866 return f != $ac_func;
20867 ;
20868 return 0;
20869 }
20870 _ACEOF
20871 rm -f conftest.$ac_objext conftest$ac_exeext
20872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20873 (eval $ac_link) 2>conftest.er1
20874 ac_status=$?
20875 grep -v '^ *+' conftest.er1 >conftest.err
20876 rm -f conftest.er1
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } &&
20880 { ac_try='test -z "$ac_c_werror_flag"
20881 || test ! -s conftest.err'
20882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20883 (eval $ac_try) 2>&5
20884 ac_status=$?
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; } &&
20887 { ac_try='test -s conftest$ac_exeext'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20890 ac_status=$?
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; }; then
20893 eval "$as_ac_var=yes"
20894 else
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20897
20898 eval "$as_ac_var=no"
20899 fi
20900 rm -f conftest.err conftest.$ac_objext \
20901 conftest$ac_exeext conftest.$ac_ext
20902 fi
20903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20905 if test `eval echo '${'$as_ac_var'}'` = yes; then
20906 cat >>confdefs.h <<_ACEOF
20907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20908 _ACEOF
20909
20910 fi
20911 done
20912
20913 else
20914
20915 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20916 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20917 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20918 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921
20922
20923
20924 ac_ext=cc
20925 ac_cpp='$CXXCPP $CPPFLAGS'
20926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20929
20930 cat >conftest.$ac_ext <<_ACEOF
20931 /* confdefs.h. */
20932 _ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 #include <math.h>
20937 #ifdef HAVE_IEEEFP_H
20938 #include <ieeefp.h>
20939 #endif
20940
20941 int
20942 main ()
20943 {
20944 _qfpclass(0);
20945 ;
20946 return 0;
20947 }
20948 _ACEOF
20949 rm -f conftest.$ac_objext
20950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20951 (eval $ac_compile) 2>conftest.er1
20952 ac_status=$?
20953 grep -v '^ *+' conftest.er1 >conftest.err
20954 rm -f conftest.er1
20955 cat conftest.err >&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } &&
20958 { ac_try='test -z "$ac_cxx_werror_flag"
20959 || test ! -s conftest.err'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; } &&
20965 { ac_try='test -s conftest.$ac_objext'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 glibcxx_cv_func__qfpclass_use=yes
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 glibcxx_cv_func__qfpclass_use=no
20977 fi
20978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20979 ac_ext=c
20980 ac_cpp='$CPP $CPPFLAGS'
20981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20984
20985
20986 fi
20987
20988 fi
20989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20990 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20991
20992 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20993
20994 for ac_func in _qfpclass
20995 do
20996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20997 echo "$as_me:$LINENO: checking for $ac_func" >&5
20998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20999 if eval "test \"\${$as_ac_var+set}\" = set"; then
21000 echo $ECHO_N "(cached) $ECHO_C" >&6
21001 else
21002 if test x$gcc_no_link = xyes; then
21003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21005 { (exit 1); exit 1; }; }
21006 fi
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21015 #define $ac_func innocuous_$ac_func
21016
21017 /* System header to define __stub macros and hopefully few prototypes,
21018 which can conflict with char $ac_func (); below.
21019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21020 <limits.h> exists even on freestanding compilers. */
21021
21022 #ifdef __STDC__
21023 # include <limits.h>
21024 #else
21025 # include <assert.h>
21026 #endif
21027
21028 #undef $ac_func
21029
21030 /* Override any gcc2 internal prototype to avoid an error. */
21031 #ifdef __cplusplus
21032 extern "C"
21033 {
21034 #endif
21035 /* We use char because int might match the return type of a gcc2
21036 builtin and then its argument prototype would still apply. */
21037 char $ac_func ();
21038 /* The GNU C library defines this for functions which it implements
21039 to always fail with ENOSYS. Some functions are actually named
21040 something starting with __ and the normal name is an alias. */
21041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21042 choke me
21043 #else
21044 char (*f) () = $ac_func;
21045 #endif
21046 #ifdef __cplusplus
21047 }
21048 #endif
21049
21050 int
21051 main ()
21052 {
21053 return f != $ac_func;
21054 ;
21055 return 0;
21056 }
21057 _ACEOF
21058 rm -f conftest.$ac_objext conftest$ac_exeext
21059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21060 (eval $ac_link) 2>conftest.er1
21061 ac_status=$?
21062 grep -v '^ *+' conftest.er1 >conftest.err
21063 rm -f conftest.er1
21064 cat conftest.err >&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); } &&
21067 { ac_try='test -z "$ac_c_werror_flag"
21068 || test ! -s conftest.err'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21071 ac_status=$?
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; } &&
21074 { ac_try='test -s conftest$ac_exeext'
21075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21076 (eval $ac_try) 2>&5
21077 ac_status=$?
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); }; }; then
21080 eval "$as_ac_var=yes"
21081 else
21082 echo "$as_me: failed program was:" >&5
21083 sed 's/^/| /' conftest.$ac_ext >&5
21084
21085 eval "$as_ac_var=no"
21086 fi
21087 rm -f conftest.err conftest.$ac_objext \
21088 conftest$ac_exeext conftest.$ac_ext
21089 fi
21090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21092 if test `eval echo '${'$as_ac_var'}'` = yes; then
21093 cat >>confdefs.h <<_ACEOF
21094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21095 _ACEOF
21096
21097 fi
21098 done
21099
21100 fi
21101 fi
21102
21103
21104
21105
21106
21107
21108 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21109 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21110 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21111 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21112 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 else
21114
21115
21116
21117 ac_ext=cc
21118 ac_cpp='$CXXCPP $CPPFLAGS'
21119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21122
21123 cat >conftest.$ac_ext <<_ACEOF
21124 /* confdefs.h. */
21125 _ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 #include <math.h>
21130 int
21131 main ()
21132 {
21133 hypot(0, 0);
21134 ;
21135 return 0;
21136 }
21137 _ACEOF
21138 rm -f conftest.$ac_objext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21140 (eval $ac_compile) 2>conftest.er1
21141 ac_status=$?
21142 grep -v '^ *+' conftest.er1 >conftest.err
21143 rm -f conftest.er1
21144 cat conftest.err >&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } &&
21147 { ac_try='test -z "$ac_cxx_werror_flag"
21148 || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21151 ac_status=$?
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21157 ac_status=$?
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 glibcxx_cv_func_hypot_use=yes
21161 else
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21164
21165 glibcxx_cv_func_hypot_use=no
21166 fi
21167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21168 ac_ext=c
21169 ac_cpp='$CPP $CPPFLAGS'
21170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21173
21174
21175 fi
21176
21177 fi
21178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21179 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21180
21181 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21182
21183 for ac_func in hypot
21184 do
21185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21186 echo "$as_me:$LINENO: checking for $ac_func" >&5
21187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21188 if eval "test \"\${$as_ac_var+set}\" = set"; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191 if test x$gcc_no_link = xyes; then
21192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21194 { (exit 1); exit 1; }; }
21195 fi
21196 cat >conftest.$ac_ext <<_ACEOF
21197 /* confdefs.h. */
21198 _ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21204 #define $ac_func innocuous_$ac_func
21205
21206 /* System header to define __stub macros and hopefully few prototypes,
21207 which can conflict with char $ac_func (); below.
21208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21209 <limits.h> exists even on freestanding compilers. */
21210
21211 #ifdef __STDC__
21212 # include <limits.h>
21213 #else
21214 # include <assert.h>
21215 #endif
21216
21217 #undef $ac_func
21218
21219 /* Override any gcc2 internal prototype to avoid an error. */
21220 #ifdef __cplusplus
21221 extern "C"
21222 {
21223 #endif
21224 /* We use char because int might match the return type of a gcc2
21225 builtin and then its argument prototype would still apply. */
21226 char $ac_func ();
21227 /* The GNU C library defines this for functions which it implements
21228 to always fail with ENOSYS. Some functions are actually named
21229 something starting with __ and the normal name is an alias. */
21230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21231 choke me
21232 #else
21233 char (*f) () = $ac_func;
21234 #endif
21235 #ifdef __cplusplus
21236 }
21237 #endif
21238
21239 int
21240 main ()
21241 {
21242 return f != $ac_func;
21243 ;
21244 return 0;
21245 }
21246 _ACEOF
21247 rm -f conftest.$ac_objext conftest$ac_exeext
21248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21249 (eval $ac_link) 2>conftest.er1
21250 ac_status=$?
21251 grep -v '^ *+' conftest.er1 >conftest.err
21252 rm -f conftest.er1
21253 cat conftest.err >&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); } &&
21256 { ac_try='test -z "$ac_c_werror_flag"
21257 || test ! -s conftest.err'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21260 ac_status=$?
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; } &&
21263 { ac_try='test -s conftest$ac_exeext'
21264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 (eval $ac_try) 2>&5
21266 ac_status=$?
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; }; then
21269 eval "$as_ac_var=yes"
21270 else
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.$ac_ext >&5
21273
21274 eval "$as_ac_var=no"
21275 fi
21276 rm -f conftest.err conftest.$ac_objext \
21277 conftest$ac_exeext conftest.$ac_ext
21278 fi
21279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21281 if test `eval echo '${'$as_ac_var'}'` = yes; then
21282 cat >>confdefs.h <<_ACEOF
21283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21284 _ACEOF
21285
21286 fi
21287 done
21288
21289 else
21290
21291 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21292 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21293 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21294 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21296 else
21297
21298
21299
21300 ac_ext=cc
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21305
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 #include <math.h>
21313 int
21314 main ()
21315 {
21316 _hypot(0, 0);
21317 ;
21318 return 0;
21319 }
21320 _ACEOF
21321 rm -f conftest.$ac_objext
21322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21323 (eval $ac_compile) 2>conftest.er1
21324 ac_status=$?
21325 grep -v '^ *+' conftest.er1 >conftest.err
21326 rm -f conftest.er1
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } &&
21330 { ac_try='test -z "$ac_cxx_werror_flag"
21331 || test ! -s conftest.err'
21332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21334 ac_status=$?
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; } &&
21337 { ac_try='test -s conftest.$ac_objext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 glibcxx_cv_func__hypot_use=yes
21344 else
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21347
21348 glibcxx_cv_func__hypot_use=no
21349 fi
21350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21351 ac_ext=c
21352 ac_cpp='$CPP $CPPFLAGS'
21353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21356
21357
21358 fi
21359
21360 fi
21361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21362 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21363
21364 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21365
21366 for ac_func in _hypot
21367 do
21368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21369 echo "$as_me:$LINENO: checking for $ac_func" >&5
21370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21371 if eval "test \"\${$as_ac_var+set}\" = set"; then
21372 echo $ECHO_N "(cached) $ECHO_C" >&6
21373 else
21374 if test x$gcc_no_link = xyes; then
21375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21377 { (exit 1); exit 1; }; }
21378 fi
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21387 #define $ac_func innocuous_$ac_func
21388
21389 /* System header to define __stub macros and hopefully few prototypes,
21390 which can conflict with char $ac_func (); below.
21391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21392 <limits.h> exists even on freestanding compilers. */
21393
21394 #ifdef __STDC__
21395 # include <limits.h>
21396 #else
21397 # include <assert.h>
21398 #endif
21399
21400 #undef $ac_func
21401
21402 /* Override any gcc2 internal prototype to avoid an error. */
21403 #ifdef __cplusplus
21404 extern "C"
21405 {
21406 #endif
21407 /* We use char because int might match the return type of a gcc2
21408 builtin and then its argument prototype would still apply. */
21409 char $ac_func ();
21410 /* The GNU C library defines this for functions which it implements
21411 to always fail with ENOSYS. Some functions are actually named
21412 something starting with __ and the normal name is an alias. */
21413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21414 choke me
21415 #else
21416 char (*f) () = $ac_func;
21417 #endif
21418 #ifdef __cplusplus
21419 }
21420 #endif
21421
21422 int
21423 main ()
21424 {
21425 return f != $ac_func;
21426 ;
21427 return 0;
21428 }
21429 _ACEOF
21430 rm -f conftest.$ac_objext conftest$ac_exeext
21431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21432 (eval $ac_link) 2>conftest.er1
21433 ac_status=$?
21434 grep -v '^ *+' conftest.er1 >conftest.err
21435 rm -f conftest.er1
21436 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } &&
21439 { ac_try='test -z "$ac_c_werror_flag"
21440 || test ! -s conftest.err'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; } &&
21446 { ac_try='test -s conftest$ac_exeext'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; }; then
21452 eval "$as_ac_var=yes"
21453 else
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21456
21457 eval "$as_ac_var=no"
21458 fi
21459 rm -f conftest.err conftest.$ac_objext \
21460 conftest$ac_exeext conftest.$ac_ext
21461 fi
21462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21464 if test `eval echo '${'$as_ac_var'}'` = yes; then
21465 cat >>confdefs.h <<_ACEOF
21466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21467 _ACEOF
21468
21469 fi
21470 done
21471
21472 fi
21473 fi
21474
21475
21476
21477
21478
21479
21480 echo "$as_me:$LINENO: checking for float trig functions" >&5
21481 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21482 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 else
21485
21486
21487
21488 ac_ext=cc
21489 ac_cpp='$CXXCPP $CPPFLAGS'
21490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21493
21494 cat >conftest.$ac_ext <<_ACEOF
21495 /* confdefs.h. */
21496 _ACEOF
21497 cat confdefs.h >>conftest.$ac_ext
21498 cat >>conftest.$ac_ext <<_ACEOF
21499 /* end confdefs.h. */
21500 #include <math.h>
21501 int
21502 main ()
21503 {
21504 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21505 ;
21506 return 0;
21507 }
21508 _ACEOF
21509 rm -f conftest.$ac_objext
21510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21511 (eval $ac_compile) 2>conftest.er1
21512 ac_status=$?
21513 grep -v '^ *+' conftest.er1 >conftest.err
21514 rm -f conftest.er1
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } &&
21518 { ac_try='test -z "$ac_cxx_werror_flag"
21519 || test ! -s conftest.err'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try='test -s conftest.$ac_objext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21528 ac_status=$?
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 glibcxx_cv_func_float_trig_use=yes
21532 else
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21535
21536 glibcxx_cv_func_float_trig_use=no
21537 fi
21538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21539 ac_ext=c
21540 ac_cpp='$CPP $CPPFLAGS'
21541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21544
21545 fi
21546
21547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21548 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21549 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21560 do
21561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21562 echo "$as_me:$LINENO: checking for $ac_func" >&5
21563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21564 if eval "test \"\${$as_ac_var+set}\" = set"; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 else
21567 if test x$gcc_no_link = xyes; then
21568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21570 { (exit 1); exit 1; }; }
21571 fi
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21580 #define $ac_func innocuous_$ac_func
21581
21582 /* System header to define __stub macros and hopefully few prototypes,
21583 which can conflict with char $ac_func (); below.
21584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21585 <limits.h> exists even on freestanding compilers. */
21586
21587 #ifdef __STDC__
21588 # include <limits.h>
21589 #else
21590 # include <assert.h>
21591 #endif
21592
21593 #undef $ac_func
21594
21595 /* Override any gcc2 internal prototype to avoid an error. */
21596 #ifdef __cplusplus
21597 extern "C"
21598 {
21599 #endif
21600 /* We use char because int might match the return type of a gcc2
21601 builtin and then its argument prototype would still apply. */
21602 char $ac_func ();
21603 /* The GNU C library defines this for functions which it implements
21604 to always fail with ENOSYS. Some functions are actually named
21605 something starting with __ and the normal name is an alias. */
21606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21607 choke me
21608 #else
21609 char (*f) () = $ac_func;
21610 #endif
21611 #ifdef __cplusplus
21612 }
21613 #endif
21614
21615 int
21616 main ()
21617 {
21618 return f != $ac_func;
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 rm -f conftest.$ac_objext conftest$ac_exeext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21625 (eval $ac_link) 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try='test -z "$ac_c_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try='test -s conftest$ac_exeext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 eval "$as_ac_var=yes"
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 eval "$as_ac_var=no"
21651 fi
21652 rm -f conftest.err conftest.$ac_objext \
21653 conftest$ac_exeext conftest.$ac_ext
21654 fi
21655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21657 if test `eval echo '${'$as_ac_var'}'` = yes; then
21658 cat >>confdefs.h <<_ACEOF
21659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21660 _ACEOF
21661
21662 fi
21663 done
21664
21665 else
21666 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21667 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21668 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21670 else
21671
21672
21673
21674 ac_ext=cc
21675 ac_cpp='$CXXCPP $CPPFLAGS'
21676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21679
21680 cat >conftest.$ac_ext <<_ACEOF
21681 /* confdefs.h. */
21682 _ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h. */
21686 #include <math.h>
21687 int
21688 main ()
21689 {
21690 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21691 ;
21692 return 0;
21693 }
21694 _ACEOF
21695 rm -f conftest.$ac_objext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21697 (eval $ac_compile) 2>conftest.er1
21698 ac_status=$?
21699 grep -v '^ *+' conftest.er1 >conftest.err
21700 rm -f conftest.er1
21701 cat conftest.err >&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try='test -z "$ac_cxx_werror_flag"
21705 || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21708 ac_status=$?
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21714 ac_status=$?
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 glibcxx_cv_func__float_trig_use=yes
21718 else
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21721
21722 glibcxx_cv_func__float_trig_use=no
21723 fi
21724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21725 ac_ext=c
21726 ac_cpp='$CPP $CPPFLAGS'
21727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21730
21731 fi
21732
21733 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21734 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21735 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21746 do
21747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21748 echo "$as_me:$LINENO: checking for $ac_func" >&5
21749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21750 if eval "test \"\${$as_ac_var+set}\" = set"; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 else
21753 if test x$gcc_no_link = xyes; then
21754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21756 { (exit 1); exit 1; }; }
21757 fi
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21766 #define $ac_func innocuous_$ac_func
21767
21768 /* System header to define __stub macros and hopefully few prototypes,
21769 which can conflict with char $ac_func (); below.
21770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21771 <limits.h> exists even on freestanding compilers. */
21772
21773 #ifdef __STDC__
21774 # include <limits.h>
21775 #else
21776 # include <assert.h>
21777 #endif
21778
21779 #undef $ac_func
21780
21781 /* Override any gcc2 internal prototype to avoid an error. */
21782 #ifdef __cplusplus
21783 extern "C"
21784 {
21785 #endif
21786 /* We use char because int might match the return type of a gcc2
21787 builtin and then its argument prototype would still apply. */
21788 char $ac_func ();
21789 /* The GNU C library defines this for functions which it implements
21790 to always fail with ENOSYS. Some functions are actually named
21791 something starting with __ and the normal name is an alias. */
21792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21793 choke me
21794 #else
21795 char (*f) () = $ac_func;
21796 #endif
21797 #ifdef __cplusplus
21798 }
21799 #endif
21800
21801 int
21802 main ()
21803 {
21804 return f != $ac_func;
21805 ;
21806 return 0;
21807 }
21808 _ACEOF
21809 rm -f conftest.$ac_objext conftest$ac_exeext
21810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21811 (eval $ac_link) 2>conftest.er1
21812 ac_status=$?
21813 grep -v '^ *+' conftest.er1 >conftest.err
21814 rm -f conftest.er1
21815 cat conftest.err >&5
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); } &&
21818 { ac_try='test -z "$ac_c_werror_flag"
21819 || test ! -s conftest.err'
21820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21821 (eval $ac_try) 2>&5
21822 ac_status=$?
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; } &&
21825 { ac_try='test -s conftest$ac_exeext'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; }; then
21831 eval "$as_ac_var=yes"
21832 else
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.$ac_ext >&5
21835
21836 eval "$as_ac_var=no"
21837 fi
21838 rm -f conftest.err conftest.$ac_objext \
21839 conftest$ac_exeext conftest.$ac_ext
21840 fi
21841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21843 if test `eval echo '${'$as_ac_var'}'` = yes; then
21844 cat >>confdefs.h <<_ACEOF
21845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21846 _ACEOF
21847
21848 fi
21849 done
21850
21851 fi
21852 fi
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867 echo "$as_me:$LINENO: checking for float round functions" >&5
21868 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21869 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 else
21872
21873
21874
21875 ac_ext=cc
21876 ac_cpp='$CXXCPP $CPPFLAGS'
21877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21880
21881 cat >conftest.$ac_ext <<_ACEOF
21882 /* confdefs.h. */
21883 _ACEOF
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 #include <math.h>
21888 int
21889 main ()
21890 {
21891 ceilf (0); floorf (0);
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21898 (eval $ac_compile) 2>conftest.er1
21899 ac_status=$?
21900 grep -v '^ *+' conftest.er1 >conftest.err
21901 rm -f conftest.er1
21902 cat conftest.err >&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } &&
21905 { ac_try='test -z "$ac_cxx_werror_flag"
21906 || test ! -s conftest.err'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21909 ac_status=$?
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; } &&
21912 { ac_try='test -s conftest.$ac_objext'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21915 ac_status=$?
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21918 glibcxx_cv_func_float_round_use=yes
21919 else
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21922
21923 glibcxx_cv_func_float_round_use=no
21924 fi
21925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21926 ac_ext=c
21927 ac_cpp='$CPP $CPPFLAGS'
21928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21931
21932 fi
21933
21934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21935 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21936 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21937
21938
21939 for ac_func in ceilf floorf
21940 do
21941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21942 echo "$as_me:$LINENO: checking for $ac_func" >&5
21943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21944 if eval "test \"\${$as_ac_var+set}\" = set"; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 else
21947 if test x$gcc_no_link = xyes; then
21948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21950 { (exit 1); exit 1; }; }
21951 fi
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21960 #define $ac_func innocuous_$ac_func
21961
21962 /* System header to define __stub macros and hopefully few prototypes,
21963 which can conflict with char $ac_func (); below.
21964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21965 <limits.h> exists even on freestanding compilers. */
21966
21967 #ifdef __STDC__
21968 # include <limits.h>
21969 #else
21970 # include <assert.h>
21971 #endif
21972
21973 #undef $ac_func
21974
21975 /* Override any gcc2 internal prototype to avoid an error. */
21976 #ifdef __cplusplus
21977 extern "C"
21978 {
21979 #endif
21980 /* We use char because int might match the return type of a gcc2
21981 builtin and then its argument prototype would still apply. */
21982 char $ac_func ();
21983 /* The GNU C library defines this for functions which it implements
21984 to always fail with ENOSYS. Some functions are actually named
21985 something starting with __ and the normal name is an alias. */
21986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21987 choke me
21988 #else
21989 char (*f) () = $ac_func;
21990 #endif
21991 #ifdef __cplusplus
21992 }
21993 #endif
21994
21995 int
21996 main ()
21997 {
21998 return f != $ac_func;
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext conftest$ac_exeext
22004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22005 (eval $ac_link) 2>conftest.er1
22006 ac_status=$?
22007 grep -v '^ *+' conftest.er1 >conftest.err
22008 rm -f conftest.er1
22009 cat conftest.err >&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try='test -z "$ac_c_werror_flag"
22013 || test ! -s conftest.err'
22014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22015 (eval $ac_try) 2>&5
22016 ac_status=$?
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); }; } &&
22019 { ac_try='test -s conftest$ac_exeext'
22020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22021 (eval $ac_try) 2>&5
22022 ac_status=$?
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; }; then
22025 eval "$as_ac_var=yes"
22026 else
22027 echo "$as_me: failed program was:" >&5
22028 sed 's/^/| /' conftest.$ac_ext >&5
22029
22030 eval "$as_ac_var=no"
22031 fi
22032 rm -f conftest.err conftest.$ac_objext \
22033 conftest$ac_exeext conftest.$ac_ext
22034 fi
22035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22037 if test `eval echo '${'$as_ac_var'}'` = yes; then
22038 cat >>confdefs.h <<_ACEOF
22039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22040 _ACEOF
22041
22042 fi
22043 done
22044
22045 else
22046 echo "$as_me:$LINENO: checking for _float round functions" >&5
22047 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22048 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051
22052
22053
22054 ac_ext=cc
22055 ac_cpp='$CXXCPP $CPPFLAGS'
22056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22059
22060 cat >conftest.$ac_ext <<_ACEOF
22061 /* confdefs.h. */
22062 _ACEOF
22063 cat confdefs.h >>conftest.$ac_ext
22064 cat >>conftest.$ac_ext <<_ACEOF
22065 /* end confdefs.h. */
22066 #include <math.h>
22067 int
22068 main ()
22069 {
22070 _ceilf (0); _floorf (0);
22071 ;
22072 return 0;
22073 }
22074 _ACEOF
22075 rm -f conftest.$ac_objext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22077 (eval $ac_compile) 2>conftest.er1
22078 ac_status=$?
22079 grep -v '^ *+' conftest.er1 >conftest.err
22080 rm -f conftest.er1
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try='test -z "$ac_cxx_werror_flag"
22085 || test ! -s conftest.err'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22088 ac_status=$?
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; } &&
22091 { ac_try='test -s conftest.$ac_objext'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22094 ac_status=$?
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 glibcxx_cv_func__float_round_use=yes
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 glibcxx_cv_func__float_round_use=no
22103 fi
22104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ac_ext=c
22106 ac_cpp='$CPP $CPPFLAGS'
22107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22110
22111 fi
22112
22113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22114 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22115 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22116
22117
22118 for ac_func in _ceilf _floorf
22119 do
22120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22121 echo "$as_me:$LINENO: checking for $ac_func" >&5
22122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22123 if eval "test \"\${$as_ac_var+set}\" = set"; then
22124 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 else
22126 if test x$gcc_no_link = xyes; then
22127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22129 { (exit 1); exit 1; }; }
22130 fi
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h. */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22139 #define $ac_func innocuous_$ac_func
22140
22141 /* System header to define __stub macros and hopefully few prototypes,
22142 which can conflict with char $ac_func (); below.
22143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22144 <limits.h> exists even on freestanding compilers. */
22145
22146 #ifdef __STDC__
22147 # include <limits.h>
22148 #else
22149 # include <assert.h>
22150 #endif
22151
22152 #undef $ac_func
22153
22154 /* Override any gcc2 internal prototype to avoid an error. */
22155 #ifdef __cplusplus
22156 extern "C"
22157 {
22158 #endif
22159 /* We use char because int might match the return type of a gcc2
22160 builtin and then its argument prototype would still apply. */
22161 char $ac_func ();
22162 /* The GNU C library defines this for functions which it implements
22163 to always fail with ENOSYS. Some functions are actually named
22164 something starting with __ and the normal name is an alias. */
22165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22166 choke me
22167 #else
22168 char (*f) () = $ac_func;
22169 #endif
22170 #ifdef __cplusplus
22171 }
22172 #endif
22173
22174 int
22175 main ()
22176 {
22177 return f != $ac_func;
22178 ;
22179 return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest.$ac_objext conftest$ac_exeext
22183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22184 (eval $ac_link) 2>conftest.er1
22185 ac_status=$?
22186 grep -v '^ *+' conftest.er1 >conftest.err
22187 rm -f conftest.er1
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try='test -z "$ac_c_werror_flag"
22192 || test ! -s conftest.err'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22195 ac_status=$?
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; } &&
22198 { ac_try='test -s conftest$ac_exeext'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 eval "$as_ac_var=yes"
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 eval "$as_ac_var=no"
22210 fi
22211 rm -f conftest.err conftest.$ac_objext \
22212 conftest$ac_exeext conftest.$ac_ext
22213 fi
22214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22216 if test `eval echo '${'$as_ac_var'}'` = yes; then
22217 cat >>confdefs.h <<_ACEOF
22218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22219 _ACEOF
22220
22221 fi
22222 done
22223
22224 fi
22225 fi
22226
22227
22228
22229
22230
22231
22232
22233
22234 echo "$as_me:$LINENO: checking for expf declaration" >&5
22235 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22236 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22237 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22238 echo $ECHO_N "(cached) $ECHO_C" >&6
22239 else
22240
22241
22242
22243 ac_ext=cc
22244 ac_cpp='$CXXCPP $CPPFLAGS'
22245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22248
22249 cat >conftest.$ac_ext <<_ACEOF
22250 /* confdefs.h. */
22251 _ACEOF
22252 cat confdefs.h >>conftest.$ac_ext
22253 cat >>conftest.$ac_ext <<_ACEOF
22254 /* end confdefs.h. */
22255 #include <math.h>
22256 #ifdef HAVE_IEEEFP_H
22257 #include <ieeefp.h>
22258 #endif
22259
22260 int
22261 main ()
22262 {
22263 expf(0);
22264 ;
22265 return 0;
22266 }
22267 _ACEOF
22268 rm -f conftest.$ac_objext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22270 (eval $ac_compile) 2>conftest.er1
22271 ac_status=$?
22272 grep -v '^ *+' conftest.er1 >conftest.err
22273 rm -f conftest.er1
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } &&
22277 { ac_try='test -z "$ac_cxx_werror_flag"
22278 || test ! -s conftest.err'
22279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22280 (eval $ac_try) 2>&5
22281 ac_status=$?
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; } &&
22284 { ac_try='test -s conftest.$ac_objext'
22285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22286 (eval $ac_try) 2>&5
22287 ac_status=$?
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; }; then
22290 glibcxx_cv_func_expf_use=yes
22291 else
22292 echo "$as_me: failed program was:" >&5
22293 sed 's/^/| /' conftest.$ac_ext >&5
22294
22295 glibcxx_cv_func_expf_use=no
22296 fi
22297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303
22304
22305 fi
22306
22307 fi
22308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22309 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22310
22311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22312
22313 for ac_func in expf
22314 do
22315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22316 echo "$as_me:$LINENO: checking for $ac_func" >&5
22317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22318 if eval "test \"\${$as_ac_var+set}\" = set"; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22321 if test x$gcc_no_link = xyes; then
22322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22324 { (exit 1); exit 1; }; }
22325 fi
22326 cat >conftest.$ac_ext <<_ACEOF
22327 /* confdefs.h. */
22328 _ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22334 #define $ac_func innocuous_$ac_func
22335
22336 /* System header to define __stub macros and hopefully few prototypes,
22337 which can conflict with char $ac_func (); below.
22338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22339 <limits.h> exists even on freestanding compilers. */
22340
22341 #ifdef __STDC__
22342 # include <limits.h>
22343 #else
22344 # include <assert.h>
22345 #endif
22346
22347 #undef $ac_func
22348
22349 /* Override any gcc2 internal prototype to avoid an error. */
22350 #ifdef __cplusplus
22351 extern "C"
22352 {
22353 #endif
22354 /* We use char because int might match the return type of a gcc2
22355 builtin and then its argument prototype would still apply. */
22356 char $ac_func ();
22357 /* The GNU C library defines this for functions which it implements
22358 to always fail with ENOSYS. Some functions are actually named
22359 something starting with __ and the normal name is an alias. */
22360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22361 choke me
22362 #else
22363 char (*f) () = $ac_func;
22364 #endif
22365 #ifdef __cplusplus
22366 }
22367 #endif
22368
22369 int
22370 main ()
22371 {
22372 return f != $ac_func;
22373 ;
22374 return 0;
22375 }
22376 _ACEOF
22377 rm -f conftest.$ac_objext conftest$ac_exeext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22379 (eval $ac_link) 2>conftest.er1
22380 ac_status=$?
22381 grep -v '^ *+' conftest.er1 >conftest.err
22382 rm -f conftest.er1
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try='test -z "$ac_c_werror_flag"
22387 || test ! -s conftest.err'
22388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22389 (eval $ac_try) 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); }; } &&
22393 { ac_try='test -s conftest$ac_exeext'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; }; then
22399 eval "$as_ac_var=yes"
22400 else
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22403
22404 eval "$as_ac_var=no"
22405 fi
22406 rm -f conftest.err conftest.$ac_objext \
22407 conftest$ac_exeext conftest.$ac_ext
22408 fi
22409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22411 if test `eval echo '${'$as_ac_var'}'` = yes; then
22412 cat >>confdefs.h <<_ACEOF
22413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22414 _ACEOF
22415
22416 fi
22417 done
22418
22419 else
22420
22421 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22422 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22423 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22424 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 else
22427
22428
22429
22430 ac_ext=cc
22431 ac_cpp='$CXXCPP $CPPFLAGS'
22432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22435
22436 cat >conftest.$ac_ext <<_ACEOF
22437 /* confdefs.h. */
22438 _ACEOF
22439 cat confdefs.h >>conftest.$ac_ext
22440 cat >>conftest.$ac_ext <<_ACEOF
22441 /* end confdefs.h. */
22442 #include <math.h>
22443 #ifdef HAVE_IEEEFP_H
22444 #include <ieeefp.h>
22445 #endif
22446
22447 int
22448 main ()
22449 {
22450 _expf(0);
22451 ;
22452 return 0;
22453 }
22454 _ACEOF
22455 rm -f conftest.$ac_objext
22456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22457 (eval $ac_compile) 2>conftest.er1
22458 ac_status=$?
22459 grep -v '^ *+' conftest.er1 >conftest.err
22460 rm -f conftest.er1
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } &&
22464 { ac_try='test -z "$ac_cxx_werror_flag"
22465 || test ! -s conftest.err'
22466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22467 (eval $ac_try) 2>&5
22468 ac_status=$?
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); }; } &&
22471 { ac_try='test -s conftest.$ac_objext'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22474 ac_status=$?
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; }; then
22477 glibcxx_cv_func__expf_use=yes
22478 else
22479 echo "$as_me: failed program was:" >&5
22480 sed 's/^/| /' conftest.$ac_ext >&5
22481
22482 glibcxx_cv_func__expf_use=no
22483 fi
22484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22485 ac_ext=c
22486 ac_cpp='$CPP $CPPFLAGS'
22487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22490
22491
22492 fi
22493
22494 fi
22495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22496 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22497
22498 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22499
22500 for ac_func in _expf
22501 do
22502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22503 echo "$as_me:$LINENO: checking for $ac_func" >&5
22504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22505 if eval "test \"\${$as_ac_var+set}\" = set"; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22507 else
22508 if test x$gcc_no_link = xyes; then
22509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22511 { (exit 1); exit 1; }; }
22512 fi
22513 cat >conftest.$ac_ext <<_ACEOF
22514 /* confdefs.h. */
22515 _ACEOF
22516 cat confdefs.h >>conftest.$ac_ext
22517 cat >>conftest.$ac_ext <<_ACEOF
22518 /* end confdefs.h. */
22519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22521 #define $ac_func innocuous_$ac_func
22522
22523 /* System header to define __stub macros and hopefully few prototypes,
22524 which can conflict with char $ac_func (); below.
22525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22526 <limits.h> exists even on freestanding compilers. */
22527
22528 #ifdef __STDC__
22529 # include <limits.h>
22530 #else
22531 # include <assert.h>
22532 #endif
22533
22534 #undef $ac_func
22535
22536 /* Override any gcc2 internal prototype to avoid an error. */
22537 #ifdef __cplusplus
22538 extern "C"
22539 {
22540 #endif
22541 /* We use char because int might match the return type of a gcc2
22542 builtin and then its argument prototype would still apply. */
22543 char $ac_func ();
22544 /* The GNU C library defines this for functions which it implements
22545 to always fail with ENOSYS. Some functions are actually named
22546 something starting with __ and the normal name is an alias. */
22547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22548 choke me
22549 #else
22550 char (*f) () = $ac_func;
22551 #endif
22552 #ifdef __cplusplus
22553 }
22554 #endif
22555
22556 int
22557 main ()
22558 {
22559 return f != $ac_func;
22560 ;
22561 return 0;
22562 }
22563 _ACEOF
22564 rm -f conftest.$ac_objext conftest$ac_exeext
22565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22566 (eval $ac_link) 2>conftest.er1
22567 ac_status=$?
22568 grep -v '^ *+' conftest.er1 >conftest.err
22569 rm -f conftest.er1
22570 cat conftest.err >&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } &&
22573 { ac_try='test -z "$ac_c_werror_flag"
22574 || test ! -s conftest.err'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22577 ac_status=$?
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; } &&
22580 { ac_try='test -s conftest$ac_exeext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 eval "$as_ac_var=yes"
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 eval "$as_ac_var=no"
22592 fi
22593 rm -f conftest.err conftest.$ac_objext \
22594 conftest$ac_exeext conftest.$ac_ext
22595 fi
22596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22598 if test `eval echo '${'$as_ac_var'}'` = yes; then
22599 cat >>confdefs.h <<_ACEOF
22600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22601 _ACEOF
22602
22603 fi
22604 done
22605
22606 fi
22607 fi
22608
22609
22610
22611
22612
22613
22614 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22615 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22616 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22617 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22618 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 else
22620
22621
22622
22623 ac_ext=cc
22624 ac_cpp='$CXXCPP $CPPFLAGS'
22625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22628
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 #include <math.h>
22636 #ifdef HAVE_IEEEFP_H
22637 #include <ieeefp.h>
22638 #endif
22639
22640 int
22641 main ()
22642 {
22643 isnanf(0);
22644 ;
22645 return 0;
22646 }
22647 _ACEOF
22648 rm -f conftest.$ac_objext
22649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22650 (eval $ac_compile) 2>conftest.er1
22651 ac_status=$?
22652 grep -v '^ *+' conftest.er1 >conftest.err
22653 rm -f conftest.er1
22654 cat conftest.err >&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } &&
22657 { ac_try='test -z "$ac_cxx_werror_flag"
22658 || test ! -s conftest.err'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22661 ac_status=$?
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; } &&
22664 { ac_try='test -s conftest.$ac_objext'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; }; then
22670 glibcxx_cv_func_isnanf_use=yes
22671 else
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22674
22675 glibcxx_cv_func_isnanf_use=no
22676 fi
22677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22678 ac_ext=c
22679 ac_cpp='$CPP $CPPFLAGS'
22680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22683
22684
22685 fi
22686
22687 fi
22688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22689 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22690
22691 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22692
22693 for ac_func in isnanf
22694 do
22695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22696 echo "$as_me:$LINENO: checking for $ac_func" >&5
22697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22698 if eval "test \"\${$as_ac_var+set}\" = set"; then
22699 echo $ECHO_N "(cached) $ECHO_C" >&6
22700 else
22701 if test x$gcc_no_link = xyes; then
22702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22704 { (exit 1); exit 1; }; }
22705 fi
22706 cat >conftest.$ac_ext <<_ACEOF
22707 /* confdefs.h. */
22708 _ACEOF
22709 cat confdefs.h >>conftest.$ac_ext
22710 cat >>conftest.$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22714 #define $ac_func innocuous_$ac_func
22715
22716 /* System header to define __stub macros and hopefully few prototypes,
22717 which can conflict with char $ac_func (); below.
22718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22719 <limits.h> exists even on freestanding compilers. */
22720
22721 #ifdef __STDC__
22722 # include <limits.h>
22723 #else
22724 # include <assert.h>
22725 #endif
22726
22727 #undef $ac_func
22728
22729 /* Override any gcc2 internal prototype to avoid an error. */
22730 #ifdef __cplusplus
22731 extern "C"
22732 {
22733 #endif
22734 /* We use char because int might match the return type of a gcc2
22735 builtin and then its argument prototype would still apply. */
22736 char $ac_func ();
22737 /* The GNU C library defines this for functions which it implements
22738 to always fail with ENOSYS. Some functions are actually named
22739 something starting with __ and the normal name is an alias. */
22740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22741 choke me
22742 #else
22743 char (*f) () = $ac_func;
22744 #endif
22745 #ifdef __cplusplus
22746 }
22747 #endif
22748
22749 int
22750 main ()
22751 {
22752 return f != $ac_func;
22753 ;
22754 return 0;
22755 }
22756 _ACEOF
22757 rm -f conftest.$ac_objext conftest$ac_exeext
22758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22759 (eval $ac_link) 2>conftest.er1
22760 ac_status=$?
22761 grep -v '^ *+' conftest.er1 >conftest.err
22762 rm -f conftest.er1
22763 cat conftest.err >&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); } &&
22766 { ac_try='test -z "$ac_c_werror_flag"
22767 || test ! -s conftest.err'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22770 ac_status=$?
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; } &&
22773 { ac_try='test -s conftest$ac_exeext'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22776 ac_status=$?
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; }; then
22779 eval "$as_ac_var=yes"
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 eval "$as_ac_var=no"
22785 fi
22786 rm -f conftest.err conftest.$ac_objext \
22787 conftest$ac_exeext conftest.$ac_ext
22788 fi
22789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22791 if test `eval echo '${'$as_ac_var'}'` = yes; then
22792 cat >>confdefs.h <<_ACEOF
22793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22794 _ACEOF
22795
22796 fi
22797 done
22798
22799 else
22800
22801 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22802 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22803 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22804 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22805 echo $ECHO_N "(cached) $ECHO_C" >&6
22806 else
22807
22808
22809
22810 ac_ext=cc
22811 ac_cpp='$CXXCPP $CPPFLAGS'
22812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22815
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 #include <math.h>
22823 #ifdef HAVE_IEEEFP_H
22824 #include <ieeefp.h>
22825 #endif
22826
22827 int
22828 main ()
22829 {
22830 _isnanf(0);
22831 ;
22832 return 0;
22833 }
22834 _ACEOF
22835 rm -f conftest.$ac_objext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22837 (eval $ac_compile) 2>conftest.er1
22838 ac_status=$?
22839 grep -v '^ *+' conftest.er1 >conftest.err
22840 rm -f conftest.er1
22841 cat conftest.err >&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try='test -z "$ac_cxx_werror_flag"
22845 || test ! -s conftest.err'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22848 ac_status=$?
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; } &&
22851 { ac_try='test -s conftest.$ac_objext'
22852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22853 (eval $ac_try) 2>&5
22854 ac_status=$?
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); }; }; then
22857 glibcxx_cv_func__isnanf_use=yes
22858 else
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.$ac_ext >&5
22861
22862 glibcxx_cv_func__isnanf_use=no
22863 fi
22864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ac_ext=c
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22870
22871
22872 fi
22873
22874 fi
22875 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22876 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22877
22878 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22879
22880 for ac_func in _isnanf
22881 do
22882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22883 echo "$as_me:$LINENO: checking for $ac_func" >&5
22884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22885 if eval "test \"\${$as_ac_var+set}\" = set"; then
22886 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 else
22888 if test x$gcc_no_link = xyes; then
22889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22891 { (exit 1); exit 1; }; }
22892 fi
22893 cat >conftest.$ac_ext <<_ACEOF
22894 /* confdefs.h. */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22901 #define $ac_func innocuous_$ac_func
22902
22903 /* System header to define __stub macros and hopefully few prototypes,
22904 which can conflict with char $ac_func (); below.
22905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22906 <limits.h> exists even on freestanding compilers. */
22907
22908 #ifdef __STDC__
22909 # include <limits.h>
22910 #else
22911 # include <assert.h>
22912 #endif
22913
22914 #undef $ac_func
22915
22916 /* Override any gcc2 internal prototype to avoid an error. */
22917 #ifdef __cplusplus
22918 extern "C"
22919 {
22920 #endif
22921 /* We use char because int might match the return type of a gcc2
22922 builtin and then its argument prototype would still apply. */
22923 char $ac_func ();
22924 /* The GNU C library defines this for functions which it implements
22925 to always fail with ENOSYS. Some functions are actually named
22926 something starting with __ and the normal name is an alias. */
22927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22928 choke me
22929 #else
22930 char (*f) () = $ac_func;
22931 #endif
22932 #ifdef __cplusplus
22933 }
22934 #endif
22935
22936 int
22937 main ()
22938 {
22939 return f != $ac_func;
22940 ;
22941 return 0;
22942 }
22943 _ACEOF
22944 rm -f conftest.$ac_objext conftest$ac_exeext
22945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22946 (eval $ac_link) 2>conftest.er1
22947 ac_status=$?
22948 grep -v '^ *+' conftest.er1 >conftest.err
22949 rm -f conftest.er1
22950 cat conftest.err >&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } &&
22953 { ac_try='test -z "$ac_c_werror_flag"
22954 || test ! -s conftest.err'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; } &&
22960 { ac_try='test -s conftest$ac_exeext'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22963 ac_status=$?
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; }; then
22966 eval "$as_ac_var=yes"
22967 else
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22970
22971 eval "$as_ac_var=no"
22972 fi
22973 rm -f conftest.err conftest.$ac_objext \
22974 conftest$ac_exeext conftest.$ac_ext
22975 fi
22976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22978 if test `eval echo '${'$as_ac_var'}'` = yes; then
22979 cat >>confdefs.h <<_ACEOF
22980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22981 _ACEOF
22982
22983 fi
22984 done
22985
22986 fi
22987 fi
22988
22989
22990
22991
22992
22993
22994 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22995 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22996 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22997 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000
23001
23002
23003 ac_ext=cc
23004 ac_cpp='$CXXCPP $CPPFLAGS'
23005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23008
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <math.h>
23016 #ifdef HAVE_IEEEFP_H
23017 #include <ieeefp.h>
23018 #endif
23019
23020 int
23021 main ()
23022 {
23023 isinff(0);
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try='test -z "$ac_cxx_werror_flag"
23038 || test ! -s conftest.err'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23041 ac_status=$?
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; } &&
23044 { ac_try='test -s conftest.$ac_objext'
23045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23046 (eval $ac_try) 2>&5
23047 ac_status=$?
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); }; }; then
23050 glibcxx_cv_func_isinff_use=yes
23051 else
23052 echo "$as_me: failed program was:" >&5
23053 sed 's/^/| /' conftest.$ac_ext >&5
23054
23055 glibcxx_cv_func_isinff_use=no
23056 fi
23057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23058 ac_ext=c
23059 ac_cpp='$CPP $CPPFLAGS'
23060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063
23064
23065 fi
23066
23067 fi
23068 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23069 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23070
23071 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23072
23073 for ac_func in isinff
23074 do
23075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23076 echo "$as_me:$LINENO: checking for $ac_func" >&5
23077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23078 if eval "test \"\${$as_ac_var+set}\" = set"; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 else
23081 if test x$gcc_no_link = xyes; then
23082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23084 { (exit 1); exit 1; }; }
23085 fi
23086 cat >conftest.$ac_ext <<_ACEOF
23087 /* confdefs.h. */
23088 _ACEOF
23089 cat confdefs.h >>conftest.$ac_ext
23090 cat >>conftest.$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23094 #define $ac_func innocuous_$ac_func
23095
23096 /* System header to define __stub macros and hopefully few prototypes,
23097 which can conflict with char $ac_func (); below.
23098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23099 <limits.h> exists even on freestanding compilers. */
23100
23101 #ifdef __STDC__
23102 # include <limits.h>
23103 #else
23104 # include <assert.h>
23105 #endif
23106
23107 #undef $ac_func
23108
23109 /* Override any gcc2 internal prototype to avoid an error. */
23110 #ifdef __cplusplus
23111 extern "C"
23112 {
23113 #endif
23114 /* We use char because int might match the return type of a gcc2
23115 builtin and then its argument prototype would still apply. */
23116 char $ac_func ();
23117 /* The GNU C library defines this for functions which it implements
23118 to always fail with ENOSYS. Some functions are actually named
23119 something starting with __ and the normal name is an alias. */
23120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23121 choke me
23122 #else
23123 char (*f) () = $ac_func;
23124 #endif
23125 #ifdef __cplusplus
23126 }
23127 #endif
23128
23129 int
23130 main ()
23131 {
23132 return f != $ac_func;
23133 ;
23134 return 0;
23135 }
23136 _ACEOF
23137 rm -f conftest.$ac_objext conftest$ac_exeext
23138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23139 (eval $ac_link) 2>conftest.er1
23140 ac_status=$?
23141 grep -v '^ *+' conftest.er1 >conftest.err
23142 rm -f conftest.er1
23143 cat conftest.err >&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } &&
23146 { ac_try='test -z "$ac_c_werror_flag"
23147 || test ! -s conftest.err'
23148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 (eval $ac_try) 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); }; } &&
23153 { ac_try='test -s conftest$ac_exeext'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 eval "$as_ac_var=yes"
23160 else
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.$ac_ext >&5
23163
23164 eval "$as_ac_var=no"
23165 fi
23166 rm -f conftest.err conftest.$ac_objext \
23167 conftest$ac_exeext conftest.$ac_ext
23168 fi
23169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23171 if test `eval echo '${'$as_ac_var'}'` = yes; then
23172 cat >>confdefs.h <<_ACEOF
23173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23174 _ACEOF
23175
23176 fi
23177 done
23178
23179 else
23180
23181 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23182 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23183 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23184 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23185 echo $ECHO_N "(cached) $ECHO_C" >&6
23186 else
23187
23188
23189
23190 ac_ext=cc
23191 ac_cpp='$CXXCPP $CPPFLAGS'
23192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195
23196 cat >conftest.$ac_ext <<_ACEOF
23197 /* confdefs.h. */
23198 _ACEOF
23199 cat confdefs.h >>conftest.$ac_ext
23200 cat >>conftest.$ac_ext <<_ACEOF
23201 /* end confdefs.h. */
23202 #include <math.h>
23203 #ifdef HAVE_IEEEFP_H
23204 #include <ieeefp.h>
23205 #endif
23206
23207 int
23208 main ()
23209 {
23210 _isinff(0);
23211 ;
23212 return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23217 (eval $ac_compile) 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -z "$ac_cxx_werror_flag"
23225 || test ! -s conftest.err'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23228 ac_status=$?
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; } &&
23231 { ac_try='test -s conftest.$ac_objext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 glibcxx_cv_func__isinff_use=yes
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 glibcxx_cv_func__isinff_use=no
23243 fi
23244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250
23251
23252 fi
23253
23254 fi
23255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23256 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23257
23258 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23259
23260 for ac_func in _isinff
23261 do
23262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23263 echo "$as_me:$LINENO: checking for $ac_func" >&5
23264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23265 if eval "test \"\${$as_ac_var+set}\" = set"; then
23266 echo $ECHO_N "(cached) $ECHO_C" >&6
23267 else
23268 if test x$gcc_no_link = xyes; then
23269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23271 { (exit 1); exit 1; }; }
23272 fi
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23281 #define $ac_func innocuous_$ac_func
23282
23283 /* System header to define __stub macros and hopefully few prototypes,
23284 which can conflict with char $ac_func (); below.
23285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23286 <limits.h> exists even on freestanding compilers. */
23287
23288 #ifdef __STDC__
23289 # include <limits.h>
23290 #else
23291 # include <assert.h>
23292 #endif
23293
23294 #undef $ac_func
23295
23296 /* Override any gcc2 internal prototype to avoid an error. */
23297 #ifdef __cplusplus
23298 extern "C"
23299 {
23300 #endif
23301 /* We use char because int might match the return type of a gcc2
23302 builtin and then its argument prototype would still apply. */
23303 char $ac_func ();
23304 /* The GNU C library defines this for functions which it implements
23305 to always fail with ENOSYS. Some functions are actually named
23306 something starting with __ and the normal name is an alias. */
23307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23308 choke me
23309 #else
23310 char (*f) () = $ac_func;
23311 #endif
23312 #ifdef __cplusplus
23313 }
23314 #endif
23315
23316 int
23317 main ()
23318 {
23319 return f != $ac_func;
23320 ;
23321 return 0;
23322 }
23323 _ACEOF
23324 rm -f conftest.$ac_objext conftest$ac_exeext
23325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23326 (eval $ac_link) 2>conftest.er1
23327 ac_status=$?
23328 grep -v '^ *+' conftest.er1 >conftest.err
23329 rm -f conftest.er1
23330 cat conftest.err >&5
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); } &&
23333 { ac_try='test -z "$ac_c_werror_flag"
23334 || test ! -s conftest.err'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; } &&
23340 { ac_try='test -s conftest$ac_exeext'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23343 ac_status=$?
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; }; then
23346 eval "$as_ac_var=yes"
23347 else
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351 eval "$as_ac_var=no"
23352 fi
23353 rm -f conftest.err conftest.$ac_objext \
23354 conftest$ac_exeext conftest.$ac_ext
23355 fi
23356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23358 if test `eval echo '${'$as_ac_var'}'` = yes; then
23359 cat >>confdefs.h <<_ACEOF
23360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23361 _ACEOF
23362
23363 fi
23364 done
23365
23366 fi
23367 fi
23368
23369
23370
23371
23372
23373
23374 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23375 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23376 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23377 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 else
23380
23381
23382
23383 ac_ext=cc
23384 ac_cpp='$CXXCPP $CPPFLAGS'
23385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23388
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 #include <math.h>
23396 int
23397 main ()
23398 {
23399 atan2f(0, 0);
23400 ;
23401 return 0;
23402 }
23403 _ACEOF
23404 rm -f conftest.$ac_objext
23405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23406 (eval $ac_compile) 2>conftest.er1
23407 ac_status=$?
23408 grep -v '^ *+' conftest.er1 >conftest.err
23409 rm -f conftest.er1
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } &&
23413 { ac_try='test -z "$ac_cxx_werror_flag"
23414 || test ! -s conftest.err'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23417 ac_status=$?
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; } &&
23420 { ac_try='test -s conftest.$ac_objext'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23423 ac_status=$?
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; }; then
23426 glibcxx_cv_func_atan2f_use=yes
23427 else
23428 echo "$as_me: failed program was:" >&5
23429 sed 's/^/| /' conftest.$ac_ext >&5
23430
23431 glibcxx_cv_func_atan2f_use=no
23432 fi
23433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23434 ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23439
23440
23441 fi
23442
23443 fi
23444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23445 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23446
23447 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23448
23449 for ac_func in atan2f
23450 do
23451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23452 echo "$as_me:$LINENO: checking for $ac_func" >&5
23453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23454 if eval "test \"\${$as_ac_var+set}\" = set"; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 else
23457 if test x$gcc_no_link = xyes; then
23458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23460 { (exit 1); exit 1; }; }
23461 fi
23462 cat >conftest.$ac_ext <<_ACEOF
23463 /* confdefs.h. */
23464 _ACEOF
23465 cat confdefs.h >>conftest.$ac_ext
23466 cat >>conftest.$ac_ext <<_ACEOF
23467 /* end confdefs.h. */
23468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23470 #define $ac_func innocuous_$ac_func
23471
23472 /* System header to define __stub macros and hopefully few prototypes,
23473 which can conflict with char $ac_func (); below.
23474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23475 <limits.h> exists even on freestanding compilers. */
23476
23477 #ifdef __STDC__
23478 # include <limits.h>
23479 #else
23480 # include <assert.h>
23481 #endif
23482
23483 #undef $ac_func
23484
23485 /* Override any gcc2 internal prototype to avoid an error. */
23486 #ifdef __cplusplus
23487 extern "C"
23488 {
23489 #endif
23490 /* We use char because int might match the return type of a gcc2
23491 builtin and then its argument prototype would still apply. */
23492 char $ac_func ();
23493 /* The GNU C library defines this for functions which it implements
23494 to always fail with ENOSYS. Some functions are actually named
23495 something starting with __ and the normal name is an alias. */
23496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23497 choke me
23498 #else
23499 char (*f) () = $ac_func;
23500 #endif
23501 #ifdef __cplusplus
23502 }
23503 #endif
23504
23505 int
23506 main ()
23507 {
23508 return f != $ac_func;
23509 ;
23510 return 0;
23511 }
23512 _ACEOF
23513 rm -f conftest.$ac_objext conftest$ac_exeext
23514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23515 (eval $ac_link) 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try='test -z "$ac_c_werror_flag"
23523 || test ! -s conftest.err'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23526 ac_status=$?
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; } &&
23529 { ac_try='test -s conftest$ac_exeext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 eval "$as_ac_var=yes"
23536 else
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.$ac_ext >&5
23539
23540 eval "$as_ac_var=no"
23541 fi
23542 rm -f conftest.err conftest.$ac_objext \
23543 conftest$ac_exeext conftest.$ac_ext
23544 fi
23545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23547 if test `eval echo '${'$as_ac_var'}'` = yes; then
23548 cat >>confdefs.h <<_ACEOF
23549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23550 _ACEOF
23551
23552 fi
23553 done
23554
23555 else
23556
23557 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23558 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23559 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23560 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23561 echo $ECHO_N "(cached) $ECHO_C" >&6
23562 else
23563
23564
23565
23566 ac_ext=cc
23567 ac_cpp='$CXXCPP $CPPFLAGS'
23568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23571
23572 cat >conftest.$ac_ext <<_ACEOF
23573 /* confdefs.h. */
23574 _ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23578 #include <math.h>
23579 int
23580 main ()
23581 {
23582 _atan2f(0, 0);
23583 ;
23584 return 0;
23585 }
23586 _ACEOF
23587 rm -f conftest.$ac_objext
23588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23589 (eval $ac_compile) 2>conftest.er1
23590 ac_status=$?
23591 grep -v '^ *+' conftest.er1 >conftest.err
23592 rm -f conftest.er1
23593 cat conftest.err >&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } &&
23596 { ac_try='test -z "$ac_cxx_werror_flag"
23597 || test ! -s conftest.err'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; } &&
23603 { ac_try='test -s conftest.$ac_objext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23606 ac_status=$?
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 glibcxx_cv_func__atan2f_use=yes
23610 else
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.$ac_ext >&5
23613
23614 glibcxx_cv_func__atan2f_use=no
23615 fi
23616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23622
23623
23624 fi
23625
23626 fi
23627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23628 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23629
23630 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23631
23632 for ac_func in _atan2f
23633 do
23634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23635 echo "$as_me:$LINENO: checking for $ac_func" >&5
23636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23637 if eval "test \"\${$as_ac_var+set}\" = set"; then
23638 echo $ECHO_N "(cached) $ECHO_C" >&6
23639 else
23640 if test x$gcc_no_link = xyes; then
23641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23643 { (exit 1); exit 1; }; }
23644 fi
23645 cat >conftest.$ac_ext <<_ACEOF
23646 /* confdefs.h. */
23647 _ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23653 #define $ac_func innocuous_$ac_func
23654
23655 /* System header to define __stub macros and hopefully few prototypes,
23656 which can conflict with char $ac_func (); below.
23657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23658 <limits.h> exists even on freestanding compilers. */
23659
23660 #ifdef __STDC__
23661 # include <limits.h>
23662 #else
23663 # include <assert.h>
23664 #endif
23665
23666 #undef $ac_func
23667
23668 /* Override any gcc2 internal prototype to avoid an error. */
23669 #ifdef __cplusplus
23670 extern "C"
23671 {
23672 #endif
23673 /* We use char because int might match the return type of a gcc2
23674 builtin and then its argument prototype would still apply. */
23675 char $ac_func ();
23676 /* The GNU C library defines this for functions which it implements
23677 to always fail with ENOSYS. Some functions are actually named
23678 something starting with __ and the normal name is an alias. */
23679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23680 choke me
23681 #else
23682 char (*f) () = $ac_func;
23683 #endif
23684 #ifdef __cplusplus
23685 }
23686 #endif
23687
23688 int
23689 main ()
23690 {
23691 return f != $ac_func;
23692 ;
23693 return 0;
23694 }
23695 _ACEOF
23696 rm -f conftest.$ac_objext conftest$ac_exeext
23697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23698 (eval $ac_link) 2>conftest.er1
23699 ac_status=$?
23700 grep -v '^ *+' conftest.er1 >conftest.err
23701 rm -f conftest.er1
23702 cat conftest.err >&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } &&
23705 { ac_try='test -z "$ac_c_werror_flag"
23706 || test ! -s conftest.err'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; } &&
23712 { ac_try='test -s conftest$ac_exeext'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; }; then
23718 eval "$as_ac_var=yes"
23719 else
23720 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5
23722
23723 eval "$as_ac_var=no"
23724 fi
23725 rm -f conftest.err conftest.$ac_objext \
23726 conftest$ac_exeext conftest.$ac_ext
23727 fi
23728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23730 if test `eval echo '${'$as_ac_var'}'` = yes; then
23731 cat >>confdefs.h <<_ACEOF
23732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23733 _ACEOF
23734
23735 fi
23736 done
23737
23738 fi
23739 fi
23740
23741
23742
23743
23744
23745
23746 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23747 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 else
23752
23753
23754
23755 ac_ext=cc
23756 ac_cpp='$CXXCPP $CPPFLAGS'
23757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23760
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767 #include <math.h>
23768 #ifdef HAVE_IEEEFP_H
23769 #include <ieeefp.h>
23770 #endif
23771
23772 int
23773 main ()
23774 {
23775 fabsf(0);
23776 ;
23777 return 0;
23778 }
23779 _ACEOF
23780 rm -f conftest.$ac_objext
23781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23782 (eval $ac_compile) 2>conftest.er1
23783 ac_status=$?
23784 grep -v '^ *+' conftest.er1 >conftest.err
23785 rm -f conftest.er1
23786 cat conftest.err >&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } &&
23789 { ac_try='test -z "$ac_cxx_werror_flag"
23790 || test ! -s conftest.err'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23793 ac_status=$?
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; } &&
23796 { ac_try='test -s conftest.$ac_objext'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23799 ac_status=$?
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; }; then
23802 glibcxx_cv_func_fabsf_use=yes
23803 else
23804 echo "$as_me: failed program was:" >&5
23805 sed 's/^/| /' conftest.$ac_ext >&5
23806
23807 glibcxx_cv_func_fabsf_use=no
23808 fi
23809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23810 ac_ext=c
23811 ac_cpp='$CPP $CPPFLAGS'
23812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23815
23816
23817 fi
23818
23819 fi
23820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23821 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23822
23823 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23824
23825 for ac_func in fabsf
23826 do
23827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23828 echo "$as_me:$LINENO: checking for $ac_func" >&5
23829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23830 if eval "test \"\${$as_ac_var+set}\" = set"; then
23831 echo $ECHO_N "(cached) $ECHO_C" >&6
23832 else
23833 if test x$gcc_no_link = xyes; then
23834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23836 { (exit 1); exit 1; }; }
23837 fi
23838 cat >conftest.$ac_ext <<_ACEOF
23839 /* confdefs.h. */
23840 _ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23846 #define $ac_func innocuous_$ac_func
23847
23848 /* System header to define __stub macros and hopefully few prototypes,
23849 which can conflict with char $ac_func (); below.
23850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23851 <limits.h> exists even on freestanding compilers. */
23852
23853 #ifdef __STDC__
23854 # include <limits.h>
23855 #else
23856 # include <assert.h>
23857 #endif
23858
23859 #undef $ac_func
23860
23861 /* Override any gcc2 internal prototype to avoid an error. */
23862 #ifdef __cplusplus
23863 extern "C"
23864 {
23865 #endif
23866 /* We use char because int might match the return type of a gcc2
23867 builtin and then its argument prototype would still apply. */
23868 char $ac_func ();
23869 /* The GNU C library defines this for functions which it implements
23870 to always fail with ENOSYS. Some functions are actually named
23871 something starting with __ and the normal name is an alias. */
23872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23873 choke me
23874 #else
23875 char (*f) () = $ac_func;
23876 #endif
23877 #ifdef __cplusplus
23878 }
23879 #endif
23880
23881 int
23882 main ()
23883 {
23884 return f != $ac_func;
23885 ;
23886 return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext conftest$ac_exeext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23891 (eval $ac_link) 2>conftest.er1
23892 ac_status=$?
23893 grep -v '^ *+' conftest.er1 >conftest.err
23894 rm -f conftest.er1
23895 cat conftest.err >&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try='test -z "$ac_c_werror_flag"
23899 || test ! -s conftest.err'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23902 ac_status=$?
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; } &&
23905 { ac_try='test -s conftest$ac_exeext'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 eval "$as_ac_var=yes"
23912 else
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23915
23916 eval "$as_ac_var=no"
23917 fi
23918 rm -f conftest.err conftest.$ac_objext \
23919 conftest$ac_exeext conftest.$ac_ext
23920 fi
23921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23923 if test `eval echo '${'$as_ac_var'}'` = yes; then
23924 cat >>confdefs.h <<_ACEOF
23925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23926 _ACEOF
23927
23928 fi
23929 done
23930
23931 else
23932
23933 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23934 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23935 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23936 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23938 else
23939
23940
23941
23942 ac_ext=cc
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23947
23948 cat >conftest.$ac_ext <<_ACEOF
23949 /* confdefs.h. */
23950 _ACEOF
23951 cat confdefs.h >>conftest.$ac_ext
23952 cat >>conftest.$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 #include <math.h>
23955 #ifdef HAVE_IEEEFP_H
23956 #include <ieeefp.h>
23957 #endif
23958
23959 int
23960 main ()
23961 {
23962 _fabsf(0);
23963 ;
23964 return 0;
23965 }
23966 _ACEOF
23967 rm -f conftest.$ac_objext
23968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23969 (eval $ac_compile) 2>conftest.er1
23970 ac_status=$?
23971 grep -v '^ *+' conftest.er1 >conftest.err
23972 rm -f conftest.er1
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } &&
23976 { ac_try='test -z "$ac_cxx_werror_flag"
23977 || test ! -s conftest.err'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; } &&
23983 { ac_try='test -s conftest.$ac_objext'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23986 ac_status=$?
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; }; then
23989 glibcxx_cv_func__fabsf_use=yes
23990 else
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.$ac_ext >&5
23993
23994 glibcxx_cv_func__fabsf_use=no
23995 fi
23996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23997 ac_ext=c
23998 ac_cpp='$CPP $CPPFLAGS'
23999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24002
24003
24004 fi
24005
24006 fi
24007 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24008 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24009
24010 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24011
24012 for ac_func in _fabsf
24013 do
24014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24015 echo "$as_me:$LINENO: checking for $ac_func" >&5
24016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24017 if eval "test \"\${$as_ac_var+set}\" = set"; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24019 else
24020 if test x$gcc_no_link = xyes; then
24021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24023 { (exit 1); exit 1; }; }
24024 fi
24025 cat >conftest.$ac_ext <<_ACEOF
24026 /* confdefs.h. */
24027 _ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24033 #define $ac_func innocuous_$ac_func
24034
24035 /* System header to define __stub macros and hopefully few prototypes,
24036 which can conflict with char $ac_func (); below.
24037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24038 <limits.h> exists even on freestanding compilers. */
24039
24040 #ifdef __STDC__
24041 # include <limits.h>
24042 #else
24043 # include <assert.h>
24044 #endif
24045
24046 #undef $ac_func
24047
24048 /* Override any gcc2 internal prototype to avoid an error. */
24049 #ifdef __cplusplus
24050 extern "C"
24051 {
24052 #endif
24053 /* We use char because int might match the return type of a gcc2
24054 builtin and then its argument prototype would still apply. */
24055 char $ac_func ();
24056 /* The GNU C library defines this for functions which it implements
24057 to always fail with ENOSYS. Some functions are actually named
24058 something starting with __ and the normal name is an alias. */
24059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24060 choke me
24061 #else
24062 char (*f) () = $ac_func;
24063 #endif
24064 #ifdef __cplusplus
24065 }
24066 #endif
24067
24068 int
24069 main ()
24070 {
24071 return f != $ac_func;
24072 ;
24073 return 0;
24074 }
24075 _ACEOF
24076 rm -f conftest.$ac_objext conftest$ac_exeext
24077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24078 (eval $ac_link) 2>conftest.er1
24079 ac_status=$?
24080 grep -v '^ *+' conftest.er1 >conftest.err
24081 rm -f conftest.er1
24082 cat conftest.err >&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } &&
24085 { ac_try='test -z "$ac_c_werror_flag"
24086 || test ! -s conftest.err'
24087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24088 (eval $ac_try) 2>&5
24089 ac_status=$?
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); }; } &&
24092 { ac_try='test -s conftest$ac_exeext'
24093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094 (eval $ac_try) 2>&5
24095 ac_status=$?
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); }; }; then
24098 eval "$as_ac_var=yes"
24099 else
24100 echo "$as_me: failed program was:" >&5
24101 sed 's/^/| /' conftest.$ac_ext >&5
24102
24103 eval "$as_ac_var=no"
24104 fi
24105 rm -f conftest.err conftest.$ac_objext \
24106 conftest$ac_exeext conftest.$ac_ext
24107 fi
24108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24110 if test `eval echo '${'$as_ac_var'}'` = yes; then
24111 cat >>confdefs.h <<_ACEOF
24112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24113 _ACEOF
24114
24115 fi
24116 done
24117
24118 fi
24119 fi
24120
24121
24122
24123
24124
24125
24126 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24127 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24128 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24129 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24130 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 else
24132
24133
24134
24135 ac_ext=cc
24136 ac_cpp='$CXXCPP $CPPFLAGS'
24137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140
24141 cat >conftest.$ac_ext <<_ACEOF
24142 /* confdefs.h. */
24143 _ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147 #include <math.h>
24148 int
24149 main ()
24150 {
24151 fmodf(0, 0);
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 rm -f conftest.$ac_objext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24158 (eval $ac_compile) 2>conftest.er1
24159 ac_status=$?
24160 grep -v '^ *+' conftest.er1 >conftest.err
24161 rm -f conftest.er1
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } &&
24165 { ac_try='test -z "$ac_cxx_werror_flag"
24166 || test ! -s conftest.err'
24167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168 (eval $ac_try) 2>&5
24169 ac_status=$?
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); }; } &&
24172 { ac_try='test -s conftest.$ac_objext'
24173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174 (eval $ac_try) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); }; }; then
24178 glibcxx_cv_func_fmodf_use=yes
24179 else
24180 echo "$as_me: failed program was:" >&5
24181 sed 's/^/| /' conftest.$ac_ext >&5
24182
24183 glibcxx_cv_func_fmodf_use=no
24184 fi
24185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24186 ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24191
24192
24193 fi
24194
24195 fi
24196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24197 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24198
24199 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24200
24201 for ac_func in fmodf
24202 do
24203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24204 echo "$as_me:$LINENO: checking for $ac_func" >&5
24205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24206 if eval "test \"\${$as_ac_var+set}\" = set"; then
24207 echo $ECHO_N "(cached) $ECHO_C" >&6
24208 else
24209 if test x$gcc_no_link = xyes; then
24210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24212 { (exit 1); exit 1; }; }
24213 fi
24214 cat >conftest.$ac_ext <<_ACEOF
24215 /* confdefs.h. */
24216 _ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h. */
24220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24222 #define $ac_func innocuous_$ac_func
24223
24224 /* System header to define __stub macros and hopefully few prototypes,
24225 which can conflict with char $ac_func (); below.
24226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24227 <limits.h> exists even on freestanding compilers. */
24228
24229 #ifdef __STDC__
24230 # include <limits.h>
24231 #else
24232 # include <assert.h>
24233 #endif
24234
24235 #undef $ac_func
24236
24237 /* Override any gcc2 internal prototype to avoid an error. */
24238 #ifdef __cplusplus
24239 extern "C"
24240 {
24241 #endif
24242 /* We use char because int might match the return type of a gcc2
24243 builtin and then its argument prototype would still apply. */
24244 char $ac_func ();
24245 /* The GNU C library defines this for functions which it implements
24246 to always fail with ENOSYS. Some functions are actually named
24247 something starting with __ and the normal name is an alias. */
24248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24249 choke me
24250 #else
24251 char (*f) () = $ac_func;
24252 #endif
24253 #ifdef __cplusplus
24254 }
24255 #endif
24256
24257 int
24258 main ()
24259 {
24260 return f != $ac_func;
24261 ;
24262 return 0;
24263 }
24264 _ACEOF
24265 rm -f conftest.$ac_objext conftest$ac_exeext
24266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24267 (eval $ac_link) 2>conftest.er1
24268 ac_status=$?
24269 grep -v '^ *+' conftest.er1 >conftest.err
24270 rm -f conftest.er1
24271 cat conftest.err >&5
24272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24273 (exit $ac_status); } &&
24274 { ac_try='test -z "$ac_c_werror_flag"
24275 || test ! -s conftest.err'
24276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24277 (eval $ac_try) 2>&5
24278 ac_status=$?
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); }; } &&
24281 { ac_try='test -s conftest$ac_exeext'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; }; then
24287 eval "$as_ac_var=yes"
24288 else
24289 echo "$as_me: failed program was:" >&5
24290 sed 's/^/| /' conftest.$ac_ext >&5
24291
24292 eval "$as_ac_var=no"
24293 fi
24294 rm -f conftest.err conftest.$ac_objext \
24295 conftest$ac_exeext conftest.$ac_ext
24296 fi
24297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24299 if test `eval echo '${'$as_ac_var'}'` = yes; then
24300 cat >>confdefs.h <<_ACEOF
24301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24302 _ACEOF
24303
24304 fi
24305 done
24306
24307 else
24308
24309 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24310 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24311 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24312 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24313 echo $ECHO_N "(cached) $ECHO_C" >&6
24314 else
24315
24316
24317
24318 ac_ext=cc
24319 ac_cpp='$CXXCPP $CPPFLAGS'
24320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24323
24324 cat >conftest.$ac_ext <<_ACEOF
24325 /* confdefs.h. */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 #include <math.h>
24331 int
24332 main ()
24333 {
24334 _fmodf(0, 0);
24335 ;
24336 return 0;
24337 }
24338 _ACEOF
24339 rm -f conftest.$ac_objext
24340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24341 (eval $ac_compile) 2>conftest.er1
24342 ac_status=$?
24343 grep -v '^ *+' conftest.er1 >conftest.err
24344 rm -f conftest.er1
24345 cat conftest.err >&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); } &&
24348 { ac_try='test -z "$ac_cxx_werror_flag"
24349 || test ! -s conftest.err'
24350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24351 (eval $ac_try) 2>&5
24352 ac_status=$?
24353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354 (exit $ac_status); }; } &&
24355 { ac_try='test -s conftest.$ac_objext'
24356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24357 (eval $ac_try) 2>&5
24358 ac_status=$?
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); }; }; then
24361 glibcxx_cv_func__fmodf_use=yes
24362 else
24363 echo "$as_me: failed program was:" >&5
24364 sed 's/^/| /' conftest.$ac_ext >&5
24365
24366 glibcxx_cv_func__fmodf_use=no
24367 fi
24368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24369 ac_ext=c
24370 ac_cpp='$CPP $CPPFLAGS'
24371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24374
24375
24376 fi
24377
24378 fi
24379 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24380 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24381
24382 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24383
24384 for ac_func in _fmodf
24385 do
24386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24387 echo "$as_me:$LINENO: checking for $ac_func" >&5
24388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24389 if eval "test \"\${$as_ac_var+set}\" = set"; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 else
24392 if test x$gcc_no_link = xyes; then
24393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24395 { (exit 1); exit 1; }; }
24396 fi
24397 cat >conftest.$ac_ext <<_ACEOF
24398 /* confdefs.h. */
24399 _ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24405 #define $ac_func innocuous_$ac_func
24406
24407 /* System header to define __stub macros and hopefully few prototypes,
24408 which can conflict with char $ac_func (); below.
24409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24410 <limits.h> exists even on freestanding compilers. */
24411
24412 #ifdef __STDC__
24413 # include <limits.h>
24414 #else
24415 # include <assert.h>
24416 #endif
24417
24418 #undef $ac_func
24419
24420 /* Override any gcc2 internal prototype to avoid an error. */
24421 #ifdef __cplusplus
24422 extern "C"
24423 {
24424 #endif
24425 /* We use char because int might match the return type of a gcc2
24426 builtin and then its argument prototype would still apply. */
24427 char $ac_func ();
24428 /* The GNU C library defines this for functions which it implements
24429 to always fail with ENOSYS. Some functions are actually named
24430 something starting with __ and the normal name is an alias. */
24431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24432 choke me
24433 #else
24434 char (*f) () = $ac_func;
24435 #endif
24436 #ifdef __cplusplus
24437 }
24438 #endif
24439
24440 int
24441 main ()
24442 {
24443 return f != $ac_func;
24444 ;
24445 return 0;
24446 }
24447 _ACEOF
24448 rm -f conftest.$ac_objext conftest$ac_exeext
24449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24450 (eval $ac_link) 2>conftest.er1
24451 ac_status=$?
24452 grep -v '^ *+' conftest.er1 >conftest.err
24453 rm -f conftest.er1
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } &&
24457 { ac_try='test -z "$ac_c_werror_flag"
24458 || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try='test -s conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 eval "$as_ac_var=yes"
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 eval "$as_ac_var=no"
24476 fi
24477 rm -f conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24479 fi
24480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24482 if test `eval echo '${'$as_ac_var'}'` = yes; then
24483 cat >>confdefs.h <<_ACEOF
24484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24485 _ACEOF
24486
24487 fi
24488 done
24489
24490 fi
24491 fi
24492
24493
24494
24495
24496
24497
24498 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24499 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24500 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24501 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24502 echo $ECHO_N "(cached) $ECHO_C" >&6
24503 else
24504
24505
24506
24507 ac_ext=cc
24508 ac_cpp='$CXXCPP $CPPFLAGS'
24509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512
24513 cat >conftest.$ac_ext <<_ACEOF
24514 /* confdefs.h. */
24515 _ACEOF
24516 cat confdefs.h >>conftest.$ac_ext
24517 cat >>conftest.$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519 #include <math.h>
24520 int
24521 main ()
24522 {
24523 frexpf(0, 0);
24524 ;
24525 return 0;
24526 }
24527 _ACEOF
24528 rm -f conftest.$ac_objext
24529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24530 (eval $ac_compile) 2>conftest.er1
24531 ac_status=$?
24532 grep -v '^ *+' conftest.er1 >conftest.err
24533 rm -f conftest.er1
24534 cat conftest.err >&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); } &&
24537 { ac_try='test -z "$ac_cxx_werror_flag"
24538 || test ! -s conftest.err'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24541 ac_status=$?
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; } &&
24544 { ac_try='test -s conftest.$ac_objext'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24547 ac_status=$?
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; }; then
24550 glibcxx_cv_func_frexpf_use=yes
24551 else
24552 echo "$as_me: failed program was:" >&5
24553 sed 's/^/| /' conftest.$ac_ext >&5
24554
24555 glibcxx_cv_func_frexpf_use=no
24556 fi
24557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24558 ac_ext=c
24559 ac_cpp='$CPP $CPPFLAGS'
24560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24563
24564
24565 fi
24566
24567 fi
24568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24569 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24570
24571 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24572
24573 for ac_func in frexpf
24574 do
24575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24576 echo "$as_me:$LINENO: checking for $ac_func" >&5
24577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24578 if eval "test \"\${$as_ac_var+set}\" = set"; then
24579 echo $ECHO_N "(cached) $ECHO_C" >&6
24580 else
24581 if test x$gcc_no_link = xyes; then
24582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24584 { (exit 1); exit 1; }; }
24585 fi
24586 cat >conftest.$ac_ext <<_ACEOF
24587 /* confdefs.h. */
24588 _ACEOF
24589 cat confdefs.h >>conftest.$ac_ext
24590 cat >>conftest.$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24594 #define $ac_func innocuous_$ac_func
24595
24596 /* System header to define __stub macros and hopefully few prototypes,
24597 which can conflict with char $ac_func (); below.
24598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24599 <limits.h> exists even on freestanding compilers. */
24600
24601 #ifdef __STDC__
24602 # include <limits.h>
24603 #else
24604 # include <assert.h>
24605 #endif
24606
24607 #undef $ac_func
24608
24609 /* Override any gcc2 internal prototype to avoid an error. */
24610 #ifdef __cplusplus
24611 extern "C"
24612 {
24613 #endif
24614 /* We use char because int might match the return type of a gcc2
24615 builtin and then its argument prototype would still apply. */
24616 char $ac_func ();
24617 /* The GNU C library defines this for functions which it implements
24618 to always fail with ENOSYS. Some functions are actually named
24619 something starting with __ and the normal name is an alias. */
24620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24621 choke me
24622 #else
24623 char (*f) () = $ac_func;
24624 #endif
24625 #ifdef __cplusplus
24626 }
24627 #endif
24628
24629 int
24630 main ()
24631 {
24632 return f != $ac_func;
24633 ;
24634 return 0;
24635 }
24636 _ACEOF
24637 rm -f conftest.$ac_objext conftest$ac_exeext
24638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24639 (eval $ac_link) 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try='test -z "$ac_c_werror_flag"
24647 || test ! -s conftest.err'
24648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24649 (eval $ac_try) 2>&5
24650 ac_status=$?
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; } &&
24653 { ac_try='test -s conftest$ac_exeext'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; }; then
24659 eval "$as_ac_var=yes"
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664 eval "$as_ac_var=no"
24665 fi
24666 rm -f conftest.err conftest.$ac_objext \
24667 conftest$ac_exeext conftest.$ac_ext
24668 fi
24669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24671 if test `eval echo '${'$as_ac_var'}'` = yes; then
24672 cat >>confdefs.h <<_ACEOF
24673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24674 _ACEOF
24675
24676 fi
24677 done
24678
24679 else
24680
24681 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24682 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24683 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24684 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24685 echo $ECHO_N "(cached) $ECHO_C" >&6
24686 else
24687
24688
24689
24690 ac_ext=cc
24691 ac_cpp='$CXXCPP $CPPFLAGS'
24692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24695
24696 cat >conftest.$ac_ext <<_ACEOF
24697 /* confdefs.h. */
24698 _ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #include <math.h>
24703 int
24704 main ()
24705 {
24706 _frexpf(0, 0);
24707 ;
24708 return 0;
24709 }
24710 _ACEOF
24711 rm -f conftest.$ac_objext
24712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24713 (eval $ac_compile) 2>conftest.er1
24714 ac_status=$?
24715 grep -v '^ *+' conftest.er1 >conftest.err
24716 rm -f conftest.er1
24717 cat conftest.err >&5
24718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719 (exit $ac_status); } &&
24720 { ac_try='test -z "$ac_cxx_werror_flag"
24721 || test ! -s conftest.err'
24722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24723 (eval $ac_try) 2>&5
24724 ac_status=$?
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); }; } &&
24727 { ac_try='test -s conftest.$ac_objext'
24728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24729 (eval $ac_try) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); }; }; then
24733 glibcxx_cv_func__frexpf_use=yes
24734 else
24735 echo "$as_me: failed program was:" >&5
24736 sed 's/^/| /' conftest.$ac_ext >&5
24737
24738 glibcxx_cv_func__frexpf_use=no
24739 fi
24740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24741 ac_ext=c
24742 ac_cpp='$CPP $CPPFLAGS'
24743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24746
24747
24748 fi
24749
24750 fi
24751 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24752 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24753
24754 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24755
24756 for ac_func in _frexpf
24757 do
24758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24759 echo "$as_me:$LINENO: checking for $ac_func" >&5
24760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24761 if eval "test \"\${$as_ac_var+set}\" = set"; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 if test x$gcc_no_link = xyes; then
24765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24767 { (exit 1); exit 1; }; }
24768 fi
24769 cat >conftest.$ac_ext <<_ACEOF
24770 /* confdefs.h. */
24771 _ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24777 #define $ac_func innocuous_$ac_func
24778
24779 /* System header to define __stub macros and hopefully few prototypes,
24780 which can conflict with char $ac_func (); below.
24781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24782 <limits.h> exists even on freestanding compilers. */
24783
24784 #ifdef __STDC__
24785 # include <limits.h>
24786 #else
24787 # include <assert.h>
24788 #endif
24789
24790 #undef $ac_func
24791
24792 /* Override any gcc2 internal prototype to avoid an error. */
24793 #ifdef __cplusplus
24794 extern "C"
24795 {
24796 #endif
24797 /* We use char because int might match the return type of a gcc2
24798 builtin and then its argument prototype would still apply. */
24799 char $ac_func ();
24800 /* The GNU C library defines this for functions which it implements
24801 to always fail with ENOSYS. Some functions are actually named
24802 something starting with __ and the normal name is an alias. */
24803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24804 choke me
24805 #else
24806 char (*f) () = $ac_func;
24807 #endif
24808 #ifdef __cplusplus
24809 }
24810 #endif
24811
24812 int
24813 main ()
24814 {
24815 return f != $ac_func;
24816 ;
24817 return 0;
24818 }
24819 _ACEOF
24820 rm -f conftest.$ac_objext conftest$ac_exeext
24821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24822 (eval $ac_link) 2>conftest.er1
24823 ac_status=$?
24824 grep -v '^ *+' conftest.er1 >conftest.err
24825 rm -f conftest.er1
24826 cat conftest.err >&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } &&
24829 { ac_try='test -z "$ac_c_werror_flag"
24830 || test ! -s conftest.err'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; } &&
24836 { ac_try='test -s conftest$ac_exeext'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24839 ac_status=$?
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; }; then
24842 eval "$as_ac_var=yes"
24843 else
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 eval "$as_ac_var=no"
24848 fi
24849 rm -f conftest.err conftest.$ac_objext \
24850 conftest$ac_exeext conftest.$ac_ext
24851 fi
24852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24854 if test `eval echo '${'$as_ac_var'}'` = yes; then
24855 cat >>confdefs.h <<_ACEOF
24856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24857 _ACEOF
24858
24859 fi
24860 done
24861
24862 fi
24863 fi
24864
24865
24866
24867
24868
24869
24870 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24871 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24872 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24873 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24875 else
24876
24877
24878
24879 ac_ext=cc
24880 ac_cpp='$CXXCPP $CPPFLAGS'
24881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24884
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 #include <math.h>
24892 int
24893 main ()
24894 {
24895 hypotf(0, 0);
24896 ;
24897 return 0;
24898 }
24899 _ACEOF
24900 rm -f conftest.$ac_objext
24901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24902 (eval $ac_compile) 2>conftest.er1
24903 ac_status=$?
24904 grep -v '^ *+' conftest.er1 >conftest.err
24905 rm -f conftest.er1
24906 cat conftest.err >&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } &&
24909 { ac_try='test -z "$ac_cxx_werror_flag"
24910 || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try='test -s conftest.$ac_objext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24919 ac_status=$?
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 glibcxx_cv_func_hypotf_use=yes
24923 else
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24926
24927 glibcxx_cv_func_hypotf_use=no
24928 fi
24929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24930 ac_ext=c
24931 ac_cpp='$CPP $CPPFLAGS'
24932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24935
24936
24937 fi
24938
24939 fi
24940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24941 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24942
24943 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24944
24945 for ac_func in hypotf
24946 do
24947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24948 echo "$as_me:$LINENO: checking for $ac_func" >&5
24949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24950 if eval "test \"\${$as_ac_var+set}\" = set"; then
24951 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 else
24953 if test x$gcc_no_link = xyes; then
24954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24956 { (exit 1); exit 1; }; }
24957 fi
24958 cat >conftest.$ac_ext <<_ACEOF
24959 /* confdefs.h. */
24960 _ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24966 #define $ac_func innocuous_$ac_func
24967
24968 /* System header to define __stub macros and hopefully few prototypes,
24969 which can conflict with char $ac_func (); below.
24970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24971 <limits.h> exists even on freestanding compilers. */
24972
24973 #ifdef __STDC__
24974 # include <limits.h>
24975 #else
24976 # include <assert.h>
24977 #endif
24978
24979 #undef $ac_func
24980
24981 /* Override any gcc2 internal prototype to avoid an error. */
24982 #ifdef __cplusplus
24983 extern "C"
24984 {
24985 #endif
24986 /* We use char because int might match the return type of a gcc2
24987 builtin and then its argument prototype would still apply. */
24988 char $ac_func ();
24989 /* The GNU C library defines this for functions which it implements
24990 to always fail with ENOSYS. Some functions are actually named
24991 something starting with __ and the normal name is an alias. */
24992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24993 choke me
24994 #else
24995 char (*f) () = $ac_func;
24996 #endif
24997 #ifdef __cplusplus
24998 }
24999 #endif
25000
25001 int
25002 main ()
25003 {
25004 return f != $ac_func;
25005 ;
25006 return 0;
25007 }
25008 _ACEOF
25009 rm -f conftest.$ac_objext conftest$ac_exeext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25011 (eval $ac_link) 2>conftest.er1
25012 ac_status=$?
25013 grep -v '^ *+' conftest.er1 >conftest.err
25014 rm -f conftest.er1
25015 cat conftest.err >&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try='test -z "$ac_c_werror_flag"
25019 || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25028 ac_status=$?
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 eval "$as_ac_var=yes"
25032 else
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036 eval "$as_ac_var=no"
25037 fi
25038 rm -f conftest.err conftest.$ac_objext \
25039 conftest$ac_exeext conftest.$ac_ext
25040 fi
25041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25043 if test `eval echo '${'$as_ac_var'}'` = yes; then
25044 cat >>confdefs.h <<_ACEOF
25045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25046 _ACEOF
25047
25048 fi
25049 done
25050
25051 else
25052
25053 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25054 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25055 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25056 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 else
25059
25060
25061
25062 ac_ext=cc
25063 ac_cpp='$CXXCPP $CPPFLAGS'
25064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25067
25068 cat >conftest.$ac_ext <<_ACEOF
25069 /* confdefs.h. */
25070 _ACEOF
25071 cat confdefs.h >>conftest.$ac_ext
25072 cat >>conftest.$ac_ext <<_ACEOF
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 int
25076 main ()
25077 {
25078 _hypotf(0, 0);
25079 ;
25080 return 0;
25081 }
25082 _ACEOF
25083 rm -f conftest.$ac_objext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25085 (eval $ac_compile) 2>conftest.er1
25086 ac_status=$?
25087 grep -v '^ *+' conftest.er1 >conftest.err
25088 rm -f conftest.er1
25089 cat conftest.err >&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); } &&
25092 { ac_try='test -z "$ac_cxx_werror_flag"
25093 || test ! -s conftest.err'
25094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25095 (eval $ac_try) 2>&5
25096 ac_status=$?
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); }; } &&
25099 { ac_try='test -s conftest.$ac_objext'
25100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 (eval $ac_try) 2>&5
25102 ac_status=$?
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); }; }; then
25105 glibcxx_cv_func__hypotf_use=yes
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25109
25110 glibcxx_cv_func__hypotf_use=no
25111 fi
25112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25113 ac_ext=c
25114 ac_cpp='$CPP $CPPFLAGS'
25115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25118
25119
25120 fi
25121
25122 fi
25123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25124 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25125
25126 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25127
25128 for ac_func in _hypotf
25129 do
25130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25131 echo "$as_me:$LINENO: checking for $ac_func" >&5
25132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25133 if eval "test \"\${$as_ac_var+set}\" = set"; then
25134 echo $ECHO_N "(cached) $ECHO_C" >&6
25135 else
25136 if test x$gcc_no_link = xyes; then
25137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25139 { (exit 1); exit 1; }; }
25140 fi
25141 cat >conftest.$ac_ext <<_ACEOF
25142 /* confdefs.h. */
25143 _ACEOF
25144 cat confdefs.h >>conftest.$ac_ext
25145 cat >>conftest.$ac_ext <<_ACEOF
25146 /* end confdefs.h. */
25147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25149 #define $ac_func innocuous_$ac_func
25150
25151 /* System header to define __stub macros and hopefully few prototypes,
25152 which can conflict with char $ac_func (); below.
25153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25154 <limits.h> exists even on freestanding compilers. */
25155
25156 #ifdef __STDC__
25157 # include <limits.h>
25158 #else
25159 # include <assert.h>
25160 #endif
25161
25162 #undef $ac_func
25163
25164 /* Override any gcc2 internal prototype to avoid an error. */
25165 #ifdef __cplusplus
25166 extern "C"
25167 {
25168 #endif
25169 /* We use char because int might match the return type of a gcc2
25170 builtin and then its argument prototype would still apply. */
25171 char $ac_func ();
25172 /* The GNU C library defines this for functions which it implements
25173 to always fail with ENOSYS. Some functions are actually named
25174 something starting with __ and the normal name is an alias. */
25175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25176 choke me
25177 #else
25178 char (*f) () = $ac_func;
25179 #endif
25180 #ifdef __cplusplus
25181 }
25182 #endif
25183
25184 int
25185 main ()
25186 {
25187 return f != $ac_func;
25188 ;
25189 return 0;
25190 }
25191 _ACEOF
25192 rm -f conftest.$ac_objext conftest$ac_exeext
25193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25194 (eval $ac_link) 2>conftest.er1
25195 ac_status=$?
25196 grep -v '^ *+' conftest.er1 >conftest.err
25197 rm -f conftest.er1
25198 cat conftest.err >&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } &&
25201 { ac_try='test -z "$ac_c_werror_flag"
25202 || test ! -s conftest.err'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25205 ac_status=$?
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; } &&
25208 { ac_try='test -s conftest$ac_exeext'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; }; then
25214 eval "$as_ac_var=yes"
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 eval "$as_ac_var=no"
25220 fi
25221 rm -f conftest.err conftest.$ac_objext \
25222 conftest$ac_exeext conftest.$ac_ext
25223 fi
25224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25226 if test `eval echo '${'$as_ac_var'}'` = yes; then
25227 cat >>confdefs.h <<_ACEOF
25228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234 fi
25235 fi
25236
25237
25238
25239
25240
25241
25242 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25243 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25244 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25245 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 else
25248
25249
25250
25251 ac_ext=cc
25252 ac_cpp='$CXXCPP $CPPFLAGS'
25253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25256
25257 cat >conftest.$ac_ext <<_ACEOF
25258 /* confdefs.h. */
25259 _ACEOF
25260 cat confdefs.h >>conftest.$ac_ext
25261 cat >>conftest.$ac_ext <<_ACEOF
25262 /* end confdefs.h. */
25263 #include <math.h>
25264 int
25265 main ()
25266 {
25267 ldexpf(0, 0);
25268 ;
25269 return 0;
25270 }
25271 _ACEOF
25272 rm -f conftest.$ac_objext
25273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25274 (eval $ac_compile) 2>conftest.er1
25275 ac_status=$?
25276 grep -v '^ *+' conftest.er1 >conftest.err
25277 rm -f conftest.er1
25278 cat conftest.err >&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); } &&
25281 { ac_try='test -z "$ac_cxx_werror_flag"
25282 || test ! -s conftest.err'
25283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284 (eval $ac_try) 2>&5
25285 ac_status=$?
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); }; } &&
25288 { ac_try='test -s conftest.$ac_objext'
25289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290 (eval $ac_try) 2>&5
25291 ac_status=$?
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); }; }; then
25294 glibcxx_cv_func_ldexpf_use=yes
25295 else
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.$ac_ext >&5
25298
25299 glibcxx_cv_func_ldexpf_use=no
25300 fi
25301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25302 ac_ext=c
25303 ac_cpp='$CPP $CPPFLAGS'
25304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25307
25308
25309 fi
25310
25311 fi
25312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25313 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25314
25315 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25316
25317 for ac_func in ldexpf
25318 do
25319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25320 echo "$as_me:$LINENO: checking for $ac_func" >&5
25321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25322 if eval "test \"\${$as_ac_var+set}\" = set"; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 else
25325 if test x$gcc_no_link = xyes; then
25326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25328 { (exit 1); exit 1; }; }
25329 fi
25330 cat >conftest.$ac_ext <<_ACEOF
25331 /* confdefs.h. */
25332 _ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25338 #define $ac_func innocuous_$ac_func
25339
25340 /* System header to define __stub macros and hopefully few prototypes,
25341 which can conflict with char $ac_func (); below.
25342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25343 <limits.h> exists even on freestanding compilers. */
25344
25345 #ifdef __STDC__
25346 # include <limits.h>
25347 #else
25348 # include <assert.h>
25349 #endif
25350
25351 #undef $ac_func
25352
25353 /* Override any gcc2 internal prototype to avoid an error. */
25354 #ifdef __cplusplus
25355 extern "C"
25356 {
25357 #endif
25358 /* We use char because int might match the return type of a gcc2
25359 builtin and then its argument prototype would still apply. */
25360 char $ac_func ();
25361 /* The GNU C library defines this for functions which it implements
25362 to always fail with ENOSYS. Some functions are actually named
25363 something starting with __ and the normal name is an alias. */
25364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25365 choke me
25366 #else
25367 char (*f) () = $ac_func;
25368 #endif
25369 #ifdef __cplusplus
25370 }
25371 #endif
25372
25373 int
25374 main ()
25375 {
25376 return f != $ac_func;
25377 ;
25378 return 0;
25379 }
25380 _ACEOF
25381 rm -f conftest.$ac_objext conftest$ac_exeext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25383 (eval $ac_link) 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try='test -z "$ac_c_werror_flag"
25391 || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest$ac_exeext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403 eval "$as_ac_var=yes"
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25407
25408 eval "$as_ac_var=no"
25409 fi
25410 rm -f conftest.err conftest.$ac_objext \
25411 conftest$ac_exeext conftest.$ac_ext
25412 fi
25413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25415 if test `eval echo '${'$as_ac_var'}'` = yes; then
25416 cat >>confdefs.h <<_ACEOF
25417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25418 _ACEOF
25419
25420 fi
25421 done
25422
25423 else
25424
25425 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25426 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25427 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25428 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25430 else
25431
25432
25433
25434 ac_ext=cc
25435 ac_cpp='$CXXCPP $CPPFLAGS'
25436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25439
25440 cat >conftest.$ac_ext <<_ACEOF
25441 /* confdefs.h. */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 #include <math.h>
25447 int
25448 main ()
25449 {
25450 _ldexpf(0, 0);
25451 ;
25452 return 0;
25453 }
25454 _ACEOF
25455 rm -f conftest.$ac_objext
25456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25457 (eval $ac_compile) 2>conftest.er1
25458 ac_status=$?
25459 grep -v '^ *+' conftest.er1 >conftest.err
25460 rm -f conftest.er1
25461 cat conftest.err >&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); } &&
25464 { ac_try='test -z "$ac_cxx_werror_flag"
25465 || test ! -s conftest.err'
25466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25467 (eval $ac_try) 2>&5
25468 ac_status=$?
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); }; } &&
25471 { ac_try='test -s conftest.$ac_objext'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25474 ac_status=$?
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; }; then
25477 glibcxx_cv_func__ldexpf_use=yes
25478 else
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25481
25482 glibcxx_cv_func__ldexpf_use=no
25483 fi
25484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25485 ac_ext=c
25486 ac_cpp='$CPP $CPPFLAGS'
25487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25490
25491
25492 fi
25493
25494 fi
25495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25496 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25497
25498 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25499
25500 for ac_func in _ldexpf
25501 do
25502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25503 echo "$as_me:$LINENO: checking for $ac_func" >&5
25504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25505 if eval "test \"\${$as_ac_var+set}\" = set"; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 else
25508 if test x$gcc_no_link = xyes; then
25509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25511 { (exit 1); exit 1; }; }
25512 fi
25513 cat >conftest.$ac_ext <<_ACEOF
25514 /* confdefs.h. */
25515 _ACEOF
25516 cat confdefs.h >>conftest.$ac_ext
25517 cat >>conftest.$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25521 #define $ac_func innocuous_$ac_func
25522
25523 /* System header to define __stub macros and hopefully few prototypes,
25524 which can conflict with char $ac_func (); below.
25525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25526 <limits.h> exists even on freestanding compilers. */
25527
25528 #ifdef __STDC__
25529 # include <limits.h>
25530 #else
25531 # include <assert.h>
25532 #endif
25533
25534 #undef $ac_func
25535
25536 /* Override any gcc2 internal prototype to avoid an error. */
25537 #ifdef __cplusplus
25538 extern "C"
25539 {
25540 #endif
25541 /* We use char because int might match the return type of a gcc2
25542 builtin and then its argument prototype would still apply. */
25543 char $ac_func ();
25544 /* The GNU C library defines this for functions which it implements
25545 to always fail with ENOSYS. Some functions are actually named
25546 something starting with __ and the normal name is an alias. */
25547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25548 choke me
25549 #else
25550 char (*f) () = $ac_func;
25551 #endif
25552 #ifdef __cplusplus
25553 }
25554 #endif
25555
25556 int
25557 main ()
25558 {
25559 return f != $ac_func;
25560 ;
25561 return 0;
25562 }
25563 _ACEOF
25564 rm -f conftest.$ac_objext conftest$ac_exeext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25566 (eval $ac_link) 2>conftest.er1
25567 ac_status=$?
25568 grep -v '^ *+' conftest.er1 >conftest.err
25569 rm -f conftest.er1
25570 cat conftest.err >&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try='test -z "$ac_c_werror_flag"
25574 || test ! -s conftest.err'
25575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 (eval $ac_try) 2>&5
25577 ac_status=$?
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); }; } &&
25580 { ac_try='test -s conftest$ac_exeext'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; }; then
25586 eval "$as_ac_var=yes"
25587 else
25588 echo "$as_me: failed program was:" >&5
25589 sed 's/^/| /' conftest.$ac_ext >&5
25590
25591 eval "$as_ac_var=no"
25592 fi
25593 rm -f conftest.err conftest.$ac_objext \
25594 conftest$ac_exeext conftest.$ac_ext
25595 fi
25596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25598 if test `eval echo '${'$as_ac_var'}'` = yes; then
25599 cat >>confdefs.h <<_ACEOF
25600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25601 _ACEOF
25602
25603 fi
25604 done
25605
25606 fi
25607 fi
25608
25609
25610
25611
25612
25613
25614 echo "$as_me:$LINENO: checking for logf declaration" >&5
25615 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25616 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25617 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 else
25620
25621
25622
25623 ac_ext=cc
25624 ac_cpp='$CXXCPP $CPPFLAGS'
25625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25628
25629 cat >conftest.$ac_ext <<_ACEOF
25630 /* confdefs.h. */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 #include <math.h>
25636 #ifdef HAVE_IEEEFP_H
25637 #include <ieeefp.h>
25638 #endif
25639
25640 int
25641 main ()
25642 {
25643 logf(0);
25644 ;
25645 return 0;
25646 }
25647 _ACEOF
25648 rm -f conftest.$ac_objext
25649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25650 (eval $ac_compile) 2>conftest.er1
25651 ac_status=$?
25652 grep -v '^ *+' conftest.er1 >conftest.err
25653 rm -f conftest.er1
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } &&
25657 { ac_try='test -z "$ac_cxx_werror_flag"
25658 || test ! -s conftest.err'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25661 ac_status=$?
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; } &&
25664 { ac_try='test -s conftest.$ac_objext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25667 ac_status=$?
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670 glibcxx_cv_func_logf_use=yes
25671 else
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.$ac_ext >&5
25674
25675 glibcxx_cv_func_logf_use=no
25676 fi
25677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25678 ac_ext=c
25679 ac_cpp='$CPP $CPPFLAGS'
25680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25683
25684
25685 fi
25686
25687 fi
25688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25689 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25690
25691 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25692
25693 for ac_func in logf
25694 do
25695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25696 echo "$as_me:$LINENO: checking for $ac_func" >&5
25697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25698 if eval "test \"\${$as_ac_var+set}\" = set"; then
25699 echo $ECHO_N "(cached) $ECHO_C" >&6
25700 else
25701 if test x$gcc_no_link = xyes; then
25702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25704 { (exit 1); exit 1; }; }
25705 fi
25706 cat >conftest.$ac_ext <<_ACEOF
25707 /* confdefs.h. */
25708 _ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25714 #define $ac_func innocuous_$ac_func
25715
25716 /* System header to define __stub macros and hopefully few prototypes,
25717 which can conflict with char $ac_func (); below.
25718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25719 <limits.h> exists even on freestanding compilers. */
25720
25721 #ifdef __STDC__
25722 # include <limits.h>
25723 #else
25724 # include <assert.h>
25725 #endif
25726
25727 #undef $ac_func
25728
25729 /* Override any gcc2 internal prototype to avoid an error. */
25730 #ifdef __cplusplus
25731 extern "C"
25732 {
25733 #endif
25734 /* We use char because int might match the return type of a gcc2
25735 builtin and then its argument prototype would still apply. */
25736 char $ac_func ();
25737 /* The GNU C library defines this for functions which it implements
25738 to always fail with ENOSYS. Some functions are actually named
25739 something starting with __ and the normal name is an alias. */
25740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25741 choke me
25742 #else
25743 char (*f) () = $ac_func;
25744 #endif
25745 #ifdef __cplusplus
25746 }
25747 #endif
25748
25749 int
25750 main ()
25751 {
25752 return f != $ac_func;
25753 ;
25754 return 0;
25755 }
25756 _ACEOF
25757 rm -f conftest.$ac_objext conftest$ac_exeext
25758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25759 (eval $ac_link) 2>conftest.er1
25760 ac_status=$?
25761 grep -v '^ *+' conftest.er1 >conftest.err
25762 rm -f conftest.er1
25763 cat conftest.err >&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } &&
25766 { ac_try='test -z "$ac_c_werror_flag"
25767 || test ! -s conftest.err'
25768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25769 (eval $ac_try) 2>&5
25770 ac_status=$?
25771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772 (exit $ac_status); }; } &&
25773 { ac_try='test -s conftest$ac_exeext'
25774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25775 (eval $ac_try) 2>&5
25776 ac_status=$?
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); }; }; then
25779 eval "$as_ac_var=yes"
25780 else
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.$ac_ext >&5
25783
25784 eval "$as_ac_var=no"
25785 fi
25786 rm -f conftest.err conftest.$ac_objext \
25787 conftest$ac_exeext conftest.$ac_ext
25788 fi
25789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25791 if test `eval echo '${'$as_ac_var'}'` = yes; then
25792 cat >>confdefs.h <<_ACEOF
25793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25794 _ACEOF
25795
25796 fi
25797 done
25798
25799 else
25800
25801 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25802 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25803 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25804 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807
25808
25809
25810 ac_ext=cc
25811 ac_cpp='$CXXCPP $CPPFLAGS'
25812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25815
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822 #include <math.h>
25823 #ifdef HAVE_IEEEFP_H
25824 #include <ieeefp.h>
25825 #endif
25826
25827 int
25828 main ()
25829 {
25830 _logf(0);
25831 ;
25832 return 0;
25833 }
25834 _ACEOF
25835 rm -f conftest.$ac_objext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25837 (eval $ac_compile) 2>conftest.er1
25838 ac_status=$?
25839 grep -v '^ *+' conftest.er1 >conftest.err
25840 rm -f conftest.er1
25841 cat conftest.err >&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try='test -z "$ac_cxx_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25848 ac_status=$?
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try='test -s conftest.$ac_objext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25857 glibcxx_cv_func__logf_use=yes
25858 else
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.$ac_ext >&5
25861
25862 glibcxx_cv_func__logf_use=no
25863 fi
25864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870
25871
25872 fi
25873
25874 fi
25875 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25876 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25877
25878 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25879
25880 for ac_func in _logf
25881 do
25882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25883 echo "$as_me:$LINENO: checking for $ac_func" >&5
25884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25885 if eval "test \"\${$as_ac_var+set}\" = set"; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 else
25888 if test x$gcc_no_link = xyes; then
25889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25891 { (exit 1); exit 1; }; }
25892 fi
25893 cat >conftest.$ac_ext <<_ACEOF
25894 /* confdefs.h. */
25895 _ACEOF
25896 cat confdefs.h >>conftest.$ac_ext
25897 cat >>conftest.$ac_ext <<_ACEOF
25898 /* end confdefs.h. */
25899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25901 #define $ac_func innocuous_$ac_func
25902
25903 /* System header to define __stub macros and hopefully few prototypes,
25904 which can conflict with char $ac_func (); below.
25905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25906 <limits.h> exists even on freestanding compilers. */
25907
25908 #ifdef __STDC__
25909 # include <limits.h>
25910 #else
25911 # include <assert.h>
25912 #endif
25913
25914 #undef $ac_func
25915
25916 /* Override any gcc2 internal prototype to avoid an error. */
25917 #ifdef __cplusplus
25918 extern "C"
25919 {
25920 #endif
25921 /* We use char because int might match the return type of a gcc2
25922 builtin and then its argument prototype would still apply. */
25923 char $ac_func ();
25924 /* The GNU C library defines this for functions which it implements
25925 to always fail with ENOSYS. Some functions are actually named
25926 something starting with __ and the normal name is an alias. */
25927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25928 choke me
25929 #else
25930 char (*f) () = $ac_func;
25931 #endif
25932 #ifdef __cplusplus
25933 }
25934 #endif
25935
25936 int
25937 main ()
25938 {
25939 return f != $ac_func;
25940 ;
25941 return 0;
25942 }
25943 _ACEOF
25944 rm -f conftest.$ac_objext conftest$ac_exeext
25945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25946 (eval $ac_link) 2>conftest.er1
25947 ac_status=$?
25948 grep -v '^ *+' conftest.er1 >conftest.err
25949 rm -f conftest.er1
25950 cat conftest.err >&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); } &&
25953 { ac_try='test -z "$ac_c_werror_flag"
25954 || test ! -s conftest.err'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25957 ac_status=$?
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; } &&
25960 { ac_try='test -s conftest$ac_exeext'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25963 ac_status=$?
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; }; then
25966 eval "$as_ac_var=yes"
25967 else
25968 echo "$as_me: failed program was:" >&5
25969 sed 's/^/| /' conftest.$ac_ext >&5
25970
25971 eval "$as_ac_var=no"
25972 fi
25973 rm -f conftest.err conftest.$ac_objext \
25974 conftest$ac_exeext conftest.$ac_ext
25975 fi
25976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25978 if test `eval echo '${'$as_ac_var'}'` = yes; then
25979 cat >>confdefs.h <<_ACEOF
25980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25981 _ACEOF
25982
25983 fi
25984 done
25985
25986 fi
25987 fi
25988
25989
25990
25991
25992
25993
25994 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25995 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25996 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25997 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000
26001
26002
26003 ac_ext=cc
26004 ac_cpp='$CXXCPP $CPPFLAGS'
26005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26008
26009 cat >conftest.$ac_ext <<_ACEOF
26010 /* confdefs.h. */
26011 _ACEOF
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26015 #include <math.h>
26016 #ifdef HAVE_IEEEFP_H
26017 #include <ieeefp.h>
26018 #endif
26019
26020 int
26021 main ()
26022 {
26023 log10f(0);
26024 ;
26025 return 0;
26026 }
26027 _ACEOF
26028 rm -f conftest.$ac_objext
26029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26030 (eval $ac_compile) 2>conftest.er1
26031 ac_status=$?
26032 grep -v '^ *+' conftest.er1 >conftest.err
26033 rm -f conftest.er1
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } &&
26037 { ac_try='test -z "$ac_cxx_werror_flag"
26038 || test ! -s conftest.err'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26041 ac_status=$?
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; } &&
26044 { ac_try='test -s conftest.$ac_objext'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; }; then
26050 glibcxx_cv_func_log10f_use=yes
26051 else
26052 echo "$as_me: failed program was:" >&5
26053 sed 's/^/| /' conftest.$ac_ext >&5
26054
26055 glibcxx_cv_func_log10f_use=no
26056 fi
26057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26058 ac_ext=c
26059 ac_cpp='$CPP $CPPFLAGS'
26060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26063
26064
26065 fi
26066
26067 fi
26068 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26069 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26070
26071 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26072
26073 for ac_func in log10f
26074 do
26075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26076 echo "$as_me:$LINENO: checking for $ac_func" >&5
26077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26078 if eval "test \"\${$as_ac_var+set}\" = set"; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081 if test x$gcc_no_link = xyes; then
26082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26084 { (exit 1); exit 1; }; }
26085 fi
26086 cat >conftest.$ac_ext <<_ACEOF
26087 /* confdefs.h. */
26088 _ACEOF
26089 cat confdefs.h >>conftest.$ac_ext
26090 cat >>conftest.$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26094 #define $ac_func innocuous_$ac_func
26095
26096 /* System header to define __stub macros and hopefully few prototypes,
26097 which can conflict with char $ac_func (); below.
26098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26099 <limits.h> exists even on freestanding compilers. */
26100
26101 #ifdef __STDC__
26102 # include <limits.h>
26103 #else
26104 # include <assert.h>
26105 #endif
26106
26107 #undef $ac_func
26108
26109 /* Override any gcc2 internal prototype to avoid an error. */
26110 #ifdef __cplusplus
26111 extern "C"
26112 {
26113 #endif
26114 /* We use char because int might match the return type of a gcc2
26115 builtin and then its argument prototype would still apply. */
26116 char $ac_func ();
26117 /* The GNU C library defines this for functions which it implements
26118 to always fail with ENOSYS. Some functions are actually named
26119 something starting with __ and the normal name is an alias. */
26120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26121 choke me
26122 #else
26123 char (*f) () = $ac_func;
26124 #endif
26125 #ifdef __cplusplus
26126 }
26127 #endif
26128
26129 int
26130 main ()
26131 {
26132 return f != $ac_func;
26133 ;
26134 return 0;
26135 }
26136 _ACEOF
26137 rm -f conftest.$ac_objext conftest$ac_exeext
26138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26139 (eval $ac_link) 2>conftest.er1
26140 ac_status=$?
26141 grep -v '^ *+' conftest.er1 >conftest.err
26142 rm -f conftest.er1
26143 cat conftest.err >&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } &&
26146 { ac_try='test -z "$ac_c_werror_flag"
26147 || test ! -s conftest.err'
26148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26149 (eval $ac_try) 2>&5
26150 ac_status=$?
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); }; } &&
26153 { ac_try='test -s conftest$ac_exeext'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26156 ac_status=$?
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; }; then
26159 eval "$as_ac_var=yes"
26160 else
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164 eval "$as_ac_var=no"
26165 fi
26166 rm -f conftest.err conftest.$ac_objext \
26167 conftest$ac_exeext conftest.$ac_ext
26168 fi
26169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26171 if test `eval echo '${'$as_ac_var'}'` = yes; then
26172 cat >>confdefs.h <<_ACEOF
26173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26174 _ACEOF
26175
26176 fi
26177 done
26178
26179 else
26180
26181 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26182 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26183 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26184 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 else
26187
26188
26189
26190 ac_ext=cc
26191 ac_cpp='$CXXCPP $CPPFLAGS'
26192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26195
26196 cat >conftest.$ac_ext <<_ACEOF
26197 /* confdefs.h. */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202 #include <math.h>
26203 #ifdef HAVE_IEEEFP_H
26204 #include <ieeefp.h>
26205 #endif
26206
26207 int
26208 main ()
26209 {
26210 _log10f(0);
26211 ;
26212 return 0;
26213 }
26214 _ACEOF
26215 rm -f conftest.$ac_objext
26216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26217 (eval $ac_compile) 2>conftest.er1
26218 ac_status=$?
26219 grep -v '^ *+' conftest.er1 >conftest.err
26220 rm -f conftest.er1
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } &&
26224 { ac_try='test -z "$ac_cxx_werror_flag"
26225 || test ! -s conftest.err'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26228 ac_status=$?
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; } &&
26231 { ac_try='test -s conftest.$ac_objext'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; }; then
26237 glibcxx_cv_func__log10f_use=yes
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26241
26242 glibcxx_cv_func__log10f_use=no
26243 fi
26244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26245 ac_ext=c
26246 ac_cpp='$CPP $CPPFLAGS'
26247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26250
26251
26252 fi
26253
26254 fi
26255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26256 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26257
26258 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26259
26260 for ac_func in _log10f
26261 do
26262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26263 echo "$as_me:$LINENO: checking for $ac_func" >&5
26264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26265 if eval "test \"\${$as_ac_var+set}\" = set"; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26267 else
26268 if test x$gcc_no_link = xyes; then
26269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26271 { (exit 1); exit 1; }; }
26272 fi
26273 cat >conftest.$ac_ext <<_ACEOF
26274 /* confdefs.h. */
26275 _ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26281 #define $ac_func innocuous_$ac_func
26282
26283 /* System header to define __stub macros and hopefully few prototypes,
26284 which can conflict with char $ac_func (); below.
26285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26286 <limits.h> exists even on freestanding compilers. */
26287
26288 #ifdef __STDC__
26289 # include <limits.h>
26290 #else
26291 # include <assert.h>
26292 #endif
26293
26294 #undef $ac_func
26295
26296 /* Override any gcc2 internal prototype to avoid an error. */
26297 #ifdef __cplusplus
26298 extern "C"
26299 {
26300 #endif
26301 /* We use char because int might match the return type of a gcc2
26302 builtin and then its argument prototype would still apply. */
26303 char $ac_func ();
26304 /* The GNU C library defines this for functions which it implements
26305 to always fail with ENOSYS. Some functions are actually named
26306 something starting with __ and the normal name is an alias. */
26307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26308 choke me
26309 #else
26310 char (*f) () = $ac_func;
26311 #endif
26312 #ifdef __cplusplus
26313 }
26314 #endif
26315
26316 int
26317 main ()
26318 {
26319 return f != $ac_func;
26320 ;
26321 return 0;
26322 }
26323 _ACEOF
26324 rm -f conftest.$ac_objext conftest$ac_exeext
26325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26326 (eval $ac_link) 2>conftest.er1
26327 ac_status=$?
26328 grep -v '^ *+' conftest.er1 >conftest.err
26329 rm -f conftest.er1
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } &&
26333 { ac_try='test -z "$ac_c_werror_flag"
26334 || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try='test -s conftest$ac_exeext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346 eval "$as_ac_var=yes"
26347 else
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.$ac_ext >&5
26350
26351 eval "$as_ac_var=no"
26352 fi
26353 rm -f conftest.err conftest.$ac_objext \
26354 conftest$ac_exeext conftest.$ac_ext
26355 fi
26356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26358 if test `eval echo '${'$as_ac_var'}'` = yes; then
26359 cat >>confdefs.h <<_ACEOF
26360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26361 _ACEOF
26362
26363 fi
26364 done
26365
26366 fi
26367 fi
26368
26369
26370
26371
26372
26373
26374 echo "$as_me:$LINENO: checking for modff declaration" >&5
26375 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26376 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26377 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 else
26380
26381
26382
26383 ac_ext=cc
26384 ac_cpp='$CXXCPP $CPPFLAGS'
26385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26388
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 #include <math.h>
26396 int
26397 main ()
26398 {
26399 modff(0, 0);
26400 ;
26401 return 0;
26402 }
26403 _ACEOF
26404 rm -f conftest.$ac_objext
26405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26406 (eval $ac_compile) 2>conftest.er1
26407 ac_status=$?
26408 grep -v '^ *+' conftest.er1 >conftest.err
26409 rm -f conftest.er1
26410 cat conftest.err >&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } &&
26413 { ac_try='test -z "$ac_cxx_werror_flag"
26414 || test ! -s conftest.err'
26415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416 (eval $ac_try) 2>&5
26417 ac_status=$?
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; } &&
26420 { ac_try='test -s conftest.$ac_objext'
26421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422 (eval $ac_try) 2>&5
26423 ac_status=$?
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); }; }; then
26426 glibcxx_cv_func_modff_use=yes
26427 else
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 glibcxx_cv_func_modff_use=no
26432 fi
26433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26434 ac_ext=c
26435 ac_cpp='$CPP $CPPFLAGS'
26436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26439
26440
26441 fi
26442
26443 fi
26444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26445 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26446
26447 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26448
26449 for ac_func in modff
26450 do
26451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26452 echo "$as_me:$LINENO: checking for $ac_func" >&5
26453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26454 if eval "test \"\${$as_ac_var+set}\" = set"; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 else
26457 if test x$gcc_no_link = xyes; then
26458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26460 { (exit 1); exit 1; }; }
26461 fi
26462 cat >conftest.$ac_ext <<_ACEOF
26463 /* confdefs.h. */
26464 _ACEOF
26465 cat confdefs.h >>conftest.$ac_ext
26466 cat >>conftest.$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26470 #define $ac_func innocuous_$ac_func
26471
26472 /* System header to define __stub macros and hopefully few prototypes,
26473 which can conflict with char $ac_func (); below.
26474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26475 <limits.h> exists even on freestanding compilers. */
26476
26477 #ifdef __STDC__
26478 # include <limits.h>
26479 #else
26480 # include <assert.h>
26481 #endif
26482
26483 #undef $ac_func
26484
26485 /* Override any gcc2 internal prototype to avoid an error. */
26486 #ifdef __cplusplus
26487 extern "C"
26488 {
26489 #endif
26490 /* We use char because int might match the return type of a gcc2
26491 builtin and then its argument prototype would still apply. */
26492 char $ac_func ();
26493 /* The GNU C library defines this for functions which it implements
26494 to always fail with ENOSYS. Some functions are actually named
26495 something starting with __ and the normal name is an alias. */
26496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26497 choke me
26498 #else
26499 char (*f) () = $ac_func;
26500 #endif
26501 #ifdef __cplusplus
26502 }
26503 #endif
26504
26505 int
26506 main ()
26507 {
26508 return f != $ac_func;
26509 ;
26510 return 0;
26511 }
26512 _ACEOF
26513 rm -f conftest.$ac_objext conftest$ac_exeext
26514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26515 (eval $ac_link) 2>conftest.er1
26516 ac_status=$?
26517 grep -v '^ *+' conftest.er1 >conftest.err
26518 rm -f conftest.er1
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } &&
26522 { ac_try='test -z "$ac_c_werror_flag"
26523 || test ! -s conftest.err'
26524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525 (eval $ac_try) 2>&5
26526 ac_status=$?
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); }; } &&
26529 { ac_try='test -s conftest$ac_exeext'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26532 ac_status=$?
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; }; then
26535 eval "$as_ac_var=yes"
26536 else
26537 echo "$as_me: failed program was:" >&5
26538 sed 's/^/| /' conftest.$ac_ext >&5
26539
26540 eval "$as_ac_var=no"
26541 fi
26542 rm -f conftest.err conftest.$ac_objext \
26543 conftest$ac_exeext conftest.$ac_ext
26544 fi
26545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26547 if test `eval echo '${'$as_ac_var'}'` = yes; then
26548 cat >>confdefs.h <<_ACEOF
26549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26550 _ACEOF
26551
26552 fi
26553 done
26554
26555 else
26556
26557 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26558 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26559 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26560 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563
26564
26565
26566 ac_ext=cc
26567 ac_cpp='$CXXCPP $CPPFLAGS'
26568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26571
26572 cat >conftest.$ac_ext <<_ACEOF
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578 #include <math.h>
26579 int
26580 main ()
26581 {
26582 _modff(0, 0);
26583 ;
26584 return 0;
26585 }
26586 _ACEOF
26587 rm -f conftest.$ac_objext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26589 (eval $ac_compile) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag"
26597 || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try='test -s conftest.$ac_objext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 glibcxx_cv_func__modff_use=yes
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26613
26614 glibcxx_cv_func__modff_use=no
26615 fi
26616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26617 ac_ext=c
26618 ac_cpp='$CPP $CPPFLAGS'
26619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26622
26623
26624 fi
26625
26626 fi
26627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26628 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26629
26630 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26631
26632 for ac_func in _modff
26633 do
26634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26635 echo "$as_me:$LINENO: checking for $ac_func" >&5
26636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26637 if eval "test \"\${$as_ac_var+set}\" = set"; then
26638 echo $ECHO_N "(cached) $ECHO_C" >&6
26639 else
26640 if test x$gcc_no_link = xyes; then
26641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26643 { (exit 1); exit 1; }; }
26644 fi
26645 cat >conftest.$ac_ext <<_ACEOF
26646 /* confdefs.h. */
26647 _ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26653 #define $ac_func innocuous_$ac_func
26654
26655 /* System header to define __stub macros and hopefully few prototypes,
26656 which can conflict with char $ac_func (); below.
26657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26658 <limits.h> exists even on freestanding compilers. */
26659
26660 #ifdef __STDC__
26661 # include <limits.h>
26662 #else
26663 # include <assert.h>
26664 #endif
26665
26666 #undef $ac_func
26667
26668 /* Override any gcc2 internal prototype to avoid an error. */
26669 #ifdef __cplusplus
26670 extern "C"
26671 {
26672 #endif
26673 /* We use char because int might match the return type of a gcc2
26674 builtin and then its argument prototype would still apply. */
26675 char $ac_func ();
26676 /* The GNU C library defines this for functions which it implements
26677 to always fail with ENOSYS. Some functions are actually named
26678 something starting with __ and the normal name is an alias. */
26679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26680 choke me
26681 #else
26682 char (*f) () = $ac_func;
26683 #endif
26684 #ifdef __cplusplus
26685 }
26686 #endif
26687
26688 int
26689 main ()
26690 {
26691 return f != $ac_func;
26692 ;
26693 return 0;
26694 }
26695 _ACEOF
26696 rm -f conftest.$ac_objext conftest$ac_exeext
26697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26698 (eval $ac_link) 2>conftest.er1
26699 ac_status=$?
26700 grep -v '^ *+' conftest.er1 >conftest.err
26701 rm -f conftest.er1
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } &&
26705 { ac_try='test -z "$ac_c_werror_flag"
26706 || test ! -s conftest.err'
26707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26708 (eval $ac_try) 2>&5
26709 ac_status=$?
26710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26711 (exit $ac_status); }; } &&
26712 { ac_try='test -s conftest$ac_exeext'
26713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26714 (eval $ac_try) 2>&5
26715 ac_status=$?
26716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717 (exit $ac_status); }; }; then
26718 eval "$as_ac_var=yes"
26719 else
26720 echo "$as_me: failed program was:" >&5
26721 sed 's/^/| /' conftest.$ac_ext >&5
26722
26723 eval "$as_ac_var=no"
26724 fi
26725 rm -f conftest.err conftest.$ac_objext \
26726 conftest$ac_exeext conftest.$ac_ext
26727 fi
26728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26730 if test `eval echo '${'$as_ac_var'}'` = yes; then
26731 cat >>confdefs.h <<_ACEOF
26732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26733 _ACEOF
26734
26735 fi
26736 done
26737
26738 fi
26739 fi
26740
26741
26742
26743
26744
26745
26746 echo "$as_me:$LINENO: checking for modf declaration" >&5
26747 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26748 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26749 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26750 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 else
26752
26753
26754
26755 ac_ext=cc
26756 ac_cpp='$CXXCPP $CPPFLAGS'
26757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26760
26761 cat >conftest.$ac_ext <<_ACEOF
26762 /* confdefs.h. */
26763 _ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26767 #include <math.h>
26768 int
26769 main ()
26770 {
26771 modf(0, 0);
26772 ;
26773 return 0;
26774 }
26775 _ACEOF
26776 rm -f conftest.$ac_objext
26777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26778 (eval $ac_compile) 2>conftest.er1
26779 ac_status=$?
26780 grep -v '^ *+' conftest.er1 >conftest.err
26781 rm -f conftest.er1
26782 cat conftest.err >&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } &&
26785 { ac_try='test -z "$ac_cxx_werror_flag"
26786 || test ! -s conftest.err'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26789 ac_status=$?
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; } &&
26792 { ac_try='test -s conftest.$ac_objext'
26793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26794 (eval $ac_try) 2>&5
26795 ac_status=$?
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; }; then
26798 glibcxx_cv_func_modf_use=yes
26799 else
26800 echo "$as_me: failed program was:" >&5
26801 sed 's/^/| /' conftest.$ac_ext >&5
26802
26803 glibcxx_cv_func_modf_use=no
26804 fi
26805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26806 ac_ext=c
26807 ac_cpp='$CPP $CPPFLAGS'
26808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26811
26812
26813 fi
26814
26815 fi
26816 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26817 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26818
26819 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26820
26821 for ac_func in modf
26822 do
26823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26824 echo "$as_me:$LINENO: checking for $ac_func" >&5
26825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26826 if eval "test \"\${$as_ac_var+set}\" = set"; then
26827 echo $ECHO_N "(cached) $ECHO_C" >&6
26828 else
26829 if test x$gcc_no_link = xyes; then
26830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26832 { (exit 1); exit 1; }; }
26833 fi
26834 cat >conftest.$ac_ext <<_ACEOF
26835 /* confdefs.h. */
26836 _ACEOF
26837 cat confdefs.h >>conftest.$ac_ext
26838 cat >>conftest.$ac_ext <<_ACEOF
26839 /* end confdefs.h. */
26840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26842 #define $ac_func innocuous_$ac_func
26843
26844 /* System header to define __stub macros and hopefully few prototypes,
26845 which can conflict with char $ac_func (); below.
26846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26847 <limits.h> exists even on freestanding compilers. */
26848
26849 #ifdef __STDC__
26850 # include <limits.h>
26851 #else
26852 # include <assert.h>
26853 #endif
26854
26855 #undef $ac_func
26856
26857 /* Override any gcc2 internal prototype to avoid an error. */
26858 #ifdef __cplusplus
26859 extern "C"
26860 {
26861 #endif
26862 /* We use char because int might match the return type of a gcc2
26863 builtin and then its argument prototype would still apply. */
26864 char $ac_func ();
26865 /* The GNU C library defines this for functions which it implements
26866 to always fail with ENOSYS. Some functions are actually named
26867 something starting with __ and the normal name is an alias. */
26868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26869 choke me
26870 #else
26871 char (*f) () = $ac_func;
26872 #endif
26873 #ifdef __cplusplus
26874 }
26875 #endif
26876
26877 int
26878 main ()
26879 {
26880 return f != $ac_func;
26881 ;
26882 return 0;
26883 }
26884 _ACEOF
26885 rm -f conftest.$ac_objext conftest$ac_exeext
26886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26887 (eval $ac_link) 2>conftest.er1
26888 ac_status=$?
26889 grep -v '^ *+' conftest.er1 >conftest.err
26890 rm -f conftest.er1
26891 cat conftest.err >&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } &&
26894 { ac_try='test -z "$ac_c_werror_flag"
26895 || test ! -s conftest.err'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26898 ac_status=$?
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; } &&
26901 { ac_try='test -s conftest$ac_exeext'
26902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903 (eval $ac_try) 2>&5
26904 ac_status=$?
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); }; }; then
26907 eval "$as_ac_var=yes"
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 eval "$as_ac_var=no"
26913 fi
26914 rm -f conftest.err conftest.$ac_objext \
26915 conftest$ac_exeext conftest.$ac_ext
26916 fi
26917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26919 if test `eval echo '${'$as_ac_var'}'` = yes; then
26920 cat >>confdefs.h <<_ACEOF
26921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26922 _ACEOF
26923
26924 fi
26925 done
26926
26927 else
26928
26929 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26930 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26931 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26932 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26933 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 else
26935
26936
26937
26938 ac_ext=cc
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943
26944 cat >conftest.$ac_ext <<_ACEOF
26945 /* confdefs.h. */
26946 _ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950 #include <math.h>
26951 int
26952 main ()
26953 {
26954 _modf(0, 0);
26955 ;
26956 return 0;
26957 }
26958 _ACEOF
26959 rm -f conftest.$ac_objext
26960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26961 (eval $ac_compile) 2>conftest.er1
26962 ac_status=$?
26963 grep -v '^ *+' conftest.er1 >conftest.err
26964 rm -f conftest.er1
26965 cat conftest.err >&5
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); } &&
26968 { ac_try='test -z "$ac_cxx_werror_flag"
26969 || test ! -s conftest.err'
26970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26971 (eval $ac_try) 2>&5
26972 ac_status=$?
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); }; } &&
26975 { ac_try='test -s conftest.$ac_objext'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; }; then
26981 glibcxx_cv_func__modf_use=yes
26982 else
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26985
26986 glibcxx_cv_func__modf_use=no
26987 fi
26988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26989 ac_ext=c
26990 ac_cpp='$CPP $CPPFLAGS'
26991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26994
26995
26996 fi
26997
26998 fi
26999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27000 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27001
27002 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27003
27004 for ac_func in _modf
27005 do
27006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27007 echo "$as_me:$LINENO: checking for $ac_func" >&5
27008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27009 if eval "test \"\${$as_ac_var+set}\" = set"; then
27010 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 else
27012 if test x$gcc_no_link = xyes; then
27013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27015 { (exit 1); exit 1; }; }
27016 fi
27017 cat >conftest.$ac_ext <<_ACEOF
27018 /* confdefs.h. */
27019 _ACEOF
27020 cat confdefs.h >>conftest.$ac_ext
27021 cat >>conftest.$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27025 #define $ac_func innocuous_$ac_func
27026
27027 /* System header to define __stub macros and hopefully few prototypes,
27028 which can conflict with char $ac_func (); below.
27029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27030 <limits.h> exists even on freestanding compilers. */
27031
27032 #ifdef __STDC__
27033 # include <limits.h>
27034 #else
27035 # include <assert.h>
27036 #endif
27037
27038 #undef $ac_func
27039
27040 /* Override any gcc2 internal prototype to avoid an error. */
27041 #ifdef __cplusplus
27042 extern "C"
27043 {
27044 #endif
27045 /* We use char because int might match the return type of a gcc2
27046 builtin and then its argument prototype would still apply. */
27047 char $ac_func ();
27048 /* The GNU C library defines this for functions which it implements
27049 to always fail with ENOSYS. Some functions are actually named
27050 something starting with __ and the normal name is an alias. */
27051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27052 choke me
27053 #else
27054 char (*f) () = $ac_func;
27055 #endif
27056 #ifdef __cplusplus
27057 }
27058 #endif
27059
27060 int
27061 main ()
27062 {
27063 return f != $ac_func;
27064 ;
27065 return 0;
27066 }
27067 _ACEOF
27068 rm -f conftest.$ac_objext conftest$ac_exeext
27069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27070 (eval $ac_link) 2>conftest.er1
27071 ac_status=$?
27072 grep -v '^ *+' conftest.er1 >conftest.err
27073 rm -f conftest.er1
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
27077 { ac_try='test -z "$ac_c_werror_flag"
27078 || test ! -s conftest.err'
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27081 ac_status=$?
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; } &&
27084 { ac_try='test -s conftest$ac_exeext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27087 ac_status=$?
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 eval "$as_ac_var=yes"
27091 else
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.$ac_ext >&5
27094
27095 eval "$as_ac_var=no"
27096 fi
27097 rm -f conftest.err conftest.$ac_objext \
27098 conftest$ac_exeext conftest.$ac_ext
27099 fi
27100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27102 if test `eval echo '${'$as_ac_var'}'` = yes; then
27103 cat >>confdefs.h <<_ACEOF
27104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27105 _ACEOF
27106
27107 fi
27108 done
27109
27110 fi
27111 fi
27112
27113
27114
27115
27116
27117
27118 echo "$as_me:$LINENO: checking for powf declaration" >&5
27119 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27120 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27121 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27122 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 else
27124
27125
27126
27127 ac_ext=cc
27128 ac_cpp='$CXXCPP $CPPFLAGS'
27129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27132
27133 cat >conftest.$ac_ext <<_ACEOF
27134 /* confdefs.h. */
27135 _ACEOF
27136 cat confdefs.h >>conftest.$ac_ext
27137 cat >>conftest.$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27139 #include <math.h>
27140 int
27141 main ()
27142 {
27143 powf(0, 0);
27144 ;
27145 return 0;
27146 }
27147 _ACEOF
27148 rm -f conftest.$ac_objext
27149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27150 (eval $ac_compile) 2>conftest.er1
27151 ac_status=$?
27152 grep -v '^ *+' conftest.er1 >conftest.err
27153 rm -f conftest.er1
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } &&
27157 { ac_try='test -z "$ac_cxx_werror_flag"
27158 || test ! -s conftest.err'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27161 ac_status=$?
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; } &&
27164 { ac_try='test -s conftest.$ac_objext'
27165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27166 (eval $ac_try) 2>&5
27167 ac_status=$?
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; }; then
27170 glibcxx_cv_func_powf_use=yes
27171 else
27172 echo "$as_me: failed program was:" >&5
27173 sed 's/^/| /' conftest.$ac_ext >&5
27174
27175 glibcxx_cv_func_powf_use=no
27176 fi
27177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27178 ac_ext=c
27179 ac_cpp='$CPP $CPPFLAGS'
27180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27183
27184
27185 fi
27186
27187 fi
27188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27189 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27190
27191 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27192
27193 for ac_func in powf
27194 do
27195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27196 echo "$as_me:$LINENO: checking for $ac_func" >&5
27197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27198 if eval "test \"\${$as_ac_var+set}\" = set"; then
27199 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 else
27201 if test x$gcc_no_link = xyes; then
27202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27204 { (exit 1); exit 1; }; }
27205 fi
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27214 #define $ac_func innocuous_$ac_func
27215
27216 /* System header to define __stub macros and hopefully few prototypes,
27217 which can conflict with char $ac_func (); below.
27218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27219 <limits.h> exists even on freestanding compilers. */
27220
27221 #ifdef __STDC__
27222 # include <limits.h>
27223 #else
27224 # include <assert.h>
27225 #endif
27226
27227 #undef $ac_func
27228
27229 /* Override any gcc2 internal prototype to avoid an error. */
27230 #ifdef __cplusplus
27231 extern "C"
27232 {
27233 #endif
27234 /* We use char because int might match the return type of a gcc2
27235 builtin and then its argument prototype would still apply. */
27236 char $ac_func ();
27237 /* The GNU C library defines this for functions which it implements
27238 to always fail with ENOSYS. Some functions are actually named
27239 something starting with __ and the normal name is an alias. */
27240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27241 choke me
27242 #else
27243 char (*f) () = $ac_func;
27244 #endif
27245 #ifdef __cplusplus
27246 }
27247 #endif
27248
27249 int
27250 main ()
27251 {
27252 return f != $ac_func;
27253 ;
27254 return 0;
27255 }
27256 _ACEOF
27257 rm -f conftest.$ac_objext conftest$ac_exeext
27258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27259 (eval $ac_link) 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } &&
27266 { ac_try='test -z "$ac_c_werror_flag"
27267 || test ! -s conftest.err'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; } &&
27273 { ac_try='test -s conftest$ac_exeext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27276 ac_status=$?
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 eval "$as_ac_var=yes"
27280 else
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.$ac_ext >&5
27283
27284 eval "$as_ac_var=no"
27285 fi
27286 rm -f conftest.err conftest.$ac_objext \
27287 conftest$ac_exeext conftest.$ac_ext
27288 fi
27289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27291 if test `eval echo '${'$as_ac_var'}'` = yes; then
27292 cat >>confdefs.h <<_ACEOF
27293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27294 _ACEOF
27295
27296 fi
27297 done
27298
27299 else
27300
27301 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27302 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27303 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27304 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27305 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 else
27307
27308
27309
27310 ac_ext=cc
27311 ac_cpp='$CXXCPP $CPPFLAGS'
27312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27315
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 #include <math.h>
27323 int
27324 main ()
27325 {
27326 _powf(0, 0);
27327 ;
27328 return 0;
27329 }
27330 _ACEOF
27331 rm -f conftest.$ac_objext
27332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27333 (eval $ac_compile) 2>conftest.er1
27334 ac_status=$?
27335 grep -v '^ *+' conftest.er1 >conftest.err
27336 rm -f conftest.er1
27337 cat conftest.err >&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); } &&
27340 { ac_try='test -z "$ac_cxx_werror_flag"
27341 || test ! -s conftest.err'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27344 ac_status=$?
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; } &&
27347 { ac_try='test -s conftest.$ac_objext'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27350 ac_status=$?
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; }; then
27353 glibcxx_cv_func__powf_use=yes
27354 else
27355 echo "$as_me: failed program was:" >&5
27356 sed 's/^/| /' conftest.$ac_ext >&5
27357
27358 glibcxx_cv_func__powf_use=no
27359 fi
27360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27361 ac_ext=c
27362 ac_cpp='$CPP $CPPFLAGS'
27363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27366
27367
27368 fi
27369
27370 fi
27371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27372 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27373
27374 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27375
27376 for ac_func in _powf
27377 do
27378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27379 echo "$as_me:$LINENO: checking for $ac_func" >&5
27380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27381 if eval "test \"\${$as_ac_var+set}\" = set"; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 else
27384 if test x$gcc_no_link = xyes; then
27385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27387 { (exit 1); exit 1; }; }
27388 fi
27389 cat >conftest.$ac_ext <<_ACEOF
27390 /* confdefs.h. */
27391 _ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27397 #define $ac_func innocuous_$ac_func
27398
27399 /* System header to define __stub macros and hopefully few prototypes,
27400 which can conflict with char $ac_func (); below.
27401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27402 <limits.h> exists even on freestanding compilers. */
27403
27404 #ifdef __STDC__
27405 # include <limits.h>
27406 #else
27407 # include <assert.h>
27408 #endif
27409
27410 #undef $ac_func
27411
27412 /* Override any gcc2 internal prototype to avoid an error. */
27413 #ifdef __cplusplus
27414 extern "C"
27415 {
27416 #endif
27417 /* We use char because int might match the return type of a gcc2
27418 builtin and then its argument prototype would still apply. */
27419 char $ac_func ();
27420 /* The GNU C library defines this for functions which it implements
27421 to always fail with ENOSYS. Some functions are actually named
27422 something starting with __ and the normal name is an alias. */
27423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27424 choke me
27425 #else
27426 char (*f) () = $ac_func;
27427 #endif
27428 #ifdef __cplusplus
27429 }
27430 #endif
27431
27432 int
27433 main ()
27434 {
27435 return f != $ac_func;
27436 ;
27437 return 0;
27438 }
27439 _ACEOF
27440 rm -f conftest.$ac_objext conftest$ac_exeext
27441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27442 (eval $ac_link) 2>conftest.er1
27443 ac_status=$?
27444 grep -v '^ *+' conftest.er1 >conftest.err
27445 rm -f conftest.er1
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } &&
27449 { ac_try='test -z "$ac_c_werror_flag"
27450 || test ! -s conftest.err'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; } &&
27456 { ac_try='test -s conftest$ac_exeext'
27457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458 (eval $ac_try) 2>&5
27459 ac_status=$?
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); }; }; then
27462 eval "$as_ac_var=yes"
27463 else
27464 echo "$as_me: failed program was:" >&5
27465 sed 's/^/| /' conftest.$ac_ext >&5
27466
27467 eval "$as_ac_var=no"
27468 fi
27469 rm -f conftest.err conftest.$ac_objext \
27470 conftest$ac_exeext conftest.$ac_ext
27471 fi
27472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27474 if test `eval echo '${'$as_ac_var'}'` = yes; then
27475 cat >>confdefs.h <<_ACEOF
27476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27477 _ACEOF
27478
27479 fi
27480 done
27481
27482 fi
27483 fi
27484
27485
27486
27487
27488
27489
27490 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27491 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27492 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27493 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27494 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 else
27496
27497
27498
27499 ac_ext=cc
27500 ac_cpp='$CXXCPP $CPPFLAGS'
27501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27504
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511 #include <math.h>
27512 #ifdef HAVE_IEEEFP_H
27513 #include <ieeefp.h>
27514 #endif
27515
27516 int
27517 main ()
27518 {
27519 sqrtf(0);
27520 ;
27521 return 0;
27522 }
27523 _ACEOF
27524 rm -f conftest.$ac_objext
27525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27526 (eval $ac_compile) 2>conftest.er1
27527 ac_status=$?
27528 grep -v '^ *+' conftest.er1 >conftest.err
27529 rm -f conftest.er1
27530 cat conftest.err >&5
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); } &&
27533 { ac_try='test -z "$ac_cxx_werror_flag"
27534 || test ! -s conftest.err'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27537 ac_status=$?
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; } &&
27540 { ac_try='test -s conftest.$ac_objext'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; }; then
27546 glibcxx_cv_func_sqrtf_use=yes
27547 else
27548 echo "$as_me: failed program was:" >&5
27549 sed 's/^/| /' conftest.$ac_ext >&5
27550
27551 glibcxx_cv_func_sqrtf_use=no
27552 fi
27553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27554 ac_ext=c
27555 ac_cpp='$CPP $CPPFLAGS'
27556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27559
27560
27561 fi
27562
27563 fi
27564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27565 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27566
27567 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27568
27569 for ac_func in sqrtf
27570 do
27571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27572 echo "$as_me:$LINENO: checking for $ac_func" >&5
27573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27574 if eval "test \"\${$as_ac_var+set}\" = set"; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 else
27577 if test x$gcc_no_link = xyes; then
27578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27580 { (exit 1); exit 1; }; }
27581 fi
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27590 #define $ac_func innocuous_$ac_func
27591
27592 /* System header to define __stub macros and hopefully few prototypes,
27593 which can conflict with char $ac_func (); below.
27594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27595 <limits.h> exists even on freestanding compilers. */
27596
27597 #ifdef __STDC__
27598 # include <limits.h>
27599 #else
27600 # include <assert.h>
27601 #endif
27602
27603 #undef $ac_func
27604
27605 /* Override any gcc2 internal prototype to avoid an error. */
27606 #ifdef __cplusplus
27607 extern "C"
27608 {
27609 #endif
27610 /* We use char because int might match the return type of a gcc2
27611 builtin and then its argument prototype would still apply. */
27612 char $ac_func ();
27613 /* The GNU C library defines this for functions which it implements
27614 to always fail with ENOSYS. Some functions are actually named
27615 something starting with __ and the normal name is an alias. */
27616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27617 choke me
27618 #else
27619 char (*f) () = $ac_func;
27620 #endif
27621 #ifdef __cplusplus
27622 }
27623 #endif
27624
27625 int
27626 main ()
27627 {
27628 return f != $ac_func;
27629 ;
27630 return 0;
27631 }
27632 _ACEOF
27633 rm -f conftest.$ac_objext conftest$ac_exeext
27634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27635 (eval $ac_link) 2>conftest.er1
27636 ac_status=$?
27637 grep -v '^ *+' conftest.er1 >conftest.err
27638 rm -f conftest.er1
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } &&
27642 { ac_try='test -z "$ac_c_werror_flag"
27643 || test ! -s conftest.err'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; } &&
27649 { ac_try='test -s conftest$ac_exeext'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27652 ac_status=$?
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; }; then
27655 eval "$as_ac_var=yes"
27656 else
27657 echo "$as_me: failed program was:" >&5
27658 sed 's/^/| /' conftest.$ac_ext >&5
27659
27660 eval "$as_ac_var=no"
27661 fi
27662 rm -f conftest.err conftest.$ac_objext \
27663 conftest$ac_exeext conftest.$ac_ext
27664 fi
27665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27667 if test `eval echo '${'$as_ac_var'}'` = yes; then
27668 cat >>confdefs.h <<_ACEOF
27669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27670 _ACEOF
27671
27672 fi
27673 done
27674
27675 else
27676
27677 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27678 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27679 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27680 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27681 echo $ECHO_N "(cached) $ECHO_C" >&6
27682 else
27683
27684
27685
27686 ac_ext=cc
27687 ac_cpp='$CXXCPP $CPPFLAGS'
27688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27691
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698 #include <math.h>
27699 #ifdef HAVE_IEEEFP_H
27700 #include <ieeefp.h>
27701 #endif
27702
27703 int
27704 main ()
27705 {
27706 _sqrtf(0);
27707 ;
27708 return 0;
27709 }
27710 _ACEOF
27711 rm -f conftest.$ac_objext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27713 (eval $ac_compile) 2>conftest.er1
27714 ac_status=$?
27715 grep -v '^ *+' conftest.er1 >conftest.err
27716 rm -f conftest.er1
27717 cat conftest.err >&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } &&
27720 { ac_try='test -z "$ac_cxx_werror_flag"
27721 || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27724 ac_status=$?
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try='test -s conftest.$ac_objext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 glibcxx_cv_func__sqrtf_use=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 glibcxx_cv_func__sqrtf_use=no
27739 fi
27740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27741 ac_ext=c
27742 ac_cpp='$CPP $CPPFLAGS'
27743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27746
27747
27748 fi
27749
27750 fi
27751 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27752 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27753
27754 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27755
27756 for ac_func in _sqrtf
27757 do
27758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27759 echo "$as_me:$LINENO: checking for $ac_func" >&5
27760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27761 if eval "test \"\${$as_ac_var+set}\" = set"; then
27762 echo $ECHO_N "(cached) $ECHO_C" >&6
27763 else
27764 if test x$gcc_no_link = xyes; then
27765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27767 { (exit 1); exit 1; }; }
27768 fi
27769 cat >conftest.$ac_ext <<_ACEOF
27770 /* confdefs.h. */
27771 _ACEOF
27772 cat confdefs.h >>conftest.$ac_ext
27773 cat >>conftest.$ac_ext <<_ACEOF
27774 /* end confdefs.h. */
27775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27777 #define $ac_func innocuous_$ac_func
27778
27779 /* System header to define __stub macros and hopefully few prototypes,
27780 which can conflict with char $ac_func (); below.
27781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27782 <limits.h> exists even on freestanding compilers. */
27783
27784 #ifdef __STDC__
27785 # include <limits.h>
27786 #else
27787 # include <assert.h>
27788 #endif
27789
27790 #undef $ac_func
27791
27792 /* Override any gcc2 internal prototype to avoid an error. */
27793 #ifdef __cplusplus
27794 extern "C"
27795 {
27796 #endif
27797 /* We use char because int might match the return type of a gcc2
27798 builtin and then its argument prototype would still apply. */
27799 char $ac_func ();
27800 /* The GNU C library defines this for functions which it implements
27801 to always fail with ENOSYS. Some functions are actually named
27802 something starting with __ and the normal name is an alias. */
27803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27804 choke me
27805 #else
27806 char (*f) () = $ac_func;
27807 #endif
27808 #ifdef __cplusplus
27809 }
27810 #endif
27811
27812 int
27813 main ()
27814 {
27815 return f != $ac_func;
27816 ;
27817 return 0;
27818 }
27819 _ACEOF
27820 rm -f conftest.$ac_objext conftest$ac_exeext
27821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27822 (eval $ac_link) 2>conftest.er1
27823 ac_status=$?
27824 grep -v '^ *+' conftest.er1 >conftest.err
27825 rm -f conftest.er1
27826 cat conftest.err >&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); } &&
27829 { ac_try='test -z "$ac_c_werror_flag"
27830 || test ! -s conftest.err'
27831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27832 (eval $ac_try) 2>&5
27833 ac_status=$?
27834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835 (exit $ac_status); }; } &&
27836 { ac_try='test -s conftest$ac_exeext'
27837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838 (eval $ac_try) 2>&5
27839 ac_status=$?
27840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841 (exit $ac_status); }; }; then
27842 eval "$as_ac_var=yes"
27843 else
27844 echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.$ac_ext >&5
27846
27847 eval "$as_ac_var=no"
27848 fi
27849 rm -f conftest.err conftest.$ac_objext \
27850 conftest$ac_exeext conftest.$ac_ext
27851 fi
27852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27854 if test `eval echo '${'$as_ac_var'}'` = yes; then
27855 cat >>confdefs.h <<_ACEOF
27856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27857 _ACEOF
27858
27859 fi
27860 done
27861
27862 fi
27863 fi
27864
27865
27866
27867
27868
27869
27870 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27871 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27872 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27873 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 else
27876
27877
27878
27879 ac_ext=cc
27880 ac_cpp='$CXXCPP $CPPFLAGS'
27881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27884
27885 cat >conftest.$ac_ext <<_ACEOF
27886 /* confdefs.h. */
27887 _ACEOF
27888 cat confdefs.h >>conftest.$ac_ext
27889 cat >>conftest.$ac_ext <<_ACEOF
27890 /* end confdefs.h. */
27891 #include <math.h>
27892 int
27893 main ()
27894 {
27895 sincosf(0, 0, 0);
27896 ;
27897 return 0;
27898 }
27899 _ACEOF
27900 rm -f conftest.$ac_objext
27901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27902 (eval $ac_compile) 2>conftest.er1
27903 ac_status=$?
27904 grep -v '^ *+' conftest.er1 >conftest.err
27905 rm -f conftest.er1
27906 cat conftest.err >&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); } &&
27909 { ac_try='test -z "$ac_cxx_werror_flag"
27910 || test ! -s conftest.err'
27911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27912 (eval $ac_try) 2>&5
27913 ac_status=$?
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); }; } &&
27916 { ac_try='test -s conftest.$ac_objext'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27919 ac_status=$?
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; }; then
27922 glibcxx_cv_func_sincosf_use=yes
27923 else
27924 echo "$as_me: failed program was:" >&5
27925 sed 's/^/| /' conftest.$ac_ext >&5
27926
27927 glibcxx_cv_func_sincosf_use=no
27928 fi
27929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27930 ac_ext=c
27931 ac_cpp='$CPP $CPPFLAGS'
27932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27935
27936
27937 fi
27938
27939 fi
27940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27941 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27942
27943 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27944
27945 for ac_func in sincosf
27946 do
27947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27948 echo "$as_me:$LINENO: checking for $ac_func" >&5
27949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27950 if eval "test \"\${$as_ac_var+set}\" = set"; then
27951 echo $ECHO_N "(cached) $ECHO_C" >&6
27952 else
27953 if test x$gcc_no_link = xyes; then
27954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27956 { (exit 1); exit 1; }; }
27957 fi
27958 cat >conftest.$ac_ext <<_ACEOF
27959 /* confdefs.h. */
27960 _ACEOF
27961 cat confdefs.h >>conftest.$ac_ext
27962 cat >>conftest.$ac_ext <<_ACEOF
27963 /* end confdefs.h. */
27964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27966 #define $ac_func innocuous_$ac_func
27967
27968 /* System header to define __stub macros and hopefully few prototypes,
27969 which can conflict with char $ac_func (); below.
27970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27971 <limits.h> exists even on freestanding compilers. */
27972
27973 #ifdef __STDC__
27974 # include <limits.h>
27975 #else
27976 # include <assert.h>
27977 #endif
27978
27979 #undef $ac_func
27980
27981 /* Override any gcc2 internal prototype to avoid an error. */
27982 #ifdef __cplusplus
27983 extern "C"
27984 {
27985 #endif
27986 /* We use char because int might match the return type of a gcc2
27987 builtin and then its argument prototype would still apply. */
27988 char $ac_func ();
27989 /* The GNU C library defines this for functions which it implements
27990 to always fail with ENOSYS. Some functions are actually named
27991 something starting with __ and the normal name is an alias. */
27992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27993 choke me
27994 #else
27995 char (*f) () = $ac_func;
27996 #endif
27997 #ifdef __cplusplus
27998 }
27999 #endif
28000
28001 int
28002 main ()
28003 {
28004 return f != $ac_func;
28005 ;
28006 return 0;
28007 }
28008 _ACEOF
28009 rm -f conftest.$ac_objext conftest$ac_exeext
28010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28011 (eval $ac_link) 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } &&
28018 { ac_try='test -z "$ac_c_werror_flag"
28019 || test ! -s conftest.err'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; } &&
28025 { ac_try='test -s conftest$ac_exeext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 eval "$as_ac_var=yes"
28032 else
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28035
28036 eval "$as_ac_var=no"
28037 fi
28038 rm -f conftest.err conftest.$ac_objext \
28039 conftest$ac_exeext conftest.$ac_ext
28040 fi
28041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28043 if test `eval echo '${'$as_ac_var'}'` = yes; then
28044 cat >>confdefs.h <<_ACEOF
28045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28046 _ACEOF
28047
28048 fi
28049 done
28050
28051 else
28052
28053 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28054 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28055 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28056 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 else
28059
28060
28061
28062 ac_ext=cc
28063 ac_cpp='$CXXCPP $CPPFLAGS'
28064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28067
28068 cat >conftest.$ac_ext <<_ACEOF
28069 /* confdefs.h. */
28070 _ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074 #include <math.h>
28075 int
28076 main ()
28077 {
28078 _sincosf(0, 0, 0);
28079 ;
28080 return 0;
28081 }
28082 _ACEOF
28083 rm -f conftest.$ac_objext
28084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28085 (eval $ac_compile) 2>conftest.er1
28086 ac_status=$?
28087 grep -v '^ *+' conftest.er1 >conftest.err
28088 rm -f conftest.er1
28089 cat conftest.err >&5
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); } &&
28092 { ac_try='test -z "$ac_cxx_werror_flag"
28093 || test ! -s conftest.err'
28094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28095 (eval $ac_try) 2>&5
28096 ac_status=$?
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); }; } &&
28099 { ac_try='test -s conftest.$ac_objext'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; }; then
28105 glibcxx_cv_func__sincosf_use=yes
28106 else
28107 echo "$as_me: failed program was:" >&5
28108 sed 's/^/| /' conftest.$ac_ext >&5
28109
28110 glibcxx_cv_func__sincosf_use=no
28111 fi
28112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28113 ac_ext=c
28114 ac_cpp='$CPP $CPPFLAGS'
28115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28118
28119
28120 fi
28121
28122 fi
28123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28124 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28125
28126 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28127
28128 for ac_func in _sincosf
28129 do
28130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28131 echo "$as_me:$LINENO: checking for $ac_func" >&5
28132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28133 if eval "test \"\${$as_ac_var+set}\" = set"; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28135 else
28136 if test x$gcc_no_link = xyes; then
28137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28139 { (exit 1); exit 1; }; }
28140 fi
28141 cat >conftest.$ac_ext <<_ACEOF
28142 /* confdefs.h. */
28143 _ACEOF
28144 cat confdefs.h >>conftest.$ac_ext
28145 cat >>conftest.$ac_ext <<_ACEOF
28146 /* end confdefs.h. */
28147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28149 #define $ac_func innocuous_$ac_func
28150
28151 /* System header to define __stub macros and hopefully few prototypes,
28152 which can conflict with char $ac_func (); below.
28153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28154 <limits.h> exists even on freestanding compilers. */
28155
28156 #ifdef __STDC__
28157 # include <limits.h>
28158 #else
28159 # include <assert.h>
28160 #endif
28161
28162 #undef $ac_func
28163
28164 /* Override any gcc2 internal prototype to avoid an error. */
28165 #ifdef __cplusplus
28166 extern "C"
28167 {
28168 #endif
28169 /* We use char because int might match the return type of a gcc2
28170 builtin and then its argument prototype would still apply. */
28171 char $ac_func ();
28172 /* The GNU C library defines this for functions which it implements
28173 to always fail with ENOSYS. Some functions are actually named
28174 something starting with __ and the normal name is an alias. */
28175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28176 choke me
28177 #else
28178 char (*f) () = $ac_func;
28179 #endif
28180 #ifdef __cplusplus
28181 }
28182 #endif
28183
28184 int
28185 main ()
28186 {
28187 return f != $ac_func;
28188 ;
28189 return 0;
28190 }
28191 _ACEOF
28192 rm -f conftest.$ac_objext conftest$ac_exeext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28194 (eval $ac_link) 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try='test -z "$ac_c_werror_flag"
28202 || test ! -s conftest.err'
28203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28204 (eval $ac_try) 2>&5
28205 ac_status=$?
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); }; } &&
28208 { ac_try='test -s conftest$ac_exeext'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28211 ac_status=$?
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; }; then
28214 eval "$as_ac_var=yes"
28215 else
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28218
28219 eval "$as_ac_var=no"
28220 fi
28221 rm -f conftest.err conftest.$ac_objext \
28222 conftest$ac_exeext conftest.$ac_ext
28223 fi
28224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28226 if test `eval echo '${'$as_ac_var'}'` = yes; then
28227 cat >>confdefs.h <<_ACEOF
28228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28229 _ACEOF
28230
28231 fi
28232 done
28233
28234 fi
28235 fi
28236
28237
28238
28239
28240
28241
28242 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28243 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28244 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28245 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 else
28248
28249
28250
28251 ac_ext=cc
28252 ac_cpp='$CXXCPP $CPPFLAGS'
28253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28256
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263 #include <math.h>
28264 #ifdef HAVE_IEEEFP_H
28265 #include <ieeefp.h>
28266 #endif
28267
28268 int
28269 main ()
28270 {
28271 finitef(0);
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 rm -f conftest.$ac_objext
28277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28278 (eval $ac_compile) 2>conftest.er1
28279 ac_status=$?
28280 grep -v '^ *+' conftest.er1 >conftest.err
28281 rm -f conftest.er1
28282 cat conftest.err >&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); } &&
28285 { ac_try='test -z "$ac_cxx_werror_flag"
28286 || test ! -s conftest.err'
28287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288 (eval $ac_try) 2>&5
28289 ac_status=$?
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); }; } &&
28292 { ac_try='test -s conftest.$ac_objext'
28293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28294 (eval $ac_try) 2>&5
28295 ac_status=$?
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); }; }; then
28298 glibcxx_cv_func_finitef_use=yes
28299 else
28300 echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.$ac_ext >&5
28302
28303 glibcxx_cv_func_finitef_use=no
28304 fi
28305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28306 ac_ext=c
28307 ac_cpp='$CPP $CPPFLAGS'
28308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28311
28312
28313 fi
28314
28315 fi
28316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28317 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28318
28319 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28320
28321 for ac_func in finitef
28322 do
28323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28324 echo "$as_me:$LINENO: checking for $ac_func" >&5
28325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28326 if eval "test \"\${$as_ac_var+set}\" = set"; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 else
28329 if test x$gcc_no_link = xyes; then
28330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28332 { (exit 1); exit 1; }; }
28333 fi
28334 cat >conftest.$ac_ext <<_ACEOF
28335 /* confdefs.h. */
28336 _ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28342 #define $ac_func innocuous_$ac_func
28343
28344 /* System header to define __stub macros and hopefully few prototypes,
28345 which can conflict with char $ac_func (); below.
28346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28347 <limits.h> exists even on freestanding compilers. */
28348
28349 #ifdef __STDC__
28350 # include <limits.h>
28351 #else
28352 # include <assert.h>
28353 #endif
28354
28355 #undef $ac_func
28356
28357 /* Override any gcc2 internal prototype to avoid an error. */
28358 #ifdef __cplusplus
28359 extern "C"
28360 {
28361 #endif
28362 /* We use char because int might match the return type of a gcc2
28363 builtin and then its argument prototype would still apply. */
28364 char $ac_func ();
28365 /* The GNU C library defines this for functions which it implements
28366 to always fail with ENOSYS. Some functions are actually named
28367 something starting with __ and the normal name is an alias. */
28368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28369 choke me
28370 #else
28371 char (*f) () = $ac_func;
28372 #endif
28373 #ifdef __cplusplus
28374 }
28375 #endif
28376
28377 int
28378 main ()
28379 {
28380 return f != $ac_func;
28381 ;
28382 return 0;
28383 }
28384 _ACEOF
28385 rm -f conftest.$ac_objext conftest$ac_exeext
28386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28387 (eval $ac_link) 2>conftest.er1
28388 ac_status=$?
28389 grep -v '^ *+' conftest.er1 >conftest.err
28390 rm -f conftest.er1
28391 cat conftest.err >&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } &&
28394 { ac_try='test -z "$ac_c_werror_flag"
28395 || test ! -s conftest.err'
28396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28397 (eval $ac_try) 2>&5
28398 ac_status=$?
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); }; } &&
28401 { ac_try='test -s conftest$ac_exeext'
28402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28403 (eval $ac_try) 2>&5
28404 ac_status=$?
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); }; }; then
28407 eval "$as_ac_var=yes"
28408 else
28409 echo "$as_me: failed program was:" >&5
28410 sed 's/^/| /' conftest.$ac_ext >&5
28411
28412 eval "$as_ac_var=no"
28413 fi
28414 rm -f conftest.err conftest.$ac_objext \
28415 conftest$ac_exeext conftest.$ac_ext
28416 fi
28417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28419 if test `eval echo '${'$as_ac_var'}'` = yes; then
28420 cat >>confdefs.h <<_ACEOF
28421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28422 _ACEOF
28423
28424 fi
28425 done
28426
28427 else
28428
28429 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28430 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28431 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28432 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28433 echo $ECHO_N "(cached) $ECHO_C" >&6
28434 else
28435
28436
28437
28438 ac_ext=cc
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28443
28444 cat >conftest.$ac_ext <<_ACEOF
28445 /* confdefs.h. */
28446 _ACEOF
28447 cat confdefs.h >>conftest.$ac_ext
28448 cat >>conftest.$ac_ext <<_ACEOF
28449 /* end confdefs.h. */
28450 #include <math.h>
28451 #ifdef HAVE_IEEEFP_H
28452 #include <ieeefp.h>
28453 #endif
28454
28455 int
28456 main ()
28457 {
28458 _finitef(0);
28459 ;
28460 return 0;
28461 }
28462 _ACEOF
28463 rm -f conftest.$ac_objext
28464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28465 (eval $ac_compile) 2>conftest.er1
28466 ac_status=$?
28467 grep -v '^ *+' conftest.er1 >conftest.err
28468 rm -f conftest.er1
28469 cat conftest.err >&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); } &&
28472 { ac_try='test -z "$ac_cxx_werror_flag"
28473 || test ! -s conftest.err'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28476 ac_status=$?
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; } &&
28479 { ac_try='test -s conftest.$ac_objext'
28480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28481 (eval $ac_try) 2>&5
28482 ac_status=$?
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); }; }; then
28485 glibcxx_cv_func__finitef_use=yes
28486 else
28487 echo "$as_me: failed program was:" >&5
28488 sed 's/^/| /' conftest.$ac_ext >&5
28489
28490 glibcxx_cv_func__finitef_use=no
28491 fi
28492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28493 ac_ext=c
28494 ac_cpp='$CPP $CPPFLAGS'
28495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28498
28499
28500 fi
28501
28502 fi
28503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28504 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28505
28506 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28507
28508 for ac_func in _finitef
28509 do
28510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28511 echo "$as_me:$LINENO: checking for $ac_func" >&5
28512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28513 if eval "test \"\${$as_ac_var+set}\" = set"; then
28514 echo $ECHO_N "(cached) $ECHO_C" >&6
28515 else
28516 if test x$gcc_no_link = xyes; then
28517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28519 { (exit 1); exit 1; }; }
28520 fi
28521 cat >conftest.$ac_ext <<_ACEOF
28522 /* confdefs.h. */
28523 _ACEOF
28524 cat confdefs.h >>conftest.$ac_ext
28525 cat >>conftest.$ac_ext <<_ACEOF
28526 /* end confdefs.h. */
28527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28529 #define $ac_func innocuous_$ac_func
28530
28531 /* System header to define __stub macros and hopefully few prototypes,
28532 which can conflict with char $ac_func (); below.
28533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28534 <limits.h> exists even on freestanding compilers. */
28535
28536 #ifdef __STDC__
28537 # include <limits.h>
28538 #else
28539 # include <assert.h>
28540 #endif
28541
28542 #undef $ac_func
28543
28544 /* Override any gcc2 internal prototype to avoid an error. */
28545 #ifdef __cplusplus
28546 extern "C"
28547 {
28548 #endif
28549 /* We use char because int might match the return type of a gcc2
28550 builtin and then its argument prototype would still apply. */
28551 char $ac_func ();
28552 /* The GNU C library defines this for functions which it implements
28553 to always fail with ENOSYS. Some functions are actually named
28554 something starting with __ and the normal name is an alias. */
28555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28556 choke me
28557 #else
28558 char (*f) () = $ac_func;
28559 #endif
28560 #ifdef __cplusplus
28561 }
28562 #endif
28563
28564 int
28565 main ()
28566 {
28567 return f != $ac_func;
28568 ;
28569 return 0;
28570 }
28571 _ACEOF
28572 rm -f conftest.$ac_objext conftest$ac_exeext
28573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28574 (eval $ac_link) 2>conftest.er1
28575 ac_status=$?
28576 grep -v '^ *+' conftest.er1 >conftest.err
28577 rm -f conftest.er1
28578 cat conftest.err >&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); } &&
28581 { ac_try='test -z "$ac_c_werror_flag"
28582 || test ! -s conftest.err'
28583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28584 (eval $ac_try) 2>&5
28585 ac_status=$?
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; } &&
28588 { ac_try='test -s conftest$ac_exeext'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28591 ac_status=$?
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; }; then
28594 eval "$as_ac_var=yes"
28595 else
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.$ac_ext >&5
28598
28599 eval "$as_ac_var=no"
28600 fi
28601 rm -f conftest.err conftest.$ac_objext \
28602 conftest$ac_exeext conftest.$ac_ext
28603 fi
28604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28606 if test `eval echo '${'$as_ac_var'}'` = yes; then
28607 cat >>confdefs.h <<_ACEOF
28608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28609 _ACEOF
28610
28611 fi
28612 done
28613
28614 fi
28615 fi
28616
28617
28618
28619
28620
28621
28622 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28623 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28624 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 else
28627
28628
28629
28630 ac_ext=cc
28631 ac_cpp='$CXXCPP $CPPFLAGS'
28632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28635
28636 cat >conftest.$ac_ext <<_ACEOF
28637 /* confdefs.h. */
28638 _ACEOF
28639 cat confdefs.h >>conftest.$ac_ext
28640 cat >>conftest.$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 #include <math.h>
28643 int
28644 main ()
28645 {
28646 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28647 ;
28648 return 0;
28649 }
28650 _ACEOF
28651 rm -f conftest.$ac_objext
28652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28653 (eval $ac_compile) 2>conftest.er1
28654 ac_status=$?
28655 grep -v '^ *+' conftest.er1 >conftest.err
28656 rm -f conftest.er1
28657 cat conftest.err >&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } &&
28660 { ac_try='test -z "$ac_cxx_werror_flag"
28661 || test ! -s conftest.err'
28662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28663 (eval $ac_try) 2>&5
28664 ac_status=$?
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); }; } &&
28667 { ac_try='test -s conftest.$ac_objext'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28670 ac_status=$?
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; }; then
28673 glibcxx_cv_func_long_double_trig_use=yes
28674 else
28675 echo "$as_me: failed program was:" >&5
28676 sed 's/^/| /' conftest.$ac_ext >&5
28677
28678 glibcxx_cv_func_long_double_trig_use=no
28679 fi
28680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28681 ac_ext=c
28682 ac_cpp='$CPP $CPPFLAGS'
28683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28686
28687 fi
28688
28689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28690 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28691 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28702 do
28703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28704 echo "$as_me:$LINENO: checking for $ac_func" >&5
28705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28706 if eval "test \"\${$as_ac_var+set}\" = set"; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28708 else
28709 if test x$gcc_no_link = xyes; then
28710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28712 { (exit 1); exit 1; }; }
28713 fi
28714 cat >conftest.$ac_ext <<_ACEOF
28715 /* confdefs.h. */
28716 _ACEOF
28717 cat confdefs.h >>conftest.$ac_ext
28718 cat >>conftest.$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28722 #define $ac_func innocuous_$ac_func
28723
28724 /* System header to define __stub macros and hopefully few prototypes,
28725 which can conflict with char $ac_func (); below.
28726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28727 <limits.h> exists even on freestanding compilers. */
28728
28729 #ifdef __STDC__
28730 # include <limits.h>
28731 #else
28732 # include <assert.h>
28733 #endif
28734
28735 #undef $ac_func
28736
28737 /* Override any gcc2 internal prototype to avoid an error. */
28738 #ifdef __cplusplus
28739 extern "C"
28740 {
28741 #endif
28742 /* We use char because int might match the return type of a gcc2
28743 builtin and then its argument prototype would still apply. */
28744 char $ac_func ();
28745 /* The GNU C library defines this for functions which it implements
28746 to always fail with ENOSYS. Some functions are actually named
28747 something starting with __ and the normal name is an alias. */
28748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28749 choke me
28750 #else
28751 char (*f) () = $ac_func;
28752 #endif
28753 #ifdef __cplusplus
28754 }
28755 #endif
28756
28757 int
28758 main ()
28759 {
28760 return f != $ac_func;
28761 ;
28762 return 0;
28763 }
28764 _ACEOF
28765 rm -f conftest.$ac_objext conftest$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_c_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try='test -s conftest$ac_exeext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 eval "$as_ac_var=yes"
28788 else
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28791
28792 eval "$as_ac_var=no"
28793 fi
28794 rm -f conftest.err conftest.$ac_objext \
28795 conftest$ac_exeext conftest.$ac_ext
28796 fi
28797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28799 if test `eval echo '${'$as_ac_var'}'` = yes; then
28800 cat >>confdefs.h <<_ACEOF
28801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28802 _ACEOF
28803
28804 fi
28805 done
28806
28807 else
28808 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28809 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28810 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28811 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 else
28813
28814
28815
28816 ac_ext=cc
28817 ac_cpp='$CXXCPP $CPPFLAGS'
28818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28821
28822 cat >conftest.$ac_ext <<_ACEOF
28823 /* confdefs.h. */
28824 _ACEOF
28825 cat confdefs.h >>conftest.$ac_ext
28826 cat >>conftest.$ac_ext <<_ACEOF
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 int
28830 main ()
28831 {
28832 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28833 ;
28834 return 0;
28835 }
28836 _ACEOF
28837 rm -f conftest.$ac_objext
28838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28839 (eval $ac_compile) 2>conftest.er1
28840 ac_status=$?
28841 grep -v '^ *+' conftest.er1 >conftest.err
28842 rm -f conftest.er1
28843 cat conftest.err >&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); } &&
28846 { ac_try='test -z "$ac_cxx_werror_flag"
28847 || test ! -s conftest.err'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28850 ac_status=$?
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; } &&
28853 { ac_try='test -s conftest.$ac_objext'
28854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28855 (eval $ac_try) 2>&5
28856 ac_status=$?
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); }; }; then
28859 glibcxx_cv_func__long_double_trig_use=yes
28860 else
28861 echo "$as_me: failed program was:" >&5
28862 sed 's/^/| /' conftest.$ac_ext >&5
28863
28864 glibcxx_cv_func__long_double_trig_use=no
28865 fi
28866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28867 ac_ext=c
28868 ac_cpp='$CPP $CPPFLAGS'
28869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28872
28873 fi
28874
28875 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28876 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28877 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28888 do
28889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28890 echo "$as_me:$LINENO: checking for $ac_func" >&5
28891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28892 if eval "test \"\${$as_ac_var+set}\" = set"; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 else
28895 if test x$gcc_no_link = xyes; then
28896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28898 { (exit 1); exit 1; }; }
28899 fi
28900 cat >conftest.$ac_ext <<_ACEOF
28901 /* confdefs.h. */
28902 _ACEOF
28903 cat confdefs.h >>conftest.$ac_ext
28904 cat >>conftest.$ac_ext <<_ACEOF
28905 /* end confdefs.h. */
28906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28908 #define $ac_func innocuous_$ac_func
28909
28910 /* System header to define __stub macros and hopefully few prototypes,
28911 which can conflict with char $ac_func (); below.
28912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28913 <limits.h> exists even on freestanding compilers. */
28914
28915 #ifdef __STDC__
28916 # include <limits.h>
28917 #else
28918 # include <assert.h>
28919 #endif
28920
28921 #undef $ac_func
28922
28923 /* Override any gcc2 internal prototype to avoid an error. */
28924 #ifdef __cplusplus
28925 extern "C"
28926 {
28927 #endif
28928 /* We use char because int might match the return type of a gcc2
28929 builtin and then its argument prototype would still apply. */
28930 char $ac_func ();
28931 /* The GNU C library defines this for functions which it implements
28932 to always fail with ENOSYS. Some functions are actually named
28933 something starting with __ and the normal name is an alias. */
28934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28935 choke me
28936 #else
28937 char (*f) () = $ac_func;
28938 #endif
28939 #ifdef __cplusplus
28940 }
28941 #endif
28942
28943 int
28944 main ()
28945 {
28946 return f != $ac_func;
28947 ;
28948 return 0;
28949 }
28950 _ACEOF
28951 rm -f conftest.$ac_objext conftest$ac_exeext
28952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28953 (eval $ac_link) 2>conftest.er1
28954 ac_status=$?
28955 grep -v '^ *+' conftest.er1 >conftest.err
28956 rm -f conftest.er1
28957 cat conftest.err >&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); } &&
28960 { ac_try='test -z "$ac_c_werror_flag"
28961 || test ! -s conftest.err'
28962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28963 (eval $ac_try) 2>&5
28964 ac_status=$?
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); }; } &&
28967 { ac_try='test -s conftest$ac_exeext'
28968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969 (eval $ac_try) 2>&5
28970 ac_status=$?
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); }; }; then
28973 eval "$as_ac_var=yes"
28974 else
28975 echo "$as_me: failed program was:" >&5
28976 sed 's/^/| /' conftest.$ac_ext >&5
28977
28978 eval "$as_ac_var=no"
28979 fi
28980 rm -f conftest.err conftest.$ac_objext \
28981 conftest$ac_exeext conftest.$ac_ext
28982 fi
28983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28985 if test `eval echo '${'$as_ac_var'}'` = yes; then
28986 cat >>confdefs.h <<_ACEOF
28987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28988 _ACEOF
28989
28990 fi
28991 done
28992
28993 fi
28994 fi
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009 echo "$as_me:$LINENO: checking for long double round functions" >&5
29010 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29011 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29012 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 else
29014
29015
29016
29017 ac_ext=cc
29018 ac_cpp='$CXXCPP $CPPFLAGS'
29019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29022
29023 cat >conftest.$ac_ext <<_ACEOF
29024 /* confdefs.h. */
29025 _ACEOF
29026 cat confdefs.h >>conftest.$ac_ext
29027 cat >>conftest.$ac_ext <<_ACEOF
29028 /* end confdefs.h. */
29029 #include <math.h>
29030 int
29031 main ()
29032 {
29033 ceill (0); floorl (0);
29034 ;
29035 return 0;
29036 }
29037 _ACEOF
29038 rm -f conftest.$ac_objext
29039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29040 (eval $ac_compile) 2>conftest.er1
29041 ac_status=$?
29042 grep -v '^ *+' conftest.er1 >conftest.err
29043 rm -f conftest.er1
29044 cat conftest.err >&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); } &&
29047 { ac_try='test -z "$ac_cxx_werror_flag"
29048 || test ! -s conftest.err'
29049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29050 (eval $ac_try) 2>&5
29051 ac_status=$?
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); }; } &&
29054 { ac_try='test -s conftest.$ac_objext'
29055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29056 (eval $ac_try) 2>&5
29057 ac_status=$?
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); }; }; then
29060 glibcxx_cv_func_long_double_round_use=yes
29061 else
29062 echo "$as_me: failed program was:" >&5
29063 sed 's/^/| /' conftest.$ac_ext >&5
29064
29065 glibcxx_cv_func_long_double_round_use=no
29066 fi
29067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29068 ac_ext=c
29069 ac_cpp='$CPP $CPPFLAGS'
29070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29073
29074 fi
29075
29076 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29077 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29078 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29079
29080
29081 for ac_func in ceill floorl
29082 do
29083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29084 echo "$as_me:$LINENO: checking for $ac_func" >&5
29085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29086 if eval "test \"\${$as_ac_var+set}\" = set"; then
29087 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 else
29089 if test x$gcc_no_link = xyes; then
29090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29092 { (exit 1); exit 1; }; }
29093 fi
29094 cat >conftest.$ac_ext <<_ACEOF
29095 /* confdefs.h. */
29096 _ACEOF
29097 cat confdefs.h >>conftest.$ac_ext
29098 cat >>conftest.$ac_ext <<_ACEOF
29099 /* end confdefs.h. */
29100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29102 #define $ac_func innocuous_$ac_func
29103
29104 /* System header to define __stub macros and hopefully few prototypes,
29105 which can conflict with char $ac_func (); below.
29106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29107 <limits.h> exists even on freestanding compilers. */
29108
29109 #ifdef __STDC__
29110 # include <limits.h>
29111 #else
29112 # include <assert.h>
29113 #endif
29114
29115 #undef $ac_func
29116
29117 /* Override any gcc2 internal prototype to avoid an error. */
29118 #ifdef __cplusplus
29119 extern "C"
29120 {
29121 #endif
29122 /* We use char because int might match the return type of a gcc2
29123 builtin and then its argument prototype would still apply. */
29124 char $ac_func ();
29125 /* The GNU C library defines this for functions which it implements
29126 to always fail with ENOSYS. Some functions are actually named
29127 something starting with __ and the normal name is an alias. */
29128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29129 choke me
29130 #else
29131 char (*f) () = $ac_func;
29132 #endif
29133 #ifdef __cplusplus
29134 }
29135 #endif
29136
29137 int
29138 main ()
29139 {
29140 return f != $ac_func;
29141 ;
29142 return 0;
29143 }
29144 _ACEOF
29145 rm -f conftest.$ac_objext conftest$ac_exeext
29146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29147 (eval $ac_link) 2>conftest.er1
29148 ac_status=$?
29149 grep -v '^ *+' conftest.er1 >conftest.err
29150 rm -f conftest.er1
29151 cat conftest.err >&5
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); } &&
29154 { ac_try='test -z "$ac_c_werror_flag"
29155 || test ! -s conftest.err'
29156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29157 (eval $ac_try) 2>&5
29158 ac_status=$?
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); }; } &&
29161 { ac_try='test -s conftest$ac_exeext'
29162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29163 (eval $ac_try) 2>&5
29164 ac_status=$?
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; }; then
29167 eval "$as_ac_var=yes"
29168 else
29169 echo "$as_me: failed program was:" >&5
29170 sed 's/^/| /' conftest.$ac_ext >&5
29171
29172 eval "$as_ac_var=no"
29173 fi
29174 rm -f conftest.err conftest.$ac_objext \
29175 conftest$ac_exeext conftest.$ac_ext
29176 fi
29177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29179 if test `eval echo '${'$as_ac_var'}'` = yes; then
29180 cat >>confdefs.h <<_ACEOF
29181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29182 _ACEOF
29183
29184 fi
29185 done
29186
29187 else
29188 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29189 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29190 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29191 echo $ECHO_N "(cached) $ECHO_C" >&6
29192 else
29193
29194
29195
29196 ac_ext=cc
29197 ac_cpp='$CXXCPP $CPPFLAGS'
29198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29201
29202 cat >conftest.$ac_ext <<_ACEOF
29203 /* confdefs.h. */
29204 _ACEOF
29205 cat confdefs.h >>conftest.$ac_ext
29206 cat >>conftest.$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29208 #include <math.h>
29209 int
29210 main ()
29211 {
29212 _ceill (0); _floorl (0);
29213 ;
29214 return 0;
29215 }
29216 _ACEOF
29217 rm -f conftest.$ac_objext
29218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29219 (eval $ac_compile) 2>conftest.er1
29220 ac_status=$?
29221 grep -v '^ *+' conftest.er1 >conftest.err
29222 rm -f conftest.er1
29223 cat conftest.err >&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); } &&
29226 { ac_try='test -z "$ac_cxx_werror_flag"
29227 || test ! -s conftest.err'
29228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29229 (eval $ac_try) 2>&5
29230 ac_status=$?
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); }; } &&
29233 { ac_try='test -s conftest.$ac_objext'
29234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29235 (eval $ac_try) 2>&5
29236 ac_status=$?
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); }; }; then
29239 glibcxx_cv_func__long_double_round_use=yes
29240 else
29241 echo "$as_me: failed program was:" >&5
29242 sed 's/^/| /' conftest.$ac_ext >&5
29243
29244 glibcxx_cv_func__long_double_round_use=no
29245 fi
29246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29247 ac_ext=c
29248 ac_cpp='$CPP $CPPFLAGS'
29249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252
29253 fi
29254
29255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29256 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29257 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29258
29259
29260 for ac_func in _ceill _floorl
29261 do
29262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 echo "$as_me:$LINENO: checking for $ac_func" >&5
29264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29265 if eval "test \"\${$as_ac_var+set}\" = set"; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 else
29268 if test x$gcc_no_link = xyes; then
29269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29271 { (exit 1); exit 1; }; }
29272 fi
29273 cat >conftest.$ac_ext <<_ACEOF
29274 /* confdefs.h. */
29275 _ACEOF
29276 cat confdefs.h >>conftest.$ac_ext
29277 cat >>conftest.$ac_ext <<_ACEOF
29278 /* end confdefs.h. */
29279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29281 #define $ac_func innocuous_$ac_func
29282
29283 /* System header to define __stub macros and hopefully few prototypes,
29284 which can conflict with char $ac_func (); below.
29285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29286 <limits.h> exists even on freestanding compilers. */
29287
29288 #ifdef __STDC__
29289 # include <limits.h>
29290 #else
29291 # include <assert.h>
29292 #endif
29293
29294 #undef $ac_func
29295
29296 /* Override any gcc2 internal prototype to avoid an error. */
29297 #ifdef __cplusplus
29298 extern "C"
29299 {
29300 #endif
29301 /* We use char because int might match the return type of a gcc2
29302 builtin and then its argument prototype would still apply. */
29303 char $ac_func ();
29304 /* The GNU C library defines this for functions which it implements
29305 to always fail with ENOSYS. Some functions are actually named
29306 something starting with __ and the normal name is an alias. */
29307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29308 choke me
29309 #else
29310 char (*f) () = $ac_func;
29311 #endif
29312 #ifdef __cplusplus
29313 }
29314 #endif
29315
29316 int
29317 main ()
29318 {
29319 return f != $ac_func;
29320 ;
29321 return 0;
29322 }
29323 _ACEOF
29324 rm -f conftest.$ac_objext conftest$ac_exeext
29325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29326 (eval $ac_link) 2>conftest.er1
29327 ac_status=$?
29328 grep -v '^ *+' conftest.er1 >conftest.err
29329 rm -f conftest.er1
29330 cat conftest.err >&5
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); } &&
29333 { ac_try='test -z "$ac_c_werror_flag"
29334 || test ! -s conftest.err'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29337 ac_status=$?
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; } &&
29340 { ac_try='test -s conftest$ac_exeext'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29343 ac_status=$?
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; }; then
29346 eval "$as_ac_var=yes"
29347 else
29348 echo "$as_me: failed program was:" >&5
29349 sed 's/^/| /' conftest.$ac_ext >&5
29350
29351 eval "$as_ac_var=no"
29352 fi
29353 rm -f conftest.err conftest.$ac_objext \
29354 conftest$ac_exeext conftest.$ac_ext
29355 fi
29356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29358 if test `eval echo '${'$as_ac_var'}'` = yes; then
29359 cat >>confdefs.h <<_ACEOF
29360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29361 _ACEOF
29362
29363 fi
29364 done
29365
29366 fi
29367 fi
29368
29369
29370
29371
29372
29373
29374
29375
29376 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29377 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29378 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29379 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29380 echo $ECHO_N "(cached) $ECHO_C" >&6
29381 else
29382
29383
29384
29385 ac_ext=cc
29386 ac_cpp='$CXXCPP $CPPFLAGS'
29387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390
29391 cat >conftest.$ac_ext <<_ACEOF
29392 /* confdefs.h. */
29393 _ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29397 #include <math.h>
29398 #ifdef HAVE_IEEEFP_H
29399 #include <ieeefp.h>
29400 #endif
29401
29402 int
29403 main ()
29404 {
29405 isnanl(0);
29406 ;
29407 return 0;
29408 }
29409 _ACEOF
29410 rm -f conftest.$ac_objext
29411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29412 (eval $ac_compile) 2>conftest.er1
29413 ac_status=$?
29414 grep -v '^ *+' conftest.er1 >conftest.err
29415 rm -f conftest.er1
29416 cat conftest.err >&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try='test -z "$ac_cxx_werror_flag"
29420 || test ! -s conftest.err'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29423 ac_status=$?
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; } &&
29426 { ac_try='test -s conftest.$ac_objext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29429 ac_status=$?
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 glibcxx_cv_func_isnanl_use=yes
29433 else
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29436
29437 glibcxx_cv_func_isnanl_use=no
29438 fi
29439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29440 ac_ext=c
29441 ac_cpp='$CPP $CPPFLAGS'
29442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29445
29446
29447 fi
29448
29449 fi
29450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29451 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29452
29453 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29454
29455 for ac_func in isnanl
29456 do
29457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29458 echo "$as_me:$LINENO: checking for $ac_func" >&5
29459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29460 if eval "test \"\${$as_ac_var+set}\" = set"; then
29461 echo $ECHO_N "(cached) $ECHO_C" >&6
29462 else
29463 if test x$gcc_no_link = xyes; then
29464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29466 { (exit 1); exit 1; }; }
29467 fi
29468 cat >conftest.$ac_ext <<_ACEOF
29469 /* confdefs.h. */
29470 _ACEOF
29471 cat confdefs.h >>conftest.$ac_ext
29472 cat >>conftest.$ac_ext <<_ACEOF
29473 /* end confdefs.h. */
29474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29476 #define $ac_func innocuous_$ac_func
29477
29478 /* System header to define __stub macros and hopefully few prototypes,
29479 which can conflict with char $ac_func (); below.
29480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29481 <limits.h> exists even on freestanding compilers. */
29482
29483 #ifdef __STDC__
29484 # include <limits.h>
29485 #else
29486 # include <assert.h>
29487 #endif
29488
29489 #undef $ac_func
29490
29491 /* Override any gcc2 internal prototype to avoid an error. */
29492 #ifdef __cplusplus
29493 extern "C"
29494 {
29495 #endif
29496 /* We use char because int might match the return type of a gcc2
29497 builtin and then its argument prototype would still apply. */
29498 char $ac_func ();
29499 /* The GNU C library defines this for functions which it implements
29500 to always fail with ENOSYS. Some functions are actually named
29501 something starting with __ and the normal name is an alias. */
29502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29503 choke me
29504 #else
29505 char (*f) () = $ac_func;
29506 #endif
29507 #ifdef __cplusplus
29508 }
29509 #endif
29510
29511 int
29512 main ()
29513 {
29514 return f != $ac_func;
29515 ;
29516 return 0;
29517 }
29518 _ACEOF
29519 rm -f conftest.$ac_objext conftest$ac_exeext
29520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29521 (eval $ac_link) 2>conftest.er1
29522 ac_status=$?
29523 grep -v '^ *+' conftest.er1 >conftest.err
29524 rm -f conftest.er1
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } &&
29528 { ac_try='test -z "$ac_c_werror_flag"
29529 || test ! -s conftest.err'
29530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29531 (eval $ac_try) 2>&5
29532 ac_status=$?
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); }; } &&
29535 { ac_try='test -s conftest$ac_exeext'
29536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29537 (eval $ac_try) 2>&5
29538 ac_status=$?
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); }; }; then
29541 eval "$as_ac_var=yes"
29542 else
29543 echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.$ac_ext >&5
29545
29546 eval "$as_ac_var=no"
29547 fi
29548 rm -f conftest.err conftest.$ac_objext \
29549 conftest$ac_exeext conftest.$ac_ext
29550 fi
29551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29553 if test `eval echo '${'$as_ac_var'}'` = yes; then
29554 cat >>confdefs.h <<_ACEOF
29555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29556 _ACEOF
29557
29558 fi
29559 done
29560
29561 else
29562
29563 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29564 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29565 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29566 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29567 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 else
29569
29570
29571
29572 ac_ext=cc
29573 ac_cpp='$CXXCPP $CPPFLAGS'
29574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29577
29578 cat >conftest.$ac_ext <<_ACEOF
29579 /* confdefs.h. */
29580 _ACEOF
29581 cat confdefs.h >>conftest.$ac_ext
29582 cat >>conftest.$ac_ext <<_ACEOF
29583 /* end confdefs.h. */
29584 #include <math.h>
29585 #ifdef HAVE_IEEEFP_H
29586 #include <ieeefp.h>
29587 #endif
29588
29589 int
29590 main ()
29591 {
29592 _isnanl(0);
29593 ;
29594 return 0;
29595 }
29596 _ACEOF
29597 rm -f conftest.$ac_objext
29598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29599 (eval $ac_compile) 2>conftest.er1
29600 ac_status=$?
29601 grep -v '^ *+' conftest.er1 >conftest.err
29602 rm -f conftest.er1
29603 cat conftest.err >&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); } &&
29606 { ac_try='test -z "$ac_cxx_werror_flag"
29607 || test ! -s conftest.err'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29610 ac_status=$?
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; } &&
29613 { ac_try='test -s conftest.$ac_objext'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29616 ac_status=$?
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; }; then
29619 glibcxx_cv_func__isnanl_use=yes
29620 else
29621 echo "$as_me: failed program was:" >&5
29622 sed 's/^/| /' conftest.$ac_ext >&5
29623
29624 glibcxx_cv_func__isnanl_use=no
29625 fi
29626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29627 ac_ext=c
29628 ac_cpp='$CPP $CPPFLAGS'
29629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29632
29633
29634 fi
29635
29636 fi
29637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29638 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29639
29640 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29641
29642 for ac_func in _isnanl
29643 do
29644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29645 echo "$as_me:$LINENO: checking for $ac_func" >&5
29646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29647 if eval "test \"\${$as_ac_var+set}\" = set"; then
29648 echo $ECHO_N "(cached) $ECHO_C" >&6
29649 else
29650 if test x$gcc_no_link = xyes; then
29651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29653 { (exit 1); exit 1; }; }
29654 fi
29655 cat >conftest.$ac_ext <<_ACEOF
29656 /* confdefs.h. */
29657 _ACEOF
29658 cat confdefs.h >>conftest.$ac_ext
29659 cat >>conftest.$ac_ext <<_ACEOF
29660 /* end confdefs.h. */
29661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29663 #define $ac_func innocuous_$ac_func
29664
29665 /* System header to define __stub macros and hopefully few prototypes,
29666 which can conflict with char $ac_func (); below.
29667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29668 <limits.h> exists even on freestanding compilers. */
29669
29670 #ifdef __STDC__
29671 # include <limits.h>
29672 #else
29673 # include <assert.h>
29674 #endif
29675
29676 #undef $ac_func
29677
29678 /* Override any gcc2 internal prototype to avoid an error. */
29679 #ifdef __cplusplus
29680 extern "C"
29681 {
29682 #endif
29683 /* We use char because int might match the return type of a gcc2
29684 builtin and then its argument prototype would still apply. */
29685 char $ac_func ();
29686 /* The GNU C library defines this for functions which it implements
29687 to always fail with ENOSYS. Some functions are actually named
29688 something starting with __ and the normal name is an alias. */
29689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29690 choke me
29691 #else
29692 char (*f) () = $ac_func;
29693 #endif
29694 #ifdef __cplusplus
29695 }
29696 #endif
29697
29698 int
29699 main ()
29700 {
29701 return f != $ac_func;
29702 ;
29703 return 0;
29704 }
29705 _ACEOF
29706 rm -f conftest.$ac_objext conftest$ac_exeext
29707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29708 (eval $ac_link) 2>conftest.er1
29709 ac_status=$?
29710 grep -v '^ *+' conftest.er1 >conftest.err
29711 rm -f conftest.er1
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } &&
29715 { ac_try='test -z "$ac_c_werror_flag"
29716 || test ! -s conftest.err'
29717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718 (eval $ac_try) 2>&5
29719 ac_status=$?
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); }; } &&
29722 { ac_try='test -s conftest$ac_exeext'
29723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724 (eval $ac_try) 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29728 eval "$as_ac_var=yes"
29729 else
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29732
29733 eval "$as_ac_var=no"
29734 fi
29735 rm -f conftest.err conftest.$ac_objext \
29736 conftest$ac_exeext conftest.$ac_ext
29737 fi
29738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29740 if test `eval echo '${'$as_ac_var'}'` = yes; then
29741 cat >>confdefs.h <<_ACEOF
29742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29743 _ACEOF
29744
29745 fi
29746 done
29747
29748 fi
29749 fi
29750
29751
29752
29753
29754
29755
29756 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29757 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29758 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29759 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29761 else
29762
29763
29764
29765 ac_ext=cc
29766 ac_cpp='$CXXCPP $CPPFLAGS'
29767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29770
29771 cat >conftest.$ac_ext <<_ACEOF
29772 /* confdefs.h. */
29773 _ACEOF
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29777 #include <math.h>
29778 #ifdef HAVE_IEEEFP_H
29779 #include <ieeefp.h>
29780 #endif
29781
29782 int
29783 main ()
29784 {
29785 isinfl(0);
29786 ;
29787 return 0;
29788 }
29789 _ACEOF
29790 rm -f conftest.$ac_objext
29791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29792 (eval $ac_compile) 2>conftest.er1
29793 ac_status=$?
29794 grep -v '^ *+' conftest.er1 >conftest.err
29795 rm -f conftest.er1
29796 cat conftest.err >&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } &&
29799 { ac_try='test -z "$ac_cxx_werror_flag"
29800 || test ! -s conftest.err'
29801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29802 (eval $ac_try) 2>&5
29803 ac_status=$?
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; } &&
29806 { ac_try='test -s conftest.$ac_objext'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29809 ac_status=$?
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; }; then
29812 glibcxx_cv_func_isinfl_use=yes
29813 else
29814 echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.$ac_ext >&5
29816
29817 glibcxx_cv_func_isinfl_use=no
29818 fi
29819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29820 ac_ext=c
29821 ac_cpp='$CPP $CPPFLAGS'
29822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29825
29826
29827 fi
29828
29829 fi
29830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29831 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29832
29833 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29834
29835 for ac_func in isinfl
29836 do
29837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29838 echo "$as_me:$LINENO: checking for $ac_func" >&5
29839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29840 if eval "test \"\${$as_ac_var+set}\" = set"; then
29841 echo $ECHO_N "(cached) $ECHO_C" >&6
29842 else
29843 if test x$gcc_no_link = xyes; then
29844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29846 { (exit 1); exit 1; }; }
29847 fi
29848 cat >conftest.$ac_ext <<_ACEOF
29849 /* confdefs.h. */
29850 _ACEOF
29851 cat confdefs.h >>conftest.$ac_ext
29852 cat >>conftest.$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29856 #define $ac_func innocuous_$ac_func
29857
29858 /* System header to define __stub macros and hopefully few prototypes,
29859 which can conflict with char $ac_func (); below.
29860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29861 <limits.h> exists even on freestanding compilers. */
29862
29863 #ifdef __STDC__
29864 # include <limits.h>
29865 #else
29866 # include <assert.h>
29867 #endif
29868
29869 #undef $ac_func
29870
29871 /* Override any gcc2 internal prototype to avoid an error. */
29872 #ifdef __cplusplus
29873 extern "C"
29874 {
29875 #endif
29876 /* We use char because int might match the return type of a gcc2
29877 builtin and then its argument prototype would still apply. */
29878 char $ac_func ();
29879 /* The GNU C library defines this for functions which it implements
29880 to always fail with ENOSYS. Some functions are actually named
29881 something starting with __ and the normal name is an alias. */
29882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29883 choke me
29884 #else
29885 char (*f) () = $ac_func;
29886 #endif
29887 #ifdef __cplusplus
29888 }
29889 #endif
29890
29891 int
29892 main ()
29893 {
29894 return f != $ac_func;
29895 ;
29896 return 0;
29897 }
29898 _ACEOF
29899 rm -f conftest.$ac_objext conftest$ac_exeext
29900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29901 (eval $ac_link) 2>conftest.er1
29902 ac_status=$?
29903 grep -v '^ *+' conftest.er1 >conftest.err
29904 rm -f conftest.er1
29905 cat conftest.err >&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); } &&
29908 { ac_try='test -z "$ac_c_werror_flag"
29909 || test ! -s conftest.err'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29912 ac_status=$?
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; } &&
29915 { ac_try='test -s conftest$ac_exeext'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; }; then
29921 eval "$as_ac_var=yes"
29922 else
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29925
29926 eval "$as_ac_var=no"
29927 fi
29928 rm -f conftest.err conftest.$ac_objext \
29929 conftest$ac_exeext conftest.$ac_ext
29930 fi
29931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29933 if test `eval echo '${'$as_ac_var'}'` = yes; then
29934 cat >>confdefs.h <<_ACEOF
29935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29936 _ACEOF
29937
29938 fi
29939 done
29940
29941 else
29942
29943 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29944 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29945 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29946 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29947 echo $ECHO_N "(cached) $ECHO_C" >&6
29948 else
29949
29950
29951
29952 ac_ext=cc
29953 ac_cpp='$CXXCPP $CPPFLAGS'
29954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29957
29958 cat >conftest.$ac_ext <<_ACEOF
29959 /* confdefs.h. */
29960 _ACEOF
29961 cat confdefs.h >>conftest.$ac_ext
29962 cat >>conftest.$ac_ext <<_ACEOF
29963 /* end confdefs.h. */
29964 #include <math.h>
29965 #ifdef HAVE_IEEEFP_H
29966 #include <ieeefp.h>
29967 #endif
29968
29969 int
29970 main ()
29971 {
29972 _isinfl(0);
29973 ;
29974 return 0;
29975 }
29976 _ACEOF
29977 rm -f conftest.$ac_objext
29978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29979 (eval $ac_compile) 2>conftest.er1
29980 ac_status=$?
29981 grep -v '^ *+' conftest.er1 >conftest.err
29982 rm -f conftest.er1
29983 cat conftest.err >&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } &&
29986 { ac_try='test -z "$ac_cxx_werror_flag"
29987 || test ! -s conftest.err'
29988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29989 (eval $ac_try) 2>&5
29990 ac_status=$?
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); }; } &&
29993 { ac_try='test -s conftest.$ac_objext'
29994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29995 (eval $ac_try) 2>&5
29996 ac_status=$?
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); }; }; then
29999 glibcxx_cv_func__isinfl_use=yes
30000 else
30001 echo "$as_me: failed program was:" >&5
30002 sed 's/^/| /' conftest.$ac_ext >&5
30003
30004 glibcxx_cv_func__isinfl_use=no
30005 fi
30006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30007 ac_ext=c
30008 ac_cpp='$CPP $CPPFLAGS'
30009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30012
30013
30014 fi
30015
30016 fi
30017 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30018 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30019
30020 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30021
30022 for ac_func in _isinfl
30023 do
30024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30025 echo "$as_me:$LINENO: checking for $ac_func" >&5
30026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30027 if eval "test \"\${$as_ac_var+set}\" = set"; then
30028 echo $ECHO_N "(cached) $ECHO_C" >&6
30029 else
30030 if test x$gcc_no_link = xyes; then
30031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30033 { (exit 1); exit 1; }; }
30034 fi
30035 cat >conftest.$ac_ext <<_ACEOF
30036 /* confdefs.h. */
30037 _ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30043 #define $ac_func innocuous_$ac_func
30044
30045 /* System header to define __stub macros and hopefully few prototypes,
30046 which can conflict with char $ac_func (); below.
30047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30048 <limits.h> exists even on freestanding compilers. */
30049
30050 #ifdef __STDC__
30051 # include <limits.h>
30052 #else
30053 # include <assert.h>
30054 #endif
30055
30056 #undef $ac_func
30057
30058 /* Override any gcc2 internal prototype to avoid an error. */
30059 #ifdef __cplusplus
30060 extern "C"
30061 {
30062 #endif
30063 /* We use char because int might match the return type of a gcc2
30064 builtin and then its argument prototype would still apply. */
30065 char $ac_func ();
30066 /* The GNU C library defines this for functions which it implements
30067 to always fail with ENOSYS. Some functions are actually named
30068 something starting with __ and the normal name is an alias. */
30069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30070 choke me
30071 #else
30072 char (*f) () = $ac_func;
30073 #endif
30074 #ifdef __cplusplus
30075 }
30076 #endif
30077
30078 int
30079 main ()
30080 {
30081 return f != $ac_func;
30082 ;
30083 return 0;
30084 }
30085 _ACEOF
30086 rm -f conftest.$ac_objext conftest$ac_exeext
30087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30088 (eval $ac_link) 2>conftest.er1
30089 ac_status=$?
30090 grep -v '^ *+' conftest.er1 >conftest.err
30091 rm -f conftest.er1
30092 cat conftest.err >&5
30093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30094 (exit $ac_status); } &&
30095 { ac_try='test -z "$ac_c_werror_flag"
30096 || test ! -s conftest.err'
30097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098 (eval $ac_try) 2>&5
30099 ac_status=$?
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); }; } &&
30102 { ac_try='test -s conftest$ac_exeext'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30105 ac_status=$?
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; }; then
30108 eval "$as_ac_var=yes"
30109 else
30110 echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.$ac_ext >&5
30112
30113 eval "$as_ac_var=no"
30114 fi
30115 rm -f conftest.err conftest.$ac_objext \
30116 conftest$ac_exeext conftest.$ac_ext
30117 fi
30118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30120 if test `eval echo '${'$as_ac_var'}'` = yes; then
30121 cat >>confdefs.h <<_ACEOF
30122 #define `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 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30137 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30138 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30139 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 else
30142
30143
30144
30145 ac_ext=cc
30146 ac_cpp='$CXXCPP $CPPFLAGS'
30147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150
30151 cat >conftest.$ac_ext <<_ACEOF
30152 /* confdefs.h. */
30153 _ACEOF
30154 cat confdefs.h >>conftest.$ac_ext
30155 cat >>conftest.$ac_ext <<_ACEOF
30156 /* end confdefs.h. */
30157 #include <math.h>
30158 int
30159 main ()
30160 {
30161 copysignl(0, 0);
30162 ;
30163 return 0;
30164 }
30165 _ACEOF
30166 rm -f conftest.$ac_objext
30167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30168 (eval $ac_compile) 2>conftest.er1
30169 ac_status=$?
30170 grep -v '^ *+' conftest.er1 >conftest.err
30171 rm -f conftest.er1
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } &&
30175 { ac_try='test -z "$ac_cxx_werror_flag"
30176 || test ! -s conftest.err'
30177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178 (eval $ac_try) 2>&5
30179 ac_status=$?
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; } &&
30182 { ac_try='test -s conftest.$ac_objext'
30183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30184 (eval $ac_try) 2>&5
30185 ac_status=$?
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); }; }; then
30188 glibcxx_cv_func_copysignl_use=yes
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30192
30193 glibcxx_cv_func_copysignl_use=no
30194 fi
30195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30196 ac_ext=c
30197 ac_cpp='$CPP $CPPFLAGS'
30198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30201
30202
30203 fi
30204
30205 fi
30206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30207 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30208
30209 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30210
30211 for ac_func in copysignl
30212 do
30213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30214 echo "$as_me:$LINENO: checking for $ac_func" >&5
30215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30216 if eval "test \"\${$as_ac_var+set}\" = set"; then
30217 echo $ECHO_N "(cached) $ECHO_C" >&6
30218 else
30219 if test x$gcc_no_link = xyes; then
30220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30222 { (exit 1); exit 1; }; }
30223 fi
30224 cat >conftest.$ac_ext <<_ACEOF
30225 /* confdefs.h. */
30226 _ACEOF
30227 cat confdefs.h >>conftest.$ac_ext
30228 cat >>conftest.$ac_ext <<_ACEOF
30229 /* end confdefs.h. */
30230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30232 #define $ac_func innocuous_$ac_func
30233
30234 /* System header to define __stub macros and hopefully few prototypes,
30235 which can conflict with char $ac_func (); below.
30236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30237 <limits.h> exists even on freestanding compilers. */
30238
30239 #ifdef __STDC__
30240 # include <limits.h>
30241 #else
30242 # include <assert.h>
30243 #endif
30244
30245 #undef $ac_func
30246
30247 /* Override any gcc2 internal prototype to avoid an error. */
30248 #ifdef __cplusplus
30249 extern "C"
30250 {
30251 #endif
30252 /* We use char because int might match the return type of a gcc2
30253 builtin and then its argument prototype would still apply. */
30254 char $ac_func ();
30255 /* The GNU C library defines this for functions which it implements
30256 to always fail with ENOSYS. Some functions are actually named
30257 something starting with __ and the normal name is an alias. */
30258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30259 choke me
30260 #else
30261 char (*f) () = $ac_func;
30262 #endif
30263 #ifdef __cplusplus
30264 }
30265 #endif
30266
30267 int
30268 main ()
30269 {
30270 return f != $ac_func;
30271 ;
30272 return 0;
30273 }
30274 _ACEOF
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30277 (eval $ac_link) 2>conftest.er1
30278 ac_status=$?
30279 grep -v '^ *+' conftest.er1 >conftest.err
30280 rm -f conftest.er1
30281 cat conftest.err >&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); } &&
30284 { ac_try='test -z "$ac_c_werror_flag"
30285 || test ! -s conftest.err'
30286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287 (eval $ac_try) 2>&5
30288 ac_status=$?
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; } &&
30291 { ac_try='test -s conftest$ac_exeext'
30292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30293 (eval $ac_try) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); }; }; then
30297 eval "$as_ac_var=yes"
30298 else
30299 echo "$as_me: failed program was:" >&5
30300 sed 's/^/| /' conftest.$ac_ext >&5
30301
30302 eval "$as_ac_var=no"
30303 fi
30304 rm -f conftest.err conftest.$ac_objext \
30305 conftest$ac_exeext conftest.$ac_ext
30306 fi
30307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30309 if test `eval echo '${'$as_ac_var'}'` = yes; then
30310 cat >>confdefs.h <<_ACEOF
30311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30312 _ACEOF
30313
30314 fi
30315 done
30316
30317 else
30318
30319 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30320 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30321 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30322 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30323 echo $ECHO_N "(cached) $ECHO_C" >&6
30324 else
30325
30326
30327
30328 ac_ext=cc
30329 ac_cpp='$CXXCPP $CPPFLAGS'
30330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30333
30334 cat >conftest.$ac_ext <<_ACEOF
30335 /* confdefs.h. */
30336 _ACEOF
30337 cat confdefs.h >>conftest.$ac_ext
30338 cat >>conftest.$ac_ext <<_ACEOF
30339 /* end confdefs.h. */
30340 #include <math.h>
30341 int
30342 main ()
30343 {
30344 _copysignl(0, 0);
30345 ;
30346 return 0;
30347 }
30348 _ACEOF
30349 rm -f conftest.$ac_objext
30350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30351 (eval $ac_compile) 2>conftest.er1
30352 ac_status=$?
30353 grep -v '^ *+' conftest.er1 >conftest.err
30354 rm -f conftest.er1
30355 cat conftest.err >&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try='test -z "$ac_cxx_werror_flag"
30359 || test ! -s conftest.err'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30362 ac_status=$?
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; } &&
30365 { ac_try='test -s conftest.$ac_objext'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30368 ac_status=$?
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; }; then
30371 glibcxx_cv_func__copysignl_use=yes
30372 else
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.$ac_ext >&5
30375
30376 glibcxx_cv_func__copysignl_use=no
30377 fi
30378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30379 ac_ext=c
30380 ac_cpp='$CPP $CPPFLAGS'
30381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384
30385
30386 fi
30387
30388 fi
30389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30390 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30391
30392 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30393
30394 for ac_func in _copysignl
30395 do
30396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30397 echo "$as_me:$LINENO: checking for $ac_func" >&5
30398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30399 if eval "test \"\${$as_ac_var+set}\" = set"; then
30400 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 else
30402 if test x$gcc_no_link = xyes; then
30403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30405 { (exit 1); exit 1; }; }
30406 fi
30407 cat >conftest.$ac_ext <<_ACEOF
30408 /* confdefs.h. */
30409 _ACEOF
30410 cat confdefs.h >>conftest.$ac_ext
30411 cat >>conftest.$ac_ext <<_ACEOF
30412 /* end confdefs.h. */
30413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30415 #define $ac_func innocuous_$ac_func
30416
30417 /* System header to define __stub macros and hopefully few prototypes,
30418 which can conflict with char $ac_func (); below.
30419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30420 <limits.h> exists even on freestanding compilers. */
30421
30422 #ifdef __STDC__
30423 # include <limits.h>
30424 #else
30425 # include <assert.h>
30426 #endif
30427
30428 #undef $ac_func
30429
30430 /* Override any gcc2 internal prototype to avoid an error. */
30431 #ifdef __cplusplus
30432 extern "C"
30433 {
30434 #endif
30435 /* We use char because int might match the return type of a gcc2
30436 builtin and then its argument prototype would still apply. */
30437 char $ac_func ();
30438 /* The GNU C library defines this for functions which it implements
30439 to always fail with ENOSYS. Some functions are actually named
30440 something starting with __ and the normal name is an alias. */
30441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30442 choke me
30443 #else
30444 char (*f) () = $ac_func;
30445 #endif
30446 #ifdef __cplusplus
30447 }
30448 #endif
30449
30450 int
30451 main ()
30452 {
30453 return f != $ac_func;
30454 ;
30455 return 0;
30456 }
30457 _ACEOF
30458 rm -f conftest.$ac_objext conftest$ac_exeext
30459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30460 (eval $ac_link) 2>conftest.er1
30461 ac_status=$?
30462 grep -v '^ *+' conftest.er1 >conftest.err
30463 rm -f conftest.er1
30464 cat conftest.err >&5
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); } &&
30467 { ac_try='test -z "$ac_c_werror_flag"
30468 || test ! -s conftest.err'
30469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30470 (eval $ac_try) 2>&5
30471 ac_status=$?
30472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30473 (exit $ac_status); }; } &&
30474 { ac_try='test -s conftest$ac_exeext'
30475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476 (eval $ac_try) 2>&5
30477 ac_status=$?
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); }; }; then
30480 eval "$as_ac_var=yes"
30481 else
30482 echo "$as_me: failed program was:" >&5
30483 sed 's/^/| /' conftest.$ac_ext >&5
30484
30485 eval "$as_ac_var=no"
30486 fi
30487 rm -f conftest.err conftest.$ac_objext \
30488 conftest$ac_exeext conftest.$ac_ext
30489 fi
30490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30492 if test `eval echo '${'$as_ac_var'}'` = yes; then
30493 cat >>confdefs.h <<_ACEOF
30494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30495 _ACEOF
30496
30497 fi
30498 done
30499
30500 fi
30501 fi
30502
30503
30504
30505
30506
30507
30508 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30509 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30510 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30511 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30512 echo $ECHO_N "(cached) $ECHO_C" >&6
30513 else
30514
30515
30516
30517 ac_ext=cc
30518 ac_cpp='$CXXCPP $CPPFLAGS'
30519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30522
30523 cat >conftest.$ac_ext <<_ACEOF
30524 /* confdefs.h. */
30525 _ACEOF
30526 cat confdefs.h >>conftest.$ac_ext
30527 cat >>conftest.$ac_ext <<_ACEOF
30528 /* end confdefs.h. */
30529 #include <math.h>
30530 int
30531 main ()
30532 {
30533 atan2l(0, 0);
30534 ;
30535 return 0;
30536 }
30537 _ACEOF
30538 rm -f conftest.$ac_objext
30539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30540 (eval $ac_compile) 2>conftest.er1
30541 ac_status=$?
30542 grep -v '^ *+' conftest.er1 >conftest.err
30543 rm -f conftest.er1
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } &&
30547 { ac_try='test -z "$ac_cxx_werror_flag"
30548 || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30551 ac_status=$?
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try='test -s conftest.$ac_objext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30557 ac_status=$?
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 glibcxx_cv_func_atan2l_use=yes
30561 else
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.$ac_ext >&5
30564
30565 glibcxx_cv_func_atan2l_use=no
30566 fi
30567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30568 ac_ext=c
30569 ac_cpp='$CPP $CPPFLAGS'
30570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30573
30574
30575 fi
30576
30577 fi
30578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30579 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30580
30581 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30582
30583 for ac_func in atan2l
30584 do
30585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30586 echo "$as_me:$LINENO: checking for $ac_func" >&5
30587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30588 if eval "test \"\${$as_ac_var+set}\" = set"; then
30589 echo $ECHO_N "(cached) $ECHO_C" >&6
30590 else
30591 if test x$gcc_no_link = xyes; then
30592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30594 { (exit 1); exit 1; }; }
30595 fi
30596 cat >conftest.$ac_ext <<_ACEOF
30597 /* confdefs.h. */
30598 _ACEOF
30599 cat confdefs.h >>conftest.$ac_ext
30600 cat >>conftest.$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30604 #define $ac_func innocuous_$ac_func
30605
30606 /* System header to define __stub macros and hopefully few prototypes,
30607 which can conflict with char $ac_func (); below.
30608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30609 <limits.h> exists even on freestanding compilers. */
30610
30611 #ifdef __STDC__
30612 # include <limits.h>
30613 #else
30614 # include <assert.h>
30615 #endif
30616
30617 #undef $ac_func
30618
30619 /* Override any gcc2 internal prototype to avoid an error. */
30620 #ifdef __cplusplus
30621 extern "C"
30622 {
30623 #endif
30624 /* We use char because int might match the return type of a gcc2
30625 builtin and then its argument prototype would still apply. */
30626 char $ac_func ();
30627 /* The GNU C library defines this for functions which it implements
30628 to always fail with ENOSYS. Some functions are actually named
30629 something starting with __ and the normal name is an alias. */
30630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30631 choke me
30632 #else
30633 char (*f) () = $ac_func;
30634 #endif
30635 #ifdef __cplusplus
30636 }
30637 #endif
30638
30639 int
30640 main ()
30641 {
30642 return f != $ac_func;
30643 ;
30644 return 0;
30645 }
30646 _ACEOF
30647 rm -f conftest.$ac_objext conftest$ac_exeext
30648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30649 (eval $ac_link) 2>conftest.er1
30650 ac_status=$?
30651 grep -v '^ *+' conftest.er1 >conftest.err
30652 rm -f conftest.er1
30653 cat conftest.err >&5
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); } &&
30656 { ac_try='test -z "$ac_c_werror_flag"
30657 || test ! -s conftest.err'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; } &&
30663 { ac_try='test -s conftest$ac_exeext'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 eval "$as_ac_var=yes"
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 eval "$as_ac_var=no"
30675 fi
30676 rm -f conftest.err conftest.$ac_objext \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30681 if test `eval echo '${'$as_ac_var'}'` = yes; then
30682 cat >>confdefs.h <<_ACEOF
30683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30684 _ACEOF
30685
30686 fi
30687 done
30688
30689 else
30690
30691 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30692 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30693 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30694 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30695 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 else
30697
30698
30699
30700 ac_ext=cc
30701 ac_cpp='$CXXCPP $CPPFLAGS'
30702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30705
30706 cat >conftest.$ac_ext <<_ACEOF
30707 /* confdefs.h. */
30708 _ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30712 #include <math.h>
30713 int
30714 main ()
30715 {
30716 _atan2l(0, 0);
30717 ;
30718 return 0;
30719 }
30720 _ACEOF
30721 rm -f conftest.$ac_objext
30722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30723 (eval $ac_compile) 2>conftest.er1
30724 ac_status=$?
30725 grep -v '^ *+' conftest.er1 >conftest.err
30726 rm -f conftest.er1
30727 cat conftest.err >&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } &&
30730 { ac_try='test -z "$ac_cxx_werror_flag"
30731 || test ! -s conftest.err'
30732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30733 (eval $ac_try) 2>&5
30734 ac_status=$?
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); }; } &&
30737 { ac_try='test -s conftest.$ac_objext'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30740 ac_status=$?
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; }; then
30743 glibcxx_cv_func__atan2l_use=yes
30744 else
30745 echo "$as_me: failed program was:" >&5
30746 sed 's/^/| /' conftest.$ac_ext >&5
30747
30748 glibcxx_cv_func__atan2l_use=no
30749 fi
30750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30751 ac_ext=c
30752 ac_cpp='$CPP $CPPFLAGS'
30753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30756
30757
30758 fi
30759
30760 fi
30761 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30762 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30763
30764 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30765
30766 for ac_func in _atan2l
30767 do
30768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30769 echo "$as_me:$LINENO: checking for $ac_func" >&5
30770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30771 if eval "test \"\${$as_ac_var+set}\" = set"; then
30772 echo $ECHO_N "(cached) $ECHO_C" >&6
30773 else
30774 if test x$gcc_no_link = xyes; then
30775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30777 { (exit 1); exit 1; }; }
30778 fi
30779 cat >conftest.$ac_ext <<_ACEOF
30780 /* confdefs.h. */
30781 _ACEOF
30782 cat confdefs.h >>conftest.$ac_ext
30783 cat >>conftest.$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30787 #define $ac_func innocuous_$ac_func
30788
30789 /* System header to define __stub macros and hopefully few prototypes,
30790 which can conflict with char $ac_func (); below.
30791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30792 <limits.h> exists even on freestanding compilers. */
30793
30794 #ifdef __STDC__
30795 # include <limits.h>
30796 #else
30797 # include <assert.h>
30798 #endif
30799
30800 #undef $ac_func
30801
30802 /* Override any gcc2 internal prototype to avoid an error. */
30803 #ifdef __cplusplus
30804 extern "C"
30805 {
30806 #endif
30807 /* We use char because int might match the return type of a gcc2
30808 builtin and then its argument prototype would still apply. */
30809 char $ac_func ();
30810 /* The GNU C library defines this for functions which it implements
30811 to always fail with ENOSYS. Some functions are actually named
30812 something starting with __ and the normal name is an alias. */
30813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30814 choke me
30815 #else
30816 char (*f) () = $ac_func;
30817 #endif
30818 #ifdef __cplusplus
30819 }
30820 #endif
30821
30822 int
30823 main ()
30824 {
30825 return f != $ac_func;
30826 ;
30827 return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext conftest$ac_exeext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30832 (eval $ac_link) 2>conftest.er1
30833 ac_status=$?
30834 grep -v '^ *+' conftest.er1 >conftest.err
30835 rm -f conftest.er1
30836 cat conftest.err >&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); } &&
30839 { ac_try='test -z "$ac_c_werror_flag"
30840 || test ! -s conftest.err'
30841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842 (eval $ac_try) 2>&5
30843 ac_status=$?
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); }; } &&
30846 { ac_try='test -s conftest$ac_exeext'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; }; then
30852 eval "$as_ac_var=yes"
30853 else
30854 echo "$as_me: failed program was:" >&5
30855 sed 's/^/| /' conftest.$ac_ext >&5
30856
30857 eval "$as_ac_var=no"
30858 fi
30859 rm -f conftest.err conftest.$ac_objext \
30860 conftest$ac_exeext conftest.$ac_ext
30861 fi
30862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30864 if test `eval echo '${'$as_ac_var'}'` = yes; then
30865 cat >>confdefs.h <<_ACEOF
30866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30867 _ACEOF
30868
30869 fi
30870 done
30871
30872 fi
30873 fi
30874
30875
30876
30877
30878
30879
30880 echo "$as_me:$LINENO: checking for expl declaration" >&5
30881 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30882 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30883 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 else
30886
30887
30888
30889 ac_ext=cc
30890 ac_cpp='$CXXCPP $CPPFLAGS'
30891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30894
30895 cat >conftest.$ac_ext <<_ACEOF
30896 /* confdefs.h. */
30897 _ACEOF
30898 cat confdefs.h >>conftest.$ac_ext
30899 cat >>conftest.$ac_ext <<_ACEOF
30900 /* end confdefs.h. */
30901 #include <math.h>
30902 #ifdef HAVE_IEEEFP_H
30903 #include <ieeefp.h>
30904 #endif
30905
30906 int
30907 main ()
30908 {
30909 expl(0);
30910 ;
30911 return 0;
30912 }
30913 _ACEOF
30914 rm -f conftest.$ac_objext
30915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30916 (eval $ac_compile) 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try='test -z "$ac_cxx_werror_flag"
30924 || test ! -s conftest.err'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; } &&
30930 { ac_try='test -s conftest.$ac_objext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30936 glibcxx_cv_func_expl_use=yes
30937 else
30938 echo "$as_me: failed program was:" >&5
30939 sed 's/^/| /' conftest.$ac_ext >&5
30940
30941 glibcxx_cv_func_expl_use=no
30942 fi
30943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30944 ac_ext=c
30945 ac_cpp='$CPP $CPPFLAGS'
30946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30949
30950
30951 fi
30952
30953 fi
30954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30955 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30956
30957 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30958
30959 for ac_func in expl
30960 do
30961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30962 echo "$as_me:$LINENO: checking for $ac_func" >&5
30963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30964 if eval "test \"\${$as_ac_var+set}\" = set"; then
30965 echo $ECHO_N "(cached) $ECHO_C" >&6
30966 else
30967 if test x$gcc_no_link = xyes; then
30968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30970 { (exit 1); exit 1; }; }
30971 fi
30972 cat >conftest.$ac_ext <<_ACEOF
30973 /* confdefs.h. */
30974 _ACEOF
30975 cat confdefs.h >>conftest.$ac_ext
30976 cat >>conftest.$ac_ext <<_ACEOF
30977 /* end confdefs.h. */
30978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30980 #define $ac_func innocuous_$ac_func
30981
30982 /* System header to define __stub macros and hopefully few prototypes,
30983 which can conflict with char $ac_func (); below.
30984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30985 <limits.h> exists even on freestanding compilers. */
30986
30987 #ifdef __STDC__
30988 # include <limits.h>
30989 #else
30990 # include <assert.h>
30991 #endif
30992
30993 #undef $ac_func
30994
30995 /* Override any gcc2 internal prototype to avoid an error. */
30996 #ifdef __cplusplus
30997 extern "C"
30998 {
30999 #endif
31000 /* We use char because int might match the return type of a gcc2
31001 builtin and then its argument prototype would still apply. */
31002 char $ac_func ();
31003 /* The GNU C library defines this for functions which it implements
31004 to always fail with ENOSYS. Some functions are actually named
31005 something starting with __ and the normal name is an alias. */
31006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31007 choke me
31008 #else
31009 char (*f) () = $ac_func;
31010 #endif
31011 #ifdef __cplusplus
31012 }
31013 #endif
31014
31015 int
31016 main ()
31017 {
31018 return f != $ac_func;
31019 ;
31020 return 0;
31021 }
31022 _ACEOF
31023 rm -f conftest.$ac_objext conftest$ac_exeext
31024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31025 (eval $ac_link) 2>conftest.er1
31026 ac_status=$?
31027 grep -v '^ *+' conftest.er1 >conftest.err
31028 rm -f conftest.er1
31029 cat conftest.err >&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } &&
31032 { ac_try='test -z "$ac_c_werror_flag"
31033 || test ! -s conftest.err'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; } &&
31039 { ac_try='test -s conftest$ac_exeext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31042 ac_status=$?
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 eval "$as_ac_var=yes"
31046 else
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.$ac_ext >&5
31049
31050 eval "$as_ac_var=no"
31051 fi
31052 rm -f conftest.err conftest.$ac_objext \
31053 conftest$ac_exeext conftest.$ac_ext
31054 fi
31055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31057 if test `eval echo '${'$as_ac_var'}'` = yes; then
31058 cat >>confdefs.h <<_ACEOF
31059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31060 _ACEOF
31061
31062 fi
31063 done
31064
31065 else
31066
31067 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31068 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31069 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31070 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31071 echo $ECHO_N "(cached) $ECHO_C" >&6
31072 else
31073
31074
31075
31076 ac_ext=cc
31077 ac_cpp='$CXXCPP $CPPFLAGS'
31078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31081
31082 cat >conftest.$ac_ext <<_ACEOF
31083 /* confdefs.h. */
31084 _ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31088 #include <math.h>
31089 #ifdef HAVE_IEEEFP_H
31090 #include <ieeefp.h>
31091 #endif
31092
31093 int
31094 main ()
31095 {
31096 _expl(0);
31097 ;
31098 return 0;
31099 }
31100 _ACEOF
31101 rm -f conftest.$ac_objext
31102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31103 (eval $ac_compile) 2>conftest.er1
31104 ac_status=$?
31105 grep -v '^ *+' conftest.er1 >conftest.err
31106 rm -f conftest.er1
31107 cat conftest.err >&5
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); } &&
31110 { ac_try='test -z "$ac_cxx_werror_flag"
31111 || test ! -s conftest.err'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; } &&
31117 { ac_try='test -s conftest.$ac_objext'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 glibcxx_cv_func__expl_use=yes
31124 else
31125 echo "$as_me: failed program was:" >&5
31126 sed 's/^/| /' conftest.$ac_ext >&5
31127
31128 glibcxx_cv_func__expl_use=no
31129 fi
31130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136
31137
31138 fi
31139
31140 fi
31141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31142 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31143
31144 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31145
31146 for ac_func in _expl
31147 do
31148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31149 echo "$as_me:$LINENO: checking for $ac_func" >&5
31150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31151 if eval "test \"\${$as_ac_var+set}\" = set"; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31153 else
31154 if test x$gcc_no_link = xyes; then
31155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31157 { (exit 1); exit 1; }; }
31158 fi
31159 cat >conftest.$ac_ext <<_ACEOF
31160 /* confdefs.h. */
31161 _ACEOF
31162 cat confdefs.h >>conftest.$ac_ext
31163 cat >>conftest.$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31167 #define $ac_func innocuous_$ac_func
31168
31169 /* System header to define __stub macros and hopefully few prototypes,
31170 which can conflict with char $ac_func (); below.
31171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31172 <limits.h> exists even on freestanding compilers. */
31173
31174 #ifdef __STDC__
31175 # include <limits.h>
31176 #else
31177 # include <assert.h>
31178 #endif
31179
31180 #undef $ac_func
31181
31182 /* Override any gcc2 internal prototype to avoid an error. */
31183 #ifdef __cplusplus
31184 extern "C"
31185 {
31186 #endif
31187 /* We use char because int might match the return type of a gcc2
31188 builtin and then its argument prototype would still apply. */
31189 char $ac_func ();
31190 /* The GNU C library defines this for functions which it implements
31191 to always fail with ENOSYS. Some functions are actually named
31192 something starting with __ and the normal name is an alias. */
31193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31194 choke me
31195 #else
31196 char (*f) () = $ac_func;
31197 #endif
31198 #ifdef __cplusplus
31199 }
31200 #endif
31201
31202 int
31203 main ()
31204 {
31205 return f != $ac_func;
31206 ;
31207 return 0;
31208 }
31209 _ACEOF
31210 rm -f conftest.$ac_objext conftest$ac_exeext
31211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31212 (eval $ac_link) 2>conftest.er1
31213 ac_status=$?
31214 grep -v '^ *+' conftest.er1 >conftest.err
31215 rm -f conftest.er1
31216 cat conftest.err >&5
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); } &&
31219 { ac_try='test -z "$ac_c_werror_flag"
31220 || test ! -s conftest.err'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; } &&
31226 { ac_try='test -s conftest$ac_exeext'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 eval "$as_ac_var=yes"
31233 else
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.$ac_ext >&5
31236
31237 eval "$as_ac_var=no"
31238 fi
31239 rm -f conftest.err conftest.$ac_objext \
31240 conftest$ac_exeext conftest.$ac_ext
31241 fi
31242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31244 if test `eval echo '${'$as_ac_var'}'` = yes; then
31245 cat >>confdefs.h <<_ACEOF
31246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31247 _ACEOF
31248
31249 fi
31250 done
31251
31252 fi
31253 fi
31254
31255
31256
31257
31258
31259
31260 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31261 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31262 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31263 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 else
31266
31267
31268
31269 ac_ext=cc
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274
31275 cat >conftest.$ac_ext <<_ACEOF
31276 /* confdefs.h. */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 #include <math.h>
31282 #ifdef HAVE_IEEEFP_H
31283 #include <ieeefp.h>
31284 #endif
31285
31286 int
31287 main ()
31288 {
31289 fabsl(0);
31290 ;
31291 return 0;
31292 }
31293 _ACEOF
31294 rm -f conftest.$ac_objext
31295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31296 (eval $ac_compile) 2>conftest.er1
31297 ac_status=$?
31298 grep -v '^ *+' conftest.er1 >conftest.err
31299 rm -f conftest.er1
31300 cat conftest.err >&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } &&
31303 { ac_try='test -z "$ac_cxx_werror_flag"
31304 || test ! -s conftest.err'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31307 ac_status=$?
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; } &&
31310 { ac_try='test -s conftest.$ac_objext'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; }; then
31316 glibcxx_cv_func_fabsl_use=yes
31317 else
31318 echo "$as_me: failed program was:" >&5
31319 sed 's/^/| /' conftest.$ac_ext >&5
31320
31321 glibcxx_cv_func_fabsl_use=no
31322 fi
31323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31324 ac_ext=c
31325 ac_cpp='$CPP $CPPFLAGS'
31326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31329
31330
31331 fi
31332
31333 fi
31334 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31335 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31336
31337 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31338
31339 for ac_func in fabsl
31340 do
31341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31342 echo "$as_me:$LINENO: checking for $ac_func" >&5
31343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31344 if eval "test \"\${$as_ac_var+set}\" = set"; then
31345 echo $ECHO_N "(cached) $ECHO_C" >&6
31346 else
31347 if test x$gcc_no_link = xyes; then
31348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31350 { (exit 1); exit 1; }; }
31351 fi
31352 cat >conftest.$ac_ext <<_ACEOF
31353 /* confdefs.h. */
31354 _ACEOF
31355 cat confdefs.h >>conftest.$ac_ext
31356 cat >>conftest.$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31360 #define $ac_func innocuous_$ac_func
31361
31362 /* System header to define __stub macros and hopefully few prototypes,
31363 which can conflict with char $ac_func (); below.
31364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31365 <limits.h> exists even on freestanding compilers. */
31366
31367 #ifdef __STDC__
31368 # include <limits.h>
31369 #else
31370 # include <assert.h>
31371 #endif
31372
31373 #undef $ac_func
31374
31375 /* Override any gcc2 internal prototype to avoid an error. */
31376 #ifdef __cplusplus
31377 extern "C"
31378 {
31379 #endif
31380 /* We use char because int might match the return type of a gcc2
31381 builtin and then its argument prototype would still apply. */
31382 char $ac_func ();
31383 /* The GNU C library defines this for functions which it implements
31384 to always fail with ENOSYS. Some functions are actually named
31385 something starting with __ and the normal name is an alias. */
31386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31387 choke me
31388 #else
31389 char (*f) () = $ac_func;
31390 #endif
31391 #ifdef __cplusplus
31392 }
31393 #endif
31394
31395 int
31396 main ()
31397 {
31398 return f != $ac_func;
31399 ;
31400 return 0;
31401 }
31402 _ACEOF
31403 rm -f conftest.$ac_objext conftest$ac_exeext
31404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31405 (eval $ac_link) 2>conftest.er1
31406 ac_status=$?
31407 grep -v '^ *+' conftest.er1 >conftest.err
31408 rm -f conftest.er1
31409 cat conftest.err >&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); } &&
31412 { ac_try='test -z "$ac_c_werror_flag"
31413 || test ! -s conftest.err'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31416 ac_status=$?
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; } &&
31419 { ac_try='test -s conftest$ac_exeext'
31420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31421 (eval $ac_try) 2>&5
31422 ac_status=$?
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); }; }; then
31425 eval "$as_ac_var=yes"
31426 else
31427 echo "$as_me: failed program was:" >&5
31428 sed 's/^/| /' conftest.$ac_ext >&5
31429
31430 eval "$as_ac_var=no"
31431 fi
31432 rm -f conftest.err conftest.$ac_objext \
31433 conftest$ac_exeext conftest.$ac_ext
31434 fi
31435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31437 if test `eval echo '${'$as_ac_var'}'` = yes; then
31438 cat >>confdefs.h <<_ACEOF
31439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31440 _ACEOF
31441
31442 fi
31443 done
31444
31445 else
31446
31447 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31448 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31449 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31450 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31451 echo $ECHO_N "(cached) $ECHO_C" >&6
31452 else
31453
31454
31455
31456 ac_ext=cc
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 >conftest.$ac_ext <<_ACEOF
31463 /* confdefs.h. */
31464 _ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468 #include <math.h>
31469 #ifdef HAVE_IEEEFP_H
31470 #include <ieeefp.h>
31471 #endif
31472
31473 int
31474 main ()
31475 {
31476 _fabsl(0);
31477 ;
31478 return 0;
31479 }
31480 _ACEOF
31481 rm -f conftest.$ac_objext
31482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31483 (eval $ac_compile) 2>conftest.er1
31484 ac_status=$?
31485 grep -v '^ *+' conftest.er1 >conftest.err
31486 rm -f conftest.er1
31487 cat conftest.err >&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } &&
31490 { ac_try='test -z "$ac_cxx_werror_flag"
31491 || test ! -s conftest.err'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31494 ac_status=$?
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; } &&
31497 { ac_try='test -s conftest.$ac_objext'
31498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31499 (eval $ac_try) 2>&5
31500 ac_status=$?
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; }; then
31503 glibcxx_cv_func__fabsl_use=yes
31504 else
31505 echo "$as_me: failed program was:" >&5
31506 sed 's/^/| /' conftest.$ac_ext >&5
31507
31508 glibcxx_cv_func__fabsl_use=no
31509 fi
31510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31511 ac_ext=c
31512 ac_cpp='$CPP $CPPFLAGS'
31513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31516
31517
31518 fi
31519
31520 fi
31521 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31522 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31523
31524 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31525
31526 for ac_func in _fabsl
31527 do
31528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31529 echo "$as_me:$LINENO: checking for $ac_func" >&5
31530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31531 if eval "test \"\${$as_ac_var+set}\" = set"; then
31532 echo $ECHO_N "(cached) $ECHO_C" >&6
31533 else
31534 if test x$gcc_no_link = xyes; then
31535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31537 { (exit 1); exit 1; }; }
31538 fi
31539 cat >conftest.$ac_ext <<_ACEOF
31540 /* confdefs.h. */
31541 _ACEOF
31542 cat confdefs.h >>conftest.$ac_ext
31543 cat >>conftest.$ac_ext <<_ACEOF
31544 /* end confdefs.h. */
31545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31547 #define $ac_func innocuous_$ac_func
31548
31549 /* System header to define __stub macros and hopefully few prototypes,
31550 which can conflict with char $ac_func (); below.
31551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31552 <limits.h> exists even on freestanding compilers. */
31553
31554 #ifdef __STDC__
31555 # include <limits.h>
31556 #else
31557 # include <assert.h>
31558 #endif
31559
31560 #undef $ac_func
31561
31562 /* Override any gcc2 internal prototype to avoid an error. */
31563 #ifdef __cplusplus
31564 extern "C"
31565 {
31566 #endif
31567 /* We use char because int might match the return type of a gcc2
31568 builtin and then its argument prototype would still apply. */
31569 char $ac_func ();
31570 /* The GNU C library defines this for functions which it implements
31571 to always fail with ENOSYS. Some functions are actually named
31572 something starting with __ and the normal name is an alias. */
31573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31574 choke me
31575 #else
31576 char (*f) () = $ac_func;
31577 #endif
31578 #ifdef __cplusplus
31579 }
31580 #endif
31581
31582 int
31583 main ()
31584 {
31585 return f != $ac_func;
31586 ;
31587 return 0;
31588 }
31589 _ACEOF
31590 rm -f conftest.$ac_objext conftest$ac_exeext
31591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31592 (eval $ac_link) 2>conftest.er1
31593 ac_status=$?
31594 grep -v '^ *+' conftest.er1 >conftest.err
31595 rm -f conftest.er1
31596 cat conftest.err >&5
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); } &&
31599 { ac_try='test -z "$ac_c_werror_flag"
31600 || test ! -s conftest.err'
31601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602 (eval $ac_try) 2>&5
31603 ac_status=$?
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; } &&
31606 { ac_try='test -s conftest$ac_exeext'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31609 ac_status=$?
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; }; then
31612 eval "$as_ac_var=yes"
31613 else
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.$ac_ext >&5
31616
31617 eval "$as_ac_var=no"
31618 fi
31619 rm -f conftest.err conftest.$ac_objext \
31620 conftest$ac_exeext conftest.$ac_ext
31621 fi
31622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31624 if test `eval echo '${'$as_ac_var'}'` = yes; then
31625 cat >>confdefs.h <<_ACEOF
31626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31627 _ACEOF
31628
31629 fi
31630 done
31631
31632 fi
31633 fi
31634
31635
31636
31637
31638
31639
31640 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31641 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31642 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31643 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 else
31646
31647
31648
31649 ac_ext=cc
31650 ac_cpp='$CXXCPP $CPPFLAGS'
31651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31654
31655 cat >conftest.$ac_ext <<_ACEOF
31656 /* confdefs.h. */
31657 _ACEOF
31658 cat confdefs.h >>conftest.$ac_ext
31659 cat >>conftest.$ac_ext <<_ACEOF
31660 /* end confdefs.h. */
31661 #include <math.h>
31662 int
31663 main ()
31664 {
31665 fmodl(0, 0);
31666 ;
31667 return 0;
31668 }
31669 _ACEOF
31670 rm -f conftest.$ac_objext
31671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31672 (eval $ac_compile) 2>conftest.er1
31673 ac_status=$?
31674 grep -v '^ *+' conftest.er1 >conftest.err
31675 rm -f conftest.er1
31676 cat conftest.err >&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); } &&
31679 { ac_try='test -z "$ac_cxx_werror_flag"
31680 || test ! -s conftest.err'
31681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31682 (eval $ac_try) 2>&5
31683 ac_status=$?
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); }; } &&
31686 { ac_try='test -s conftest.$ac_objext'
31687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31688 (eval $ac_try) 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; }; then
31692 glibcxx_cv_func_fmodl_use=yes
31693 else
31694 echo "$as_me: failed program was:" >&5
31695 sed 's/^/| /' conftest.$ac_ext >&5
31696
31697 glibcxx_cv_func_fmodl_use=no
31698 fi
31699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31700 ac_ext=c
31701 ac_cpp='$CPP $CPPFLAGS'
31702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31705
31706
31707 fi
31708
31709 fi
31710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31711 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31712
31713 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31714
31715 for ac_func in fmodl
31716 do
31717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31718 echo "$as_me:$LINENO: checking for $ac_func" >&5
31719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31720 if eval "test \"\${$as_ac_var+set}\" = set"; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31722 else
31723 if test x$gcc_no_link = xyes; then
31724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31726 { (exit 1); exit 1; }; }
31727 fi
31728 cat >conftest.$ac_ext <<_ACEOF
31729 /* confdefs.h. */
31730 _ACEOF
31731 cat confdefs.h >>conftest.$ac_ext
31732 cat >>conftest.$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31736 #define $ac_func innocuous_$ac_func
31737
31738 /* System header to define __stub macros and hopefully few prototypes,
31739 which can conflict with char $ac_func (); below.
31740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31741 <limits.h> exists even on freestanding compilers. */
31742
31743 #ifdef __STDC__
31744 # include <limits.h>
31745 #else
31746 # include <assert.h>
31747 #endif
31748
31749 #undef $ac_func
31750
31751 /* Override any gcc2 internal prototype to avoid an error. */
31752 #ifdef __cplusplus
31753 extern "C"
31754 {
31755 #endif
31756 /* We use char because int might match the return type of a gcc2
31757 builtin and then its argument prototype would still apply. */
31758 char $ac_func ();
31759 /* The GNU C library defines this for functions which it implements
31760 to always fail with ENOSYS. Some functions are actually named
31761 something starting with __ and the normal name is an alias. */
31762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31763 choke me
31764 #else
31765 char (*f) () = $ac_func;
31766 #endif
31767 #ifdef __cplusplus
31768 }
31769 #endif
31770
31771 int
31772 main ()
31773 {
31774 return f != $ac_func;
31775 ;
31776 return 0;
31777 }
31778 _ACEOF
31779 rm -f conftest.$ac_objext conftest$ac_exeext
31780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31781 (eval $ac_link) 2>conftest.er1
31782 ac_status=$?
31783 grep -v '^ *+' conftest.er1 >conftest.err
31784 rm -f conftest.er1
31785 cat conftest.err >&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); } &&
31788 { ac_try='test -z "$ac_c_werror_flag"
31789 || test ! -s conftest.err'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31792 ac_status=$?
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; } &&
31795 { ac_try='test -s conftest$ac_exeext'
31796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31797 (eval $ac_try) 2>&5
31798 ac_status=$?
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); }; }; then
31801 eval "$as_ac_var=yes"
31802 else
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.$ac_ext >&5
31805
31806 eval "$as_ac_var=no"
31807 fi
31808 rm -f conftest.err conftest.$ac_objext \
31809 conftest$ac_exeext conftest.$ac_ext
31810 fi
31811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31813 if test `eval echo '${'$as_ac_var'}'` = yes; then
31814 cat >>confdefs.h <<_ACEOF
31815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31816 _ACEOF
31817
31818 fi
31819 done
31820
31821 else
31822
31823 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31824 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31825 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31826 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31827 echo $ECHO_N "(cached) $ECHO_C" >&6
31828 else
31829
31830
31831
31832 ac_ext=cc
31833 ac_cpp='$CXXCPP $CPPFLAGS'
31834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31837
31838 cat >conftest.$ac_ext <<_ACEOF
31839 /* confdefs.h. */
31840 _ACEOF
31841 cat confdefs.h >>conftest.$ac_ext
31842 cat >>conftest.$ac_ext <<_ACEOF
31843 /* end confdefs.h. */
31844 #include <math.h>
31845 int
31846 main ()
31847 {
31848 _fmodl(0, 0);
31849 ;
31850 return 0;
31851 }
31852 _ACEOF
31853 rm -f conftest.$ac_objext
31854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31855 (eval $ac_compile) 2>conftest.er1
31856 ac_status=$?
31857 grep -v '^ *+' conftest.er1 >conftest.err
31858 rm -f conftest.er1
31859 cat conftest.err >&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } &&
31862 { ac_try='test -z "$ac_cxx_werror_flag"
31863 || test ! -s conftest.err'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; } &&
31869 { ac_try='test -s conftest.$ac_objext'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; }; then
31875 glibcxx_cv_func__fmodl_use=yes
31876 else
31877 echo "$as_me: failed program was:" >&5
31878 sed 's/^/| /' conftest.$ac_ext >&5
31879
31880 glibcxx_cv_func__fmodl_use=no
31881 fi
31882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31883 ac_ext=c
31884 ac_cpp='$CPP $CPPFLAGS'
31885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888
31889
31890 fi
31891
31892 fi
31893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31894 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31895
31896 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31897
31898 for ac_func in _fmodl
31899 do
31900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31901 echo "$as_me:$LINENO: checking for $ac_func" >&5
31902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31903 if eval "test \"\${$as_ac_var+set}\" = set"; then
31904 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 else
31906 if test x$gcc_no_link = xyes; then
31907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31909 { (exit 1); exit 1; }; }
31910 fi
31911 cat >conftest.$ac_ext <<_ACEOF
31912 /* confdefs.h. */
31913 _ACEOF
31914 cat confdefs.h >>conftest.$ac_ext
31915 cat >>conftest.$ac_ext <<_ACEOF
31916 /* end confdefs.h. */
31917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31919 #define $ac_func innocuous_$ac_func
31920
31921 /* System header to define __stub macros and hopefully few prototypes,
31922 which can conflict with char $ac_func (); below.
31923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31924 <limits.h> exists even on freestanding compilers. */
31925
31926 #ifdef __STDC__
31927 # include <limits.h>
31928 #else
31929 # include <assert.h>
31930 #endif
31931
31932 #undef $ac_func
31933
31934 /* Override any gcc2 internal prototype to avoid an error. */
31935 #ifdef __cplusplus
31936 extern "C"
31937 {
31938 #endif
31939 /* We use char because int might match the return type of a gcc2
31940 builtin and then its argument prototype would still apply. */
31941 char $ac_func ();
31942 /* The GNU C library defines this for functions which it implements
31943 to always fail with ENOSYS. Some functions are actually named
31944 something starting with __ and the normal name is an alias. */
31945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31946 choke me
31947 #else
31948 char (*f) () = $ac_func;
31949 #endif
31950 #ifdef __cplusplus
31951 }
31952 #endif
31953
31954 int
31955 main ()
31956 {
31957 return f != $ac_func;
31958 ;
31959 return 0;
31960 }
31961 _ACEOF
31962 rm -f conftest.$ac_objext conftest$ac_exeext
31963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31964 (eval $ac_link) 2>conftest.er1
31965 ac_status=$?
31966 grep -v '^ *+' conftest.er1 >conftest.err
31967 rm -f conftest.er1
31968 cat conftest.err >&5
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); } &&
31971 { ac_try='test -z "$ac_c_werror_flag"
31972 || test ! -s conftest.err'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; } &&
31978 { ac_try='test -s conftest$ac_exeext'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31981 ac_status=$?
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; }; then
31984 eval "$as_ac_var=yes"
31985 else
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.$ac_ext >&5
31988
31989 eval "$as_ac_var=no"
31990 fi
31991 rm -f conftest.err conftest.$ac_objext \
31992 conftest$ac_exeext conftest.$ac_ext
31993 fi
31994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31996 if test `eval echo '${'$as_ac_var'}'` = yes; then
31997 cat >>confdefs.h <<_ACEOF
31998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31999 _ACEOF
32000
32001 fi
32002 done
32003
32004 fi
32005 fi
32006
32007
32008
32009
32010
32011
32012 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32013 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32014 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32015 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32016 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 else
32018
32019
32020
32021 ac_ext=cc
32022 ac_cpp='$CXXCPP $CPPFLAGS'
32023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32026
32027 cat >conftest.$ac_ext <<_ACEOF
32028 /* confdefs.h. */
32029 _ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033 #include <math.h>
32034 int
32035 main ()
32036 {
32037 frexpl(0, 0);
32038 ;
32039 return 0;
32040 }
32041 _ACEOF
32042 rm -f conftest.$ac_objext
32043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32044 (eval $ac_compile) 2>conftest.er1
32045 ac_status=$?
32046 grep -v '^ *+' conftest.er1 >conftest.err
32047 rm -f conftest.er1
32048 cat conftest.err >&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); } &&
32051 { ac_try='test -z "$ac_cxx_werror_flag"
32052 || test ! -s conftest.err'
32053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32054 (eval $ac_try) 2>&5
32055 ac_status=$?
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; } &&
32058 { ac_try='test -s conftest.$ac_objext'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32061 ac_status=$?
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; }; then
32064 glibcxx_cv_func_frexpl_use=yes
32065 else
32066 echo "$as_me: failed program was:" >&5
32067 sed 's/^/| /' conftest.$ac_ext >&5
32068
32069 glibcxx_cv_func_frexpl_use=no
32070 fi
32071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32072 ac_ext=c
32073 ac_cpp='$CPP $CPPFLAGS'
32074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32077
32078
32079 fi
32080
32081 fi
32082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32083 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32084
32085 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32086
32087 for ac_func in frexpl
32088 do
32089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32090 echo "$as_me:$LINENO: checking for $ac_func" >&5
32091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32092 if eval "test \"\${$as_ac_var+set}\" = set"; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32094 else
32095 if test x$gcc_no_link = xyes; then
32096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32098 { (exit 1); exit 1; }; }
32099 fi
32100 cat >conftest.$ac_ext <<_ACEOF
32101 /* confdefs.h. */
32102 _ACEOF
32103 cat confdefs.h >>conftest.$ac_ext
32104 cat >>conftest.$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32108 #define $ac_func innocuous_$ac_func
32109
32110 /* System header to define __stub macros and hopefully few prototypes,
32111 which can conflict with char $ac_func (); below.
32112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32113 <limits.h> exists even on freestanding compilers. */
32114
32115 #ifdef __STDC__
32116 # include <limits.h>
32117 #else
32118 # include <assert.h>
32119 #endif
32120
32121 #undef $ac_func
32122
32123 /* Override any gcc2 internal prototype to avoid an error. */
32124 #ifdef __cplusplus
32125 extern "C"
32126 {
32127 #endif
32128 /* We use char because int might match the return type of a gcc2
32129 builtin and then its argument prototype would still apply. */
32130 char $ac_func ();
32131 /* The GNU C library defines this for functions which it implements
32132 to always fail with ENOSYS. Some functions are actually named
32133 something starting with __ and the normal name is an alias. */
32134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32135 choke me
32136 #else
32137 char (*f) () = $ac_func;
32138 #endif
32139 #ifdef __cplusplus
32140 }
32141 #endif
32142
32143 int
32144 main ()
32145 {
32146 return f != $ac_func;
32147 ;
32148 return 0;
32149 }
32150 _ACEOF
32151 rm -f conftest.$ac_objext conftest$ac_exeext
32152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32153 (eval $ac_link) 2>conftest.er1
32154 ac_status=$?
32155 grep -v '^ *+' conftest.er1 >conftest.err
32156 rm -f conftest.er1
32157 cat conftest.err >&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } &&
32160 { ac_try='test -z "$ac_c_werror_flag"
32161 || test ! -s conftest.err'
32162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32163 (eval $ac_try) 2>&5
32164 ac_status=$?
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); }; } &&
32167 { ac_try='test -s conftest$ac_exeext'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; }; then
32173 eval "$as_ac_var=yes"
32174 else
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.$ac_ext >&5
32177
32178 eval "$as_ac_var=no"
32179 fi
32180 rm -f conftest.err conftest.$ac_objext \
32181 conftest$ac_exeext conftest.$ac_ext
32182 fi
32183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32185 if test `eval echo '${'$as_ac_var'}'` = yes; then
32186 cat >>confdefs.h <<_ACEOF
32187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32188 _ACEOF
32189
32190 fi
32191 done
32192
32193 else
32194
32195 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32196 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32197 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32198 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32199 echo $ECHO_N "(cached) $ECHO_C" >&6
32200 else
32201
32202
32203
32204 ac_ext=cc
32205 ac_cpp='$CXXCPP $CPPFLAGS'
32206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32209
32210 cat >conftest.$ac_ext <<_ACEOF
32211 /* confdefs.h. */
32212 _ACEOF
32213 cat confdefs.h >>conftest.$ac_ext
32214 cat >>conftest.$ac_ext <<_ACEOF
32215 /* end confdefs.h. */
32216 #include <math.h>
32217 int
32218 main ()
32219 {
32220 _frexpl(0, 0);
32221 ;
32222 return 0;
32223 }
32224 _ACEOF
32225 rm -f conftest.$ac_objext
32226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32227 (eval $ac_compile) 2>conftest.er1
32228 ac_status=$?
32229 grep -v '^ *+' conftest.er1 >conftest.err
32230 rm -f conftest.er1
32231 cat conftest.err >&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); } &&
32234 { ac_try='test -z "$ac_cxx_werror_flag"
32235 || test ! -s conftest.err'
32236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32237 (eval $ac_try) 2>&5
32238 ac_status=$?
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); }; } &&
32241 { ac_try='test -s conftest.$ac_objext'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32244 ac_status=$?
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; }; then
32247 glibcxx_cv_func__frexpl_use=yes
32248 else
32249 echo "$as_me: failed program was:" >&5
32250 sed 's/^/| /' conftest.$ac_ext >&5
32251
32252 glibcxx_cv_func__frexpl_use=no
32253 fi
32254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32255 ac_ext=c
32256 ac_cpp='$CPP $CPPFLAGS'
32257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32260
32261
32262 fi
32263
32264 fi
32265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32266 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32267
32268 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32269
32270 for ac_func in _frexpl
32271 do
32272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32273 echo "$as_me:$LINENO: checking for $ac_func" >&5
32274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32275 if eval "test \"\${$as_ac_var+set}\" = set"; then
32276 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 else
32278 if test x$gcc_no_link = xyes; then
32279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32281 { (exit 1); exit 1; }; }
32282 fi
32283 cat >conftest.$ac_ext <<_ACEOF
32284 /* confdefs.h. */
32285 _ACEOF
32286 cat confdefs.h >>conftest.$ac_ext
32287 cat >>conftest.$ac_ext <<_ACEOF
32288 /* end confdefs.h. */
32289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32291 #define $ac_func innocuous_$ac_func
32292
32293 /* System header to define __stub macros and hopefully few prototypes,
32294 which can conflict with char $ac_func (); below.
32295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32296 <limits.h> exists even on freestanding compilers. */
32297
32298 #ifdef __STDC__
32299 # include <limits.h>
32300 #else
32301 # include <assert.h>
32302 #endif
32303
32304 #undef $ac_func
32305
32306 /* Override any gcc2 internal prototype to avoid an error. */
32307 #ifdef __cplusplus
32308 extern "C"
32309 {
32310 #endif
32311 /* We use char because int might match the return type of a gcc2
32312 builtin and then its argument prototype would still apply. */
32313 char $ac_func ();
32314 /* The GNU C library defines this for functions which it implements
32315 to always fail with ENOSYS. Some functions are actually named
32316 something starting with __ and the normal name is an alias. */
32317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32318 choke me
32319 #else
32320 char (*f) () = $ac_func;
32321 #endif
32322 #ifdef __cplusplus
32323 }
32324 #endif
32325
32326 int
32327 main ()
32328 {
32329 return f != $ac_func;
32330 ;
32331 return 0;
32332 }
32333 _ACEOF
32334 rm -f conftest.$ac_objext conftest$ac_exeext
32335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32336 (eval $ac_link) 2>conftest.er1
32337 ac_status=$?
32338 grep -v '^ *+' conftest.er1 >conftest.err
32339 rm -f conftest.er1
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } &&
32343 { ac_try='test -z "$ac_c_werror_flag"
32344 || test ! -s conftest.err'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32347 ac_status=$?
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; } &&
32350 { ac_try='test -s conftest$ac_exeext'
32351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32352 (eval $ac_try) 2>&5
32353 ac_status=$?
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); }; }; then
32356 eval "$as_ac_var=yes"
32357 else
32358 echo "$as_me: failed program was:" >&5
32359 sed 's/^/| /' conftest.$ac_ext >&5
32360
32361 eval "$as_ac_var=no"
32362 fi
32363 rm -f conftest.err conftest.$ac_objext \
32364 conftest$ac_exeext conftest.$ac_ext
32365 fi
32366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32368 if test `eval echo '${'$as_ac_var'}'` = yes; then
32369 cat >>confdefs.h <<_ACEOF
32370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32371 _ACEOF
32372
32373 fi
32374 done
32375
32376 fi
32377 fi
32378
32379
32380
32381
32382
32383
32384 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32385 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32386 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32387 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32388 echo $ECHO_N "(cached) $ECHO_C" >&6
32389 else
32390
32391
32392
32393 ac_ext=cc
32394 ac_cpp='$CXXCPP $CPPFLAGS'
32395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32398
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405 #include <math.h>
32406 int
32407 main ()
32408 {
32409 hypotl(0, 0);
32410 ;
32411 return 0;
32412 }
32413 _ACEOF
32414 rm -f conftest.$ac_objext
32415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32416 (eval $ac_compile) 2>conftest.er1
32417 ac_status=$?
32418 grep -v '^ *+' conftest.er1 >conftest.err
32419 rm -f conftest.er1
32420 cat conftest.err >&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); } &&
32423 { ac_try='test -z "$ac_cxx_werror_flag"
32424 || test ! -s conftest.err'
32425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32426 (eval $ac_try) 2>&5
32427 ac_status=$?
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); }; } &&
32430 { ac_try='test -s conftest.$ac_objext'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32433 ac_status=$?
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; }; then
32436 glibcxx_cv_func_hypotl_use=yes
32437 else
32438 echo "$as_me: failed program was:" >&5
32439 sed 's/^/| /' conftest.$ac_ext >&5
32440
32441 glibcxx_cv_func_hypotl_use=no
32442 fi
32443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32444 ac_ext=c
32445 ac_cpp='$CPP $CPPFLAGS'
32446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32449
32450
32451 fi
32452
32453 fi
32454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32455 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32456
32457 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32458
32459 for ac_func in hypotl
32460 do
32461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32462 echo "$as_me:$LINENO: checking for $ac_func" >&5
32463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32464 if eval "test \"\${$as_ac_var+set}\" = set"; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 else
32467 if test x$gcc_no_link = xyes; then
32468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32470 { (exit 1); exit 1; }; }
32471 fi
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32480 #define $ac_func innocuous_$ac_func
32481
32482 /* System header to define __stub macros and hopefully few prototypes,
32483 which can conflict with char $ac_func (); below.
32484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32485 <limits.h> exists even on freestanding compilers. */
32486
32487 #ifdef __STDC__
32488 # include <limits.h>
32489 #else
32490 # include <assert.h>
32491 #endif
32492
32493 #undef $ac_func
32494
32495 /* Override any gcc2 internal prototype to avoid an error. */
32496 #ifdef __cplusplus
32497 extern "C"
32498 {
32499 #endif
32500 /* We use char because int might match the return type of a gcc2
32501 builtin and then its argument prototype would still apply. */
32502 char $ac_func ();
32503 /* The GNU C library defines this for functions which it implements
32504 to always fail with ENOSYS. Some functions are actually named
32505 something starting with __ and the normal name is an alias. */
32506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32507 choke me
32508 #else
32509 char (*f) () = $ac_func;
32510 #endif
32511 #ifdef __cplusplus
32512 }
32513 #endif
32514
32515 int
32516 main ()
32517 {
32518 return f != $ac_func;
32519 ;
32520 return 0;
32521 }
32522 _ACEOF
32523 rm -f conftest.$ac_objext conftest$ac_exeext
32524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32525 (eval $ac_link) 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } &&
32532 { ac_try='test -z "$ac_c_werror_flag"
32533 || test ! -s conftest.err'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32536 ac_status=$?
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; } &&
32539 { ac_try='test -s conftest$ac_exeext'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32542 ac_status=$?
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; }; then
32545 eval "$as_ac_var=yes"
32546 else
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.$ac_ext >&5
32549
32550 eval "$as_ac_var=no"
32551 fi
32552 rm -f conftest.err conftest.$ac_objext \
32553 conftest$ac_exeext conftest.$ac_ext
32554 fi
32555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32557 if test `eval echo '${'$as_ac_var'}'` = yes; then
32558 cat >>confdefs.h <<_ACEOF
32559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32560 _ACEOF
32561
32562 fi
32563 done
32564
32565 else
32566
32567 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32568 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32569 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32570 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 else
32573
32574
32575
32576 ac_ext=cc
32577 ac_cpp='$CXXCPP $CPPFLAGS'
32578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32581
32582 cat >conftest.$ac_ext <<_ACEOF
32583 /* confdefs.h. */
32584 _ACEOF
32585 cat confdefs.h >>conftest.$ac_ext
32586 cat >>conftest.$ac_ext <<_ACEOF
32587 /* end confdefs.h. */
32588 #include <math.h>
32589 int
32590 main ()
32591 {
32592 _hypotl(0, 0);
32593 ;
32594 return 0;
32595 }
32596 _ACEOF
32597 rm -f conftest.$ac_objext
32598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32599 (eval $ac_compile) 2>conftest.er1
32600 ac_status=$?
32601 grep -v '^ *+' conftest.er1 >conftest.err
32602 rm -f conftest.er1
32603 cat conftest.err >&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); } &&
32606 { ac_try='test -z "$ac_cxx_werror_flag"
32607 || test ! -s conftest.err'
32608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32609 (eval $ac_try) 2>&5
32610 ac_status=$?
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); }; } &&
32613 { ac_try='test -s conftest.$ac_objext'
32614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615 (eval $ac_try) 2>&5
32616 ac_status=$?
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); }; }; then
32619 glibcxx_cv_func__hypotl_use=yes
32620 else
32621 echo "$as_me: failed program was:" >&5
32622 sed 's/^/| /' conftest.$ac_ext >&5
32623
32624 glibcxx_cv_func__hypotl_use=no
32625 fi
32626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32627 ac_ext=c
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632
32633
32634 fi
32635
32636 fi
32637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32638 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32639
32640 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32641
32642 for ac_func in _hypotl
32643 do
32644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32645 echo "$as_me:$LINENO: checking for $ac_func" >&5
32646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32647 if eval "test \"\${$as_ac_var+set}\" = set"; then
32648 echo $ECHO_N "(cached) $ECHO_C" >&6
32649 else
32650 if test x$gcc_no_link = xyes; then
32651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32653 { (exit 1); exit 1; }; }
32654 fi
32655 cat >conftest.$ac_ext <<_ACEOF
32656 /* confdefs.h. */
32657 _ACEOF
32658 cat confdefs.h >>conftest.$ac_ext
32659 cat >>conftest.$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32663 #define $ac_func innocuous_$ac_func
32664
32665 /* System header to define __stub macros and hopefully few prototypes,
32666 which can conflict with char $ac_func (); below.
32667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32668 <limits.h> exists even on freestanding compilers. */
32669
32670 #ifdef __STDC__
32671 # include <limits.h>
32672 #else
32673 # include <assert.h>
32674 #endif
32675
32676 #undef $ac_func
32677
32678 /* Override any gcc2 internal prototype to avoid an error. */
32679 #ifdef __cplusplus
32680 extern "C"
32681 {
32682 #endif
32683 /* We use char because int might match the return type of a gcc2
32684 builtin and then its argument prototype would still apply. */
32685 char $ac_func ();
32686 /* The GNU C library defines this for functions which it implements
32687 to always fail with ENOSYS. Some functions are actually named
32688 something starting with __ and the normal name is an alias. */
32689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32690 choke me
32691 #else
32692 char (*f) () = $ac_func;
32693 #endif
32694 #ifdef __cplusplus
32695 }
32696 #endif
32697
32698 int
32699 main ()
32700 {
32701 return f != $ac_func;
32702 ;
32703 return 0;
32704 }
32705 _ACEOF
32706 rm -f conftest.$ac_objext conftest$ac_exeext
32707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32708 (eval $ac_link) 2>conftest.er1
32709 ac_status=$?
32710 grep -v '^ *+' conftest.er1 >conftest.err
32711 rm -f conftest.er1
32712 cat conftest.err >&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); } &&
32715 { ac_try='test -z "$ac_c_werror_flag"
32716 || test ! -s conftest.err'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32719 ac_status=$?
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; } &&
32722 { ac_try='test -s conftest$ac_exeext'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32725 ac_status=$?
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32728 eval "$as_ac_var=yes"
32729 else
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32732
32733 eval "$as_ac_var=no"
32734 fi
32735 rm -f conftest.err conftest.$ac_objext \
32736 conftest$ac_exeext conftest.$ac_ext
32737 fi
32738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32740 if test `eval echo '${'$as_ac_var'}'` = yes; then
32741 cat >>confdefs.h <<_ACEOF
32742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32743 _ACEOF
32744
32745 fi
32746 done
32747
32748 fi
32749 fi
32750
32751
32752
32753
32754
32755
32756 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32757 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32758 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32759 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 else
32762
32763
32764
32765 ac_ext=cc
32766 ac_cpp='$CXXCPP $CPPFLAGS'
32767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32770
32771 cat >conftest.$ac_ext <<_ACEOF
32772 /* confdefs.h. */
32773 _ACEOF
32774 cat confdefs.h >>conftest.$ac_ext
32775 cat >>conftest.$ac_ext <<_ACEOF
32776 /* end confdefs.h. */
32777 #include <math.h>
32778 int
32779 main ()
32780 {
32781 ldexpl(0, 0);
32782 ;
32783 return 0;
32784 }
32785 _ACEOF
32786 rm -f conftest.$ac_objext
32787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32788 (eval $ac_compile) 2>conftest.er1
32789 ac_status=$?
32790 grep -v '^ *+' conftest.er1 >conftest.err
32791 rm -f conftest.er1
32792 cat conftest.err >&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } &&
32795 { ac_try='test -z "$ac_cxx_werror_flag"
32796 || test ! -s conftest.err'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32799 ac_status=$?
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; } &&
32802 { ac_try='test -s conftest.$ac_objext'
32803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32804 (eval $ac_try) 2>&5
32805 ac_status=$?
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); }; }; then
32808 glibcxx_cv_func_ldexpl_use=yes
32809 else
32810 echo "$as_me: failed program was:" >&5
32811 sed 's/^/| /' conftest.$ac_ext >&5
32812
32813 glibcxx_cv_func_ldexpl_use=no
32814 fi
32815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32816 ac_ext=c
32817 ac_cpp='$CPP $CPPFLAGS'
32818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32821
32822
32823 fi
32824
32825 fi
32826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32827 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32828
32829 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32830
32831 for ac_func in ldexpl
32832 do
32833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32834 echo "$as_me:$LINENO: checking for $ac_func" >&5
32835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32836 if eval "test \"\${$as_ac_var+set}\" = set"; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 if test x$gcc_no_link = xyes; then
32840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32842 { (exit 1); exit 1; }; }
32843 fi
32844 cat >conftest.$ac_ext <<_ACEOF
32845 /* confdefs.h. */
32846 _ACEOF
32847 cat confdefs.h >>conftest.$ac_ext
32848 cat >>conftest.$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32852 #define $ac_func innocuous_$ac_func
32853
32854 /* System header to define __stub macros and hopefully few prototypes,
32855 which can conflict with char $ac_func (); below.
32856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32857 <limits.h> exists even on freestanding compilers. */
32858
32859 #ifdef __STDC__
32860 # include <limits.h>
32861 #else
32862 # include <assert.h>
32863 #endif
32864
32865 #undef $ac_func
32866
32867 /* Override any gcc2 internal prototype to avoid an error. */
32868 #ifdef __cplusplus
32869 extern "C"
32870 {
32871 #endif
32872 /* We use char because int might match the return type of a gcc2
32873 builtin and then its argument prototype would still apply. */
32874 char $ac_func ();
32875 /* The GNU C library defines this for functions which it implements
32876 to always fail with ENOSYS. Some functions are actually named
32877 something starting with __ and the normal name is an alias. */
32878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32879 choke me
32880 #else
32881 char (*f) () = $ac_func;
32882 #endif
32883 #ifdef __cplusplus
32884 }
32885 #endif
32886
32887 int
32888 main ()
32889 {
32890 return f != $ac_func;
32891 ;
32892 return 0;
32893 }
32894 _ACEOF
32895 rm -f conftest.$ac_objext conftest$ac_exeext
32896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32897 (eval $ac_link) 2>conftest.er1
32898 ac_status=$?
32899 grep -v '^ *+' conftest.er1 >conftest.err
32900 rm -f conftest.er1
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } &&
32904 { ac_try='test -z "$ac_c_werror_flag"
32905 || test ! -s conftest.err'
32906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32907 (eval $ac_try) 2>&5
32908 ac_status=$?
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; } &&
32911 { ac_try='test -s conftest$ac_exeext'
32912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 (eval $ac_try) 2>&5
32914 ac_status=$?
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); }; }; then
32917 eval "$as_ac_var=yes"
32918 else
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.$ac_ext >&5
32921
32922 eval "$as_ac_var=no"
32923 fi
32924 rm -f conftest.err conftest.$ac_objext \
32925 conftest$ac_exeext conftest.$ac_ext
32926 fi
32927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32929 if test `eval echo '${'$as_ac_var'}'` = yes; then
32930 cat >>confdefs.h <<_ACEOF
32931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32932 _ACEOF
32933
32934 fi
32935 done
32936
32937 else
32938
32939 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32940 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32941 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32942 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945
32946
32947
32948 ac_ext=cc
32949 ac_cpp='$CXXCPP $CPPFLAGS'
32950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32953
32954 cat >conftest.$ac_ext <<_ACEOF
32955 /* confdefs.h. */
32956 _ACEOF
32957 cat confdefs.h >>conftest.$ac_ext
32958 cat >>conftest.$ac_ext <<_ACEOF
32959 /* end confdefs.h. */
32960 #include <math.h>
32961 int
32962 main ()
32963 {
32964 _ldexpl(0, 0);
32965 ;
32966 return 0;
32967 }
32968 _ACEOF
32969 rm -f conftest.$ac_objext
32970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32971 (eval $ac_compile) 2>conftest.er1
32972 ac_status=$?
32973 grep -v '^ *+' conftest.er1 >conftest.err
32974 rm -f conftest.er1
32975 cat conftest.err >&5
32976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32977 (exit $ac_status); } &&
32978 { ac_try='test -z "$ac_cxx_werror_flag"
32979 || test ! -s conftest.err'
32980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32981 (eval $ac_try) 2>&5
32982 ac_status=$?
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; } &&
32985 { ac_try='test -s conftest.$ac_objext'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; }; then
32991 glibcxx_cv_func__ldexpl_use=yes
32992 else
32993 echo "$as_me: failed program was:" >&5
32994 sed 's/^/| /' conftest.$ac_ext >&5
32995
32996 glibcxx_cv_func__ldexpl_use=no
32997 fi
32998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004
33005
33006 fi
33007
33008 fi
33009 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33010 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33011
33012 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33013
33014 for ac_func in _ldexpl
33015 do
33016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33017 echo "$as_me:$LINENO: checking for $ac_func" >&5
33018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33019 if eval "test \"\${$as_ac_var+set}\" = set"; then
33020 echo $ECHO_N "(cached) $ECHO_C" >&6
33021 else
33022 if test x$gcc_no_link = xyes; then
33023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33025 { (exit 1); exit 1; }; }
33026 fi
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33035 #define $ac_func innocuous_$ac_func
33036
33037 /* System header to define __stub macros and hopefully few prototypes,
33038 which can conflict with char $ac_func (); below.
33039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33040 <limits.h> exists even on freestanding compilers. */
33041
33042 #ifdef __STDC__
33043 # include <limits.h>
33044 #else
33045 # include <assert.h>
33046 #endif
33047
33048 #undef $ac_func
33049
33050 /* Override any gcc2 internal prototype to avoid an error. */
33051 #ifdef __cplusplus
33052 extern "C"
33053 {
33054 #endif
33055 /* We use char because int might match the return type of a gcc2
33056 builtin and then its argument prototype would still apply. */
33057 char $ac_func ();
33058 /* The GNU C library defines this for functions which it implements
33059 to always fail with ENOSYS. Some functions are actually named
33060 something starting with __ and the normal name is an alias. */
33061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33062 choke me
33063 #else
33064 char (*f) () = $ac_func;
33065 #endif
33066 #ifdef __cplusplus
33067 }
33068 #endif
33069
33070 int
33071 main ()
33072 {
33073 return f != $ac_func;
33074 ;
33075 return 0;
33076 }
33077 _ACEOF
33078 rm -f conftest.$ac_objext conftest$ac_exeext
33079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33080 (eval $ac_link) 2>conftest.er1
33081 ac_status=$?
33082 grep -v '^ *+' conftest.er1 >conftest.err
33083 rm -f conftest.er1
33084 cat conftest.err >&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); } &&
33087 { ac_try='test -z "$ac_c_werror_flag"
33088 || test ! -s conftest.err'
33089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33090 (eval $ac_try) 2>&5
33091 ac_status=$?
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); }; } &&
33094 { ac_try='test -s conftest$ac_exeext'
33095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 (eval $ac_try) 2>&5
33097 ac_status=$?
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); }; }; then
33100 eval "$as_ac_var=yes"
33101 else
33102 echo "$as_me: failed program was:" >&5
33103 sed 's/^/| /' conftest.$ac_ext >&5
33104
33105 eval "$as_ac_var=no"
33106 fi
33107 rm -f conftest.err conftest.$ac_objext \
33108 conftest$ac_exeext conftest.$ac_ext
33109 fi
33110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33112 if test `eval echo '${'$as_ac_var'}'` = yes; then
33113 cat >>confdefs.h <<_ACEOF
33114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33115 _ACEOF
33116
33117 fi
33118 done
33119
33120 fi
33121 fi
33122
33123
33124
33125
33126
33127
33128 echo "$as_me:$LINENO: checking for logl declaration" >&5
33129 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33130 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33131 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 else
33134
33135
33136
33137 ac_ext=cc
33138 ac_cpp='$CXXCPP $CPPFLAGS'
33139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33142
33143 cat >conftest.$ac_ext <<_ACEOF
33144 /* confdefs.h. */
33145 _ACEOF
33146 cat confdefs.h >>conftest.$ac_ext
33147 cat >>conftest.$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33149 #include <math.h>
33150 #ifdef HAVE_IEEEFP_H
33151 #include <ieeefp.h>
33152 #endif
33153
33154 int
33155 main ()
33156 {
33157 logl(0);
33158 ;
33159 return 0;
33160 }
33161 _ACEOF
33162 rm -f conftest.$ac_objext
33163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33164 (eval $ac_compile) 2>conftest.er1
33165 ac_status=$?
33166 grep -v '^ *+' conftest.er1 >conftest.err
33167 rm -f conftest.er1
33168 cat conftest.err >&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); } &&
33171 { ac_try='test -z "$ac_cxx_werror_flag"
33172 || test ! -s conftest.err'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33175 ac_status=$?
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; } &&
33178 { ac_try='test -s conftest.$ac_objext'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33181 ac_status=$?
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; }; then
33184 glibcxx_cv_func_logl_use=yes
33185 else
33186 echo "$as_me: failed program was:" >&5
33187 sed 's/^/| /' conftest.$ac_ext >&5
33188
33189 glibcxx_cv_func_logl_use=no
33190 fi
33191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33192 ac_ext=c
33193 ac_cpp='$CPP $CPPFLAGS'
33194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33197
33198
33199 fi
33200
33201 fi
33202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33203 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33204
33205 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33206
33207 for ac_func in logl
33208 do
33209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33210 echo "$as_me:$LINENO: checking for $ac_func" >&5
33211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33212 if eval "test \"\${$as_ac_var+set}\" = set"; then
33213 echo $ECHO_N "(cached) $ECHO_C" >&6
33214 else
33215 if test x$gcc_no_link = xyes; then
33216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33218 { (exit 1); exit 1; }; }
33219 fi
33220 cat >conftest.$ac_ext <<_ACEOF
33221 /* confdefs.h. */
33222 _ACEOF
33223 cat confdefs.h >>conftest.$ac_ext
33224 cat >>conftest.$ac_ext <<_ACEOF
33225 /* end confdefs.h. */
33226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33228 #define $ac_func innocuous_$ac_func
33229
33230 /* System header to define __stub macros and hopefully few prototypes,
33231 which can conflict with char $ac_func (); below.
33232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33233 <limits.h> exists even on freestanding compilers. */
33234
33235 #ifdef __STDC__
33236 # include <limits.h>
33237 #else
33238 # include <assert.h>
33239 #endif
33240
33241 #undef $ac_func
33242
33243 /* Override any gcc2 internal prototype to avoid an error. */
33244 #ifdef __cplusplus
33245 extern "C"
33246 {
33247 #endif
33248 /* We use char because int might match the return type of a gcc2
33249 builtin and then its argument prototype would still apply. */
33250 char $ac_func ();
33251 /* The GNU C library defines this for functions which it implements
33252 to always fail with ENOSYS. Some functions are actually named
33253 something starting with __ and the normal name is an alias. */
33254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33255 choke me
33256 #else
33257 char (*f) () = $ac_func;
33258 #endif
33259 #ifdef __cplusplus
33260 }
33261 #endif
33262
33263 int
33264 main ()
33265 {
33266 return f != $ac_func;
33267 ;
33268 return 0;
33269 }
33270 _ACEOF
33271 rm -f conftest.$ac_objext conftest$ac_exeext
33272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33273 (eval $ac_link) 2>conftest.er1
33274 ac_status=$?
33275 grep -v '^ *+' conftest.er1 >conftest.err
33276 rm -f conftest.er1
33277 cat conftest.err >&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } &&
33280 { ac_try='test -z "$ac_c_werror_flag"
33281 || test ! -s conftest.err'
33282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283 (eval $ac_try) 2>&5
33284 ac_status=$?
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; } &&
33287 { ac_try='test -s conftest$ac_exeext'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33290 ac_status=$?
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; }; then
33293 eval "$as_ac_var=yes"
33294 else
33295 echo "$as_me: failed program was:" >&5
33296 sed 's/^/| /' conftest.$ac_ext >&5
33297
33298 eval "$as_ac_var=no"
33299 fi
33300 rm -f conftest.err conftest.$ac_objext \
33301 conftest$ac_exeext conftest.$ac_ext
33302 fi
33303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33305 if test `eval echo '${'$as_ac_var'}'` = yes; then
33306 cat >>confdefs.h <<_ACEOF
33307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33308 _ACEOF
33309
33310 fi
33311 done
33312
33313 else
33314
33315 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33316 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33317 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33318 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33319 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 else
33321
33322
33323
33324 ac_ext=cc
33325 ac_cpp='$CXXCPP $CPPFLAGS'
33326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33329
33330 cat >conftest.$ac_ext <<_ACEOF
33331 /* confdefs.h. */
33332 _ACEOF
33333 cat confdefs.h >>conftest.$ac_ext
33334 cat >>conftest.$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336 #include <math.h>
33337 #ifdef HAVE_IEEEFP_H
33338 #include <ieeefp.h>
33339 #endif
33340
33341 int
33342 main ()
33343 {
33344 _logl(0);
33345 ;
33346 return 0;
33347 }
33348 _ACEOF
33349 rm -f conftest.$ac_objext
33350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33351 (eval $ac_compile) 2>conftest.er1
33352 ac_status=$?
33353 grep -v '^ *+' conftest.er1 >conftest.err
33354 rm -f conftest.er1
33355 cat conftest.err >&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } &&
33358 { ac_try='test -z "$ac_cxx_werror_flag"
33359 || test ! -s conftest.err'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33362 ac_status=$?
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; } &&
33365 { ac_try='test -s conftest.$ac_objext'
33366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 (eval $ac_try) 2>&5
33368 ac_status=$?
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; }; then
33371 glibcxx_cv_func__logl_use=yes
33372 else
33373 echo "$as_me: failed program was:" >&5
33374 sed 's/^/| /' conftest.$ac_ext >&5
33375
33376 glibcxx_cv_func__logl_use=no
33377 fi
33378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33379 ac_ext=c
33380 ac_cpp='$CPP $CPPFLAGS'
33381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33384
33385
33386 fi
33387
33388 fi
33389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33390 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33391
33392 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33393
33394 for ac_func in _logl
33395 do
33396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33397 echo "$as_me:$LINENO: checking for $ac_func" >&5
33398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33399 if eval "test \"\${$as_ac_var+set}\" = set"; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33401 else
33402 if test x$gcc_no_link = xyes; then
33403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33405 { (exit 1); exit 1; }; }
33406 fi
33407 cat >conftest.$ac_ext <<_ACEOF
33408 /* confdefs.h. */
33409 _ACEOF
33410 cat confdefs.h >>conftest.$ac_ext
33411 cat >>conftest.$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33415 #define $ac_func innocuous_$ac_func
33416
33417 /* System header to define __stub macros and hopefully few prototypes,
33418 which can conflict with char $ac_func (); below.
33419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33420 <limits.h> exists even on freestanding compilers. */
33421
33422 #ifdef __STDC__
33423 # include <limits.h>
33424 #else
33425 # include <assert.h>
33426 #endif
33427
33428 #undef $ac_func
33429
33430 /* Override any gcc2 internal prototype to avoid an error. */
33431 #ifdef __cplusplus
33432 extern "C"
33433 {
33434 #endif
33435 /* We use char because int might match the return type of a gcc2
33436 builtin and then its argument prototype would still apply. */
33437 char $ac_func ();
33438 /* The GNU C library defines this for functions which it implements
33439 to always fail with ENOSYS. Some functions are actually named
33440 something starting with __ and the normal name is an alias. */
33441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33442 choke me
33443 #else
33444 char (*f) () = $ac_func;
33445 #endif
33446 #ifdef __cplusplus
33447 }
33448 #endif
33449
33450 int
33451 main ()
33452 {
33453 return f != $ac_func;
33454 ;
33455 return 0;
33456 }
33457 _ACEOF
33458 rm -f conftest.$ac_objext conftest$ac_exeext
33459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33460 (eval $ac_link) 2>conftest.er1
33461 ac_status=$?
33462 grep -v '^ *+' conftest.er1 >conftest.err
33463 rm -f conftest.er1
33464 cat conftest.err >&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } &&
33467 { ac_try='test -z "$ac_c_werror_flag"
33468 || test ! -s conftest.err'
33469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470 (eval $ac_try) 2>&5
33471 ac_status=$?
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); }; } &&
33474 { ac_try='test -s conftest$ac_exeext'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; }; then
33480 eval "$as_ac_var=yes"
33481 else
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.$ac_ext >&5
33484
33485 eval "$as_ac_var=no"
33486 fi
33487 rm -f conftest.err conftest.$ac_objext \
33488 conftest$ac_exeext conftest.$ac_ext
33489 fi
33490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33492 if test `eval echo '${'$as_ac_var'}'` = yes; then
33493 cat >>confdefs.h <<_ACEOF
33494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33495 _ACEOF
33496
33497 fi
33498 done
33499
33500 fi
33501 fi
33502
33503
33504
33505
33506
33507
33508 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33509 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33510 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33511 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33512 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 else
33514
33515
33516
33517 ac_ext=cc
33518 ac_cpp='$CXXCPP $CPPFLAGS'
33519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33522
33523 cat >conftest.$ac_ext <<_ACEOF
33524 /* confdefs.h. */
33525 _ACEOF
33526 cat confdefs.h >>conftest.$ac_ext
33527 cat >>conftest.$ac_ext <<_ACEOF
33528 /* end confdefs.h. */
33529 #include <math.h>
33530 #ifdef HAVE_IEEEFP_H
33531 #include <ieeefp.h>
33532 #endif
33533
33534 int
33535 main ()
33536 {
33537 log10l(0);
33538 ;
33539 return 0;
33540 }
33541 _ACEOF
33542 rm -f conftest.$ac_objext
33543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33544 (eval $ac_compile) 2>conftest.er1
33545 ac_status=$?
33546 grep -v '^ *+' conftest.er1 >conftest.err
33547 rm -f conftest.er1
33548 cat conftest.err >&5
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); } &&
33551 { ac_try='test -z "$ac_cxx_werror_flag"
33552 || test ! -s conftest.err'
33553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33554 (eval $ac_try) 2>&5
33555 ac_status=$?
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); }; } &&
33558 { ac_try='test -s conftest.$ac_objext'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33561 ac_status=$?
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; }; then
33564 glibcxx_cv_func_log10l_use=yes
33565 else
33566 echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.$ac_ext >&5
33568
33569 glibcxx_cv_func_log10l_use=no
33570 fi
33571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33572 ac_ext=c
33573 ac_cpp='$CPP $CPPFLAGS'
33574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33577
33578
33579 fi
33580
33581 fi
33582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33583 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33584
33585 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33586
33587 for ac_func in log10l
33588 do
33589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33590 echo "$as_me:$LINENO: checking for $ac_func" >&5
33591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33592 if eval "test \"\${$as_ac_var+set}\" = set"; then
33593 echo $ECHO_N "(cached) $ECHO_C" >&6
33594 else
33595 if test x$gcc_no_link = xyes; then
33596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33598 { (exit 1); exit 1; }; }
33599 fi
33600 cat >conftest.$ac_ext <<_ACEOF
33601 /* confdefs.h. */
33602 _ACEOF
33603 cat confdefs.h >>conftest.$ac_ext
33604 cat >>conftest.$ac_ext <<_ACEOF
33605 /* end confdefs.h. */
33606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33608 #define $ac_func innocuous_$ac_func
33609
33610 /* System header to define __stub macros and hopefully few prototypes,
33611 which can conflict with char $ac_func (); below.
33612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33613 <limits.h> exists even on freestanding compilers. */
33614
33615 #ifdef __STDC__
33616 # include <limits.h>
33617 #else
33618 # include <assert.h>
33619 #endif
33620
33621 #undef $ac_func
33622
33623 /* Override any gcc2 internal prototype to avoid an error. */
33624 #ifdef __cplusplus
33625 extern "C"
33626 {
33627 #endif
33628 /* We use char because int might match the return type of a gcc2
33629 builtin and then its argument prototype would still apply. */
33630 char $ac_func ();
33631 /* The GNU C library defines this for functions which it implements
33632 to always fail with ENOSYS. Some functions are actually named
33633 something starting with __ and the normal name is an alias. */
33634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33635 choke me
33636 #else
33637 char (*f) () = $ac_func;
33638 #endif
33639 #ifdef __cplusplus
33640 }
33641 #endif
33642
33643 int
33644 main ()
33645 {
33646 return f != $ac_func;
33647 ;
33648 return 0;
33649 }
33650 _ACEOF
33651 rm -f conftest.$ac_objext conftest$ac_exeext
33652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33653 (eval $ac_link) 2>conftest.er1
33654 ac_status=$?
33655 grep -v '^ *+' conftest.er1 >conftest.err
33656 rm -f conftest.er1
33657 cat conftest.err >&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); } &&
33660 { ac_try='test -z "$ac_c_werror_flag"
33661 || test ! -s conftest.err'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33664 ac_status=$?
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; } &&
33667 { ac_try='test -s conftest$ac_exeext'
33668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 (eval $ac_try) 2>&5
33670 ac_status=$?
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; }; then
33673 eval "$as_ac_var=yes"
33674 else
33675 echo "$as_me: failed program was:" >&5
33676 sed 's/^/| /' conftest.$ac_ext >&5
33677
33678 eval "$as_ac_var=no"
33679 fi
33680 rm -f conftest.err conftest.$ac_objext \
33681 conftest$ac_exeext conftest.$ac_ext
33682 fi
33683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33685 if test `eval echo '${'$as_ac_var'}'` = yes; then
33686 cat >>confdefs.h <<_ACEOF
33687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33688 _ACEOF
33689
33690 fi
33691 done
33692
33693 else
33694
33695 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33696 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33697 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33698 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 else
33701
33702
33703
33704 ac_ext=cc
33705 ac_cpp='$CXXCPP $CPPFLAGS'
33706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709
33710 cat >conftest.$ac_ext <<_ACEOF
33711 /* confdefs.h. */
33712 _ACEOF
33713 cat confdefs.h >>conftest.$ac_ext
33714 cat >>conftest.$ac_ext <<_ACEOF
33715 /* end confdefs.h. */
33716 #include <math.h>
33717 #ifdef HAVE_IEEEFP_H
33718 #include <ieeefp.h>
33719 #endif
33720
33721 int
33722 main ()
33723 {
33724 _log10l(0);
33725 ;
33726 return 0;
33727 }
33728 _ACEOF
33729 rm -f conftest.$ac_objext
33730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33731 (eval $ac_compile) 2>conftest.er1
33732 ac_status=$?
33733 grep -v '^ *+' conftest.er1 >conftest.err
33734 rm -f conftest.er1
33735 cat conftest.err >&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); } &&
33738 { ac_try='test -z "$ac_cxx_werror_flag"
33739 || test ! -s conftest.err'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33742 ac_status=$?
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; } &&
33745 { ac_try='test -s conftest.$ac_objext'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33748 ac_status=$?
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; }; then
33751 glibcxx_cv_func__log10l_use=yes
33752 else
33753 echo "$as_me: failed program was:" >&5
33754 sed 's/^/| /' conftest.$ac_ext >&5
33755
33756 glibcxx_cv_func__log10l_use=no
33757 fi
33758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33759 ac_ext=c
33760 ac_cpp='$CPP $CPPFLAGS'
33761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33764
33765
33766 fi
33767
33768 fi
33769 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33770 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33771
33772 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33773
33774 for ac_func in _log10l
33775 do
33776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33777 echo "$as_me:$LINENO: checking for $ac_func" >&5
33778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33779 if eval "test \"\${$as_ac_var+set}\" = set"; then
33780 echo $ECHO_N "(cached) $ECHO_C" >&6
33781 else
33782 if test x$gcc_no_link = xyes; then
33783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33785 { (exit 1); exit 1; }; }
33786 fi
33787 cat >conftest.$ac_ext <<_ACEOF
33788 /* confdefs.h. */
33789 _ACEOF
33790 cat confdefs.h >>conftest.$ac_ext
33791 cat >>conftest.$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33795 #define $ac_func innocuous_$ac_func
33796
33797 /* System header to define __stub macros and hopefully few prototypes,
33798 which can conflict with char $ac_func (); below.
33799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33800 <limits.h> exists even on freestanding compilers. */
33801
33802 #ifdef __STDC__
33803 # include <limits.h>
33804 #else
33805 # include <assert.h>
33806 #endif
33807
33808 #undef $ac_func
33809
33810 /* Override any gcc2 internal prototype to avoid an error. */
33811 #ifdef __cplusplus
33812 extern "C"
33813 {
33814 #endif
33815 /* We use char because int might match the return type of a gcc2
33816 builtin and then its argument prototype would still apply. */
33817 char $ac_func ();
33818 /* The GNU C library defines this for functions which it implements
33819 to always fail with ENOSYS. Some functions are actually named
33820 something starting with __ and the normal name is an alias. */
33821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33822 choke me
33823 #else
33824 char (*f) () = $ac_func;
33825 #endif
33826 #ifdef __cplusplus
33827 }
33828 #endif
33829
33830 int
33831 main ()
33832 {
33833 return f != $ac_func;
33834 ;
33835 return 0;
33836 }
33837 _ACEOF
33838 rm -f conftest.$ac_objext conftest$ac_exeext
33839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33840 (eval $ac_link) 2>conftest.er1
33841 ac_status=$?
33842 grep -v '^ *+' conftest.er1 >conftest.err
33843 rm -f conftest.er1
33844 cat conftest.err >&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); } &&
33847 { ac_try='test -z "$ac_c_werror_flag"
33848 || test ! -s conftest.err'
33849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33850 (eval $ac_try) 2>&5
33851 ac_status=$?
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); }; } &&
33854 { ac_try='test -s conftest$ac_exeext'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33857 ac_status=$?
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; }; then
33860 eval "$as_ac_var=yes"
33861 else
33862 echo "$as_me: failed program was:" >&5
33863 sed 's/^/| /' conftest.$ac_ext >&5
33864
33865 eval "$as_ac_var=no"
33866 fi
33867 rm -f conftest.err conftest.$ac_objext \
33868 conftest$ac_exeext conftest.$ac_ext
33869 fi
33870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33872 if test `eval echo '${'$as_ac_var'}'` = yes; then
33873 cat >>confdefs.h <<_ACEOF
33874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33875 _ACEOF
33876
33877 fi
33878 done
33879
33880 fi
33881 fi
33882
33883
33884
33885
33886
33887
33888 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33889 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33890 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33891 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33892 echo $ECHO_N "(cached) $ECHO_C" >&6
33893 else
33894
33895
33896
33897 ac_ext=cc
33898 ac_cpp='$CXXCPP $CPPFLAGS'
33899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33902
33903 cat >conftest.$ac_ext <<_ACEOF
33904 /* confdefs.h. */
33905 _ACEOF
33906 cat confdefs.h >>conftest.$ac_ext
33907 cat >>conftest.$ac_ext <<_ACEOF
33908 /* end confdefs.h. */
33909 #include <math.h>
33910 int
33911 main ()
33912 {
33913 modfl(0, 0);
33914 ;
33915 return 0;
33916 }
33917 _ACEOF
33918 rm -f conftest.$ac_objext
33919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33920 (eval $ac_compile) 2>conftest.er1
33921 ac_status=$?
33922 grep -v '^ *+' conftest.er1 >conftest.err
33923 rm -f conftest.er1
33924 cat conftest.err >&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); } &&
33927 { ac_try='test -z "$ac_cxx_werror_flag"
33928 || test ! -s conftest.err'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33931 ac_status=$?
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; } &&
33934 { ac_try='test -s conftest.$ac_objext'
33935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33936 (eval $ac_try) 2>&5
33937 ac_status=$?
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); }; }; then
33940 glibcxx_cv_func_modfl_use=yes
33941 else
33942 echo "$as_me: failed program was:" >&5
33943 sed 's/^/| /' conftest.$ac_ext >&5
33944
33945 glibcxx_cv_func_modfl_use=no
33946 fi
33947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33948 ac_ext=c
33949 ac_cpp='$CPP $CPPFLAGS'
33950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33953
33954
33955 fi
33956
33957 fi
33958 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33959 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33960
33961 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33962
33963 for ac_func in modfl
33964 do
33965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33966 echo "$as_me:$LINENO: checking for $ac_func" >&5
33967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33968 if eval "test \"\${$as_ac_var+set}\" = set"; then
33969 echo $ECHO_N "(cached) $ECHO_C" >&6
33970 else
33971 if test x$gcc_no_link = xyes; then
33972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33974 { (exit 1); exit 1; }; }
33975 fi
33976 cat >conftest.$ac_ext <<_ACEOF
33977 /* confdefs.h. */
33978 _ACEOF
33979 cat confdefs.h >>conftest.$ac_ext
33980 cat >>conftest.$ac_ext <<_ACEOF
33981 /* end confdefs.h. */
33982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33984 #define $ac_func innocuous_$ac_func
33985
33986 /* System header to define __stub macros and hopefully few prototypes,
33987 which can conflict with char $ac_func (); below.
33988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33989 <limits.h> exists even on freestanding compilers. */
33990
33991 #ifdef __STDC__
33992 # include <limits.h>
33993 #else
33994 # include <assert.h>
33995 #endif
33996
33997 #undef $ac_func
33998
33999 /* Override any gcc2 internal prototype to avoid an error. */
34000 #ifdef __cplusplus
34001 extern "C"
34002 {
34003 #endif
34004 /* We use char because int might match the return type of a gcc2
34005 builtin and then its argument prototype would still apply. */
34006 char $ac_func ();
34007 /* The GNU C library defines this for functions which it implements
34008 to always fail with ENOSYS. Some functions are actually named
34009 something starting with __ and the normal name is an alias. */
34010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34011 choke me
34012 #else
34013 char (*f) () = $ac_func;
34014 #endif
34015 #ifdef __cplusplus
34016 }
34017 #endif
34018
34019 int
34020 main ()
34021 {
34022 return f != $ac_func;
34023 ;
34024 return 0;
34025 }
34026 _ACEOF
34027 rm -f conftest.$ac_objext conftest$ac_exeext
34028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34029 (eval $ac_link) 2>conftest.er1
34030 ac_status=$?
34031 grep -v '^ *+' conftest.er1 >conftest.err
34032 rm -f conftest.er1
34033 cat conftest.err >&5
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); } &&
34036 { ac_try='test -z "$ac_c_werror_flag"
34037 || test ! -s conftest.err'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34040 ac_status=$?
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; } &&
34043 { ac_try='test -s conftest$ac_exeext'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; }; then
34049 eval "$as_ac_var=yes"
34050 else
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.$ac_ext >&5
34053
34054 eval "$as_ac_var=no"
34055 fi
34056 rm -f conftest.err conftest.$ac_objext \
34057 conftest$ac_exeext conftest.$ac_ext
34058 fi
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34061 if test `eval echo '${'$as_ac_var'}'` = yes; then
34062 cat >>confdefs.h <<_ACEOF
34063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34064 _ACEOF
34065
34066 fi
34067 done
34068
34069 else
34070
34071 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34072 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34073 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34074 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34075 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 else
34077
34078
34079
34080 ac_ext=cc
34081 ac_cpp='$CXXCPP $CPPFLAGS'
34082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34085
34086 cat >conftest.$ac_ext <<_ACEOF
34087 /* confdefs.h. */
34088 _ACEOF
34089 cat confdefs.h >>conftest.$ac_ext
34090 cat >>conftest.$ac_ext <<_ACEOF
34091 /* end confdefs.h. */
34092 #include <math.h>
34093 int
34094 main ()
34095 {
34096 _modfl(0, 0);
34097 ;
34098 return 0;
34099 }
34100 _ACEOF
34101 rm -f conftest.$ac_objext
34102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34103 (eval $ac_compile) 2>conftest.er1
34104 ac_status=$?
34105 grep -v '^ *+' conftest.er1 >conftest.err
34106 rm -f conftest.er1
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } &&
34110 { ac_try='test -z "$ac_cxx_werror_flag"
34111 || test ! -s conftest.err'
34112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34113 (eval $ac_try) 2>&5
34114 ac_status=$?
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); }; } &&
34117 { ac_try='test -s conftest.$ac_objext'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34120 ac_status=$?
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; }; then
34123 glibcxx_cv_func__modfl_use=yes
34124 else
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.$ac_ext >&5
34127
34128 glibcxx_cv_func__modfl_use=no
34129 fi
34130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34131 ac_ext=c
34132 ac_cpp='$CPP $CPPFLAGS'
34133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34136
34137
34138 fi
34139
34140 fi
34141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34142 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34143
34144 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34145
34146 for ac_func in _modfl
34147 do
34148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34149 echo "$as_me:$LINENO: checking for $ac_func" >&5
34150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34151 if eval "test \"\${$as_ac_var+set}\" = set"; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34153 else
34154 if test x$gcc_no_link = xyes; then
34155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34157 { (exit 1); exit 1; }; }
34158 fi
34159 cat >conftest.$ac_ext <<_ACEOF
34160 /* confdefs.h. */
34161 _ACEOF
34162 cat confdefs.h >>conftest.$ac_ext
34163 cat >>conftest.$ac_ext <<_ACEOF
34164 /* end confdefs.h. */
34165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34167 #define $ac_func innocuous_$ac_func
34168
34169 /* System header to define __stub macros and hopefully few prototypes,
34170 which can conflict with char $ac_func (); below.
34171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34172 <limits.h> exists even on freestanding compilers. */
34173
34174 #ifdef __STDC__
34175 # include <limits.h>
34176 #else
34177 # include <assert.h>
34178 #endif
34179
34180 #undef $ac_func
34181
34182 /* Override any gcc2 internal prototype to avoid an error. */
34183 #ifdef __cplusplus
34184 extern "C"
34185 {
34186 #endif
34187 /* We use char because int might match the return type of a gcc2
34188 builtin and then its argument prototype would still apply. */
34189 char $ac_func ();
34190 /* The GNU C library defines this for functions which it implements
34191 to always fail with ENOSYS. Some functions are actually named
34192 something starting with __ and the normal name is an alias. */
34193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34194 choke me
34195 #else
34196 char (*f) () = $ac_func;
34197 #endif
34198 #ifdef __cplusplus
34199 }
34200 #endif
34201
34202 int
34203 main ()
34204 {
34205 return f != $ac_func;
34206 ;
34207 return 0;
34208 }
34209 _ACEOF
34210 rm -f conftest.$ac_objext conftest$ac_exeext
34211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34212 (eval $ac_link) 2>conftest.er1
34213 ac_status=$?
34214 grep -v '^ *+' conftest.er1 >conftest.err
34215 rm -f conftest.er1
34216 cat conftest.err >&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } &&
34219 { ac_try='test -z "$ac_c_werror_flag"
34220 || test ! -s conftest.err'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34223 ac_status=$?
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; } &&
34226 { ac_try='test -s conftest$ac_exeext'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; }; then
34232 eval "$as_ac_var=yes"
34233 else
34234 echo "$as_me: failed program was:" >&5
34235 sed 's/^/| /' conftest.$ac_ext >&5
34236
34237 eval "$as_ac_var=no"
34238 fi
34239 rm -f conftest.err conftest.$ac_objext \
34240 conftest$ac_exeext conftest.$ac_ext
34241 fi
34242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34244 if test `eval echo '${'$as_ac_var'}'` = yes; then
34245 cat >>confdefs.h <<_ACEOF
34246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34247 _ACEOF
34248
34249 fi
34250 done
34251
34252 fi
34253 fi
34254
34255
34256
34257
34258
34259
34260 echo "$as_me:$LINENO: checking for powl declaration" >&5
34261 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34262 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34263 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266
34267
34268
34269 ac_ext=cc
34270 ac_cpp='$CXXCPP $CPPFLAGS'
34271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34274
34275 cat >conftest.$ac_ext <<_ACEOF
34276 /* confdefs.h. */
34277 _ACEOF
34278 cat confdefs.h >>conftest.$ac_ext
34279 cat >>conftest.$ac_ext <<_ACEOF
34280 /* end confdefs.h. */
34281 #include <math.h>
34282 int
34283 main ()
34284 {
34285 powl(0, 0);
34286 ;
34287 return 0;
34288 }
34289 _ACEOF
34290 rm -f conftest.$ac_objext
34291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34292 (eval $ac_compile) 2>conftest.er1
34293 ac_status=$?
34294 grep -v '^ *+' conftest.er1 >conftest.err
34295 rm -f conftest.er1
34296 cat conftest.err >&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); } &&
34299 { ac_try='test -z "$ac_cxx_werror_flag"
34300 || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try='test -s conftest.$ac_objext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 glibcxx_cv_func_powl_use=yes
34313 else
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34316
34317 glibcxx_cv_func_powl_use=no
34318 fi
34319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34325
34326
34327 fi
34328
34329 fi
34330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34331 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34332
34333 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34334
34335 for ac_func in powl
34336 do
34337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34338 echo "$as_me:$LINENO: checking for $ac_func" >&5
34339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34340 if eval "test \"\${$as_ac_var+set}\" = set"; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 if test x$gcc_no_link = xyes; then
34344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34346 { (exit 1); exit 1; }; }
34347 fi
34348 cat >conftest.$ac_ext <<_ACEOF
34349 /* confdefs.h. */
34350 _ACEOF
34351 cat confdefs.h >>conftest.$ac_ext
34352 cat >>conftest.$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34356 #define $ac_func innocuous_$ac_func
34357
34358 /* System header to define __stub macros and hopefully few prototypes,
34359 which can conflict with char $ac_func (); below.
34360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34361 <limits.h> exists even on freestanding compilers. */
34362
34363 #ifdef __STDC__
34364 # include <limits.h>
34365 #else
34366 # include <assert.h>
34367 #endif
34368
34369 #undef $ac_func
34370
34371 /* Override any gcc2 internal prototype to avoid an error. */
34372 #ifdef __cplusplus
34373 extern "C"
34374 {
34375 #endif
34376 /* We use char because int might match the return type of a gcc2
34377 builtin and then its argument prototype would still apply. */
34378 char $ac_func ();
34379 /* The GNU C library defines this for functions which it implements
34380 to always fail with ENOSYS. Some functions are actually named
34381 something starting with __ and the normal name is an alias. */
34382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34383 choke me
34384 #else
34385 char (*f) () = $ac_func;
34386 #endif
34387 #ifdef __cplusplus
34388 }
34389 #endif
34390
34391 int
34392 main ()
34393 {
34394 return f != $ac_func;
34395 ;
34396 return 0;
34397 }
34398 _ACEOF
34399 rm -f conftest.$ac_objext conftest$ac_exeext
34400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34401 (eval $ac_link) 2>conftest.er1
34402 ac_status=$?
34403 grep -v '^ *+' conftest.er1 >conftest.err
34404 rm -f conftest.er1
34405 cat conftest.err >&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); } &&
34408 { ac_try='test -z "$ac_c_werror_flag"
34409 || test ! -s conftest.err'
34410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34411 (eval $ac_try) 2>&5
34412 ac_status=$?
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); }; } &&
34415 { ac_try='test -s conftest$ac_exeext'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; }; then
34421 eval "$as_ac_var=yes"
34422 else
34423 echo "$as_me: failed program was:" >&5
34424 sed 's/^/| /' conftest.$ac_ext >&5
34425
34426 eval "$as_ac_var=no"
34427 fi
34428 rm -f conftest.err conftest.$ac_objext \
34429 conftest$ac_exeext conftest.$ac_ext
34430 fi
34431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34433 if test `eval echo '${'$as_ac_var'}'` = yes; then
34434 cat >>confdefs.h <<_ACEOF
34435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34436 _ACEOF
34437
34438 fi
34439 done
34440
34441 else
34442
34443 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34444 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34445 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34446 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34447 echo $ECHO_N "(cached) $ECHO_C" >&6
34448 else
34449
34450
34451
34452 ac_ext=cc
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34457
34458 cat >conftest.$ac_ext <<_ACEOF
34459 /* confdefs.h. */
34460 _ACEOF
34461 cat confdefs.h >>conftest.$ac_ext
34462 cat >>conftest.$ac_ext <<_ACEOF
34463 /* end confdefs.h. */
34464 #include <math.h>
34465 int
34466 main ()
34467 {
34468 _powl(0, 0);
34469 ;
34470 return 0;
34471 }
34472 _ACEOF
34473 rm -f conftest.$ac_objext
34474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34475 (eval $ac_compile) 2>conftest.er1
34476 ac_status=$?
34477 grep -v '^ *+' conftest.er1 >conftest.err
34478 rm -f conftest.er1
34479 cat conftest.err >&5
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); } &&
34482 { ac_try='test -z "$ac_cxx_werror_flag"
34483 || test ! -s conftest.err'
34484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34485 (eval $ac_try) 2>&5
34486 ac_status=$?
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); }; } &&
34489 { ac_try='test -s conftest.$ac_objext'
34490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34491 (eval $ac_try) 2>&5
34492 ac_status=$?
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); }; }; then
34495 glibcxx_cv_func__powl_use=yes
34496 else
34497 echo "$as_me: failed program was:" >&5
34498 sed 's/^/| /' conftest.$ac_ext >&5
34499
34500 glibcxx_cv_func__powl_use=no
34501 fi
34502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34503 ac_ext=c
34504 ac_cpp='$CPP $CPPFLAGS'
34505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34508
34509
34510 fi
34511
34512 fi
34513 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34514 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34515
34516 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34517
34518 for ac_func in _powl
34519 do
34520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34521 echo "$as_me:$LINENO: checking for $ac_func" >&5
34522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34523 if eval "test \"\${$as_ac_var+set}\" = set"; then
34524 echo $ECHO_N "(cached) $ECHO_C" >&6
34525 else
34526 if test x$gcc_no_link = xyes; then
34527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34529 { (exit 1); exit 1; }; }
34530 fi
34531 cat >conftest.$ac_ext <<_ACEOF
34532 /* confdefs.h. */
34533 _ACEOF
34534 cat confdefs.h >>conftest.$ac_ext
34535 cat >>conftest.$ac_ext <<_ACEOF
34536 /* end confdefs.h. */
34537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34539 #define $ac_func innocuous_$ac_func
34540
34541 /* System header to define __stub macros and hopefully few prototypes,
34542 which can conflict with char $ac_func (); below.
34543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34544 <limits.h> exists even on freestanding compilers. */
34545
34546 #ifdef __STDC__
34547 # include <limits.h>
34548 #else
34549 # include <assert.h>
34550 #endif
34551
34552 #undef $ac_func
34553
34554 /* Override any gcc2 internal prototype to avoid an error. */
34555 #ifdef __cplusplus
34556 extern "C"
34557 {
34558 #endif
34559 /* We use char because int might match the return type of a gcc2
34560 builtin and then its argument prototype would still apply. */
34561 char $ac_func ();
34562 /* The GNU C library defines this for functions which it implements
34563 to always fail with ENOSYS. Some functions are actually named
34564 something starting with __ and the normal name is an alias. */
34565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34566 choke me
34567 #else
34568 char (*f) () = $ac_func;
34569 #endif
34570 #ifdef __cplusplus
34571 }
34572 #endif
34573
34574 int
34575 main ()
34576 {
34577 return f != $ac_func;
34578 ;
34579 return 0;
34580 }
34581 _ACEOF
34582 rm -f conftest.$ac_objext conftest$ac_exeext
34583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34584 (eval $ac_link) 2>conftest.er1
34585 ac_status=$?
34586 grep -v '^ *+' conftest.er1 >conftest.err
34587 rm -f conftest.er1
34588 cat conftest.err >&5
34589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34590 (exit $ac_status); } &&
34591 { ac_try='test -z "$ac_c_werror_flag"
34592 || test ! -s conftest.err'
34593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34594 (eval $ac_try) 2>&5
34595 ac_status=$?
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); }; } &&
34598 { ac_try='test -s conftest$ac_exeext'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34601 ac_status=$?
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; }; then
34604 eval "$as_ac_var=yes"
34605 else
34606 echo "$as_me: failed program was:" >&5
34607 sed 's/^/| /' conftest.$ac_ext >&5
34608
34609 eval "$as_ac_var=no"
34610 fi
34611 rm -f conftest.err conftest.$ac_objext \
34612 conftest$ac_exeext conftest.$ac_ext
34613 fi
34614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34616 if test `eval echo '${'$as_ac_var'}'` = yes; then
34617 cat >>confdefs.h <<_ACEOF
34618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34619 _ACEOF
34620
34621 fi
34622 done
34623
34624 fi
34625 fi
34626
34627
34628
34629
34630
34631
34632 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34633 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34634 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34635 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34636 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 else
34638
34639
34640
34641 ac_ext=cc
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34646
34647 cat >conftest.$ac_ext <<_ACEOF
34648 /* confdefs.h. */
34649 _ACEOF
34650 cat confdefs.h >>conftest.$ac_ext
34651 cat >>conftest.$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 #include <math.h>
34654 #ifdef HAVE_IEEEFP_H
34655 #include <ieeefp.h>
34656 #endif
34657
34658 int
34659 main ()
34660 {
34661 sqrtl(0);
34662 ;
34663 return 0;
34664 }
34665 _ACEOF
34666 rm -f conftest.$ac_objext
34667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34668 (eval $ac_compile) 2>conftest.er1
34669 ac_status=$?
34670 grep -v '^ *+' conftest.er1 >conftest.err
34671 rm -f conftest.er1
34672 cat conftest.err >&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); } &&
34675 { ac_try='test -z "$ac_cxx_werror_flag"
34676 || test ! -s conftest.err'
34677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34678 (eval $ac_try) 2>&5
34679 ac_status=$?
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); }; } &&
34682 { ac_try='test -s conftest.$ac_objext'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34685 ac_status=$?
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; }; then
34688 glibcxx_cv_func_sqrtl_use=yes
34689 else
34690 echo "$as_me: failed program was:" >&5
34691 sed 's/^/| /' conftest.$ac_ext >&5
34692
34693 glibcxx_cv_func_sqrtl_use=no
34694 fi
34695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34696 ac_ext=c
34697 ac_cpp='$CPP $CPPFLAGS'
34698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34701
34702
34703 fi
34704
34705 fi
34706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34707 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34708
34709 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34710
34711 for ac_func in sqrtl
34712 do
34713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34714 echo "$as_me:$LINENO: checking for $ac_func" >&5
34715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34716 if eval "test \"\${$as_ac_var+set}\" = set"; then
34717 echo $ECHO_N "(cached) $ECHO_C" >&6
34718 else
34719 if test x$gcc_no_link = xyes; then
34720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34722 { (exit 1); exit 1; }; }
34723 fi
34724 cat >conftest.$ac_ext <<_ACEOF
34725 /* confdefs.h. */
34726 _ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34732 #define $ac_func innocuous_$ac_func
34733
34734 /* System header to define __stub macros and hopefully few prototypes,
34735 which can conflict with char $ac_func (); below.
34736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34737 <limits.h> exists even on freestanding compilers. */
34738
34739 #ifdef __STDC__
34740 # include <limits.h>
34741 #else
34742 # include <assert.h>
34743 #endif
34744
34745 #undef $ac_func
34746
34747 /* Override any gcc2 internal prototype to avoid an error. */
34748 #ifdef __cplusplus
34749 extern "C"
34750 {
34751 #endif
34752 /* We use char because int might match the return type of a gcc2
34753 builtin and then its argument prototype would still apply. */
34754 char $ac_func ();
34755 /* The GNU C library defines this for functions which it implements
34756 to always fail with ENOSYS. Some functions are actually named
34757 something starting with __ and the normal name is an alias. */
34758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34759 choke me
34760 #else
34761 char (*f) () = $ac_func;
34762 #endif
34763 #ifdef __cplusplus
34764 }
34765 #endif
34766
34767 int
34768 main ()
34769 {
34770 return f != $ac_func;
34771 ;
34772 return 0;
34773 }
34774 _ACEOF
34775 rm -f conftest.$ac_objext conftest$ac_exeext
34776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34777 (eval $ac_link) 2>conftest.er1
34778 ac_status=$?
34779 grep -v '^ *+' conftest.er1 >conftest.err
34780 rm -f conftest.er1
34781 cat conftest.err >&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } &&
34784 { ac_try='test -z "$ac_c_werror_flag"
34785 || test ! -s conftest.err'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34788 ac_status=$?
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; } &&
34791 { ac_try='test -s conftest$ac_exeext'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34794 ac_status=$?
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; }; then
34797 eval "$as_ac_var=yes"
34798 else
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34801
34802 eval "$as_ac_var=no"
34803 fi
34804 rm -f conftest.err conftest.$ac_objext \
34805 conftest$ac_exeext conftest.$ac_ext
34806 fi
34807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34809 if test `eval echo '${'$as_ac_var'}'` = yes; then
34810 cat >>confdefs.h <<_ACEOF
34811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34812 _ACEOF
34813
34814 fi
34815 done
34816
34817 else
34818
34819 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34820 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34821 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34822 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34824 else
34825
34826
34827
34828 ac_ext=cc
34829 ac_cpp='$CXXCPP $CPPFLAGS'
34830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34833
34834 cat >conftest.$ac_ext <<_ACEOF
34835 /* confdefs.h. */
34836 _ACEOF
34837 cat confdefs.h >>conftest.$ac_ext
34838 cat >>conftest.$ac_ext <<_ACEOF
34839 /* end confdefs.h. */
34840 #include <math.h>
34841 #ifdef HAVE_IEEEFP_H
34842 #include <ieeefp.h>
34843 #endif
34844
34845 int
34846 main ()
34847 {
34848 _sqrtl(0);
34849 ;
34850 return 0;
34851 }
34852 _ACEOF
34853 rm -f conftest.$ac_objext
34854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34855 (eval $ac_compile) 2>conftest.er1
34856 ac_status=$?
34857 grep -v '^ *+' conftest.er1 >conftest.err
34858 rm -f conftest.er1
34859 cat conftest.err >&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } &&
34862 { ac_try='test -z "$ac_cxx_werror_flag"
34863 || test ! -s conftest.err'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34866 ac_status=$?
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; } &&
34869 { ac_try='test -s conftest.$ac_objext'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34872 ac_status=$?
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; }; then
34875 glibcxx_cv_func__sqrtl_use=yes
34876 else
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.$ac_ext >&5
34879
34880 glibcxx_cv_func__sqrtl_use=no
34881 fi
34882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34883 ac_ext=c
34884 ac_cpp='$CPP $CPPFLAGS'
34885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34888
34889
34890 fi
34891
34892 fi
34893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34894 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34895
34896 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34897
34898 for ac_func in _sqrtl
34899 do
34900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34901 echo "$as_me:$LINENO: checking for $ac_func" >&5
34902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34903 if eval "test \"\${$as_ac_var+set}\" = set"; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34905 else
34906 if test x$gcc_no_link = xyes; then
34907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34909 { (exit 1); exit 1; }; }
34910 fi
34911 cat >conftest.$ac_ext <<_ACEOF
34912 /* confdefs.h. */
34913 _ACEOF
34914 cat confdefs.h >>conftest.$ac_ext
34915 cat >>conftest.$ac_ext <<_ACEOF
34916 /* end confdefs.h. */
34917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34919 #define $ac_func innocuous_$ac_func
34920
34921 /* System header to define __stub macros and hopefully few prototypes,
34922 which can conflict with char $ac_func (); below.
34923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34924 <limits.h> exists even on freestanding compilers. */
34925
34926 #ifdef __STDC__
34927 # include <limits.h>
34928 #else
34929 # include <assert.h>
34930 #endif
34931
34932 #undef $ac_func
34933
34934 /* Override any gcc2 internal prototype to avoid an error. */
34935 #ifdef __cplusplus
34936 extern "C"
34937 {
34938 #endif
34939 /* We use char because int might match the return type of a gcc2
34940 builtin and then its argument prototype would still apply. */
34941 char $ac_func ();
34942 /* The GNU C library defines this for functions which it implements
34943 to always fail with ENOSYS. Some functions are actually named
34944 something starting with __ and the normal name is an alias. */
34945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34946 choke me
34947 #else
34948 char (*f) () = $ac_func;
34949 #endif
34950 #ifdef __cplusplus
34951 }
34952 #endif
34953
34954 int
34955 main ()
34956 {
34957 return f != $ac_func;
34958 ;
34959 return 0;
34960 }
34961 _ACEOF
34962 rm -f conftest.$ac_objext conftest$ac_exeext
34963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34964 (eval $ac_link) 2>conftest.er1
34965 ac_status=$?
34966 grep -v '^ *+' conftest.er1 >conftest.err
34967 rm -f conftest.er1
34968 cat conftest.err >&5
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 (exit $ac_status); } &&
34971 { ac_try='test -z "$ac_c_werror_flag"
34972 || test ! -s conftest.err'
34973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974 (eval $ac_try) 2>&5
34975 ac_status=$?
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); }; } &&
34978 { ac_try='test -s conftest$ac_exeext'
34979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34980 (eval $ac_try) 2>&5
34981 ac_status=$?
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); }; }; then
34984 eval "$as_ac_var=yes"
34985 else
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34988
34989 eval "$as_ac_var=no"
34990 fi
34991 rm -f conftest.err conftest.$ac_objext \
34992 conftest$ac_exeext conftest.$ac_ext
34993 fi
34994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34996 if test `eval echo '${'$as_ac_var'}'` = yes; then
34997 cat >>confdefs.h <<_ACEOF
34998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34999 _ACEOF
35000
35001 fi
35002 done
35003
35004 fi
35005 fi
35006
35007
35008
35009
35010
35011
35012 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35013 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35014 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35015 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35016 echo $ECHO_N "(cached) $ECHO_C" >&6
35017 else
35018
35019
35020
35021 ac_ext=cc
35022 ac_cpp='$CXXCPP $CPPFLAGS'
35023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35026
35027 cat >conftest.$ac_ext <<_ACEOF
35028 /* confdefs.h. */
35029 _ACEOF
35030 cat confdefs.h >>conftest.$ac_ext
35031 cat >>conftest.$ac_ext <<_ACEOF
35032 /* end confdefs.h. */
35033 #include <math.h>
35034 int
35035 main ()
35036 {
35037 sincosl(0, 0, 0);
35038 ;
35039 return 0;
35040 }
35041 _ACEOF
35042 rm -f conftest.$ac_objext
35043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35044 (eval $ac_compile) 2>conftest.er1
35045 ac_status=$?
35046 grep -v '^ *+' conftest.er1 >conftest.err
35047 rm -f conftest.er1
35048 cat conftest.err >&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } &&
35051 { ac_try='test -z "$ac_cxx_werror_flag"
35052 || test ! -s conftest.err'
35053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054 (eval $ac_try) 2>&5
35055 ac_status=$?
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); }; } &&
35058 { ac_try='test -s conftest.$ac_objext'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35061 ac_status=$?
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; }; then
35064 glibcxx_cv_func_sincosl_use=yes
35065 else
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069 glibcxx_cv_func_sincosl_use=no
35070 fi
35071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35072 ac_ext=c
35073 ac_cpp='$CPP $CPPFLAGS'
35074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35077
35078
35079 fi
35080
35081 fi
35082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35083 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35084
35085 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35086
35087 for ac_func in sincosl
35088 do
35089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35090 echo "$as_me:$LINENO: checking for $ac_func" >&5
35091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35092 if eval "test \"\${$as_ac_var+set}\" = set"; then
35093 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 else
35095 if test x$gcc_no_link = xyes; then
35096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35098 { (exit 1); exit 1; }; }
35099 fi
35100 cat >conftest.$ac_ext <<_ACEOF
35101 /* confdefs.h. */
35102 _ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35108 #define $ac_func innocuous_$ac_func
35109
35110 /* System header to define __stub macros and hopefully few prototypes,
35111 which can conflict with char $ac_func (); below.
35112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35113 <limits.h> exists even on freestanding compilers. */
35114
35115 #ifdef __STDC__
35116 # include <limits.h>
35117 #else
35118 # include <assert.h>
35119 #endif
35120
35121 #undef $ac_func
35122
35123 /* Override any gcc2 internal prototype to avoid an error. */
35124 #ifdef __cplusplus
35125 extern "C"
35126 {
35127 #endif
35128 /* We use char because int might match the return type of a gcc2
35129 builtin and then its argument prototype would still apply. */
35130 char $ac_func ();
35131 /* The GNU C library defines this for functions which it implements
35132 to always fail with ENOSYS. Some functions are actually named
35133 something starting with __ and the normal name is an alias. */
35134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35135 choke me
35136 #else
35137 char (*f) () = $ac_func;
35138 #endif
35139 #ifdef __cplusplus
35140 }
35141 #endif
35142
35143 int
35144 main ()
35145 {
35146 return f != $ac_func;
35147 ;
35148 return 0;
35149 }
35150 _ACEOF
35151 rm -f conftest.$ac_objext conftest$ac_exeext
35152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35153 (eval $ac_link) 2>conftest.er1
35154 ac_status=$?
35155 grep -v '^ *+' conftest.er1 >conftest.err
35156 rm -f conftest.er1
35157 cat conftest.err >&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } &&
35160 { ac_try='test -z "$ac_c_werror_flag"
35161 || test ! -s conftest.err'
35162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35163 (eval $ac_try) 2>&5
35164 ac_status=$?
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); }; } &&
35167 { ac_try='test -s conftest$ac_exeext'
35168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35169 (eval $ac_try) 2>&5
35170 ac_status=$?
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); }; }; then
35173 eval "$as_ac_var=yes"
35174 else
35175 echo "$as_me: failed program was:" >&5
35176 sed 's/^/| /' conftest.$ac_ext >&5
35177
35178 eval "$as_ac_var=no"
35179 fi
35180 rm -f conftest.err conftest.$ac_objext \
35181 conftest$ac_exeext conftest.$ac_ext
35182 fi
35183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35185 if test `eval echo '${'$as_ac_var'}'` = yes; then
35186 cat >>confdefs.h <<_ACEOF
35187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35188 _ACEOF
35189
35190 fi
35191 done
35192
35193 else
35194
35195 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35196 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35197 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35198 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35199 echo $ECHO_N "(cached) $ECHO_C" >&6
35200 else
35201
35202
35203
35204 ac_ext=cc
35205 ac_cpp='$CXXCPP $CPPFLAGS'
35206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35209
35210 cat >conftest.$ac_ext <<_ACEOF
35211 /* confdefs.h. */
35212 _ACEOF
35213 cat confdefs.h >>conftest.$ac_ext
35214 cat >>conftest.$ac_ext <<_ACEOF
35215 /* end confdefs.h. */
35216 #include <math.h>
35217 int
35218 main ()
35219 {
35220 _sincosl(0, 0, 0);
35221 ;
35222 return 0;
35223 }
35224 _ACEOF
35225 rm -f conftest.$ac_objext
35226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35227 (eval $ac_compile) 2>conftest.er1
35228 ac_status=$?
35229 grep -v '^ *+' conftest.er1 >conftest.err
35230 rm -f conftest.er1
35231 cat conftest.err >&5
35232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35233 (exit $ac_status); } &&
35234 { ac_try='test -z "$ac_cxx_werror_flag"
35235 || test ! -s conftest.err'
35236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 (eval $ac_try) 2>&5
35238 ac_status=$?
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); }; } &&
35241 { ac_try='test -s conftest.$ac_objext'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; }; then
35247 glibcxx_cv_func__sincosl_use=yes
35248 else
35249 echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.$ac_ext >&5
35251
35252 glibcxx_cv_func__sincosl_use=no
35253 fi
35254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35255 ac_ext=c
35256 ac_cpp='$CPP $CPPFLAGS'
35257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35260
35261
35262 fi
35263
35264 fi
35265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35266 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35267
35268 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35269
35270 for ac_func in _sincosl
35271 do
35272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35273 echo "$as_me:$LINENO: checking for $ac_func" >&5
35274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35275 if eval "test \"\${$as_ac_var+set}\" = set"; then
35276 echo $ECHO_N "(cached) $ECHO_C" >&6
35277 else
35278 if test x$gcc_no_link = xyes; then
35279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35281 { (exit 1); exit 1; }; }
35282 fi
35283 cat >conftest.$ac_ext <<_ACEOF
35284 /* confdefs.h. */
35285 _ACEOF
35286 cat confdefs.h >>conftest.$ac_ext
35287 cat >>conftest.$ac_ext <<_ACEOF
35288 /* end confdefs.h. */
35289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35291 #define $ac_func innocuous_$ac_func
35292
35293 /* System header to define __stub macros and hopefully few prototypes,
35294 which can conflict with char $ac_func (); below.
35295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35296 <limits.h> exists even on freestanding compilers. */
35297
35298 #ifdef __STDC__
35299 # include <limits.h>
35300 #else
35301 # include <assert.h>
35302 #endif
35303
35304 #undef $ac_func
35305
35306 /* Override any gcc2 internal prototype to avoid an error. */
35307 #ifdef __cplusplus
35308 extern "C"
35309 {
35310 #endif
35311 /* We use char because int might match the return type of a gcc2
35312 builtin and then its argument prototype would still apply. */
35313 char $ac_func ();
35314 /* The GNU C library defines this for functions which it implements
35315 to always fail with ENOSYS. Some functions are actually named
35316 something starting with __ and the normal name is an alias. */
35317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35318 choke me
35319 #else
35320 char (*f) () = $ac_func;
35321 #endif
35322 #ifdef __cplusplus
35323 }
35324 #endif
35325
35326 int
35327 main ()
35328 {
35329 return f != $ac_func;
35330 ;
35331 return 0;
35332 }
35333 _ACEOF
35334 rm -f conftest.$ac_objext conftest$ac_exeext
35335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35336 (eval $ac_link) 2>conftest.er1
35337 ac_status=$?
35338 grep -v '^ *+' conftest.er1 >conftest.err
35339 rm -f conftest.er1
35340 cat conftest.err >&5
35341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342 (exit $ac_status); } &&
35343 { ac_try='test -z "$ac_c_werror_flag"
35344 || test ! -s conftest.err'
35345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35346 (eval $ac_try) 2>&5
35347 ac_status=$?
35348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35349 (exit $ac_status); }; } &&
35350 { ac_try='test -s conftest$ac_exeext'
35351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35352 (eval $ac_try) 2>&5
35353 ac_status=$?
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); }; }; then
35356 eval "$as_ac_var=yes"
35357 else
35358 echo "$as_me: failed program was:" >&5
35359 sed 's/^/| /' conftest.$ac_ext >&5
35360
35361 eval "$as_ac_var=no"
35362 fi
35363 rm -f conftest.err conftest.$ac_objext \
35364 conftest$ac_exeext conftest.$ac_ext
35365 fi
35366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35368 if test `eval echo '${'$as_ac_var'}'` = yes; then
35369 cat >>confdefs.h <<_ACEOF
35370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35371 _ACEOF
35372
35373 fi
35374 done
35375
35376 fi
35377 fi
35378
35379
35380
35381
35382
35383
35384 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35385 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35386 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35387 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35388 echo $ECHO_N "(cached) $ECHO_C" >&6
35389 else
35390
35391
35392
35393 ac_ext=cc
35394 ac_cpp='$CXXCPP $CPPFLAGS'
35395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35398
35399 cat >conftest.$ac_ext <<_ACEOF
35400 /* confdefs.h. */
35401 _ACEOF
35402 cat confdefs.h >>conftest.$ac_ext
35403 cat >>conftest.$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35405 #include <math.h>
35406 #ifdef HAVE_IEEEFP_H
35407 #include <ieeefp.h>
35408 #endif
35409
35410 int
35411 main ()
35412 {
35413 finitel(0);
35414 ;
35415 return 0;
35416 }
35417 _ACEOF
35418 rm -f conftest.$ac_objext
35419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35420 (eval $ac_compile) 2>conftest.er1
35421 ac_status=$?
35422 grep -v '^ *+' conftest.er1 >conftest.err
35423 rm -f conftest.er1
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } &&
35427 { ac_try='test -z "$ac_cxx_werror_flag"
35428 || test ! -s conftest.err'
35429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35430 (eval $ac_try) 2>&5
35431 ac_status=$?
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); }; } &&
35434 { ac_try='test -s conftest.$ac_objext'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35437 ac_status=$?
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; }; then
35440 glibcxx_cv_func_finitel_use=yes
35441 else
35442 echo "$as_me: failed program was:" >&5
35443 sed 's/^/| /' conftest.$ac_ext >&5
35444
35445 glibcxx_cv_func_finitel_use=no
35446 fi
35447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35448 ac_ext=c
35449 ac_cpp='$CPP $CPPFLAGS'
35450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35453
35454
35455 fi
35456
35457 fi
35458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35459 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35460
35461 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35462
35463 for ac_func in finitel
35464 do
35465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35466 echo "$as_me:$LINENO: checking for $ac_func" >&5
35467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35468 if eval "test \"\${$as_ac_var+set}\" = set"; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 else
35471 if test x$gcc_no_link = xyes; then
35472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35474 { (exit 1); exit 1; }; }
35475 fi
35476 cat >conftest.$ac_ext <<_ACEOF
35477 /* confdefs.h. */
35478 _ACEOF
35479 cat confdefs.h >>conftest.$ac_ext
35480 cat >>conftest.$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35484 #define $ac_func innocuous_$ac_func
35485
35486 /* System header to define __stub macros and hopefully few prototypes,
35487 which can conflict with char $ac_func (); below.
35488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35489 <limits.h> exists even on freestanding compilers. */
35490
35491 #ifdef __STDC__
35492 # include <limits.h>
35493 #else
35494 # include <assert.h>
35495 #endif
35496
35497 #undef $ac_func
35498
35499 /* Override any gcc2 internal prototype to avoid an error. */
35500 #ifdef __cplusplus
35501 extern "C"
35502 {
35503 #endif
35504 /* We use char because int might match the return type of a gcc2
35505 builtin and then its argument prototype would still apply. */
35506 char $ac_func ();
35507 /* The GNU C library defines this for functions which it implements
35508 to always fail with ENOSYS. Some functions are actually named
35509 something starting with __ and the normal name is an alias. */
35510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35511 choke me
35512 #else
35513 char (*f) () = $ac_func;
35514 #endif
35515 #ifdef __cplusplus
35516 }
35517 #endif
35518
35519 int
35520 main ()
35521 {
35522 return f != $ac_func;
35523 ;
35524 return 0;
35525 }
35526 _ACEOF
35527 rm -f conftest.$ac_objext conftest$ac_exeext
35528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35529 (eval $ac_link) 2>conftest.er1
35530 ac_status=$?
35531 grep -v '^ *+' conftest.er1 >conftest.err
35532 rm -f conftest.er1
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } &&
35536 { ac_try='test -z "$ac_c_werror_flag"
35537 || test ! -s conftest.err'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35540 ac_status=$?
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; } &&
35543 { ac_try='test -s conftest$ac_exeext'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; }; then
35549 eval "$as_ac_var=yes"
35550 else
35551 echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.$ac_ext >&5
35553
35554 eval "$as_ac_var=no"
35555 fi
35556 rm -f conftest.err conftest.$ac_objext \
35557 conftest$ac_exeext conftest.$ac_ext
35558 fi
35559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35561 if test `eval echo '${'$as_ac_var'}'` = yes; then
35562 cat >>confdefs.h <<_ACEOF
35563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35564 _ACEOF
35565
35566 fi
35567 done
35568
35569 else
35570
35571 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35572 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35573 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35574 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35575 echo $ECHO_N "(cached) $ECHO_C" >&6
35576 else
35577
35578
35579
35580 ac_ext=cc
35581 ac_cpp='$CXXCPP $CPPFLAGS'
35582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585
35586 cat >conftest.$ac_ext <<_ACEOF
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592 #include <math.h>
35593 #ifdef HAVE_IEEEFP_H
35594 #include <ieeefp.h>
35595 #endif
35596
35597 int
35598 main ()
35599 {
35600 _finitel(0);
35601 ;
35602 return 0;
35603 }
35604 _ACEOF
35605 rm -f conftest.$ac_objext
35606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35607 (eval $ac_compile) 2>conftest.er1
35608 ac_status=$?
35609 grep -v '^ *+' conftest.er1 >conftest.err
35610 rm -f conftest.er1
35611 cat conftest.err >&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); } &&
35614 { ac_try='test -z "$ac_cxx_werror_flag"
35615 || test ! -s conftest.err'
35616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35617 (eval $ac_try) 2>&5
35618 ac_status=$?
35619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35620 (exit $ac_status); }; } &&
35621 { ac_try='test -s conftest.$ac_objext'
35622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35623 (eval $ac_try) 2>&5
35624 ac_status=$?
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); }; }; then
35627 glibcxx_cv_func__finitel_use=yes
35628 else
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.$ac_ext >&5
35631
35632 glibcxx_cv_func__finitel_use=no
35633 fi
35634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35635 ac_ext=c
35636 ac_cpp='$CPP $CPPFLAGS'
35637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35640
35641
35642 fi
35643
35644 fi
35645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35646 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35647
35648 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35649
35650 for ac_func in _finitel
35651 do
35652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35653 echo "$as_me:$LINENO: checking for $ac_func" >&5
35654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35655 if eval "test \"\${$as_ac_var+set}\" = set"; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 else
35658 if test x$gcc_no_link = xyes; then
35659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35661 { (exit 1); exit 1; }; }
35662 fi
35663 cat >conftest.$ac_ext <<_ACEOF
35664 /* confdefs.h. */
35665 _ACEOF
35666 cat confdefs.h >>conftest.$ac_ext
35667 cat >>conftest.$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35671 #define $ac_func innocuous_$ac_func
35672
35673 /* System header to define __stub macros and hopefully few prototypes,
35674 which can conflict with char $ac_func (); below.
35675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35676 <limits.h> exists even on freestanding compilers. */
35677
35678 #ifdef __STDC__
35679 # include <limits.h>
35680 #else
35681 # include <assert.h>
35682 #endif
35683
35684 #undef $ac_func
35685
35686 /* Override any gcc2 internal prototype to avoid an error. */
35687 #ifdef __cplusplus
35688 extern "C"
35689 {
35690 #endif
35691 /* We use char because int might match the return type of a gcc2
35692 builtin and then its argument prototype would still apply. */
35693 char $ac_func ();
35694 /* The GNU C library defines this for functions which it implements
35695 to always fail with ENOSYS. Some functions are actually named
35696 something starting with __ and the normal name is an alias. */
35697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35698 choke me
35699 #else
35700 char (*f) () = $ac_func;
35701 #endif
35702 #ifdef __cplusplus
35703 }
35704 #endif
35705
35706 int
35707 main ()
35708 {
35709 return f != $ac_func;
35710 ;
35711 return 0;
35712 }
35713 _ACEOF
35714 rm -f conftest.$ac_objext conftest$ac_exeext
35715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35716 (eval $ac_link) 2>conftest.er1
35717 ac_status=$?
35718 grep -v '^ *+' conftest.er1 >conftest.err
35719 rm -f conftest.er1
35720 cat conftest.err >&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } &&
35723 { ac_try='test -z "$ac_c_werror_flag"
35724 || test ! -s conftest.err'
35725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35726 (eval $ac_try) 2>&5
35727 ac_status=$?
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); }; } &&
35730 { ac_try='test -s conftest$ac_exeext'
35731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35732 (eval $ac_try) 2>&5
35733 ac_status=$?
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); }; }; then
35736 eval "$as_ac_var=yes"
35737 else
35738 echo "$as_me: failed program was:" >&5
35739 sed 's/^/| /' conftest.$ac_ext >&5
35740
35741 eval "$as_ac_var=no"
35742 fi
35743 rm -f conftest.err conftest.$ac_objext \
35744 conftest$ac_exeext conftest.$ac_ext
35745 fi
35746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35748 if test `eval echo '${'$as_ac_var'}'` = yes; then
35749 cat >>confdefs.h <<_ACEOF
35750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35751 _ACEOF
35752
35753 fi
35754 done
35755
35756 fi
35757 fi
35758
35759
35760
35761
35762
35763 LIBS="$ac_save_LIBS"
35764 CXXFLAGS="$ac_save_CXXFLAGS"
35765
35766
35767
35768 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35769 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35770 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35771 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35772 echo $ECHO_N "(cached) $ECHO_C" >&6
35773 else
35774
35775
35776
35777 ac_ext=cc
35778 ac_cpp='$CXXCPP $CPPFLAGS'
35779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35782
35783 cat >conftest.$ac_ext <<_ACEOF
35784 /* confdefs.h. */
35785 _ACEOF
35786 cat confdefs.h >>conftest.$ac_ext
35787 cat >>conftest.$ac_ext <<_ACEOF
35788 /* end confdefs.h. */
35789 #include <math.h>
35790 int
35791 main ()
35792 {
35793 __builtin_abs(0);
35794 ;
35795 return 0;
35796 }
35797 _ACEOF
35798 rm -f conftest.$ac_objext
35799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35800 (eval $ac_compile) 2>conftest.er1
35801 ac_status=$?
35802 grep -v '^ *+' conftest.er1 >conftest.err
35803 rm -f conftest.er1
35804 cat conftest.err >&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); } &&
35807 { ac_try='test -z "$ac_cxx_werror_flag"
35808 || test ! -s conftest.err'
35809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35810 (eval $ac_try) 2>&5
35811 ac_status=$?
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); }; } &&
35814 { ac_try='test -s conftest.$ac_objext'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35817 ac_status=$?
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; }; then
35820 glibcxx_cv_func___builtin_abs_use=yes
35821 else
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.$ac_ext >&5
35824
35825 glibcxx_cv_func___builtin_abs_use=no
35826 fi
35827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35828 ac_ext=c
35829 ac_cpp='$CPP $CPPFLAGS'
35830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35833
35834
35835 fi
35836
35837 fi
35838 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35839 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35840 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35841 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35842 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35843 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35844 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35845 echo $ECHO_N "(cached) $ECHO_C" >&6
35846 else
35847
35848 if test x$gcc_no_link = xyes; then
35849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35851 { (exit 1); exit 1; }; }
35852 fi
35853 cat >conftest.$ac_ext <<_ACEOF
35854 /* confdefs.h. */
35855 _ACEOF
35856 cat confdefs.h >>conftest.$ac_ext
35857 cat >>conftest.$ac_ext <<_ACEOF
35858 /* end confdefs.h. */
35859 #include <math.h>
35860 int
35861 main ()
35862 {
35863 __builtin_abs(0);
35864 ;
35865 return 0;
35866 }
35867 _ACEOF
35868 rm -f conftest.$ac_objext conftest$ac_exeext
35869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35870 (eval $ac_link) 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } &&
35877 { ac_try='test -z "$ac_c_werror_flag"
35878 || test ! -s conftest.err'
35879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35880 (eval $ac_try) 2>&5
35881 ac_status=$?
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); }; } &&
35884 { ac_try='test -s conftest$ac_exeext'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35887 ac_status=$?
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; }; then
35890 glibcxx_cv_func___builtin_abs_link=yes
35891 else
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35894
35895 glibcxx_cv_func___builtin_abs_link=no
35896 fi
35897 rm -f conftest.err conftest.$ac_objext \
35898 conftest$ac_exeext conftest.$ac_ext
35899
35900 fi
35901
35902 fi
35903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35904 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35905
35906 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35907
35908 cat >>confdefs.h <<\_ACEOF
35909 #define HAVE___BUILTIN_ABS 1
35910 _ACEOF
35911
35912 fi
35913
35914 fi
35915
35916
35917 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35918 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35919 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35920 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35921 echo $ECHO_N "(cached) $ECHO_C" >&6
35922 else
35923
35924
35925
35926 ac_ext=cc
35927 ac_cpp='$CXXCPP $CPPFLAGS'
35928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35931
35932 cat >conftest.$ac_ext <<_ACEOF
35933 /* confdefs.h. */
35934 _ACEOF
35935 cat confdefs.h >>conftest.$ac_ext
35936 cat >>conftest.$ac_ext <<_ACEOF
35937 /* end confdefs.h. */
35938 #include <math.h>
35939 int
35940 main ()
35941 {
35942 __builtin_fabsf(0);
35943 ;
35944 return 0;
35945 }
35946 _ACEOF
35947 rm -f conftest.$ac_objext
35948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35949 (eval $ac_compile) 2>conftest.er1
35950 ac_status=$?
35951 grep -v '^ *+' conftest.er1 >conftest.err
35952 rm -f conftest.er1
35953 cat conftest.err >&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } &&
35956 { ac_try='test -z "$ac_cxx_werror_flag"
35957 || test ! -s conftest.err'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35960 ac_status=$?
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; } &&
35963 { ac_try='test -s conftest.$ac_objext'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; }; then
35969 glibcxx_cv_func___builtin_fabsf_use=yes
35970 else
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.$ac_ext >&5
35973
35974 glibcxx_cv_func___builtin_fabsf_use=no
35975 fi
35976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35977 ac_ext=c
35978 ac_cpp='$CPP $CPPFLAGS'
35979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35982
35983
35984 fi
35985
35986 fi
35987 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35988 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35989 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35990 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35991 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35992 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35993 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35994 echo $ECHO_N "(cached) $ECHO_C" >&6
35995 else
35996
35997 if test x$gcc_no_link = xyes; then
35998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36000 { (exit 1); exit 1; }; }
36001 fi
36002 cat >conftest.$ac_ext <<_ACEOF
36003 /* confdefs.h. */
36004 _ACEOF
36005 cat confdefs.h >>conftest.$ac_ext
36006 cat >>conftest.$ac_ext <<_ACEOF
36007 /* end confdefs.h. */
36008 #include <math.h>
36009 int
36010 main ()
36011 {
36012 __builtin_fabsf(0);
36013 ;
36014 return 0;
36015 }
36016 _ACEOF
36017 rm -f conftest.$ac_objext conftest$ac_exeext
36018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36019 (eval $ac_link) 2>conftest.er1
36020 ac_status=$?
36021 grep -v '^ *+' conftest.er1 >conftest.err
36022 rm -f conftest.er1
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } &&
36026 { ac_try='test -z "$ac_c_werror_flag"
36027 || test ! -s conftest.err'
36028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36029 (eval $ac_try) 2>&5
36030 ac_status=$?
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); }; } &&
36033 { ac_try='test -s conftest$ac_exeext'
36034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36035 (eval $ac_try) 2>&5
36036 ac_status=$?
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); }; }; then
36039 glibcxx_cv_func___builtin_fabsf_link=yes
36040 else
36041 echo "$as_me: failed program was:" >&5
36042 sed 's/^/| /' conftest.$ac_ext >&5
36043
36044 glibcxx_cv_func___builtin_fabsf_link=no
36045 fi
36046 rm -f conftest.err conftest.$ac_objext \
36047 conftest$ac_exeext conftest.$ac_ext
36048
36049 fi
36050
36051 fi
36052 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36053 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36054
36055 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36056
36057 cat >>confdefs.h <<\_ACEOF
36058 #define HAVE___BUILTIN_FABSF 1
36059 _ACEOF
36060
36061 fi
36062
36063 fi
36064
36065
36066 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36067 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36068 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36069 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36070 echo $ECHO_N "(cached) $ECHO_C" >&6
36071 else
36072
36073
36074
36075 ac_ext=cc
36076 ac_cpp='$CXXCPP $CPPFLAGS'
36077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36080
36081 cat >conftest.$ac_ext <<_ACEOF
36082 /* confdefs.h. */
36083 _ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 #include <math.h>
36088 int
36089 main ()
36090 {
36091 __builtin_fabs(0);
36092 ;
36093 return 0;
36094 }
36095 _ACEOF
36096 rm -f conftest.$ac_objext
36097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36098 (eval $ac_compile) 2>conftest.er1
36099 ac_status=$?
36100 grep -v '^ *+' conftest.er1 >conftest.err
36101 rm -f conftest.er1
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } &&
36105 { ac_try='test -z "$ac_cxx_werror_flag"
36106 || test ! -s conftest.err'
36107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36108 (eval $ac_try) 2>&5
36109 ac_status=$?
36110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111 (exit $ac_status); }; } &&
36112 { ac_try='test -s conftest.$ac_objext'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36115 ac_status=$?
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; }; then
36118 glibcxx_cv_func___builtin_fabs_use=yes
36119 else
36120 echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.$ac_ext >&5
36122
36123 glibcxx_cv_func___builtin_fabs_use=no
36124 fi
36125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36126 ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131
36132
36133 fi
36134
36135 fi
36136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36137 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36138 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36139 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36140 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36141 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36142 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36144 else
36145
36146 if test x$gcc_no_link = xyes; then
36147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36149 { (exit 1); exit 1; }; }
36150 fi
36151 cat >conftest.$ac_ext <<_ACEOF
36152 /* confdefs.h. */
36153 _ACEOF
36154 cat confdefs.h >>conftest.$ac_ext
36155 cat >>conftest.$ac_ext <<_ACEOF
36156 /* end confdefs.h. */
36157 #include <math.h>
36158 int
36159 main ()
36160 {
36161 __builtin_fabs(0);
36162 ;
36163 return 0;
36164 }
36165 _ACEOF
36166 rm -f conftest.$ac_objext conftest$ac_exeext
36167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36168 (eval $ac_link) 2>conftest.er1
36169 ac_status=$?
36170 grep -v '^ *+' conftest.er1 >conftest.err
36171 rm -f conftest.er1
36172 cat conftest.err >&5
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); } &&
36175 { ac_try='test -z "$ac_c_werror_flag"
36176 || test ! -s conftest.err'
36177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178 (eval $ac_try) 2>&5
36179 ac_status=$?
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); }; } &&
36182 { ac_try='test -s conftest$ac_exeext'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; }; then
36188 glibcxx_cv_func___builtin_fabs_link=yes
36189 else
36190 echo "$as_me: failed program was:" >&5
36191 sed 's/^/| /' conftest.$ac_ext >&5
36192
36193 glibcxx_cv_func___builtin_fabs_link=no
36194 fi
36195 rm -f conftest.err conftest.$ac_objext \
36196 conftest$ac_exeext conftest.$ac_ext
36197
36198 fi
36199
36200 fi
36201 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36202 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36203
36204 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36205
36206 cat >>confdefs.h <<\_ACEOF
36207 #define HAVE___BUILTIN_FABS 1
36208 _ACEOF
36209
36210 fi
36211
36212 fi
36213
36214
36215 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36216 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36217 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36218 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36219 echo $ECHO_N "(cached) $ECHO_C" >&6
36220 else
36221
36222
36223
36224 ac_ext=cc
36225 ac_cpp='$CXXCPP $CPPFLAGS'
36226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36229
36230 cat >conftest.$ac_ext <<_ACEOF
36231 /* confdefs.h. */
36232 _ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36236 #include <math.h>
36237 int
36238 main ()
36239 {
36240 __builtin_fabsl(0);
36241 ;
36242 return 0;
36243 }
36244 _ACEOF
36245 rm -f conftest.$ac_objext
36246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36247 (eval $ac_compile) 2>conftest.er1
36248 ac_status=$?
36249 grep -v '^ *+' conftest.er1 >conftest.err
36250 rm -f conftest.er1
36251 cat conftest.err >&5
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); } &&
36254 { ac_try='test -z "$ac_cxx_werror_flag"
36255 || test ! -s conftest.err'
36256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36257 (eval $ac_try) 2>&5
36258 ac_status=$?
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); }; } &&
36261 { ac_try='test -s conftest.$ac_objext'
36262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36263 (eval $ac_try) 2>&5
36264 ac_status=$?
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); }; }; then
36267 glibcxx_cv_func___builtin_fabsl_use=yes
36268 else
36269 echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.$ac_ext >&5
36271
36272 glibcxx_cv_func___builtin_fabsl_use=no
36273 fi
36274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36275 ac_ext=c
36276 ac_cpp='$CPP $CPPFLAGS'
36277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280
36281
36282 fi
36283
36284 fi
36285 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36286 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36287 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36288 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36289 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36290 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36291 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36293 else
36294
36295 if test x$gcc_no_link = xyes; then
36296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36298 { (exit 1); exit 1; }; }
36299 fi
36300 cat >conftest.$ac_ext <<_ACEOF
36301 /* confdefs.h. */
36302 _ACEOF
36303 cat confdefs.h >>conftest.$ac_ext
36304 cat >>conftest.$ac_ext <<_ACEOF
36305 /* end confdefs.h. */
36306 #include <math.h>
36307 int
36308 main ()
36309 {
36310 __builtin_fabsl(0);
36311 ;
36312 return 0;
36313 }
36314 _ACEOF
36315 rm -f conftest.$ac_objext conftest$ac_exeext
36316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36317 (eval $ac_link) 2>conftest.er1
36318 ac_status=$?
36319 grep -v '^ *+' conftest.er1 >conftest.err
36320 rm -f conftest.er1
36321 cat conftest.err >&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } &&
36324 { ac_try='test -z "$ac_c_werror_flag"
36325 || test ! -s conftest.err'
36326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327 (eval $ac_try) 2>&5
36328 ac_status=$?
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); }; } &&
36331 { ac_try='test -s conftest$ac_exeext'
36332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36333 (eval $ac_try) 2>&5
36334 ac_status=$?
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); }; }; then
36337 glibcxx_cv_func___builtin_fabsl_link=yes
36338 else
36339 echo "$as_me: failed program was:" >&5
36340 sed 's/^/| /' conftest.$ac_ext >&5
36341
36342 glibcxx_cv_func___builtin_fabsl_link=no
36343 fi
36344 rm -f conftest.err conftest.$ac_objext \
36345 conftest$ac_exeext conftest.$ac_ext
36346
36347 fi
36348
36349 fi
36350 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36351 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36352
36353 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36354
36355 cat >>confdefs.h <<\_ACEOF
36356 #define HAVE___BUILTIN_FABSL 1
36357 _ACEOF
36358
36359 fi
36360
36361 fi
36362
36363
36364 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36365 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36366 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36367 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36368 echo $ECHO_N "(cached) $ECHO_C" >&6
36369 else
36370
36371
36372
36373 ac_ext=cc
36374 ac_cpp='$CXXCPP $CPPFLAGS'
36375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36378
36379 cat >conftest.$ac_ext <<_ACEOF
36380 /* confdefs.h. */
36381 _ACEOF
36382 cat confdefs.h >>conftest.$ac_ext
36383 cat >>conftest.$ac_ext <<_ACEOF
36384 /* end confdefs.h. */
36385 #include <math.h>
36386 int
36387 main ()
36388 {
36389 __builtin_labs(0);
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36396 (eval $ac_compile) 2>conftest.er1
36397 ac_status=$?
36398 grep -v '^ *+' conftest.er1 >conftest.err
36399 rm -f conftest.er1
36400 cat conftest.err >&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try='test -z "$ac_cxx_werror_flag"
36404 || test ! -s conftest.err'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36407 ac_status=$?
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; } &&
36410 { ac_try='test -s conftest.$ac_objext'
36411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 (eval $ac_try) 2>&5
36413 ac_status=$?
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); }; }; then
36416 glibcxx_cv_func___builtin_labs_use=yes
36417 else
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.$ac_ext >&5
36420
36421 glibcxx_cv_func___builtin_labs_use=no
36422 fi
36423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36424 ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429
36430
36431 fi
36432
36433 fi
36434 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36435 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36436 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36437 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36438 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36439 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36440 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36441 echo $ECHO_N "(cached) $ECHO_C" >&6
36442 else
36443
36444 if test x$gcc_no_link = xyes; then
36445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36447 { (exit 1); exit 1; }; }
36448 fi
36449 cat >conftest.$ac_ext <<_ACEOF
36450 /* confdefs.h. */
36451 _ACEOF
36452 cat confdefs.h >>conftest.$ac_ext
36453 cat >>conftest.$ac_ext <<_ACEOF
36454 /* end confdefs.h. */
36455 #include <math.h>
36456 int
36457 main ()
36458 {
36459 __builtin_labs(0);
36460 ;
36461 return 0;
36462 }
36463 _ACEOF
36464 rm -f conftest.$ac_objext conftest$ac_exeext
36465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36466 (eval $ac_link) 2>conftest.er1
36467 ac_status=$?
36468 grep -v '^ *+' conftest.er1 >conftest.err
36469 rm -f conftest.er1
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } &&
36473 { ac_try='test -z "$ac_c_werror_flag"
36474 || test ! -s conftest.err'
36475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36476 (eval $ac_try) 2>&5
36477 ac_status=$?
36478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479 (exit $ac_status); }; } &&
36480 { ac_try='test -s conftest$ac_exeext'
36481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36482 (eval $ac_try) 2>&5
36483 ac_status=$?
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); }; }; then
36486 glibcxx_cv_func___builtin_labs_link=yes
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36490
36491 glibcxx_cv_func___builtin_labs_link=no
36492 fi
36493 rm -f conftest.err conftest.$ac_objext \
36494 conftest$ac_exeext conftest.$ac_ext
36495
36496 fi
36497
36498 fi
36499 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36500 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36501
36502 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36503
36504 cat >>confdefs.h <<\_ACEOF
36505 #define HAVE___BUILTIN_LABS 1
36506 _ACEOF
36507
36508 fi
36509
36510 fi
36511
36512
36513
36514 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36515 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36516 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36517 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 else
36520
36521
36522
36523 ac_ext=cc
36524 ac_cpp='$CXXCPP $CPPFLAGS'
36525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36528
36529 cat >conftest.$ac_ext <<_ACEOF
36530 /* confdefs.h. */
36531 _ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 #include <math.h>
36536 int
36537 main ()
36538 {
36539 __builtin_sqrtf(0);
36540 ;
36541 return 0;
36542 }
36543 _ACEOF
36544 rm -f conftest.$ac_objext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36546 (eval $ac_compile) 2>conftest.er1
36547 ac_status=$?
36548 grep -v '^ *+' conftest.er1 >conftest.err
36549 rm -f conftest.er1
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } &&
36553 { ac_try='test -z "$ac_cxx_werror_flag"
36554 || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try='test -s conftest.$ac_objext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 glibcxx_cv_func___builtin_sqrtf_use=yes
36567 else
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36570
36571 glibcxx_cv_func___builtin_sqrtf_use=no
36572 fi
36573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36574 ac_ext=c
36575 ac_cpp='$CPP $CPPFLAGS'
36576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36579
36580
36581 fi
36582
36583 fi
36584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36585 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36586 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36587 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36588 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36589 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36590 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 else
36593
36594 if test x$gcc_no_link = xyes; then
36595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36597 { (exit 1); exit 1; }; }
36598 fi
36599 cat >conftest.$ac_ext <<_ACEOF
36600 /* confdefs.h. */
36601 _ACEOF
36602 cat confdefs.h >>conftest.$ac_ext
36603 cat >>conftest.$ac_ext <<_ACEOF
36604 /* end confdefs.h. */
36605 #include <math.h>
36606 int
36607 main ()
36608 {
36609 __builtin_sqrtf(0);
36610 ;
36611 return 0;
36612 }
36613 _ACEOF
36614 rm -f conftest.$ac_objext conftest$ac_exeext
36615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36616 (eval $ac_link) 2>conftest.er1
36617 ac_status=$?
36618 grep -v '^ *+' conftest.er1 >conftest.err
36619 rm -f conftest.er1
36620 cat conftest.err >&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); } &&
36623 { ac_try='test -z "$ac_c_werror_flag"
36624 || test ! -s conftest.err'
36625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36626 (eval $ac_try) 2>&5
36627 ac_status=$?
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); }; } &&
36630 { ac_try='test -s conftest$ac_exeext'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 glibcxx_cv_func___builtin_sqrtf_link=yes
36637 else
36638 echo "$as_me: failed program was:" >&5
36639 sed 's/^/| /' conftest.$ac_ext >&5
36640
36641 glibcxx_cv_func___builtin_sqrtf_link=no
36642 fi
36643 rm -f conftest.err conftest.$ac_objext \
36644 conftest$ac_exeext conftest.$ac_ext
36645
36646 fi
36647
36648 fi
36649 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36650 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36651
36652 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36653
36654 cat >>confdefs.h <<\_ACEOF
36655 #define HAVE___BUILTIN_SQRTF 1
36656 _ACEOF
36657
36658 fi
36659
36660 fi
36661
36662
36663 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36664 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36665 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36666 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 else
36669
36670
36671
36672 ac_ext=cc
36673 ac_cpp='$CXXCPP $CPPFLAGS'
36674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677
36678 cat >conftest.$ac_ext <<_ACEOF
36679 /* confdefs.h. */
36680 _ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684 #include <math.h>
36685 int
36686 main ()
36687 {
36688 __builtin_sqrt(0);
36689 ;
36690 return 0;
36691 }
36692 _ACEOF
36693 rm -f conftest.$ac_objext
36694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36695 (eval $ac_compile) 2>conftest.er1
36696 ac_status=$?
36697 grep -v '^ *+' conftest.er1 >conftest.err
36698 rm -f conftest.er1
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } &&
36702 { ac_try='test -z "$ac_cxx_werror_flag"
36703 || test ! -s conftest.err'
36704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36705 (eval $ac_try) 2>&5
36706 ac_status=$?
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); }; } &&
36709 { ac_try='test -s conftest.$ac_objext'
36710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36711 (eval $ac_try) 2>&5
36712 ac_status=$?
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; }; then
36715 glibcxx_cv_func___builtin_sqrt_use=yes
36716 else
36717 echo "$as_me: failed program was:" >&5
36718 sed 's/^/| /' conftest.$ac_ext >&5
36719
36720 glibcxx_cv_func___builtin_sqrt_use=no
36721 fi
36722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36723 ac_ext=c
36724 ac_cpp='$CPP $CPPFLAGS'
36725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36728
36729
36730 fi
36731
36732 fi
36733 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36734 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36735 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36736 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36737 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36738 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36739 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 else
36742
36743 if test x$gcc_no_link = xyes; then
36744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36746 { (exit 1); exit 1; }; }
36747 fi
36748 cat >conftest.$ac_ext <<_ACEOF
36749 /* confdefs.h. */
36750 _ACEOF
36751 cat confdefs.h >>conftest.$ac_ext
36752 cat >>conftest.$ac_ext <<_ACEOF
36753 /* end confdefs.h. */
36754 #include <math.h>
36755 int
36756 main ()
36757 {
36758 __builtin_sqrt(0);
36759 ;
36760 return 0;
36761 }
36762 _ACEOF
36763 rm -f conftest.$ac_objext conftest$ac_exeext
36764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36765 (eval $ac_link) 2>conftest.er1
36766 ac_status=$?
36767 grep -v '^ *+' conftest.er1 >conftest.err
36768 rm -f conftest.er1
36769 cat conftest.err >&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } &&
36772 { ac_try='test -z "$ac_c_werror_flag"
36773 || test ! -s conftest.err'
36774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36775 (eval $ac_try) 2>&5
36776 ac_status=$?
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); }; } &&
36779 { ac_try='test -s conftest$ac_exeext'
36780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 (eval $ac_try) 2>&5
36782 ac_status=$?
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); }; }; then
36785 glibcxx_cv_func___builtin_sqrt_link=yes
36786 else
36787 echo "$as_me: failed program was:" >&5
36788 sed 's/^/| /' conftest.$ac_ext >&5
36789
36790 glibcxx_cv_func___builtin_sqrt_link=no
36791 fi
36792 rm -f conftest.err conftest.$ac_objext \
36793 conftest$ac_exeext conftest.$ac_ext
36794
36795 fi
36796
36797 fi
36798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36799 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36800
36801 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36802
36803 cat >>confdefs.h <<\_ACEOF
36804 #define HAVE___BUILTIN_SQRT 1
36805 _ACEOF
36806
36807 fi
36808
36809 fi
36810
36811
36812 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36813 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36814 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36815 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36816 echo $ECHO_N "(cached) $ECHO_C" >&6
36817 else
36818
36819
36820
36821 ac_ext=cc
36822 ac_cpp='$CXXCPP $CPPFLAGS'
36823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36826
36827 cat >conftest.$ac_ext <<_ACEOF
36828 /* confdefs.h. */
36829 _ACEOF
36830 cat confdefs.h >>conftest.$ac_ext
36831 cat >>conftest.$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 #include <math.h>
36834 int
36835 main ()
36836 {
36837 __builtin_sqrtl(0);
36838 ;
36839 return 0;
36840 }
36841 _ACEOF
36842 rm -f conftest.$ac_objext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36844 (eval $ac_compile) 2>conftest.er1
36845 ac_status=$?
36846 grep -v '^ *+' conftest.er1 >conftest.err
36847 rm -f conftest.er1
36848 cat conftest.err >&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } &&
36851 { ac_try='test -z "$ac_cxx_werror_flag"
36852 || test ! -s conftest.err'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36855 ac_status=$?
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; } &&
36858 { ac_try='test -s conftest.$ac_objext'
36859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860 (eval $ac_try) 2>&5
36861 ac_status=$?
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); }; }; then
36864 glibcxx_cv_func___builtin_sqrtl_use=yes
36865 else
36866 echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.$ac_ext >&5
36868
36869 glibcxx_cv_func___builtin_sqrtl_use=no
36870 fi
36871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36872 ac_ext=c
36873 ac_cpp='$CPP $CPPFLAGS'
36874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36877
36878
36879 fi
36880
36881 fi
36882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36883 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36884 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36885 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36886 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36887 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36888 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36889 echo $ECHO_N "(cached) $ECHO_C" >&6
36890 else
36891
36892 if test x$gcc_no_link = xyes; then
36893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36895 { (exit 1); exit 1; }; }
36896 fi
36897 cat >conftest.$ac_ext <<_ACEOF
36898 /* confdefs.h. */
36899 _ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 #include <math.h>
36904 int
36905 main ()
36906 {
36907 __builtin_sqrtl(0);
36908 ;
36909 return 0;
36910 }
36911 _ACEOF
36912 rm -f conftest.$ac_objext conftest$ac_exeext
36913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36914 (eval $ac_link) 2>conftest.er1
36915 ac_status=$?
36916 grep -v '^ *+' conftest.er1 >conftest.err
36917 rm -f conftest.er1
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } &&
36921 { ac_try='test -z "$ac_c_werror_flag"
36922 || test ! -s conftest.err'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36925 ac_status=$?
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; } &&
36928 { ac_try='test -s conftest$ac_exeext'
36929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36930 (eval $ac_try) 2>&5
36931 ac_status=$?
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); }; }; then
36934 glibcxx_cv_func___builtin_sqrtl_link=yes
36935 else
36936 echo "$as_me: failed program was:" >&5
36937 sed 's/^/| /' conftest.$ac_ext >&5
36938
36939 glibcxx_cv_func___builtin_sqrtl_link=no
36940 fi
36941 rm -f conftest.err conftest.$ac_objext \
36942 conftest$ac_exeext conftest.$ac_ext
36943
36944 fi
36945
36946 fi
36947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36948 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36949
36950 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36951
36952 cat >>confdefs.h <<\_ACEOF
36953 #define HAVE___BUILTIN_SQRTL 1
36954 _ACEOF
36955
36956 fi
36957
36958 fi
36959
36960
36961
36962 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36963 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36964 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36965 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36968
36969
36970
36971 ac_ext=cc
36972 ac_cpp='$CXXCPP $CPPFLAGS'
36973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36976
36977 cat >conftest.$ac_ext <<_ACEOF
36978 /* confdefs.h. */
36979 _ACEOF
36980 cat confdefs.h >>conftest.$ac_ext
36981 cat >>conftest.$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983 #include <math.h>
36984 int
36985 main ()
36986 {
36987 __builtin_sinf(0);
36988 ;
36989 return 0;
36990 }
36991 _ACEOF
36992 rm -f conftest.$ac_objext
36993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36994 (eval $ac_compile) 2>conftest.er1
36995 ac_status=$?
36996 grep -v '^ *+' conftest.er1 >conftest.err
36997 rm -f conftest.er1
36998 cat conftest.err >&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); } &&
37001 { ac_try='test -z "$ac_cxx_werror_flag"
37002 || test ! -s conftest.err'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37005 ac_status=$?
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; } &&
37008 { ac_try='test -s conftest.$ac_objext'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37011 ac_status=$?
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; }; then
37014 glibcxx_cv_func___builtin_sinf_use=yes
37015 else
37016 echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37018
37019 glibcxx_cv_func___builtin_sinf_use=no
37020 fi
37021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37022 ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37027
37028
37029 fi
37030
37031 fi
37032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37033 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37034 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37035 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37036 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37037 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37038 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37039 echo $ECHO_N "(cached) $ECHO_C" >&6
37040 else
37041
37042 if test x$gcc_no_link = xyes; then
37043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37045 { (exit 1); exit 1; }; }
37046 fi
37047 cat >conftest.$ac_ext <<_ACEOF
37048 /* confdefs.h. */
37049 _ACEOF
37050 cat confdefs.h >>conftest.$ac_ext
37051 cat >>conftest.$ac_ext <<_ACEOF
37052 /* end confdefs.h. */
37053 #include <math.h>
37054 int
37055 main ()
37056 {
37057 __builtin_sinf(0);
37058 ;
37059 return 0;
37060 }
37061 _ACEOF
37062 rm -f conftest.$ac_objext conftest$ac_exeext
37063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37064 (eval $ac_link) 2>conftest.er1
37065 ac_status=$?
37066 grep -v '^ *+' conftest.er1 >conftest.err
37067 rm -f conftest.er1
37068 cat conftest.err >&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } &&
37071 { ac_try='test -z "$ac_c_werror_flag"
37072 || test ! -s conftest.err'
37073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37074 (eval $ac_try) 2>&5
37075 ac_status=$?
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); }; } &&
37078 { ac_try='test -s conftest$ac_exeext'
37079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080 (eval $ac_try) 2>&5
37081 ac_status=$?
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); }; }; then
37084 glibcxx_cv_func___builtin_sinf_link=yes
37085 else
37086 echo "$as_me: failed program was:" >&5
37087 sed 's/^/| /' conftest.$ac_ext >&5
37088
37089 glibcxx_cv_func___builtin_sinf_link=no
37090 fi
37091 rm -f conftest.err conftest.$ac_objext \
37092 conftest$ac_exeext conftest.$ac_ext
37093
37094 fi
37095
37096 fi
37097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37099
37100 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37101
37102 cat >>confdefs.h <<\_ACEOF
37103 #define HAVE___BUILTIN_SINF 1
37104 _ACEOF
37105
37106 fi
37107
37108 fi
37109
37110
37111 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37112 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37113 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37114 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37115 echo $ECHO_N "(cached) $ECHO_C" >&6
37116 else
37117
37118
37119
37120 ac_ext=cc
37121 ac_cpp='$CXXCPP $CPPFLAGS'
37122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37125
37126 cat >conftest.$ac_ext <<_ACEOF
37127 /* confdefs.h. */
37128 _ACEOF
37129 cat confdefs.h >>conftest.$ac_ext
37130 cat >>conftest.$ac_ext <<_ACEOF
37131 /* end confdefs.h. */
37132 #include <math.h>
37133 int
37134 main ()
37135 {
37136 __builtin_sin(0);
37137 ;
37138 return 0;
37139 }
37140 _ACEOF
37141 rm -f conftest.$ac_objext
37142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37143 (eval $ac_compile) 2>conftest.er1
37144 ac_status=$?
37145 grep -v '^ *+' conftest.er1 >conftest.err
37146 rm -f conftest.er1
37147 cat conftest.err >&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } &&
37150 { ac_try='test -z "$ac_cxx_werror_flag"
37151 || test ! -s conftest.err'
37152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37153 (eval $ac_try) 2>&5
37154 ac_status=$?
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); }; } &&
37157 { ac_try='test -s conftest.$ac_objext'
37158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37159 (eval $ac_try) 2>&5
37160 ac_status=$?
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); }; }; then
37163 glibcxx_cv_func___builtin_sin_use=yes
37164 else
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.$ac_ext >&5
37167
37168 glibcxx_cv_func___builtin_sin_use=no
37169 fi
37170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37171 ac_ext=c
37172 ac_cpp='$CPP $CPPFLAGS'
37173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37176
37177
37178 fi
37179
37180 fi
37181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37182 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37183 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37184 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37185 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37186 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37187 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37188 echo $ECHO_N "(cached) $ECHO_C" >&6
37189 else
37190
37191 if test x$gcc_no_link = xyes; then
37192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37194 { (exit 1); exit 1; }; }
37195 fi
37196 cat >conftest.$ac_ext <<_ACEOF
37197 /* confdefs.h. */
37198 _ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202 #include <math.h>
37203 int
37204 main ()
37205 {
37206 __builtin_sin(0);
37207 ;
37208 return 0;
37209 }
37210 _ACEOF
37211 rm -f conftest.$ac_objext conftest$ac_exeext
37212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37213 (eval $ac_link) 2>conftest.er1
37214 ac_status=$?
37215 grep -v '^ *+' conftest.er1 >conftest.err
37216 rm -f conftest.er1
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } &&
37220 { ac_try='test -z "$ac_c_werror_flag"
37221 || test ! -s conftest.err'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; } &&
37227 { ac_try='test -s conftest$ac_exeext'
37228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37229 (eval $ac_try) 2>&5
37230 ac_status=$?
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); }; }; then
37233 glibcxx_cv_func___builtin_sin_link=yes
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37237
37238 glibcxx_cv_func___builtin_sin_link=no
37239 fi
37240 rm -f conftest.err conftest.$ac_objext \
37241 conftest$ac_exeext conftest.$ac_ext
37242
37243 fi
37244
37245 fi
37246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37247 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37248
37249 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37250
37251 cat >>confdefs.h <<\_ACEOF
37252 #define HAVE___BUILTIN_SIN 1
37253 _ACEOF
37254
37255 fi
37256
37257 fi
37258
37259
37260 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37261 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37262 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37263 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37264 echo $ECHO_N "(cached) $ECHO_C" >&6
37265 else
37266
37267
37268
37269 ac_ext=cc
37270 ac_cpp='$CXXCPP $CPPFLAGS'
37271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37274
37275 cat >conftest.$ac_ext <<_ACEOF
37276 /* confdefs.h. */
37277 _ACEOF
37278 cat confdefs.h >>conftest.$ac_ext
37279 cat >>conftest.$ac_ext <<_ACEOF
37280 /* end confdefs.h. */
37281 #include <math.h>
37282 int
37283 main ()
37284 {
37285 __builtin_sinl(0);
37286 ;
37287 return 0;
37288 }
37289 _ACEOF
37290 rm -f conftest.$ac_objext
37291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37292 (eval $ac_compile) 2>conftest.er1
37293 ac_status=$?
37294 grep -v '^ *+' conftest.er1 >conftest.err
37295 rm -f conftest.er1
37296 cat conftest.err >&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } &&
37299 { ac_try='test -z "$ac_cxx_werror_flag"
37300 || test ! -s conftest.err'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37303 ac_status=$?
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; } &&
37306 { ac_try='test -s conftest.$ac_objext'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37309 ac_status=$?
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; }; then
37312 glibcxx_cv_func___builtin_sinl_use=yes
37313 else
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.$ac_ext >&5
37316
37317 glibcxx_cv_func___builtin_sinl_use=no
37318 fi
37319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37320 ac_ext=c
37321 ac_cpp='$CPP $CPPFLAGS'
37322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37325
37326
37327 fi
37328
37329 fi
37330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37331 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37332 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37333 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37334 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37335 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37336 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 else
37339
37340 if test x$gcc_no_link = xyes; then
37341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37343 { (exit 1); exit 1; }; }
37344 fi
37345 cat >conftest.$ac_ext <<_ACEOF
37346 /* confdefs.h. */
37347 _ACEOF
37348 cat confdefs.h >>conftest.$ac_ext
37349 cat >>conftest.$ac_ext <<_ACEOF
37350 /* end confdefs.h. */
37351 #include <math.h>
37352 int
37353 main ()
37354 {
37355 __builtin_sinl(0);
37356 ;
37357 return 0;
37358 }
37359 _ACEOF
37360 rm -f conftest.$ac_objext conftest$ac_exeext
37361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37362 (eval $ac_link) 2>conftest.er1
37363 ac_status=$?
37364 grep -v '^ *+' conftest.er1 >conftest.err
37365 rm -f conftest.er1
37366 cat conftest.err >&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); } &&
37369 { ac_try='test -z "$ac_c_werror_flag"
37370 || test ! -s conftest.err'
37371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37372 (eval $ac_try) 2>&5
37373 ac_status=$?
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; } &&
37376 { ac_try='test -s conftest$ac_exeext'
37377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37378 (eval $ac_try) 2>&5
37379 ac_status=$?
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); }; }; then
37382 glibcxx_cv_func___builtin_sinl_link=yes
37383 else
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37386
37387 glibcxx_cv_func___builtin_sinl_link=no
37388 fi
37389 rm -f conftest.err conftest.$ac_objext \
37390 conftest$ac_exeext conftest.$ac_ext
37391
37392 fi
37393
37394 fi
37395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37396 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37397
37398 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37399
37400 cat >>confdefs.h <<\_ACEOF
37401 #define HAVE___BUILTIN_SINL 1
37402 _ACEOF
37403
37404 fi
37405
37406 fi
37407
37408
37409
37410 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37411 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37412 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37413 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37414 echo $ECHO_N "(cached) $ECHO_C" >&6
37415 else
37416
37417
37418
37419 ac_ext=cc
37420 ac_cpp='$CXXCPP $CPPFLAGS'
37421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37424
37425 cat >conftest.$ac_ext <<_ACEOF
37426 /* confdefs.h. */
37427 _ACEOF
37428 cat confdefs.h >>conftest.$ac_ext
37429 cat >>conftest.$ac_ext <<_ACEOF
37430 /* end confdefs.h. */
37431 #include <math.h>
37432 int
37433 main ()
37434 {
37435 __builtin_cosf(0);
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 rm -f conftest.$ac_objext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37442 (eval $ac_compile) 2>conftest.er1
37443 ac_status=$?
37444 grep -v '^ *+' conftest.er1 >conftest.err
37445 rm -f conftest.er1
37446 cat conftest.err >&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try='test -z "$ac_cxx_werror_flag"
37450 || test ! -s conftest.err'
37451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37452 (eval $ac_try) 2>&5
37453 ac_status=$?
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); }; } &&
37456 { ac_try='test -s conftest.$ac_objext'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; }; then
37462 glibcxx_cv_func___builtin_cosf_use=yes
37463 else
37464 echo "$as_me: failed program was:" >&5
37465 sed 's/^/| /' conftest.$ac_ext >&5
37466
37467 glibcxx_cv_func___builtin_cosf_use=no
37468 fi
37469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37470 ac_ext=c
37471 ac_cpp='$CPP $CPPFLAGS'
37472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37475
37476
37477 fi
37478
37479 fi
37480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37481 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37482 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37483 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37484 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37485 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37486 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 else
37489
37490 if test x$gcc_no_link = xyes; then
37491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37493 { (exit 1); exit 1; }; }
37494 fi
37495 cat >conftest.$ac_ext <<_ACEOF
37496 /* confdefs.h. */
37497 _ACEOF
37498 cat confdefs.h >>conftest.$ac_ext
37499 cat >>conftest.$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501 #include <math.h>
37502 int
37503 main ()
37504 {
37505 __builtin_cosf(0);
37506 ;
37507 return 0;
37508 }
37509 _ACEOF
37510 rm -f conftest.$ac_objext conftest$ac_exeext
37511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37512 (eval $ac_link) 2>conftest.er1
37513 ac_status=$?
37514 grep -v '^ *+' conftest.er1 >conftest.err
37515 rm -f conftest.er1
37516 cat conftest.err >&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); } &&
37519 { ac_try='test -z "$ac_c_werror_flag"
37520 || test ! -s conftest.err'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37523 ac_status=$?
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; } &&
37526 { ac_try='test -s conftest$ac_exeext'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37529 ac_status=$?
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; }; then
37532 glibcxx_cv_func___builtin_cosf_link=yes
37533 else
37534 echo "$as_me: failed program was:" >&5
37535 sed 's/^/| /' conftest.$ac_ext >&5
37536
37537 glibcxx_cv_func___builtin_cosf_link=no
37538 fi
37539 rm -f conftest.err conftest.$ac_objext \
37540 conftest$ac_exeext conftest.$ac_ext
37541
37542 fi
37543
37544 fi
37545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37546 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37547
37548 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37549
37550 cat >>confdefs.h <<\_ACEOF
37551 #define HAVE___BUILTIN_COSF 1
37552 _ACEOF
37553
37554 fi
37555
37556 fi
37557
37558
37559 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37560 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37561 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37562 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37563 echo $ECHO_N "(cached) $ECHO_C" >&6
37564 else
37565
37566
37567
37568 ac_ext=cc
37569 ac_cpp='$CXXCPP $CPPFLAGS'
37570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37573
37574 cat >conftest.$ac_ext <<_ACEOF
37575 /* confdefs.h. */
37576 _ACEOF
37577 cat confdefs.h >>conftest.$ac_ext
37578 cat >>conftest.$ac_ext <<_ACEOF
37579 /* end confdefs.h. */
37580 #include <math.h>
37581 int
37582 main ()
37583 {
37584 __builtin_cos(0);
37585 ;
37586 return 0;
37587 }
37588 _ACEOF
37589 rm -f conftest.$ac_objext
37590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37591 (eval $ac_compile) 2>conftest.er1
37592 ac_status=$?
37593 grep -v '^ *+' conftest.er1 >conftest.err
37594 rm -f conftest.er1
37595 cat conftest.err >&5
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); } &&
37598 { ac_try='test -z "$ac_cxx_werror_flag"
37599 || test ! -s conftest.err'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; } &&
37605 { ac_try='test -s conftest.$ac_objext'
37606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607 (eval $ac_try) 2>&5
37608 ac_status=$?
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); }; }; then
37611 glibcxx_cv_func___builtin_cos_use=yes
37612 else
37613 echo "$as_me: failed program was:" >&5
37614 sed 's/^/| /' conftest.$ac_ext >&5
37615
37616 glibcxx_cv_func___builtin_cos_use=no
37617 fi
37618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37619 ac_ext=c
37620 ac_cpp='$CPP $CPPFLAGS'
37621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37624
37625
37626 fi
37627
37628 fi
37629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37630 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37631 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37632 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37633 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37634 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37635 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37637 else
37638
37639 if test x$gcc_no_link = xyes; then
37640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37642 { (exit 1); exit 1; }; }
37643 fi
37644 cat >conftest.$ac_ext <<_ACEOF
37645 /* confdefs.h. */
37646 _ACEOF
37647 cat confdefs.h >>conftest.$ac_ext
37648 cat >>conftest.$ac_ext <<_ACEOF
37649 /* end confdefs.h. */
37650 #include <math.h>
37651 int
37652 main ()
37653 {
37654 __builtin_cos(0);
37655 ;
37656 return 0;
37657 }
37658 _ACEOF
37659 rm -f conftest.$ac_objext conftest$ac_exeext
37660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37661 (eval $ac_link) 2>conftest.er1
37662 ac_status=$?
37663 grep -v '^ *+' conftest.er1 >conftest.err
37664 rm -f conftest.er1
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } &&
37668 { ac_try='test -z "$ac_c_werror_flag"
37669 || test ! -s conftest.err'
37670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671 (eval $ac_try) 2>&5
37672 ac_status=$?
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); }; } &&
37675 { ac_try='test -s conftest$ac_exeext'
37676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37677 (eval $ac_try) 2>&5
37678 ac_status=$?
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); }; }; then
37681 glibcxx_cv_func___builtin_cos_link=yes
37682 else
37683 echo "$as_me: failed program was:" >&5
37684 sed 's/^/| /' conftest.$ac_ext >&5
37685
37686 glibcxx_cv_func___builtin_cos_link=no
37687 fi
37688 rm -f conftest.err conftest.$ac_objext \
37689 conftest$ac_exeext conftest.$ac_ext
37690
37691 fi
37692
37693 fi
37694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37695 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37696
37697 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37698
37699 cat >>confdefs.h <<\_ACEOF
37700 #define HAVE___BUILTIN_COS 1
37701 _ACEOF
37702
37703 fi
37704
37705 fi
37706
37707
37708 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37709 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37710 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37711 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37713 else
37714
37715
37716
37717 ac_ext=cc
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37722
37723 cat >conftest.$ac_ext <<_ACEOF
37724 /* confdefs.h. */
37725 _ACEOF
37726 cat confdefs.h >>conftest.$ac_ext
37727 cat >>conftest.$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 #include <math.h>
37730 int
37731 main ()
37732 {
37733 __builtin_cosl(0);
37734 ;
37735 return 0;
37736 }
37737 _ACEOF
37738 rm -f conftest.$ac_objext
37739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37740 (eval $ac_compile) 2>conftest.er1
37741 ac_status=$?
37742 grep -v '^ *+' conftest.er1 >conftest.err
37743 rm -f conftest.er1
37744 cat conftest.err >&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); } &&
37747 { ac_try='test -z "$ac_cxx_werror_flag"
37748 || test ! -s conftest.err'
37749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37750 (eval $ac_try) 2>&5
37751 ac_status=$?
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); }; } &&
37754 { ac_try='test -s conftest.$ac_objext'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37757 ac_status=$?
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; }; then
37760 glibcxx_cv_func___builtin_cosl_use=yes
37761 else
37762 echo "$as_me: failed program was:" >&5
37763 sed 's/^/| /' conftest.$ac_ext >&5
37764
37765 glibcxx_cv_func___builtin_cosl_use=no
37766 fi
37767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37768 ac_ext=c
37769 ac_cpp='$CPP $CPPFLAGS'
37770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37773
37774
37775 fi
37776
37777 fi
37778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37779 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37780 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37781 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37782 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37783 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37784 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37786 else
37787
37788 if test x$gcc_no_link = xyes; then
37789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37791 { (exit 1); exit 1; }; }
37792 fi
37793 cat >conftest.$ac_ext <<_ACEOF
37794 /* confdefs.h. */
37795 _ACEOF
37796 cat confdefs.h >>conftest.$ac_ext
37797 cat >>conftest.$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37799 #include <math.h>
37800 int
37801 main ()
37802 {
37803 __builtin_cosl(0);
37804 ;
37805 return 0;
37806 }
37807 _ACEOF
37808 rm -f conftest.$ac_objext conftest$ac_exeext
37809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37810 (eval $ac_link) 2>conftest.er1
37811 ac_status=$?
37812 grep -v '^ *+' conftest.er1 >conftest.err
37813 rm -f conftest.er1
37814 cat conftest.err >&5
37815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37816 (exit $ac_status); } &&
37817 { ac_try='test -z "$ac_c_werror_flag"
37818 || test ! -s conftest.err'
37819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37820 (eval $ac_try) 2>&5
37821 ac_status=$?
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); }; } &&
37824 { ac_try='test -s conftest$ac_exeext'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37827 ac_status=$?
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; }; then
37830 glibcxx_cv_func___builtin_cosl_link=yes
37831 else
37832 echo "$as_me: failed program was:" >&5
37833 sed 's/^/| /' conftest.$ac_ext >&5
37834
37835 glibcxx_cv_func___builtin_cosl_link=no
37836 fi
37837 rm -f conftest.err conftest.$ac_objext \
37838 conftest$ac_exeext conftest.$ac_ext
37839
37840 fi
37841
37842 fi
37843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37844 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37845
37846 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37847
37848 cat >>confdefs.h <<\_ACEOF
37849 #define HAVE___BUILTIN_COSL 1
37850 _ACEOF
37851
37852 fi
37853
37854 fi
37855
37856
37857
37858
37859 echo "$as_me:$LINENO: checking for main in -lm" >&5
37860 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37861 if test "${ac_cv_lib_m_main+set}" = set; then
37862 echo $ECHO_N "(cached) $ECHO_C" >&6
37863 else
37864 ac_check_lib_save_LIBS=$LIBS
37865 LIBS="-lm $LIBS"
37866 if test x$gcc_no_link = xyes; then
37867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37869 { (exit 1); exit 1; }; }
37870 fi
37871 cat >conftest.$ac_ext <<_ACEOF
37872 /* confdefs.h. */
37873 _ACEOF
37874 cat confdefs.h >>conftest.$ac_ext
37875 cat >>conftest.$ac_ext <<_ACEOF
37876 /* end confdefs.h. */
37877
37878
37879 int
37880 main ()
37881 {
37882 main ();
37883 ;
37884 return 0;
37885 }
37886 _ACEOF
37887 rm -f conftest.$ac_objext conftest$ac_exeext
37888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37889 (eval $ac_link) 2>conftest.er1
37890 ac_status=$?
37891 grep -v '^ *+' conftest.er1 >conftest.err
37892 rm -f conftest.er1
37893 cat conftest.err >&5
37894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37895 (exit $ac_status); } &&
37896 { ac_try='test -z "$ac_c_werror_flag"
37897 || test ! -s conftest.err'
37898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37899 (eval $ac_try) 2>&5
37900 ac_status=$?
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); }; } &&
37903 { ac_try='test -s conftest$ac_exeext'
37904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37905 (eval $ac_try) 2>&5
37906 ac_status=$?
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); }; }; then
37909 ac_cv_lib_m_main=yes
37910 else
37911 echo "$as_me: failed program was:" >&5
37912 sed 's/^/| /' conftest.$ac_ext >&5
37913
37914 ac_cv_lib_m_main=no
37915 fi
37916 rm -f conftest.err conftest.$ac_objext \
37917 conftest$ac_exeext conftest.$ac_ext
37918 LIBS=$ac_check_lib_save_LIBS
37919 fi
37920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37921 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37922 if test $ac_cv_lib_m_main = yes; then
37923 cat >>confdefs.h <<_ACEOF
37924 #define HAVE_LIBM 1
37925 _ACEOF
37926
37927 LIBS="-lm $LIBS"
37928
37929 fi
37930
37931
37932 for ac_func in copysignf
37933 do
37934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37935 echo "$as_me:$LINENO: checking for $ac_func" >&5
37936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37937 if eval "test \"\${$as_ac_var+set}\" = set"; then
37938 echo $ECHO_N "(cached) $ECHO_C" >&6
37939 else
37940 if test x$gcc_no_link = xyes; then
37941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37943 { (exit 1); exit 1; }; }
37944 fi
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef $ac_func
37967
37968 /* Override any gcc2 internal prototype to avoid an error. */
37969 #ifdef __cplusplus
37970 extern "C"
37971 {
37972 #endif
37973 /* We use char because int might match the return type of a gcc2
37974 builtin and then its argument prototype would still apply. */
37975 char $ac_func ();
37976 /* The GNU C library defines this for functions which it implements
37977 to always fail with ENOSYS. Some functions are actually named
37978 something starting with __ and the normal name is an alias. */
37979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37980 choke me
37981 #else
37982 char (*f) () = $ac_func;
37983 #endif
37984 #ifdef __cplusplus
37985 }
37986 #endif
37987
37988 int
37989 main ()
37990 {
37991 return f != $ac_func;
37992 ;
37993 return 0;
37994 }
37995 _ACEOF
37996 rm -f conftest.$ac_objext conftest$ac_exeext
37997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37998 (eval $ac_link) 2>conftest.er1
37999 ac_status=$?
38000 grep -v '^ *+' conftest.er1 >conftest.err
38001 rm -f conftest.er1
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } &&
38005 { ac_try='test -z "$ac_c_werror_flag"
38006 || test ! -s conftest.err'
38007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38008 (eval $ac_try) 2>&5
38009 ac_status=$?
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); }; } &&
38012 { ac_try='test -s conftest$ac_exeext'
38013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38014 (eval $ac_try) 2>&5
38015 ac_status=$?
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); }; }; then
38018 eval "$as_ac_var=yes"
38019 else
38020 echo "$as_me: failed program was:" >&5
38021 sed 's/^/| /' conftest.$ac_ext >&5
38022
38023 eval "$as_ac_var=no"
38024 fi
38025 rm -f conftest.err conftest.$ac_objext \
38026 conftest$ac_exeext conftest.$ac_ext
38027 fi
38028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38030 if test `eval echo '${'$as_ac_var'}'` = yes; then
38031 cat >>confdefs.h <<_ACEOF
38032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38033 _ACEOF
38034
38035 else
38036 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38037 fi
38038 done
38039
38040
38041
38042 for ac_func in __signbit
38043 do
38044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38045 echo "$as_me:$LINENO: checking for $ac_func" >&5
38046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38047 if eval "test \"\${$as_ac_var+set}\" = set"; then
38048 echo $ECHO_N "(cached) $ECHO_C" >&6
38049 else
38050 if test x$gcc_no_link = xyes; then
38051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38053 { (exit 1); exit 1; }; }
38054 fi
38055 cat >conftest.$ac_ext <<_ACEOF
38056 /* confdefs.h. */
38057 _ACEOF
38058 cat confdefs.h >>conftest.$ac_ext
38059 cat >>conftest.$ac_ext <<_ACEOF
38060 /* end confdefs.h. */
38061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38063 #define $ac_func innocuous_$ac_func
38064
38065 /* System header to define __stub macros and hopefully few prototypes,
38066 which can conflict with char $ac_func (); below.
38067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38068 <limits.h> exists even on freestanding compilers. */
38069
38070 #ifdef __STDC__
38071 # include <limits.h>
38072 #else
38073 # include <assert.h>
38074 #endif
38075
38076 #undef $ac_func
38077
38078 /* Override any gcc2 internal prototype to avoid an error. */
38079 #ifdef __cplusplus
38080 extern "C"
38081 {
38082 #endif
38083 /* We use char because int might match the return type of a gcc2
38084 builtin and then its argument prototype would still apply. */
38085 char $ac_func ();
38086 /* The GNU C library defines this for functions which it implements
38087 to always fail with ENOSYS. Some functions are actually named
38088 something starting with __ and the normal name is an alias. */
38089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38090 choke me
38091 #else
38092 char (*f) () = $ac_func;
38093 #endif
38094 #ifdef __cplusplus
38095 }
38096 #endif
38097
38098 int
38099 main ()
38100 {
38101 return f != $ac_func;
38102 ;
38103 return 0;
38104 }
38105 _ACEOF
38106 rm -f conftest.$ac_objext conftest$ac_exeext
38107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38108 (eval $ac_link) 2>conftest.er1
38109 ac_status=$?
38110 grep -v '^ *+' conftest.er1 >conftest.err
38111 rm -f conftest.er1
38112 cat conftest.err >&5
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); } &&
38115 { ac_try='test -z "$ac_c_werror_flag"
38116 || test ! -s conftest.err'
38117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38118 (eval $ac_try) 2>&5
38119 ac_status=$?
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); }; } &&
38122 { ac_try='test -s conftest$ac_exeext'
38123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38124 (eval $ac_try) 2>&5
38125 ac_status=$?
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); }; }; then
38128 eval "$as_ac_var=yes"
38129 else
38130 echo "$as_me: failed program was:" >&5
38131 sed 's/^/| /' conftest.$ac_ext >&5
38132
38133 eval "$as_ac_var=no"
38134 fi
38135 rm -f conftest.err conftest.$ac_objext \
38136 conftest$ac_exeext conftest.$ac_ext
38137 fi
38138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38140 if test `eval echo '${'$as_ac_var'}'` = yes; then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38143 _ACEOF
38144
38145 else
38146 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38147 fi
38148 done
38149
38150
38151
38152 for ac_func in __signbitf
38153 do
38154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38155 echo "$as_me:$LINENO: checking for $ac_func" >&5
38156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38157 if eval "test \"\${$as_ac_var+set}\" = set"; then
38158 echo $ECHO_N "(cached) $ECHO_C" >&6
38159 else
38160 if test x$gcc_no_link = xyes; then
38161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38163 { (exit 1); exit 1; }; }
38164 fi
38165 cat >conftest.$ac_ext <<_ACEOF
38166 /* confdefs.h. */
38167 _ACEOF
38168 cat confdefs.h >>conftest.$ac_ext
38169 cat >>conftest.$ac_ext <<_ACEOF
38170 /* end confdefs.h. */
38171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38173 #define $ac_func innocuous_$ac_func
38174
38175 /* System header to define __stub macros and hopefully few prototypes,
38176 which can conflict with char $ac_func (); below.
38177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38178 <limits.h> exists even on freestanding compilers. */
38179
38180 #ifdef __STDC__
38181 # include <limits.h>
38182 #else
38183 # include <assert.h>
38184 #endif
38185
38186 #undef $ac_func
38187
38188 /* Override any gcc2 internal prototype to avoid an error. */
38189 #ifdef __cplusplus
38190 extern "C"
38191 {
38192 #endif
38193 /* We use char because int might match the return type of a gcc2
38194 builtin and then its argument prototype would still apply. */
38195 char $ac_func ();
38196 /* The GNU C library defines this for functions which it implements
38197 to always fail with ENOSYS. Some functions are actually named
38198 something starting with __ and the normal name is an alias. */
38199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38200 choke me
38201 #else
38202 char (*f) () = $ac_func;
38203 #endif
38204 #ifdef __cplusplus
38205 }
38206 #endif
38207
38208 int
38209 main ()
38210 {
38211 return f != $ac_func;
38212 ;
38213 return 0;
38214 }
38215 _ACEOF
38216 rm -f conftest.$ac_objext conftest$ac_exeext
38217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38218 (eval $ac_link) 2>conftest.er1
38219 ac_status=$?
38220 grep -v '^ *+' conftest.er1 >conftest.err
38221 rm -f conftest.er1
38222 cat conftest.err >&5
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); } &&
38225 { ac_try='test -z "$ac_c_werror_flag"
38226 || test ! -s conftest.err'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38229 ac_status=$?
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; } &&
38232 { ac_try='test -s conftest$ac_exeext'
38233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38234 (eval $ac_try) 2>&5
38235 ac_status=$?
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); }; }; then
38238 eval "$as_ac_var=yes"
38239 else
38240 echo "$as_me: failed program was:" >&5
38241 sed 's/^/| /' conftest.$ac_ext >&5
38242
38243 eval "$as_ac_var=no"
38244 fi
38245 rm -f conftest.err conftest.$ac_objext \
38246 conftest$ac_exeext conftest.$ac_ext
38247 fi
38248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38250 if test `eval echo '${'$as_ac_var'}'` = yes; then
38251 cat >>confdefs.h <<_ACEOF
38252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38253 _ACEOF
38254
38255 else
38256 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38257 fi
38258 done
38259
38260
38261 if test x$ac_cv_func_copysignl = x"yes"; then
38262
38263 for ac_func in __signbitl
38264 do
38265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38266 echo "$as_me:$LINENO: checking for $ac_func" >&5
38267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38268 if eval "test \"\${$as_ac_var+set}\" = set"; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 else
38271 if test x$gcc_no_link = xyes; then
38272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38274 { (exit 1); exit 1; }; }
38275 fi
38276 cat >conftest.$ac_ext <<_ACEOF
38277 /* confdefs.h. */
38278 _ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38284 #define $ac_func innocuous_$ac_func
38285
38286 /* System header to define __stub macros and hopefully few prototypes,
38287 which can conflict with char $ac_func (); below.
38288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38289 <limits.h> exists even on freestanding compilers. */
38290
38291 #ifdef __STDC__
38292 # include <limits.h>
38293 #else
38294 # include <assert.h>
38295 #endif
38296
38297 #undef $ac_func
38298
38299 /* Override any gcc2 internal prototype to avoid an error. */
38300 #ifdef __cplusplus
38301 extern "C"
38302 {
38303 #endif
38304 /* We use char because int might match the return type of a gcc2
38305 builtin and then its argument prototype would still apply. */
38306 char $ac_func ();
38307 /* The GNU C library defines this for functions which it implements
38308 to always fail with ENOSYS. Some functions are actually named
38309 something starting with __ and the normal name is an alias. */
38310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38311 choke me
38312 #else
38313 char (*f) () = $ac_func;
38314 #endif
38315 #ifdef __cplusplus
38316 }
38317 #endif
38318
38319 int
38320 main ()
38321 {
38322 return f != $ac_func;
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38329 (eval $ac_link) 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try='test -z "$ac_c_werror_flag"
38337 || test ! -s conftest.err'
38338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38339 (eval $ac_try) 2>&5
38340 ac_status=$?
38341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38342 (exit $ac_status); }; } &&
38343 { ac_try='test -s conftest$ac_exeext'
38344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38345 (eval $ac_try) 2>&5
38346 ac_status=$?
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); }; }; then
38349 eval "$as_ac_var=yes"
38350 else
38351 echo "$as_me: failed program was:" >&5
38352 sed 's/^/| /' conftest.$ac_ext >&5
38353
38354 eval "$as_ac_var=no"
38355 fi
38356 rm -f conftest.err conftest.$ac_objext \
38357 conftest$ac_exeext conftest.$ac_ext
38358 fi
38359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38361 if test `eval echo '${'$as_ac_var'}'` = yes; then
38362 cat >>confdefs.h <<_ACEOF
38363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38364 _ACEOF
38365
38366 else
38367 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38368 fi
38369 done
38370
38371 fi
38372
38373 # Used in libmath/Makefile.am.
38374 if test -n "$LIBMATHOBJS"; then
38375 need_libmath=yes
38376 fi
38377
38378
38379
38380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38381 ac_save_CXXFLAGS="$CXXFLAGS"
38382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38383
38384
38385 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38386 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38387 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38388 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38389 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 else
38391
38392
38393
38394 ac_ext=cc
38395 ac_cpp='$CXXCPP $CPPFLAGS'
38396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38399
38400 cat >conftest.$ac_ext <<_ACEOF
38401 /* confdefs.h. */
38402 _ACEOF
38403 cat confdefs.h >>conftest.$ac_ext
38404 cat >>conftest.$ac_ext <<_ACEOF
38405 /* end confdefs.h. */
38406 #include <stdlib.h>
38407 int
38408 main ()
38409 {
38410 strtold(0, 0);
38411 ;
38412 return 0;
38413 }
38414 _ACEOF
38415 rm -f conftest.$ac_objext
38416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38417 (eval $ac_compile) 2>conftest.er1
38418 ac_status=$?
38419 grep -v '^ *+' conftest.er1 >conftest.err
38420 rm -f conftest.er1
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } &&
38424 { ac_try='test -z "$ac_cxx_werror_flag"
38425 || test ! -s conftest.err'
38426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38427 (eval $ac_try) 2>&5
38428 ac_status=$?
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); }; } &&
38431 { ac_try='test -s conftest.$ac_objext'
38432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38433 (eval $ac_try) 2>&5
38434 ac_status=$?
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); }; }; then
38437 glibcxx_cv_func_strtold_use=yes
38438 else
38439 echo "$as_me: failed program was:" >&5
38440 sed 's/^/| /' conftest.$ac_ext >&5
38441
38442 glibcxx_cv_func_strtold_use=no
38443 fi
38444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38445 ac_ext=c
38446 ac_cpp='$CPP $CPPFLAGS'
38447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38450
38451
38452 fi
38453
38454 fi
38455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38456 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38457 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38458
38459 for ac_func in strtold
38460 do
38461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38462 echo "$as_me:$LINENO: checking for $ac_func" >&5
38463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38464 if eval "test \"\${$as_ac_var+set}\" = set"; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 else
38467 if test x$gcc_no_link = xyes; then
38468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38470 { (exit 1); exit 1; }; }
38471 fi
38472 cat >conftest.$ac_ext <<_ACEOF
38473 /* confdefs.h. */
38474 _ACEOF
38475 cat confdefs.h >>conftest.$ac_ext
38476 cat >>conftest.$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38480 #define $ac_func innocuous_$ac_func
38481
38482 /* System header to define __stub macros and hopefully few prototypes,
38483 which can conflict with char $ac_func (); below.
38484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38485 <limits.h> exists even on freestanding compilers. */
38486
38487 #ifdef __STDC__
38488 # include <limits.h>
38489 #else
38490 # include <assert.h>
38491 #endif
38492
38493 #undef $ac_func
38494
38495 /* Override any gcc2 internal prototype to avoid an error. */
38496 #ifdef __cplusplus
38497 extern "C"
38498 {
38499 #endif
38500 /* We use char because int might match the return type of a gcc2
38501 builtin and then its argument prototype would still apply. */
38502 char $ac_func ();
38503 /* The GNU C library defines this for functions which it implements
38504 to always fail with ENOSYS. Some functions are actually named
38505 something starting with __ and the normal name is an alias. */
38506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38507 choke me
38508 #else
38509 char (*f) () = $ac_func;
38510 #endif
38511 #ifdef __cplusplus
38512 }
38513 #endif
38514
38515 int
38516 main ()
38517 {
38518 return f != $ac_func;
38519 ;
38520 return 0;
38521 }
38522 _ACEOF
38523 rm -f conftest.$ac_objext conftest$ac_exeext
38524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38525 (eval $ac_link) 2>conftest.er1
38526 ac_status=$?
38527 grep -v '^ *+' conftest.er1 >conftest.err
38528 rm -f conftest.er1
38529 cat conftest.err >&5
38530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38531 (exit $ac_status); } &&
38532 { ac_try='test -z "$ac_c_werror_flag"
38533 || test ! -s conftest.err'
38534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38535 (eval $ac_try) 2>&5
38536 ac_status=$?
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); }; } &&
38539 { ac_try='test -s conftest$ac_exeext'
38540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38541 (eval $ac_try) 2>&5
38542 ac_status=$?
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); }; }; then
38545 eval "$as_ac_var=yes"
38546 else
38547 echo "$as_me: failed program was:" >&5
38548 sed 's/^/| /' conftest.$ac_ext >&5
38549
38550 eval "$as_ac_var=no"
38551 fi
38552 rm -f conftest.err conftest.$ac_objext \
38553 conftest$ac_exeext conftest.$ac_ext
38554 fi
38555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38557 if test `eval echo '${'$as_ac_var'}'` = yes; then
38558 cat >>confdefs.h <<_ACEOF
38559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38560 _ACEOF
38561
38562 fi
38563 done
38564
38565 fi
38566
38567
38568
38569
38570
38571 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38572 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38573 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38574 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38575 echo $ECHO_N "(cached) $ECHO_C" >&6
38576 else
38577
38578
38579
38580 ac_ext=cc
38581 ac_cpp='$CXXCPP $CPPFLAGS'
38582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585
38586 cat >conftest.$ac_ext <<_ACEOF
38587 /* confdefs.h. */
38588 _ACEOF
38589 cat confdefs.h >>conftest.$ac_ext
38590 cat >>conftest.$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38592 #include <stdlib.h>
38593 int
38594 main ()
38595 {
38596 strtof(0, 0);
38597 ;
38598 return 0;
38599 }
38600 _ACEOF
38601 rm -f conftest.$ac_objext
38602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38603 (eval $ac_compile) 2>conftest.er1
38604 ac_status=$?
38605 grep -v '^ *+' conftest.er1 >conftest.err
38606 rm -f conftest.er1
38607 cat conftest.err >&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); } &&
38610 { ac_try='test -z "$ac_cxx_werror_flag"
38611 || test ! -s conftest.err'
38612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38613 (eval $ac_try) 2>&5
38614 ac_status=$?
38615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38616 (exit $ac_status); }; } &&
38617 { ac_try='test -s conftest.$ac_objext'
38618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38619 (eval $ac_try) 2>&5
38620 ac_status=$?
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); }; }; then
38623 glibcxx_cv_func_strtof_use=yes
38624 else
38625 echo "$as_me: failed program was:" >&5
38626 sed 's/^/| /' conftest.$ac_ext >&5
38627
38628 glibcxx_cv_func_strtof_use=no
38629 fi
38630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38631 ac_ext=c
38632 ac_cpp='$CPP $CPPFLAGS'
38633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38636
38637
38638 fi
38639
38640 fi
38641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38642 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38643 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38644
38645 for ac_func in strtof
38646 do
38647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38648 echo "$as_me:$LINENO: checking for $ac_func" >&5
38649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38650 if eval "test \"\${$as_ac_var+set}\" = set"; then
38651 echo $ECHO_N "(cached) $ECHO_C" >&6
38652 else
38653 if test x$gcc_no_link = xyes; then
38654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38656 { (exit 1); exit 1; }; }
38657 fi
38658 cat >conftest.$ac_ext <<_ACEOF
38659 /* confdefs.h. */
38660 _ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38666 #define $ac_func innocuous_$ac_func
38667
38668 /* System header to define __stub macros and hopefully few prototypes,
38669 which can conflict with char $ac_func (); below.
38670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38671 <limits.h> exists even on freestanding compilers. */
38672
38673 #ifdef __STDC__
38674 # include <limits.h>
38675 #else
38676 # include <assert.h>
38677 #endif
38678
38679 #undef $ac_func
38680
38681 /* Override any gcc2 internal prototype to avoid an error. */
38682 #ifdef __cplusplus
38683 extern "C"
38684 {
38685 #endif
38686 /* We use char because int might match the return type of a gcc2
38687 builtin and then its argument prototype would still apply. */
38688 char $ac_func ();
38689 /* The GNU C library defines this for functions which it implements
38690 to always fail with ENOSYS. Some functions are actually named
38691 something starting with __ and the normal name is an alias. */
38692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38693 choke me
38694 #else
38695 char (*f) () = $ac_func;
38696 #endif
38697 #ifdef __cplusplus
38698 }
38699 #endif
38700
38701 int
38702 main ()
38703 {
38704 return f != $ac_func;
38705 ;
38706 return 0;
38707 }
38708 _ACEOF
38709 rm -f conftest.$ac_objext conftest$ac_exeext
38710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38711 (eval $ac_link) 2>conftest.er1
38712 ac_status=$?
38713 grep -v '^ *+' conftest.er1 >conftest.err
38714 rm -f conftest.er1
38715 cat conftest.err >&5
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); } &&
38718 { ac_try='test -z "$ac_c_werror_flag"
38719 || test ! -s conftest.err'
38720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38721 (eval $ac_try) 2>&5
38722 ac_status=$?
38723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38724 (exit $ac_status); }; } &&
38725 { ac_try='test -s conftest$ac_exeext'
38726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38727 (eval $ac_try) 2>&5
38728 ac_status=$?
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); }; }; then
38731 eval "$as_ac_var=yes"
38732 else
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.$ac_ext >&5
38735
38736 eval "$as_ac_var=no"
38737 fi
38738 rm -f conftest.err conftest.$ac_objext \
38739 conftest$ac_exeext conftest.$ac_ext
38740 fi
38741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38743 if test `eval echo '${'$as_ac_var'}'` = yes; then
38744 cat >>confdefs.h <<_ACEOF
38745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38746 _ACEOF
38747
38748 fi
38749 done
38750
38751 fi
38752
38753
38754
38755
38756
38757 CXXFLAGS="$ac_save_CXXFLAGS"
38758
38759
38760 # For showmanyc_helper().
38761
38762
38763 for ac_header in sys/ioctl.h sys/filio.h
38764 do
38765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38767 echo "$as_me:$LINENO: checking for $ac_header" >&5
38768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38771 fi
38772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38774 else
38775 # Is the header compilable?
38776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38778 cat >conftest.$ac_ext <<_ACEOF
38779 /* confdefs.h. */
38780 _ACEOF
38781 cat confdefs.h >>conftest.$ac_ext
38782 cat >>conftest.$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38784 $ac_includes_default
38785 #include <$ac_header>
38786 _ACEOF
38787 rm -f conftest.$ac_objext
38788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38789 (eval $ac_compile) 2>conftest.er1
38790 ac_status=$?
38791 grep -v '^ *+' conftest.er1 >conftest.err
38792 rm -f conftest.er1
38793 cat conftest.err >&5
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); } &&
38796 { ac_try='test -z "$ac_c_werror_flag"
38797 || test ! -s conftest.err'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38800 ac_status=$?
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; } &&
38803 { ac_try='test -s conftest.$ac_objext'
38804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38805 (eval $ac_try) 2>&5
38806 ac_status=$?
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); }; }; then
38809 ac_header_compiler=yes
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814 ac_header_compiler=no
38815 fi
38816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38818 echo "${ECHO_T}$ac_header_compiler" >&6
38819
38820 # Is the header present?
38821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38823 cat >conftest.$ac_ext <<_ACEOF
38824 /* confdefs.h. */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h. */
38829 #include <$ac_header>
38830 _ACEOF
38831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38833 ac_status=$?
38834 grep -v '^ *+' conftest.er1 >conftest.err
38835 rm -f conftest.er1
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } >/dev/null; then
38839 if test -s conftest.err; then
38840 ac_cpp_err=$ac_c_preproc_warn_flag
38841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38842 else
38843 ac_cpp_err=
38844 fi
38845 else
38846 ac_cpp_err=yes
38847 fi
38848 if test -z "$ac_cpp_err"; then
38849 ac_header_preproc=yes
38850 else
38851 echo "$as_me: failed program was:" >&5
38852 sed 's/^/| /' conftest.$ac_ext >&5
38853
38854 ac_header_preproc=no
38855 fi
38856 rm -f conftest.err conftest.$ac_ext
38857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38858 echo "${ECHO_T}$ac_header_preproc" >&6
38859
38860 # So? What about this header?
38861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38862 yes:no: )
38863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38867 ac_header_preproc=yes
38868 ;;
38869 no:yes:* )
38870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38882 (
38883 cat <<\_ASBOX
38884 ## ----------------------------------------- ##
38885 ## Report this to the package-unused lists. ##
38886 ## ----------------------------------------- ##
38887 _ASBOX
38888 ) |
38889 sed "s/^/$as_me: WARNING: /" >&2
38890 ;;
38891 esac
38892 echo "$as_me:$LINENO: checking for $ac_header" >&5
38893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38895 echo $ECHO_N "(cached) $ECHO_C" >&6
38896 else
38897 eval "$as_ac_Header=\$ac_header_preproc"
38898 fi
38899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38901
38902 fi
38903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38904 cat >>confdefs.h <<_ACEOF
38905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38906 _ACEOF
38907
38908 fi
38909
38910 done
38911
38912
38913 echo "$as_me:$LINENO: checking for poll" >&5
38914 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38915 if test "${glibcxx_cv_POLL+set}" = set; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 else
38918
38919 if test x$gcc_no_link = xyes; then
38920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38922 { (exit 1); exit 1; }; }
38923 fi
38924 cat >conftest.$ac_ext <<_ACEOF
38925 /* confdefs.h. */
38926 _ACEOF
38927 cat confdefs.h >>conftest.$ac_ext
38928 cat >>conftest.$ac_ext <<_ACEOF
38929 /* end confdefs.h. */
38930 #include <poll.h>
38931 int
38932 main ()
38933 {
38934 struct pollfd pfd[1];
38935 pfd[0].events = POLLIN;
38936 poll(pfd, 1, 0);
38937 ;
38938 return 0;
38939 }
38940 _ACEOF
38941 rm -f conftest.$ac_objext conftest$ac_exeext
38942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38943 (eval $ac_link) 2>conftest.er1
38944 ac_status=$?
38945 grep -v '^ *+' conftest.er1 >conftest.err
38946 rm -f conftest.er1
38947 cat conftest.err >&5
38948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38949 (exit $ac_status); } &&
38950 { ac_try='test -z "$ac_c_werror_flag"
38951 || test ! -s conftest.err'
38952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953 (eval $ac_try) 2>&5
38954 ac_status=$?
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); }; } &&
38957 { ac_try='test -s conftest$ac_exeext'
38958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38959 (eval $ac_try) 2>&5
38960 ac_status=$?
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); }; }; then
38963 glibcxx_cv_POLL=yes
38964 else
38965 echo "$as_me: failed program was:" >&5
38966 sed 's/^/| /' conftest.$ac_ext >&5
38967
38968 glibcxx_cv_POLL=no
38969 fi
38970 rm -f conftest.err conftest.$ac_objext \
38971 conftest$ac_exeext conftest.$ac_ext
38972
38973 fi
38974
38975 if test $glibcxx_cv_POLL = yes; then
38976
38977 cat >>confdefs.h <<\_ACEOF
38978 #define HAVE_POLL 1
38979 _ACEOF
38980
38981 fi
38982 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38983 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38984
38985
38986 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38987 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38988 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 else
38991
38992 if test x$gcc_no_link = xyes; then
38993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38995 { (exit 1); exit 1; }; }
38996 fi
38997 cat >conftest.$ac_ext <<_ACEOF
38998 /* confdefs.h. */
38999 _ACEOF
39000 cat confdefs.h >>conftest.$ac_ext
39001 cat >>conftest.$ac_ext <<_ACEOF
39002 /* end confdefs.h. */
39003 #include <sys/stat.h>
39004 int
39005 main ()
39006 {
39007 struct stat buffer;
39008 fstat(0, &buffer);
39009 S_ISREG(buffer.st_mode);
39010 ;
39011 return 0;
39012 }
39013 _ACEOF
39014 rm -f conftest.$ac_objext conftest$ac_exeext
39015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39016 (eval $ac_link) 2>conftest.er1
39017 ac_status=$?
39018 grep -v '^ *+' conftest.er1 >conftest.err
39019 rm -f conftest.er1
39020 cat conftest.err >&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); } &&
39023 { ac_try='test -z "$ac_c_werror_flag"
39024 || test ! -s conftest.err'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39027 ac_status=$?
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; } &&
39030 { ac_try='test -s conftest$ac_exeext'
39031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39032 (eval $ac_try) 2>&5
39033 ac_status=$?
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); }; }; then
39036 glibcxx_cv_S_ISREG=yes
39037 else
39038 echo "$as_me: failed program was:" >&5
39039 sed 's/^/| /' conftest.$ac_ext >&5
39040
39041 glibcxx_cv_S_ISREG=no
39042 fi
39043 rm -f conftest.err conftest.$ac_objext \
39044 conftest$ac_exeext conftest.$ac_ext
39045
39046 fi
39047
39048 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39049 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 else
39051
39052 if test x$gcc_no_link = xyes; then
39053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39055 { (exit 1); exit 1; }; }
39056 fi
39057 cat >conftest.$ac_ext <<_ACEOF
39058 /* confdefs.h. */
39059 _ACEOF
39060 cat confdefs.h >>conftest.$ac_ext
39061 cat >>conftest.$ac_ext <<_ACEOF
39062 /* end confdefs.h. */
39063 #include <sys/stat.h>
39064 int
39065 main ()
39066 {
39067 struct stat buffer;
39068 fstat(0, &buffer);
39069 S_IFREG & buffer.st_mode;
39070 ;
39071 return 0;
39072 }
39073 _ACEOF
39074 rm -f conftest.$ac_objext conftest$ac_exeext
39075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39076 (eval $ac_link) 2>conftest.er1
39077 ac_status=$?
39078 grep -v '^ *+' conftest.er1 >conftest.err
39079 rm -f conftest.er1
39080 cat conftest.err >&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); } &&
39083 { ac_try='test -z "$ac_c_werror_flag"
39084 || test ! -s conftest.err'
39085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39086 (eval $ac_try) 2>&5
39087 ac_status=$?
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); }; } &&
39090 { ac_try='test -s conftest$ac_exeext'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39093 ac_status=$?
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; }; then
39096 glibcxx_cv_S_IFREG=yes
39097 else
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.$ac_ext >&5
39100
39101 glibcxx_cv_S_IFREG=no
39102 fi
39103 rm -f conftest.err conftest.$ac_objext \
39104 conftest$ac_exeext conftest.$ac_ext
39105
39106 fi
39107
39108 res=no
39109 if test $glibcxx_cv_S_ISREG = yes; then
39110
39111 cat >>confdefs.h <<\_ACEOF
39112 #define HAVE_S_ISREG 1
39113 _ACEOF
39114
39115 res=S_ISREG
39116 elif test $glibcxx_cv_S_IFREG = yes; then
39117
39118 cat >>confdefs.h <<\_ACEOF
39119 #define HAVE_S_IFREG 1
39120 _ACEOF
39121
39122 res=S_IFREG
39123 fi
39124 echo "$as_me:$LINENO: result: $res" >&5
39125 echo "${ECHO_T}$res" >&6
39126
39127
39128 # For xsputn_2().
39129
39130 for ac_header in sys/uio.h
39131 do
39132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39134 echo "$as_me:$LINENO: checking for $ac_header" >&5
39135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 fi
39139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39141 else
39142 # Is the header compilable?
39143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39145 cat >conftest.$ac_ext <<_ACEOF
39146 /* confdefs.h. */
39147 _ACEOF
39148 cat confdefs.h >>conftest.$ac_ext
39149 cat >>conftest.$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 $ac_includes_default
39152 #include <$ac_header>
39153 _ACEOF
39154 rm -f conftest.$ac_objext
39155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39156 (eval $ac_compile) 2>conftest.er1
39157 ac_status=$?
39158 grep -v '^ *+' conftest.er1 >conftest.err
39159 rm -f conftest.er1
39160 cat conftest.err >&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); } &&
39163 { ac_try='test -z "$ac_c_werror_flag"
39164 || test ! -s conftest.err'
39165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39166 (eval $ac_try) 2>&5
39167 ac_status=$?
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); }; } &&
39170 { ac_try='test -s conftest.$ac_objext'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39173 ac_status=$?
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; }; then
39176 ac_header_compiler=yes
39177 else
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39180
39181 ac_header_compiler=no
39182 fi
39183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39185 echo "${ECHO_T}$ac_header_compiler" >&6
39186
39187 # Is the header present?
39188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39190 cat >conftest.$ac_ext <<_ACEOF
39191 /* confdefs.h. */
39192 _ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 #include <$ac_header>
39197 _ACEOF
39198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39200 ac_status=$?
39201 grep -v '^ *+' conftest.er1 >conftest.err
39202 rm -f conftest.er1
39203 cat conftest.err >&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); } >/dev/null; then
39206 if test -s conftest.err; then
39207 ac_cpp_err=$ac_c_preproc_warn_flag
39208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39209 else
39210 ac_cpp_err=
39211 fi
39212 else
39213 ac_cpp_err=yes
39214 fi
39215 if test -z "$ac_cpp_err"; then
39216 ac_header_preproc=yes
39217 else
39218 echo "$as_me: failed program was:" >&5
39219 sed 's/^/| /' conftest.$ac_ext >&5
39220
39221 ac_header_preproc=no
39222 fi
39223 rm -f conftest.err conftest.$ac_ext
39224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39225 echo "${ECHO_T}$ac_header_preproc" >&6
39226
39227 # So? What about this header?
39228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39229 yes:no: )
39230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39234 ac_header_preproc=yes
39235 ;;
39236 no:yes:* )
39237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39249 (
39250 cat <<\_ASBOX
39251 ## ----------------------------------------- ##
39252 ## Report this to the package-unused lists. ##
39253 ## ----------------------------------------- ##
39254 _ASBOX
39255 ) |
39256 sed "s/^/$as_me: WARNING: /" >&2
39257 ;;
39258 esac
39259 echo "$as_me:$LINENO: checking for $ac_header" >&5
39260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 else
39264 eval "$as_ac_Header=\$ac_header_preproc"
39265 fi
39266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39268
39269 fi
39270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39271 cat >>confdefs.h <<_ACEOF
39272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39273 _ACEOF
39274
39275 fi
39276
39277 done
39278
39279
39280 echo "$as_me:$LINENO: checking for writev" >&5
39281 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39282 if test "${glibcxx_cv_WRITEV+set}" = set; then
39283 echo $ECHO_N "(cached) $ECHO_C" >&6
39284 else
39285
39286 if test x$gcc_no_link = xyes; then
39287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39289 { (exit 1); exit 1; }; }
39290 fi
39291 cat >conftest.$ac_ext <<_ACEOF
39292 /* confdefs.h. */
39293 _ACEOF
39294 cat confdefs.h >>conftest.$ac_ext
39295 cat >>conftest.$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39297 #include <sys/uio.h>
39298 int
39299 main ()
39300 {
39301 struct iovec iov[2];
39302 writev(0, iov, 0);
39303 ;
39304 return 0;
39305 }
39306 _ACEOF
39307 rm -f conftest.$ac_objext conftest$ac_exeext
39308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39309 (eval $ac_link) 2>conftest.er1
39310 ac_status=$?
39311 grep -v '^ *+' conftest.er1 >conftest.err
39312 rm -f conftest.er1
39313 cat conftest.err >&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } &&
39316 { ac_try='test -z "$ac_c_werror_flag"
39317 || test ! -s conftest.err'
39318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39319 (eval $ac_try) 2>&5
39320 ac_status=$?
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); }; } &&
39323 { ac_try='test -s conftest$ac_exeext'
39324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325 (eval $ac_try) 2>&5
39326 ac_status=$?
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); }; }; then
39329 glibcxx_cv_WRITEV=yes
39330 else
39331 echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.$ac_ext >&5
39333
39334 glibcxx_cv_WRITEV=no
39335 fi
39336 rm -f conftest.err conftest.$ac_objext \
39337 conftest$ac_exeext conftest.$ac_ext
39338
39339 fi
39340
39341 if test $glibcxx_cv_WRITEV = yes; then
39342
39343 cat >>confdefs.h <<\_ACEOF
39344 #define HAVE_WRITEV 1
39345 _ACEOF
39346
39347 fi
39348 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39349 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39350
39351
39352 # For the __streamoff_base_type typedef.
39353
39354 echo "$as_me:$LINENO: checking for int64_t" >&5
39355 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39356 if test "${glibcxx_cv_INT64_T+set}" = set; then
39357 echo $ECHO_N "(cached) $ECHO_C" >&6
39358 else
39359
39360 cat >conftest.$ac_ext <<_ACEOF
39361 /* confdefs.h. */
39362 _ACEOF
39363 cat confdefs.h >>conftest.$ac_ext
39364 cat >>conftest.$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39366 #include <stdint.h>
39367 int
39368 main ()
39369 {
39370 int64_t var;
39371 ;
39372 return 0;
39373 }
39374 _ACEOF
39375 rm -f conftest.$ac_objext
39376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39377 (eval $ac_compile) 2>conftest.er1
39378 ac_status=$?
39379 grep -v '^ *+' conftest.er1 >conftest.err
39380 rm -f conftest.er1
39381 cat conftest.err >&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); } &&
39384 { ac_try='test -z "$ac_c_werror_flag"
39385 || test ! -s conftest.err'
39386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39387 (eval $ac_try) 2>&5
39388 ac_status=$?
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); }; } &&
39391 { ac_try='test -s conftest.$ac_objext'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; }; then
39397 glibcxx_cv_INT64_T=yes
39398 else
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39401
39402 glibcxx_cv_INT64_T=no
39403 fi
39404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39405
39406 fi
39407
39408 if test $glibcxx_cv_INT64_T = yes; then
39409
39410 cat >>confdefs.h <<\_ACEOF
39411 #define HAVE_INT64_T 1
39412 _ACEOF
39413
39414 fi
39415 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39416 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39417
39418
39419 # For LFS support.
39420
39421
39422
39423 ac_ext=cc
39424 ac_cpp='$CXXCPP $CPPFLAGS'
39425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39428
39429 ac_save_CXXFLAGS="$CXXFLAGS"
39430 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39431 echo "$as_me:$LINENO: checking for LFS support" >&5
39432 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39433 if test "${glibcxx_cv_LFS+set}" = set; then
39434 echo $ECHO_N "(cached) $ECHO_C" >&6
39435 else
39436
39437 if test x$gcc_no_link = xyes; then
39438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39440 { (exit 1); exit 1; }; }
39441 fi
39442 cat >conftest.$ac_ext <<_ACEOF
39443 /* confdefs.h. */
39444 _ACEOF
39445 cat confdefs.h >>conftest.$ac_ext
39446 cat >>conftest.$ac_ext <<_ACEOF
39447 /* end confdefs.h. */
39448 #include <unistd.h>
39449 #include <stdio.h>
39450 #include <sys/stat.h>
39451
39452 int
39453 main ()
39454 {
39455 FILE* fp;
39456 fopen64("t", "w");
39457 fseeko64(fp, 0, SEEK_CUR);
39458 ftello64(fp);
39459 lseek64(1, 0, SEEK_CUR);
39460 struct stat64 buf;
39461 fstat64(1, &buf);
39462 ;
39463 return 0;
39464 }
39465 _ACEOF
39466 rm -f conftest.$ac_objext conftest$ac_exeext
39467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39468 (eval $ac_link) 2>conftest.er1
39469 ac_status=$?
39470 grep -v '^ *+' conftest.er1 >conftest.err
39471 rm -f conftest.er1
39472 cat conftest.err >&5
39473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39474 (exit $ac_status); } &&
39475 { ac_try='test -z "$ac_cxx_werror_flag"
39476 || test ! -s conftest.err'
39477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39478 (eval $ac_try) 2>&5
39479 ac_status=$?
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); }; } &&
39482 { ac_try='test -s conftest$ac_exeext'
39483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39484 (eval $ac_try) 2>&5
39485 ac_status=$?
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; }; then
39488 glibcxx_cv_LFS=yes
39489 else
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.$ac_ext >&5
39492
39493 glibcxx_cv_LFS=no
39494 fi
39495 rm -f conftest.err conftest.$ac_objext \
39496 conftest$ac_exeext conftest.$ac_ext
39497
39498 fi
39499
39500 if test $glibcxx_cv_LFS = yes; then
39501
39502 cat >>confdefs.h <<\_ACEOF
39503 #define _GLIBCXX_USE_LFS 1
39504 _ACEOF
39505
39506 fi
39507 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39508 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39509 CXXFLAGS="$ac_save_CXXFLAGS"
39510 ac_ext=c
39511 ac_cpp='$CPP $CPPFLAGS'
39512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39515
39516
39517
39518 # For C99 support to TR1.
39519
39520
39521
39522
39523 ac_ext=cc
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528
39529
39530 # Check for the existence of <complex.h> complex math functions used
39531 # by tr1/complex.
39532
39533 for ac_header in complex.h
39534 do
39535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39537 echo "$as_me:$LINENO: checking for $ac_header" >&5
39538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39540 echo $ECHO_N "(cached) $ECHO_C" >&6
39541 fi
39542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39544 else
39545 # Is the header compilable?
39546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39548 cat >conftest.$ac_ext <<_ACEOF
39549 /* confdefs.h. */
39550 _ACEOF
39551 cat confdefs.h >>conftest.$ac_ext
39552 cat >>conftest.$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 $ac_includes_default
39555 #include <$ac_header>
39556 _ACEOF
39557 rm -f conftest.$ac_objext
39558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39559 (eval $ac_compile) 2>conftest.er1
39560 ac_status=$?
39561 grep -v '^ *+' conftest.er1 >conftest.err
39562 rm -f conftest.er1
39563 cat conftest.err >&5
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); } &&
39566 { ac_try='test -z "$ac_cxx_werror_flag"
39567 || test ! -s conftest.err'
39568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39569 (eval $ac_try) 2>&5
39570 ac_status=$?
39571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572 (exit $ac_status); }; } &&
39573 { ac_try='test -s conftest.$ac_objext'
39574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39575 (eval $ac_try) 2>&5
39576 ac_status=$?
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); }; }; then
39579 ac_header_compiler=yes
39580 else
39581 echo "$as_me: failed program was:" >&5
39582 sed 's/^/| /' conftest.$ac_ext >&5
39583
39584 ac_header_compiler=no
39585 fi
39586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39588 echo "${ECHO_T}$ac_header_compiler" >&6
39589
39590 # Is the header present?
39591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39593 cat >conftest.$ac_ext <<_ACEOF
39594 /* confdefs.h. */
39595 _ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599 #include <$ac_header>
39600 _ACEOF
39601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39603 ac_status=$?
39604 grep -v '^ *+' conftest.er1 >conftest.err
39605 rm -f conftest.er1
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } >/dev/null; then
39609 if test -s conftest.err; then
39610 ac_cpp_err=$ac_cxx_preproc_warn_flag
39611 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39612 else
39613 ac_cpp_err=
39614 fi
39615 else
39616 ac_cpp_err=yes
39617 fi
39618 if test -z "$ac_cpp_err"; then
39619 ac_header_preproc=yes
39620 else
39621 echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39623
39624 ac_header_preproc=no
39625 fi
39626 rm -f conftest.err conftest.$ac_ext
39627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39628 echo "${ECHO_T}$ac_header_preproc" >&6
39629
39630 # So? What about this header?
39631 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39632 yes:no: )
39633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39637 ac_header_preproc=yes
39638 ;;
39639 no:yes:* )
39640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39652 (
39653 cat <<\_ASBOX
39654 ## ----------------------------------------- ##
39655 ## Report this to the package-unused lists. ##
39656 ## ----------------------------------------- ##
39657 _ASBOX
39658 ) |
39659 sed "s/^/$as_me: WARNING: /" >&2
39660 ;;
39661 esac
39662 echo "$as_me:$LINENO: checking for $ac_header" >&5
39663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39665 echo $ECHO_N "(cached) $ECHO_C" >&6
39666 else
39667 eval "$as_ac_Header=\$ac_header_preproc"
39668 fi
39669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39671
39672 fi
39673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39674 cat >>confdefs.h <<_ACEOF
39675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39676 _ACEOF
39677 ac_has_complex_h=yes
39678 else
39679 ac_has_complex_h=no
39680 fi
39681
39682 done
39683
39684 ac_c99_complex_tr1=no;
39685 if test x"$ac_has_complex_h" = x"yes"; then
39686 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39687 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39688 cat >conftest.$ac_ext <<_ACEOF
39689 /* confdefs.h. */
39690 _ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39694 #include <complex.h>
39695 int
39696 main ()
39697 {
39698 typedef __complex__ float float_type; float_type tmpf;
39699 cacosf(tmpf);
39700 casinf(tmpf);
39701 catanf(tmpf);
39702 cacoshf(tmpf);
39703 casinhf(tmpf);
39704 catanhf(tmpf);
39705 typedef __complex__ double double_type; double_type tmpd;
39706 cacos(tmpd);
39707 casin(tmpd);
39708 catan(tmpd);
39709 cacosh(tmpd);
39710 casinh(tmpd);
39711 catanh(tmpd);
39712 typedef __complex__ long double ld_type; ld_type tmpld;
39713 cacosl(tmpld);
39714 casinl(tmpld);
39715 catanl(tmpld);
39716 cacoshl(tmpld);
39717 casinhl(tmpld);
39718 catanhl(tmpld);
39719
39720 ;
39721 return 0;
39722 }
39723 _ACEOF
39724 rm -f conftest.$ac_objext
39725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39726 (eval $ac_compile) 2>conftest.er1
39727 ac_status=$?
39728 grep -v '^ *+' conftest.er1 >conftest.err
39729 rm -f conftest.er1
39730 cat conftest.err >&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); } &&
39733 { ac_try='test -z "$ac_cxx_werror_flag"
39734 || test ! -s conftest.err'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; } &&
39740 { ac_try='test -s conftest.$ac_objext'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39743 ac_status=$?
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; }; then
39746 ac_c99_complex_tr1=yes
39747 else
39748 echo "$as_me: failed program was:" >&5
39749 sed 's/^/| /' conftest.$ac_ext >&5
39750
39751 ac_c99_complex_tr1=no
39752 fi
39753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39754 fi
39755 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39756 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39757 if test x"$ac_c99_complex_tr1" = x"yes"; then
39758
39759 cat >>confdefs.h <<\_ACEOF
39760 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39761 _ACEOF
39762
39763 fi
39764
39765 # Check for the existence of <ctype.h> functions.
39766 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39767 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39768 if test "${ac_c99_ctype_tr1+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 else
39771
39772 cat >conftest.$ac_ext <<_ACEOF
39773 /* confdefs.h. */
39774 _ACEOF
39775 cat confdefs.h >>conftest.$ac_ext
39776 cat >>conftest.$ac_ext <<_ACEOF
39777 /* end confdefs.h. */
39778 #include <ctype.h>
39779 int
39780 main ()
39781 {
39782 int ch;
39783 int ret;
39784 ret = isblank(ch);
39785
39786 ;
39787 return 0;
39788 }
39789 _ACEOF
39790 rm -f conftest.$ac_objext
39791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39792 (eval $ac_compile) 2>conftest.er1
39793 ac_status=$?
39794 grep -v '^ *+' conftest.er1 >conftest.err
39795 rm -f conftest.er1
39796 cat conftest.err >&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } &&
39799 { ac_try='test -z "$ac_cxx_werror_flag"
39800 || test ! -s conftest.err'
39801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39802 (eval $ac_try) 2>&5
39803 ac_status=$?
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); }; } &&
39806 { ac_try='test -s conftest.$ac_objext'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39809 ac_status=$?
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; }; then
39812 ac_c99_ctype_tr1=yes
39813 else
39814 echo "$as_me: failed program was:" >&5
39815 sed 's/^/| /' conftest.$ac_ext >&5
39816
39817 ac_c99_ctype_tr1=no
39818 fi
39819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39820
39821 fi
39822
39823 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39824 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39825 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39826
39827 cat >>confdefs.h <<\_ACEOF
39828 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39829 _ACEOF
39830
39831 fi
39832
39833 # Check for the existence of <fenv.h> functions.
39834
39835 for ac_header in fenv.h
39836 do
39837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39839 echo "$as_me:$LINENO: checking for $ac_header" >&5
39840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39842 echo $ECHO_N "(cached) $ECHO_C" >&6
39843 fi
39844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39846 else
39847 # Is the header compilable?
39848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39850 cat >conftest.$ac_ext <<_ACEOF
39851 /* confdefs.h. */
39852 _ACEOF
39853 cat confdefs.h >>conftest.$ac_ext
39854 cat >>conftest.$ac_ext <<_ACEOF
39855 /* end confdefs.h. */
39856 $ac_includes_default
39857 #include <$ac_header>
39858 _ACEOF
39859 rm -f conftest.$ac_objext
39860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39861 (eval $ac_compile) 2>conftest.er1
39862 ac_status=$?
39863 grep -v '^ *+' conftest.er1 >conftest.err
39864 rm -f conftest.er1
39865 cat conftest.err >&5
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); } &&
39868 { ac_try='test -z "$ac_cxx_werror_flag"
39869 || test ! -s conftest.err'
39870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39871 (eval $ac_try) 2>&5
39872 ac_status=$?
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); }; } &&
39875 { ac_try='test -s conftest.$ac_objext'
39876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39877 (eval $ac_try) 2>&5
39878 ac_status=$?
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); }; }; then
39881 ac_header_compiler=yes
39882 else
39883 echo "$as_me: failed program was:" >&5
39884 sed 's/^/| /' conftest.$ac_ext >&5
39885
39886 ac_header_compiler=no
39887 fi
39888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39890 echo "${ECHO_T}$ac_header_compiler" >&6
39891
39892 # Is the header present?
39893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39895 cat >conftest.$ac_ext <<_ACEOF
39896 /* confdefs.h. */
39897 _ACEOF
39898 cat confdefs.h >>conftest.$ac_ext
39899 cat >>conftest.$ac_ext <<_ACEOF
39900 /* end confdefs.h. */
39901 #include <$ac_header>
39902 _ACEOF
39903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39905 ac_status=$?
39906 grep -v '^ *+' conftest.er1 >conftest.err
39907 rm -f conftest.er1
39908 cat conftest.err >&5
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); } >/dev/null; then
39911 if test -s conftest.err; then
39912 ac_cpp_err=$ac_cxx_preproc_warn_flag
39913 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39914 else
39915 ac_cpp_err=
39916 fi
39917 else
39918 ac_cpp_err=yes
39919 fi
39920 if test -z "$ac_cpp_err"; then
39921 ac_header_preproc=yes
39922 else
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.$ac_ext >&5
39925
39926 ac_header_preproc=no
39927 fi
39928 rm -f conftest.err conftest.$ac_ext
39929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39930 echo "${ECHO_T}$ac_header_preproc" >&6
39931
39932 # So? What about this header?
39933 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39934 yes:no: )
39935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39939 ac_header_preproc=yes
39940 ;;
39941 no:yes:* )
39942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39954 (
39955 cat <<\_ASBOX
39956 ## ----------------------------------------- ##
39957 ## Report this to the package-unused lists. ##
39958 ## ----------------------------------------- ##
39959 _ASBOX
39960 ) |
39961 sed "s/^/$as_me: WARNING: /" >&2
39962 ;;
39963 esac
39964 echo "$as_me:$LINENO: checking for $ac_header" >&5
39965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39968 else
39969 eval "$as_ac_Header=\$ac_header_preproc"
39970 fi
39971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39973
39974 fi
39975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39976 cat >>confdefs.h <<_ACEOF
39977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39978 _ACEOF
39979 ac_has_fenv_h=yes
39980 else
39981 ac_has_fenv_h=no
39982 fi
39983
39984 done
39985
39986 ac_c99_fenv_tr1=no;
39987 if test x"$ac_has_fenv_h" = x"yes"; then
39988 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39989 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39990 cat >conftest.$ac_ext <<_ACEOF
39991 /* confdefs.h. */
39992 _ACEOF
39993 cat confdefs.h >>conftest.$ac_ext
39994 cat >>conftest.$ac_ext <<_ACEOF
39995 /* end confdefs.h. */
39996 #include <fenv.h>
39997 int
39998 main ()
39999 {
40000 int except, mode;
40001 fexcept_t* pflag;
40002 fenv_t* penv;
40003 int ret;
40004 ret = feclearexcept(except);
40005 ret = fegetexceptflag(pflag, except);
40006 ret = feraiseexcept(except);
40007 ret = fesetexceptflag(pflag, except);
40008 ret = fetestexcept(except);
40009 ret = fegetround();
40010 ret = fesetround(mode);
40011 ret = fegetenv(penv);
40012 ret = feholdexcept(penv);
40013 ret = fesetenv(penv);
40014 ret = feupdateenv(penv);
40015
40016 ;
40017 return 0;
40018 }
40019 _ACEOF
40020 rm -f conftest.$ac_objext
40021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40022 (eval $ac_compile) 2>conftest.er1
40023 ac_status=$?
40024 grep -v '^ *+' conftest.er1 >conftest.err
40025 rm -f conftest.er1
40026 cat conftest.err >&5
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); } &&
40029 { ac_try='test -z "$ac_cxx_werror_flag"
40030 || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try='test -s conftest.$ac_objext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 ac_c99_fenv_tr1=yes
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40046
40047 ac_c99_fenv_tr1=no
40048 fi
40049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40050 fi
40051 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40052 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40053 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40054
40055 cat >>confdefs.h <<\_ACEOF
40056 #define _GLIBCXX_USE_C99_FENV_TR1 1
40057 _ACEOF
40058
40059 fi
40060
40061 # Check for the existence of <stdint.h> types.
40062 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40063 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40064 if test "${ac_c99_stdint_tr1+set}" = set; then
40065 echo $ECHO_N "(cached) $ECHO_C" >&6
40066 else
40067
40068 cat >conftest.$ac_ext <<_ACEOF
40069 /* confdefs.h. */
40070 _ACEOF
40071 cat confdefs.h >>conftest.$ac_ext
40072 cat >>conftest.$ac_ext <<_ACEOF
40073 /* end confdefs.h. */
40074 #include <stdint.h>
40075 int
40076 main ()
40077 {
40078 typedef int8_t my_int8_t;
40079 typedef int16_t my_int16_t;
40080 typedef int32_t my_int32_t;
40081 typedef int64_t my_int64_t;
40082 typedef int_fast8_t my_int_fast8_t;
40083 typedef int_fast16_t my_int_fast16_t;
40084 typedef int_fast32_t my_int_fast32_t;
40085 typedef int_fast64_t my_int_fast64_t;
40086 typedef int_least8_t my_int_least8_t;
40087 typedef int_least16_t my_int_least16_t;
40088 typedef int_least32_t my_int_least32_t;
40089 typedef int_least64_t my_int_least64_t;
40090 typedef intmax_t my_intmax_t;
40091 typedef intptr_t my_intptr_t;
40092 typedef uint8_t my_uint8_t;
40093 typedef uint16_t my_uint16_t;
40094 typedef uint32_t my_uint32_t;
40095 typedef uint64_t my_uint64_t;
40096 typedef uint_fast8_t my_uint_fast8_t;
40097 typedef uint_fast16_t my_uint_fast16_t;
40098 typedef uint_fast32_t my_uint_fast32_t;
40099 typedef uint_fast64_t my_uint_fast64_t;
40100 typedef uint_least8_t my_uint_least8_t;
40101 typedef uint_least16_t my_uint_least16_t;
40102 typedef uint_least32_t my_uint_least32_t;
40103 typedef uint_least64_t my_uint_least64_t;
40104 typedef uintmax_t my_uintmax_t;
40105 typedef uintptr_t my_uintptr_t;
40106
40107 ;
40108 return 0;
40109 }
40110 _ACEOF
40111 rm -f conftest.$ac_objext
40112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40113 (eval $ac_compile) 2>conftest.er1
40114 ac_status=$?
40115 grep -v '^ *+' conftest.er1 >conftest.err
40116 rm -f conftest.er1
40117 cat conftest.err >&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } &&
40120 { ac_try='test -z "$ac_cxx_werror_flag"
40121 || test ! -s conftest.err'
40122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40123 (eval $ac_try) 2>&5
40124 ac_status=$?
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); }; } &&
40127 { ac_try='test -s conftest.$ac_objext'
40128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40129 (eval $ac_try) 2>&5
40130 ac_status=$?
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); }; }; then
40133 ac_c99_stdint_tr1=yes
40134 else
40135 echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40137
40138 ac_c99_stdint_tr1=no
40139 fi
40140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40141
40142 fi
40143
40144 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40145 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40146 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40147
40148 cat >>confdefs.h <<\_ACEOF
40149 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40150 _ACEOF
40151
40152 fi
40153
40154 # Check for the existence of <math.h> functions.
40155 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40156 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40157 if test "${ac_c99_math_tr1+set}" = set; then
40158 echo $ECHO_N "(cached) $ECHO_C" >&6
40159 else
40160
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h. */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167 #include <math.h>
40168 int
40169 main ()
40170 {
40171 typedef double_t my_double_t;
40172 typedef float_t my_float_t;
40173 acosh(0.0);
40174 acoshf(0.0f);
40175 acoshl(0.0l);
40176 asinh(0.0);
40177 asinhf(0.0f);
40178 asinhl(0.0l);
40179 atanh(0.0);
40180 atanhf(0.0f);
40181 atanhl(0.0l);
40182 cbrt(0.0);
40183 cbrtf(0.0f);
40184 cbrtl(0.0l);
40185 copysign(0.0, 0.0);
40186 copysignf(0.0f, 0.0f);
40187 copysignl(0.0l, 0.0l);
40188 erf(0.0);
40189 erff(0.0f);
40190 erfl(0.0l);
40191 erfc(0.0);
40192 erfcf(0.0f);
40193 erfcl(0.0l);
40194 exp2(0.0);
40195 exp2f(0.0f);
40196 exp2l(0.0l);
40197 expm1(0.0);
40198 expm1f(0.0f);
40199 expm1l(0.0l);
40200 fdim(0.0, 0.0);
40201 fdimf(0.0f, 0.0f);
40202 fdiml(0.0l, 0.0l);
40203 fma(0.0, 0.0, 0.0);
40204 fmaf(0.0f, 0.0f, 0.0f);
40205 fmal(0.0l, 0.0l, 0.0l);
40206 fmax(0.0, 0.0);
40207 fmaxf(0.0f, 0.0f);
40208 fmaxl(0.0l, 0.0l);
40209 fmin(0.0, 0.0);
40210 fminf(0.0f, 0.0f);
40211 fminl(0.0l, 0.0l);
40212 hypot(0.0, 0.0);
40213 hypotf(0.0f, 0.0f);
40214 hypotl(0.0l, 0.0l);
40215 ilogb(0.0);
40216 ilogbf(0.0f);
40217 ilogbl(0.0l);
40218 lgamma(0.0);
40219 lgammaf(0.0f);
40220 lgammal(0.0l);
40221 llrint(0.0);
40222 llrintf(0.0f);
40223 llrintl(0.0l);
40224 llround(0.0);
40225 llroundf(0.0f);
40226 llroundl(0.0l);
40227 log1p(0.0);
40228 log1pf(0.0f);
40229 log1pl(0.0l);
40230 log2(0.0);
40231 log2f(0.0f);
40232 log2l(0.0l);
40233 logb(0.0);
40234 logbf(0.0f);
40235 logbl(0.0l);
40236 lrint(0.0);
40237 lrintf(0.0f);
40238 lrintl(0.0l);
40239 lround(0.0);
40240 lroundf(0.0f);
40241 lroundl(0.0l);
40242 nan(0);
40243 nanf(0);
40244 nanl(0);
40245 nearbyint(0.0);
40246 nearbyintf(0.0f);
40247 nearbyintl(0.0l);
40248 nextafter(0.0, 0.0);
40249 nextafterf(0.0f, 0.0f);
40250 nextafterl(0.0l, 0.0l);
40251 nexttoward(0.0, 0.0);
40252 nexttowardf(0.0f, 0.0f);
40253 nexttowardl(0.0l, 0.0l);
40254 remainder(0.0, 0.0);
40255 remainderf(0.0f, 0.0f);
40256 remainderl(0.0l, 0.0l);
40257 remquo(0.0, 0.0, 0);
40258 remquo(0.0f, 0.0f, 0);
40259 remquo(0.0l, 0.0l, 0);
40260 rint(0.0);
40261 rintf(0.0f);
40262 rintl(0.0l);
40263 round(0.0);
40264 roundf(0.0f);
40265 roundl(0.0l);
40266 scalbln(0.0, 0l);
40267 scalblnf(0.0f, 0l);
40268 scalblnl(0.0l, 0l);
40269 scalbn(0.0, 0);
40270 scalbnf(0.0f, 0);
40271 scalbnl(0.0l, 0);
40272 tgamma(0.0);
40273 tgammaf(0.0f);
40274 tgammal(0.0l);
40275 trunc(0.0);
40276 truncf(0.0f);
40277 truncl(0.0l);
40278
40279 ;
40280 return 0;
40281 }
40282 _ACEOF
40283 rm -f conftest.$ac_objext
40284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40285 (eval $ac_compile) 2>conftest.er1
40286 ac_status=$?
40287 grep -v '^ *+' conftest.er1 >conftest.err
40288 rm -f conftest.er1
40289 cat conftest.err >&5
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); } &&
40292 { ac_try='test -z "$ac_cxx_werror_flag"
40293 || test ! -s conftest.err'
40294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40295 (eval $ac_try) 2>&5
40296 ac_status=$?
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); }; } &&
40299 { ac_try='test -s conftest.$ac_objext'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40302 ac_status=$?
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; }; then
40305 ac_c99_math_tr1=yes
40306 else
40307 echo "$as_me: failed program was:" >&5
40308 sed 's/^/| /' conftest.$ac_ext >&5
40309
40310 ac_c99_math_tr1=no
40311 fi
40312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40313
40314 fi
40315
40316 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40317 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40318 if test x"$ac_c99_math_tr1" = x"yes"; then
40319
40320 cat >>confdefs.h <<\_ACEOF
40321 #define _GLIBCXX_USE_C99_MATH_TR1 1
40322 _ACEOF
40323
40324 fi
40325
40326 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40327 # sense if the previous check fails, per C99, 7.8/1).
40328 ac_c99_inttypes_tr1=no;
40329 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40330 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40331 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40332 cat >conftest.$ac_ext <<_ACEOF
40333 /* confdefs.h. */
40334 _ACEOF
40335 cat confdefs.h >>conftest.$ac_ext
40336 cat >>conftest.$ac_ext <<_ACEOF
40337 /* end confdefs.h. */
40338 #include <inttypes.h>
40339 int
40340 main ()
40341 {
40342 intmax_t i, numer, denom, base;
40343 const char* s;
40344 char** endptr;
40345 intmax_t ret = imaxabs(i);
40346 imaxdiv_t dret = imaxdiv(numer, denom);
40347 ret = strtoimax(s, endptr, base);
40348 uintmax_t uret = strtoumax(s, endptr, base);
40349
40350 ;
40351 return 0;
40352 }
40353 _ACEOF
40354 rm -f conftest.$ac_objext
40355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40356 (eval $ac_compile) 2>conftest.er1
40357 ac_status=$?
40358 grep -v '^ *+' conftest.er1 >conftest.err
40359 rm -f conftest.er1
40360 cat conftest.err >&5
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); } &&
40363 { ac_try='test -z "$ac_cxx_werror_flag"
40364 || test ! -s conftest.err'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; } &&
40370 { ac_try='test -s conftest.$ac_objext'
40371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40372 (eval $ac_try) 2>&5
40373 ac_status=$?
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); }; }; then
40376 ac_c99_inttypes_tr1=yes
40377 else
40378 echo "$as_me: failed program was:" >&5
40379 sed 's/^/| /' conftest.$ac_ext >&5
40380
40381 ac_c99_inttypes_tr1=no
40382 fi
40383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40384 fi
40385 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40386 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40387 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40388
40389 cat >>confdefs.h <<\_ACEOF
40390 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40391 _ACEOF
40392
40393 fi
40394
40395 # Check for the existence of the <stdbool.h> header.
40396
40397 for ac_header in stdbool.h
40398 do
40399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40401 echo "$as_me:$LINENO: checking for $ac_header" >&5
40402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40404 echo $ECHO_N "(cached) $ECHO_C" >&6
40405 fi
40406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40408 else
40409 # Is the header compilable?
40410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40412 cat >conftest.$ac_ext <<_ACEOF
40413 /* confdefs.h. */
40414 _ACEOF
40415 cat confdefs.h >>conftest.$ac_ext
40416 cat >>conftest.$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 $ac_includes_default
40419 #include <$ac_header>
40420 _ACEOF
40421 rm -f conftest.$ac_objext
40422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40423 (eval $ac_compile) 2>conftest.er1
40424 ac_status=$?
40425 grep -v '^ *+' conftest.er1 >conftest.err
40426 rm -f conftest.er1
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } &&
40430 { ac_try='test -z "$ac_cxx_werror_flag"
40431 || test ! -s conftest.err'
40432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40433 (eval $ac_try) 2>&5
40434 ac_status=$?
40435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436 (exit $ac_status); }; } &&
40437 { ac_try='test -s conftest.$ac_objext'
40438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40439 (eval $ac_try) 2>&5
40440 ac_status=$?
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); }; }; then
40443 ac_header_compiler=yes
40444 else
40445 echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.$ac_ext >&5
40447
40448 ac_header_compiler=no
40449 fi
40450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40452 echo "${ECHO_T}$ac_header_compiler" >&6
40453
40454 # Is the header present?
40455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40457 cat >conftest.$ac_ext <<_ACEOF
40458 /* confdefs.h. */
40459 _ACEOF
40460 cat confdefs.h >>conftest.$ac_ext
40461 cat >>conftest.$ac_ext <<_ACEOF
40462 /* end confdefs.h. */
40463 #include <$ac_header>
40464 _ACEOF
40465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40467 ac_status=$?
40468 grep -v '^ *+' conftest.er1 >conftest.err
40469 rm -f conftest.er1
40470 cat conftest.err >&5
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); } >/dev/null; then
40473 if test -s conftest.err; then
40474 ac_cpp_err=$ac_cxx_preproc_warn_flag
40475 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40476 else
40477 ac_cpp_err=
40478 fi
40479 else
40480 ac_cpp_err=yes
40481 fi
40482 if test -z "$ac_cpp_err"; then
40483 ac_header_preproc=yes
40484 else
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40487
40488 ac_header_preproc=no
40489 fi
40490 rm -f conftest.err conftest.$ac_ext
40491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40492 echo "${ECHO_T}$ac_header_preproc" >&6
40493
40494 # So? What about this header?
40495 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40496 yes:no: )
40497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40501 ac_header_preproc=yes
40502 ;;
40503 no:yes:* )
40504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40516 (
40517 cat <<\_ASBOX
40518 ## ----------------------------------------- ##
40519 ## Report this to the package-unused lists. ##
40520 ## ----------------------------------------- ##
40521 _ASBOX
40522 ) |
40523 sed "s/^/$as_me: WARNING: /" >&2
40524 ;;
40525 esac
40526 echo "$as_me:$LINENO: checking for $ac_header" >&5
40527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40529 echo $ECHO_N "(cached) $ECHO_C" >&6
40530 else
40531 eval "$as_ac_Header=\$ac_header_preproc"
40532 fi
40533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40535
40536 fi
40537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40538 cat >>confdefs.h <<_ACEOF
40539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40540 _ACEOF
40541
40542 fi
40543
40544 done
40545
40546
40547 ac_ext=c
40548 ac_cpp='$CPP $CPPFLAGS'
40549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40552
40553
40554
40555 # For dev/random and dev/urandom for TR1.
40556
40557
40558 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40559 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40560 if test "${ac_random_tr1+set}" = set; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 else
40563
40564 if test "$cross_compiling" = yes; then
40565 ac_random_tr1=no
40566 else
40567 cat >conftest.$ac_ext <<_ACEOF
40568 /* confdefs.h. */
40569 _ACEOF
40570 cat confdefs.h >>conftest.$ac_ext
40571 cat >>conftest.$ac_ext <<_ACEOF
40572 /* end confdefs.h. */
40573 #include <stdio.h>
40574 int main()
40575 {
40576 return !(fopen("/dev/random", "r")
40577 && fopen("/dev/urandom", "r"));
40578 }
40579
40580 _ACEOF
40581 rm -f conftest$ac_exeext
40582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40583 (eval $ac_link) 2>&5
40584 ac_status=$?
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40588 (eval $ac_try) 2>&5
40589 ac_status=$?
40590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591 (exit $ac_status); }; }; then
40592 ac_random_tr1=yes
40593 else
40594 echo "$as_me: program exited with status $ac_status" >&5
40595 echo "$as_me: failed program was:" >&5
40596 sed 's/^/| /' conftest.$ac_ext >&5
40597
40598 ( exit $ac_status )
40599 ac_random_tr1=no
40600 fi
40601 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40602 fi
40603
40604 fi
40605
40606 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40607 echo "${ECHO_T}$ac_random_tr1" >&6
40608 if test x"$ac_random_tr1" = x"yes"; then
40609
40610 cat >>confdefs.h <<\_ACEOF
40611 #define _GLIBCXX_USE_RANDOM_TR1 1
40612 _ACEOF
40613
40614 fi
40615
40616
40617
40618 # For TLS support.
40619
40620 # Check whether --enable-tls or --disable-tls was given.
40621 if test "${enable_tls+set}" = set; then
40622 enableval="$enable_tls"
40623
40624 case "$enableval" in
40625 yes|no) ;;
40626 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40627 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40628 { (exit 1); exit 1; }; } ;;
40629 esac
40630
40631 else
40632 enable_tls=yes
40633 fi;
40634
40635 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40636 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40637 if test "${gcc_cv_have_tls+set}" = set; then
40638 echo $ECHO_N "(cached) $ECHO_C" >&6
40639 else
40640
40641 if test "$cross_compiling" = yes; then
40642 if test x$gcc_no_link = xyes; then
40643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40645 { (exit 1); exit 1; }; }
40646 fi
40647 cat >conftest.$ac_ext <<_ACEOF
40648 __thread int a; int b; int main() { return a = b; }
40649 _ACEOF
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40652 (eval $ac_link) 2>conftest.er1
40653 ac_status=$?
40654 grep -v '^ *+' conftest.er1 >conftest.err
40655 rm -f conftest.er1
40656 cat conftest.err >&5
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); } &&
40659 { ac_try='test -z "$ac_c_werror_flag"
40660 || test ! -s conftest.err'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40663 ac_status=$?
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; } &&
40666 { ac_try='test -s conftest$ac_exeext'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40669 ac_status=$?
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; }; then
40672 gcc_cv_have_tls=yes
40673 else
40674 echo "$as_me: failed program was:" >&5
40675 sed 's/^/| /' conftest.$ac_ext >&5
40676
40677 gcc_cv_have_tls=no
40678 fi
40679 rm -f conftest.err conftest.$ac_objext \
40680 conftest$ac_exeext conftest.$ac_ext
40681
40682
40683 else
40684 cat >conftest.$ac_ext <<_ACEOF
40685 __thread int a; int b; int main() { return a = b; }
40686 _ACEOF
40687 rm -f conftest$ac_exeext
40688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40689 (eval $ac_link) 2>&5
40690 ac_status=$?
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40695 ac_status=$?
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; }; then
40698 chktls_save_LDFLAGS="$LDFLAGS"
40699 LDFLAGS="-static $LDFLAGS"
40700 if test x$gcc_no_link = xyes; then
40701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40703 { (exit 1); exit 1; }; }
40704 fi
40705 cat >conftest.$ac_ext <<_ACEOF
40706 int main() { return 0; }
40707 _ACEOF
40708 rm -f conftest.$ac_objext conftest$ac_exeext
40709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40710 (eval $ac_link) 2>conftest.er1
40711 ac_status=$?
40712 grep -v '^ *+' conftest.er1 >conftest.err
40713 rm -f conftest.er1
40714 cat conftest.err >&5
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); } &&
40717 { ac_try='test -z "$ac_c_werror_flag"
40718 || test ! -s conftest.err'
40719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40720 (eval $ac_try) 2>&5
40721 ac_status=$?
40722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40723 (exit $ac_status); }; } &&
40724 { ac_try='test -s conftest$ac_exeext'
40725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40726 (eval $ac_try) 2>&5
40727 ac_status=$?
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); }; }; then
40730 if test "$cross_compiling" = yes; then
40731 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40732 See \`config.log' for more details." >&5
40733 echo "$as_me: error: cannot run test program while cross compiling
40734 See \`config.log' for more details." >&2;}
40735 { (exit 1); exit 1; }; }
40736 else
40737 cat >conftest.$ac_ext <<_ACEOF
40738 __thread int a; int b; int main() { return a = b; }
40739 _ACEOF
40740 rm -f conftest$ac_exeext
40741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40742 (eval $ac_link) 2>&5
40743 ac_status=$?
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40747 (eval $ac_try) 2>&5
40748 ac_status=$?
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); }; }; then
40751 gcc_cv_have_tls=yes
40752 else
40753 echo "$as_me: program exited with status $ac_status" >&5
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.$ac_ext >&5
40756
40757 ( exit $ac_status )
40758 gcc_cv_have_tls=no
40759 fi
40760 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40761 fi
40762 else
40763 echo "$as_me: failed program was:" >&5
40764 sed 's/^/| /' conftest.$ac_ext >&5
40765
40766 gcc_cv_have_tls=yes
40767 fi
40768 rm -f conftest.err conftest.$ac_objext \
40769 conftest$ac_exeext conftest.$ac_ext
40770 LDFLAGS="$chktls_save_LDFLAGS"
40771 if test $gcc_cv_have_tls = yes; then
40772 chktls_save_CFLAGS="$CFLAGS"
40773 thread_CFLAGS=failed
40774 for flag in '' '-pthread' '-lpthread'; do
40775 CFLAGS="$flag $chktls_save_CFLAGS"
40776 if test x$gcc_no_link = xyes; then
40777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40779 { (exit 1); exit 1; }; }
40780 fi
40781 cat >conftest.$ac_ext <<_ACEOF
40782 /* confdefs.h. */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 #include <pthread.h>
40788 void *g(void *d) { return NULL; }
40789 int
40790 main ()
40791 {
40792 pthread_t t; pthread_create(&t,NULL,g,NULL);
40793 ;
40794 return 0;
40795 }
40796 _ACEOF
40797 rm -f conftest.$ac_objext conftest$ac_exeext
40798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40799 (eval $ac_link) 2>conftest.er1
40800 ac_status=$?
40801 grep -v '^ *+' conftest.er1 >conftest.err
40802 rm -f conftest.er1
40803 cat conftest.err >&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } &&
40806 { ac_try='test -z "$ac_c_werror_flag"
40807 || test ! -s conftest.err'
40808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40809 (eval $ac_try) 2>&5
40810 ac_status=$?
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); }; } &&
40813 { ac_try='test -s conftest$ac_exeext'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40816 ac_status=$?
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; }; then
40819 thread_CFLAGS="$flag"
40820 else
40821 echo "$as_me: failed program was:" >&5
40822 sed 's/^/| /' conftest.$ac_ext >&5
40823
40824 fi
40825 rm -f conftest.err conftest.$ac_objext \
40826 conftest$ac_exeext conftest.$ac_ext
40827 if test "X$thread_CFLAGS" != Xfailed; then
40828 break
40829 fi
40830 done
40831 CFLAGS="$chktls_save_CFLAGS"
40832 if test "X$thread_CFLAGS" != Xfailed; then
40833 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40834 if test "$cross_compiling" = yes; then
40835 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40836 See \`config.log' for more details." >&5
40837 echo "$as_me: error: cannot run test program while cross compiling
40838 See \`config.log' for more details." >&2;}
40839 { (exit 1); exit 1; }; }
40840 else
40841 cat >conftest.$ac_ext <<_ACEOF
40842 /* confdefs.h. */
40843 _ACEOF
40844 cat confdefs.h >>conftest.$ac_ext
40845 cat >>conftest.$ac_ext <<_ACEOF
40846 /* end confdefs.h. */
40847 #include <pthread.h>
40848 __thread int a;
40849 static int *a_in_other_thread;
40850 static void *
40851 thread_func (void *arg)
40852 {
40853 a_in_other_thread = &a;
40854 return (void *)0;
40855 }
40856 int
40857 main ()
40858 {
40859 pthread_t thread;
40860 void *thread_retval;
40861 int *a_in_main_thread;
40862 if (pthread_create (&thread, (pthread_attr_t *)0,
40863 thread_func, (void *)0))
40864 return 0;
40865 a_in_main_thread = &a;
40866 if (pthread_join (thread, &thread_retval))
40867 return 0;
40868 return (a_in_other_thread == a_in_main_thread);
40869 ;
40870 return 0;
40871 }
40872 _ACEOF
40873 rm -f conftest$ac_exeext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40875 (eval $ac_link) 2>&5
40876 ac_status=$?
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40880 (eval $ac_try) 2>&5
40881 ac_status=$?
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); }; }; then
40884 gcc_cv_have_tls=yes
40885 else
40886 echo "$as_me: program exited with status $ac_status" >&5
40887 echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.$ac_ext >&5
40889
40890 ( exit $ac_status )
40891 gcc_cv_have_tls=no
40892 fi
40893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40894 fi
40895 CFLAGS="$chktls_save_CFLAGS"
40896 fi
40897 fi
40898 else
40899 echo "$as_me: program exited with status $ac_status" >&5
40900 echo "$as_me: failed program was:" >&5
40901 sed 's/^/| /' conftest.$ac_ext >&5
40902
40903 ( exit $ac_status )
40904 gcc_cv_have_tls=no
40905 fi
40906 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40907 fi
40908 fi
40909 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40910 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40911 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40912
40913 cat >>confdefs.h <<\_ACEOF
40914 #define HAVE_TLS 1
40915 _ACEOF
40916
40917 fi
40918
40919 # For _Unwind_GetIPInfo.
40920
40921
40922
40923 ac_ext=cc
40924 ac_cpp='$CXXCPP $CPPFLAGS'
40925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40928
40929 ac_save_CXXFLAGS="$CXXFLAGS"
40930 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40931 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40932 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40933 if test "${gcc_cv_getipinfo+set}" = set; then
40934 echo $ECHO_N "(cached) $ECHO_C" >&6
40935 else
40936
40937 if test x$gcc_no_link = xyes; then
40938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40940 { (exit 1); exit 1; }; }
40941 fi
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 extern "C" { extern void _Unwind_GetIPInfo(); }
40949 int
40950 main ()
40951 {
40952 _Unwind_GetIPInfo();
40953 ;
40954 return 0;
40955 }
40956 _ACEOF
40957 rm -f conftest.$ac_objext conftest$ac_exeext
40958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40959 (eval $ac_link) 2>conftest.er1
40960 ac_status=$?
40961 grep -v '^ *+' conftest.er1 >conftest.err
40962 rm -f conftest.er1
40963 cat conftest.err >&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } &&
40966 { ac_try='test -z "$ac_cxx_werror_flag"
40967 || test ! -s conftest.err'
40968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40969 (eval $ac_try) 2>&5
40970 ac_status=$?
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); }; } &&
40973 { ac_try='test -s conftest$ac_exeext'
40974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40975 (eval $ac_try) 2>&5
40976 ac_status=$?
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); }; }; then
40979 gcc_cv_getipinfo=yes
40980 else
40981 echo "$as_me: failed program was:" >&5
40982 sed 's/^/| /' conftest.$ac_ext >&5
40983
40984 gcc_cv_getipinfo=no
40985 fi
40986 rm -f conftest.err conftest.$ac_objext \
40987 conftest$ac_exeext conftest.$ac_ext
40988
40989 fi
40990
40991 if test $gcc_cv_getipinfo = yes; then
40992
40993 cat >>confdefs.h <<\_ACEOF
40994 #define HAVE_GETIPINFO 1
40995 _ACEOF
40996
40997 fi
40998 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40999 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41000 CXXFLAGS="$ac_save_CXXFLAGS"
41001 ac_ext=c
41002 ac_cpp='$CPP $CPPFLAGS'
41003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41006
41007
41008
41009
41010 if test "${ac_cv_header_locale_h+set}" = set; then
41011 echo "$as_me:$LINENO: checking for locale.h" >&5
41012 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41013 if test "${ac_cv_header_locale_h+set}" = set; then
41014 echo $ECHO_N "(cached) $ECHO_C" >&6
41015 fi
41016 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41017 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41018 else
41019 # Is the header compilable?
41020 echo "$as_me:$LINENO: checking locale.h usability" >&5
41021 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41022 cat >conftest.$ac_ext <<_ACEOF
41023 /* confdefs.h. */
41024 _ACEOF
41025 cat confdefs.h >>conftest.$ac_ext
41026 cat >>conftest.$ac_ext <<_ACEOF
41027 /* end confdefs.h. */
41028 $ac_includes_default
41029 #include <locale.h>
41030 _ACEOF
41031 rm -f conftest.$ac_objext
41032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41033 (eval $ac_compile) 2>conftest.er1
41034 ac_status=$?
41035 grep -v '^ *+' conftest.er1 >conftest.err
41036 rm -f conftest.er1
41037 cat conftest.err >&5
41038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41039 (exit $ac_status); } &&
41040 { ac_try='test -z "$ac_c_werror_flag"
41041 || test ! -s conftest.err'
41042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41043 (eval $ac_try) 2>&5
41044 ac_status=$?
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); }; } &&
41047 { ac_try='test -s conftest.$ac_objext'
41048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41049 (eval $ac_try) 2>&5
41050 ac_status=$?
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); }; }; then
41053 ac_header_compiler=yes
41054 else
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41057
41058 ac_header_compiler=no
41059 fi
41060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41062 echo "${ECHO_T}$ac_header_compiler" >&6
41063
41064 # Is the header present?
41065 echo "$as_me:$LINENO: checking locale.h presence" >&5
41066 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41067 cat >conftest.$ac_ext <<_ACEOF
41068 /* confdefs.h. */
41069 _ACEOF
41070 cat confdefs.h >>conftest.$ac_ext
41071 cat >>conftest.$ac_ext <<_ACEOF
41072 /* end confdefs.h. */
41073 #include <locale.h>
41074 _ACEOF
41075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41077 ac_status=$?
41078 grep -v '^ *+' conftest.er1 >conftest.err
41079 rm -f conftest.er1
41080 cat conftest.err >&5
41081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41082 (exit $ac_status); } >/dev/null; then
41083 if test -s conftest.err; then
41084 ac_cpp_err=$ac_c_preproc_warn_flag
41085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41086 else
41087 ac_cpp_err=
41088 fi
41089 else
41090 ac_cpp_err=yes
41091 fi
41092 if test -z "$ac_cpp_err"; then
41093 ac_header_preproc=yes
41094 else
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41097
41098 ac_header_preproc=no
41099 fi
41100 rm -f conftest.err conftest.$ac_ext
41101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41102 echo "${ECHO_T}$ac_header_preproc" >&6
41103
41104 # So? What about this header?
41105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41106 yes:no: )
41107 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41108 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41109 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41110 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41111 ac_header_preproc=yes
41112 ;;
41113 no:yes:* )
41114 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41115 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41116 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41117 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41118 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41119 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41120 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41121 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41122 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41123 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41124 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41125 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41126 (
41127 cat <<\_ASBOX
41128 ## ----------------------------------------- ##
41129 ## Report this to the package-unused lists. ##
41130 ## ----------------------------------------- ##
41131 _ASBOX
41132 ) |
41133 sed "s/^/$as_me: WARNING: /" >&2
41134 ;;
41135 esac
41136 echo "$as_me:$LINENO: checking for locale.h" >&5
41137 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41138 if test "${ac_cv_header_locale_h+set}" = set; then
41139 echo $ECHO_N "(cached) $ECHO_C" >&6
41140 else
41141 ac_cv_header_locale_h=$ac_header_preproc
41142 fi
41143 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41144 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41145
41146 fi
41147 if test $ac_cv_header_locale_h = yes; then
41148
41149 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41150 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41151 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41152 echo $ECHO_N "(cached) $ECHO_C" >&6
41153 else
41154 if test x$gcc_no_link = xyes; then
41155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41157 { (exit 1); exit 1; }; }
41158 fi
41159 cat >conftest.$ac_ext <<_ACEOF
41160 /* confdefs.h. */
41161 _ACEOF
41162 cat confdefs.h >>conftest.$ac_ext
41163 cat >>conftest.$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165 #include <locale.h>
41166 int
41167 main ()
41168 {
41169 return LC_MESSAGES
41170 ;
41171 return 0;
41172 }
41173 _ACEOF
41174 rm -f conftest.$ac_objext conftest$ac_exeext
41175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41176 (eval $ac_link) 2>conftest.er1
41177 ac_status=$?
41178 grep -v '^ *+' conftest.er1 >conftest.err
41179 rm -f conftest.er1
41180 cat conftest.err >&5
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); } &&
41183 { ac_try='test -z "$ac_c_werror_flag"
41184 || test ! -s conftest.err'
41185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41186 (eval $ac_try) 2>&5
41187 ac_status=$?
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); }; } &&
41190 { ac_try='test -s conftest$ac_exeext'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41193 ac_status=$?
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; }; then
41196 ac_cv_val_LC_MESSAGES=yes
41197 else
41198 echo "$as_me: failed program was:" >&5
41199 sed 's/^/| /' conftest.$ac_ext >&5
41200
41201 ac_cv_val_LC_MESSAGES=no
41202 fi
41203 rm -f conftest.err conftest.$ac_objext \
41204 conftest$ac_exeext conftest.$ac_ext
41205 fi
41206 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41207 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41208 if test $ac_cv_val_LC_MESSAGES = yes; then
41209
41210 cat >>confdefs.h <<\_ACEOF
41211 #define HAVE_LC_MESSAGES 1
41212 _ACEOF
41213
41214 fi
41215
41216 fi
41217
41218
41219
41220
41221 cat >conftest.$ac_ext <<_ACEOF
41222 /* confdefs.h. */
41223 _ACEOF
41224 cat confdefs.h >>conftest.$ac_ext
41225 cat >>conftest.$ac_ext <<_ACEOF
41226 /* end confdefs.h. */
41227 #include <setjmp.h>
41228 int
41229 main ()
41230 {
41231 sigjmp_buf env;
41232 while (! sigsetjmp (env, 1))
41233 siglongjmp (env, 1);
41234
41235 ;
41236 return 0;
41237 }
41238 _ACEOF
41239 rm -f conftest.$ac_objext
41240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41241 (eval $ac_compile) 2>conftest.er1
41242 ac_status=$?
41243 grep -v '^ *+' conftest.er1 >conftest.err
41244 rm -f conftest.er1
41245 cat conftest.err >&5
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); } &&
41248 { ac_try='test -z "$ac_c_werror_flag"
41249 || test ! -s conftest.err'
41250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41251 (eval $ac_try) 2>&5
41252 ac_status=$?
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); }; } &&
41255 { ac_try='test -s conftest.$ac_objext'
41256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41257 (eval $ac_try) 2>&5
41258 ac_status=$?
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); }; }; then
41261
41262 cat >>confdefs.h <<\_ACEOF
41263 #define HAVE_SIGSETJMP 1
41264 _ACEOF
41265
41266 else
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41269
41270 fi
41271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41272
41273 if test x$gcc_no_link = xyes; then
41274 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41275 ac_cv_func_mmap_fixed_mapped=no
41276 fi
41277 fi
41278 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41279
41280
41281 for ac_header in stdlib.h unistd.h
41282 do
41283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41285 echo "$as_me:$LINENO: checking for $ac_header" >&5
41286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41288 echo $ECHO_N "(cached) $ECHO_C" >&6
41289 fi
41290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41292 else
41293 # Is the header compilable?
41294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41296 cat >conftest.$ac_ext <<_ACEOF
41297 /* confdefs.h. */
41298 _ACEOF
41299 cat confdefs.h >>conftest.$ac_ext
41300 cat >>conftest.$ac_ext <<_ACEOF
41301 /* end confdefs.h. */
41302 $ac_includes_default
41303 #include <$ac_header>
41304 _ACEOF
41305 rm -f conftest.$ac_objext
41306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41307 (eval $ac_compile) 2>conftest.er1
41308 ac_status=$?
41309 grep -v '^ *+' conftest.er1 >conftest.err
41310 rm -f conftest.er1
41311 cat conftest.err >&5
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); } &&
41314 { ac_try='test -z "$ac_c_werror_flag"
41315 || test ! -s conftest.err'
41316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41317 (eval $ac_try) 2>&5
41318 ac_status=$?
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); }; } &&
41321 { ac_try='test -s conftest.$ac_objext'
41322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41323 (eval $ac_try) 2>&5
41324 ac_status=$?
41325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41326 (exit $ac_status); }; }; then
41327 ac_header_compiler=yes
41328 else
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.$ac_ext >&5
41331
41332 ac_header_compiler=no
41333 fi
41334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41336 echo "${ECHO_T}$ac_header_compiler" >&6
41337
41338 # Is the header present?
41339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41341 cat >conftest.$ac_ext <<_ACEOF
41342 /* confdefs.h. */
41343 _ACEOF
41344 cat confdefs.h >>conftest.$ac_ext
41345 cat >>conftest.$ac_ext <<_ACEOF
41346 /* end confdefs.h. */
41347 #include <$ac_header>
41348 _ACEOF
41349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41351 ac_status=$?
41352 grep -v '^ *+' conftest.er1 >conftest.err
41353 rm -f conftest.er1
41354 cat conftest.err >&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); } >/dev/null; then
41357 if test -s conftest.err; then
41358 ac_cpp_err=$ac_c_preproc_warn_flag
41359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41360 else
41361 ac_cpp_err=
41362 fi
41363 else
41364 ac_cpp_err=yes
41365 fi
41366 if test -z "$ac_cpp_err"; then
41367 ac_header_preproc=yes
41368 else
41369 echo "$as_me: failed program was:" >&5
41370 sed 's/^/| /' conftest.$ac_ext >&5
41371
41372 ac_header_preproc=no
41373 fi
41374 rm -f conftest.err conftest.$ac_ext
41375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41376 echo "${ECHO_T}$ac_header_preproc" >&6
41377
41378 # So? What about this header?
41379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41380 yes:no: )
41381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41384 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41385 ac_header_preproc=yes
41386 ;;
41387 no:yes:* )
41388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41392 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41393 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41394 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41395 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41398 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41399 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41400 (
41401 cat <<\_ASBOX
41402 ## ----------------------------------------- ##
41403 ## Report this to the package-unused lists. ##
41404 ## ----------------------------------------- ##
41405 _ASBOX
41406 ) |
41407 sed "s/^/$as_me: WARNING: /" >&2
41408 ;;
41409 esac
41410 echo "$as_me:$LINENO: checking for $ac_header" >&5
41411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41413 echo $ECHO_N "(cached) $ECHO_C" >&6
41414 else
41415 eval "$as_ac_Header=\$ac_header_preproc"
41416 fi
41417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41419
41420 fi
41421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41422 cat >>confdefs.h <<_ACEOF
41423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41424 _ACEOF
41425
41426 fi
41427
41428 done
41429
41430
41431 for ac_func in getpagesize
41432 do
41433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41434 echo "$as_me:$LINENO: checking for $ac_func" >&5
41435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41436 if eval "test \"\${$as_ac_var+set}\" = set"; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 if test x$gcc_no_link = xyes; then
41440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41442 { (exit 1); exit 1; }; }
41443 fi
41444 cat >conftest.$ac_ext <<_ACEOF
41445 /* confdefs.h. */
41446 _ACEOF
41447 cat confdefs.h >>conftest.$ac_ext
41448 cat >>conftest.$ac_ext <<_ACEOF
41449 /* end confdefs.h. */
41450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41452 #define $ac_func innocuous_$ac_func
41453
41454 /* System header to define __stub macros and hopefully few prototypes,
41455 which can conflict with char $ac_func (); below.
41456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41457 <limits.h> exists even on freestanding compilers. */
41458
41459 #ifdef __STDC__
41460 # include <limits.h>
41461 #else
41462 # include <assert.h>
41463 #endif
41464
41465 #undef $ac_func
41466
41467 /* Override any gcc2 internal prototype to avoid an error. */
41468 #ifdef __cplusplus
41469 extern "C"
41470 {
41471 #endif
41472 /* We use char because int might match the return type of a gcc2
41473 builtin and then its argument prototype would still apply. */
41474 char $ac_func ();
41475 /* The GNU C library defines this for functions which it implements
41476 to always fail with ENOSYS. Some functions are actually named
41477 something starting with __ and the normal name is an alias. */
41478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41479 choke me
41480 #else
41481 char (*f) () = $ac_func;
41482 #endif
41483 #ifdef __cplusplus
41484 }
41485 #endif
41486
41487 int
41488 main ()
41489 {
41490 return f != $ac_func;
41491 ;
41492 return 0;
41493 }
41494 _ACEOF
41495 rm -f conftest.$ac_objext conftest$ac_exeext
41496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41497 (eval $ac_link) 2>conftest.er1
41498 ac_status=$?
41499 grep -v '^ *+' conftest.er1 >conftest.err
41500 rm -f conftest.er1
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } &&
41504 { ac_try='test -z "$ac_c_werror_flag"
41505 || test ! -s conftest.err'
41506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41507 (eval $ac_try) 2>&5
41508 ac_status=$?
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); }; } &&
41511 { ac_try='test -s conftest$ac_exeext'
41512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41513 (eval $ac_try) 2>&5
41514 ac_status=$?
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); }; }; then
41517 eval "$as_ac_var=yes"
41518 else
41519 echo "$as_me: failed program was:" >&5
41520 sed 's/^/| /' conftest.$ac_ext >&5
41521
41522 eval "$as_ac_var=no"
41523 fi
41524 rm -f conftest.err conftest.$ac_objext \
41525 conftest$ac_exeext conftest.$ac_ext
41526 fi
41527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41529 if test `eval echo '${'$as_ac_var'}'` = yes; then
41530 cat >>confdefs.h <<_ACEOF
41531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41532 _ACEOF
41533
41534 fi
41535 done
41536
41537 echo "$as_me:$LINENO: checking for working mmap" >&5
41538 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41539 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41541 else
41542 if test "$cross_compiling" = yes; then
41543 ac_cv_func_mmap_fixed_mapped=no
41544 else
41545 cat >conftest.$ac_ext <<_ACEOF
41546 /* confdefs.h. */
41547 _ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h. */
41551 $ac_includes_default
41552 /* malloc might have been renamed as rpl_malloc. */
41553 #undef malloc
41554
41555 /* Thanks to Mike Haertel and Jim Avera for this test.
41556 Here is a matrix of mmap possibilities:
41557 mmap private not fixed
41558 mmap private fixed at somewhere currently unmapped
41559 mmap private fixed at somewhere already mapped
41560 mmap shared not fixed
41561 mmap shared fixed at somewhere currently unmapped
41562 mmap shared fixed at somewhere already mapped
41563 For private mappings, we should verify that changes cannot be read()
41564 back from the file, nor mmap's back from the file at a different
41565 address. (There have been systems where private was not correctly
41566 implemented like the infamous i386 svr4.0, and systems where the
41567 VM page cache was not coherent with the file system buffer cache
41568 like early versions of FreeBSD and possibly contemporary NetBSD.)
41569 For shared mappings, we should conversely verify that changes get
41570 propagated back to all the places they're supposed to be.
41571
41572 Grep wants private fixed already mapped.
41573 The main things grep needs to know about mmap are:
41574 * does it exist and is it safe to write into the mmap'd area
41575 * how to use it (BSD variants) */
41576
41577 #include <fcntl.h>
41578 #include <sys/mman.h>
41579
41580 #if !STDC_HEADERS && !HAVE_STDLIB_H
41581 char *malloc ();
41582 #endif
41583
41584 /* This mess was copied from the GNU getpagesize.h. */
41585 #if !HAVE_GETPAGESIZE
41586 /* Assume that all systems that can run configure have sys/param.h. */
41587 # if !HAVE_SYS_PARAM_H
41588 # define HAVE_SYS_PARAM_H 1
41589 # endif
41590
41591 # ifdef _SC_PAGESIZE
41592 # define getpagesize() sysconf(_SC_PAGESIZE)
41593 # else /* no _SC_PAGESIZE */
41594 # if HAVE_SYS_PARAM_H
41595 # include <sys/param.h>
41596 # ifdef EXEC_PAGESIZE
41597 # define getpagesize() EXEC_PAGESIZE
41598 # else /* no EXEC_PAGESIZE */
41599 # ifdef NBPG
41600 # define getpagesize() NBPG * CLSIZE
41601 # ifndef CLSIZE
41602 # define CLSIZE 1
41603 # endif /* no CLSIZE */
41604 # else /* no NBPG */
41605 # ifdef NBPC
41606 # define getpagesize() NBPC
41607 # else /* no NBPC */
41608 # ifdef PAGESIZE
41609 # define getpagesize() PAGESIZE
41610 # endif /* PAGESIZE */
41611 # endif /* no NBPC */
41612 # endif /* no NBPG */
41613 # endif /* no EXEC_PAGESIZE */
41614 # else /* no HAVE_SYS_PARAM_H */
41615 # define getpagesize() 8192 /* punt totally */
41616 # endif /* no HAVE_SYS_PARAM_H */
41617 # endif /* no _SC_PAGESIZE */
41618
41619 #endif /* no HAVE_GETPAGESIZE */
41620
41621 int
41622 main ()
41623 {
41624 char *data, *data2, *data3;
41625 int i, pagesize;
41626 int fd;
41627
41628 pagesize = getpagesize ();
41629
41630 /* First, make a file with some known garbage in it. */
41631 data = (char *) malloc (pagesize);
41632 if (!data)
41633 exit (1);
41634 for (i = 0; i < pagesize; ++i)
41635 *(data + i) = rand ();
41636 umask (0);
41637 fd = creat ("conftest.mmap", 0600);
41638 if (fd < 0)
41639 exit (1);
41640 if (write (fd, data, pagesize) != pagesize)
41641 exit (1);
41642 close (fd);
41643
41644 /* Next, try to mmap the file at a fixed address which already has
41645 something else allocated at it. If we can, also make sure that
41646 we see the same garbage. */
41647 fd = open ("conftest.mmap", O_RDWR);
41648 if (fd < 0)
41649 exit (1);
41650 data2 = (char *) malloc (2 * pagesize);
41651 if (!data2)
41652 exit (1);
41653 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41654 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41655 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41656 exit (1);
41657 for (i = 0; i < pagesize; ++i)
41658 if (*(data + i) != *(data2 + i))
41659 exit (1);
41660
41661 /* Finally, make sure that changes to the mapped area do not
41662 percolate back to the file as seen by read(). (This is a bug on
41663 some variants of i386 svr4.0.) */
41664 for (i = 0; i < pagesize; ++i)
41665 *(data2 + i) = *(data2 + i) + 1;
41666 data3 = (char *) malloc (pagesize);
41667 if (!data3)
41668 exit (1);
41669 if (read (fd, data3, pagesize) != pagesize)
41670 exit (1);
41671 for (i = 0; i < pagesize; ++i)
41672 if (*(data + i) != *(data3 + i))
41673 exit (1);
41674 close (fd);
41675 exit (0);
41676 }
41677 _ACEOF
41678 rm -f conftest$ac_exeext
41679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41680 (eval $ac_link) 2>&5
41681 ac_status=$?
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41685 (eval $ac_try) 2>&5
41686 ac_status=$?
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); }; }; then
41689 ac_cv_func_mmap_fixed_mapped=yes
41690 else
41691 echo "$as_me: program exited with status $ac_status" >&5
41692 echo "$as_me: failed program was:" >&5
41693 sed 's/^/| /' conftest.$ac_ext >&5
41694
41695 ( exit $ac_status )
41696 ac_cv_func_mmap_fixed_mapped=no
41697 fi
41698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41699 fi
41700 fi
41701 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41702 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41703 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41704
41705 cat >>confdefs.h <<\_ACEOF
41706 #define HAVE_MMAP 1
41707 _ACEOF
41708
41709 fi
41710 rm -f conftest.mmap
41711
41712 fi
41713
41714 # For iconv support.
41715
41716 if test "X$prefix" = "XNONE"; then
41717 acl_final_prefix="$ac_default_prefix"
41718 else
41719 acl_final_prefix="$prefix"
41720 fi
41721 if test "X$exec_prefix" = "XNONE"; then
41722 acl_final_exec_prefix='${prefix}'
41723 else
41724 acl_final_exec_prefix="$exec_prefix"
41725 fi
41726 acl_save_prefix="$prefix"
41727 prefix="$acl_final_prefix"
41728 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41729 prefix="$acl_save_prefix"
41730
41731
41732 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41733 if test "${with_gnu_ld+set}" = set; then
41734 withval="$with_gnu_ld"
41735 test "$withval" = no || with_gnu_ld=yes
41736 else
41737 with_gnu_ld=no
41738 fi;
41739 # Prepare PATH_SEPARATOR.
41740 # The user is always right.
41741 if test "${PATH_SEPARATOR+set}" != set; then
41742 echo "#! /bin/sh" >conf$$.sh
41743 echo "exit 0" >>conf$$.sh
41744 chmod +x conf$$.sh
41745 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41746 PATH_SEPARATOR=';'
41747 else
41748 PATH_SEPARATOR=:
41749 fi
41750 rm -f conf$$.sh
41751 fi
41752 ac_prog=ld
41753 if test "$GCC" = yes; then
41754 # Check if gcc -print-prog-name=ld gives a path.
41755 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41756 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41757 case $host in
41758 *-*-mingw*)
41759 # gcc leaves a trailing carriage return which upsets mingw
41760 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41761 *)
41762 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41763 esac
41764 case $ac_prog in
41765 # Accept absolute paths.
41766 [\\/]* | [A-Za-z]:[\\/]*)
41767 re_direlt='/[^/][^/]*/\.\./'
41768 # Canonicalize the path of ld
41769 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41770 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41771 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41772 done
41773 test -z "$LD" && LD="$ac_prog"
41774 ;;
41775 "")
41776 # If it fails, then pretend we aren't using GCC.
41777 ac_prog=ld
41778 ;;
41779 *)
41780 # If it is relative, then search for the first ld in PATH.
41781 with_gnu_ld=unknown
41782 ;;
41783 esac
41784 elif test "$with_gnu_ld" = yes; then
41785 echo "$as_me:$LINENO: checking for GNU ld" >&5
41786 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41787 else
41788 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41789 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41790 fi
41791 if test "${acl_cv_path_LD+set}" = set; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41793 else
41794 if test -z "$LD"; then
41795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41796 for ac_dir in $PATH; do
41797 test -z "$ac_dir" && ac_dir=.
41798 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41799 acl_cv_path_LD="$ac_dir/$ac_prog"
41800 # Check to see if the program is GNU ld. I'd rather use --version,
41801 # but apparently some GNU ld's only accept -v.
41802 # Break only if it was the GNU/non-GNU ld that we prefer.
41803 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41804 test "$with_gnu_ld" != no && break
41805 else
41806 test "$with_gnu_ld" != yes && break
41807 fi
41808 fi
41809 done
41810 IFS="$ac_save_ifs"
41811 else
41812 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41813 fi
41814 fi
41815
41816 LD="$acl_cv_path_LD"
41817 if test -n "$LD"; then
41818 echo "$as_me:$LINENO: result: $LD" >&5
41819 echo "${ECHO_T}$LD" >&6
41820 else
41821 echo "$as_me:$LINENO: result: no" >&5
41822 echo "${ECHO_T}no" >&6
41823 fi
41824 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41825 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41826 { (exit 1); exit 1; }; }
41827 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41828 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41829 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41830 echo $ECHO_N "(cached) $ECHO_C" >&6
41831 else
41832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41834 acl_cv_prog_gnu_ld=yes
41835 else
41836 acl_cv_prog_gnu_ld=no
41837 fi
41838 fi
41839 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41840 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41841 with_gnu_ld=$acl_cv_prog_gnu_ld
41842
41843
41844
41845 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41846 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41847 if test "${acl_cv_rpath+set}" = set; then
41848 echo $ECHO_N "(cached) $ECHO_C" >&6
41849 else
41850
41851 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41852 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41853 . ./conftest.sh
41854 rm -f ./conftest.sh
41855 acl_cv_rpath=done
41856
41857 fi
41858 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41859 echo "${ECHO_T}$acl_cv_rpath" >&6
41860 wl="$acl_cv_wl"
41861 libext="$acl_cv_libext"
41862 shlibext="$acl_cv_shlibext"
41863 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41864 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41865 hardcode_direct="$acl_cv_hardcode_direct"
41866 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41867 # Check whether --enable-rpath or --disable-rpath was given.
41868 if test "${enable_rpath+set}" = set; then
41869 enableval="$enable_rpath"
41870 :
41871 else
41872 enable_rpath=yes
41873 fi;
41874
41875
41876
41877
41878
41879
41880
41881 use_additional=yes
41882
41883 acl_save_prefix="$prefix"
41884 prefix="$acl_final_prefix"
41885 acl_save_exec_prefix="$exec_prefix"
41886 exec_prefix="$acl_final_exec_prefix"
41887
41888 eval additional_includedir=\"$includedir\"
41889 eval additional_libdir=\"$libdir\"
41890
41891 exec_prefix="$acl_save_exec_prefix"
41892 prefix="$acl_save_prefix"
41893
41894
41895 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41896 if test "${with_libiconv_prefix+set}" = set; then
41897 withval="$with_libiconv_prefix"
41898
41899 if test "X$withval" = "Xno"; then
41900 use_additional=no
41901 else
41902 if test "X$withval" = "X"; then
41903
41904 acl_save_prefix="$prefix"
41905 prefix="$acl_final_prefix"
41906 acl_save_exec_prefix="$exec_prefix"
41907 exec_prefix="$acl_final_exec_prefix"
41908
41909 eval additional_includedir=\"$includedir\"
41910 eval additional_libdir=\"$libdir\"
41911
41912 exec_prefix="$acl_save_exec_prefix"
41913 prefix="$acl_save_prefix"
41914
41915 else
41916 additional_includedir="$withval/include"
41917 additional_libdir="$withval/lib"
41918 fi
41919 fi
41920
41921 fi;
41922 LIBICONV=
41923 LTLIBICONV=
41924 INCICONV=
41925 rpathdirs=
41926 ltrpathdirs=
41927 names_already_handled=
41928 names_next_round='iconv '
41929 while test -n "$names_next_round"; do
41930 names_this_round="$names_next_round"
41931 names_next_round=
41932 for name in $names_this_round; do
41933 already_handled=
41934 for n in $names_already_handled; do
41935 if test "$n" = "$name"; then
41936 already_handled=yes
41937 break
41938 fi
41939 done
41940 if test -z "$already_handled"; then
41941 names_already_handled="$names_already_handled $name"
41942 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41943 eval value=\"\$HAVE_LIB$uppername\"
41944 if test -n "$value"; then
41945 if test "$value" = yes; then
41946 eval value=\"\$LIB$uppername\"
41947 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41948 eval value=\"\$LTLIB$uppername\"
41949 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41950 else
41951 :
41952 fi
41953 else
41954 found_dir=
41955 found_la=
41956 found_so=
41957 found_a=
41958 if test $use_additional = yes; then
41959 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41960 found_dir="$additional_libdir"
41961 found_so="$additional_libdir/lib$name.$shlibext"
41962 if test -f "$additional_libdir/lib$name.la"; then
41963 found_la="$additional_libdir/lib$name.la"
41964 fi
41965 else
41966 if test -f "$additional_libdir/lib$name.$libext"; then
41967 found_dir="$additional_libdir"
41968 found_a="$additional_libdir/lib$name.$libext"
41969 if test -f "$additional_libdir/lib$name.la"; then
41970 found_la="$additional_libdir/lib$name.la"
41971 fi
41972 fi
41973 fi
41974 fi
41975 if test "X$found_dir" = "X"; then
41976 for x in $LDFLAGS $LTLIBICONV; do
41977
41978 acl_save_prefix="$prefix"
41979 prefix="$acl_final_prefix"
41980 acl_save_exec_prefix="$exec_prefix"
41981 exec_prefix="$acl_final_exec_prefix"
41982 eval x=\"$x\"
41983 exec_prefix="$acl_save_exec_prefix"
41984 prefix="$acl_save_prefix"
41985
41986 case "$x" in
41987 -L*)
41988 dir=`echo "X$x" | sed -e 's/^X-L//'`
41989 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41990 found_dir="$dir"
41991 found_so="$dir/lib$name.$shlibext"
41992 if test -f "$dir/lib$name.la"; then
41993 found_la="$dir/lib$name.la"
41994 fi
41995 else
41996 if test -f "$dir/lib$name.$libext"; then
41997 found_dir="$dir"
41998 found_a="$dir/lib$name.$libext"
41999 if test -f "$dir/lib$name.la"; then
42000 found_la="$dir/lib$name.la"
42001 fi
42002 fi
42003 fi
42004 ;;
42005 esac
42006 if test "X$found_dir" != "X"; then
42007 break
42008 fi
42009 done
42010 fi
42011 if test "X$found_dir" != "X"; then
42012 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42013 if test "X$found_so" != "X"; then
42014 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42015 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42016 else
42017 haveit=
42018 for x in $ltrpathdirs; do
42019 if test "X$x" = "X$found_dir"; then
42020 haveit=yes
42021 break
42022 fi
42023 done
42024 if test -z "$haveit"; then
42025 ltrpathdirs="$ltrpathdirs $found_dir"
42026 fi
42027 if test "$hardcode_direct" = yes; then
42028 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42029 else
42030 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42031 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42032 haveit=
42033 for x in $rpathdirs; do
42034 if test "X$x" = "X$found_dir"; then
42035 haveit=yes
42036 break
42037 fi
42038 done
42039 if test -z "$haveit"; then
42040 rpathdirs="$rpathdirs $found_dir"
42041 fi
42042 else
42043 haveit=
42044 for x in $LDFLAGS $LIBICONV; do
42045
42046 acl_save_prefix="$prefix"
42047 prefix="$acl_final_prefix"
42048 acl_save_exec_prefix="$exec_prefix"
42049 exec_prefix="$acl_final_exec_prefix"
42050 eval x=\"$x\"
42051 exec_prefix="$acl_save_exec_prefix"
42052 prefix="$acl_save_prefix"
42053
42054 if test "X$x" = "X-L$found_dir"; then
42055 haveit=yes
42056 break
42057 fi
42058 done
42059 if test -z "$haveit"; then
42060 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42061 fi
42062 if test "$hardcode_minus_L" != no; then
42063 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42064 else
42065 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42066 fi
42067 fi
42068 fi
42069 fi
42070 else
42071 if test "X$found_a" != "X"; then
42072 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42073 else
42074 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42075 fi
42076 fi
42077 additional_includedir=
42078 case "$found_dir" in
42079 */lib | */lib/)
42080 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42081 additional_includedir="$basedir/include"
42082 ;;
42083 esac
42084 if test "X$additional_includedir" != "X"; then
42085 if test "X$additional_includedir" != "X/usr/include"; then
42086 haveit=
42087 if test "X$additional_includedir" = "X/usr/local/include"; then
42088 if test -n "$GCC"; then
42089 case $host_os in
42090 linux*) haveit=yes;;
42091 esac
42092 fi
42093 fi
42094 if test -z "$haveit"; then
42095 for x in $CPPFLAGS $INCICONV; do
42096
42097 acl_save_prefix="$prefix"
42098 prefix="$acl_final_prefix"
42099 acl_save_exec_prefix="$exec_prefix"
42100 exec_prefix="$acl_final_exec_prefix"
42101 eval x=\"$x\"
42102 exec_prefix="$acl_save_exec_prefix"
42103 prefix="$acl_save_prefix"
42104
42105 if test "X$x" = "X-I$additional_includedir"; then
42106 haveit=yes
42107 break
42108 fi
42109 done
42110 if test -z "$haveit"; then
42111 if test -d "$additional_includedir"; then
42112 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42113 fi
42114 fi
42115 fi
42116 fi
42117 fi
42118 if test -n "$found_la"; then
42119 save_libdir="$libdir"
42120 case "$found_la" in
42121 */* | *\\*) . "$found_la" ;;
42122 *) . "./$found_la" ;;
42123 esac
42124 libdir="$save_libdir"
42125 for dep in $dependency_libs; do
42126 case "$dep" in
42127 -L*)
42128 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42129 if test "X$additional_libdir" != "X/usr/lib"; then
42130 haveit=
42131 if test "X$additional_libdir" = "X/usr/local/lib"; then
42132 if test -n "$GCC"; then
42133 case $host_os in
42134 linux*) haveit=yes;;
42135 esac
42136 fi
42137 fi
42138 if test -z "$haveit"; then
42139 haveit=
42140 for x in $LDFLAGS $LIBICONV; do
42141
42142 acl_save_prefix="$prefix"
42143 prefix="$acl_final_prefix"
42144 acl_save_exec_prefix="$exec_prefix"
42145 exec_prefix="$acl_final_exec_prefix"
42146 eval x=\"$x\"
42147 exec_prefix="$acl_save_exec_prefix"
42148 prefix="$acl_save_prefix"
42149
42150 if test "X$x" = "X-L$additional_libdir"; then
42151 haveit=yes
42152 break
42153 fi
42154 done
42155 if test -z "$haveit"; then
42156 if test -d "$additional_libdir"; then
42157 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42158 fi
42159 fi
42160 haveit=
42161 for x in $LDFLAGS $LTLIBICONV; do
42162
42163 acl_save_prefix="$prefix"
42164 prefix="$acl_final_prefix"
42165 acl_save_exec_prefix="$exec_prefix"
42166 exec_prefix="$acl_final_exec_prefix"
42167 eval x=\"$x\"
42168 exec_prefix="$acl_save_exec_prefix"
42169 prefix="$acl_save_prefix"
42170
42171 if test "X$x" = "X-L$additional_libdir"; then
42172 haveit=yes
42173 break
42174 fi
42175 done
42176 if test -z "$haveit"; then
42177 if test -d "$additional_libdir"; then
42178 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42179 fi
42180 fi
42181 fi
42182 fi
42183 ;;
42184 -R*)
42185 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42186 if test "$enable_rpath" != no; then
42187 haveit=
42188 for x in $rpathdirs; do
42189 if test "X$x" = "X$dir"; then
42190 haveit=yes
42191 break
42192 fi
42193 done
42194 if test -z "$haveit"; then
42195 rpathdirs="$rpathdirs $dir"
42196 fi
42197 haveit=
42198 for x in $ltrpathdirs; do
42199 if test "X$x" = "X$dir"; then
42200 haveit=yes
42201 break
42202 fi
42203 done
42204 if test -z "$haveit"; then
42205 ltrpathdirs="$ltrpathdirs $dir"
42206 fi
42207 fi
42208 ;;
42209 -l*)
42210 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42211 ;;
42212 *.la)
42213 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42214 ;;
42215 *)
42216 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42217 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42218 ;;
42219 esac
42220 done
42221 fi
42222 else
42223 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42224 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42225 fi
42226 fi
42227 fi
42228 done
42229 done
42230 if test "X$rpathdirs" != "X"; then
42231 if test -n "$hardcode_libdir_separator"; then
42232 alldirs=
42233 for found_dir in $rpathdirs; do
42234 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42235 done
42236 acl_save_libdir="$libdir"
42237 libdir="$alldirs"
42238 eval flag=\"$hardcode_libdir_flag_spec\"
42239 libdir="$acl_save_libdir"
42240 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42241 else
42242 for found_dir in $rpathdirs; do
42243 acl_save_libdir="$libdir"
42244 libdir="$found_dir"
42245 eval flag=\"$hardcode_libdir_flag_spec\"
42246 libdir="$acl_save_libdir"
42247 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42248 done
42249 fi
42250 fi
42251 if test "X$ltrpathdirs" != "X"; then
42252 for found_dir in $ltrpathdirs; do
42253 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42254 done
42255 fi
42256
42257
42258
42259
42260
42261
42262
42263 am_save_CPPFLAGS="$CPPFLAGS"
42264
42265 for element in $INCICONV; do
42266 haveit=
42267 for x in $CPPFLAGS; do
42268
42269 acl_save_prefix="$prefix"
42270 prefix="$acl_final_prefix"
42271 acl_save_exec_prefix="$exec_prefix"
42272 exec_prefix="$acl_final_exec_prefix"
42273 eval x=\"$x\"
42274 exec_prefix="$acl_save_exec_prefix"
42275 prefix="$acl_save_prefix"
42276
42277 if test "X$x" = "X$element"; then
42278 haveit=yes
42279 break
42280 fi
42281 done
42282 if test -z "$haveit"; then
42283 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42284 fi
42285 done
42286
42287
42288 echo "$as_me:$LINENO: checking for iconv" >&5
42289 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42290 if test "${am_cv_func_iconv+set}" = set; then
42291 echo $ECHO_N "(cached) $ECHO_C" >&6
42292 else
42293
42294 am_cv_func_iconv="no, consider installing GNU libiconv"
42295 am_cv_lib_iconv=no
42296 if test x$gcc_no_link = xyes; then
42297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42299 { (exit 1); exit 1; }; }
42300 fi
42301 cat >conftest.$ac_ext <<_ACEOF
42302 /* confdefs.h. */
42303 _ACEOF
42304 cat confdefs.h >>conftest.$ac_ext
42305 cat >>conftest.$ac_ext <<_ACEOF
42306 /* end confdefs.h. */
42307 #include <stdlib.h>
42308 #include <iconv.h>
42309 int
42310 main ()
42311 {
42312 iconv_t cd = iconv_open("","");
42313 iconv(cd,NULL,NULL,NULL,NULL);
42314 iconv_close(cd);
42315 ;
42316 return 0;
42317 }
42318 _ACEOF
42319 rm -f conftest.$ac_objext conftest$ac_exeext
42320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42321 (eval $ac_link) 2>conftest.er1
42322 ac_status=$?
42323 grep -v '^ *+' conftest.er1 >conftest.err
42324 rm -f conftest.er1
42325 cat conftest.err >&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } &&
42328 { ac_try='test -z "$ac_c_werror_flag"
42329 || test ! -s conftest.err'
42330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42331 (eval $ac_try) 2>&5
42332 ac_status=$?
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); }; } &&
42335 { ac_try='test -s conftest$ac_exeext'
42336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42337 (eval $ac_try) 2>&5
42338 ac_status=$?
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); }; }; then
42341 am_cv_func_iconv=yes
42342 else
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42345
42346 fi
42347 rm -f conftest.err conftest.$ac_objext \
42348 conftest$ac_exeext conftest.$ac_ext
42349 if test "$am_cv_func_iconv" != yes; then
42350 am_save_LIBS="$LIBS"
42351 LIBS="$LIBS $LIBICONV"
42352 if test x$gcc_no_link = xyes; then
42353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42355 { (exit 1); exit 1; }; }
42356 fi
42357 cat >conftest.$ac_ext <<_ACEOF
42358 /* confdefs.h. */
42359 _ACEOF
42360 cat confdefs.h >>conftest.$ac_ext
42361 cat >>conftest.$ac_ext <<_ACEOF
42362 /* end confdefs.h. */
42363 #include <stdlib.h>
42364 #include <iconv.h>
42365 int
42366 main ()
42367 {
42368 iconv_t cd = iconv_open("","");
42369 iconv(cd,NULL,NULL,NULL,NULL);
42370 iconv_close(cd);
42371 ;
42372 return 0;
42373 }
42374 _ACEOF
42375 rm -f conftest.$ac_objext conftest$ac_exeext
42376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42377 (eval $ac_link) 2>conftest.er1
42378 ac_status=$?
42379 grep -v '^ *+' conftest.er1 >conftest.err
42380 rm -f conftest.er1
42381 cat conftest.err >&5
42382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42383 (exit $ac_status); } &&
42384 { ac_try='test -z "$ac_c_werror_flag"
42385 || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42388 ac_status=$?
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try='test -s conftest$ac_exeext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42394 ac_status=$?
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 am_cv_lib_iconv=yes
42398 am_cv_func_iconv=yes
42399 else
42400 echo "$as_me: failed program was:" >&5
42401 sed 's/^/| /' conftest.$ac_ext >&5
42402
42403 fi
42404 rm -f conftest.err conftest.$ac_objext \
42405 conftest$ac_exeext conftest.$ac_ext
42406 LIBS="$am_save_LIBS"
42407 fi
42408
42409 fi
42410 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42411 echo "${ECHO_T}$am_cv_func_iconv" >&6
42412 if test "$am_cv_func_iconv" = yes; then
42413
42414 cat >>confdefs.h <<\_ACEOF
42415 #define HAVE_ICONV 1
42416 _ACEOF
42417
42418 fi
42419 if test "$am_cv_lib_iconv" = yes; then
42420 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42421 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42422 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42423 echo "${ECHO_T}$LIBICONV" >&6
42424 else
42425 CPPFLAGS="$am_save_CPPFLAGS"
42426 LIBICONV=
42427 LTLIBICONV=
42428 fi
42429
42430
42431
42432 if test "$am_cv_func_iconv" = yes; then
42433 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42434 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42435 if test "${am_cv_proto_iconv+set}" = set; then
42436 echo $ECHO_N "(cached) $ECHO_C" >&6
42437 else
42438
42439 cat >conftest.$ac_ext <<_ACEOF
42440 /* confdefs.h. */
42441 _ACEOF
42442 cat confdefs.h >>conftest.$ac_ext
42443 cat >>conftest.$ac_ext <<_ACEOF
42444 /* end confdefs.h. */
42445
42446 #include <stdlib.h>
42447 #include <iconv.h>
42448 extern
42449 #ifdef __cplusplus
42450 "C"
42451 #endif
42452 #if defined(__STDC__) || defined(__cplusplus)
42453 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42454 #else
42455 size_t iconv();
42456 #endif
42457
42458 int
42459 main ()
42460 {
42461
42462 ;
42463 return 0;
42464 }
42465 _ACEOF
42466 rm -f conftest.$ac_objext
42467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42468 (eval $ac_compile) 2>conftest.er1
42469 ac_status=$?
42470 grep -v '^ *+' conftest.er1 >conftest.err
42471 rm -f conftest.er1
42472 cat conftest.err >&5
42473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474 (exit $ac_status); } &&
42475 { ac_try='test -z "$ac_c_werror_flag"
42476 || test ! -s conftest.err'
42477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42478 (eval $ac_try) 2>&5
42479 ac_status=$?
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); }; } &&
42482 { ac_try='test -s conftest.$ac_objext'
42483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42484 (eval $ac_try) 2>&5
42485 ac_status=$?
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); }; }; then
42488 am_cv_proto_iconv_arg1=""
42489 else
42490 echo "$as_me: failed program was:" >&5
42491 sed 's/^/| /' conftest.$ac_ext >&5
42492
42493 am_cv_proto_iconv_arg1="const"
42494 fi
42495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42496 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);"
42497 fi
42498
42499 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42500 echo "$as_me:$LINENO: result: ${ac_t:-
42501 }$am_cv_proto_iconv" >&5
42502 echo "${ECHO_T}${ac_t:-
42503 }$am_cv_proto_iconv" >&6
42504
42505 cat >>confdefs.h <<_ACEOF
42506 #define ICONV_CONST $am_cv_proto_iconv_arg1
42507 _ACEOF
42508
42509 fi
42510
42511
42512 else
42513
42514 # This lets us hard-code the functionality we know we'll have in the cross
42515 # target environment. "Let" is a sugar-coated word placed on an especially
42516 # dull and tedious hack, actually.
42517 #
42518 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42519 # that involve linking, can't be used:
42520 # "cannot open sim-crt0.o"
42521 # "cannot open crt0.o"
42522 # etc. All this is because there currently exists no unified, consistent
42523 # way for top level CC information to be passed down to target directories:
42524 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42525 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42526 # crosses can be removed.
42527
42528 # If Canadian cross, then don't pick up tools from the build directory.
42529 # Used only in GLIBCXX_EXPORT_INCLUDES.
42530 if test -n "$with_cross_host" &&
42531 test x"$build_alias" != x"$with_cross_host" &&
42532 test x"$build" != x"$target";
42533 then
42534 CANADIAN=yes
42535 else
42536 CANADIAN=no
42537 fi
42538
42539 # Construct crosses by hand, eliminating bits that need ld...
42540 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42541 # GLIBCXX_CHECK_MATH_SUPPORT
42542
42543 # First, test for "known" system libraries. We may be using newlib even
42544 # on a hosted environment.
42545 if test "x${with_newlib}" = "xyes"; then
42546 os_include_dir="os/newlib"
42547 cat >>confdefs.h <<\_ACEOF
42548 #define HAVE_HYPOT 1
42549 _ACEOF
42550
42551
42552 # GLIBCXX_CHECK_STDLIB_SUPPORT
42553 cat >>confdefs.h <<\_ACEOF
42554 #define HAVE_STRTOF 1
42555 _ACEOF
42556
42557 # AC_FUNC_MMAP
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_MMAP 1
42560 _ACEOF
42561
42562
42563 cat >>confdefs.h <<\_ACEOF
42564 #define HAVE_ACOSF 1
42565 _ACEOF
42566
42567 cat >>confdefs.h <<\_ACEOF
42568 #define HAVE_ASINF 1
42569 _ACEOF
42570
42571 cat >>confdefs.h <<\_ACEOF
42572 #define HAVE_ATAN2F 1
42573 _ACEOF
42574
42575 cat >>confdefs.h <<\_ACEOF
42576 #define HAVE_ATANF 1
42577 _ACEOF
42578
42579 cat >>confdefs.h <<\_ACEOF
42580 #define HAVE_CEILF 1
42581 _ACEOF
42582
42583 cat >>confdefs.h <<\_ACEOF
42584 #define HAVE_COPYSIGN 1
42585 _ACEOF
42586
42587 cat >>confdefs.h <<\_ACEOF
42588 #define HAVE_COPYSIGNF 1
42589 _ACEOF
42590
42591 cat >>confdefs.h <<\_ACEOF
42592 #define HAVE_COSF 1
42593 _ACEOF
42594
42595 cat >>confdefs.h <<\_ACEOF
42596 #define HAVE_COSHF 1
42597 _ACEOF
42598
42599 cat >>confdefs.h <<\_ACEOF
42600 #define HAVE_EXPF 1
42601 _ACEOF
42602
42603 cat >>confdefs.h <<\_ACEOF
42604 #define HAVE_FABSF 1
42605 _ACEOF
42606
42607 cat >>confdefs.h <<\_ACEOF
42608 #define HAVE_FLOORF 1
42609 _ACEOF
42610
42611 cat >>confdefs.h <<\_ACEOF
42612 #define HAVE_FMODF 1
42613 _ACEOF
42614
42615 cat >>confdefs.h <<\_ACEOF
42616 #define HAVE_FREXPF 1
42617 _ACEOF
42618
42619 cat >>confdefs.h <<\_ACEOF
42620 #define HAVE_LDEXPF 1
42621 _ACEOF
42622
42623 cat >>confdefs.h <<\_ACEOF
42624 #define HAVE_LOG10F 1
42625 _ACEOF
42626
42627 cat >>confdefs.h <<\_ACEOF
42628 #define HAVE_LOGF 1
42629 _ACEOF
42630
42631 cat >>confdefs.h <<\_ACEOF
42632 #define HAVE_MODFF 1
42633 _ACEOF
42634
42635 cat >>confdefs.h <<\_ACEOF
42636 #define HAVE_POWF 1
42637 _ACEOF
42638
42639 cat >>confdefs.h <<\_ACEOF
42640 #define HAVE_SINF 1
42641 _ACEOF
42642
42643 cat >>confdefs.h <<\_ACEOF
42644 #define HAVE_SINHF 1
42645 _ACEOF
42646
42647 cat >>confdefs.h <<\_ACEOF
42648 #define HAVE_SQRTF 1
42649 _ACEOF
42650
42651 cat >>confdefs.h <<\_ACEOF
42652 #define HAVE_TANF 1
42653 _ACEOF
42654
42655 cat >>confdefs.h <<\_ACEOF
42656 #define HAVE_TANHF 1
42657 _ACEOF
42658
42659
42660 cat >>confdefs.h <<\_ACEOF
42661 #define HAVE_S_ISREG 1
42662 _ACEOF
42663
42664 cat >>confdefs.h <<\_ACEOF
42665 #define HAVE_S_IFREG 1
42666 _ACEOF
42667
42668
42669 cat >>confdefs.h <<\_ACEOF
42670 #define HAVE_ICONV 1
42671 _ACEOF
42672
42673 else
42674
42675 # Base decisions on target environment.
42676 case "${host}" in
42677 arm*-*-symbianelf*)
42678 # This is a freestanding configuration; there is nothing to do here.
42679 ;;
42680
42681 mips*-sde-elf*)
42682 # These definitions are for the SDE C library rather than newlib.
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698 for ac_header in float.h inttypes.h locale.h \
42699 stdint.h stdlib.h string.h unistd.h wchar.h \
42700 machine/endian.h sys/ioctl.h sys/resource.h \
42701 sys/stat.h sys/time.h sys/types.h sys/uio.h
42702 do
42703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42705 echo "$as_me:$LINENO: checking for $ac_header" >&5
42706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42708 echo $ECHO_N "(cached) $ECHO_C" >&6
42709 fi
42710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42712 else
42713 # Is the header compilable?
42714 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42715 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42716 cat >conftest.$ac_ext <<_ACEOF
42717 /* confdefs.h. */
42718 _ACEOF
42719 cat confdefs.h >>conftest.$ac_ext
42720 cat >>conftest.$ac_ext <<_ACEOF
42721 /* end confdefs.h. */
42722 $ac_includes_default
42723 #include <$ac_header>
42724 _ACEOF
42725 rm -f conftest.$ac_objext
42726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42727 (eval $ac_compile) 2>conftest.er1
42728 ac_status=$?
42729 grep -v '^ *+' conftest.er1 >conftest.err
42730 rm -f conftest.er1
42731 cat conftest.err >&5
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); } &&
42734 { ac_try='test -z "$ac_c_werror_flag"
42735 || test ! -s conftest.err'
42736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42737 (eval $ac_try) 2>&5
42738 ac_status=$?
42739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42740 (exit $ac_status); }; } &&
42741 { ac_try='test -s conftest.$ac_objext'
42742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42743 (eval $ac_try) 2>&5
42744 ac_status=$?
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); }; }; then
42747 ac_header_compiler=yes
42748 else
42749 echo "$as_me: failed program was:" >&5
42750 sed 's/^/| /' conftest.$ac_ext >&5
42751
42752 ac_header_compiler=no
42753 fi
42754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42755 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42756 echo "${ECHO_T}$ac_header_compiler" >&6
42757
42758 # Is the header present?
42759 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42761 cat >conftest.$ac_ext <<_ACEOF
42762 /* confdefs.h. */
42763 _ACEOF
42764 cat confdefs.h >>conftest.$ac_ext
42765 cat >>conftest.$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42767 #include <$ac_header>
42768 _ACEOF
42769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42771 ac_status=$?
42772 grep -v '^ *+' conftest.er1 >conftest.err
42773 rm -f conftest.er1
42774 cat conftest.err >&5
42775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42776 (exit $ac_status); } >/dev/null; then
42777 if test -s conftest.err; then
42778 ac_cpp_err=$ac_c_preproc_warn_flag
42779 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42780 else
42781 ac_cpp_err=
42782 fi
42783 else
42784 ac_cpp_err=yes
42785 fi
42786 if test -z "$ac_cpp_err"; then
42787 ac_header_preproc=yes
42788 else
42789 echo "$as_me: failed program was:" >&5
42790 sed 's/^/| /' conftest.$ac_ext >&5
42791
42792 ac_header_preproc=no
42793 fi
42794 rm -f conftest.err conftest.$ac_ext
42795 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42796 echo "${ECHO_T}$ac_header_preproc" >&6
42797
42798 # So? What about this header?
42799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42800 yes:no: )
42801 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42802 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42804 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42805 ac_header_preproc=yes
42806 ;;
42807 no:yes:* )
42808 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42809 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42810 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42811 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42812 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42813 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42814 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42815 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42818 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42819 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42820 (
42821 cat <<\_ASBOX
42822 ## ----------------------------------------- ##
42823 ## Report this to the package-unused lists. ##
42824 ## ----------------------------------------- ##
42825 _ASBOX
42826 ) |
42827 sed "s/^/$as_me: WARNING: /" >&2
42828 ;;
42829 esac
42830 echo "$as_me:$LINENO: checking for $ac_header" >&5
42831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42833 echo $ECHO_N "(cached) $ECHO_C" >&6
42834 else
42835 eval "$as_ac_Header=\$ac_header_preproc"
42836 fi
42837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42839
42840 fi
42841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42842 cat >>confdefs.h <<_ACEOF
42843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42844 _ACEOF
42845
42846 fi
42847
42848 done
42849
42850 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42851
42852
42853 # All these tests are for C++; save the language and the compiler flags.
42854 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42855 # found in GLIBCXX_CONFIGURE.
42856
42857
42858 ac_ext=cc
42859 ac_cpp='$CXXCPP $CPPFLAGS'
42860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42863
42864 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42865 ac_save_CXXFLAGS="$CXXFLAGS"
42866
42867 # Check for maintainer-mode bits.
42868 if test x"$USE_MAINTAINER_MODE" = xno; then
42869 WERROR=''
42870 else
42871 WERROR='-Werror'
42872 fi
42873
42874 # Check for -ffunction-sections -fdata-sections
42875 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42876 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42877 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42878 cat >conftest.$ac_ext <<_ACEOF
42879 /* confdefs.h. */
42880 _ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884 int foo; void bar() { };
42885 int
42886 main ()
42887 {
42888
42889 ;
42890 return 0;
42891 }
42892 _ACEOF
42893 rm -f conftest.$ac_objext
42894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42895 (eval $ac_compile) 2>conftest.er1
42896 ac_status=$?
42897 grep -v '^ *+' conftest.er1 >conftest.err
42898 rm -f conftest.er1
42899 cat conftest.err >&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); } &&
42902 { ac_try='test -z "$ac_cxx_werror_flag"
42903 || test ! -s conftest.err'
42904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42905 (eval $ac_try) 2>&5
42906 ac_status=$?
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); }; } &&
42909 { ac_try='test -s conftest.$ac_objext'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42912 ac_status=$?
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; }; then
42915 ac_fdsections=yes
42916 else
42917 echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.$ac_ext >&5
42919
42920 ac_fdsections=no
42921 fi
42922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42923 if test "$ac_test_CXXFLAGS" = set; then
42924 CXXFLAGS="$ac_save_CXXFLAGS"
42925 else
42926 # this is the suspicious part
42927 CXXFLAGS=''
42928 fi
42929 if test x"$ac_fdsections" = x"yes"; then
42930 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42931 fi
42932 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42933 echo "${ECHO_T}$ac_fdsections" >&6
42934
42935 ac_ext=c
42936 ac_cpp='$CPP $CPPFLAGS'
42937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42940
42941
42942
42943
42944
42945 # If we're not using GNU ld, then there's no point in even trying these
42946 # tests. Check for that first. We should have already tested for gld
42947 # by now (in libtool), but require it now just to be safe...
42948 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42949 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42950
42951
42952
42953 # The name set by libtool depends on the version of libtool. Shame on us
42954 # for depending on an impl detail, but c'est la vie. Older versions used
42955 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42956 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42957 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42958 # set (hence we're using an older libtool), then set it.
42959 if test x${with_gnu_ld+set} != xset; then
42960 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42961 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42962 with_gnu_ld=no
42963 else
42964 with_gnu_ld=$ac_cv_prog_gnu_ld
42965 fi
42966 fi
42967
42968 # Start by getting the version number. I think the libtool test already
42969 # does some of this, but throws away the result.
42970 if test x"$with_gnu_ld" = x"yes"; then
42971 echo "$as_me:$LINENO: checking for ld version" >&5
42972 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42973
42974 ldver=`$LD --version 2>/dev/null | head -1 | \
42975 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42976
42977 glibcxx_gnu_ld_version=`echo $ldver | \
42978 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42979 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42980 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42981 fi
42982
42983 # Set --gc-sections.
42984 glibcxx_gcsections_min_ld=21602
42985 if test x"$with_gnu_ld" = x"yes" &&
42986 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42987
42988 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42989 # NB: This flag only works reliably after 2.16.1. Configure tests
42990 # for this are difficult, so hard wire a value that should work.
42991
42992 ac_test_CFLAGS="${CFLAGS+set}"
42993 ac_save_CFLAGS="$CFLAGS"
42994 CFLAGS='-Wl,--gc-sections'
42995
42996 # Check for -Wl,--gc-sections
42997 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42998 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42999 if test x$gcc_no_link = xyes; then
43000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43002 { (exit 1); exit 1; }; }
43003 fi
43004 cat >conftest.$ac_ext <<_ACEOF
43005 /* confdefs.h. */
43006 _ACEOF
43007 cat confdefs.h >>conftest.$ac_ext
43008 cat >>conftest.$ac_ext <<_ACEOF
43009 /* end confdefs.h. */
43010 int one(void) { return 1; }
43011 int two(void) { return 2; }
43012
43013 int
43014 main ()
43015 {
43016 two();
43017 ;
43018 return 0;
43019 }
43020 _ACEOF
43021 rm -f conftest.$ac_objext conftest$ac_exeext
43022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43023 (eval $ac_link) 2>conftest.er1
43024 ac_status=$?
43025 grep -v '^ *+' conftest.er1 >conftest.err
43026 rm -f conftest.er1
43027 cat conftest.err >&5
43028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43029 (exit $ac_status); } &&
43030 { ac_try='test -z "$ac_c_werror_flag"
43031 || test ! -s conftest.err'
43032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43033 (eval $ac_try) 2>&5
43034 ac_status=$?
43035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43036 (exit $ac_status); }; } &&
43037 { ac_try='test -s conftest$ac_exeext'
43038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43039 (eval $ac_try) 2>&5
43040 ac_status=$?
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); }; }; then
43043 ac_gcsections=yes
43044 else
43045 echo "$as_me: failed program was:" >&5
43046 sed 's/^/| /' conftest.$ac_ext >&5
43047
43048 ac_gcsections=no
43049 fi
43050 rm -f conftest.err conftest.$ac_objext \
43051 conftest$ac_exeext conftest.$ac_ext
43052 if test "$ac_gcsections" = "yes"; then
43053 rm -f conftest.c
43054 touch conftest.c
43055 if $CC -c conftest.c; then
43056 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43057 grep "Warning: gc-sections option ignored" > /dev/null; then
43058 ac_gcsections=no
43059 fi
43060 fi
43061 rm -f conftest.c conftest.o conftest
43062 fi
43063 if test "$ac_gcsections" = "yes"; then
43064 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43065 fi
43066 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43067 echo "${ECHO_T}$ac_gcsections" >&6
43068
43069 if test "$ac_test_CFLAGS" = set; then
43070 CFLAGS="$ac_save_CFLAGS"
43071 else
43072 # this is the suspicious part
43073 CFLAGS=''
43074 fi
43075 fi
43076
43077 # Set -z,relro.
43078 # Note this is only for shared objects.
43079 ac_ld_relro=no
43080 if test x"$with_gnu_ld" = x"yes"; then
43081 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43082 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43083 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43084 if test -n "$cxx_z_relo"; then
43085 OPT_LDFLAGS="-Wl,-z,relro"
43086 ac_ld_relro=yes
43087 fi
43088 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43089 echo "${ECHO_T}$ac_ld_relro" >&6
43090 fi
43091
43092 # Set linker optimization flags.
43093 if test x"$with_gnu_ld" = x"yes"; then
43094 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43095 fi
43096
43097
43098
43099
43100
43101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43102 ac_save_CXXFLAGS="$CXXFLAGS"
43103 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43104
43105 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43106 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43107 if test "${ac_cv_lib_m_sin+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43109 else
43110 ac_check_lib_save_LIBS=$LIBS
43111 LIBS="-lm $LIBS"
43112 if test x$gcc_no_link = xyes; then
43113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43115 { (exit 1); exit 1; }; }
43116 fi
43117 cat >conftest.$ac_ext <<_ACEOF
43118 /* confdefs.h. */
43119 _ACEOF
43120 cat confdefs.h >>conftest.$ac_ext
43121 cat >>conftest.$ac_ext <<_ACEOF
43122 /* end confdefs.h. */
43123
43124 /* Override any gcc2 internal prototype to avoid an error. */
43125 #ifdef __cplusplus
43126 extern "C"
43127 #endif
43128 /* We use char because int might match the return type of a gcc2
43129 builtin and then its argument prototype would still apply. */
43130 char sin ();
43131 int
43132 main ()
43133 {
43134 sin ();
43135 ;
43136 return 0;
43137 }
43138 _ACEOF
43139 rm -f conftest.$ac_objext conftest$ac_exeext
43140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43141 (eval $ac_link) 2>conftest.er1
43142 ac_status=$?
43143 grep -v '^ *+' conftest.er1 >conftest.err
43144 rm -f conftest.er1
43145 cat conftest.err >&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); } &&
43148 { ac_try='test -z "$ac_c_werror_flag"
43149 || test ! -s conftest.err'
43150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151 (eval $ac_try) 2>&5
43152 ac_status=$?
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; } &&
43155 { ac_try='test -s conftest$ac_exeext'
43156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43157 (eval $ac_try) 2>&5
43158 ac_status=$?
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43161 ac_cv_lib_m_sin=yes
43162 else
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.$ac_ext >&5
43165
43166 ac_cv_lib_m_sin=no
43167 fi
43168 rm -f conftest.err conftest.$ac_objext \
43169 conftest$ac_exeext conftest.$ac_ext
43170 LIBS=$ac_check_lib_save_LIBS
43171 fi
43172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43173 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43174 if test $ac_cv_lib_m_sin = yes; then
43175 libm="-lm"
43176 fi
43177
43178 ac_save_LIBS="$LIBS"
43179 LIBS="$LIBS $libm"
43180
43181
43182
43183 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43184 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43185 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43186 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43187 echo $ECHO_N "(cached) $ECHO_C" >&6
43188 else
43189
43190
43191
43192 ac_ext=cc
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43197
43198 cat >conftest.$ac_ext <<_ACEOF
43199 /* confdefs.h. */
43200 _ACEOF
43201 cat confdefs.h >>conftest.$ac_ext
43202 cat >>conftest.$ac_ext <<_ACEOF
43203 /* end confdefs.h. */
43204 #include <math.h>
43205 #ifdef HAVE_IEEEFP_H
43206 #include <ieeefp.h>
43207 #endif
43208
43209 int
43210 main ()
43211 {
43212 isinf(0);
43213 ;
43214 return 0;
43215 }
43216 _ACEOF
43217 rm -f conftest.$ac_objext
43218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43219 (eval $ac_compile) 2>conftest.er1
43220 ac_status=$?
43221 grep -v '^ *+' conftest.er1 >conftest.err
43222 rm -f conftest.er1
43223 cat conftest.err >&5
43224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225 (exit $ac_status); } &&
43226 { ac_try='test -z "$ac_cxx_werror_flag"
43227 || test ! -s conftest.err'
43228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43229 (eval $ac_try) 2>&5
43230 ac_status=$?
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); }; } &&
43233 { ac_try='test -s conftest.$ac_objext'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43236 ac_status=$?
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; }; then
43239 glibcxx_cv_func_isinf_use=yes
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43243
43244 glibcxx_cv_func_isinf_use=no
43245 fi
43246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43247 ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43252
43253
43254 fi
43255
43256 fi
43257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43258 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43259
43260 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43261
43262 for ac_func in isinf
43263 do
43264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43265 echo "$as_me:$LINENO: checking for $ac_func" >&5
43266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43267 if eval "test \"\${$as_ac_var+set}\" = set"; then
43268 echo $ECHO_N "(cached) $ECHO_C" >&6
43269 else
43270 if test x$gcc_no_link = xyes; then
43271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43273 { (exit 1); exit 1; }; }
43274 fi
43275 cat >conftest.$ac_ext <<_ACEOF
43276 /* confdefs.h. */
43277 _ACEOF
43278 cat confdefs.h >>conftest.$ac_ext
43279 cat >>conftest.$ac_ext <<_ACEOF
43280 /* end confdefs.h. */
43281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43283 #define $ac_func innocuous_$ac_func
43284
43285 /* System header to define __stub macros and hopefully few prototypes,
43286 which can conflict with char $ac_func (); below.
43287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43288 <limits.h> exists even on freestanding compilers. */
43289
43290 #ifdef __STDC__
43291 # include <limits.h>
43292 #else
43293 # include <assert.h>
43294 #endif
43295
43296 #undef $ac_func
43297
43298 /* Override any gcc2 internal prototype to avoid an error. */
43299 #ifdef __cplusplus
43300 extern "C"
43301 {
43302 #endif
43303 /* We use char because int might match the return type of a gcc2
43304 builtin and then its argument prototype would still apply. */
43305 char $ac_func ();
43306 /* The GNU C library defines this for functions which it implements
43307 to always fail with ENOSYS. Some functions are actually named
43308 something starting with __ and the normal name is an alias. */
43309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43310 choke me
43311 #else
43312 char (*f) () = $ac_func;
43313 #endif
43314 #ifdef __cplusplus
43315 }
43316 #endif
43317
43318 int
43319 main ()
43320 {
43321 return f != $ac_func;
43322 ;
43323 return 0;
43324 }
43325 _ACEOF
43326 rm -f conftest.$ac_objext conftest$ac_exeext
43327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43328 (eval $ac_link) 2>conftest.er1
43329 ac_status=$?
43330 grep -v '^ *+' conftest.er1 >conftest.err
43331 rm -f conftest.er1
43332 cat conftest.err >&5
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); } &&
43335 { ac_try='test -z "$ac_c_werror_flag"
43336 || test ! -s conftest.err'
43337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43338 (eval $ac_try) 2>&5
43339 ac_status=$?
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); }; } &&
43342 { ac_try='test -s conftest$ac_exeext'
43343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43344 (eval $ac_try) 2>&5
43345 ac_status=$?
43346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43347 (exit $ac_status); }; }; then
43348 eval "$as_ac_var=yes"
43349 else
43350 echo "$as_me: failed program was:" >&5
43351 sed 's/^/| /' conftest.$ac_ext >&5
43352
43353 eval "$as_ac_var=no"
43354 fi
43355 rm -f conftest.err conftest.$ac_objext \
43356 conftest$ac_exeext conftest.$ac_ext
43357 fi
43358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43360 if test `eval echo '${'$as_ac_var'}'` = yes; then
43361 cat >>confdefs.h <<_ACEOF
43362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43363 _ACEOF
43364
43365 fi
43366 done
43367
43368 else
43369
43370 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43371 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43372 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43373 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43374 echo $ECHO_N "(cached) $ECHO_C" >&6
43375 else
43376
43377
43378
43379 ac_ext=cc
43380 ac_cpp='$CXXCPP $CPPFLAGS'
43381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43384
43385 cat >conftest.$ac_ext <<_ACEOF
43386 /* confdefs.h. */
43387 _ACEOF
43388 cat confdefs.h >>conftest.$ac_ext
43389 cat >>conftest.$ac_ext <<_ACEOF
43390 /* end confdefs.h. */
43391 #include <math.h>
43392 #ifdef HAVE_IEEEFP_H
43393 #include <ieeefp.h>
43394 #endif
43395
43396 int
43397 main ()
43398 {
43399 _isinf(0);
43400 ;
43401 return 0;
43402 }
43403 _ACEOF
43404 rm -f conftest.$ac_objext
43405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43406 (eval $ac_compile) 2>conftest.er1
43407 ac_status=$?
43408 grep -v '^ *+' conftest.er1 >conftest.err
43409 rm -f conftest.er1
43410 cat conftest.err >&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); } &&
43413 { ac_try='test -z "$ac_cxx_werror_flag"
43414 || test ! -s conftest.err'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43417 ac_status=$?
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; } &&
43420 { ac_try='test -s conftest.$ac_objext'
43421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43422 (eval $ac_try) 2>&5
43423 ac_status=$?
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); }; }; then
43426 glibcxx_cv_func__isinf_use=yes
43427 else
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43430
43431 glibcxx_cv_func__isinf_use=no
43432 fi
43433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43434 ac_ext=c
43435 ac_cpp='$CPP $CPPFLAGS'
43436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43439
43440
43441 fi
43442
43443 fi
43444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43445 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43446
43447 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43448
43449 for ac_func in _isinf
43450 do
43451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43452 echo "$as_me:$LINENO: checking for $ac_func" >&5
43453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43454 if eval "test \"\${$as_ac_var+set}\" = set"; then
43455 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 else
43457 if test x$gcc_no_link = xyes; then
43458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43460 { (exit 1); exit 1; }; }
43461 fi
43462 cat >conftest.$ac_ext <<_ACEOF
43463 /* confdefs.h. */
43464 _ACEOF
43465 cat confdefs.h >>conftest.$ac_ext
43466 cat >>conftest.$ac_ext <<_ACEOF
43467 /* end confdefs.h. */
43468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43470 #define $ac_func innocuous_$ac_func
43471
43472 /* System header to define __stub macros and hopefully few prototypes,
43473 which can conflict with char $ac_func (); below.
43474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43475 <limits.h> exists even on freestanding compilers. */
43476
43477 #ifdef __STDC__
43478 # include <limits.h>
43479 #else
43480 # include <assert.h>
43481 #endif
43482
43483 #undef $ac_func
43484
43485 /* Override any gcc2 internal prototype to avoid an error. */
43486 #ifdef __cplusplus
43487 extern "C"
43488 {
43489 #endif
43490 /* We use char because int might match the return type of a gcc2
43491 builtin and then its argument prototype would still apply. */
43492 char $ac_func ();
43493 /* The GNU C library defines this for functions which it implements
43494 to always fail with ENOSYS. Some functions are actually named
43495 something starting with __ and the normal name is an alias. */
43496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43497 choke me
43498 #else
43499 char (*f) () = $ac_func;
43500 #endif
43501 #ifdef __cplusplus
43502 }
43503 #endif
43504
43505 int
43506 main ()
43507 {
43508 return f != $ac_func;
43509 ;
43510 return 0;
43511 }
43512 _ACEOF
43513 rm -f conftest.$ac_objext conftest$ac_exeext
43514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43515 (eval $ac_link) 2>conftest.er1
43516 ac_status=$?
43517 grep -v '^ *+' conftest.er1 >conftest.err
43518 rm -f conftest.er1
43519 cat conftest.err >&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); } &&
43522 { ac_try='test -z "$ac_c_werror_flag"
43523 || test ! -s conftest.err'
43524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43525 (eval $ac_try) 2>&5
43526 ac_status=$?
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); }; } &&
43529 { ac_try='test -s conftest$ac_exeext'
43530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43531 (eval $ac_try) 2>&5
43532 ac_status=$?
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); }; }; then
43535 eval "$as_ac_var=yes"
43536 else
43537 echo "$as_me: failed program was:" >&5
43538 sed 's/^/| /' conftest.$ac_ext >&5
43539
43540 eval "$as_ac_var=no"
43541 fi
43542 rm -f conftest.err conftest.$ac_objext \
43543 conftest$ac_exeext conftest.$ac_ext
43544 fi
43545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43547 if test `eval echo '${'$as_ac_var'}'` = yes; then
43548 cat >>confdefs.h <<_ACEOF
43549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43550 _ACEOF
43551
43552 fi
43553 done
43554
43555 fi
43556 fi
43557
43558
43559
43560
43561
43562
43563 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43564 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43565 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43566 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43567 echo $ECHO_N "(cached) $ECHO_C" >&6
43568 else
43569
43570
43571
43572 ac_ext=cc
43573 ac_cpp='$CXXCPP $CPPFLAGS'
43574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577
43578 cat >conftest.$ac_ext <<_ACEOF
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 #include <math.h>
43585 #ifdef HAVE_IEEEFP_H
43586 #include <ieeefp.h>
43587 #endif
43588
43589 int
43590 main ()
43591 {
43592 isnan(0);
43593 ;
43594 return 0;
43595 }
43596 _ACEOF
43597 rm -f conftest.$ac_objext
43598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43599 (eval $ac_compile) 2>conftest.er1
43600 ac_status=$?
43601 grep -v '^ *+' conftest.er1 >conftest.err
43602 rm -f conftest.er1
43603 cat conftest.err >&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); } &&
43606 { ac_try='test -z "$ac_cxx_werror_flag"
43607 || test ! -s conftest.err'
43608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43609 (eval $ac_try) 2>&5
43610 ac_status=$?
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); }; } &&
43613 { ac_try='test -s conftest.$ac_objext'
43614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43615 (eval $ac_try) 2>&5
43616 ac_status=$?
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); }; }; then
43619 glibcxx_cv_func_isnan_use=yes
43620 else
43621 echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43623
43624 glibcxx_cv_func_isnan_use=no
43625 fi
43626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43627 ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632
43633
43634 fi
43635
43636 fi
43637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43638 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43639
43640 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43641
43642 for ac_func in isnan
43643 do
43644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43645 echo "$as_me:$LINENO: checking for $ac_func" >&5
43646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43647 if eval "test \"\${$as_ac_var+set}\" = set"; then
43648 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 else
43650 if test x$gcc_no_link = xyes; then
43651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43653 { (exit 1); exit 1; }; }
43654 fi
43655 cat >conftest.$ac_ext <<_ACEOF
43656 /* confdefs.h. */
43657 _ACEOF
43658 cat confdefs.h >>conftest.$ac_ext
43659 cat >>conftest.$ac_ext <<_ACEOF
43660 /* end confdefs.h. */
43661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43663 #define $ac_func innocuous_$ac_func
43664
43665 /* System header to define __stub macros and hopefully few prototypes,
43666 which can conflict with char $ac_func (); below.
43667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43668 <limits.h> exists even on freestanding compilers. */
43669
43670 #ifdef __STDC__
43671 # include <limits.h>
43672 #else
43673 # include <assert.h>
43674 #endif
43675
43676 #undef $ac_func
43677
43678 /* Override any gcc2 internal prototype to avoid an error. */
43679 #ifdef __cplusplus
43680 extern "C"
43681 {
43682 #endif
43683 /* We use char because int might match the return type of a gcc2
43684 builtin and then its argument prototype would still apply. */
43685 char $ac_func ();
43686 /* The GNU C library defines this for functions which it implements
43687 to always fail with ENOSYS. Some functions are actually named
43688 something starting with __ and the normal name is an alias. */
43689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43690 choke me
43691 #else
43692 char (*f) () = $ac_func;
43693 #endif
43694 #ifdef __cplusplus
43695 }
43696 #endif
43697
43698 int
43699 main ()
43700 {
43701 return f != $ac_func;
43702 ;
43703 return 0;
43704 }
43705 _ACEOF
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43708 (eval $ac_link) 2>conftest.er1
43709 ac_status=$?
43710 grep -v '^ *+' conftest.er1 >conftest.err
43711 rm -f conftest.er1
43712 cat conftest.err >&5
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); } &&
43715 { ac_try='test -z "$ac_c_werror_flag"
43716 || test ! -s conftest.err'
43717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43718 (eval $ac_try) 2>&5
43719 ac_status=$?
43720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721 (exit $ac_status); }; } &&
43722 { ac_try='test -s conftest$ac_exeext'
43723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43724 (eval $ac_try) 2>&5
43725 ac_status=$?
43726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727 (exit $ac_status); }; }; then
43728 eval "$as_ac_var=yes"
43729 else
43730 echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.$ac_ext >&5
43732
43733 eval "$as_ac_var=no"
43734 fi
43735 rm -f conftest.err conftest.$ac_objext \
43736 conftest$ac_exeext conftest.$ac_ext
43737 fi
43738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43740 if test `eval echo '${'$as_ac_var'}'` = yes; then
43741 cat >>confdefs.h <<_ACEOF
43742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43743 _ACEOF
43744
43745 fi
43746 done
43747
43748 else
43749
43750 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43751 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43752 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43753 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43755 else
43756
43757
43758
43759 ac_ext=cc
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764
43765 cat >conftest.$ac_ext <<_ACEOF
43766 /* confdefs.h. */
43767 _ACEOF
43768 cat confdefs.h >>conftest.$ac_ext
43769 cat >>conftest.$ac_ext <<_ACEOF
43770 /* end confdefs.h. */
43771 #include <math.h>
43772 #ifdef HAVE_IEEEFP_H
43773 #include <ieeefp.h>
43774 #endif
43775
43776 int
43777 main ()
43778 {
43779 _isnan(0);
43780 ;
43781 return 0;
43782 }
43783 _ACEOF
43784 rm -f conftest.$ac_objext
43785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43786 (eval $ac_compile) 2>conftest.er1
43787 ac_status=$?
43788 grep -v '^ *+' conftest.er1 >conftest.err
43789 rm -f conftest.er1
43790 cat conftest.err >&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); } &&
43793 { ac_try='test -z "$ac_cxx_werror_flag"
43794 || test ! -s conftest.err'
43795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43796 (eval $ac_try) 2>&5
43797 ac_status=$?
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); }; } &&
43800 { ac_try='test -s conftest.$ac_objext'
43801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43802 (eval $ac_try) 2>&5
43803 ac_status=$?
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); }; }; then
43806 glibcxx_cv_func__isnan_use=yes
43807 else
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43810
43811 glibcxx_cv_func__isnan_use=no
43812 fi
43813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43814 ac_ext=c
43815 ac_cpp='$CPP $CPPFLAGS'
43816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43819
43820
43821 fi
43822
43823 fi
43824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43825 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43826
43827 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43828
43829 for ac_func in _isnan
43830 do
43831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43832 echo "$as_me:$LINENO: checking for $ac_func" >&5
43833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43834 if eval "test \"\${$as_ac_var+set}\" = set"; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43836 else
43837 if test x$gcc_no_link = xyes; then
43838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43840 { (exit 1); exit 1; }; }
43841 fi
43842 cat >conftest.$ac_ext <<_ACEOF
43843 /* confdefs.h. */
43844 _ACEOF
43845 cat confdefs.h >>conftest.$ac_ext
43846 cat >>conftest.$ac_ext <<_ACEOF
43847 /* end confdefs.h. */
43848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43850 #define $ac_func innocuous_$ac_func
43851
43852 /* System header to define __stub macros and hopefully few prototypes,
43853 which can conflict with char $ac_func (); below.
43854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43855 <limits.h> exists even on freestanding compilers. */
43856
43857 #ifdef __STDC__
43858 # include <limits.h>
43859 #else
43860 # include <assert.h>
43861 #endif
43862
43863 #undef $ac_func
43864
43865 /* Override any gcc2 internal prototype to avoid an error. */
43866 #ifdef __cplusplus
43867 extern "C"
43868 {
43869 #endif
43870 /* We use char because int might match the return type of a gcc2
43871 builtin and then its argument prototype would still apply. */
43872 char $ac_func ();
43873 /* The GNU C library defines this for functions which it implements
43874 to always fail with ENOSYS. Some functions are actually named
43875 something starting with __ and the normal name is an alias. */
43876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43877 choke me
43878 #else
43879 char (*f) () = $ac_func;
43880 #endif
43881 #ifdef __cplusplus
43882 }
43883 #endif
43884
43885 int
43886 main ()
43887 {
43888 return f != $ac_func;
43889 ;
43890 return 0;
43891 }
43892 _ACEOF
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43895 (eval $ac_link) 2>conftest.er1
43896 ac_status=$?
43897 grep -v '^ *+' conftest.er1 >conftest.err
43898 rm -f conftest.er1
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } &&
43902 { ac_try='test -z "$ac_c_werror_flag"
43903 || test ! -s conftest.err'
43904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43905 (eval $ac_try) 2>&5
43906 ac_status=$?
43907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43908 (exit $ac_status); }; } &&
43909 { ac_try='test -s conftest$ac_exeext'
43910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43911 (eval $ac_try) 2>&5
43912 ac_status=$?
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); }; }; then
43915 eval "$as_ac_var=yes"
43916 else
43917 echo "$as_me: failed program was:" >&5
43918 sed 's/^/| /' conftest.$ac_ext >&5
43919
43920 eval "$as_ac_var=no"
43921 fi
43922 rm -f conftest.err conftest.$ac_objext \
43923 conftest$ac_exeext conftest.$ac_ext
43924 fi
43925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43927 if test `eval echo '${'$as_ac_var'}'` = yes; then
43928 cat >>confdefs.h <<_ACEOF
43929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43930 _ACEOF
43931
43932 fi
43933 done
43934
43935 fi
43936 fi
43937
43938
43939
43940
43941
43942
43943 echo "$as_me:$LINENO: checking for finite declaration" >&5
43944 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43945 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43946 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43947 echo $ECHO_N "(cached) $ECHO_C" >&6
43948 else
43949
43950
43951
43952 ac_ext=cc
43953 ac_cpp='$CXXCPP $CPPFLAGS'
43954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43957
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964 #include <math.h>
43965 #ifdef HAVE_IEEEFP_H
43966 #include <ieeefp.h>
43967 #endif
43968
43969 int
43970 main ()
43971 {
43972 finite(0);
43973 ;
43974 return 0;
43975 }
43976 _ACEOF
43977 rm -f conftest.$ac_objext
43978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43979 (eval $ac_compile) 2>conftest.er1
43980 ac_status=$?
43981 grep -v '^ *+' conftest.er1 >conftest.err
43982 rm -f conftest.er1
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } &&
43986 { ac_try='test -z "$ac_cxx_werror_flag"
43987 || test ! -s conftest.err'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43990 ac_status=$?
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; } &&
43993 { ac_try='test -s conftest.$ac_objext'
43994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995 (eval $ac_try) 2>&5
43996 ac_status=$?
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; }; then
43999 glibcxx_cv_func_finite_use=yes
44000 else
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.$ac_ext >&5
44003
44004 glibcxx_cv_func_finite_use=no
44005 fi
44006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44007 ac_ext=c
44008 ac_cpp='$CPP $CPPFLAGS'
44009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44012
44013
44014 fi
44015
44016 fi
44017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44018 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44019
44020 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44021
44022 for ac_func in finite
44023 do
44024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44025 echo "$as_me:$LINENO: checking for $ac_func" >&5
44026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44027 if eval "test \"\${$as_ac_var+set}\" = set"; then
44028 echo $ECHO_N "(cached) $ECHO_C" >&6
44029 else
44030 if test x$gcc_no_link = xyes; then
44031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44033 { (exit 1); exit 1; }; }
44034 fi
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h. */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h. */
44041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44043 #define $ac_func innocuous_$ac_func
44044
44045 /* System header to define __stub macros and hopefully few prototypes,
44046 which can conflict with char $ac_func (); below.
44047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44048 <limits.h> exists even on freestanding compilers. */
44049
44050 #ifdef __STDC__
44051 # include <limits.h>
44052 #else
44053 # include <assert.h>
44054 #endif
44055
44056 #undef $ac_func
44057
44058 /* Override any gcc2 internal prototype to avoid an error. */
44059 #ifdef __cplusplus
44060 extern "C"
44061 {
44062 #endif
44063 /* We use char because int might match the return type of a gcc2
44064 builtin and then its argument prototype would still apply. */
44065 char $ac_func ();
44066 /* The GNU C library defines this for functions which it implements
44067 to always fail with ENOSYS. Some functions are actually named
44068 something starting with __ and the normal name is an alias. */
44069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44070 choke me
44071 #else
44072 char (*f) () = $ac_func;
44073 #endif
44074 #ifdef __cplusplus
44075 }
44076 #endif
44077
44078 int
44079 main ()
44080 {
44081 return f != $ac_func;
44082 ;
44083 return 0;
44084 }
44085 _ACEOF
44086 rm -f conftest.$ac_objext conftest$ac_exeext
44087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44088 (eval $ac_link) 2>conftest.er1
44089 ac_status=$?
44090 grep -v '^ *+' conftest.er1 >conftest.err
44091 rm -f conftest.er1
44092 cat conftest.err >&5
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); } &&
44095 { ac_try='test -z "$ac_c_werror_flag"
44096 || test ! -s conftest.err'
44097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44098 (eval $ac_try) 2>&5
44099 ac_status=$?
44100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44101 (exit $ac_status); }; } &&
44102 { ac_try='test -s conftest$ac_exeext'
44103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44104 (eval $ac_try) 2>&5
44105 ac_status=$?
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); }; }; then
44108 eval "$as_ac_var=yes"
44109 else
44110 echo "$as_me: failed program was:" >&5
44111 sed 's/^/| /' conftest.$ac_ext >&5
44112
44113 eval "$as_ac_var=no"
44114 fi
44115 rm -f conftest.err conftest.$ac_objext \
44116 conftest$ac_exeext conftest.$ac_ext
44117 fi
44118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44120 if test `eval echo '${'$as_ac_var'}'` = yes; then
44121 cat >>confdefs.h <<_ACEOF
44122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44123 _ACEOF
44124
44125 fi
44126 done
44127
44128 else
44129
44130 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44131 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44132 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44133 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44134 echo $ECHO_N "(cached) $ECHO_C" >&6
44135 else
44136
44137
44138
44139 ac_ext=cc
44140 ac_cpp='$CXXCPP $CPPFLAGS'
44141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44144
44145 cat >conftest.$ac_ext <<_ACEOF
44146 /* confdefs.h. */
44147 _ACEOF
44148 cat confdefs.h >>conftest.$ac_ext
44149 cat >>conftest.$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44151 #include <math.h>
44152 #ifdef HAVE_IEEEFP_H
44153 #include <ieeefp.h>
44154 #endif
44155
44156 int
44157 main ()
44158 {
44159 _finite(0);
44160 ;
44161 return 0;
44162 }
44163 _ACEOF
44164 rm -f conftest.$ac_objext
44165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44166 (eval $ac_compile) 2>conftest.er1
44167 ac_status=$?
44168 grep -v '^ *+' conftest.er1 >conftest.err
44169 rm -f conftest.er1
44170 cat conftest.err >&5
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); } &&
44173 { ac_try='test -z "$ac_cxx_werror_flag"
44174 || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44177 ac_status=$?
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try='test -s conftest.$ac_objext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44183 ac_status=$?
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 glibcxx_cv_func__finite_use=yes
44187 else
44188 echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.$ac_ext >&5
44190
44191 glibcxx_cv_func__finite_use=no
44192 fi
44193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199
44200
44201 fi
44202
44203 fi
44204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44205 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44206
44207 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44208
44209 for ac_func in _finite
44210 do
44211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44212 echo "$as_me:$LINENO: checking for $ac_func" >&5
44213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44214 if eval "test \"\${$as_ac_var+set}\" = set"; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 else
44217 if test x$gcc_no_link = xyes; then
44218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44220 { (exit 1); exit 1; }; }
44221 fi
44222 cat >conftest.$ac_ext <<_ACEOF
44223 /* confdefs.h. */
44224 _ACEOF
44225 cat confdefs.h >>conftest.$ac_ext
44226 cat >>conftest.$ac_ext <<_ACEOF
44227 /* end confdefs.h. */
44228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44230 #define $ac_func innocuous_$ac_func
44231
44232 /* System header to define __stub macros and hopefully few prototypes,
44233 which can conflict with char $ac_func (); below.
44234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44235 <limits.h> exists even on freestanding compilers. */
44236
44237 #ifdef __STDC__
44238 # include <limits.h>
44239 #else
44240 # include <assert.h>
44241 #endif
44242
44243 #undef $ac_func
44244
44245 /* Override any gcc2 internal prototype to avoid an error. */
44246 #ifdef __cplusplus
44247 extern "C"
44248 {
44249 #endif
44250 /* We use char because int might match the return type of a gcc2
44251 builtin and then its argument prototype would still apply. */
44252 char $ac_func ();
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44257 choke me
44258 #else
44259 char (*f) () = $ac_func;
44260 #endif
44261 #ifdef __cplusplus
44262 }
44263 #endif
44264
44265 int
44266 main ()
44267 {
44268 return f != $ac_func;
44269 ;
44270 return 0;
44271 }
44272 _ACEOF
44273 rm -f conftest.$ac_objext conftest$ac_exeext
44274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44275 (eval $ac_link) 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } &&
44282 { ac_try='test -z "$ac_c_werror_flag"
44283 || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try='test -s conftest$ac_exeext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44295 eval "$as_ac_var=yes"
44296 else
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44299
44300 eval "$as_ac_var=no"
44301 fi
44302 rm -f conftest.err conftest.$ac_objext \
44303 conftest$ac_exeext conftest.$ac_ext
44304 fi
44305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44307 if test `eval echo '${'$as_ac_var'}'` = yes; then
44308 cat >>confdefs.h <<_ACEOF
44309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44310 _ACEOF
44311
44312 fi
44313 done
44314
44315 fi
44316 fi
44317
44318
44319
44320
44321
44322
44323 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44324 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44325 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44326 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44327 echo $ECHO_N "(cached) $ECHO_C" >&6
44328 else
44329
44330
44331
44332 ac_ext=cc
44333 ac_cpp='$CXXCPP $CPPFLAGS'
44334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44337
44338 cat >conftest.$ac_ext <<_ACEOF
44339 /* confdefs.h. */
44340 _ACEOF
44341 cat confdefs.h >>conftest.$ac_ext
44342 cat >>conftest.$ac_ext <<_ACEOF
44343 /* end confdefs.h. */
44344 #include <math.h>
44345 int
44346 main ()
44347 {
44348 copysign(0, 0);
44349 ;
44350 return 0;
44351 }
44352 _ACEOF
44353 rm -f conftest.$ac_objext
44354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44355 (eval $ac_compile) 2>conftest.er1
44356 ac_status=$?
44357 grep -v '^ *+' conftest.er1 >conftest.err
44358 rm -f conftest.er1
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } &&
44362 { ac_try='test -z "$ac_cxx_werror_flag"
44363 || test ! -s conftest.err'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44366 ac_status=$?
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; } &&
44369 { ac_try='test -s conftest.$ac_objext'
44370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44371 (eval $ac_try) 2>&5
44372 ac_status=$?
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); }; }; then
44375 glibcxx_cv_func_copysign_use=yes
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44379
44380 glibcxx_cv_func_copysign_use=no
44381 fi
44382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44383 ac_ext=c
44384 ac_cpp='$CPP $CPPFLAGS'
44385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44388
44389
44390 fi
44391
44392 fi
44393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44394 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44395
44396 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44397
44398 for ac_func in copysign
44399 do
44400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44401 echo "$as_me:$LINENO: checking for $ac_func" >&5
44402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44403 if eval "test \"\${$as_ac_var+set}\" = set"; then
44404 echo $ECHO_N "(cached) $ECHO_C" >&6
44405 else
44406 if test x$gcc_no_link = xyes; then
44407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44409 { (exit 1); exit 1; }; }
44410 fi
44411 cat >conftest.$ac_ext <<_ACEOF
44412 /* confdefs.h. */
44413 _ACEOF
44414 cat confdefs.h >>conftest.$ac_ext
44415 cat >>conftest.$ac_ext <<_ACEOF
44416 /* end confdefs.h. */
44417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44419 #define $ac_func innocuous_$ac_func
44420
44421 /* System header to define __stub macros and hopefully few prototypes,
44422 which can conflict with char $ac_func (); below.
44423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44424 <limits.h> exists even on freestanding compilers. */
44425
44426 #ifdef __STDC__
44427 # include <limits.h>
44428 #else
44429 # include <assert.h>
44430 #endif
44431
44432 #undef $ac_func
44433
44434 /* Override any gcc2 internal prototype to avoid an error. */
44435 #ifdef __cplusplus
44436 extern "C"
44437 {
44438 #endif
44439 /* We use char because int might match the return type of a gcc2
44440 builtin and then its argument prototype would still apply. */
44441 char $ac_func ();
44442 /* The GNU C library defines this for functions which it implements
44443 to always fail with ENOSYS. Some functions are actually named
44444 something starting with __ and the normal name is an alias. */
44445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44446 choke me
44447 #else
44448 char (*f) () = $ac_func;
44449 #endif
44450 #ifdef __cplusplus
44451 }
44452 #endif
44453
44454 int
44455 main ()
44456 {
44457 return f != $ac_func;
44458 ;
44459 return 0;
44460 }
44461 _ACEOF
44462 rm -f conftest.$ac_objext conftest$ac_exeext
44463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44464 (eval $ac_link) 2>conftest.er1
44465 ac_status=$?
44466 grep -v '^ *+' conftest.er1 >conftest.err
44467 rm -f conftest.er1
44468 cat conftest.err >&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); } &&
44471 { ac_try='test -z "$ac_c_werror_flag"
44472 || test ! -s conftest.err'
44473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44474 (eval $ac_try) 2>&5
44475 ac_status=$?
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; } &&
44478 { ac_try='test -s conftest$ac_exeext'
44479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44480 (eval $ac_try) 2>&5
44481 ac_status=$?
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; }; then
44484 eval "$as_ac_var=yes"
44485 else
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.$ac_ext >&5
44488
44489 eval "$as_ac_var=no"
44490 fi
44491 rm -f conftest.err conftest.$ac_objext \
44492 conftest$ac_exeext conftest.$ac_ext
44493 fi
44494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44496 if test `eval echo '${'$as_ac_var'}'` = yes; then
44497 cat >>confdefs.h <<_ACEOF
44498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44499 _ACEOF
44500
44501 fi
44502 done
44503
44504 else
44505
44506 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44507 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44508 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44509 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44510 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 else
44512
44513
44514
44515 ac_ext=cc
44516 ac_cpp='$CXXCPP $CPPFLAGS'
44517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44520
44521 cat >conftest.$ac_ext <<_ACEOF
44522 /* confdefs.h. */
44523 _ACEOF
44524 cat confdefs.h >>conftest.$ac_ext
44525 cat >>conftest.$ac_ext <<_ACEOF
44526 /* end confdefs.h. */
44527 #include <math.h>
44528 int
44529 main ()
44530 {
44531 _copysign(0, 0);
44532 ;
44533 return 0;
44534 }
44535 _ACEOF
44536 rm -f conftest.$ac_objext
44537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44538 (eval $ac_compile) 2>conftest.er1
44539 ac_status=$?
44540 grep -v '^ *+' conftest.er1 >conftest.err
44541 rm -f conftest.er1
44542 cat conftest.err >&5
44543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44544 (exit $ac_status); } &&
44545 { ac_try='test -z "$ac_cxx_werror_flag"
44546 || test ! -s conftest.err'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44549 ac_status=$?
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; } &&
44552 { ac_try='test -s conftest.$ac_objext'
44553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44554 (eval $ac_try) 2>&5
44555 ac_status=$?
44556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44557 (exit $ac_status); }; }; then
44558 glibcxx_cv_func__copysign_use=yes
44559 else
44560 echo "$as_me: failed program was:" >&5
44561 sed 's/^/| /' conftest.$ac_ext >&5
44562
44563 glibcxx_cv_func__copysign_use=no
44564 fi
44565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44566 ac_ext=c
44567 ac_cpp='$CPP $CPPFLAGS'
44568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44571
44572
44573 fi
44574
44575 fi
44576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44577 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44578
44579 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44580
44581 for ac_func in _copysign
44582 do
44583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44584 echo "$as_me:$LINENO: checking for $ac_func" >&5
44585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44586 if eval "test \"\${$as_ac_var+set}\" = set"; then
44587 echo $ECHO_N "(cached) $ECHO_C" >&6
44588 else
44589 if test x$gcc_no_link = xyes; then
44590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44592 { (exit 1); exit 1; }; }
44593 fi
44594 cat >conftest.$ac_ext <<_ACEOF
44595 /* confdefs.h. */
44596 _ACEOF
44597 cat confdefs.h >>conftest.$ac_ext
44598 cat >>conftest.$ac_ext <<_ACEOF
44599 /* end confdefs.h. */
44600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44602 #define $ac_func innocuous_$ac_func
44603
44604 /* System header to define __stub macros and hopefully few prototypes,
44605 which can conflict with char $ac_func (); below.
44606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44607 <limits.h> exists even on freestanding compilers. */
44608
44609 #ifdef __STDC__
44610 # include <limits.h>
44611 #else
44612 # include <assert.h>
44613 #endif
44614
44615 #undef $ac_func
44616
44617 /* Override any gcc2 internal prototype to avoid an error. */
44618 #ifdef __cplusplus
44619 extern "C"
44620 {
44621 #endif
44622 /* We use char because int might match the return type of a gcc2
44623 builtin and then its argument prototype would still apply. */
44624 char $ac_func ();
44625 /* The GNU C library defines this for functions which it implements
44626 to always fail with ENOSYS. Some functions are actually named
44627 something starting with __ and the normal name is an alias. */
44628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44629 choke me
44630 #else
44631 char (*f) () = $ac_func;
44632 #endif
44633 #ifdef __cplusplus
44634 }
44635 #endif
44636
44637 int
44638 main ()
44639 {
44640 return f != $ac_func;
44641 ;
44642 return 0;
44643 }
44644 _ACEOF
44645 rm -f conftest.$ac_objext conftest$ac_exeext
44646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44647 (eval $ac_link) 2>conftest.er1
44648 ac_status=$?
44649 grep -v '^ *+' conftest.er1 >conftest.err
44650 rm -f conftest.er1
44651 cat conftest.err >&5
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); } &&
44654 { ac_try='test -z "$ac_c_werror_flag"
44655 || test ! -s conftest.err'
44656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44657 (eval $ac_try) 2>&5
44658 ac_status=$?
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; } &&
44661 { ac_try='test -s conftest$ac_exeext'
44662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44663 (eval $ac_try) 2>&5
44664 ac_status=$?
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); }; }; then
44667 eval "$as_ac_var=yes"
44668 else
44669 echo "$as_me: failed program was:" >&5
44670 sed 's/^/| /' conftest.$ac_ext >&5
44671
44672 eval "$as_ac_var=no"
44673 fi
44674 rm -f conftest.err conftest.$ac_objext \
44675 conftest$ac_exeext conftest.$ac_ext
44676 fi
44677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44679 if test `eval echo '${'$as_ac_var'}'` = yes; then
44680 cat >>confdefs.h <<_ACEOF
44681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44682 _ACEOF
44683
44684 fi
44685 done
44686
44687 fi
44688 fi
44689
44690
44691
44692
44693
44694
44695 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44696 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44697 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44698 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44699 echo $ECHO_N "(cached) $ECHO_C" >&6
44700 else
44701
44702
44703
44704 ac_ext=cc
44705 ac_cpp='$CXXCPP $CPPFLAGS'
44706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44709
44710 cat >conftest.$ac_ext <<_ACEOF
44711 /* confdefs.h. */
44712 _ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <math.h>
44717 int
44718 main ()
44719 {
44720 sincos(0, 0, 0);
44721 ;
44722 return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44727 (eval $ac_compile) 2>conftest.er1
44728 ac_status=$?
44729 grep -v '^ *+' conftest.er1 >conftest.err
44730 rm -f conftest.er1
44731 cat conftest.err >&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } &&
44734 { ac_try='test -z "$ac_cxx_werror_flag"
44735 || test ! -s conftest.err'
44736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44737 (eval $ac_try) 2>&5
44738 ac_status=$?
44739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44740 (exit $ac_status); }; } &&
44741 { ac_try='test -s conftest.$ac_objext'
44742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44743 (eval $ac_try) 2>&5
44744 ac_status=$?
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); }; }; then
44747 glibcxx_cv_func_sincos_use=yes
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44751
44752 glibcxx_cv_func_sincos_use=no
44753 fi
44754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44755 ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44760
44761
44762 fi
44763
44764 fi
44765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44766 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44767
44768 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44769
44770 for ac_func in sincos
44771 do
44772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44773 echo "$as_me:$LINENO: checking for $ac_func" >&5
44774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44775 if eval "test \"\${$as_ac_var+set}\" = set"; then
44776 echo $ECHO_N "(cached) $ECHO_C" >&6
44777 else
44778 if test x$gcc_no_link = xyes; then
44779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44781 { (exit 1); exit 1; }; }
44782 fi
44783 cat >conftest.$ac_ext <<_ACEOF
44784 /* confdefs.h. */
44785 _ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h. */
44789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44791 #define $ac_func innocuous_$ac_func
44792
44793 /* System header to define __stub macros and hopefully few prototypes,
44794 which can conflict with char $ac_func (); below.
44795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44796 <limits.h> exists even on freestanding compilers. */
44797
44798 #ifdef __STDC__
44799 # include <limits.h>
44800 #else
44801 # include <assert.h>
44802 #endif
44803
44804 #undef $ac_func
44805
44806 /* Override any gcc2 internal prototype to avoid an error. */
44807 #ifdef __cplusplus
44808 extern "C"
44809 {
44810 #endif
44811 /* We use char because int might match the return type of a gcc2
44812 builtin and then its argument prototype would still apply. */
44813 char $ac_func ();
44814 /* The GNU C library defines this for functions which it implements
44815 to always fail with ENOSYS. Some functions are actually named
44816 something starting with __ and the normal name is an alias. */
44817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44818 choke me
44819 #else
44820 char (*f) () = $ac_func;
44821 #endif
44822 #ifdef __cplusplus
44823 }
44824 #endif
44825
44826 int
44827 main ()
44828 {
44829 return f != $ac_func;
44830 ;
44831 return 0;
44832 }
44833 _ACEOF
44834 rm -f conftest.$ac_objext conftest$ac_exeext
44835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44836 (eval $ac_link) 2>conftest.er1
44837 ac_status=$?
44838 grep -v '^ *+' conftest.er1 >conftest.err
44839 rm -f conftest.er1
44840 cat conftest.err >&5
44841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842 (exit $ac_status); } &&
44843 { ac_try='test -z "$ac_c_werror_flag"
44844 || test ! -s conftest.err'
44845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44846 (eval $ac_try) 2>&5
44847 ac_status=$?
44848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849 (exit $ac_status); }; } &&
44850 { ac_try='test -s conftest$ac_exeext'
44851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852 (eval $ac_try) 2>&5
44853 ac_status=$?
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); }; }; then
44856 eval "$as_ac_var=yes"
44857 else
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44860
44861 eval "$as_ac_var=no"
44862 fi
44863 rm -f conftest.err conftest.$ac_objext \
44864 conftest$ac_exeext conftest.$ac_ext
44865 fi
44866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44868 if test `eval echo '${'$as_ac_var'}'` = yes; then
44869 cat >>confdefs.h <<_ACEOF
44870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44871 _ACEOF
44872
44873 fi
44874 done
44875
44876 else
44877
44878 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44879 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44880 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44881 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44882 echo $ECHO_N "(cached) $ECHO_C" >&6
44883 else
44884
44885
44886
44887 ac_ext=cc
44888 ac_cpp='$CXXCPP $CPPFLAGS'
44889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44892
44893 cat >conftest.$ac_ext <<_ACEOF
44894 /* confdefs.h. */
44895 _ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h. */
44899 #include <math.h>
44900 int
44901 main ()
44902 {
44903 _sincos(0, 0, 0);
44904 ;
44905 return 0;
44906 }
44907 _ACEOF
44908 rm -f conftest.$ac_objext
44909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44910 (eval $ac_compile) 2>conftest.er1
44911 ac_status=$?
44912 grep -v '^ *+' conftest.er1 >conftest.err
44913 rm -f conftest.er1
44914 cat conftest.err >&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); } &&
44917 { ac_try='test -z "$ac_cxx_werror_flag"
44918 || test ! -s conftest.err'
44919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44920 (eval $ac_try) 2>&5
44921 ac_status=$?
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); }; } &&
44924 { ac_try='test -s conftest.$ac_objext'
44925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44926 (eval $ac_try) 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; }; then
44930 glibcxx_cv_func__sincos_use=yes
44931 else
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44934
44935 glibcxx_cv_func__sincos_use=no
44936 fi
44937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943
44944
44945 fi
44946
44947 fi
44948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44949 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44950
44951 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44952
44953 for ac_func in _sincos
44954 do
44955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44956 echo "$as_me:$LINENO: checking for $ac_func" >&5
44957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44958 if eval "test \"\${$as_ac_var+set}\" = set"; then
44959 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 else
44961 if test x$gcc_no_link = xyes; then
44962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44964 { (exit 1); exit 1; }; }
44965 fi
44966 cat >conftest.$ac_ext <<_ACEOF
44967 /* confdefs.h. */
44968 _ACEOF
44969 cat confdefs.h >>conftest.$ac_ext
44970 cat >>conftest.$ac_ext <<_ACEOF
44971 /* end confdefs.h. */
44972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44974 #define $ac_func innocuous_$ac_func
44975
44976 /* System header to define __stub macros and hopefully few prototypes,
44977 which can conflict with char $ac_func (); below.
44978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44979 <limits.h> exists even on freestanding compilers. */
44980
44981 #ifdef __STDC__
44982 # include <limits.h>
44983 #else
44984 # include <assert.h>
44985 #endif
44986
44987 #undef $ac_func
44988
44989 /* Override any gcc2 internal prototype to avoid an error. */
44990 #ifdef __cplusplus
44991 extern "C"
44992 {
44993 #endif
44994 /* We use char because int might match the return type of a gcc2
44995 builtin and then its argument prototype would still apply. */
44996 char $ac_func ();
44997 /* The GNU C library defines this for functions which it implements
44998 to always fail with ENOSYS. Some functions are actually named
44999 something starting with __ and the normal name is an alias. */
45000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45001 choke me
45002 #else
45003 char (*f) () = $ac_func;
45004 #endif
45005 #ifdef __cplusplus
45006 }
45007 #endif
45008
45009 int
45010 main ()
45011 {
45012 return f != $ac_func;
45013 ;
45014 return 0;
45015 }
45016 _ACEOF
45017 rm -f conftest.$ac_objext conftest$ac_exeext
45018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45019 (eval $ac_link) 2>conftest.er1
45020 ac_status=$?
45021 grep -v '^ *+' conftest.er1 >conftest.err
45022 rm -f conftest.er1
45023 cat conftest.err >&5
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); } &&
45026 { ac_try='test -z "$ac_c_werror_flag"
45027 || test ! -s conftest.err'
45028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45029 (eval $ac_try) 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; } &&
45033 { ac_try='test -s conftest$ac_exeext'
45034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45035 (eval $ac_try) 2>&5
45036 ac_status=$?
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; }; then
45039 eval "$as_ac_var=yes"
45040 else
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.$ac_ext >&5
45043
45044 eval "$as_ac_var=no"
45045 fi
45046 rm -f conftest.err conftest.$ac_objext \
45047 conftest$ac_exeext conftest.$ac_ext
45048 fi
45049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45051 if test `eval echo '${'$as_ac_var'}'` = yes; then
45052 cat >>confdefs.h <<_ACEOF
45053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45054 _ACEOF
45055
45056 fi
45057 done
45058
45059 fi
45060 fi
45061
45062
45063
45064
45065
45066
45067 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45068 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45069 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45070 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45071 echo $ECHO_N "(cached) $ECHO_C" >&6
45072 else
45073
45074
45075
45076 ac_ext=cc
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081
45082 cat >conftest.$ac_ext <<_ACEOF
45083 /* confdefs.h. */
45084 _ACEOF
45085 cat confdefs.h >>conftest.$ac_ext
45086 cat >>conftest.$ac_ext <<_ACEOF
45087 /* end confdefs.h. */
45088 #include <math.h>
45089 #ifdef HAVE_IEEEFP_H
45090 #include <ieeefp.h>
45091 #endif
45092
45093 int
45094 main ()
45095 {
45096 fpclass(0);
45097 ;
45098 return 0;
45099 }
45100 _ACEOF
45101 rm -f conftest.$ac_objext
45102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45103 (eval $ac_compile) 2>conftest.er1
45104 ac_status=$?
45105 grep -v '^ *+' conftest.er1 >conftest.err
45106 rm -f conftest.er1
45107 cat conftest.err >&5
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); } &&
45110 { ac_try='test -z "$ac_cxx_werror_flag"
45111 || test ! -s conftest.err'
45112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45113 (eval $ac_try) 2>&5
45114 ac_status=$?
45115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45116 (exit $ac_status); }; } &&
45117 { ac_try='test -s conftest.$ac_objext'
45118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45119 (eval $ac_try) 2>&5
45120 ac_status=$?
45121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122 (exit $ac_status); }; }; then
45123 glibcxx_cv_func_fpclass_use=yes
45124 else
45125 echo "$as_me: failed program was:" >&5
45126 sed 's/^/| /' conftest.$ac_ext >&5
45127
45128 glibcxx_cv_func_fpclass_use=no
45129 fi
45130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45131 ac_ext=c
45132 ac_cpp='$CPP $CPPFLAGS'
45133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45136
45137
45138 fi
45139
45140 fi
45141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45142 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45143
45144 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45145
45146 for ac_func in fpclass
45147 do
45148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45149 echo "$as_me:$LINENO: checking for $ac_func" >&5
45150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45151 if eval "test \"\${$as_ac_var+set}\" = set"; then
45152 echo $ECHO_N "(cached) $ECHO_C" >&6
45153 else
45154 if test x$gcc_no_link = xyes; then
45155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45157 { (exit 1); exit 1; }; }
45158 fi
45159 cat >conftest.$ac_ext <<_ACEOF
45160 /* confdefs.h. */
45161 _ACEOF
45162 cat confdefs.h >>conftest.$ac_ext
45163 cat >>conftest.$ac_ext <<_ACEOF
45164 /* end confdefs.h. */
45165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45167 #define $ac_func innocuous_$ac_func
45168
45169 /* System header to define __stub macros and hopefully few prototypes,
45170 which can conflict with char $ac_func (); below.
45171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45172 <limits.h> exists even on freestanding compilers. */
45173
45174 #ifdef __STDC__
45175 # include <limits.h>
45176 #else
45177 # include <assert.h>
45178 #endif
45179
45180 #undef $ac_func
45181
45182 /* Override any gcc2 internal prototype to avoid an error. */
45183 #ifdef __cplusplus
45184 extern "C"
45185 {
45186 #endif
45187 /* We use char because int might match the return type of a gcc2
45188 builtin and then its argument prototype would still apply. */
45189 char $ac_func ();
45190 /* The GNU C library defines this for functions which it implements
45191 to always fail with ENOSYS. Some functions are actually named
45192 something starting with __ and the normal name is an alias. */
45193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45194 choke me
45195 #else
45196 char (*f) () = $ac_func;
45197 #endif
45198 #ifdef __cplusplus
45199 }
45200 #endif
45201
45202 int
45203 main ()
45204 {
45205 return f != $ac_func;
45206 ;
45207 return 0;
45208 }
45209 _ACEOF
45210 rm -f conftest.$ac_objext conftest$ac_exeext
45211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45212 (eval $ac_link) 2>conftest.er1
45213 ac_status=$?
45214 grep -v '^ *+' conftest.er1 >conftest.err
45215 rm -f conftest.er1
45216 cat conftest.err >&5
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); } &&
45219 { ac_try='test -z "$ac_c_werror_flag"
45220 || test ! -s conftest.err'
45221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45222 (eval $ac_try) 2>&5
45223 ac_status=$?
45224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45225 (exit $ac_status); }; } &&
45226 { ac_try='test -s conftest$ac_exeext'
45227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45228 (eval $ac_try) 2>&5
45229 ac_status=$?
45230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45231 (exit $ac_status); }; }; then
45232 eval "$as_ac_var=yes"
45233 else
45234 echo "$as_me: failed program was:" >&5
45235 sed 's/^/| /' conftest.$ac_ext >&5
45236
45237 eval "$as_ac_var=no"
45238 fi
45239 rm -f conftest.err conftest.$ac_objext \
45240 conftest$ac_exeext conftest.$ac_ext
45241 fi
45242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45244 if test `eval echo '${'$as_ac_var'}'` = yes; then
45245 cat >>confdefs.h <<_ACEOF
45246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45247 _ACEOF
45248
45249 fi
45250 done
45251
45252 else
45253
45254 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45255 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45256 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45257 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45258 echo $ECHO_N "(cached) $ECHO_C" >&6
45259 else
45260
45261
45262
45263 ac_ext=cc
45264 ac_cpp='$CXXCPP $CPPFLAGS'
45265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45268
45269 cat >conftest.$ac_ext <<_ACEOF
45270 /* confdefs.h. */
45271 _ACEOF
45272 cat confdefs.h >>conftest.$ac_ext
45273 cat >>conftest.$ac_ext <<_ACEOF
45274 /* end confdefs.h. */
45275 #include <math.h>
45276 #ifdef HAVE_IEEEFP_H
45277 #include <ieeefp.h>
45278 #endif
45279
45280 int
45281 main ()
45282 {
45283 _fpclass(0);
45284 ;
45285 return 0;
45286 }
45287 _ACEOF
45288 rm -f conftest.$ac_objext
45289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45290 (eval $ac_compile) 2>conftest.er1
45291 ac_status=$?
45292 grep -v '^ *+' conftest.er1 >conftest.err
45293 rm -f conftest.er1
45294 cat conftest.err >&5
45295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45296 (exit $ac_status); } &&
45297 { ac_try='test -z "$ac_cxx_werror_flag"
45298 || test ! -s conftest.err'
45299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45300 (eval $ac_try) 2>&5
45301 ac_status=$?
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); }; } &&
45304 { ac_try='test -s conftest.$ac_objext'
45305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45306 (eval $ac_try) 2>&5
45307 ac_status=$?
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); }; }; then
45310 glibcxx_cv_func__fpclass_use=yes
45311 else
45312 echo "$as_me: failed program was:" >&5
45313 sed 's/^/| /' conftest.$ac_ext >&5
45314
45315 glibcxx_cv_func__fpclass_use=no
45316 fi
45317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45318 ac_ext=c
45319 ac_cpp='$CPP $CPPFLAGS'
45320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45323
45324
45325 fi
45326
45327 fi
45328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45329 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45330
45331 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45332
45333 for ac_func in _fpclass
45334 do
45335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45336 echo "$as_me:$LINENO: checking for $ac_func" >&5
45337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45338 if eval "test \"\${$as_ac_var+set}\" = set"; then
45339 echo $ECHO_N "(cached) $ECHO_C" >&6
45340 else
45341 if test x$gcc_no_link = xyes; then
45342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45344 { (exit 1); exit 1; }; }
45345 fi
45346 cat >conftest.$ac_ext <<_ACEOF
45347 /* confdefs.h. */
45348 _ACEOF
45349 cat confdefs.h >>conftest.$ac_ext
45350 cat >>conftest.$ac_ext <<_ACEOF
45351 /* end confdefs.h. */
45352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45354 #define $ac_func innocuous_$ac_func
45355
45356 /* System header to define __stub macros and hopefully few prototypes,
45357 which can conflict with char $ac_func (); below.
45358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45359 <limits.h> exists even on freestanding compilers. */
45360
45361 #ifdef __STDC__
45362 # include <limits.h>
45363 #else
45364 # include <assert.h>
45365 #endif
45366
45367 #undef $ac_func
45368
45369 /* Override any gcc2 internal prototype to avoid an error. */
45370 #ifdef __cplusplus
45371 extern "C"
45372 {
45373 #endif
45374 /* We use char because int might match the return type of a gcc2
45375 builtin and then its argument prototype would still apply. */
45376 char $ac_func ();
45377 /* The GNU C library defines this for functions which it implements
45378 to always fail with ENOSYS. Some functions are actually named
45379 something starting with __ and the normal name is an alias. */
45380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45381 choke me
45382 #else
45383 char (*f) () = $ac_func;
45384 #endif
45385 #ifdef __cplusplus
45386 }
45387 #endif
45388
45389 int
45390 main ()
45391 {
45392 return f != $ac_func;
45393 ;
45394 return 0;
45395 }
45396 _ACEOF
45397 rm -f conftest.$ac_objext conftest$ac_exeext
45398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45399 (eval $ac_link) 2>conftest.er1
45400 ac_status=$?
45401 grep -v '^ *+' conftest.er1 >conftest.err
45402 rm -f conftest.er1
45403 cat conftest.err >&5
45404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45405 (exit $ac_status); } &&
45406 { ac_try='test -z "$ac_c_werror_flag"
45407 || test ! -s conftest.err'
45408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45409 (eval $ac_try) 2>&5
45410 ac_status=$?
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); }; } &&
45413 { ac_try='test -s conftest$ac_exeext'
45414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45415 (eval $ac_try) 2>&5
45416 ac_status=$?
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); }; }; then
45419 eval "$as_ac_var=yes"
45420 else
45421 echo "$as_me: failed program was:" >&5
45422 sed 's/^/| /' conftest.$ac_ext >&5
45423
45424 eval "$as_ac_var=no"
45425 fi
45426 rm -f conftest.err conftest.$ac_objext \
45427 conftest$ac_exeext conftest.$ac_ext
45428 fi
45429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45431 if test `eval echo '${'$as_ac_var'}'` = yes; then
45432 cat >>confdefs.h <<_ACEOF
45433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45434 _ACEOF
45435
45436 fi
45437 done
45438
45439 fi
45440 fi
45441
45442
45443
45444
45445
45446
45447 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45448 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45449 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45450 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45451 echo $ECHO_N "(cached) $ECHO_C" >&6
45452 else
45453
45454
45455
45456 ac_ext=cc
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 >conftest.$ac_ext <<_ACEOF
45463 /* confdefs.h. */
45464 _ACEOF
45465 cat confdefs.h >>conftest.$ac_ext
45466 cat >>conftest.$ac_ext <<_ACEOF
45467 /* end confdefs.h. */
45468 #include <math.h>
45469 #ifdef HAVE_IEEEFP_H
45470 #include <ieeefp.h>
45471 #endif
45472
45473 int
45474 main ()
45475 {
45476 qfpclass(0);
45477 ;
45478 return 0;
45479 }
45480 _ACEOF
45481 rm -f conftest.$ac_objext
45482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45483 (eval $ac_compile) 2>conftest.er1
45484 ac_status=$?
45485 grep -v '^ *+' conftest.er1 >conftest.err
45486 rm -f conftest.er1
45487 cat conftest.err >&5
45488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45489 (exit $ac_status); } &&
45490 { ac_try='test -z "$ac_cxx_werror_flag"
45491 || test ! -s conftest.err'
45492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45493 (eval $ac_try) 2>&5
45494 ac_status=$?
45495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45496 (exit $ac_status); }; } &&
45497 { ac_try='test -s conftest.$ac_objext'
45498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45499 (eval $ac_try) 2>&5
45500 ac_status=$?
45501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502 (exit $ac_status); }; }; then
45503 glibcxx_cv_func_qfpclass_use=yes
45504 else
45505 echo "$as_me: failed program was:" >&5
45506 sed 's/^/| /' conftest.$ac_ext >&5
45507
45508 glibcxx_cv_func_qfpclass_use=no
45509 fi
45510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45511 ac_ext=c
45512 ac_cpp='$CPP $CPPFLAGS'
45513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45516
45517
45518 fi
45519
45520 fi
45521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45522 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45523
45524 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45525
45526 for ac_func in qfpclass
45527 do
45528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45529 echo "$as_me:$LINENO: checking for $ac_func" >&5
45530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45531 if eval "test \"\${$as_ac_var+set}\" = set"; then
45532 echo $ECHO_N "(cached) $ECHO_C" >&6
45533 else
45534 if test x$gcc_no_link = xyes; then
45535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45537 { (exit 1); exit 1; }; }
45538 fi
45539 cat >conftest.$ac_ext <<_ACEOF
45540 /* confdefs.h. */
45541 _ACEOF
45542 cat confdefs.h >>conftest.$ac_ext
45543 cat >>conftest.$ac_ext <<_ACEOF
45544 /* end confdefs.h. */
45545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45547 #define $ac_func innocuous_$ac_func
45548
45549 /* System header to define __stub macros and hopefully few prototypes,
45550 which can conflict with char $ac_func (); below.
45551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45552 <limits.h> exists even on freestanding compilers. */
45553
45554 #ifdef __STDC__
45555 # include <limits.h>
45556 #else
45557 # include <assert.h>
45558 #endif
45559
45560 #undef $ac_func
45561
45562 /* Override any gcc2 internal prototype to avoid an error. */
45563 #ifdef __cplusplus
45564 extern "C"
45565 {
45566 #endif
45567 /* We use char because int might match the return type of a gcc2
45568 builtin and then its argument prototype would still apply. */
45569 char $ac_func ();
45570 /* The GNU C library defines this for functions which it implements
45571 to always fail with ENOSYS. Some functions are actually named
45572 something starting with __ and the normal name is an alias. */
45573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45574 choke me
45575 #else
45576 char (*f) () = $ac_func;
45577 #endif
45578 #ifdef __cplusplus
45579 }
45580 #endif
45581
45582 int
45583 main ()
45584 {
45585 return f != $ac_func;
45586 ;
45587 return 0;
45588 }
45589 _ACEOF
45590 rm -f conftest.$ac_objext conftest$ac_exeext
45591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45592 (eval $ac_link) 2>conftest.er1
45593 ac_status=$?
45594 grep -v '^ *+' conftest.er1 >conftest.err
45595 rm -f conftest.er1
45596 cat conftest.err >&5
45597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598 (exit $ac_status); } &&
45599 { ac_try='test -z "$ac_c_werror_flag"
45600 || test ! -s conftest.err'
45601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45602 (eval $ac_try) 2>&5
45603 ac_status=$?
45604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45605 (exit $ac_status); }; } &&
45606 { ac_try='test -s conftest$ac_exeext'
45607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45608 (eval $ac_try) 2>&5
45609 ac_status=$?
45610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45611 (exit $ac_status); }; }; then
45612 eval "$as_ac_var=yes"
45613 else
45614 echo "$as_me: failed program was:" >&5
45615 sed 's/^/| /' conftest.$ac_ext >&5
45616
45617 eval "$as_ac_var=no"
45618 fi
45619 rm -f conftest.err conftest.$ac_objext \
45620 conftest$ac_exeext conftest.$ac_ext
45621 fi
45622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45624 if test `eval echo '${'$as_ac_var'}'` = yes; then
45625 cat >>confdefs.h <<_ACEOF
45626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45627 _ACEOF
45628
45629 fi
45630 done
45631
45632 else
45633
45634 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45635 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45636 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45637 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45638 echo $ECHO_N "(cached) $ECHO_C" >&6
45639 else
45640
45641
45642
45643 ac_ext=cc
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 >conftest.$ac_ext <<_ACEOF
45650 /* confdefs.h. */
45651 _ACEOF
45652 cat confdefs.h >>conftest.$ac_ext
45653 cat >>conftest.$ac_ext <<_ACEOF
45654 /* end confdefs.h. */
45655 #include <math.h>
45656 #ifdef HAVE_IEEEFP_H
45657 #include <ieeefp.h>
45658 #endif
45659
45660 int
45661 main ()
45662 {
45663 _qfpclass(0);
45664 ;
45665 return 0;
45666 }
45667 _ACEOF
45668 rm -f conftest.$ac_objext
45669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45670 (eval $ac_compile) 2>conftest.er1
45671 ac_status=$?
45672 grep -v '^ *+' conftest.er1 >conftest.err
45673 rm -f conftest.er1
45674 cat conftest.err >&5
45675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45676 (exit $ac_status); } &&
45677 { ac_try='test -z "$ac_cxx_werror_flag"
45678 || test ! -s conftest.err'
45679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45680 (eval $ac_try) 2>&5
45681 ac_status=$?
45682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45683 (exit $ac_status); }; } &&
45684 { ac_try='test -s conftest.$ac_objext'
45685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45686 (eval $ac_try) 2>&5
45687 ac_status=$?
45688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45689 (exit $ac_status); }; }; then
45690 glibcxx_cv_func__qfpclass_use=yes
45691 else
45692 echo "$as_me: failed program was:" >&5
45693 sed 's/^/| /' conftest.$ac_ext >&5
45694
45695 glibcxx_cv_func__qfpclass_use=no
45696 fi
45697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45703
45704
45705 fi
45706
45707 fi
45708 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45709 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45710
45711 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45712
45713 for ac_func in _qfpclass
45714 do
45715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45716 echo "$as_me:$LINENO: checking for $ac_func" >&5
45717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45718 if eval "test \"\${$as_ac_var+set}\" = set"; then
45719 echo $ECHO_N "(cached) $ECHO_C" >&6
45720 else
45721 if test x$gcc_no_link = xyes; then
45722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45724 { (exit 1); exit 1; }; }
45725 fi
45726 cat >conftest.$ac_ext <<_ACEOF
45727 /* confdefs.h. */
45728 _ACEOF
45729 cat confdefs.h >>conftest.$ac_ext
45730 cat >>conftest.$ac_ext <<_ACEOF
45731 /* end confdefs.h. */
45732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45734 #define $ac_func innocuous_$ac_func
45735
45736 /* System header to define __stub macros and hopefully few prototypes,
45737 which can conflict with char $ac_func (); below.
45738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45739 <limits.h> exists even on freestanding compilers. */
45740
45741 #ifdef __STDC__
45742 # include <limits.h>
45743 #else
45744 # include <assert.h>
45745 #endif
45746
45747 #undef $ac_func
45748
45749 /* Override any gcc2 internal prototype to avoid an error. */
45750 #ifdef __cplusplus
45751 extern "C"
45752 {
45753 #endif
45754 /* We use char because int might match the return type of a gcc2
45755 builtin and then its argument prototype would still apply. */
45756 char $ac_func ();
45757 /* The GNU C library defines this for functions which it implements
45758 to always fail with ENOSYS. Some functions are actually named
45759 something starting with __ and the normal name is an alias. */
45760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45761 choke me
45762 #else
45763 char (*f) () = $ac_func;
45764 #endif
45765 #ifdef __cplusplus
45766 }
45767 #endif
45768
45769 int
45770 main ()
45771 {
45772 return f != $ac_func;
45773 ;
45774 return 0;
45775 }
45776 _ACEOF
45777 rm -f conftest.$ac_objext conftest$ac_exeext
45778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45779 (eval $ac_link) 2>conftest.er1
45780 ac_status=$?
45781 grep -v '^ *+' conftest.er1 >conftest.err
45782 rm -f conftest.er1
45783 cat conftest.err >&5
45784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45785 (exit $ac_status); } &&
45786 { ac_try='test -z "$ac_c_werror_flag"
45787 || test ! -s conftest.err'
45788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45789 (eval $ac_try) 2>&5
45790 ac_status=$?
45791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45792 (exit $ac_status); }; } &&
45793 { ac_try='test -s conftest$ac_exeext'
45794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45795 (eval $ac_try) 2>&5
45796 ac_status=$?
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); }; }; then
45799 eval "$as_ac_var=yes"
45800 else
45801 echo "$as_me: failed program was:" >&5
45802 sed 's/^/| /' conftest.$ac_ext >&5
45803
45804 eval "$as_ac_var=no"
45805 fi
45806 rm -f conftest.err conftest.$ac_objext \
45807 conftest$ac_exeext conftest.$ac_ext
45808 fi
45809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45811 if test `eval echo '${'$as_ac_var'}'` = yes; then
45812 cat >>confdefs.h <<_ACEOF
45813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45814 _ACEOF
45815
45816 fi
45817 done
45818
45819 fi
45820 fi
45821
45822
45823
45824
45825
45826
45827 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45828 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45829 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45830 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45832 else
45833
45834
45835
45836 ac_ext=cc
45837 ac_cpp='$CXXCPP $CPPFLAGS'
45838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45841
45842 cat >conftest.$ac_ext <<_ACEOF
45843 /* confdefs.h. */
45844 _ACEOF
45845 cat confdefs.h >>conftest.$ac_ext
45846 cat >>conftest.$ac_ext <<_ACEOF
45847 /* end confdefs.h. */
45848 #include <math.h>
45849 int
45850 main ()
45851 {
45852 hypot(0, 0);
45853 ;
45854 return 0;
45855 }
45856 _ACEOF
45857 rm -f conftest.$ac_objext
45858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45859 (eval $ac_compile) 2>conftest.er1
45860 ac_status=$?
45861 grep -v '^ *+' conftest.er1 >conftest.err
45862 rm -f conftest.er1
45863 cat conftest.err >&5
45864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45865 (exit $ac_status); } &&
45866 { ac_try='test -z "$ac_cxx_werror_flag"
45867 || test ! -s conftest.err'
45868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45869 (eval $ac_try) 2>&5
45870 ac_status=$?
45871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45872 (exit $ac_status); }; } &&
45873 { ac_try='test -s conftest.$ac_objext'
45874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45875 (eval $ac_try) 2>&5
45876 ac_status=$?
45877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45878 (exit $ac_status); }; }; then
45879 glibcxx_cv_func_hypot_use=yes
45880 else
45881 echo "$as_me: failed program was:" >&5
45882 sed 's/^/| /' conftest.$ac_ext >&5
45883
45884 glibcxx_cv_func_hypot_use=no
45885 fi
45886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45887 ac_ext=c
45888 ac_cpp='$CPP $CPPFLAGS'
45889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45892
45893
45894 fi
45895
45896 fi
45897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45898 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45899
45900 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45901
45902 for ac_func in hypot
45903 do
45904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45905 echo "$as_me:$LINENO: checking for $ac_func" >&5
45906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45907 if eval "test \"\${$as_ac_var+set}\" = set"; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45909 else
45910 if test x$gcc_no_link = xyes; then
45911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45913 { (exit 1); exit 1; }; }
45914 fi
45915 cat >conftest.$ac_ext <<_ACEOF
45916 /* confdefs.h. */
45917 _ACEOF
45918 cat confdefs.h >>conftest.$ac_ext
45919 cat >>conftest.$ac_ext <<_ACEOF
45920 /* end confdefs.h. */
45921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45923 #define $ac_func innocuous_$ac_func
45924
45925 /* System header to define __stub macros and hopefully few prototypes,
45926 which can conflict with char $ac_func (); below.
45927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45928 <limits.h> exists even on freestanding compilers. */
45929
45930 #ifdef __STDC__
45931 # include <limits.h>
45932 #else
45933 # include <assert.h>
45934 #endif
45935
45936 #undef $ac_func
45937
45938 /* Override any gcc2 internal prototype to avoid an error. */
45939 #ifdef __cplusplus
45940 extern "C"
45941 {
45942 #endif
45943 /* We use char because int might match the return type of a gcc2
45944 builtin and then its argument prototype would still apply. */
45945 char $ac_func ();
45946 /* The GNU C library defines this for functions which it implements
45947 to always fail with ENOSYS. Some functions are actually named
45948 something starting with __ and the normal name is an alias. */
45949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45950 choke me
45951 #else
45952 char (*f) () = $ac_func;
45953 #endif
45954 #ifdef __cplusplus
45955 }
45956 #endif
45957
45958 int
45959 main ()
45960 {
45961 return f != $ac_func;
45962 ;
45963 return 0;
45964 }
45965 _ACEOF
45966 rm -f conftest.$ac_objext conftest$ac_exeext
45967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45968 (eval $ac_link) 2>conftest.er1
45969 ac_status=$?
45970 grep -v '^ *+' conftest.er1 >conftest.err
45971 rm -f conftest.er1
45972 cat conftest.err >&5
45973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45974 (exit $ac_status); } &&
45975 { ac_try='test -z "$ac_c_werror_flag"
45976 || test ! -s conftest.err'
45977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45978 (eval $ac_try) 2>&5
45979 ac_status=$?
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); }; } &&
45982 { ac_try='test -s conftest$ac_exeext'
45983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45984 (eval $ac_try) 2>&5
45985 ac_status=$?
45986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45987 (exit $ac_status); }; }; then
45988 eval "$as_ac_var=yes"
45989 else
45990 echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45992
45993 eval "$as_ac_var=no"
45994 fi
45995 rm -f conftest.err conftest.$ac_objext \
45996 conftest$ac_exeext conftest.$ac_ext
45997 fi
45998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46000 if test `eval echo '${'$as_ac_var'}'` = yes; then
46001 cat >>confdefs.h <<_ACEOF
46002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46003 _ACEOF
46004
46005 fi
46006 done
46007
46008 else
46009
46010 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46011 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46012 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46013 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46014 echo $ECHO_N "(cached) $ECHO_C" >&6
46015 else
46016
46017
46018
46019 ac_ext=cc
46020 ac_cpp='$CXXCPP $CPPFLAGS'
46021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46024
46025 cat >conftest.$ac_ext <<_ACEOF
46026 /* confdefs.h. */
46027 _ACEOF
46028 cat confdefs.h >>conftest.$ac_ext
46029 cat >>conftest.$ac_ext <<_ACEOF
46030 /* end confdefs.h. */
46031 #include <math.h>
46032 int
46033 main ()
46034 {
46035 _hypot(0, 0);
46036 ;
46037 return 0;
46038 }
46039 _ACEOF
46040 rm -f conftest.$ac_objext
46041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46042 (eval $ac_compile) 2>conftest.er1
46043 ac_status=$?
46044 grep -v '^ *+' conftest.er1 >conftest.err
46045 rm -f conftest.er1
46046 cat conftest.err >&5
46047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46048 (exit $ac_status); } &&
46049 { ac_try='test -z "$ac_cxx_werror_flag"
46050 || test ! -s conftest.err'
46051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46052 (eval $ac_try) 2>&5
46053 ac_status=$?
46054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46055 (exit $ac_status); }; } &&
46056 { ac_try='test -s conftest.$ac_objext'
46057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46058 (eval $ac_try) 2>&5
46059 ac_status=$?
46060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46061 (exit $ac_status); }; }; then
46062 glibcxx_cv_func__hypot_use=yes
46063 else
46064 echo "$as_me: failed program was:" >&5
46065 sed 's/^/| /' conftest.$ac_ext >&5
46066
46067 glibcxx_cv_func__hypot_use=no
46068 fi
46069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46070 ac_ext=c
46071 ac_cpp='$CPP $CPPFLAGS'
46072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46075
46076
46077 fi
46078
46079 fi
46080 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46081 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46082
46083 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46084
46085 for ac_func in _hypot
46086 do
46087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46088 echo "$as_me:$LINENO: checking for $ac_func" >&5
46089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46090 if eval "test \"\${$as_ac_var+set}\" = set"; then
46091 echo $ECHO_N "(cached) $ECHO_C" >&6
46092 else
46093 if test x$gcc_no_link = xyes; then
46094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46096 { (exit 1); exit 1; }; }
46097 fi
46098 cat >conftest.$ac_ext <<_ACEOF
46099 /* confdefs.h. */
46100 _ACEOF
46101 cat confdefs.h >>conftest.$ac_ext
46102 cat >>conftest.$ac_ext <<_ACEOF
46103 /* end confdefs.h. */
46104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46106 #define $ac_func innocuous_$ac_func
46107
46108 /* System header to define __stub macros and hopefully few prototypes,
46109 which can conflict with char $ac_func (); below.
46110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46111 <limits.h> exists even on freestanding compilers. */
46112
46113 #ifdef __STDC__
46114 # include <limits.h>
46115 #else
46116 # include <assert.h>
46117 #endif
46118
46119 #undef $ac_func
46120
46121 /* Override any gcc2 internal prototype to avoid an error. */
46122 #ifdef __cplusplus
46123 extern "C"
46124 {
46125 #endif
46126 /* We use char because int might match the return type of a gcc2
46127 builtin and then its argument prototype would still apply. */
46128 char $ac_func ();
46129 /* The GNU C library defines this for functions which it implements
46130 to always fail with ENOSYS. Some functions are actually named
46131 something starting with __ and the normal name is an alias. */
46132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46133 choke me
46134 #else
46135 char (*f) () = $ac_func;
46136 #endif
46137 #ifdef __cplusplus
46138 }
46139 #endif
46140
46141 int
46142 main ()
46143 {
46144 return f != $ac_func;
46145 ;
46146 return 0;
46147 }
46148 _ACEOF
46149 rm -f conftest.$ac_objext conftest$ac_exeext
46150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46151 (eval $ac_link) 2>conftest.er1
46152 ac_status=$?
46153 grep -v '^ *+' conftest.er1 >conftest.err
46154 rm -f conftest.er1
46155 cat conftest.err >&5
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); } &&
46158 { ac_try='test -z "$ac_c_werror_flag"
46159 || test ! -s conftest.err'
46160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46161 (eval $ac_try) 2>&5
46162 ac_status=$?
46163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46164 (exit $ac_status); }; } &&
46165 { ac_try='test -s conftest$ac_exeext'
46166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46167 (eval $ac_try) 2>&5
46168 ac_status=$?
46169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46170 (exit $ac_status); }; }; then
46171 eval "$as_ac_var=yes"
46172 else
46173 echo "$as_me: failed program was:" >&5
46174 sed 's/^/| /' conftest.$ac_ext >&5
46175
46176 eval "$as_ac_var=no"
46177 fi
46178 rm -f conftest.err conftest.$ac_objext \
46179 conftest$ac_exeext conftest.$ac_ext
46180 fi
46181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46183 if test `eval echo '${'$as_ac_var'}'` = yes; then
46184 cat >>confdefs.h <<_ACEOF
46185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46186 _ACEOF
46187
46188 fi
46189 done
46190
46191 fi
46192 fi
46193
46194
46195
46196
46197
46198
46199 echo "$as_me:$LINENO: checking for float trig functions" >&5
46200 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46201 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46202 echo $ECHO_N "(cached) $ECHO_C" >&6
46203 else
46204
46205
46206
46207 ac_ext=cc
46208 ac_cpp='$CXXCPP $CPPFLAGS'
46209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46212
46213 cat >conftest.$ac_ext <<_ACEOF
46214 /* confdefs.h. */
46215 _ACEOF
46216 cat confdefs.h >>conftest.$ac_ext
46217 cat >>conftest.$ac_ext <<_ACEOF
46218 /* end confdefs.h. */
46219 #include <math.h>
46220 int
46221 main ()
46222 {
46223 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46224 ;
46225 return 0;
46226 }
46227 _ACEOF
46228 rm -f conftest.$ac_objext
46229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46230 (eval $ac_compile) 2>conftest.er1
46231 ac_status=$?
46232 grep -v '^ *+' conftest.er1 >conftest.err
46233 rm -f conftest.er1
46234 cat conftest.err >&5
46235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46236 (exit $ac_status); } &&
46237 { ac_try='test -z "$ac_cxx_werror_flag"
46238 || test ! -s conftest.err'
46239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46240 (eval $ac_try) 2>&5
46241 ac_status=$?
46242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46243 (exit $ac_status); }; } &&
46244 { ac_try='test -s conftest.$ac_objext'
46245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46246 (eval $ac_try) 2>&5
46247 ac_status=$?
46248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46249 (exit $ac_status); }; }; then
46250 glibcxx_cv_func_float_trig_use=yes
46251 else
46252 echo "$as_me: failed program was:" >&5
46253 sed 's/^/| /' conftest.$ac_ext >&5
46254
46255 glibcxx_cv_func_float_trig_use=no
46256 fi
46257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46258 ac_ext=c
46259 ac_cpp='$CPP $CPPFLAGS'
46260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46263
46264 fi
46265
46266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46267 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46268 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46279 do
46280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46281 echo "$as_me:$LINENO: checking for $ac_func" >&5
46282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46283 if eval "test \"\${$as_ac_var+set}\" = set"; then
46284 echo $ECHO_N "(cached) $ECHO_C" >&6
46285 else
46286 if test x$gcc_no_link = xyes; then
46287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46289 { (exit 1); exit 1; }; }
46290 fi
46291 cat >conftest.$ac_ext <<_ACEOF
46292 /* confdefs.h. */
46293 _ACEOF
46294 cat confdefs.h >>conftest.$ac_ext
46295 cat >>conftest.$ac_ext <<_ACEOF
46296 /* end confdefs.h. */
46297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46299 #define $ac_func innocuous_$ac_func
46300
46301 /* System header to define __stub macros and hopefully few prototypes,
46302 which can conflict with char $ac_func (); below.
46303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46304 <limits.h> exists even on freestanding compilers. */
46305
46306 #ifdef __STDC__
46307 # include <limits.h>
46308 #else
46309 # include <assert.h>
46310 #endif
46311
46312 #undef $ac_func
46313
46314 /* Override any gcc2 internal prototype to avoid an error. */
46315 #ifdef __cplusplus
46316 extern "C"
46317 {
46318 #endif
46319 /* We use char because int might match the return type of a gcc2
46320 builtin and then its argument prototype would still apply. */
46321 char $ac_func ();
46322 /* The GNU C library defines this for functions which it implements
46323 to always fail with ENOSYS. Some functions are actually named
46324 something starting with __ and the normal name is an alias. */
46325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46326 choke me
46327 #else
46328 char (*f) () = $ac_func;
46329 #endif
46330 #ifdef __cplusplus
46331 }
46332 #endif
46333
46334 int
46335 main ()
46336 {
46337 return f != $ac_func;
46338 ;
46339 return 0;
46340 }
46341 _ACEOF
46342 rm -f conftest.$ac_objext conftest$ac_exeext
46343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46344 (eval $ac_link) 2>conftest.er1
46345 ac_status=$?
46346 grep -v '^ *+' conftest.er1 >conftest.err
46347 rm -f conftest.er1
46348 cat conftest.err >&5
46349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46350 (exit $ac_status); } &&
46351 { ac_try='test -z "$ac_c_werror_flag"
46352 || test ! -s conftest.err'
46353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46354 (eval $ac_try) 2>&5
46355 ac_status=$?
46356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46357 (exit $ac_status); }; } &&
46358 { ac_try='test -s conftest$ac_exeext'
46359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46360 (eval $ac_try) 2>&5
46361 ac_status=$?
46362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46363 (exit $ac_status); }; }; then
46364 eval "$as_ac_var=yes"
46365 else
46366 echo "$as_me: failed program was:" >&5
46367 sed 's/^/| /' conftest.$ac_ext >&5
46368
46369 eval "$as_ac_var=no"
46370 fi
46371 rm -f conftest.err conftest.$ac_objext \
46372 conftest$ac_exeext conftest.$ac_ext
46373 fi
46374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46376 if test `eval echo '${'$as_ac_var'}'` = yes; then
46377 cat >>confdefs.h <<_ACEOF
46378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46379 _ACEOF
46380
46381 fi
46382 done
46383
46384 else
46385 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46386 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46387 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46388 echo $ECHO_N "(cached) $ECHO_C" >&6
46389 else
46390
46391
46392
46393 ac_ext=cc
46394 ac_cpp='$CXXCPP $CPPFLAGS'
46395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46398
46399 cat >conftest.$ac_ext <<_ACEOF
46400 /* confdefs.h. */
46401 _ACEOF
46402 cat confdefs.h >>conftest.$ac_ext
46403 cat >>conftest.$ac_ext <<_ACEOF
46404 /* end confdefs.h. */
46405 #include <math.h>
46406 int
46407 main ()
46408 {
46409 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46410 ;
46411 return 0;
46412 }
46413 _ACEOF
46414 rm -f conftest.$ac_objext
46415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46416 (eval $ac_compile) 2>conftest.er1
46417 ac_status=$?
46418 grep -v '^ *+' conftest.er1 >conftest.err
46419 rm -f conftest.er1
46420 cat conftest.err >&5
46421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46422 (exit $ac_status); } &&
46423 { ac_try='test -z "$ac_cxx_werror_flag"
46424 || test ! -s conftest.err'
46425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46426 (eval $ac_try) 2>&5
46427 ac_status=$?
46428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46429 (exit $ac_status); }; } &&
46430 { ac_try='test -s conftest.$ac_objext'
46431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46432 (eval $ac_try) 2>&5
46433 ac_status=$?
46434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46435 (exit $ac_status); }; }; then
46436 glibcxx_cv_func__float_trig_use=yes
46437 else
46438 echo "$as_me: failed program was:" >&5
46439 sed 's/^/| /' conftest.$ac_ext >&5
46440
46441 glibcxx_cv_func__float_trig_use=no
46442 fi
46443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46444 ac_ext=c
46445 ac_cpp='$CPP $CPPFLAGS'
46446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46449
46450 fi
46451
46452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46453 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46454 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46465 do
46466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46467 echo "$as_me:$LINENO: checking for $ac_func" >&5
46468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46469 if eval "test \"\${$as_ac_var+set}\" = set"; then
46470 echo $ECHO_N "(cached) $ECHO_C" >&6
46471 else
46472 if test x$gcc_no_link = xyes; then
46473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46475 { (exit 1); exit 1; }; }
46476 fi
46477 cat >conftest.$ac_ext <<_ACEOF
46478 /* confdefs.h. */
46479 _ACEOF
46480 cat confdefs.h >>conftest.$ac_ext
46481 cat >>conftest.$ac_ext <<_ACEOF
46482 /* end confdefs.h. */
46483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46485 #define $ac_func innocuous_$ac_func
46486
46487 /* System header to define __stub macros and hopefully few prototypes,
46488 which can conflict with char $ac_func (); below.
46489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46490 <limits.h> exists even on freestanding compilers. */
46491
46492 #ifdef __STDC__
46493 # include <limits.h>
46494 #else
46495 # include <assert.h>
46496 #endif
46497
46498 #undef $ac_func
46499
46500 /* Override any gcc2 internal prototype to avoid an error. */
46501 #ifdef __cplusplus
46502 extern "C"
46503 {
46504 #endif
46505 /* We use char because int might match the return type of a gcc2
46506 builtin and then its argument prototype would still apply. */
46507 char $ac_func ();
46508 /* The GNU C library defines this for functions which it implements
46509 to always fail with ENOSYS. Some functions are actually named
46510 something starting with __ and the normal name is an alias. */
46511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46512 choke me
46513 #else
46514 char (*f) () = $ac_func;
46515 #endif
46516 #ifdef __cplusplus
46517 }
46518 #endif
46519
46520 int
46521 main ()
46522 {
46523 return f != $ac_func;
46524 ;
46525 return 0;
46526 }
46527 _ACEOF
46528 rm -f conftest.$ac_objext conftest$ac_exeext
46529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46530 (eval $ac_link) 2>conftest.er1
46531 ac_status=$?
46532 grep -v '^ *+' conftest.er1 >conftest.err
46533 rm -f conftest.er1
46534 cat conftest.err >&5
46535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46536 (exit $ac_status); } &&
46537 { ac_try='test -z "$ac_c_werror_flag"
46538 || test ! -s conftest.err'
46539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46540 (eval $ac_try) 2>&5
46541 ac_status=$?
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); }; } &&
46544 { ac_try='test -s conftest$ac_exeext'
46545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46546 (eval $ac_try) 2>&5
46547 ac_status=$?
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); }; }; then
46550 eval "$as_ac_var=yes"
46551 else
46552 echo "$as_me: failed program was:" >&5
46553 sed 's/^/| /' conftest.$ac_ext >&5
46554
46555 eval "$as_ac_var=no"
46556 fi
46557 rm -f conftest.err conftest.$ac_objext \
46558 conftest$ac_exeext conftest.$ac_ext
46559 fi
46560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46562 if test `eval echo '${'$as_ac_var'}'` = yes; then
46563 cat >>confdefs.h <<_ACEOF
46564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46565 _ACEOF
46566
46567 fi
46568 done
46569
46570 fi
46571 fi
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586 echo "$as_me:$LINENO: checking for float round functions" >&5
46587 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46588 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46589 echo $ECHO_N "(cached) $ECHO_C" >&6
46590 else
46591
46592
46593
46594 ac_ext=cc
46595 ac_cpp='$CXXCPP $CPPFLAGS'
46596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599
46600 cat >conftest.$ac_ext <<_ACEOF
46601 /* confdefs.h. */
46602 _ACEOF
46603 cat confdefs.h >>conftest.$ac_ext
46604 cat >>conftest.$ac_ext <<_ACEOF
46605 /* end confdefs.h. */
46606 #include <math.h>
46607 int
46608 main ()
46609 {
46610 ceilf (0); floorf (0);
46611 ;
46612 return 0;
46613 }
46614 _ACEOF
46615 rm -f conftest.$ac_objext
46616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46617 (eval $ac_compile) 2>conftest.er1
46618 ac_status=$?
46619 grep -v '^ *+' conftest.er1 >conftest.err
46620 rm -f conftest.er1
46621 cat conftest.err >&5
46622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46623 (exit $ac_status); } &&
46624 { ac_try='test -z "$ac_cxx_werror_flag"
46625 || test ! -s conftest.err'
46626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46627 (eval $ac_try) 2>&5
46628 ac_status=$?
46629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46630 (exit $ac_status); }; } &&
46631 { ac_try='test -s conftest.$ac_objext'
46632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46633 (eval $ac_try) 2>&5
46634 ac_status=$?
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); }; }; then
46637 glibcxx_cv_func_float_round_use=yes
46638 else
46639 echo "$as_me: failed program was:" >&5
46640 sed 's/^/| /' conftest.$ac_ext >&5
46641
46642 glibcxx_cv_func_float_round_use=no
46643 fi
46644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46645 ac_ext=c
46646 ac_cpp='$CPP $CPPFLAGS'
46647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46650
46651 fi
46652
46653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46654 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46655 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46656
46657
46658 for ac_func in ceilf floorf
46659 do
46660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46661 echo "$as_me:$LINENO: checking for $ac_func" >&5
46662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46663 if eval "test \"\${$as_ac_var+set}\" = set"; then
46664 echo $ECHO_N "(cached) $ECHO_C" >&6
46665 else
46666 if test x$gcc_no_link = xyes; then
46667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46669 { (exit 1); exit 1; }; }
46670 fi
46671 cat >conftest.$ac_ext <<_ACEOF
46672 /* confdefs.h. */
46673 _ACEOF
46674 cat confdefs.h >>conftest.$ac_ext
46675 cat >>conftest.$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46679 #define $ac_func innocuous_$ac_func
46680
46681 /* System header to define __stub macros and hopefully few prototypes,
46682 which can conflict with char $ac_func (); below.
46683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46684 <limits.h> exists even on freestanding compilers. */
46685
46686 #ifdef __STDC__
46687 # include <limits.h>
46688 #else
46689 # include <assert.h>
46690 #endif
46691
46692 #undef $ac_func
46693
46694 /* Override any gcc2 internal prototype to avoid an error. */
46695 #ifdef __cplusplus
46696 extern "C"
46697 {
46698 #endif
46699 /* We use char because int might match the return type of a gcc2
46700 builtin and then its argument prototype would still apply. */
46701 char $ac_func ();
46702 /* The GNU C library defines this for functions which it implements
46703 to always fail with ENOSYS. Some functions are actually named
46704 something starting with __ and the normal name is an alias. */
46705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46706 choke me
46707 #else
46708 char (*f) () = $ac_func;
46709 #endif
46710 #ifdef __cplusplus
46711 }
46712 #endif
46713
46714 int
46715 main ()
46716 {
46717 return f != $ac_func;
46718 ;
46719 return 0;
46720 }
46721 _ACEOF
46722 rm -f conftest.$ac_objext conftest$ac_exeext
46723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46724 (eval $ac_link) 2>conftest.er1
46725 ac_status=$?
46726 grep -v '^ *+' conftest.er1 >conftest.err
46727 rm -f conftest.er1
46728 cat conftest.err >&5
46729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46730 (exit $ac_status); } &&
46731 { ac_try='test -z "$ac_c_werror_flag"
46732 || test ! -s conftest.err'
46733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46734 (eval $ac_try) 2>&5
46735 ac_status=$?
46736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46737 (exit $ac_status); }; } &&
46738 { ac_try='test -s conftest$ac_exeext'
46739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46740 (eval $ac_try) 2>&5
46741 ac_status=$?
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); }; }; then
46744 eval "$as_ac_var=yes"
46745 else
46746 echo "$as_me: failed program was:" >&5
46747 sed 's/^/| /' conftest.$ac_ext >&5
46748
46749 eval "$as_ac_var=no"
46750 fi
46751 rm -f conftest.err conftest.$ac_objext \
46752 conftest$ac_exeext conftest.$ac_ext
46753 fi
46754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46756 if test `eval echo '${'$as_ac_var'}'` = yes; then
46757 cat >>confdefs.h <<_ACEOF
46758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46759 _ACEOF
46760
46761 fi
46762 done
46763
46764 else
46765 echo "$as_me:$LINENO: checking for _float round functions" >&5
46766 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46767 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46768 echo $ECHO_N "(cached) $ECHO_C" >&6
46769 else
46770
46771
46772
46773 ac_ext=cc
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46778
46779 cat >conftest.$ac_ext <<_ACEOF
46780 /* confdefs.h. */
46781 _ACEOF
46782 cat confdefs.h >>conftest.$ac_ext
46783 cat >>conftest.$ac_ext <<_ACEOF
46784 /* end confdefs.h. */
46785 #include <math.h>
46786 int
46787 main ()
46788 {
46789 _ceilf (0); _floorf (0);
46790 ;
46791 return 0;
46792 }
46793 _ACEOF
46794 rm -f conftest.$ac_objext
46795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46796 (eval $ac_compile) 2>conftest.er1
46797 ac_status=$?
46798 grep -v '^ *+' conftest.er1 >conftest.err
46799 rm -f conftest.er1
46800 cat conftest.err >&5
46801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46802 (exit $ac_status); } &&
46803 { ac_try='test -z "$ac_cxx_werror_flag"
46804 || test ! -s conftest.err'
46805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46806 (eval $ac_try) 2>&5
46807 ac_status=$?
46808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46809 (exit $ac_status); }; } &&
46810 { ac_try='test -s conftest.$ac_objext'
46811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46812 (eval $ac_try) 2>&5
46813 ac_status=$?
46814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46815 (exit $ac_status); }; }; then
46816 glibcxx_cv_func__float_round_use=yes
46817 else
46818 echo "$as_me: failed program was:" >&5
46819 sed 's/^/| /' conftest.$ac_ext >&5
46820
46821 glibcxx_cv_func__float_round_use=no
46822 fi
46823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46824 ac_ext=c
46825 ac_cpp='$CPP $CPPFLAGS'
46826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46829
46830 fi
46831
46832 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46833 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46834 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46835
46836
46837 for ac_func in _ceilf _floorf
46838 do
46839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46840 echo "$as_me:$LINENO: checking for $ac_func" >&5
46841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46842 if eval "test \"\${$as_ac_var+set}\" = set"; then
46843 echo $ECHO_N "(cached) $ECHO_C" >&6
46844 else
46845 if test x$gcc_no_link = xyes; then
46846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46848 { (exit 1); exit 1; }; }
46849 fi
46850 cat >conftest.$ac_ext <<_ACEOF
46851 /* confdefs.h. */
46852 _ACEOF
46853 cat confdefs.h >>conftest.$ac_ext
46854 cat >>conftest.$ac_ext <<_ACEOF
46855 /* end confdefs.h. */
46856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46858 #define $ac_func innocuous_$ac_func
46859
46860 /* System header to define __stub macros and hopefully few prototypes,
46861 which can conflict with char $ac_func (); below.
46862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46863 <limits.h> exists even on freestanding compilers. */
46864
46865 #ifdef __STDC__
46866 # include <limits.h>
46867 #else
46868 # include <assert.h>
46869 #endif
46870
46871 #undef $ac_func
46872
46873 /* Override any gcc2 internal prototype to avoid an error. */
46874 #ifdef __cplusplus
46875 extern "C"
46876 {
46877 #endif
46878 /* We use char because int might match the return type of a gcc2
46879 builtin and then its argument prototype would still apply. */
46880 char $ac_func ();
46881 /* The GNU C library defines this for functions which it implements
46882 to always fail with ENOSYS. Some functions are actually named
46883 something starting with __ and the normal name is an alias. */
46884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46885 choke me
46886 #else
46887 char (*f) () = $ac_func;
46888 #endif
46889 #ifdef __cplusplus
46890 }
46891 #endif
46892
46893 int
46894 main ()
46895 {
46896 return f != $ac_func;
46897 ;
46898 return 0;
46899 }
46900 _ACEOF
46901 rm -f conftest.$ac_objext conftest$ac_exeext
46902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46903 (eval $ac_link) 2>conftest.er1
46904 ac_status=$?
46905 grep -v '^ *+' conftest.er1 >conftest.err
46906 rm -f conftest.er1
46907 cat conftest.err >&5
46908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46909 (exit $ac_status); } &&
46910 { ac_try='test -z "$ac_c_werror_flag"
46911 || test ! -s conftest.err'
46912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46913 (eval $ac_try) 2>&5
46914 ac_status=$?
46915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46916 (exit $ac_status); }; } &&
46917 { ac_try='test -s conftest$ac_exeext'
46918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46919 (eval $ac_try) 2>&5
46920 ac_status=$?
46921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922 (exit $ac_status); }; }; then
46923 eval "$as_ac_var=yes"
46924 else
46925 echo "$as_me: failed program was:" >&5
46926 sed 's/^/| /' conftest.$ac_ext >&5
46927
46928 eval "$as_ac_var=no"
46929 fi
46930 rm -f conftest.err conftest.$ac_objext \
46931 conftest$ac_exeext conftest.$ac_ext
46932 fi
46933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46935 if test `eval echo '${'$as_ac_var'}'` = yes; then
46936 cat >>confdefs.h <<_ACEOF
46937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46938 _ACEOF
46939
46940 fi
46941 done
46942
46943 fi
46944 fi
46945
46946
46947
46948
46949
46950
46951
46952
46953 echo "$as_me:$LINENO: checking for expf declaration" >&5
46954 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46955 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46956 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46958 else
46959
46960
46961
46962 ac_ext=cc
46963 ac_cpp='$CXXCPP $CPPFLAGS'
46964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46967
46968 cat >conftest.$ac_ext <<_ACEOF
46969 /* confdefs.h. */
46970 _ACEOF
46971 cat confdefs.h >>conftest.$ac_ext
46972 cat >>conftest.$ac_ext <<_ACEOF
46973 /* end confdefs.h. */
46974 #include <math.h>
46975 #ifdef HAVE_IEEEFP_H
46976 #include <ieeefp.h>
46977 #endif
46978
46979 int
46980 main ()
46981 {
46982 expf(0);
46983 ;
46984 return 0;
46985 }
46986 _ACEOF
46987 rm -f conftest.$ac_objext
46988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46989 (eval $ac_compile) 2>conftest.er1
46990 ac_status=$?
46991 grep -v '^ *+' conftest.er1 >conftest.err
46992 rm -f conftest.er1
46993 cat conftest.err >&5
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); } &&
46996 { ac_try='test -z "$ac_cxx_werror_flag"
46997 || test ! -s conftest.err'
46998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46999 (eval $ac_try) 2>&5
47000 ac_status=$?
47001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47002 (exit $ac_status); }; } &&
47003 { ac_try='test -s conftest.$ac_objext'
47004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47005 (eval $ac_try) 2>&5
47006 ac_status=$?
47007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47008 (exit $ac_status); }; }; then
47009 glibcxx_cv_func_expf_use=yes
47010 else
47011 echo "$as_me: failed program was:" >&5
47012 sed 's/^/| /' conftest.$ac_ext >&5
47013
47014 glibcxx_cv_func_expf_use=no
47015 fi
47016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47017 ac_ext=c
47018 ac_cpp='$CPP $CPPFLAGS'
47019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47022
47023
47024 fi
47025
47026 fi
47027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47028 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47029
47030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47031
47032 for ac_func in expf
47033 do
47034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47035 echo "$as_me:$LINENO: checking for $ac_func" >&5
47036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47037 if eval "test \"\${$as_ac_var+set}\" = set"; then
47038 echo $ECHO_N "(cached) $ECHO_C" >&6
47039 else
47040 if test x$gcc_no_link = xyes; then
47041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47043 { (exit 1); exit 1; }; }
47044 fi
47045 cat >conftest.$ac_ext <<_ACEOF
47046 /* confdefs.h. */
47047 _ACEOF
47048 cat confdefs.h >>conftest.$ac_ext
47049 cat >>conftest.$ac_ext <<_ACEOF
47050 /* end confdefs.h. */
47051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47053 #define $ac_func innocuous_$ac_func
47054
47055 /* System header to define __stub macros and hopefully few prototypes,
47056 which can conflict with char $ac_func (); below.
47057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47058 <limits.h> exists even on freestanding compilers. */
47059
47060 #ifdef __STDC__
47061 # include <limits.h>
47062 #else
47063 # include <assert.h>
47064 #endif
47065
47066 #undef $ac_func
47067
47068 /* Override any gcc2 internal prototype to avoid an error. */
47069 #ifdef __cplusplus
47070 extern "C"
47071 {
47072 #endif
47073 /* We use char because int might match the return type of a gcc2
47074 builtin and then its argument prototype would still apply. */
47075 char $ac_func ();
47076 /* The GNU C library defines this for functions which it implements
47077 to always fail with ENOSYS. Some functions are actually named
47078 something starting with __ and the normal name is an alias. */
47079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47080 choke me
47081 #else
47082 char (*f) () = $ac_func;
47083 #endif
47084 #ifdef __cplusplus
47085 }
47086 #endif
47087
47088 int
47089 main ()
47090 {
47091 return f != $ac_func;
47092 ;
47093 return 0;
47094 }
47095 _ACEOF
47096 rm -f conftest.$ac_objext conftest$ac_exeext
47097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47098 (eval $ac_link) 2>conftest.er1
47099 ac_status=$?
47100 grep -v '^ *+' conftest.er1 >conftest.err
47101 rm -f conftest.er1
47102 cat conftest.err >&5
47103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104 (exit $ac_status); } &&
47105 { ac_try='test -z "$ac_c_werror_flag"
47106 || test ! -s conftest.err'
47107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47108 (eval $ac_try) 2>&5
47109 ac_status=$?
47110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47111 (exit $ac_status); }; } &&
47112 { ac_try='test -s conftest$ac_exeext'
47113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47114 (eval $ac_try) 2>&5
47115 ac_status=$?
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); }; }; then
47118 eval "$as_ac_var=yes"
47119 else
47120 echo "$as_me: failed program was:" >&5
47121 sed 's/^/| /' conftest.$ac_ext >&5
47122
47123 eval "$as_ac_var=no"
47124 fi
47125 rm -f conftest.err conftest.$ac_objext \
47126 conftest$ac_exeext conftest.$ac_ext
47127 fi
47128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47130 if test `eval echo '${'$as_ac_var'}'` = yes; then
47131 cat >>confdefs.h <<_ACEOF
47132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47133 _ACEOF
47134
47135 fi
47136 done
47137
47138 else
47139
47140 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47141 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47142 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47143 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47144 echo $ECHO_N "(cached) $ECHO_C" >&6
47145 else
47146
47147
47148
47149 ac_ext=cc
47150 ac_cpp='$CXXCPP $CPPFLAGS'
47151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47154
47155 cat >conftest.$ac_ext <<_ACEOF
47156 /* confdefs.h. */
47157 _ACEOF
47158 cat confdefs.h >>conftest.$ac_ext
47159 cat >>conftest.$ac_ext <<_ACEOF
47160 /* end confdefs.h. */
47161 #include <math.h>
47162 #ifdef HAVE_IEEEFP_H
47163 #include <ieeefp.h>
47164 #endif
47165
47166 int
47167 main ()
47168 {
47169 _expf(0);
47170 ;
47171 return 0;
47172 }
47173 _ACEOF
47174 rm -f conftest.$ac_objext
47175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47176 (eval $ac_compile) 2>conftest.er1
47177 ac_status=$?
47178 grep -v '^ *+' conftest.er1 >conftest.err
47179 rm -f conftest.er1
47180 cat conftest.err >&5
47181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47182 (exit $ac_status); } &&
47183 { ac_try='test -z "$ac_cxx_werror_flag"
47184 || test ! -s conftest.err'
47185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47186 (eval $ac_try) 2>&5
47187 ac_status=$?
47188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47189 (exit $ac_status); }; } &&
47190 { ac_try='test -s conftest.$ac_objext'
47191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47192 (eval $ac_try) 2>&5
47193 ac_status=$?
47194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47195 (exit $ac_status); }; }; then
47196 glibcxx_cv_func__expf_use=yes
47197 else
47198 echo "$as_me: failed program was:" >&5
47199 sed 's/^/| /' conftest.$ac_ext >&5
47200
47201 glibcxx_cv_func__expf_use=no
47202 fi
47203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47204 ac_ext=c
47205 ac_cpp='$CPP $CPPFLAGS'
47206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47209
47210
47211 fi
47212
47213 fi
47214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47215 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47216
47217 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47218
47219 for ac_func in _expf
47220 do
47221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47222 echo "$as_me:$LINENO: checking for $ac_func" >&5
47223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47224 if eval "test \"\${$as_ac_var+set}\" = set"; then
47225 echo $ECHO_N "(cached) $ECHO_C" >&6
47226 else
47227 if test x$gcc_no_link = xyes; then
47228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47230 { (exit 1); exit 1; }; }
47231 fi
47232 cat >conftest.$ac_ext <<_ACEOF
47233 /* confdefs.h. */
47234 _ACEOF
47235 cat confdefs.h >>conftest.$ac_ext
47236 cat >>conftest.$ac_ext <<_ACEOF
47237 /* end confdefs.h. */
47238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47240 #define $ac_func innocuous_$ac_func
47241
47242 /* System header to define __stub macros and hopefully few prototypes,
47243 which can conflict with char $ac_func (); below.
47244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47245 <limits.h> exists even on freestanding compilers. */
47246
47247 #ifdef __STDC__
47248 # include <limits.h>
47249 #else
47250 # include <assert.h>
47251 #endif
47252
47253 #undef $ac_func
47254
47255 /* Override any gcc2 internal prototype to avoid an error. */
47256 #ifdef __cplusplus
47257 extern "C"
47258 {
47259 #endif
47260 /* We use char because int might match the return type of a gcc2
47261 builtin and then its argument prototype would still apply. */
47262 char $ac_func ();
47263 /* The GNU C library defines this for functions which it implements
47264 to always fail with ENOSYS. Some functions are actually named
47265 something starting with __ and the normal name is an alias. */
47266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47267 choke me
47268 #else
47269 char (*f) () = $ac_func;
47270 #endif
47271 #ifdef __cplusplus
47272 }
47273 #endif
47274
47275 int
47276 main ()
47277 {
47278 return f != $ac_func;
47279 ;
47280 return 0;
47281 }
47282 _ACEOF
47283 rm -f conftest.$ac_objext conftest$ac_exeext
47284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47285 (eval $ac_link) 2>conftest.er1
47286 ac_status=$?
47287 grep -v '^ *+' conftest.er1 >conftest.err
47288 rm -f conftest.er1
47289 cat conftest.err >&5
47290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47291 (exit $ac_status); } &&
47292 { ac_try='test -z "$ac_c_werror_flag"
47293 || test ! -s conftest.err'
47294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47295 (eval $ac_try) 2>&5
47296 ac_status=$?
47297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47298 (exit $ac_status); }; } &&
47299 { ac_try='test -s conftest$ac_exeext'
47300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47301 (eval $ac_try) 2>&5
47302 ac_status=$?
47303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47304 (exit $ac_status); }; }; then
47305 eval "$as_ac_var=yes"
47306 else
47307 echo "$as_me: failed program was:" >&5
47308 sed 's/^/| /' conftest.$ac_ext >&5
47309
47310 eval "$as_ac_var=no"
47311 fi
47312 rm -f conftest.err conftest.$ac_objext \
47313 conftest$ac_exeext conftest.$ac_ext
47314 fi
47315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47317 if test `eval echo '${'$as_ac_var'}'` = yes; then
47318 cat >>confdefs.h <<_ACEOF
47319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47320 _ACEOF
47321
47322 fi
47323 done
47324
47325 fi
47326 fi
47327
47328
47329
47330
47331
47332
47333 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47334 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47335 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47336 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47337 echo $ECHO_N "(cached) $ECHO_C" >&6
47338 else
47339
47340
47341
47342 ac_ext=cc
47343 ac_cpp='$CXXCPP $CPPFLAGS'
47344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47347
47348 cat >conftest.$ac_ext <<_ACEOF
47349 /* confdefs.h. */
47350 _ACEOF
47351 cat confdefs.h >>conftest.$ac_ext
47352 cat >>conftest.$ac_ext <<_ACEOF
47353 /* end confdefs.h. */
47354 #include <math.h>
47355 #ifdef HAVE_IEEEFP_H
47356 #include <ieeefp.h>
47357 #endif
47358
47359 int
47360 main ()
47361 {
47362 isnanf(0);
47363 ;
47364 return 0;
47365 }
47366 _ACEOF
47367 rm -f conftest.$ac_objext
47368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47369 (eval $ac_compile) 2>conftest.er1
47370 ac_status=$?
47371 grep -v '^ *+' conftest.er1 >conftest.err
47372 rm -f conftest.er1
47373 cat conftest.err >&5
47374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47375 (exit $ac_status); } &&
47376 { ac_try='test -z "$ac_cxx_werror_flag"
47377 || test ! -s conftest.err'
47378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47379 (eval $ac_try) 2>&5
47380 ac_status=$?
47381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47382 (exit $ac_status); }; } &&
47383 { ac_try='test -s conftest.$ac_objext'
47384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47385 (eval $ac_try) 2>&5
47386 ac_status=$?
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); }; }; then
47389 glibcxx_cv_func_isnanf_use=yes
47390 else
47391 echo "$as_me: failed program was:" >&5
47392 sed 's/^/| /' conftest.$ac_ext >&5
47393
47394 glibcxx_cv_func_isnanf_use=no
47395 fi
47396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47397 ac_ext=c
47398 ac_cpp='$CPP $CPPFLAGS'
47399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47402
47403
47404 fi
47405
47406 fi
47407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47408 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47409
47410 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47411
47412 for ac_func in isnanf
47413 do
47414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47415 echo "$as_me:$LINENO: checking for $ac_func" >&5
47416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47417 if eval "test \"\${$as_ac_var+set}\" = set"; then
47418 echo $ECHO_N "(cached) $ECHO_C" >&6
47419 else
47420 if test x$gcc_no_link = xyes; then
47421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47423 { (exit 1); exit 1; }; }
47424 fi
47425 cat >conftest.$ac_ext <<_ACEOF
47426 /* confdefs.h. */
47427 _ACEOF
47428 cat confdefs.h >>conftest.$ac_ext
47429 cat >>conftest.$ac_ext <<_ACEOF
47430 /* end confdefs.h. */
47431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47433 #define $ac_func innocuous_$ac_func
47434
47435 /* System header to define __stub macros and hopefully few prototypes,
47436 which can conflict with char $ac_func (); below.
47437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47438 <limits.h> exists even on freestanding compilers. */
47439
47440 #ifdef __STDC__
47441 # include <limits.h>
47442 #else
47443 # include <assert.h>
47444 #endif
47445
47446 #undef $ac_func
47447
47448 /* Override any gcc2 internal prototype to avoid an error. */
47449 #ifdef __cplusplus
47450 extern "C"
47451 {
47452 #endif
47453 /* We use char because int might match the return type of a gcc2
47454 builtin and then its argument prototype would still apply. */
47455 char $ac_func ();
47456 /* The GNU C library defines this for functions which it implements
47457 to always fail with ENOSYS. Some functions are actually named
47458 something starting with __ and the normal name is an alias. */
47459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47460 choke me
47461 #else
47462 char (*f) () = $ac_func;
47463 #endif
47464 #ifdef __cplusplus
47465 }
47466 #endif
47467
47468 int
47469 main ()
47470 {
47471 return f != $ac_func;
47472 ;
47473 return 0;
47474 }
47475 _ACEOF
47476 rm -f conftest.$ac_objext conftest$ac_exeext
47477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47478 (eval $ac_link) 2>conftest.er1
47479 ac_status=$?
47480 grep -v '^ *+' conftest.er1 >conftest.err
47481 rm -f conftest.er1
47482 cat conftest.err >&5
47483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484 (exit $ac_status); } &&
47485 { ac_try='test -z "$ac_c_werror_flag"
47486 || test ! -s conftest.err'
47487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47488 (eval $ac_try) 2>&5
47489 ac_status=$?
47490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47491 (exit $ac_status); }; } &&
47492 { ac_try='test -s conftest$ac_exeext'
47493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47494 (eval $ac_try) 2>&5
47495 ac_status=$?
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); }; }; then
47498 eval "$as_ac_var=yes"
47499 else
47500 echo "$as_me: failed program was:" >&5
47501 sed 's/^/| /' conftest.$ac_ext >&5
47502
47503 eval "$as_ac_var=no"
47504 fi
47505 rm -f conftest.err conftest.$ac_objext \
47506 conftest$ac_exeext conftest.$ac_ext
47507 fi
47508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47510 if test `eval echo '${'$as_ac_var'}'` = yes; then
47511 cat >>confdefs.h <<_ACEOF
47512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47513 _ACEOF
47514
47515 fi
47516 done
47517
47518 else
47519
47520 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47521 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47522 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47523 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47524 echo $ECHO_N "(cached) $ECHO_C" >&6
47525 else
47526
47527
47528
47529 ac_ext=cc
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47534
47535 cat >conftest.$ac_ext <<_ACEOF
47536 /* confdefs.h. */
47537 _ACEOF
47538 cat confdefs.h >>conftest.$ac_ext
47539 cat >>conftest.$ac_ext <<_ACEOF
47540 /* end confdefs.h. */
47541 #include <math.h>
47542 #ifdef HAVE_IEEEFP_H
47543 #include <ieeefp.h>
47544 #endif
47545
47546 int
47547 main ()
47548 {
47549 _isnanf(0);
47550 ;
47551 return 0;
47552 }
47553 _ACEOF
47554 rm -f conftest.$ac_objext
47555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47556 (eval $ac_compile) 2>conftest.er1
47557 ac_status=$?
47558 grep -v '^ *+' conftest.er1 >conftest.err
47559 rm -f conftest.er1
47560 cat conftest.err >&5
47561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562 (exit $ac_status); } &&
47563 { ac_try='test -z "$ac_cxx_werror_flag"
47564 || test ! -s conftest.err'
47565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47566 (eval $ac_try) 2>&5
47567 ac_status=$?
47568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47569 (exit $ac_status); }; } &&
47570 { ac_try='test -s conftest.$ac_objext'
47571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47572 (eval $ac_try) 2>&5
47573 ac_status=$?
47574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47575 (exit $ac_status); }; }; then
47576 glibcxx_cv_func__isnanf_use=yes
47577 else
47578 echo "$as_me: failed program was:" >&5
47579 sed 's/^/| /' conftest.$ac_ext >&5
47580
47581 glibcxx_cv_func__isnanf_use=no
47582 fi
47583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47584 ac_ext=c
47585 ac_cpp='$CPP $CPPFLAGS'
47586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47589
47590
47591 fi
47592
47593 fi
47594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47595 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47596
47597 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47598
47599 for ac_func in _isnanf
47600 do
47601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47602 echo "$as_me:$LINENO: checking for $ac_func" >&5
47603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47604 if eval "test \"\${$as_ac_var+set}\" = set"; then
47605 echo $ECHO_N "(cached) $ECHO_C" >&6
47606 else
47607 if test x$gcc_no_link = xyes; then
47608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47610 { (exit 1); exit 1; }; }
47611 fi
47612 cat >conftest.$ac_ext <<_ACEOF
47613 /* confdefs.h. */
47614 _ACEOF
47615 cat confdefs.h >>conftest.$ac_ext
47616 cat >>conftest.$ac_ext <<_ACEOF
47617 /* end confdefs.h. */
47618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47620 #define $ac_func innocuous_$ac_func
47621
47622 /* System header to define __stub macros and hopefully few prototypes,
47623 which can conflict with char $ac_func (); below.
47624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47625 <limits.h> exists even on freestanding compilers. */
47626
47627 #ifdef __STDC__
47628 # include <limits.h>
47629 #else
47630 # include <assert.h>
47631 #endif
47632
47633 #undef $ac_func
47634
47635 /* Override any gcc2 internal prototype to avoid an error. */
47636 #ifdef __cplusplus
47637 extern "C"
47638 {
47639 #endif
47640 /* We use char because int might match the return type of a gcc2
47641 builtin and then its argument prototype would still apply. */
47642 char $ac_func ();
47643 /* The GNU C library defines this for functions which it implements
47644 to always fail with ENOSYS. Some functions are actually named
47645 something starting with __ and the normal name is an alias. */
47646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47647 choke me
47648 #else
47649 char (*f) () = $ac_func;
47650 #endif
47651 #ifdef __cplusplus
47652 }
47653 #endif
47654
47655 int
47656 main ()
47657 {
47658 return f != $ac_func;
47659 ;
47660 return 0;
47661 }
47662 _ACEOF
47663 rm -f conftest.$ac_objext conftest$ac_exeext
47664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47665 (eval $ac_link) 2>conftest.er1
47666 ac_status=$?
47667 grep -v '^ *+' conftest.er1 >conftest.err
47668 rm -f conftest.er1
47669 cat conftest.err >&5
47670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47671 (exit $ac_status); } &&
47672 { ac_try='test -z "$ac_c_werror_flag"
47673 || test ! -s conftest.err'
47674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47675 (eval $ac_try) 2>&5
47676 ac_status=$?
47677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47678 (exit $ac_status); }; } &&
47679 { ac_try='test -s conftest$ac_exeext'
47680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47681 (eval $ac_try) 2>&5
47682 ac_status=$?
47683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47684 (exit $ac_status); }; }; then
47685 eval "$as_ac_var=yes"
47686 else
47687 echo "$as_me: failed program was:" >&5
47688 sed 's/^/| /' conftest.$ac_ext >&5
47689
47690 eval "$as_ac_var=no"
47691 fi
47692 rm -f conftest.err conftest.$ac_objext \
47693 conftest$ac_exeext conftest.$ac_ext
47694 fi
47695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47697 if test `eval echo '${'$as_ac_var'}'` = yes; then
47698 cat >>confdefs.h <<_ACEOF
47699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47700 _ACEOF
47701
47702 fi
47703 done
47704
47705 fi
47706 fi
47707
47708
47709
47710
47711
47712
47713 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47714 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47715 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47716 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47717 echo $ECHO_N "(cached) $ECHO_C" >&6
47718 else
47719
47720
47721
47722 ac_ext=cc
47723 ac_cpp='$CXXCPP $CPPFLAGS'
47724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47727
47728 cat >conftest.$ac_ext <<_ACEOF
47729 /* confdefs.h. */
47730 _ACEOF
47731 cat confdefs.h >>conftest.$ac_ext
47732 cat >>conftest.$ac_ext <<_ACEOF
47733 /* end confdefs.h. */
47734 #include <math.h>
47735 #ifdef HAVE_IEEEFP_H
47736 #include <ieeefp.h>
47737 #endif
47738
47739 int
47740 main ()
47741 {
47742 isinff(0);
47743 ;
47744 return 0;
47745 }
47746 _ACEOF
47747 rm -f conftest.$ac_objext
47748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47749 (eval $ac_compile) 2>conftest.er1
47750 ac_status=$?
47751 grep -v '^ *+' conftest.er1 >conftest.err
47752 rm -f conftest.er1
47753 cat conftest.err >&5
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); } &&
47756 { ac_try='test -z "$ac_cxx_werror_flag"
47757 || test ! -s conftest.err'
47758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47759 (eval $ac_try) 2>&5
47760 ac_status=$?
47761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47762 (exit $ac_status); }; } &&
47763 { ac_try='test -s conftest.$ac_objext'
47764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47765 (eval $ac_try) 2>&5
47766 ac_status=$?
47767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768 (exit $ac_status); }; }; then
47769 glibcxx_cv_func_isinff_use=yes
47770 else
47771 echo "$as_me: failed program was:" >&5
47772 sed 's/^/| /' conftest.$ac_ext >&5
47773
47774 glibcxx_cv_func_isinff_use=no
47775 fi
47776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47777 ac_ext=c
47778 ac_cpp='$CPP $CPPFLAGS'
47779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47782
47783
47784 fi
47785
47786 fi
47787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47788 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47789
47790 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47791
47792 for ac_func in isinff
47793 do
47794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47795 echo "$as_me:$LINENO: checking for $ac_func" >&5
47796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47797 if eval "test \"\${$as_ac_var+set}\" = set"; then
47798 echo $ECHO_N "(cached) $ECHO_C" >&6
47799 else
47800 if test x$gcc_no_link = xyes; then
47801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47803 { (exit 1); exit 1; }; }
47804 fi
47805 cat >conftest.$ac_ext <<_ACEOF
47806 /* confdefs.h. */
47807 _ACEOF
47808 cat confdefs.h >>conftest.$ac_ext
47809 cat >>conftest.$ac_ext <<_ACEOF
47810 /* end confdefs.h. */
47811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47813 #define $ac_func innocuous_$ac_func
47814
47815 /* System header to define __stub macros and hopefully few prototypes,
47816 which can conflict with char $ac_func (); below.
47817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47818 <limits.h> exists even on freestanding compilers. */
47819
47820 #ifdef __STDC__
47821 # include <limits.h>
47822 #else
47823 # include <assert.h>
47824 #endif
47825
47826 #undef $ac_func
47827
47828 /* Override any gcc2 internal prototype to avoid an error. */
47829 #ifdef __cplusplus
47830 extern "C"
47831 {
47832 #endif
47833 /* We use char because int might match the return type of a gcc2
47834 builtin and then its argument prototype would still apply. */
47835 char $ac_func ();
47836 /* The GNU C library defines this for functions which it implements
47837 to always fail with ENOSYS. Some functions are actually named
47838 something starting with __ and the normal name is an alias. */
47839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47840 choke me
47841 #else
47842 char (*f) () = $ac_func;
47843 #endif
47844 #ifdef __cplusplus
47845 }
47846 #endif
47847
47848 int
47849 main ()
47850 {
47851 return f != $ac_func;
47852 ;
47853 return 0;
47854 }
47855 _ACEOF
47856 rm -f conftest.$ac_objext conftest$ac_exeext
47857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47858 (eval $ac_link) 2>conftest.er1
47859 ac_status=$?
47860 grep -v '^ *+' conftest.er1 >conftest.err
47861 rm -f conftest.er1
47862 cat conftest.err >&5
47863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47864 (exit $ac_status); } &&
47865 { ac_try='test -z "$ac_c_werror_flag"
47866 || test ! -s conftest.err'
47867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47868 (eval $ac_try) 2>&5
47869 ac_status=$?
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); }; } &&
47872 { ac_try='test -s conftest$ac_exeext'
47873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47874 (eval $ac_try) 2>&5
47875 ac_status=$?
47876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877 (exit $ac_status); }; }; then
47878 eval "$as_ac_var=yes"
47879 else
47880 echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47882
47883 eval "$as_ac_var=no"
47884 fi
47885 rm -f conftest.err conftest.$ac_objext \
47886 conftest$ac_exeext conftest.$ac_ext
47887 fi
47888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47890 if test `eval echo '${'$as_ac_var'}'` = yes; then
47891 cat >>confdefs.h <<_ACEOF
47892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47893 _ACEOF
47894
47895 fi
47896 done
47897
47898 else
47899
47900 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47901 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47902 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47903 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47904 echo $ECHO_N "(cached) $ECHO_C" >&6
47905 else
47906
47907
47908
47909 ac_ext=cc
47910 ac_cpp='$CXXCPP $CPPFLAGS'
47911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47914
47915 cat >conftest.$ac_ext <<_ACEOF
47916 /* confdefs.h. */
47917 _ACEOF
47918 cat confdefs.h >>conftest.$ac_ext
47919 cat >>conftest.$ac_ext <<_ACEOF
47920 /* end confdefs.h. */
47921 #include <math.h>
47922 #ifdef HAVE_IEEEFP_H
47923 #include <ieeefp.h>
47924 #endif
47925
47926 int
47927 main ()
47928 {
47929 _isinff(0);
47930 ;
47931 return 0;
47932 }
47933 _ACEOF
47934 rm -f conftest.$ac_objext
47935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47936 (eval $ac_compile) 2>conftest.er1
47937 ac_status=$?
47938 grep -v '^ *+' conftest.er1 >conftest.err
47939 rm -f conftest.er1
47940 cat conftest.err >&5
47941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47942 (exit $ac_status); } &&
47943 { ac_try='test -z "$ac_cxx_werror_flag"
47944 || test ! -s conftest.err'
47945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47946 (eval $ac_try) 2>&5
47947 ac_status=$?
47948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47949 (exit $ac_status); }; } &&
47950 { ac_try='test -s conftest.$ac_objext'
47951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47952 (eval $ac_try) 2>&5
47953 ac_status=$?
47954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47955 (exit $ac_status); }; }; then
47956 glibcxx_cv_func__isinff_use=yes
47957 else
47958 echo "$as_me: failed program was:" >&5
47959 sed 's/^/| /' conftest.$ac_ext >&5
47960
47961 glibcxx_cv_func__isinff_use=no
47962 fi
47963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47964 ac_ext=c
47965 ac_cpp='$CPP $CPPFLAGS'
47966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47969
47970
47971 fi
47972
47973 fi
47974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47975 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47976
47977 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47978
47979 for ac_func in _isinff
47980 do
47981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47982 echo "$as_me:$LINENO: checking for $ac_func" >&5
47983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47984 if eval "test \"\${$as_ac_var+set}\" = set"; then
47985 echo $ECHO_N "(cached) $ECHO_C" >&6
47986 else
47987 if test x$gcc_no_link = xyes; then
47988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47990 { (exit 1); exit 1; }; }
47991 fi
47992 cat >conftest.$ac_ext <<_ACEOF
47993 /* confdefs.h. */
47994 _ACEOF
47995 cat confdefs.h >>conftest.$ac_ext
47996 cat >>conftest.$ac_ext <<_ACEOF
47997 /* end confdefs.h. */
47998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48000 #define $ac_func innocuous_$ac_func
48001
48002 /* System header to define __stub macros and hopefully few prototypes,
48003 which can conflict with char $ac_func (); below.
48004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48005 <limits.h> exists even on freestanding compilers. */
48006
48007 #ifdef __STDC__
48008 # include <limits.h>
48009 #else
48010 # include <assert.h>
48011 #endif
48012
48013 #undef $ac_func
48014
48015 /* Override any gcc2 internal prototype to avoid an error. */
48016 #ifdef __cplusplus
48017 extern "C"
48018 {
48019 #endif
48020 /* We use char because int might match the return type of a gcc2
48021 builtin and then its argument prototype would still apply. */
48022 char $ac_func ();
48023 /* The GNU C library defines this for functions which it implements
48024 to always fail with ENOSYS. Some functions are actually named
48025 something starting with __ and the normal name is an alias. */
48026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48027 choke me
48028 #else
48029 char (*f) () = $ac_func;
48030 #endif
48031 #ifdef __cplusplus
48032 }
48033 #endif
48034
48035 int
48036 main ()
48037 {
48038 return f != $ac_func;
48039 ;
48040 return 0;
48041 }
48042 _ACEOF
48043 rm -f conftest.$ac_objext conftest$ac_exeext
48044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48045 (eval $ac_link) 2>conftest.er1
48046 ac_status=$?
48047 grep -v '^ *+' conftest.er1 >conftest.err
48048 rm -f conftest.er1
48049 cat conftest.err >&5
48050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051 (exit $ac_status); } &&
48052 { ac_try='test -z "$ac_c_werror_flag"
48053 || test ! -s conftest.err'
48054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48055 (eval $ac_try) 2>&5
48056 ac_status=$?
48057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48058 (exit $ac_status); }; } &&
48059 { ac_try='test -s conftest$ac_exeext'
48060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48061 (eval $ac_try) 2>&5
48062 ac_status=$?
48063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48064 (exit $ac_status); }; }; then
48065 eval "$as_ac_var=yes"
48066 else
48067 echo "$as_me: failed program was:" >&5
48068 sed 's/^/| /' conftest.$ac_ext >&5
48069
48070 eval "$as_ac_var=no"
48071 fi
48072 rm -f conftest.err conftest.$ac_objext \
48073 conftest$ac_exeext conftest.$ac_ext
48074 fi
48075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48077 if test `eval echo '${'$as_ac_var'}'` = yes; then
48078 cat >>confdefs.h <<_ACEOF
48079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48080 _ACEOF
48081
48082 fi
48083 done
48084
48085 fi
48086 fi
48087
48088
48089
48090
48091
48092
48093 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48094 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48095 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48096 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48097 echo $ECHO_N "(cached) $ECHO_C" >&6
48098 else
48099
48100
48101
48102 ac_ext=cc
48103 ac_cpp='$CXXCPP $CPPFLAGS'
48104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48107
48108 cat >conftest.$ac_ext <<_ACEOF
48109 /* confdefs.h. */
48110 _ACEOF
48111 cat confdefs.h >>conftest.$ac_ext
48112 cat >>conftest.$ac_ext <<_ACEOF
48113 /* end confdefs.h. */
48114 #include <math.h>
48115 int
48116 main ()
48117 {
48118 atan2f(0, 0);
48119 ;
48120 return 0;
48121 }
48122 _ACEOF
48123 rm -f conftest.$ac_objext
48124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48125 (eval $ac_compile) 2>conftest.er1
48126 ac_status=$?
48127 grep -v '^ *+' conftest.er1 >conftest.err
48128 rm -f conftest.er1
48129 cat conftest.err >&5
48130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48131 (exit $ac_status); } &&
48132 { ac_try='test -z "$ac_cxx_werror_flag"
48133 || test ! -s conftest.err'
48134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48135 (eval $ac_try) 2>&5
48136 ac_status=$?
48137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48138 (exit $ac_status); }; } &&
48139 { ac_try='test -s conftest.$ac_objext'
48140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48141 (eval $ac_try) 2>&5
48142 ac_status=$?
48143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48144 (exit $ac_status); }; }; then
48145 glibcxx_cv_func_atan2f_use=yes
48146 else
48147 echo "$as_me: failed program was:" >&5
48148 sed 's/^/| /' conftest.$ac_ext >&5
48149
48150 glibcxx_cv_func_atan2f_use=no
48151 fi
48152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48153 ac_ext=c
48154 ac_cpp='$CPP $CPPFLAGS'
48155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48158
48159
48160 fi
48161
48162 fi
48163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48164 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48165
48166 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48167
48168 for ac_func in atan2f
48169 do
48170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48171 echo "$as_me:$LINENO: checking for $ac_func" >&5
48172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48173 if eval "test \"\${$as_ac_var+set}\" = set"; then
48174 echo $ECHO_N "(cached) $ECHO_C" >&6
48175 else
48176 if test x$gcc_no_link = xyes; then
48177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48179 { (exit 1); exit 1; }; }
48180 fi
48181 cat >conftest.$ac_ext <<_ACEOF
48182 /* confdefs.h. */
48183 _ACEOF
48184 cat confdefs.h >>conftest.$ac_ext
48185 cat >>conftest.$ac_ext <<_ACEOF
48186 /* end confdefs.h. */
48187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48189 #define $ac_func innocuous_$ac_func
48190
48191 /* System header to define __stub macros and hopefully few prototypes,
48192 which can conflict with char $ac_func (); below.
48193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48194 <limits.h> exists even on freestanding compilers. */
48195
48196 #ifdef __STDC__
48197 # include <limits.h>
48198 #else
48199 # include <assert.h>
48200 #endif
48201
48202 #undef $ac_func
48203
48204 /* Override any gcc2 internal prototype to avoid an error. */
48205 #ifdef __cplusplus
48206 extern "C"
48207 {
48208 #endif
48209 /* We use char because int might match the return type of a gcc2
48210 builtin and then its argument prototype would still apply. */
48211 char $ac_func ();
48212 /* The GNU C library defines this for functions which it implements
48213 to always fail with ENOSYS. Some functions are actually named
48214 something starting with __ and the normal name is an alias. */
48215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48216 choke me
48217 #else
48218 char (*f) () = $ac_func;
48219 #endif
48220 #ifdef __cplusplus
48221 }
48222 #endif
48223
48224 int
48225 main ()
48226 {
48227 return f != $ac_func;
48228 ;
48229 return 0;
48230 }
48231 _ACEOF
48232 rm -f conftest.$ac_objext conftest$ac_exeext
48233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48234 (eval $ac_link) 2>conftest.er1
48235 ac_status=$?
48236 grep -v '^ *+' conftest.er1 >conftest.err
48237 rm -f conftest.er1
48238 cat conftest.err >&5
48239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48240 (exit $ac_status); } &&
48241 { ac_try='test -z "$ac_c_werror_flag"
48242 || test ! -s conftest.err'
48243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48244 (eval $ac_try) 2>&5
48245 ac_status=$?
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); }; } &&
48248 { ac_try='test -s conftest$ac_exeext'
48249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48250 (eval $ac_try) 2>&5
48251 ac_status=$?
48252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253 (exit $ac_status); }; }; then
48254 eval "$as_ac_var=yes"
48255 else
48256 echo "$as_me: failed program was:" >&5
48257 sed 's/^/| /' conftest.$ac_ext >&5
48258
48259 eval "$as_ac_var=no"
48260 fi
48261 rm -f conftest.err conftest.$ac_objext \
48262 conftest$ac_exeext conftest.$ac_ext
48263 fi
48264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48266 if test `eval echo '${'$as_ac_var'}'` = yes; then
48267 cat >>confdefs.h <<_ACEOF
48268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48269 _ACEOF
48270
48271 fi
48272 done
48273
48274 else
48275
48276 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48277 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48278 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48279 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48280 echo $ECHO_N "(cached) $ECHO_C" >&6
48281 else
48282
48283
48284
48285 ac_ext=cc
48286 ac_cpp='$CXXCPP $CPPFLAGS'
48287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48290
48291 cat >conftest.$ac_ext <<_ACEOF
48292 /* confdefs.h. */
48293 _ACEOF
48294 cat confdefs.h >>conftest.$ac_ext
48295 cat >>conftest.$ac_ext <<_ACEOF
48296 /* end confdefs.h. */
48297 #include <math.h>
48298 int
48299 main ()
48300 {
48301 _atan2f(0, 0);
48302 ;
48303 return 0;
48304 }
48305 _ACEOF
48306 rm -f conftest.$ac_objext
48307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48308 (eval $ac_compile) 2>conftest.er1
48309 ac_status=$?
48310 grep -v '^ *+' conftest.er1 >conftest.err
48311 rm -f conftest.er1
48312 cat conftest.err >&5
48313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48314 (exit $ac_status); } &&
48315 { ac_try='test -z "$ac_cxx_werror_flag"
48316 || test ! -s conftest.err'
48317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48318 (eval $ac_try) 2>&5
48319 ac_status=$?
48320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48321 (exit $ac_status); }; } &&
48322 { ac_try='test -s conftest.$ac_objext'
48323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48324 (eval $ac_try) 2>&5
48325 ac_status=$?
48326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48327 (exit $ac_status); }; }; then
48328 glibcxx_cv_func__atan2f_use=yes
48329 else
48330 echo "$as_me: failed program was:" >&5
48331 sed 's/^/| /' conftest.$ac_ext >&5
48332
48333 glibcxx_cv_func__atan2f_use=no
48334 fi
48335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48336 ac_ext=c
48337 ac_cpp='$CPP $CPPFLAGS'
48338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48341
48342
48343 fi
48344
48345 fi
48346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48347 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48348
48349 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48350
48351 for ac_func in _atan2f
48352 do
48353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48354 echo "$as_me:$LINENO: checking for $ac_func" >&5
48355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48356 if eval "test \"\${$as_ac_var+set}\" = set"; then
48357 echo $ECHO_N "(cached) $ECHO_C" >&6
48358 else
48359 if test x$gcc_no_link = xyes; then
48360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48362 { (exit 1); exit 1; }; }
48363 fi
48364 cat >conftest.$ac_ext <<_ACEOF
48365 /* confdefs.h. */
48366 _ACEOF
48367 cat confdefs.h >>conftest.$ac_ext
48368 cat >>conftest.$ac_ext <<_ACEOF
48369 /* end confdefs.h. */
48370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48372 #define $ac_func innocuous_$ac_func
48373
48374 /* System header to define __stub macros and hopefully few prototypes,
48375 which can conflict with char $ac_func (); below.
48376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48377 <limits.h> exists even on freestanding compilers. */
48378
48379 #ifdef __STDC__
48380 # include <limits.h>
48381 #else
48382 # include <assert.h>
48383 #endif
48384
48385 #undef $ac_func
48386
48387 /* Override any gcc2 internal prototype to avoid an error. */
48388 #ifdef __cplusplus
48389 extern "C"
48390 {
48391 #endif
48392 /* We use char because int might match the return type of a gcc2
48393 builtin and then its argument prototype would still apply. */
48394 char $ac_func ();
48395 /* The GNU C library defines this for functions which it implements
48396 to always fail with ENOSYS. Some functions are actually named
48397 something starting with __ and the normal name is an alias. */
48398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48399 choke me
48400 #else
48401 char (*f) () = $ac_func;
48402 #endif
48403 #ifdef __cplusplus
48404 }
48405 #endif
48406
48407 int
48408 main ()
48409 {
48410 return f != $ac_func;
48411 ;
48412 return 0;
48413 }
48414 _ACEOF
48415 rm -f conftest.$ac_objext conftest$ac_exeext
48416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48417 (eval $ac_link) 2>conftest.er1
48418 ac_status=$?
48419 grep -v '^ *+' conftest.er1 >conftest.err
48420 rm -f conftest.er1
48421 cat conftest.err >&5
48422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48423 (exit $ac_status); } &&
48424 { ac_try='test -z "$ac_c_werror_flag"
48425 || test ! -s conftest.err'
48426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48427 (eval $ac_try) 2>&5
48428 ac_status=$?
48429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48430 (exit $ac_status); }; } &&
48431 { ac_try='test -s conftest$ac_exeext'
48432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48433 (eval $ac_try) 2>&5
48434 ac_status=$?
48435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48436 (exit $ac_status); }; }; then
48437 eval "$as_ac_var=yes"
48438 else
48439 echo "$as_me: failed program was:" >&5
48440 sed 's/^/| /' conftest.$ac_ext >&5
48441
48442 eval "$as_ac_var=no"
48443 fi
48444 rm -f conftest.err conftest.$ac_objext \
48445 conftest$ac_exeext conftest.$ac_ext
48446 fi
48447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48449 if test `eval echo '${'$as_ac_var'}'` = yes; then
48450 cat >>confdefs.h <<_ACEOF
48451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48452 _ACEOF
48453
48454 fi
48455 done
48456
48457 fi
48458 fi
48459
48460
48461
48462
48463
48464
48465 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48466 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48467 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48468 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48469 echo $ECHO_N "(cached) $ECHO_C" >&6
48470 else
48471
48472
48473
48474 ac_ext=cc
48475 ac_cpp='$CXXCPP $CPPFLAGS'
48476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48479
48480 cat >conftest.$ac_ext <<_ACEOF
48481 /* confdefs.h. */
48482 _ACEOF
48483 cat confdefs.h >>conftest.$ac_ext
48484 cat >>conftest.$ac_ext <<_ACEOF
48485 /* end confdefs.h. */
48486 #include <math.h>
48487 #ifdef HAVE_IEEEFP_H
48488 #include <ieeefp.h>
48489 #endif
48490
48491 int
48492 main ()
48493 {
48494 fabsf(0);
48495 ;
48496 return 0;
48497 }
48498 _ACEOF
48499 rm -f conftest.$ac_objext
48500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48501 (eval $ac_compile) 2>conftest.er1
48502 ac_status=$?
48503 grep -v '^ *+' conftest.er1 >conftest.err
48504 rm -f conftest.er1
48505 cat conftest.err >&5
48506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48507 (exit $ac_status); } &&
48508 { ac_try='test -z "$ac_cxx_werror_flag"
48509 || test ! -s conftest.err'
48510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48511 (eval $ac_try) 2>&5
48512 ac_status=$?
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); }; } &&
48515 { ac_try='test -s conftest.$ac_objext'
48516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48517 (eval $ac_try) 2>&5
48518 ac_status=$?
48519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48520 (exit $ac_status); }; }; then
48521 glibcxx_cv_func_fabsf_use=yes
48522 else
48523 echo "$as_me: failed program was:" >&5
48524 sed 's/^/| /' conftest.$ac_ext >&5
48525
48526 glibcxx_cv_func_fabsf_use=no
48527 fi
48528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48529 ac_ext=c
48530 ac_cpp='$CPP $CPPFLAGS'
48531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534
48535
48536 fi
48537
48538 fi
48539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48540 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48541
48542 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48543
48544 for ac_func in fabsf
48545 do
48546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48547 echo "$as_me:$LINENO: checking for $ac_func" >&5
48548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48549 if eval "test \"\${$as_ac_var+set}\" = set"; then
48550 echo $ECHO_N "(cached) $ECHO_C" >&6
48551 else
48552 if test x$gcc_no_link = xyes; then
48553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48555 { (exit 1); exit 1; }; }
48556 fi
48557 cat >conftest.$ac_ext <<_ACEOF
48558 /* confdefs.h. */
48559 _ACEOF
48560 cat confdefs.h >>conftest.$ac_ext
48561 cat >>conftest.$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48565 #define $ac_func innocuous_$ac_func
48566
48567 /* System header to define __stub macros and hopefully few prototypes,
48568 which can conflict with char $ac_func (); below.
48569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48570 <limits.h> exists even on freestanding compilers. */
48571
48572 #ifdef __STDC__
48573 # include <limits.h>
48574 #else
48575 # include <assert.h>
48576 #endif
48577
48578 #undef $ac_func
48579
48580 /* Override any gcc2 internal prototype to avoid an error. */
48581 #ifdef __cplusplus
48582 extern "C"
48583 {
48584 #endif
48585 /* We use char because int might match the return type of a gcc2
48586 builtin and then its argument prototype would still apply. */
48587 char $ac_func ();
48588 /* The GNU C library defines this for functions which it implements
48589 to always fail with ENOSYS. Some functions are actually named
48590 something starting with __ and the normal name is an alias. */
48591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48592 choke me
48593 #else
48594 char (*f) () = $ac_func;
48595 #endif
48596 #ifdef __cplusplus
48597 }
48598 #endif
48599
48600 int
48601 main ()
48602 {
48603 return f != $ac_func;
48604 ;
48605 return 0;
48606 }
48607 _ACEOF
48608 rm -f conftest.$ac_objext conftest$ac_exeext
48609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48610 (eval $ac_link) 2>conftest.er1
48611 ac_status=$?
48612 grep -v '^ *+' conftest.er1 >conftest.err
48613 rm -f conftest.er1
48614 cat conftest.err >&5
48615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48616 (exit $ac_status); } &&
48617 { ac_try='test -z "$ac_c_werror_flag"
48618 || test ! -s conftest.err'
48619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48620 (eval $ac_try) 2>&5
48621 ac_status=$?
48622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48623 (exit $ac_status); }; } &&
48624 { ac_try='test -s conftest$ac_exeext'
48625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48626 (eval $ac_try) 2>&5
48627 ac_status=$?
48628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48629 (exit $ac_status); }; }; then
48630 eval "$as_ac_var=yes"
48631 else
48632 echo "$as_me: failed program was:" >&5
48633 sed 's/^/| /' conftest.$ac_ext >&5
48634
48635 eval "$as_ac_var=no"
48636 fi
48637 rm -f conftest.err conftest.$ac_objext \
48638 conftest$ac_exeext conftest.$ac_ext
48639 fi
48640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48642 if test `eval echo '${'$as_ac_var'}'` = yes; then
48643 cat >>confdefs.h <<_ACEOF
48644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48645 _ACEOF
48646
48647 fi
48648 done
48649
48650 else
48651
48652 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48653 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48654 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48655 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48656 echo $ECHO_N "(cached) $ECHO_C" >&6
48657 else
48658
48659
48660
48661 ac_ext=cc
48662 ac_cpp='$CXXCPP $CPPFLAGS'
48663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48666
48667 cat >conftest.$ac_ext <<_ACEOF
48668 /* confdefs.h. */
48669 _ACEOF
48670 cat confdefs.h >>conftest.$ac_ext
48671 cat >>conftest.$ac_ext <<_ACEOF
48672 /* end confdefs.h. */
48673 #include <math.h>
48674 #ifdef HAVE_IEEEFP_H
48675 #include <ieeefp.h>
48676 #endif
48677
48678 int
48679 main ()
48680 {
48681 _fabsf(0);
48682 ;
48683 return 0;
48684 }
48685 _ACEOF
48686 rm -f conftest.$ac_objext
48687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48688 (eval $ac_compile) 2>conftest.er1
48689 ac_status=$?
48690 grep -v '^ *+' conftest.er1 >conftest.err
48691 rm -f conftest.er1
48692 cat conftest.err >&5
48693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48694 (exit $ac_status); } &&
48695 { ac_try='test -z "$ac_cxx_werror_flag"
48696 || test ! -s conftest.err'
48697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48698 (eval $ac_try) 2>&5
48699 ac_status=$?
48700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48701 (exit $ac_status); }; } &&
48702 { ac_try='test -s conftest.$ac_objext'
48703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48704 (eval $ac_try) 2>&5
48705 ac_status=$?
48706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48707 (exit $ac_status); }; }; then
48708 glibcxx_cv_func__fabsf_use=yes
48709 else
48710 echo "$as_me: failed program was:" >&5
48711 sed 's/^/| /' conftest.$ac_ext >&5
48712
48713 glibcxx_cv_func__fabsf_use=no
48714 fi
48715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48716 ac_ext=c
48717 ac_cpp='$CPP $CPPFLAGS'
48718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48721
48722
48723 fi
48724
48725 fi
48726 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48727 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48728
48729 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48730
48731 for ac_func in _fabsf
48732 do
48733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48734 echo "$as_me:$LINENO: checking for $ac_func" >&5
48735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48736 if eval "test \"\${$as_ac_var+set}\" = set"; then
48737 echo $ECHO_N "(cached) $ECHO_C" >&6
48738 else
48739 if test x$gcc_no_link = xyes; then
48740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48742 { (exit 1); exit 1; }; }
48743 fi
48744 cat >conftest.$ac_ext <<_ACEOF
48745 /* confdefs.h. */
48746 _ACEOF
48747 cat confdefs.h >>conftest.$ac_ext
48748 cat >>conftest.$ac_ext <<_ACEOF
48749 /* end confdefs.h. */
48750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48752 #define $ac_func innocuous_$ac_func
48753
48754 /* System header to define __stub macros and hopefully few prototypes,
48755 which can conflict with char $ac_func (); below.
48756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48757 <limits.h> exists even on freestanding compilers. */
48758
48759 #ifdef __STDC__
48760 # include <limits.h>
48761 #else
48762 # include <assert.h>
48763 #endif
48764
48765 #undef $ac_func
48766
48767 /* Override any gcc2 internal prototype to avoid an error. */
48768 #ifdef __cplusplus
48769 extern "C"
48770 {
48771 #endif
48772 /* We use char because int might match the return type of a gcc2
48773 builtin and then its argument prototype would still apply. */
48774 char $ac_func ();
48775 /* The GNU C library defines this for functions which it implements
48776 to always fail with ENOSYS. Some functions are actually named
48777 something starting with __ and the normal name is an alias. */
48778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48779 choke me
48780 #else
48781 char (*f) () = $ac_func;
48782 #endif
48783 #ifdef __cplusplus
48784 }
48785 #endif
48786
48787 int
48788 main ()
48789 {
48790 return f != $ac_func;
48791 ;
48792 return 0;
48793 }
48794 _ACEOF
48795 rm -f conftest.$ac_objext conftest$ac_exeext
48796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48797 (eval $ac_link) 2>conftest.er1
48798 ac_status=$?
48799 grep -v '^ *+' conftest.er1 >conftest.err
48800 rm -f conftest.er1
48801 cat conftest.err >&5
48802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48803 (exit $ac_status); } &&
48804 { ac_try='test -z "$ac_c_werror_flag"
48805 || test ! -s conftest.err'
48806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48807 (eval $ac_try) 2>&5
48808 ac_status=$?
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); }; } &&
48811 { ac_try='test -s conftest$ac_exeext'
48812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48813 (eval $ac_try) 2>&5
48814 ac_status=$?
48815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48816 (exit $ac_status); }; }; then
48817 eval "$as_ac_var=yes"
48818 else
48819 echo "$as_me: failed program was:" >&5
48820 sed 's/^/| /' conftest.$ac_ext >&5
48821
48822 eval "$as_ac_var=no"
48823 fi
48824 rm -f conftest.err conftest.$ac_objext \
48825 conftest$ac_exeext conftest.$ac_ext
48826 fi
48827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48829 if test `eval echo '${'$as_ac_var'}'` = yes; then
48830 cat >>confdefs.h <<_ACEOF
48831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48832 _ACEOF
48833
48834 fi
48835 done
48836
48837 fi
48838 fi
48839
48840
48841
48842
48843
48844
48845 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48846 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48847 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48848 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48849 echo $ECHO_N "(cached) $ECHO_C" >&6
48850 else
48851
48852
48853
48854 ac_ext=cc
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48859
48860 cat >conftest.$ac_ext <<_ACEOF
48861 /* confdefs.h. */
48862 _ACEOF
48863 cat confdefs.h >>conftest.$ac_ext
48864 cat >>conftest.$ac_ext <<_ACEOF
48865 /* end confdefs.h. */
48866 #include <math.h>
48867 int
48868 main ()
48869 {
48870 fmodf(0, 0);
48871 ;
48872 return 0;
48873 }
48874 _ACEOF
48875 rm -f conftest.$ac_objext
48876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48877 (eval $ac_compile) 2>conftest.er1
48878 ac_status=$?
48879 grep -v '^ *+' conftest.er1 >conftest.err
48880 rm -f conftest.er1
48881 cat conftest.err >&5
48882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48883 (exit $ac_status); } &&
48884 { ac_try='test -z "$ac_cxx_werror_flag"
48885 || test ! -s conftest.err'
48886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48887 (eval $ac_try) 2>&5
48888 ac_status=$?
48889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48890 (exit $ac_status); }; } &&
48891 { ac_try='test -s conftest.$ac_objext'
48892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48893 (eval $ac_try) 2>&5
48894 ac_status=$?
48895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48896 (exit $ac_status); }; }; then
48897 glibcxx_cv_func_fmodf_use=yes
48898 else
48899 echo "$as_me: failed program was:" >&5
48900 sed 's/^/| /' conftest.$ac_ext >&5
48901
48902 glibcxx_cv_func_fmodf_use=no
48903 fi
48904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48905 ac_ext=c
48906 ac_cpp='$CPP $CPPFLAGS'
48907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48910
48911
48912 fi
48913
48914 fi
48915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48916 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48917
48918 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48919
48920 for ac_func in fmodf
48921 do
48922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48923 echo "$as_me:$LINENO: checking for $ac_func" >&5
48924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48925 if eval "test \"\${$as_ac_var+set}\" = set"; then
48926 echo $ECHO_N "(cached) $ECHO_C" >&6
48927 else
48928 if test x$gcc_no_link = xyes; then
48929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48931 { (exit 1); exit 1; }; }
48932 fi
48933 cat >conftest.$ac_ext <<_ACEOF
48934 /* confdefs.h. */
48935 _ACEOF
48936 cat confdefs.h >>conftest.$ac_ext
48937 cat >>conftest.$ac_ext <<_ACEOF
48938 /* end confdefs.h. */
48939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48941 #define $ac_func innocuous_$ac_func
48942
48943 /* System header to define __stub macros and hopefully few prototypes,
48944 which can conflict with char $ac_func (); below.
48945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48946 <limits.h> exists even on freestanding compilers. */
48947
48948 #ifdef __STDC__
48949 # include <limits.h>
48950 #else
48951 # include <assert.h>
48952 #endif
48953
48954 #undef $ac_func
48955
48956 /* Override any gcc2 internal prototype to avoid an error. */
48957 #ifdef __cplusplus
48958 extern "C"
48959 {
48960 #endif
48961 /* We use char because int might match the return type of a gcc2
48962 builtin and then its argument prototype would still apply. */
48963 char $ac_func ();
48964 /* The GNU C library defines this for functions which it implements
48965 to always fail with ENOSYS. Some functions are actually named
48966 something starting with __ and the normal name is an alias. */
48967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48968 choke me
48969 #else
48970 char (*f) () = $ac_func;
48971 #endif
48972 #ifdef __cplusplus
48973 }
48974 #endif
48975
48976 int
48977 main ()
48978 {
48979 return f != $ac_func;
48980 ;
48981 return 0;
48982 }
48983 _ACEOF
48984 rm -f conftest.$ac_objext conftest$ac_exeext
48985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48986 (eval $ac_link) 2>conftest.er1
48987 ac_status=$?
48988 grep -v '^ *+' conftest.er1 >conftest.err
48989 rm -f conftest.er1
48990 cat conftest.err >&5
48991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48992 (exit $ac_status); } &&
48993 { ac_try='test -z "$ac_c_werror_flag"
48994 || test ! -s conftest.err'
48995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48996 (eval $ac_try) 2>&5
48997 ac_status=$?
48998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48999 (exit $ac_status); }; } &&
49000 { ac_try='test -s conftest$ac_exeext'
49001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49002 (eval $ac_try) 2>&5
49003 ac_status=$?
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); }; }; then
49006 eval "$as_ac_var=yes"
49007 else
49008 echo "$as_me: failed program was:" >&5
49009 sed 's/^/| /' conftest.$ac_ext >&5
49010
49011 eval "$as_ac_var=no"
49012 fi
49013 rm -f conftest.err conftest.$ac_objext \
49014 conftest$ac_exeext conftest.$ac_ext
49015 fi
49016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49018 if test `eval echo '${'$as_ac_var'}'` = yes; then
49019 cat >>confdefs.h <<_ACEOF
49020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49021 _ACEOF
49022
49023 fi
49024 done
49025
49026 else
49027
49028 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49029 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49030 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49031 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49032 echo $ECHO_N "(cached) $ECHO_C" >&6
49033 else
49034
49035
49036
49037 ac_ext=cc
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49042
49043 cat >conftest.$ac_ext <<_ACEOF
49044 /* confdefs.h. */
49045 _ACEOF
49046 cat confdefs.h >>conftest.$ac_ext
49047 cat >>conftest.$ac_ext <<_ACEOF
49048 /* end confdefs.h. */
49049 #include <math.h>
49050 int
49051 main ()
49052 {
49053 _fmodf(0, 0);
49054 ;
49055 return 0;
49056 }
49057 _ACEOF
49058 rm -f conftest.$ac_objext
49059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49060 (eval $ac_compile) 2>conftest.er1
49061 ac_status=$?
49062 grep -v '^ *+' conftest.er1 >conftest.err
49063 rm -f conftest.er1
49064 cat conftest.err >&5
49065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49066 (exit $ac_status); } &&
49067 { ac_try='test -z "$ac_cxx_werror_flag"
49068 || test ! -s conftest.err'
49069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49070 (eval $ac_try) 2>&5
49071 ac_status=$?
49072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49073 (exit $ac_status); }; } &&
49074 { ac_try='test -s conftest.$ac_objext'
49075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49076 (eval $ac_try) 2>&5
49077 ac_status=$?
49078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49079 (exit $ac_status); }; }; then
49080 glibcxx_cv_func__fmodf_use=yes
49081 else
49082 echo "$as_me: failed program was:" >&5
49083 sed 's/^/| /' conftest.$ac_ext >&5
49084
49085 glibcxx_cv_func__fmodf_use=no
49086 fi
49087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49088 ac_ext=c
49089 ac_cpp='$CPP $CPPFLAGS'
49090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49093
49094
49095 fi
49096
49097 fi
49098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49099 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49100
49101 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49102
49103 for ac_func in _fmodf
49104 do
49105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49106 echo "$as_me:$LINENO: checking for $ac_func" >&5
49107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49108 if eval "test \"\${$as_ac_var+set}\" = set"; then
49109 echo $ECHO_N "(cached) $ECHO_C" >&6
49110 else
49111 if test x$gcc_no_link = xyes; then
49112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49114 { (exit 1); exit 1; }; }
49115 fi
49116 cat >conftest.$ac_ext <<_ACEOF
49117 /* confdefs.h. */
49118 _ACEOF
49119 cat confdefs.h >>conftest.$ac_ext
49120 cat >>conftest.$ac_ext <<_ACEOF
49121 /* end confdefs.h. */
49122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49124 #define $ac_func innocuous_$ac_func
49125
49126 /* System header to define __stub macros and hopefully few prototypes,
49127 which can conflict with char $ac_func (); below.
49128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49129 <limits.h> exists even on freestanding compilers. */
49130
49131 #ifdef __STDC__
49132 # include <limits.h>
49133 #else
49134 # include <assert.h>
49135 #endif
49136
49137 #undef $ac_func
49138
49139 /* Override any gcc2 internal prototype to avoid an error. */
49140 #ifdef __cplusplus
49141 extern "C"
49142 {
49143 #endif
49144 /* We use char because int might match the return type of a gcc2
49145 builtin and then its argument prototype would still apply. */
49146 char $ac_func ();
49147 /* The GNU C library defines this for functions which it implements
49148 to always fail with ENOSYS. Some functions are actually named
49149 something starting with __ and the normal name is an alias. */
49150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49151 choke me
49152 #else
49153 char (*f) () = $ac_func;
49154 #endif
49155 #ifdef __cplusplus
49156 }
49157 #endif
49158
49159 int
49160 main ()
49161 {
49162 return f != $ac_func;
49163 ;
49164 return 0;
49165 }
49166 _ACEOF
49167 rm -f conftest.$ac_objext conftest$ac_exeext
49168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49169 (eval $ac_link) 2>conftest.er1
49170 ac_status=$?
49171 grep -v '^ *+' conftest.er1 >conftest.err
49172 rm -f conftest.er1
49173 cat conftest.err >&5
49174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49175 (exit $ac_status); } &&
49176 { ac_try='test -z "$ac_c_werror_flag"
49177 || test ! -s conftest.err'
49178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49179 (eval $ac_try) 2>&5
49180 ac_status=$?
49181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49182 (exit $ac_status); }; } &&
49183 { ac_try='test -s conftest$ac_exeext'
49184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49185 (eval $ac_try) 2>&5
49186 ac_status=$?
49187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49188 (exit $ac_status); }; }; then
49189 eval "$as_ac_var=yes"
49190 else
49191 echo "$as_me: failed program was:" >&5
49192 sed 's/^/| /' conftest.$ac_ext >&5
49193
49194 eval "$as_ac_var=no"
49195 fi
49196 rm -f conftest.err conftest.$ac_objext \
49197 conftest$ac_exeext conftest.$ac_ext
49198 fi
49199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49201 if test `eval echo '${'$as_ac_var'}'` = yes; then
49202 cat >>confdefs.h <<_ACEOF
49203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49204 _ACEOF
49205
49206 fi
49207 done
49208
49209 fi
49210 fi
49211
49212
49213
49214
49215
49216
49217 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49218 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49219 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49220 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49221 echo $ECHO_N "(cached) $ECHO_C" >&6
49222 else
49223
49224
49225
49226 ac_ext=cc
49227 ac_cpp='$CXXCPP $CPPFLAGS'
49228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49231
49232 cat >conftest.$ac_ext <<_ACEOF
49233 /* confdefs.h. */
49234 _ACEOF
49235 cat confdefs.h >>conftest.$ac_ext
49236 cat >>conftest.$ac_ext <<_ACEOF
49237 /* end confdefs.h. */
49238 #include <math.h>
49239 int
49240 main ()
49241 {
49242 frexpf(0, 0);
49243 ;
49244 return 0;
49245 }
49246 _ACEOF
49247 rm -f conftest.$ac_objext
49248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49249 (eval $ac_compile) 2>conftest.er1
49250 ac_status=$?
49251 grep -v '^ *+' conftest.er1 >conftest.err
49252 rm -f conftest.er1
49253 cat conftest.err >&5
49254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49255 (exit $ac_status); } &&
49256 { ac_try='test -z "$ac_cxx_werror_flag"
49257 || test ! -s conftest.err'
49258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49259 (eval $ac_try) 2>&5
49260 ac_status=$?
49261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49262 (exit $ac_status); }; } &&
49263 { ac_try='test -s conftest.$ac_objext'
49264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49265 (eval $ac_try) 2>&5
49266 ac_status=$?
49267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49268 (exit $ac_status); }; }; then
49269 glibcxx_cv_func_frexpf_use=yes
49270 else
49271 echo "$as_me: failed program was:" >&5
49272 sed 's/^/| /' conftest.$ac_ext >&5
49273
49274 glibcxx_cv_func_frexpf_use=no
49275 fi
49276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49277 ac_ext=c
49278 ac_cpp='$CPP $CPPFLAGS'
49279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49282
49283
49284 fi
49285
49286 fi
49287 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49288 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49289
49290 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49291
49292 for ac_func in frexpf
49293 do
49294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49295 echo "$as_me:$LINENO: checking for $ac_func" >&5
49296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49297 if eval "test \"\${$as_ac_var+set}\" = set"; then
49298 echo $ECHO_N "(cached) $ECHO_C" >&6
49299 else
49300 if test x$gcc_no_link = xyes; then
49301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49303 { (exit 1); exit 1; }; }
49304 fi
49305 cat >conftest.$ac_ext <<_ACEOF
49306 /* confdefs.h. */
49307 _ACEOF
49308 cat confdefs.h >>conftest.$ac_ext
49309 cat >>conftest.$ac_ext <<_ACEOF
49310 /* end confdefs.h. */
49311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49313 #define $ac_func innocuous_$ac_func
49314
49315 /* System header to define __stub macros and hopefully few prototypes,
49316 which can conflict with char $ac_func (); below.
49317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49318 <limits.h> exists even on freestanding compilers. */
49319
49320 #ifdef __STDC__
49321 # include <limits.h>
49322 #else
49323 # include <assert.h>
49324 #endif
49325
49326 #undef $ac_func
49327
49328 /* Override any gcc2 internal prototype to avoid an error. */
49329 #ifdef __cplusplus
49330 extern "C"
49331 {
49332 #endif
49333 /* We use char because int might match the return type of a gcc2
49334 builtin and then its argument prototype would still apply. */
49335 char $ac_func ();
49336 /* The GNU C library defines this for functions which it implements
49337 to always fail with ENOSYS. Some functions are actually named
49338 something starting with __ and the normal name is an alias. */
49339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49340 choke me
49341 #else
49342 char (*f) () = $ac_func;
49343 #endif
49344 #ifdef __cplusplus
49345 }
49346 #endif
49347
49348 int
49349 main ()
49350 {
49351 return f != $ac_func;
49352 ;
49353 return 0;
49354 }
49355 _ACEOF
49356 rm -f conftest.$ac_objext conftest$ac_exeext
49357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49358 (eval $ac_link) 2>conftest.er1
49359 ac_status=$?
49360 grep -v '^ *+' conftest.er1 >conftest.err
49361 rm -f conftest.er1
49362 cat conftest.err >&5
49363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364 (exit $ac_status); } &&
49365 { ac_try='test -z "$ac_c_werror_flag"
49366 || test ! -s conftest.err'
49367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49368 (eval $ac_try) 2>&5
49369 ac_status=$?
49370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49371 (exit $ac_status); }; } &&
49372 { ac_try='test -s conftest$ac_exeext'
49373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49374 (eval $ac_try) 2>&5
49375 ac_status=$?
49376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49377 (exit $ac_status); }; }; then
49378 eval "$as_ac_var=yes"
49379 else
49380 echo "$as_me: failed program was:" >&5
49381 sed 's/^/| /' conftest.$ac_ext >&5
49382
49383 eval "$as_ac_var=no"
49384 fi
49385 rm -f conftest.err conftest.$ac_objext \
49386 conftest$ac_exeext conftest.$ac_ext
49387 fi
49388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49390 if test `eval echo '${'$as_ac_var'}'` = yes; then
49391 cat >>confdefs.h <<_ACEOF
49392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49393 _ACEOF
49394
49395 fi
49396 done
49397
49398 else
49399
49400 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49401 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49402 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49403 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49404 echo $ECHO_N "(cached) $ECHO_C" >&6
49405 else
49406
49407
49408
49409 ac_ext=cc
49410 ac_cpp='$CXXCPP $CPPFLAGS'
49411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49414
49415 cat >conftest.$ac_ext <<_ACEOF
49416 /* confdefs.h. */
49417 _ACEOF
49418 cat confdefs.h >>conftest.$ac_ext
49419 cat >>conftest.$ac_ext <<_ACEOF
49420 /* end confdefs.h. */
49421 #include <math.h>
49422 int
49423 main ()
49424 {
49425 _frexpf(0, 0);
49426 ;
49427 return 0;
49428 }
49429 _ACEOF
49430 rm -f conftest.$ac_objext
49431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49432 (eval $ac_compile) 2>conftest.er1
49433 ac_status=$?
49434 grep -v '^ *+' conftest.er1 >conftest.err
49435 rm -f conftest.er1
49436 cat conftest.err >&5
49437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49438 (exit $ac_status); } &&
49439 { ac_try='test -z "$ac_cxx_werror_flag"
49440 || test ! -s conftest.err'
49441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49442 (eval $ac_try) 2>&5
49443 ac_status=$?
49444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49445 (exit $ac_status); }; } &&
49446 { ac_try='test -s conftest.$ac_objext'
49447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49448 (eval $ac_try) 2>&5
49449 ac_status=$?
49450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49451 (exit $ac_status); }; }; then
49452 glibcxx_cv_func__frexpf_use=yes
49453 else
49454 echo "$as_me: failed program was:" >&5
49455 sed 's/^/| /' conftest.$ac_ext >&5
49456
49457 glibcxx_cv_func__frexpf_use=no
49458 fi
49459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49460 ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465
49466
49467 fi
49468
49469 fi
49470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49471 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49472
49473 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49474
49475 for ac_func in _frexpf
49476 do
49477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49478 echo "$as_me:$LINENO: checking for $ac_func" >&5
49479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49480 if eval "test \"\${$as_ac_var+set}\" = set"; then
49481 echo $ECHO_N "(cached) $ECHO_C" >&6
49482 else
49483 if test x$gcc_no_link = xyes; then
49484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49486 { (exit 1); exit 1; }; }
49487 fi
49488 cat >conftest.$ac_ext <<_ACEOF
49489 /* confdefs.h. */
49490 _ACEOF
49491 cat confdefs.h >>conftest.$ac_ext
49492 cat >>conftest.$ac_ext <<_ACEOF
49493 /* end confdefs.h. */
49494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49496 #define $ac_func innocuous_$ac_func
49497
49498 /* System header to define __stub macros and hopefully few prototypes,
49499 which can conflict with char $ac_func (); below.
49500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49501 <limits.h> exists even on freestanding compilers. */
49502
49503 #ifdef __STDC__
49504 # include <limits.h>
49505 #else
49506 # include <assert.h>
49507 #endif
49508
49509 #undef $ac_func
49510
49511 /* Override any gcc2 internal prototype to avoid an error. */
49512 #ifdef __cplusplus
49513 extern "C"
49514 {
49515 #endif
49516 /* We use char because int might match the return type of a gcc2
49517 builtin and then its argument prototype would still apply. */
49518 char $ac_func ();
49519 /* The GNU C library defines this for functions which it implements
49520 to always fail with ENOSYS. Some functions are actually named
49521 something starting with __ and the normal name is an alias. */
49522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49523 choke me
49524 #else
49525 char (*f) () = $ac_func;
49526 #endif
49527 #ifdef __cplusplus
49528 }
49529 #endif
49530
49531 int
49532 main ()
49533 {
49534 return f != $ac_func;
49535 ;
49536 return 0;
49537 }
49538 _ACEOF
49539 rm -f conftest.$ac_objext conftest$ac_exeext
49540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49541 (eval $ac_link) 2>conftest.er1
49542 ac_status=$?
49543 grep -v '^ *+' conftest.er1 >conftest.err
49544 rm -f conftest.er1
49545 cat conftest.err >&5
49546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49547 (exit $ac_status); } &&
49548 { ac_try='test -z "$ac_c_werror_flag"
49549 || test ! -s conftest.err'
49550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49551 (eval $ac_try) 2>&5
49552 ac_status=$?
49553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49554 (exit $ac_status); }; } &&
49555 { ac_try='test -s conftest$ac_exeext'
49556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49557 (eval $ac_try) 2>&5
49558 ac_status=$?
49559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49560 (exit $ac_status); }; }; then
49561 eval "$as_ac_var=yes"
49562 else
49563 echo "$as_me: failed program was:" >&5
49564 sed 's/^/| /' conftest.$ac_ext >&5
49565
49566 eval "$as_ac_var=no"
49567 fi
49568 rm -f conftest.err conftest.$ac_objext \
49569 conftest$ac_exeext conftest.$ac_ext
49570 fi
49571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49573 if test `eval echo '${'$as_ac_var'}'` = yes; then
49574 cat >>confdefs.h <<_ACEOF
49575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49576 _ACEOF
49577
49578 fi
49579 done
49580
49581 fi
49582 fi
49583
49584
49585
49586
49587
49588
49589 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49590 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49591 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49592 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49593 echo $ECHO_N "(cached) $ECHO_C" >&6
49594 else
49595
49596
49597
49598 ac_ext=cc
49599 ac_cpp='$CXXCPP $CPPFLAGS'
49600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49603
49604 cat >conftest.$ac_ext <<_ACEOF
49605 /* confdefs.h. */
49606 _ACEOF
49607 cat confdefs.h >>conftest.$ac_ext
49608 cat >>conftest.$ac_ext <<_ACEOF
49609 /* end confdefs.h. */
49610 #include <math.h>
49611 int
49612 main ()
49613 {
49614 hypotf(0, 0);
49615 ;
49616 return 0;
49617 }
49618 _ACEOF
49619 rm -f conftest.$ac_objext
49620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49621 (eval $ac_compile) 2>conftest.er1
49622 ac_status=$?
49623 grep -v '^ *+' conftest.er1 >conftest.err
49624 rm -f conftest.er1
49625 cat conftest.err >&5
49626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49627 (exit $ac_status); } &&
49628 { ac_try='test -z "$ac_cxx_werror_flag"
49629 || test ! -s conftest.err'
49630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49631 (eval $ac_try) 2>&5
49632 ac_status=$?
49633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49634 (exit $ac_status); }; } &&
49635 { ac_try='test -s conftest.$ac_objext'
49636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49637 (eval $ac_try) 2>&5
49638 ac_status=$?
49639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49640 (exit $ac_status); }; }; then
49641 glibcxx_cv_func_hypotf_use=yes
49642 else
49643 echo "$as_me: failed program was:" >&5
49644 sed 's/^/| /' conftest.$ac_ext >&5
49645
49646 glibcxx_cv_func_hypotf_use=no
49647 fi
49648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49649 ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49654
49655
49656 fi
49657
49658 fi
49659 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49660 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49661
49662 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49663
49664 for ac_func in hypotf
49665 do
49666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49667 echo "$as_me:$LINENO: checking for $ac_func" >&5
49668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49669 if eval "test \"\${$as_ac_var+set}\" = set"; then
49670 echo $ECHO_N "(cached) $ECHO_C" >&6
49671 else
49672 if test x$gcc_no_link = xyes; then
49673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49675 { (exit 1); exit 1; }; }
49676 fi
49677 cat >conftest.$ac_ext <<_ACEOF
49678 /* confdefs.h. */
49679 _ACEOF
49680 cat confdefs.h >>conftest.$ac_ext
49681 cat >>conftest.$ac_ext <<_ACEOF
49682 /* end confdefs.h. */
49683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49685 #define $ac_func innocuous_$ac_func
49686
49687 /* System header to define __stub macros and hopefully few prototypes,
49688 which can conflict with char $ac_func (); below.
49689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49690 <limits.h> exists even on freestanding compilers. */
49691
49692 #ifdef __STDC__
49693 # include <limits.h>
49694 #else
49695 # include <assert.h>
49696 #endif
49697
49698 #undef $ac_func
49699
49700 /* Override any gcc2 internal prototype to avoid an error. */
49701 #ifdef __cplusplus
49702 extern "C"
49703 {
49704 #endif
49705 /* We use char because int might match the return type of a gcc2
49706 builtin and then its argument prototype would still apply. */
49707 char $ac_func ();
49708 /* The GNU C library defines this for functions which it implements
49709 to always fail with ENOSYS. Some functions are actually named
49710 something starting with __ and the normal name is an alias. */
49711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49712 choke me
49713 #else
49714 char (*f) () = $ac_func;
49715 #endif
49716 #ifdef __cplusplus
49717 }
49718 #endif
49719
49720 int
49721 main ()
49722 {
49723 return f != $ac_func;
49724 ;
49725 return 0;
49726 }
49727 _ACEOF
49728 rm -f conftest.$ac_objext conftest$ac_exeext
49729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49730 (eval $ac_link) 2>conftest.er1
49731 ac_status=$?
49732 grep -v '^ *+' conftest.er1 >conftest.err
49733 rm -f conftest.er1
49734 cat conftest.err >&5
49735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736 (exit $ac_status); } &&
49737 { ac_try='test -z "$ac_c_werror_flag"
49738 || test ! -s conftest.err'
49739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49740 (eval $ac_try) 2>&5
49741 ac_status=$?
49742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49743 (exit $ac_status); }; } &&
49744 { ac_try='test -s conftest$ac_exeext'
49745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49746 (eval $ac_try) 2>&5
49747 ac_status=$?
49748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49749 (exit $ac_status); }; }; then
49750 eval "$as_ac_var=yes"
49751 else
49752 echo "$as_me: failed program was:" >&5
49753 sed 's/^/| /' conftest.$ac_ext >&5
49754
49755 eval "$as_ac_var=no"
49756 fi
49757 rm -f conftest.err conftest.$ac_objext \
49758 conftest$ac_exeext conftest.$ac_ext
49759 fi
49760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49762 if test `eval echo '${'$as_ac_var'}'` = yes; then
49763 cat >>confdefs.h <<_ACEOF
49764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49765 _ACEOF
49766
49767 fi
49768 done
49769
49770 else
49771
49772 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49773 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49774 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49775 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49776 echo $ECHO_N "(cached) $ECHO_C" >&6
49777 else
49778
49779
49780
49781 ac_ext=cc
49782 ac_cpp='$CXXCPP $CPPFLAGS'
49783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49786
49787 cat >conftest.$ac_ext <<_ACEOF
49788 /* confdefs.h. */
49789 _ACEOF
49790 cat confdefs.h >>conftest.$ac_ext
49791 cat >>conftest.$ac_ext <<_ACEOF
49792 /* end confdefs.h. */
49793 #include <math.h>
49794 int
49795 main ()
49796 {
49797 _hypotf(0, 0);
49798 ;
49799 return 0;
49800 }
49801 _ACEOF
49802 rm -f conftest.$ac_objext
49803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49804 (eval $ac_compile) 2>conftest.er1
49805 ac_status=$?
49806 grep -v '^ *+' conftest.er1 >conftest.err
49807 rm -f conftest.er1
49808 cat conftest.err >&5
49809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810 (exit $ac_status); } &&
49811 { ac_try='test -z "$ac_cxx_werror_flag"
49812 || test ! -s conftest.err'
49813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49814 (eval $ac_try) 2>&5
49815 ac_status=$?
49816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49817 (exit $ac_status); }; } &&
49818 { ac_try='test -s conftest.$ac_objext'
49819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49820 (eval $ac_try) 2>&5
49821 ac_status=$?
49822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49823 (exit $ac_status); }; }; then
49824 glibcxx_cv_func__hypotf_use=yes
49825 else
49826 echo "$as_me: failed program was:" >&5
49827 sed 's/^/| /' conftest.$ac_ext >&5
49828
49829 glibcxx_cv_func__hypotf_use=no
49830 fi
49831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49832 ac_ext=c
49833 ac_cpp='$CPP $CPPFLAGS'
49834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49837
49838
49839 fi
49840
49841 fi
49842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49843 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49844
49845 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49846
49847 for ac_func in _hypotf
49848 do
49849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49850 echo "$as_me:$LINENO: checking for $ac_func" >&5
49851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49852 if eval "test \"\${$as_ac_var+set}\" = set"; then
49853 echo $ECHO_N "(cached) $ECHO_C" >&6
49854 else
49855 if test x$gcc_no_link = xyes; then
49856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49858 { (exit 1); exit 1; }; }
49859 fi
49860 cat >conftest.$ac_ext <<_ACEOF
49861 /* confdefs.h. */
49862 _ACEOF
49863 cat confdefs.h >>conftest.$ac_ext
49864 cat >>conftest.$ac_ext <<_ACEOF
49865 /* end confdefs.h. */
49866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49868 #define $ac_func innocuous_$ac_func
49869
49870 /* System header to define __stub macros and hopefully few prototypes,
49871 which can conflict with char $ac_func (); below.
49872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49873 <limits.h> exists even on freestanding compilers. */
49874
49875 #ifdef __STDC__
49876 # include <limits.h>
49877 #else
49878 # include <assert.h>
49879 #endif
49880
49881 #undef $ac_func
49882
49883 /* Override any gcc2 internal prototype to avoid an error. */
49884 #ifdef __cplusplus
49885 extern "C"
49886 {
49887 #endif
49888 /* We use char because int might match the return type of a gcc2
49889 builtin and then its argument prototype would still apply. */
49890 char $ac_func ();
49891 /* The GNU C library defines this for functions which it implements
49892 to always fail with ENOSYS. Some functions are actually named
49893 something starting with __ and the normal name is an alias. */
49894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49895 choke me
49896 #else
49897 char (*f) () = $ac_func;
49898 #endif
49899 #ifdef __cplusplus
49900 }
49901 #endif
49902
49903 int
49904 main ()
49905 {
49906 return f != $ac_func;
49907 ;
49908 return 0;
49909 }
49910 _ACEOF
49911 rm -f conftest.$ac_objext conftest$ac_exeext
49912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49913 (eval $ac_link) 2>conftest.er1
49914 ac_status=$?
49915 grep -v '^ *+' conftest.er1 >conftest.err
49916 rm -f conftest.er1
49917 cat conftest.err >&5
49918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49919 (exit $ac_status); } &&
49920 { ac_try='test -z "$ac_c_werror_flag"
49921 || test ! -s conftest.err'
49922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49923 (eval $ac_try) 2>&5
49924 ac_status=$?
49925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49926 (exit $ac_status); }; } &&
49927 { ac_try='test -s conftest$ac_exeext'
49928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49929 (eval $ac_try) 2>&5
49930 ac_status=$?
49931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49932 (exit $ac_status); }; }; then
49933 eval "$as_ac_var=yes"
49934 else
49935 echo "$as_me: failed program was:" >&5
49936 sed 's/^/| /' conftest.$ac_ext >&5
49937
49938 eval "$as_ac_var=no"
49939 fi
49940 rm -f conftest.err conftest.$ac_objext \
49941 conftest$ac_exeext conftest.$ac_ext
49942 fi
49943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49945 if test `eval echo '${'$as_ac_var'}'` = yes; then
49946 cat >>confdefs.h <<_ACEOF
49947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49948 _ACEOF
49949
49950 fi
49951 done
49952
49953 fi
49954 fi
49955
49956
49957
49958
49959
49960
49961 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49962 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49963 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49964 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49965 echo $ECHO_N "(cached) $ECHO_C" >&6
49966 else
49967
49968
49969
49970 ac_ext=cc
49971 ac_cpp='$CXXCPP $CPPFLAGS'
49972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49975
49976 cat >conftest.$ac_ext <<_ACEOF
49977 /* confdefs.h. */
49978 _ACEOF
49979 cat confdefs.h >>conftest.$ac_ext
49980 cat >>conftest.$ac_ext <<_ACEOF
49981 /* end confdefs.h. */
49982 #include <math.h>
49983 int
49984 main ()
49985 {
49986 ldexpf(0, 0);
49987 ;
49988 return 0;
49989 }
49990 _ACEOF
49991 rm -f conftest.$ac_objext
49992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49993 (eval $ac_compile) 2>conftest.er1
49994 ac_status=$?
49995 grep -v '^ *+' conftest.er1 >conftest.err
49996 rm -f conftest.er1
49997 cat conftest.err >&5
49998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49999 (exit $ac_status); } &&
50000 { ac_try='test -z "$ac_cxx_werror_flag"
50001 || test ! -s conftest.err'
50002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50003 (eval $ac_try) 2>&5
50004 ac_status=$?
50005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50006 (exit $ac_status); }; } &&
50007 { ac_try='test -s conftest.$ac_objext'
50008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50009 (eval $ac_try) 2>&5
50010 ac_status=$?
50011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50012 (exit $ac_status); }; }; then
50013 glibcxx_cv_func_ldexpf_use=yes
50014 else
50015 echo "$as_me: failed program was:" >&5
50016 sed 's/^/| /' conftest.$ac_ext >&5
50017
50018 glibcxx_cv_func_ldexpf_use=no
50019 fi
50020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50021 ac_ext=c
50022 ac_cpp='$CPP $CPPFLAGS'
50023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026
50027
50028 fi
50029
50030 fi
50031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50032 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50033
50034 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50035
50036 for ac_func in ldexpf
50037 do
50038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50039 echo "$as_me:$LINENO: checking for $ac_func" >&5
50040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50041 if eval "test \"\${$as_ac_var+set}\" = set"; then
50042 echo $ECHO_N "(cached) $ECHO_C" >&6
50043 else
50044 if test x$gcc_no_link = xyes; then
50045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50047 { (exit 1); exit 1; }; }
50048 fi
50049 cat >conftest.$ac_ext <<_ACEOF
50050 /* confdefs.h. */
50051 _ACEOF
50052 cat confdefs.h >>conftest.$ac_ext
50053 cat >>conftest.$ac_ext <<_ACEOF
50054 /* end confdefs.h. */
50055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50057 #define $ac_func innocuous_$ac_func
50058
50059 /* System header to define __stub macros and hopefully few prototypes,
50060 which can conflict with char $ac_func (); below.
50061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50062 <limits.h> exists even on freestanding compilers. */
50063
50064 #ifdef __STDC__
50065 # include <limits.h>
50066 #else
50067 # include <assert.h>
50068 #endif
50069
50070 #undef $ac_func
50071
50072 /* Override any gcc2 internal prototype to avoid an error. */
50073 #ifdef __cplusplus
50074 extern "C"
50075 {
50076 #endif
50077 /* We use char because int might match the return type of a gcc2
50078 builtin and then its argument prototype would still apply. */
50079 char $ac_func ();
50080 /* The GNU C library defines this for functions which it implements
50081 to always fail with ENOSYS. Some functions are actually named
50082 something starting with __ and the normal name is an alias. */
50083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50084 choke me
50085 #else
50086 char (*f) () = $ac_func;
50087 #endif
50088 #ifdef __cplusplus
50089 }
50090 #endif
50091
50092 int
50093 main ()
50094 {
50095 return f != $ac_func;
50096 ;
50097 return 0;
50098 }
50099 _ACEOF
50100 rm -f conftest.$ac_objext conftest$ac_exeext
50101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50102 (eval $ac_link) 2>conftest.er1
50103 ac_status=$?
50104 grep -v '^ *+' conftest.er1 >conftest.err
50105 rm -f conftest.er1
50106 cat conftest.err >&5
50107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108 (exit $ac_status); } &&
50109 { ac_try='test -z "$ac_c_werror_flag"
50110 || test ! -s conftest.err'
50111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50112 (eval $ac_try) 2>&5
50113 ac_status=$?
50114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50115 (exit $ac_status); }; } &&
50116 { ac_try='test -s conftest$ac_exeext'
50117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50118 (eval $ac_try) 2>&5
50119 ac_status=$?
50120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50121 (exit $ac_status); }; }; then
50122 eval "$as_ac_var=yes"
50123 else
50124 echo "$as_me: failed program was:" >&5
50125 sed 's/^/| /' conftest.$ac_ext >&5
50126
50127 eval "$as_ac_var=no"
50128 fi
50129 rm -f conftest.err conftest.$ac_objext \
50130 conftest$ac_exeext conftest.$ac_ext
50131 fi
50132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50134 if test `eval echo '${'$as_ac_var'}'` = yes; then
50135 cat >>confdefs.h <<_ACEOF
50136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50137 _ACEOF
50138
50139 fi
50140 done
50141
50142 else
50143
50144 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50145 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50146 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50147 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50148 echo $ECHO_N "(cached) $ECHO_C" >&6
50149 else
50150
50151
50152
50153 ac_ext=cc
50154 ac_cpp='$CXXCPP $CPPFLAGS'
50155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50158
50159 cat >conftest.$ac_ext <<_ACEOF
50160 /* confdefs.h. */
50161 _ACEOF
50162 cat confdefs.h >>conftest.$ac_ext
50163 cat >>conftest.$ac_ext <<_ACEOF
50164 /* end confdefs.h. */
50165 #include <math.h>
50166 int
50167 main ()
50168 {
50169 _ldexpf(0, 0);
50170 ;
50171 return 0;
50172 }
50173 _ACEOF
50174 rm -f conftest.$ac_objext
50175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50176 (eval $ac_compile) 2>conftest.er1
50177 ac_status=$?
50178 grep -v '^ *+' conftest.er1 >conftest.err
50179 rm -f conftest.er1
50180 cat conftest.err >&5
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); } &&
50183 { ac_try='test -z "$ac_cxx_werror_flag"
50184 || test ! -s conftest.err'
50185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50186 (eval $ac_try) 2>&5
50187 ac_status=$?
50188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50189 (exit $ac_status); }; } &&
50190 { ac_try='test -s conftest.$ac_objext'
50191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50192 (eval $ac_try) 2>&5
50193 ac_status=$?
50194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50195 (exit $ac_status); }; }; then
50196 glibcxx_cv_func__ldexpf_use=yes
50197 else
50198 echo "$as_me: failed program was:" >&5
50199 sed 's/^/| /' conftest.$ac_ext >&5
50200
50201 glibcxx_cv_func__ldexpf_use=no
50202 fi
50203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50204 ac_ext=c
50205 ac_cpp='$CPP $CPPFLAGS'
50206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50209
50210
50211 fi
50212
50213 fi
50214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50215 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50216
50217 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50218
50219 for ac_func in _ldexpf
50220 do
50221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50222 echo "$as_me:$LINENO: checking for $ac_func" >&5
50223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50224 if eval "test \"\${$as_ac_var+set}\" = set"; then
50225 echo $ECHO_N "(cached) $ECHO_C" >&6
50226 else
50227 if test x$gcc_no_link = xyes; then
50228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50230 { (exit 1); exit 1; }; }
50231 fi
50232 cat >conftest.$ac_ext <<_ACEOF
50233 /* confdefs.h. */
50234 _ACEOF
50235 cat confdefs.h >>conftest.$ac_ext
50236 cat >>conftest.$ac_ext <<_ACEOF
50237 /* end confdefs.h. */
50238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50240 #define $ac_func innocuous_$ac_func
50241
50242 /* System header to define __stub macros and hopefully few prototypes,
50243 which can conflict with char $ac_func (); below.
50244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50245 <limits.h> exists even on freestanding compilers. */
50246
50247 #ifdef __STDC__
50248 # include <limits.h>
50249 #else
50250 # include <assert.h>
50251 #endif
50252
50253 #undef $ac_func
50254
50255 /* Override any gcc2 internal prototype to avoid an error. */
50256 #ifdef __cplusplus
50257 extern "C"
50258 {
50259 #endif
50260 /* We use char because int might match the return type of a gcc2
50261 builtin and then its argument prototype would still apply. */
50262 char $ac_func ();
50263 /* The GNU C library defines this for functions which it implements
50264 to always fail with ENOSYS. Some functions are actually named
50265 something starting with __ and the normal name is an alias. */
50266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50267 choke me
50268 #else
50269 char (*f) () = $ac_func;
50270 #endif
50271 #ifdef __cplusplus
50272 }
50273 #endif
50274
50275 int
50276 main ()
50277 {
50278 return f != $ac_func;
50279 ;
50280 return 0;
50281 }
50282 _ACEOF
50283 rm -f conftest.$ac_objext conftest$ac_exeext
50284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50285 (eval $ac_link) 2>conftest.er1
50286 ac_status=$?
50287 grep -v '^ *+' conftest.er1 >conftest.err
50288 rm -f conftest.er1
50289 cat conftest.err >&5
50290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291 (exit $ac_status); } &&
50292 { ac_try='test -z "$ac_c_werror_flag"
50293 || test ! -s conftest.err'
50294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50295 (eval $ac_try) 2>&5
50296 ac_status=$?
50297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50298 (exit $ac_status); }; } &&
50299 { ac_try='test -s conftest$ac_exeext'
50300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50301 (eval $ac_try) 2>&5
50302 ac_status=$?
50303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50304 (exit $ac_status); }; }; then
50305 eval "$as_ac_var=yes"
50306 else
50307 echo "$as_me: failed program was:" >&5
50308 sed 's/^/| /' conftest.$ac_ext >&5
50309
50310 eval "$as_ac_var=no"
50311 fi
50312 rm -f conftest.err conftest.$ac_objext \
50313 conftest$ac_exeext conftest.$ac_ext
50314 fi
50315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50317 if test `eval echo '${'$as_ac_var'}'` = yes; then
50318 cat >>confdefs.h <<_ACEOF
50319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50320 _ACEOF
50321
50322 fi
50323 done
50324
50325 fi
50326 fi
50327
50328
50329
50330
50331
50332
50333 echo "$as_me:$LINENO: checking for logf declaration" >&5
50334 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50335 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50336 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50337 echo $ECHO_N "(cached) $ECHO_C" >&6
50338 else
50339
50340
50341
50342 ac_ext=cc
50343 ac_cpp='$CXXCPP $CPPFLAGS'
50344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50347
50348 cat >conftest.$ac_ext <<_ACEOF
50349 /* confdefs.h. */
50350 _ACEOF
50351 cat confdefs.h >>conftest.$ac_ext
50352 cat >>conftest.$ac_ext <<_ACEOF
50353 /* end confdefs.h. */
50354 #include <math.h>
50355 #ifdef HAVE_IEEEFP_H
50356 #include <ieeefp.h>
50357 #endif
50358
50359 int
50360 main ()
50361 {
50362 logf(0);
50363 ;
50364 return 0;
50365 }
50366 _ACEOF
50367 rm -f conftest.$ac_objext
50368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50369 (eval $ac_compile) 2>conftest.er1
50370 ac_status=$?
50371 grep -v '^ *+' conftest.er1 >conftest.err
50372 rm -f conftest.er1
50373 cat conftest.err >&5
50374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50375 (exit $ac_status); } &&
50376 { ac_try='test -z "$ac_cxx_werror_flag"
50377 || test ! -s conftest.err'
50378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50379 (eval $ac_try) 2>&5
50380 ac_status=$?
50381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382 (exit $ac_status); }; } &&
50383 { ac_try='test -s conftest.$ac_objext'
50384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50385 (eval $ac_try) 2>&5
50386 ac_status=$?
50387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50388 (exit $ac_status); }; }; then
50389 glibcxx_cv_func_logf_use=yes
50390 else
50391 echo "$as_me: failed program was:" >&5
50392 sed 's/^/| /' conftest.$ac_ext >&5
50393
50394 glibcxx_cv_func_logf_use=no
50395 fi
50396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50397 ac_ext=c
50398 ac_cpp='$CPP $CPPFLAGS'
50399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50402
50403
50404 fi
50405
50406 fi
50407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50408 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50409
50410 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50411
50412 for ac_func in logf
50413 do
50414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50415 echo "$as_me:$LINENO: checking for $ac_func" >&5
50416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50417 if eval "test \"\${$as_ac_var+set}\" = set"; then
50418 echo $ECHO_N "(cached) $ECHO_C" >&6
50419 else
50420 if test x$gcc_no_link = xyes; then
50421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50423 { (exit 1); exit 1; }; }
50424 fi
50425 cat >conftest.$ac_ext <<_ACEOF
50426 /* confdefs.h. */
50427 _ACEOF
50428 cat confdefs.h >>conftest.$ac_ext
50429 cat >>conftest.$ac_ext <<_ACEOF
50430 /* end confdefs.h. */
50431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50433 #define $ac_func innocuous_$ac_func
50434
50435 /* System header to define __stub macros and hopefully few prototypes,
50436 which can conflict with char $ac_func (); below.
50437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50438 <limits.h> exists even on freestanding compilers. */
50439
50440 #ifdef __STDC__
50441 # include <limits.h>
50442 #else
50443 # include <assert.h>
50444 #endif
50445
50446 #undef $ac_func
50447
50448 /* Override any gcc2 internal prototype to avoid an error. */
50449 #ifdef __cplusplus
50450 extern "C"
50451 {
50452 #endif
50453 /* We use char because int might match the return type of a gcc2
50454 builtin and then its argument prototype would still apply. */
50455 char $ac_func ();
50456 /* The GNU C library defines this for functions which it implements
50457 to always fail with ENOSYS. Some functions are actually named
50458 something starting with __ and the normal name is an alias. */
50459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50460 choke me
50461 #else
50462 char (*f) () = $ac_func;
50463 #endif
50464 #ifdef __cplusplus
50465 }
50466 #endif
50467
50468 int
50469 main ()
50470 {
50471 return f != $ac_func;
50472 ;
50473 return 0;
50474 }
50475 _ACEOF
50476 rm -f conftest.$ac_objext conftest$ac_exeext
50477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50478 (eval $ac_link) 2>conftest.er1
50479 ac_status=$?
50480 grep -v '^ *+' conftest.er1 >conftest.err
50481 rm -f conftest.er1
50482 cat conftest.err >&5
50483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50484 (exit $ac_status); } &&
50485 { ac_try='test -z "$ac_c_werror_flag"
50486 || test ! -s conftest.err'
50487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50488 (eval $ac_try) 2>&5
50489 ac_status=$?
50490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50491 (exit $ac_status); }; } &&
50492 { ac_try='test -s conftest$ac_exeext'
50493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50494 (eval $ac_try) 2>&5
50495 ac_status=$?
50496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50497 (exit $ac_status); }; }; then
50498 eval "$as_ac_var=yes"
50499 else
50500 echo "$as_me: failed program was:" >&5
50501 sed 's/^/| /' conftest.$ac_ext >&5
50502
50503 eval "$as_ac_var=no"
50504 fi
50505 rm -f conftest.err conftest.$ac_objext \
50506 conftest$ac_exeext conftest.$ac_ext
50507 fi
50508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50510 if test `eval echo '${'$as_ac_var'}'` = yes; then
50511 cat >>confdefs.h <<_ACEOF
50512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50513 _ACEOF
50514
50515 fi
50516 done
50517
50518 else
50519
50520 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50521 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50522 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50523 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50524 echo $ECHO_N "(cached) $ECHO_C" >&6
50525 else
50526
50527
50528
50529 ac_ext=cc
50530 ac_cpp='$CXXCPP $CPPFLAGS'
50531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50534
50535 cat >conftest.$ac_ext <<_ACEOF
50536 /* confdefs.h. */
50537 _ACEOF
50538 cat confdefs.h >>conftest.$ac_ext
50539 cat >>conftest.$ac_ext <<_ACEOF
50540 /* end confdefs.h. */
50541 #include <math.h>
50542 #ifdef HAVE_IEEEFP_H
50543 #include <ieeefp.h>
50544 #endif
50545
50546 int
50547 main ()
50548 {
50549 _logf(0);
50550 ;
50551 return 0;
50552 }
50553 _ACEOF
50554 rm -f conftest.$ac_objext
50555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50556 (eval $ac_compile) 2>conftest.er1
50557 ac_status=$?
50558 grep -v '^ *+' conftest.er1 >conftest.err
50559 rm -f conftest.er1
50560 cat conftest.err >&5
50561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50562 (exit $ac_status); } &&
50563 { ac_try='test -z "$ac_cxx_werror_flag"
50564 || test ! -s conftest.err'
50565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50566 (eval $ac_try) 2>&5
50567 ac_status=$?
50568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50569 (exit $ac_status); }; } &&
50570 { ac_try='test -s conftest.$ac_objext'
50571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50572 (eval $ac_try) 2>&5
50573 ac_status=$?
50574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50575 (exit $ac_status); }; }; then
50576 glibcxx_cv_func__logf_use=yes
50577 else
50578 echo "$as_me: failed program was:" >&5
50579 sed 's/^/| /' conftest.$ac_ext >&5
50580
50581 glibcxx_cv_func__logf_use=no
50582 fi
50583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50584 ac_ext=c
50585 ac_cpp='$CPP $CPPFLAGS'
50586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589
50590
50591 fi
50592
50593 fi
50594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50595 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50596
50597 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50598
50599 for ac_func in _logf
50600 do
50601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50602 echo "$as_me:$LINENO: checking for $ac_func" >&5
50603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50604 if eval "test \"\${$as_ac_var+set}\" = set"; then
50605 echo $ECHO_N "(cached) $ECHO_C" >&6
50606 else
50607 if test x$gcc_no_link = xyes; then
50608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50610 { (exit 1); exit 1; }; }
50611 fi
50612 cat >conftest.$ac_ext <<_ACEOF
50613 /* confdefs.h. */
50614 _ACEOF
50615 cat confdefs.h >>conftest.$ac_ext
50616 cat >>conftest.$ac_ext <<_ACEOF
50617 /* end confdefs.h. */
50618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50620 #define $ac_func innocuous_$ac_func
50621
50622 /* System header to define __stub macros and hopefully few prototypes,
50623 which can conflict with char $ac_func (); below.
50624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50625 <limits.h> exists even on freestanding compilers. */
50626
50627 #ifdef __STDC__
50628 # include <limits.h>
50629 #else
50630 # include <assert.h>
50631 #endif
50632
50633 #undef $ac_func
50634
50635 /* Override any gcc2 internal prototype to avoid an error. */
50636 #ifdef __cplusplus
50637 extern "C"
50638 {
50639 #endif
50640 /* We use char because int might match the return type of a gcc2
50641 builtin and then its argument prototype would still apply. */
50642 char $ac_func ();
50643 /* The GNU C library defines this for functions which it implements
50644 to always fail with ENOSYS. Some functions are actually named
50645 something starting with __ and the normal name is an alias. */
50646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50647 choke me
50648 #else
50649 char (*f) () = $ac_func;
50650 #endif
50651 #ifdef __cplusplus
50652 }
50653 #endif
50654
50655 int
50656 main ()
50657 {
50658 return f != $ac_func;
50659 ;
50660 return 0;
50661 }
50662 _ACEOF
50663 rm -f conftest.$ac_objext conftest$ac_exeext
50664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50665 (eval $ac_link) 2>conftest.er1
50666 ac_status=$?
50667 grep -v '^ *+' conftest.er1 >conftest.err
50668 rm -f conftest.er1
50669 cat conftest.err >&5
50670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50671 (exit $ac_status); } &&
50672 { ac_try='test -z "$ac_c_werror_flag"
50673 || test ! -s conftest.err'
50674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50675 (eval $ac_try) 2>&5
50676 ac_status=$?
50677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50678 (exit $ac_status); }; } &&
50679 { ac_try='test -s conftest$ac_exeext'
50680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50681 (eval $ac_try) 2>&5
50682 ac_status=$?
50683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50684 (exit $ac_status); }; }; then
50685 eval "$as_ac_var=yes"
50686 else
50687 echo "$as_me: failed program was:" >&5
50688 sed 's/^/| /' conftest.$ac_ext >&5
50689
50690 eval "$as_ac_var=no"
50691 fi
50692 rm -f conftest.err conftest.$ac_objext \
50693 conftest$ac_exeext conftest.$ac_ext
50694 fi
50695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50697 if test `eval echo '${'$as_ac_var'}'` = yes; then
50698 cat >>confdefs.h <<_ACEOF
50699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50700 _ACEOF
50701
50702 fi
50703 done
50704
50705 fi
50706 fi
50707
50708
50709
50710
50711
50712
50713 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50714 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50715 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50716 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50717 echo $ECHO_N "(cached) $ECHO_C" >&6
50718 else
50719
50720
50721
50722 ac_ext=cc
50723 ac_cpp='$CXXCPP $CPPFLAGS'
50724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50727
50728 cat >conftest.$ac_ext <<_ACEOF
50729 /* confdefs.h. */
50730 _ACEOF
50731 cat confdefs.h >>conftest.$ac_ext
50732 cat >>conftest.$ac_ext <<_ACEOF
50733 /* end confdefs.h. */
50734 #include <math.h>
50735 #ifdef HAVE_IEEEFP_H
50736 #include <ieeefp.h>
50737 #endif
50738
50739 int
50740 main ()
50741 {
50742 log10f(0);
50743 ;
50744 return 0;
50745 }
50746 _ACEOF
50747 rm -f conftest.$ac_objext
50748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50749 (eval $ac_compile) 2>conftest.er1
50750 ac_status=$?
50751 grep -v '^ *+' conftest.er1 >conftest.err
50752 rm -f conftest.er1
50753 cat conftest.err >&5
50754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50755 (exit $ac_status); } &&
50756 { ac_try='test -z "$ac_cxx_werror_flag"
50757 || test ! -s conftest.err'
50758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50759 (eval $ac_try) 2>&5
50760 ac_status=$?
50761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762 (exit $ac_status); }; } &&
50763 { ac_try='test -s conftest.$ac_objext'
50764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50765 (eval $ac_try) 2>&5
50766 ac_status=$?
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); }; }; then
50769 glibcxx_cv_func_log10f_use=yes
50770 else
50771 echo "$as_me: failed program was:" >&5
50772 sed 's/^/| /' conftest.$ac_ext >&5
50773
50774 glibcxx_cv_func_log10f_use=no
50775 fi
50776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50777 ac_ext=c
50778 ac_cpp='$CPP $CPPFLAGS'
50779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50782
50783
50784 fi
50785
50786 fi
50787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50788 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50789
50790 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50791
50792 for ac_func in log10f
50793 do
50794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50795 echo "$as_me:$LINENO: checking for $ac_func" >&5
50796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50797 if eval "test \"\${$as_ac_var+set}\" = set"; then
50798 echo $ECHO_N "(cached) $ECHO_C" >&6
50799 else
50800 if test x$gcc_no_link = xyes; then
50801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50803 { (exit 1); exit 1; }; }
50804 fi
50805 cat >conftest.$ac_ext <<_ACEOF
50806 /* confdefs.h. */
50807 _ACEOF
50808 cat confdefs.h >>conftest.$ac_ext
50809 cat >>conftest.$ac_ext <<_ACEOF
50810 /* end confdefs.h. */
50811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50813 #define $ac_func innocuous_$ac_func
50814
50815 /* System header to define __stub macros and hopefully few prototypes,
50816 which can conflict with char $ac_func (); below.
50817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50818 <limits.h> exists even on freestanding compilers. */
50819
50820 #ifdef __STDC__
50821 # include <limits.h>
50822 #else
50823 # include <assert.h>
50824 #endif
50825
50826 #undef $ac_func
50827
50828 /* Override any gcc2 internal prototype to avoid an error. */
50829 #ifdef __cplusplus
50830 extern "C"
50831 {
50832 #endif
50833 /* We use char because int might match the return type of a gcc2
50834 builtin and then its argument prototype would still apply. */
50835 char $ac_func ();
50836 /* The GNU C library defines this for functions which it implements
50837 to always fail with ENOSYS. Some functions are actually named
50838 something starting with __ and the normal name is an alias. */
50839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50840 choke me
50841 #else
50842 char (*f) () = $ac_func;
50843 #endif
50844 #ifdef __cplusplus
50845 }
50846 #endif
50847
50848 int
50849 main ()
50850 {
50851 return f != $ac_func;
50852 ;
50853 return 0;
50854 }
50855 _ACEOF
50856 rm -f conftest.$ac_objext conftest$ac_exeext
50857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50858 (eval $ac_link) 2>conftest.er1
50859 ac_status=$?
50860 grep -v '^ *+' conftest.er1 >conftest.err
50861 rm -f conftest.er1
50862 cat conftest.err >&5
50863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864 (exit $ac_status); } &&
50865 { ac_try='test -z "$ac_c_werror_flag"
50866 || test ! -s conftest.err'
50867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50868 (eval $ac_try) 2>&5
50869 ac_status=$?
50870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50871 (exit $ac_status); }; } &&
50872 { ac_try='test -s conftest$ac_exeext'
50873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50874 (eval $ac_try) 2>&5
50875 ac_status=$?
50876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50877 (exit $ac_status); }; }; then
50878 eval "$as_ac_var=yes"
50879 else
50880 echo "$as_me: failed program was:" >&5
50881 sed 's/^/| /' conftest.$ac_ext >&5
50882
50883 eval "$as_ac_var=no"
50884 fi
50885 rm -f conftest.err conftest.$ac_objext \
50886 conftest$ac_exeext conftest.$ac_ext
50887 fi
50888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50890 if test `eval echo '${'$as_ac_var'}'` = yes; then
50891 cat >>confdefs.h <<_ACEOF
50892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50893 _ACEOF
50894
50895 fi
50896 done
50897
50898 else
50899
50900 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50901 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50902 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50903 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50904 echo $ECHO_N "(cached) $ECHO_C" >&6
50905 else
50906
50907
50908
50909 ac_ext=cc
50910 ac_cpp='$CXXCPP $CPPFLAGS'
50911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50914
50915 cat >conftest.$ac_ext <<_ACEOF
50916 /* confdefs.h. */
50917 _ACEOF
50918 cat confdefs.h >>conftest.$ac_ext
50919 cat >>conftest.$ac_ext <<_ACEOF
50920 /* end confdefs.h. */
50921 #include <math.h>
50922 #ifdef HAVE_IEEEFP_H
50923 #include <ieeefp.h>
50924 #endif
50925
50926 int
50927 main ()
50928 {
50929 _log10f(0);
50930 ;
50931 return 0;
50932 }
50933 _ACEOF
50934 rm -f conftest.$ac_objext
50935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50936 (eval $ac_compile) 2>conftest.er1
50937 ac_status=$?
50938 grep -v '^ *+' conftest.er1 >conftest.err
50939 rm -f conftest.er1
50940 cat conftest.err >&5
50941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50942 (exit $ac_status); } &&
50943 { ac_try='test -z "$ac_cxx_werror_flag"
50944 || test ! -s conftest.err'
50945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50946 (eval $ac_try) 2>&5
50947 ac_status=$?
50948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50949 (exit $ac_status); }; } &&
50950 { ac_try='test -s conftest.$ac_objext'
50951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50952 (eval $ac_try) 2>&5
50953 ac_status=$?
50954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50955 (exit $ac_status); }; }; then
50956 glibcxx_cv_func__log10f_use=yes
50957 else
50958 echo "$as_me: failed program was:" >&5
50959 sed 's/^/| /' conftest.$ac_ext >&5
50960
50961 glibcxx_cv_func__log10f_use=no
50962 fi
50963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50969
50970
50971 fi
50972
50973 fi
50974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50975 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50976
50977 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50978
50979 for ac_func in _log10f
50980 do
50981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50982 echo "$as_me:$LINENO: checking for $ac_func" >&5
50983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50984 if eval "test \"\${$as_ac_var+set}\" = set"; then
50985 echo $ECHO_N "(cached) $ECHO_C" >&6
50986 else
50987 if test x$gcc_no_link = xyes; then
50988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50990 { (exit 1); exit 1; }; }
50991 fi
50992 cat >conftest.$ac_ext <<_ACEOF
50993 /* confdefs.h. */
50994 _ACEOF
50995 cat confdefs.h >>conftest.$ac_ext
50996 cat >>conftest.$ac_ext <<_ACEOF
50997 /* end confdefs.h. */
50998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51000 #define $ac_func innocuous_$ac_func
51001
51002 /* System header to define __stub macros and hopefully few prototypes,
51003 which can conflict with char $ac_func (); below.
51004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51005 <limits.h> exists even on freestanding compilers. */
51006
51007 #ifdef __STDC__
51008 # include <limits.h>
51009 #else
51010 # include <assert.h>
51011 #endif
51012
51013 #undef $ac_func
51014
51015 /* Override any gcc2 internal prototype to avoid an error. */
51016 #ifdef __cplusplus
51017 extern "C"
51018 {
51019 #endif
51020 /* We use char because int might match the return type of a gcc2
51021 builtin and then its argument prototype would still apply. */
51022 char $ac_func ();
51023 /* The GNU C library defines this for functions which it implements
51024 to always fail with ENOSYS. Some functions are actually named
51025 something starting with __ and the normal name is an alias. */
51026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51027 choke me
51028 #else
51029 char (*f) () = $ac_func;
51030 #endif
51031 #ifdef __cplusplus
51032 }
51033 #endif
51034
51035 int
51036 main ()
51037 {
51038 return f != $ac_func;
51039 ;
51040 return 0;
51041 }
51042 _ACEOF
51043 rm -f conftest.$ac_objext conftest$ac_exeext
51044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51045 (eval $ac_link) 2>conftest.er1
51046 ac_status=$?
51047 grep -v '^ *+' conftest.er1 >conftest.err
51048 rm -f conftest.er1
51049 cat conftest.err >&5
51050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051 (exit $ac_status); } &&
51052 { ac_try='test -z "$ac_c_werror_flag"
51053 || test ! -s conftest.err'
51054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51055 (eval $ac_try) 2>&5
51056 ac_status=$?
51057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51058 (exit $ac_status); }; } &&
51059 { ac_try='test -s conftest$ac_exeext'
51060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51061 (eval $ac_try) 2>&5
51062 ac_status=$?
51063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51064 (exit $ac_status); }; }; then
51065 eval "$as_ac_var=yes"
51066 else
51067 echo "$as_me: failed program was:" >&5
51068 sed 's/^/| /' conftest.$ac_ext >&5
51069
51070 eval "$as_ac_var=no"
51071 fi
51072 rm -f conftest.err conftest.$ac_objext \
51073 conftest$ac_exeext conftest.$ac_ext
51074 fi
51075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51077 if test `eval echo '${'$as_ac_var'}'` = yes; then
51078 cat >>confdefs.h <<_ACEOF
51079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51080 _ACEOF
51081
51082 fi
51083 done
51084
51085 fi
51086 fi
51087
51088
51089
51090
51091
51092
51093 echo "$as_me:$LINENO: checking for modff declaration" >&5
51094 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51095 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51096 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51097 echo $ECHO_N "(cached) $ECHO_C" >&6
51098 else
51099
51100
51101
51102 ac_ext=cc
51103 ac_cpp='$CXXCPP $CPPFLAGS'
51104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51107
51108 cat >conftest.$ac_ext <<_ACEOF
51109 /* confdefs.h. */
51110 _ACEOF
51111 cat confdefs.h >>conftest.$ac_ext
51112 cat >>conftest.$ac_ext <<_ACEOF
51113 /* end confdefs.h. */
51114 #include <math.h>
51115 int
51116 main ()
51117 {
51118 modff(0, 0);
51119 ;
51120 return 0;
51121 }
51122 _ACEOF
51123 rm -f conftest.$ac_objext
51124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51125 (eval $ac_compile) 2>conftest.er1
51126 ac_status=$?
51127 grep -v '^ *+' conftest.er1 >conftest.err
51128 rm -f conftest.er1
51129 cat conftest.err >&5
51130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51131 (exit $ac_status); } &&
51132 { ac_try='test -z "$ac_cxx_werror_flag"
51133 || test ! -s conftest.err'
51134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51135 (eval $ac_try) 2>&5
51136 ac_status=$?
51137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51138 (exit $ac_status); }; } &&
51139 { ac_try='test -s conftest.$ac_objext'
51140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51141 (eval $ac_try) 2>&5
51142 ac_status=$?
51143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51144 (exit $ac_status); }; }; then
51145 glibcxx_cv_func_modff_use=yes
51146 else
51147 echo "$as_me: failed program was:" >&5
51148 sed 's/^/| /' conftest.$ac_ext >&5
51149
51150 glibcxx_cv_func_modff_use=no
51151 fi
51152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51153 ac_ext=c
51154 ac_cpp='$CPP $CPPFLAGS'
51155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51158
51159
51160 fi
51161
51162 fi
51163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51164 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51165
51166 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51167
51168 for ac_func in modff
51169 do
51170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51171 echo "$as_me:$LINENO: checking for $ac_func" >&5
51172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51173 if eval "test \"\${$as_ac_var+set}\" = set"; then
51174 echo $ECHO_N "(cached) $ECHO_C" >&6
51175 else
51176 if test x$gcc_no_link = xyes; then
51177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51179 { (exit 1); exit 1; }; }
51180 fi
51181 cat >conftest.$ac_ext <<_ACEOF
51182 /* confdefs.h. */
51183 _ACEOF
51184 cat confdefs.h >>conftest.$ac_ext
51185 cat >>conftest.$ac_ext <<_ACEOF
51186 /* end confdefs.h. */
51187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51189 #define $ac_func innocuous_$ac_func
51190
51191 /* System header to define __stub macros and hopefully few prototypes,
51192 which can conflict with char $ac_func (); below.
51193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51194 <limits.h> exists even on freestanding compilers. */
51195
51196 #ifdef __STDC__
51197 # include <limits.h>
51198 #else
51199 # include <assert.h>
51200 #endif
51201
51202 #undef $ac_func
51203
51204 /* Override any gcc2 internal prototype to avoid an error. */
51205 #ifdef __cplusplus
51206 extern "C"
51207 {
51208 #endif
51209 /* We use char because int might match the return type of a gcc2
51210 builtin and then its argument prototype would still apply. */
51211 char $ac_func ();
51212 /* The GNU C library defines this for functions which it implements
51213 to always fail with ENOSYS. Some functions are actually named
51214 something starting with __ and the normal name is an alias. */
51215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51216 choke me
51217 #else
51218 char (*f) () = $ac_func;
51219 #endif
51220 #ifdef __cplusplus
51221 }
51222 #endif
51223
51224 int
51225 main ()
51226 {
51227 return f != $ac_func;
51228 ;
51229 return 0;
51230 }
51231 _ACEOF
51232 rm -f conftest.$ac_objext conftest$ac_exeext
51233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51234 (eval $ac_link) 2>conftest.er1
51235 ac_status=$?
51236 grep -v '^ *+' conftest.er1 >conftest.err
51237 rm -f conftest.er1
51238 cat conftest.err >&5
51239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51240 (exit $ac_status); } &&
51241 { ac_try='test -z "$ac_c_werror_flag"
51242 || test ! -s conftest.err'
51243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51244 (eval $ac_try) 2>&5
51245 ac_status=$?
51246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51247 (exit $ac_status); }; } &&
51248 { ac_try='test -s conftest$ac_exeext'
51249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51250 (eval $ac_try) 2>&5
51251 ac_status=$?
51252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51253 (exit $ac_status); }; }; then
51254 eval "$as_ac_var=yes"
51255 else
51256 echo "$as_me: failed program was:" >&5
51257 sed 's/^/| /' conftest.$ac_ext >&5
51258
51259 eval "$as_ac_var=no"
51260 fi
51261 rm -f conftest.err conftest.$ac_objext \
51262 conftest$ac_exeext conftest.$ac_ext
51263 fi
51264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51266 if test `eval echo '${'$as_ac_var'}'` = yes; then
51267 cat >>confdefs.h <<_ACEOF
51268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51269 _ACEOF
51270
51271 fi
51272 done
51273
51274 else
51275
51276 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51277 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51278 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51279 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51280 echo $ECHO_N "(cached) $ECHO_C" >&6
51281 else
51282
51283
51284
51285 ac_ext=cc
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51290
51291 cat >conftest.$ac_ext <<_ACEOF
51292 /* confdefs.h. */
51293 _ACEOF
51294 cat confdefs.h >>conftest.$ac_ext
51295 cat >>conftest.$ac_ext <<_ACEOF
51296 /* end confdefs.h. */
51297 #include <math.h>
51298 int
51299 main ()
51300 {
51301 _modff(0, 0);
51302 ;
51303 return 0;
51304 }
51305 _ACEOF
51306 rm -f conftest.$ac_objext
51307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51308 (eval $ac_compile) 2>conftest.er1
51309 ac_status=$?
51310 grep -v '^ *+' conftest.er1 >conftest.err
51311 rm -f conftest.er1
51312 cat conftest.err >&5
51313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51314 (exit $ac_status); } &&
51315 { ac_try='test -z "$ac_cxx_werror_flag"
51316 || test ! -s conftest.err'
51317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51318 (eval $ac_try) 2>&5
51319 ac_status=$?
51320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51321 (exit $ac_status); }; } &&
51322 { ac_try='test -s conftest.$ac_objext'
51323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51324 (eval $ac_try) 2>&5
51325 ac_status=$?
51326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51327 (exit $ac_status); }; }; then
51328 glibcxx_cv_func__modff_use=yes
51329 else
51330 echo "$as_me: failed program was:" >&5
51331 sed 's/^/| /' conftest.$ac_ext >&5
51332
51333 glibcxx_cv_func__modff_use=no
51334 fi
51335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51336 ac_ext=c
51337 ac_cpp='$CPP $CPPFLAGS'
51338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51341
51342
51343 fi
51344
51345 fi
51346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51347 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51348
51349 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51350
51351 for ac_func in _modff
51352 do
51353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51354 echo "$as_me:$LINENO: checking for $ac_func" >&5
51355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51356 if eval "test \"\${$as_ac_var+set}\" = set"; then
51357 echo $ECHO_N "(cached) $ECHO_C" >&6
51358 else
51359 if test x$gcc_no_link = xyes; then
51360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51362 { (exit 1); exit 1; }; }
51363 fi
51364 cat >conftest.$ac_ext <<_ACEOF
51365 /* confdefs.h. */
51366 _ACEOF
51367 cat confdefs.h >>conftest.$ac_ext
51368 cat >>conftest.$ac_ext <<_ACEOF
51369 /* end confdefs.h. */
51370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51372 #define $ac_func innocuous_$ac_func
51373
51374 /* System header to define __stub macros and hopefully few prototypes,
51375 which can conflict with char $ac_func (); below.
51376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51377 <limits.h> exists even on freestanding compilers. */
51378
51379 #ifdef __STDC__
51380 # include <limits.h>
51381 #else
51382 # include <assert.h>
51383 #endif
51384
51385 #undef $ac_func
51386
51387 /* Override any gcc2 internal prototype to avoid an error. */
51388 #ifdef __cplusplus
51389 extern "C"
51390 {
51391 #endif
51392 /* We use char because int might match the return type of a gcc2
51393 builtin and then its argument prototype would still apply. */
51394 char $ac_func ();
51395 /* The GNU C library defines this for functions which it implements
51396 to always fail with ENOSYS. Some functions are actually named
51397 something starting with __ and the normal name is an alias. */
51398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51399 choke me
51400 #else
51401 char (*f) () = $ac_func;
51402 #endif
51403 #ifdef __cplusplus
51404 }
51405 #endif
51406
51407 int
51408 main ()
51409 {
51410 return f != $ac_func;
51411 ;
51412 return 0;
51413 }
51414 _ACEOF
51415 rm -f conftest.$ac_objext conftest$ac_exeext
51416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51417 (eval $ac_link) 2>conftest.er1
51418 ac_status=$?
51419 grep -v '^ *+' conftest.er1 >conftest.err
51420 rm -f conftest.er1
51421 cat conftest.err >&5
51422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51423 (exit $ac_status); } &&
51424 { ac_try='test -z "$ac_c_werror_flag"
51425 || test ! -s conftest.err'
51426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51427 (eval $ac_try) 2>&5
51428 ac_status=$?
51429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51430 (exit $ac_status); }; } &&
51431 { ac_try='test -s conftest$ac_exeext'
51432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51433 (eval $ac_try) 2>&5
51434 ac_status=$?
51435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51436 (exit $ac_status); }; }; then
51437 eval "$as_ac_var=yes"
51438 else
51439 echo "$as_me: failed program was:" >&5
51440 sed 's/^/| /' conftest.$ac_ext >&5
51441
51442 eval "$as_ac_var=no"
51443 fi
51444 rm -f conftest.err conftest.$ac_objext \
51445 conftest$ac_exeext conftest.$ac_ext
51446 fi
51447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51449 if test `eval echo '${'$as_ac_var'}'` = yes; then
51450 cat >>confdefs.h <<_ACEOF
51451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51452 _ACEOF
51453
51454 fi
51455 done
51456
51457 fi
51458 fi
51459
51460
51461
51462
51463
51464
51465 echo "$as_me:$LINENO: checking for modf declaration" >&5
51466 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51467 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51468 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51469 echo $ECHO_N "(cached) $ECHO_C" >&6
51470 else
51471
51472
51473
51474 ac_ext=cc
51475 ac_cpp='$CXXCPP $CPPFLAGS'
51476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51479
51480 cat >conftest.$ac_ext <<_ACEOF
51481 /* confdefs.h. */
51482 _ACEOF
51483 cat confdefs.h >>conftest.$ac_ext
51484 cat >>conftest.$ac_ext <<_ACEOF
51485 /* end confdefs.h. */
51486 #include <math.h>
51487 int
51488 main ()
51489 {
51490 modf(0, 0);
51491 ;
51492 return 0;
51493 }
51494 _ACEOF
51495 rm -f conftest.$ac_objext
51496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51497 (eval $ac_compile) 2>conftest.er1
51498 ac_status=$?
51499 grep -v '^ *+' conftest.er1 >conftest.err
51500 rm -f conftest.er1
51501 cat conftest.err >&5
51502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51503 (exit $ac_status); } &&
51504 { ac_try='test -z "$ac_cxx_werror_flag"
51505 || test ! -s conftest.err'
51506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51507 (eval $ac_try) 2>&5
51508 ac_status=$?
51509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51510 (exit $ac_status); }; } &&
51511 { ac_try='test -s conftest.$ac_objext'
51512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51513 (eval $ac_try) 2>&5
51514 ac_status=$?
51515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51516 (exit $ac_status); }; }; then
51517 glibcxx_cv_func_modf_use=yes
51518 else
51519 echo "$as_me: failed program was:" >&5
51520 sed 's/^/| /' conftest.$ac_ext >&5
51521
51522 glibcxx_cv_func_modf_use=no
51523 fi
51524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51525 ac_ext=c
51526 ac_cpp='$CPP $CPPFLAGS'
51527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51530
51531
51532 fi
51533
51534 fi
51535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51536 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51537
51538 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51539
51540 for ac_func in modf
51541 do
51542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51543 echo "$as_me:$LINENO: checking for $ac_func" >&5
51544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51545 if eval "test \"\${$as_ac_var+set}\" = set"; then
51546 echo $ECHO_N "(cached) $ECHO_C" >&6
51547 else
51548 if test x$gcc_no_link = xyes; then
51549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51551 { (exit 1); exit 1; }; }
51552 fi
51553 cat >conftest.$ac_ext <<_ACEOF
51554 /* confdefs.h. */
51555 _ACEOF
51556 cat confdefs.h >>conftest.$ac_ext
51557 cat >>conftest.$ac_ext <<_ACEOF
51558 /* end confdefs.h. */
51559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51561 #define $ac_func innocuous_$ac_func
51562
51563 /* System header to define __stub macros and hopefully few prototypes,
51564 which can conflict with char $ac_func (); below.
51565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51566 <limits.h> exists even on freestanding compilers. */
51567
51568 #ifdef __STDC__
51569 # include <limits.h>
51570 #else
51571 # include <assert.h>
51572 #endif
51573
51574 #undef $ac_func
51575
51576 /* Override any gcc2 internal prototype to avoid an error. */
51577 #ifdef __cplusplus
51578 extern "C"
51579 {
51580 #endif
51581 /* We use char because int might match the return type of a gcc2
51582 builtin and then its argument prototype would still apply. */
51583 char $ac_func ();
51584 /* The GNU C library defines this for functions which it implements
51585 to always fail with ENOSYS. Some functions are actually named
51586 something starting with __ and the normal name is an alias. */
51587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51588 choke me
51589 #else
51590 char (*f) () = $ac_func;
51591 #endif
51592 #ifdef __cplusplus
51593 }
51594 #endif
51595
51596 int
51597 main ()
51598 {
51599 return f != $ac_func;
51600 ;
51601 return 0;
51602 }
51603 _ACEOF
51604 rm -f conftest.$ac_objext conftest$ac_exeext
51605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51606 (eval $ac_link) 2>conftest.er1
51607 ac_status=$?
51608 grep -v '^ *+' conftest.er1 >conftest.err
51609 rm -f conftest.er1
51610 cat conftest.err >&5
51611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51612 (exit $ac_status); } &&
51613 { ac_try='test -z "$ac_c_werror_flag"
51614 || test ! -s conftest.err'
51615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51616 (eval $ac_try) 2>&5
51617 ac_status=$?
51618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51619 (exit $ac_status); }; } &&
51620 { ac_try='test -s conftest$ac_exeext'
51621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51622 (eval $ac_try) 2>&5
51623 ac_status=$?
51624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51625 (exit $ac_status); }; }; then
51626 eval "$as_ac_var=yes"
51627 else
51628 echo "$as_me: failed program was:" >&5
51629 sed 's/^/| /' conftest.$ac_ext >&5
51630
51631 eval "$as_ac_var=no"
51632 fi
51633 rm -f conftest.err conftest.$ac_objext \
51634 conftest$ac_exeext conftest.$ac_ext
51635 fi
51636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51638 if test `eval echo '${'$as_ac_var'}'` = yes; then
51639 cat >>confdefs.h <<_ACEOF
51640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51641 _ACEOF
51642
51643 fi
51644 done
51645
51646 else
51647
51648 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51649 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51650 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51651 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51652 echo $ECHO_N "(cached) $ECHO_C" >&6
51653 else
51654
51655
51656
51657 ac_ext=cc
51658 ac_cpp='$CXXCPP $CPPFLAGS'
51659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51662
51663 cat >conftest.$ac_ext <<_ACEOF
51664 /* confdefs.h. */
51665 _ACEOF
51666 cat confdefs.h >>conftest.$ac_ext
51667 cat >>conftest.$ac_ext <<_ACEOF
51668 /* end confdefs.h. */
51669 #include <math.h>
51670 int
51671 main ()
51672 {
51673 _modf(0, 0);
51674 ;
51675 return 0;
51676 }
51677 _ACEOF
51678 rm -f conftest.$ac_objext
51679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51680 (eval $ac_compile) 2>conftest.er1
51681 ac_status=$?
51682 grep -v '^ *+' conftest.er1 >conftest.err
51683 rm -f conftest.er1
51684 cat conftest.err >&5
51685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51686 (exit $ac_status); } &&
51687 { ac_try='test -z "$ac_cxx_werror_flag"
51688 || test ! -s conftest.err'
51689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51690 (eval $ac_try) 2>&5
51691 ac_status=$?
51692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51693 (exit $ac_status); }; } &&
51694 { ac_try='test -s conftest.$ac_objext'
51695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51696 (eval $ac_try) 2>&5
51697 ac_status=$?
51698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51699 (exit $ac_status); }; }; then
51700 glibcxx_cv_func__modf_use=yes
51701 else
51702 echo "$as_me: failed program was:" >&5
51703 sed 's/^/| /' conftest.$ac_ext >&5
51704
51705 glibcxx_cv_func__modf_use=no
51706 fi
51707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51708 ac_ext=c
51709 ac_cpp='$CPP $CPPFLAGS'
51710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51713
51714
51715 fi
51716
51717 fi
51718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51719 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51720
51721 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51722
51723 for ac_func in _modf
51724 do
51725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51726 echo "$as_me:$LINENO: checking for $ac_func" >&5
51727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51728 if eval "test \"\${$as_ac_var+set}\" = set"; then
51729 echo $ECHO_N "(cached) $ECHO_C" >&6
51730 else
51731 if test x$gcc_no_link = xyes; then
51732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51734 { (exit 1); exit 1; }; }
51735 fi
51736 cat >conftest.$ac_ext <<_ACEOF
51737 /* confdefs.h. */
51738 _ACEOF
51739 cat confdefs.h >>conftest.$ac_ext
51740 cat >>conftest.$ac_ext <<_ACEOF
51741 /* end confdefs.h. */
51742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51744 #define $ac_func innocuous_$ac_func
51745
51746 /* System header to define __stub macros and hopefully few prototypes,
51747 which can conflict with char $ac_func (); below.
51748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51749 <limits.h> exists even on freestanding compilers. */
51750
51751 #ifdef __STDC__
51752 # include <limits.h>
51753 #else
51754 # include <assert.h>
51755 #endif
51756
51757 #undef $ac_func
51758
51759 /* Override any gcc2 internal prototype to avoid an error. */
51760 #ifdef __cplusplus
51761 extern "C"
51762 {
51763 #endif
51764 /* We use char because int might match the return type of a gcc2
51765 builtin and then its argument prototype would still apply. */
51766 char $ac_func ();
51767 /* The GNU C library defines this for functions which it implements
51768 to always fail with ENOSYS. Some functions are actually named
51769 something starting with __ and the normal name is an alias. */
51770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51771 choke me
51772 #else
51773 char (*f) () = $ac_func;
51774 #endif
51775 #ifdef __cplusplus
51776 }
51777 #endif
51778
51779 int
51780 main ()
51781 {
51782 return f != $ac_func;
51783 ;
51784 return 0;
51785 }
51786 _ACEOF
51787 rm -f conftest.$ac_objext conftest$ac_exeext
51788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51789 (eval $ac_link) 2>conftest.er1
51790 ac_status=$?
51791 grep -v '^ *+' conftest.er1 >conftest.err
51792 rm -f conftest.er1
51793 cat conftest.err >&5
51794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795 (exit $ac_status); } &&
51796 { ac_try='test -z "$ac_c_werror_flag"
51797 || test ! -s conftest.err'
51798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51799 (eval $ac_try) 2>&5
51800 ac_status=$?
51801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51802 (exit $ac_status); }; } &&
51803 { ac_try='test -s conftest$ac_exeext'
51804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51805 (eval $ac_try) 2>&5
51806 ac_status=$?
51807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51808 (exit $ac_status); }; }; then
51809 eval "$as_ac_var=yes"
51810 else
51811 echo "$as_me: failed program was:" >&5
51812 sed 's/^/| /' conftest.$ac_ext >&5
51813
51814 eval "$as_ac_var=no"
51815 fi
51816 rm -f conftest.err conftest.$ac_objext \
51817 conftest$ac_exeext conftest.$ac_ext
51818 fi
51819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51821 if test `eval echo '${'$as_ac_var'}'` = yes; then
51822 cat >>confdefs.h <<_ACEOF
51823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51824 _ACEOF
51825
51826 fi
51827 done
51828
51829 fi
51830 fi
51831
51832
51833
51834
51835
51836
51837 echo "$as_me:$LINENO: checking for powf declaration" >&5
51838 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51839 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51840 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51841 echo $ECHO_N "(cached) $ECHO_C" >&6
51842 else
51843
51844
51845
51846 ac_ext=cc
51847 ac_cpp='$CXXCPP $CPPFLAGS'
51848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51851
51852 cat >conftest.$ac_ext <<_ACEOF
51853 /* confdefs.h. */
51854 _ACEOF
51855 cat confdefs.h >>conftest.$ac_ext
51856 cat >>conftest.$ac_ext <<_ACEOF
51857 /* end confdefs.h. */
51858 #include <math.h>
51859 int
51860 main ()
51861 {
51862 powf(0, 0);
51863 ;
51864 return 0;
51865 }
51866 _ACEOF
51867 rm -f conftest.$ac_objext
51868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51869 (eval $ac_compile) 2>conftest.er1
51870 ac_status=$?
51871 grep -v '^ *+' conftest.er1 >conftest.err
51872 rm -f conftest.er1
51873 cat conftest.err >&5
51874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51875 (exit $ac_status); } &&
51876 { ac_try='test -z "$ac_cxx_werror_flag"
51877 || test ! -s conftest.err'
51878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51879 (eval $ac_try) 2>&5
51880 ac_status=$?
51881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51882 (exit $ac_status); }; } &&
51883 { ac_try='test -s conftest.$ac_objext'
51884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51885 (eval $ac_try) 2>&5
51886 ac_status=$?
51887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51888 (exit $ac_status); }; }; then
51889 glibcxx_cv_func_powf_use=yes
51890 else
51891 echo "$as_me: failed program was:" >&5
51892 sed 's/^/| /' conftest.$ac_ext >&5
51893
51894 glibcxx_cv_func_powf_use=no
51895 fi
51896 rm -f 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
51904 fi
51905
51906 fi
51907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51908 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51909
51910 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51911
51912 for ac_func in powf
51913 do
51914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51915 echo "$as_me:$LINENO: checking for $ac_func" >&5
51916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51917 if eval "test \"\${$as_ac_var+set}\" = set"; then
51918 echo $ECHO_N "(cached) $ECHO_C" >&6
51919 else
51920 if test x$gcc_no_link = xyes; then
51921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51923 { (exit 1); exit 1; }; }
51924 fi
51925 cat >conftest.$ac_ext <<_ACEOF
51926 /* confdefs.h. */
51927 _ACEOF
51928 cat confdefs.h >>conftest.$ac_ext
51929 cat >>conftest.$ac_ext <<_ACEOF
51930 /* end confdefs.h. */
51931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51933 #define $ac_func innocuous_$ac_func
51934
51935 /* System header to define __stub macros and hopefully few prototypes,
51936 which can conflict with char $ac_func (); below.
51937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51938 <limits.h> exists even on freestanding compilers. */
51939
51940 #ifdef __STDC__
51941 # include <limits.h>
51942 #else
51943 # include <assert.h>
51944 #endif
51945
51946 #undef $ac_func
51947
51948 /* Override any gcc2 internal prototype to avoid an error. */
51949 #ifdef __cplusplus
51950 extern "C"
51951 {
51952 #endif
51953 /* We use char because int might match the return type of a gcc2
51954 builtin and then its argument prototype would still apply. */
51955 char $ac_func ();
51956 /* The GNU C library defines this for functions which it implements
51957 to always fail with ENOSYS. Some functions are actually named
51958 something starting with __ and the normal name is an alias. */
51959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51960 choke me
51961 #else
51962 char (*f) () = $ac_func;
51963 #endif
51964 #ifdef __cplusplus
51965 }
51966 #endif
51967
51968 int
51969 main ()
51970 {
51971 return f != $ac_func;
51972 ;
51973 return 0;
51974 }
51975 _ACEOF
51976 rm -f conftest.$ac_objext conftest$ac_exeext
51977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51978 (eval $ac_link) 2>conftest.er1
51979 ac_status=$?
51980 grep -v '^ *+' conftest.er1 >conftest.err
51981 rm -f conftest.er1
51982 cat conftest.err >&5
51983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51984 (exit $ac_status); } &&
51985 { ac_try='test -z "$ac_c_werror_flag"
51986 || test ! -s conftest.err'
51987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51988 (eval $ac_try) 2>&5
51989 ac_status=$?
51990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51991 (exit $ac_status); }; } &&
51992 { ac_try='test -s conftest$ac_exeext'
51993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51994 (eval $ac_try) 2>&5
51995 ac_status=$?
51996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51997 (exit $ac_status); }; }; then
51998 eval "$as_ac_var=yes"
51999 else
52000 echo "$as_me: failed program was:" >&5
52001 sed 's/^/| /' conftest.$ac_ext >&5
52002
52003 eval "$as_ac_var=no"
52004 fi
52005 rm -f conftest.err conftest.$ac_objext \
52006 conftest$ac_exeext conftest.$ac_ext
52007 fi
52008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52010 if test `eval echo '${'$as_ac_var'}'` = yes; then
52011 cat >>confdefs.h <<_ACEOF
52012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52013 _ACEOF
52014
52015 fi
52016 done
52017
52018 else
52019
52020 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52021 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52022 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52023 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52024 echo $ECHO_N "(cached) $ECHO_C" >&6
52025 else
52026
52027
52028
52029 ac_ext=cc
52030 ac_cpp='$CXXCPP $CPPFLAGS'
52031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52034
52035 cat >conftest.$ac_ext <<_ACEOF
52036 /* confdefs.h. */
52037 _ACEOF
52038 cat confdefs.h >>conftest.$ac_ext
52039 cat >>conftest.$ac_ext <<_ACEOF
52040 /* end confdefs.h. */
52041 #include <math.h>
52042 int
52043 main ()
52044 {
52045 _powf(0, 0);
52046 ;
52047 return 0;
52048 }
52049 _ACEOF
52050 rm -f conftest.$ac_objext
52051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52052 (eval $ac_compile) 2>conftest.er1
52053 ac_status=$?
52054 grep -v '^ *+' conftest.er1 >conftest.err
52055 rm -f conftest.er1
52056 cat conftest.err >&5
52057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52058 (exit $ac_status); } &&
52059 { ac_try='test -z "$ac_cxx_werror_flag"
52060 || test ! -s conftest.err'
52061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52062 (eval $ac_try) 2>&5
52063 ac_status=$?
52064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52065 (exit $ac_status); }; } &&
52066 { ac_try='test -s conftest.$ac_objext'
52067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52068 (eval $ac_try) 2>&5
52069 ac_status=$?
52070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52071 (exit $ac_status); }; }; then
52072 glibcxx_cv_func__powf_use=yes
52073 else
52074 echo "$as_me: failed program was:" >&5
52075 sed 's/^/| /' conftest.$ac_ext >&5
52076
52077 glibcxx_cv_func__powf_use=no
52078 fi
52079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52080 ac_ext=c
52081 ac_cpp='$CPP $CPPFLAGS'
52082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52085
52086
52087 fi
52088
52089 fi
52090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52091 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52092
52093 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52094
52095 for ac_func in _powf
52096 do
52097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52098 echo "$as_me:$LINENO: checking for $ac_func" >&5
52099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52100 if eval "test \"\${$as_ac_var+set}\" = set"; then
52101 echo $ECHO_N "(cached) $ECHO_C" >&6
52102 else
52103 if test x$gcc_no_link = xyes; then
52104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52106 { (exit 1); exit 1; }; }
52107 fi
52108 cat >conftest.$ac_ext <<_ACEOF
52109 /* confdefs.h. */
52110 _ACEOF
52111 cat confdefs.h >>conftest.$ac_ext
52112 cat >>conftest.$ac_ext <<_ACEOF
52113 /* end confdefs.h. */
52114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52116 #define $ac_func innocuous_$ac_func
52117
52118 /* System header to define __stub macros and hopefully few prototypes,
52119 which can conflict with char $ac_func (); below.
52120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52121 <limits.h> exists even on freestanding compilers. */
52122
52123 #ifdef __STDC__
52124 # include <limits.h>
52125 #else
52126 # include <assert.h>
52127 #endif
52128
52129 #undef $ac_func
52130
52131 /* Override any gcc2 internal prototype to avoid an error. */
52132 #ifdef __cplusplus
52133 extern "C"
52134 {
52135 #endif
52136 /* We use char because int might match the return type of a gcc2
52137 builtin and then its argument prototype would still apply. */
52138 char $ac_func ();
52139 /* The GNU C library defines this for functions which it implements
52140 to always fail with ENOSYS. Some functions are actually named
52141 something starting with __ and the normal name is an alias. */
52142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52143 choke me
52144 #else
52145 char (*f) () = $ac_func;
52146 #endif
52147 #ifdef __cplusplus
52148 }
52149 #endif
52150
52151 int
52152 main ()
52153 {
52154 return f != $ac_func;
52155 ;
52156 return 0;
52157 }
52158 _ACEOF
52159 rm -f conftest.$ac_objext conftest$ac_exeext
52160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52161 (eval $ac_link) 2>conftest.er1
52162 ac_status=$?
52163 grep -v '^ *+' conftest.er1 >conftest.err
52164 rm -f conftest.er1
52165 cat conftest.err >&5
52166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167 (exit $ac_status); } &&
52168 { ac_try='test -z "$ac_c_werror_flag"
52169 || test ! -s conftest.err'
52170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52171 (eval $ac_try) 2>&5
52172 ac_status=$?
52173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52174 (exit $ac_status); }; } &&
52175 { ac_try='test -s conftest$ac_exeext'
52176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52177 (eval $ac_try) 2>&5
52178 ac_status=$?
52179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52180 (exit $ac_status); }; }; then
52181 eval "$as_ac_var=yes"
52182 else
52183 echo "$as_me: failed program was:" >&5
52184 sed 's/^/| /' conftest.$ac_ext >&5
52185
52186 eval "$as_ac_var=no"
52187 fi
52188 rm -f conftest.err conftest.$ac_objext \
52189 conftest$ac_exeext conftest.$ac_ext
52190 fi
52191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52193 if test `eval echo '${'$as_ac_var'}'` = yes; then
52194 cat >>confdefs.h <<_ACEOF
52195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52196 _ACEOF
52197
52198 fi
52199 done
52200
52201 fi
52202 fi
52203
52204
52205
52206
52207
52208
52209 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52210 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52211 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52212 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52213 echo $ECHO_N "(cached) $ECHO_C" >&6
52214 else
52215
52216
52217
52218 ac_ext=cc
52219 ac_cpp='$CXXCPP $CPPFLAGS'
52220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52223
52224 cat >conftest.$ac_ext <<_ACEOF
52225 /* confdefs.h. */
52226 _ACEOF
52227 cat confdefs.h >>conftest.$ac_ext
52228 cat >>conftest.$ac_ext <<_ACEOF
52229 /* end confdefs.h. */
52230 #include <math.h>
52231 #ifdef HAVE_IEEEFP_H
52232 #include <ieeefp.h>
52233 #endif
52234
52235 int
52236 main ()
52237 {
52238 sqrtf(0);
52239 ;
52240 return 0;
52241 }
52242 _ACEOF
52243 rm -f conftest.$ac_objext
52244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52245 (eval $ac_compile) 2>conftest.er1
52246 ac_status=$?
52247 grep -v '^ *+' conftest.er1 >conftest.err
52248 rm -f conftest.er1
52249 cat conftest.err >&5
52250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52251 (exit $ac_status); } &&
52252 { ac_try='test -z "$ac_cxx_werror_flag"
52253 || test ! -s conftest.err'
52254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52255 (eval $ac_try) 2>&5
52256 ac_status=$?
52257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52258 (exit $ac_status); }; } &&
52259 { ac_try='test -s conftest.$ac_objext'
52260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52261 (eval $ac_try) 2>&5
52262 ac_status=$?
52263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52264 (exit $ac_status); }; }; then
52265 glibcxx_cv_func_sqrtf_use=yes
52266 else
52267 echo "$as_me: failed program was:" >&5
52268 sed 's/^/| /' conftest.$ac_ext >&5
52269
52270 glibcxx_cv_func_sqrtf_use=no
52271 fi
52272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52273 ac_ext=c
52274 ac_cpp='$CPP $CPPFLAGS'
52275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52278
52279
52280 fi
52281
52282 fi
52283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52284 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52285
52286 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52287
52288 for ac_func in sqrtf
52289 do
52290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52291 echo "$as_me:$LINENO: checking for $ac_func" >&5
52292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52293 if eval "test \"\${$as_ac_var+set}\" = set"; then
52294 echo $ECHO_N "(cached) $ECHO_C" >&6
52295 else
52296 if test x$gcc_no_link = xyes; then
52297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52299 { (exit 1); exit 1; }; }
52300 fi
52301 cat >conftest.$ac_ext <<_ACEOF
52302 /* confdefs.h. */
52303 _ACEOF
52304 cat confdefs.h >>conftest.$ac_ext
52305 cat >>conftest.$ac_ext <<_ACEOF
52306 /* end confdefs.h. */
52307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52309 #define $ac_func innocuous_$ac_func
52310
52311 /* System header to define __stub macros and hopefully few prototypes,
52312 which can conflict with char $ac_func (); below.
52313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52314 <limits.h> exists even on freestanding compilers. */
52315
52316 #ifdef __STDC__
52317 # include <limits.h>
52318 #else
52319 # include <assert.h>
52320 #endif
52321
52322 #undef $ac_func
52323
52324 /* Override any gcc2 internal prototype to avoid an error. */
52325 #ifdef __cplusplus
52326 extern "C"
52327 {
52328 #endif
52329 /* We use char because int might match the return type of a gcc2
52330 builtin and then its argument prototype would still apply. */
52331 char $ac_func ();
52332 /* The GNU C library defines this for functions which it implements
52333 to always fail with ENOSYS. Some functions are actually named
52334 something starting with __ and the normal name is an alias. */
52335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52336 choke me
52337 #else
52338 char (*f) () = $ac_func;
52339 #endif
52340 #ifdef __cplusplus
52341 }
52342 #endif
52343
52344 int
52345 main ()
52346 {
52347 return f != $ac_func;
52348 ;
52349 return 0;
52350 }
52351 _ACEOF
52352 rm -f conftest.$ac_objext conftest$ac_exeext
52353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52354 (eval $ac_link) 2>conftest.er1
52355 ac_status=$?
52356 grep -v '^ *+' conftest.er1 >conftest.err
52357 rm -f conftest.er1
52358 cat conftest.err >&5
52359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52360 (exit $ac_status); } &&
52361 { ac_try='test -z "$ac_c_werror_flag"
52362 || test ! -s conftest.err'
52363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52364 (eval $ac_try) 2>&5
52365 ac_status=$?
52366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52367 (exit $ac_status); }; } &&
52368 { ac_try='test -s conftest$ac_exeext'
52369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52370 (eval $ac_try) 2>&5
52371 ac_status=$?
52372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52373 (exit $ac_status); }; }; then
52374 eval "$as_ac_var=yes"
52375 else
52376 echo "$as_me: failed program was:" >&5
52377 sed 's/^/| /' conftest.$ac_ext >&5
52378
52379 eval "$as_ac_var=no"
52380 fi
52381 rm -f conftest.err conftest.$ac_objext \
52382 conftest$ac_exeext conftest.$ac_ext
52383 fi
52384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52386 if test `eval echo '${'$as_ac_var'}'` = yes; then
52387 cat >>confdefs.h <<_ACEOF
52388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52389 _ACEOF
52390
52391 fi
52392 done
52393
52394 else
52395
52396 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52397 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52398 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52399 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52400 echo $ECHO_N "(cached) $ECHO_C" >&6
52401 else
52402
52403
52404
52405 ac_ext=cc
52406 ac_cpp='$CXXCPP $CPPFLAGS'
52407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52410
52411 cat >conftest.$ac_ext <<_ACEOF
52412 /* confdefs.h. */
52413 _ACEOF
52414 cat confdefs.h >>conftest.$ac_ext
52415 cat >>conftest.$ac_ext <<_ACEOF
52416 /* end confdefs.h. */
52417 #include <math.h>
52418 #ifdef HAVE_IEEEFP_H
52419 #include <ieeefp.h>
52420 #endif
52421
52422 int
52423 main ()
52424 {
52425 _sqrtf(0);
52426 ;
52427 return 0;
52428 }
52429 _ACEOF
52430 rm -f conftest.$ac_objext
52431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52432 (eval $ac_compile) 2>conftest.er1
52433 ac_status=$?
52434 grep -v '^ *+' conftest.er1 >conftest.err
52435 rm -f conftest.er1
52436 cat conftest.err >&5
52437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52438 (exit $ac_status); } &&
52439 { ac_try='test -z "$ac_cxx_werror_flag"
52440 || test ! -s conftest.err'
52441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52442 (eval $ac_try) 2>&5
52443 ac_status=$?
52444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52445 (exit $ac_status); }; } &&
52446 { ac_try='test -s conftest.$ac_objext'
52447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52448 (eval $ac_try) 2>&5
52449 ac_status=$?
52450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52451 (exit $ac_status); }; }; then
52452 glibcxx_cv_func__sqrtf_use=yes
52453 else
52454 echo "$as_me: failed program was:" >&5
52455 sed 's/^/| /' conftest.$ac_ext >&5
52456
52457 glibcxx_cv_func__sqrtf_use=no
52458 fi
52459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52460 ac_ext=c
52461 ac_cpp='$CPP $CPPFLAGS'
52462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465
52466
52467 fi
52468
52469 fi
52470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52471 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52472
52473 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52474
52475 for ac_func in _sqrtf
52476 do
52477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52478 echo "$as_me:$LINENO: checking for $ac_func" >&5
52479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52480 if eval "test \"\${$as_ac_var+set}\" = set"; then
52481 echo $ECHO_N "(cached) $ECHO_C" >&6
52482 else
52483 if test x$gcc_no_link = xyes; then
52484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52486 { (exit 1); exit 1; }; }
52487 fi
52488 cat >conftest.$ac_ext <<_ACEOF
52489 /* confdefs.h. */
52490 _ACEOF
52491 cat confdefs.h >>conftest.$ac_ext
52492 cat >>conftest.$ac_ext <<_ACEOF
52493 /* end confdefs.h. */
52494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52496 #define $ac_func innocuous_$ac_func
52497
52498 /* System header to define __stub macros and hopefully few prototypes,
52499 which can conflict with char $ac_func (); below.
52500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52501 <limits.h> exists even on freestanding compilers. */
52502
52503 #ifdef __STDC__
52504 # include <limits.h>
52505 #else
52506 # include <assert.h>
52507 #endif
52508
52509 #undef $ac_func
52510
52511 /* Override any gcc2 internal prototype to avoid an error. */
52512 #ifdef __cplusplus
52513 extern "C"
52514 {
52515 #endif
52516 /* We use char because int might match the return type of a gcc2
52517 builtin and then its argument prototype would still apply. */
52518 char $ac_func ();
52519 /* The GNU C library defines this for functions which it implements
52520 to always fail with ENOSYS. Some functions are actually named
52521 something starting with __ and the normal name is an alias. */
52522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52523 choke me
52524 #else
52525 char (*f) () = $ac_func;
52526 #endif
52527 #ifdef __cplusplus
52528 }
52529 #endif
52530
52531 int
52532 main ()
52533 {
52534 return f != $ac_func;
52535 ;
52536 return 0;
52537 }
52538 _ACEOF
52539 rm -f conftest.$ac_objext conftest$ac_exeext
52540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52541 (eval $ac_link) 2>conftest.er1
52542 ac_status=$?
52543 grep -v '^ *+' conftest.er1 >conftest.err
52544 rm -f conftest.er1
52545 cat conftest.err >&5
52546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52547 (exit $ac_status); } &&
52548 { ac_try='test -z "$ac_c_werror_flag"
52549 || test ! -s conftest.err'
52550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52551 (eval $ac_try) 2>&5
52552 ac_status=$?
52553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52554 (exit $ac_status); }; } &&
52555 { ac_try='test -s conftest$ac_exeext'
52556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52557 (eval $ac_try) 2>&5
52558 ac_status=$?
52559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52560 (exit $ac_status); }; }; then
52561 eval "$as_ac_var=yes"
52562 else
52563 echo "$as_me: failed program was:" >&5
52564 sed 's/^/| /' conftest.$ac_ext >&5
52565
52566 eval "$as_ac_var=no"
52567 fi
52568 rm -f conftest.err conftest.$ac_objext \
52569 conftest$ac_exeext conftest.$ac_ext
52570 fi
52571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52573 if test `eval echo '${'$as_ac_var'}'` = yes; then
52574 cat >>confdefs.h <<_ACEOF
52575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52576 _ACEOF
52577
52578 fi
52579 done
52580
52581 fi
52582 fi
52583
52584
52585
52586
52587
52588
52589 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52590 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52591 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52592 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52593 echo $ECHO_N "(cached) $ECHO_C" >&6
52594 else
52595
52596
52597
52598 ac_ext=cc
52599 ac_cpp='$CXXCPP $CPPFLAGS'
52600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603
52604 cat >conftest.$ac_ext <<_ACEOF
52605 /* confdefs.h. */
52606 _ACEOF
52607 cat confdefs.h >>conftest.$ac_ext
52608 cat >>conftest.$ac_ext <<_ACEOF
52609 /* end confdefs.h. */
52610 #include <math.h>
52611 int
52612 main ()
52613 {
52614 sincosf(0, 0, 0);
52615 ;
52616 return 0;
52617 }
52618 _ACEOF
52619 rm -f conftest.$ac_objext
52620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52621 (eval $ac_compile) 2>conftest.er1
52622 ac_status=$?
52623 grep -v '^ *+' conftest.er1 >conftest.err
52624 rm -f conftest.er1
52625 cat conftest.err >&5
52626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52627 (exit $ac_status); } &&
52628 { ac_try='test -z "$ac_cxx_werror_flag"
52629 || test ! -s conftest.err'
52630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52631 (eval $ac_try) 2>&5
52632 ac_status=$?
52633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52634 (exit $ac_status); }; } &&
52635 { ac_try='test -s conftest.$ac_objext'
52636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52637 (eval $ac_try) 2>&5
52638 ac_status=$?
52639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52640 (exit $ac_status); }; }; then
52641 glibcxx_cv_func_sincosf_use=yes
52642 else
52643 echo "$as_me: failed program was:" >&5
52644 sed 's/^/| /' conftest.$ac_ext >&5
52645
52646 glibcxx_cv_func_sincosf_use=no
52647 fi
52648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52649 ac_ext=c
52650 ac_cpp='$CPP $CPPFLAGS'
52651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52654
52655
52656 fi
52657
52658 fi
52659 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52660 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52661
52662 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52663
52664 for ac_func in sincosf
52665 do
52666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52667 echo "$as_me:$LINENO: checking for $ac_func" >&5
52668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52669 if eval "test \"\${$as_ac_var+set}\" = set"; then
52670 echo $ECHO_N "(cached) $ECHO_C" >&6
52671 else
52672 if test x$gcc_no_link = xyes; then
52673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52675 { (exit 1); exit 1; }; }
52676 fi
52677 cat >conftest.$ac_ext <<_ACEOF
52678 /* confdefs.h. */
52679 _ACEOF
52680 cat confdefs.h >>conftest.$ac_ext
52681 cat >>conftest.$ac_ext <<_ACEOF
52682 /* end confdefs.h. */
52683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52685 #define $ac_func innocuous_$ac_func
52686
52687 /* System header to define __stub macros and hopefully few prototypes,
52688 which can conflict with char $ac_func (); below.
52689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52690 <limits.h> exists even on freestanding compilers. */
52691
52692 #ifdef __STDC__
52693 # include <limits.h>
52694 #else
52695 # include <assert.h>
52696 #endif
52697
52698 #undef $ac_func
52699
52700 /* Override any gcc2 internal prototype to avoid an error. */
52701 #ifdef __cplusplus
52702 extern "C"
52703 {
52704 #endif
52705 /* We use char because int might match the return type of a gcc2
52706 builtin and then its argument prototype would still apply. */
52707 char $ac_func ();
52708 /* The GNU C library defines this for functions which it implements
52709 to always fail with ENOSYS. Some functions are actually named
52710 something starting with __ and the normal name is an alias. */
52711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52712 choke me
52713 #else
52714 char (*f) () = $ac_func;
52715 #endif
52716 #ifdef __cplusplus
52717 }
52718 #endif
52719
52720 int
52721 main ()
52722 {
52723 return f != $ac_func;
52724 ;
52725 return 0;
52726 }
52727 _ACEOF
52728 rm -f conftest.$ac_objext conftest$ac_exeext
52729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52730 (eval $ac_link) 2>conftest.er1
52731 ac_status=$?
52732 grep -v '^ *+' conftest.er1 >conftest.err
52733 rm -f conftest.er1
52734 cat conftest.err >&5
52735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52736 (exit $ac_status); } &&
52737 { ac_try='test -z "$ac_c_werror_flag"
52738 || test ! -s conftest.err'
52739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52740 (eval $ac_try) 2>&5
52741 ac_status=$?
52742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52743 (exit $ac_status); }; } &&
52744 { ac_try='test -s conftest$ac_exeext'
52745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52746 (eval $ac_try) 2>&5
52747 ac_status=$?
52748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52749 (exit $ac_status); }; }; then
52750 eval "$as_ac_var=yes"
52751 else
52752 echo "$as_me: failed program was:" >&5
52753 sed 's/^/| /' conftest.$ac_ext >&5
52754
52755 eval "$as_ac_var=no"
52756 fi
52757 rm -f conftest.err conftest.$ac_objext \
52758 conftest$ac_exeext conftest.$ac_ext
52759 fi
52760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52762 if test `eval echo '${'$as_ac_var'}'` = yes; then
52763 cat >>confdefs.h <<_ACEOF
52764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52765 _ACEOF
52766
52767 fi
52768 done
52769
52770 else
52771
52772 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52773 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52774 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52775 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52776 echo $ECHO_N "(cached) $ECHO_C" >&6
52777 else
52778
52779
52780
52781 ac_ext=cc
52782 ac_cpp='$CXXCPP $CPPFLAGS'
52783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52786
52787 cat >conftest.$ac_ext <<_ACEOF
52788 /* confdefs.h. */
52789 _ACEOF
52790 cat confdefs.h >>conftest.$ac_ext
52791 cat >>conftest.$ac_ext <<_ACEOF
52792 /* end confdefs.h. */
52793 #include <math.h>
52794 int
52795 main ()
52796 {
52797 _sincosf(0, 0, 0);
52798 ;
52799 return 0;
52800 }
52801 _ACEOF
52802 rm -f conftest.$ac_objext
52803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52804 (eval $ac_compile) 2>conftest.er1
52805 ac_status=$?
52806 grep -v '^ *+' conftest.er1 >conftest.err
52807 rm -f conftest.er1
52808 cat conftest.err >&5
52809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52810 (exit $ac_status); } &&
52811 { ac_try='test -z "$ac_cxx_werror_flag"
52812 || test ! -s conftest.err'
52813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52814 (eval $ac_try) 2>&5
52815 ac_status=$?
52816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52817 (exit $ac_status); }; } &&
52818 { ac_try='test -s conftest.$ac_objext'
52819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52820 (eval $ac_try) 2>&5
52821 ac_status=$?
52822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52823 (exit $ac_status); }; }; then
52824 glibcxx_cv_func__sincosf_use=yes
52825 else
52826 echo "$as_me: failed program was:" >&5
52827 sed 's/^/| /' conftest.$ac_ext >&5
52828
52829 glibcxx_cv_func__sincosf_use=no
52830 fi
52831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52832 ac_ext=c
52833 ac_cpp='$CPP $CPPFLAGS'
52834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52837
52838
52839 fi
52840
52841 fi
52842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52843 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52844
52845 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52846
52847 for ac_func in _sincosf
52848 do
52849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52850 echo "$as_me:$LINENO: checking for $ac_func" >&5
52851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52852 if eval "test \"\${$as_ac_var+set}\" = set"; then
52853 echo $ECHO_N "(cached) $ECHO_C" >&6
52854 else
52855 if test x$gcc_no_link = xyes; then
52856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52858 { (exit 1); exit 1; }; }
52859 fi
52860 cat >conftest.$ac_ext <<_ACEOF
52861 /* confdefs.h. */
52862 _ACEOF
52863 cat confdefs.h >>conftest.$ac_ext
52864 cat >>conftest.$ac_ext <<_ACEOF
52865 /* end confdefs.h. */
52866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52868 #define $ac_func innocuous_$ac_func
52869
52870 /* System header to define __stub macros and hopefully few prototypes,
52871 which can conflict with char $ac_func (); below.
52872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52873 <limits.h> exists even on freestanding compilers. */
52874
52875 #ifdef __STDC__
52876 # include <limits.h>
52877 #else
52878 # include <assert.h>
52879 #endif
52880
52881 #undef $ac_func
52882
52883 /* Override any gcc2 internal prototype to avoid an error. */
52884 #ifdef __cplusplus
52885 extern "C"
52886 {
52887 #endif
52888 /* We use char because int might match the return type of a gcc2
52889 builtin and then its argument prototype would still apply. */
52890 char $ac_func ();
52891 /* The GNU C library defines this for functions which it implements
52892 to always fail with ENOSYS. Some functions are actually named
52893 something starting with __ and the normal name is an alias. */
52894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52895 choke me
52896 #else
52897 char (*f) () = $ac_func;
52898 #endif
52899 #ifdef __cplusplus
52900 }
52901 #endif
52902
52903 int
52904 main ()
52905 {
52906 return f != $ac_func;
52907 ;
52908 return 0;
52909 }
52910 _ACEOF
52911 rm -f conftest.$ac_objext conftest$ac_exeext
52912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52913 (eval $ac_link) 2>conftest.er1
52914 ac_status=$?
52915 grep -v '^ *+' conftest.er1 >conftest.err
52916 rm -f conftest.er1
52917 cat conftest.err >&5
52918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52919 (exit $ac_status); } &&
52920 { ac_try='test -z "$ac_c_werror_flag"
52921 || test ! -s conftest.err'
52922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52923 (eval $ac_try) 2>&5
52924 ac_status=$?
52925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52926 (exit $ac_status); }; } &&
52927 { ac_try='test -s conftest$ac_exeext'
52928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52929 (eval $ac_try) 2>&5
52930 ac_status=$?
52931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52932 (exit $ac_status); }; }; then
52933 eval "$as_ac_var=yes"
52934 else
52935 echo "$as_me: failed program was:" >&5
52936 sed 's/^/| /' conftest.$ac_ext >&5
52937
52938 eval "$as_ac_var=no"
52939 fi
52940 rm -f conftest.err conftest.$ac_objext \
52941 conftest$ac_exeext conftest.$ac_ext
52942 fi
52943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52945 if test `eval echo '${'$as_ac_var'}'` = yes; then
52946 cat >>confdefs.h <<_ACEOF
52947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52948 _ACEOF
52949
52950 fi
52951 done
52952
52953 fi
52954 fi
52955
52956
52957
52958
52959
52960
52961 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52962 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52963 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52964 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52965 echo $ECHO_N "(cached) $ECHO_C" >&6
52966 else
52967
52968
52969
52970 ac_ext=cc
52971 ac_cpp='$CXXCPP $CPPFLAGS'
52972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52975
52976 cat >conftest.$ac_ext <<_ACEOF
52977 /* confdefs.h. */
52978 _ACEOF
52979 cat confdefs.h >>conftest.$ac_ext
52980 cat >>conftest.$ac_ext <<_ACEOF
52981 /* end confdefs.h. */
52982 #include <math.h>
52983 #ifdef HAVE_IEEEFP_H
52984 #include <ieeefp.h>
52985 #endif
52986
52987 int
52988 main ()
52989 {
52990 finitef(0);
52991 ;
52992 return 0;
52993 }
52994 _ACEOF
52995 rm -f conftest.$ac_objext
52996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52997 (eval $ac_compile) 2>conftest.er1
52998 ac_status=$?
52999 grep -v '^ *+' conftest.er1 >conftest.err
53000 rm -f conftest.er1
53001 cat conftest.err >&5
53002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53003 (exit $ac_status); } &&
53004 { ac_try='test -z "$ac_cxx_werror_flag"
53005 || test ! -s conftest.err'
53006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53007 (eval $ac_try) 2>&5
53008 ac_status=$?
53009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53010 (exit $ac_status); }; } &&
53011 { ac_try='test -s conftest.$ac_objext'
53012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53013 (eval $ac_try) 2>&5
53014 ac_status=$?
53015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016 (exit $ac_status); }; }; then
53017 glibcxx_cv_func_finitef_use=yes
53018 else
53019 echo "$as_me: failed program was:" >&5
53020 sed 's/^/| /' conftest.$ac_ext >&5
53021
53022 glibcxx_cv_func_finitef_use=no
53023 fi
53024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53025 ac_ext=c
53026 ac_cpp='$CPP $CPPFLAGS'
53027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53030
53031
53032 fi
53033
53034 fi
53035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53036 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53037
53038 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53039
53040 for ac_func in finitef
53041 do
53042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53043 echo "$as_me:$LINENO: checking for $ac_func" >&5
53044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53045 if eval "test \"\${$as_ac_var+set}\" = set"; then
53046 echo $ECHO_N "(cached) $ECHO_C" >&6
53047 else
53048 if test x$gcc_no_link = xyes; then
53049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53051 { (exit 1); exit 1; }; }
53052 fi
53053 cat >conftest.$ac_ext <<_ACEOF
53054 /* confdefs.h. */
53055 _ACEOF
53056 cat confdefs.h >>conftest.$ac_ext
53057 cat >>conftest.$ac_ext <<_ACEOF
53058 /* end confdefs.h. */
53059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53061 #define $ac_func innocuous_$ac_func
53062
53063 /* System header to define __stub macros and hopefully few prototypes,
53064 which can conflict with char $ac_func (); below.
53065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53066 <limits.h> exists even on freestanding compilers. */
53067
53068 #ifdef __STDC__
53069 # include <limits.h>
53070 #else
53071 # include <assert.h>
53072 #endif
53073
53074 #undef $ac_func
53075
53076 /* Override any gcc2 internal prototype to avoid an error. */
53077 #ifdef __cplusplus
53078 extern "C"
53079 {
53080 #endif
53081 /* We use char because int might match the return type of a gcc2
53082 builtin and then its argument prototype would still apply. */
53083 char $ac_func ();
53084 /* The GNU C library defines this for functions which it implements
53085 to always fail with ENOSYS. Some functions are actually named
53086 something starting with __ and the normal name is an alias. */
53087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53088 choke me
53089 #else
53090 char (*f) () = $ac_func;
53091 #endif
53092 #ifdef __cplusplus
53093 }
53094 #endif
53095
53096 int
53097 main ()
53098 {
53099 return f != $ac_func;
53100 ;
53101 return 0;
53102 }
53103 _ACEOF
53104 rm -f conftest.$ac_objext conftest$ac_exeext
53105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53106 (eval $ac_link) 2>conftest.er1
53107 ac_status=$?
53108 grep -v '^ *+' conftest.er1 >conftest.err
53109 rm -f conftest.er1
53110 cat conftest.err >&5
53111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112 (exit $ac_status); } &&
53113 { ac_try='test -z "$ac_c_werror_flag"
53114 || test ! -s conftest.err'
53115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53116 (eval $ac_try) 2>&5
53117 ac_status=$?
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); }; } &&
53120 { ac_try='test -s conftest$ac_exeext'
53121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53122 (eval $ac_try) 2>&5
53123 ac_status=$?
53124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125 (exit $ac_status); }; }; then
53126 eval "$as_ac_var=yes"
53127 else
53128 echo "$as_me: failed program was:" >&5
53129 sed 's/^/| /' conftest.$ac_ext >&5
53130
53131 eval "$as_ac_var=no"
53132 fi
53133 rm -f conftest.err conftest.$ac_objext \
53134 conftest$ac_exeext conftest.$ac_ext
53135 fi
53136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53138 if test `eval echo '${'$as_ac_var'}'` = yes; then
53139 cat >>confdefs.h <<_ACEOF
53140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53141 _ACEOF
53142
53143 fi
53144 done
53145
53146 else
53147
53148 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53149 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53150 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53151 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53152 echo $ECHO_N "(cached) $ECHO_C" >&6
53153 else
53154
53155
53156
53157 ac_ext=cc
53158 ac_cpp='$CXXCPP $CPPFLAGS'
53159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53162
53163 cat >conftest.$ac_ext <<_ACEOF
53164 /* confdefs.h. */
53165 _ACEOF
53166 cat confdefs.h >>conftest.$ac_ext
53167 cat >>conftest.$ac_ext <<_ACEOF
53168 /* end confdefs.h. */
53169 #include <math.h>
53170 #ifdef HAVE_IEEEFP_H
53171 #include <ieeefp.h>
53172 #endif
53173
53174 int
53175 main ()
53176 {
53177 _finitef(0);
53178 ;
53179 return 0;
53180 }
53181 _ACEOF
53182 rm -f conftest.$ac_objext
53183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53184 (eval $ac_compile) 2>conftest.er1
53185 ac_status=$?
53186 grep -v '^ *+' conftest.er1 >conftest.err
53187 rm -f conftest.er1
53188 cat conftest.err >&5
53189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53190 (exit $ac_status); } &&
53191 { ac_try='test -z "$ac_cxx_werror_flag"
53192 || test ! -s conftest.err'
53193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53194 (eval $ac_try) 2>&5
53195 ac_status=$?
53196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53197 (exit $ac_status); }; } &&
53198 { ac_try='test -s conftest.$ac_objext'
53199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53200 (eval $ac_try) 2>&5
53201 ac_status=$?
53202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53203 (exit $ac_status); }; }; then
53204 glibcxx_cv_func__finitef_use=yes
53205 else
53206 echo "$as_me: failed program was:" >&5
53207 sed 's/^/| /' conftest.$ac_ext >&5
53208
53209 glibcxx_cv_func__finitef_use=no
53210 fi
53211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53217
53218
53219 fi
53220
53221 fi
53222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53223 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53224
53225 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53226
53227 for ac_func in _finitef
53228 do
53229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53230 echo "$as_me:$LINENO: checking for $ac_func" >&5
53231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53232 if eval "test \"\${$as_ac_var+set}\" = set"; then
53233 echo $ECHO_N "(cached) $ECHO_C" >&6
53234 else
53235 if test x$gcc_no_link = xyes; then
53236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53238 { (exit 1); exit 1; }; }
53239 fi
53240 cat >conftest.$ac_ext <<_ACEOF
53241 /* confdefs.h. */
53242 _ACEOF
53243 cat confdefs.h >>conftest.$ac_ext
53244 cat >>conftest.$ac_ext <<_ACEOF
53245 /* end confdefs.h. */
53246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53248 #define $ac_func innocuous_$ac_func
53249
53250 /* System header to define __stub macros and hopefully few prototypes,
53251 which can conflict with char $ac_func (); below.
53252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53253 <limits.h> exists even on freestanding compilers. */
53254
53255 #ifdef __STDC__
53256 # include <limits.h>
53257 #else
53258 # include <assert.h>
53259 #endif
53260
53261 #undef $ac_func
53262
53263 /* Override any gcc2 internal prototype to avoid an error. */
53264 #ifdef __cplusplus
53265 extern "C"
53266 {
53267 #endif
53268 /* We use char because int might match the return type of a gcc2
53269 builtin and then its argument prototype would still apply. */
53270 char $ac_func ();
53271 /* The GNU C library defines this for functions which it implements
53272 to always fail with ENOSYS. Some functions are actually named
53273 something starting with __ and the normal name is an alias. */
53274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53275 choke me
53276 #else
53277 char (*f) () = $ac_func;
53278 #endif
53279 #ifdef __cplusplus
53280 }
53281 #endif
53282
53283 int
53284 main ()
53285 {
53286 return f != $ac_func;
53287 ;
53288 return 0;
53289 }
53290 _ACEOF
53291 rm -f conftest.$ac_objext conftest$ac_exeext
53292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53293 (eval $ac_link) 2>conftest.er1
53294 ac_status=$?
53295 grep -v '^ *+' conftest.er1 >conftest.err
53296 rm -f conftest.er1
53297 cat conftest.err >&5
53298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53299 (exit $ac_status); } &&
53300 { ac_try='test -z "$ac_c_werror_flag"
53301 || test ! -s conftest.err'
53302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53303 (eval $ac_try) 2>&5
53304 ac_status=$?
53305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53306 (exit $ac_status); }; } &&
53307 { ac_try='test -s conftest$ac_exeext'
53308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53309 (eval $ac_try) 2>&5
53310 ac_status=$?
53311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53312 (exit $ac_status); }; }; then
53313 eval "$as_ac_var=yes"
53314 else
53315 echo "$as_me: failed program was:" >&5
53316 sed 's/^/| /' conftest.$ac_ext >&5
53317
53318 eval "$as_ac_var=no"
53319 fi
53320 rm -f conftest.err conftest.$ac_objext \
53321 conftest$ac_exeext conftest.$ac_ext
53322 fi
53323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53325 if test `eval echo '${'$as_ac_var'}'` = yes; then
53326 cat >>confdefs.h <<_ACEOF
53327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53328 _ACEOF
53329
53330 fi
53331 done
53332
53333 fi
53334 fi
53335
53336
53337
53338
53339
53340
53341 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53342 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53343 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53344 echo $ECHO_N "(cached) $ECHO_C" >&6
53345 else
53346
53347
53348
53349 ac_ext=cc
53350 ac_cpp='$CXXCPP $CPPFLAGS'
53351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53354
53355 cat >conftest.$ac_ext <<_ACEOF
53356 /* confdefs.h. */
53357 _ACEOF
53358 cat confdefs.h >>conftest.$ac_ext
53359 cat >>conftest.$ac_ext <<_ACEOF
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 int
53363 main ()
53364 {
53365 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53366 ;
53367 return 0;
53368 }
53369 _ACEOF
53370 rm -f conftest.$ac_objext
53371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53372 (eval $ac_compile) 2>conftest.er1
53373 ac_status=$?
53374 grep -v '^ *+' conftest.er1 >conftest.err
53375 rm -f conftest.er1
53376 cat conftest.err >&5
53377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53378 (exit $ac_status); } &&
53379 { ac_try='test -z "$ac_cxx_werror_flag"
53380 || test ! -s conftest.err'
53381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53382 (eval $ac_try) 2>&5
53383 ac_status=$?
53384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53385 (exit $ac_status); }; } &&
53386 { ac_try='test -s conftest.$ac_objext'
53387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53388 (eval $ac_try) 2>&5
53389 ac_status=$?
53390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53391 (exit $ac_status); }; }; then
53392 glibcxx_cv_func_long_double_trig_use=yes
53393 else
53394 echo "$as_me: failed program was:" >&5
53395 sed 's/^/| /' conftest.$ac_ext >&5
53396
53397 glibcxx_cv_func_long_double_trig_use=no
53398 fi
53399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53400 ac_ext=c
53401 ac_cpp='$CPP $CPPFLAGS'
53402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53405
53406 fi
53407
53408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53409 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53410 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53411
53412
53413
53414
53415
53416
53417
53418
53419
53420 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53421 do
53422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53423 echo "$as_me:$LINENO: checking for $ac_func" >&5
53424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53425 if eval "test \"\${$as_ac_var+set}\" = set"; then
53426 echo $ECHO_N "(cached) $ECHO_C" >&6
53427 else
53428 if test x$gcc_no_link = xyes; then
53429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53431 { (exit 1); exit 1; }; }
53432 fi
53433 cat >conftest.$ac_ext <<_ACEOF
53434 /* confdefs.h. */
53435 _ACEOF
53436 cat confdefs.h >>conftest.$ac_ext
53437 cat >>conftest.$ac_ext <<_ACEOF
53438 /* end confdefs.h. */
53439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53441 #define $ac_func innocuous_$ac_func
53442
53443 /* System header to define __stub macros and hopefully few prototypes,
53444 which can conflict with char $ac_func (); below.
53445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53446 <limits.h> exists even on freestanding compilers. */
53447
53448 #ifdef __STDC__
53449 # include <limits.h>
53450 #else
53451 # include <assert.h>
53452 #endif
53453
53454 #undef $ac_func
53455
53456 /* Override any gcc2 internal prototype to avoid an error. */
53457 #ifdef __cplusplus
53458 extern "C"
53459 {
53460 #endif
53461 /* We use char because int might match the return type of a gcc2
53462 builtin and then its argument prototype would still apply. */
53463 char $ac_func ();
53464 /* The GNU C library defines this for functions which it implements
53465 to always fail with ENOSYS. Some functions are actually named
53466 something starting with __ and the normal name is an alias. */
53467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53468 choke me
53469 #else
53470 char (*f) () = $ac_func;
53471 #endif
53472 #ifdef __cplusplus
53473 }
53474 #endif
53475
53476 int
53477 main ()
53478 {
53479 return f != $ac_func;
53480 ;
53481 return 0;
53482 }
53483 _ACEOF
53484 rm -f conftest.$ac_objext conftest$ac_exeext
53485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53486 (eval $ac_link) 2>conftest.er1
53487 ac_status=$?
53488 grep -v '^ *+' conftest.er1 >conftest.err
53489 rm -f conftest.er1
53490 cat conftest.err >&5
53491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53492 (exit $ac_status); } &&
53493 { ac_try='test -z "$ac_c_werror_flag"
53494 || test ! -s conftest.err'
53495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53496 (eval $ac_try) 2>&5
53497 ac_status=$?
53498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53499 (exit $ac_status); }; } &&
53500 { ac_try='test -s conftest$ac_exeext'
53501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53502 (eval $ac_try) 2>&5
53503 ac_status=$?
53504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53505 (exit $ac_status); }; }; then
53506 eval "$as_ac_var=yes"
53507 else
53508 echo "$as_me: failed program was:" >&5
53509 sed 's/^/| /' conftest.$ac_ext >&5
53510
53511 eval "$as_ac_var=no"
53512 fi
53513 rm -f conftest.err conftest.$ac_objext \
53514 conftest$ac_exeext conftest.$ac_ext
53515 fi
53516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53518 if test `eval echo '${'$as_ac_var'}'` = yes; then
53519 cat >>confdefs.h <<_ACEOF
53520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53521 _ACEOF
53522
53523 fi
53524 done
53525
53526 else
53527 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53528 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53529 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53530 echo $ECHO_N "(cached) $ECHO_C" >&6
53531 else
53532
53533
53534
53535 ac_ext=cc
53536 ac_cpp='$CXXCPP $CPPFLAGS'
53537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53540
53541 cat >conftest.$ac_ext <<_ACEOF
53542 /* confdefs.h. */
53543 _ACEOF
53544 cat confdefs.h >>conftest.$ac_ext
53545 cat >>conftest.$ac_ext <<_ACEOF
53546 /* end confdefs.h. */
53547 #include <math.h>
53548 int
53549 main ()
53550 {
53551 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53552 ;
53553 return 0;
53554 }
53555 _ACEOF
53556 rm -f conftest.$ac_objext
53557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53558 (eval $ac_compile) 2>conftest.er1
53559 ac_status=$?
53560 grep -v '^ *+' conftest.er1 >conftest.err
53561 rm -f conftest.er1
53562 cat conftest.err >&5
53563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53564 (exit $ac_status); } &&
53565 { ac_try='test -z "$ac_cxx_werror_flag"
53566 || test ! -s conftest.err'
53567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53568 (eval $ac_try) 2>&5
53569 ac_status=$?
53570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53571 (exit $ac_status); }; } &&
53572 { ac_try='test -s conftest.$ac_objext'
53573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53574 (eval $ac_try) 2>&5
53575 ac_status=$?
53576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53577 (exit $ac_status); }; }; then
53578 glibcxx_cv_func__long_double_trig_use=yes
53579 else
53580 echo "$as_me: failed program was:" >&5
53581 sed 's/^/| /' conftest.$ac_ext >&5
53582
53583 glibcxx_cv_func__long_double_trig_use=no
53584 fi
53585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53586 ac_ext=c
53587 ac_cpp='$CPP $CPPFLAGS'
53588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53591
53592 fi
53593
53594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53595 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53596 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53597
53598
53599
53600
53601
53602
53603
53604
53605
53606 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53607 do
53608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53609 echo "$as_me:$LINENO: checking for $ac_func" >&5
53610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53611 if eval "test \"\${$as_ac_var+set}\" = set"; then
53612 echo $ECHO_N "(cached) $ECHO_C" >&6
53613 else
53614 if test x$gcc_no_link = xyes; then
53615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53617 { (exit 1); exit 1; }; }
53618 fi
53619 cat >conftest.$ac_ext <<_ACEOF
53620 /* confdefs.h. */
53621 _ACEOF
53622 cat confdefs.h >>conftest.$ac_ext
53623 cat >>conftest.$ac_ext <<_ACEOF
53624 /* end confdefs.h. */
53625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53627 #define $ac_func innocuous_$ac_func
53628
53629 /* System header to define __stub macros and hopefully few prototypes,
53630 which can conflict with char $ac_func (); below.
53631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53632 <limits.h> exists even on freestanding compilers. */
53633
53634 #ifdef __STDC__
53635 # include <limits.h>
53636 #else
53637 # include <assert.h>
53638 #endif
53639
53640 #undef $ac_func
53641
53642 /* Override any gcc2 internal prototype to avoid an error. */
53643 #ifdef __cplusplus
53644 extern "C"
53645 {
53646 #endif
53647 /* We use char because int might match the return type of a gcc2
53648 builtin and then its argument prototype would still apply. */
53649 char $ac_func ();
53650 /* The GNU C library defines this for functions which it implements
53651 to always fail with ENOSYS. Some functions are actually named
53652 something starting with __ and the normal name is an alias. */
53653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53654 choke me
53655 #else
53656 char (*f) () = $ac_func;
53657 #endif
53658 #ifdef __cplusplus
53659 }
53660 #endif
53661
53662 int
53663 main ()
53664 {
53665 return f != $ac_func;
53666 ;
53667 return 0;
53668 }
53669 _ACEOF
53670 rm -f conftest.$ac_objext conftest$ac_exeext
53671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53672 (eval $ac_link) 2>conftest.er1
53673 ac_status=$?
53674 grep -v '^ *+' conftest.er1 >conftest.err
53675 rm -f conftest.er1
53676 cat conftest.err >&5
53677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53678 (exit $ac_status); } &&
53679 { ac_try='test -z "$ac_c_werror_flag"
53680 || test ! -s conftest.err'
53681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53682 (eval $ac_try) 2>&5
53683 ac_status=$?
53684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53685 (exit $ac_status); }; } &&
53686 { ac_try='test -s conftest$ac_exeext'
53687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53688 (eval $ac_try) 2>&5
53689 ac_status=$?
53690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53691 (exit $ac_status); }; }; then
53692 eval "$as_ac_var=yes"
53693 else
53694 echo "$as_me: failed program was:" >&5
53695 sed 's/^/| /' conftest.$ac_ext >&5
53696
53697 eval "$as_ac_var=no"
53698 fi
53699 rm -f conftest.err conftest.$ac_objext \
53700 conftest$ac_exeext conftest.$ac_ext
53701 fi
53702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53704 if test `eval echo '${'$as_ac_var'}'` = yes; then
53705 cat >>confdefs.h <<_ACEOF
53706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53707 _ACEOF
53708
53709 fi
53710 done
53711
53712 fi
53713 fi
53714
53715
53716
53717
53718
53719
53720
53721
53722
53723
53724
53725
53726
53727
53728 echo "$as_me:$LINENO: checking for long double round functions" >&5
53729 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53730 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53731 echo $ECHO_N "(cached) $ECHO_C" >&6
53732 else
53733
53734
53735
53736 ac_ext=cc
53737 ac_cpp='$CXXCPP $CPPFLAGS'
53738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53741
53742 cat >conftest.$ac_ext <<_ACEOF
53743 /* confdefs.h. */
53744 _ACEOF
53745 cat confdefs.h >>conftest.$ac_ext
53746 cat >>conftest.$ac_ext <<_ACEOF
53747 /* end confdefs.h. */
53748 #include <math.h>
53749 int
53750 main ()
53751 {
53752 ceill (0); floorl (0);
53753 ;
53754 return 0;
53755 }
53756 _ACEOF
53757 rm -f conftest.$ac_objext
53758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53759 (eval $ac_compile) 2>conftest.er1
53760 ac_status=$?
53761 grep -v '^ *+' conftest.er1 >conftest.err
53762 rm -f conftest.er1
53763 cat conftest.err >&5
53764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53765 (exit $ac_status); } &&
53766 { ac_try='test -z "$ac_cxx_werror_flag"
53767 || test ! -s conftest.err'
53768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53769 (eval $ac_try) 2>&5
53770 ac_status=$?
53771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53772 (exit $ac_status); }; } &&
53773 { ac_try='test -s conftest.$ac_objext'
53774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53775 (eval $ac_try) 2>&5
53776 ac_status=$?
53777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53778 (exit $ac_status); }; }; then
53779 glibcxx_cv_func_long_double_round_use=yes
53780 else
53781 echo "$as_me: failed program was:" >&5
53782 sed 's/^/| /' conftest.$ac_ext >&5
53783
53784 glibcxx_cv_func_long_double_round_use=no
53785 fi
53786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53787 ac_ext=c
53788 ac_cpp='$CPP $CPPFLAGS'
53789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53792
53793 fi
53794
53795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53796 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53797 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53798
53799
53800 for ac_func in ceill floorl
53801 do
53802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53803 echo "$as_me:$LINENO: checking for $ac_func" >&5
53804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53805 if eval "test \"\${$as_ac_var+set}\" = set"; then
53806 echo $ECHO_N "(cached) $ECHO_C" >&6
53807 else
53808 if test x$gcc_no_link = xyes; then
53809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53811 { (exit 1); exit 1; }; }
53812 fi
53813 cat >conftest.$ac_ext <<_ACEOF
53814 /* confdefs.h. */
53815 _ACEOF
53816 cat confdefs.h >>conftest.$ac_ext
53817 cat >>conftest.$ac_ext <<_ACEOF
53818 /* end confdefs.h. */
53819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53821 #define $ac_func innocuous_$ac_func
53822
53823 /* System header to define __stub macros and hopefully few prototypes,
53824 which can conflict with char $ac_func (); below.
53825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53826 <limits.h> exists even on freestanding compilers. */
53827
53828 #ifdef __STDC__
53829 # include <limits.h>
53830 #else
53831 # include <assert.h>
53832 #endif
53833
53834 #undef $ac_func
53835
53836 /* Override any gcc2 internal prototype to avoid an error. */
53837 #ifdef __cplusplus
53838 extern "C"
53839 {
53840 #endif
53841 /* We use char because int might match the return type of a gcc2
53842 builtin and then its argument prototype would still apply. */
53843 char $ac_func ();
53844 /* The GNU C library defines this for functions which it implements
53845 to always fail with ENOSYS. Some functions are actually named
53846 something starting with __ and the normal name is an alias. */
53847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53848 choke me
53849 #else
53850 char (*f) () = $ac_func;
53851 #endif
53852 #ifdef __cplusplus
53853 }
53854 #endif
53855
53856 int
53857 main ()
53858 {
53859 return f != $ac_func;
53860 ;
53861 return 0;
53862 }
53863 _ACEOF
53864 rm -f conftest.$ac_objext conftest$ac_exeext
53865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53866 (eval $ac_link) 2>conftest.er1
53867 ac_status=$?
53868 grep -v '^ *+' conftest.er1 >conftest.err
53869 rm -f conftest.er1
53870 cat conftest.err >&5
53871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53872 (exit $ac_status); } &&
53873 { ac_try='test -z "$ac_c_werror_flag"
53874 || test ! -s conftest.err'
53875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53876 (eval $ac_try) 2>&5
53877 ac_status=$?
53878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53879 (exit $ac_status); }; } &&
53880 { ac_try='test -s conftest$ac_exeext'
53881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53882 (eval $ac_try) 2>&5
53883 ac_status=$?
53884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53885 (exit $ac_status); }; }; then
53886 eval "$as_ac_var=yes"
53887 else
53888 echo "$as_me: failed program was:" >&5
53889 sed 's/^/| /' conftest.$ac_ext >&5
53890
53891 eval "$as_ac_var=no"
53892 fi
53893 rm -f conftest.err conftest.$ac_objext \
53894 conftest$ac_exeext conftest.$ac_ext
53895 fi
53896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53898 if test `eval echo '${'$as_ac_var'}'` = yes; then
53899 cat >>confdefs.h <<_ACEOF
53900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53901 _ACEOF
53902
53903 fi
53904 done
53905
53906 else
53907 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53908 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53909 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53910 echo $ECHO_N "(cached) $ECHO_C" >&6
53911 else
53912
53913
53914
53915 ac_ext=cc
53916 ac_cpp='$CXXCPP $CPPFLAGS'
53917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53920
53921 cat >conftest.$ac_ext <<_ACEOF
53922 /* confdefs.h. */
53923 _ACEOF
53924 cat confdefs.h >>conftest.$ac_ext
53925 cat >>conftest.$ac_ext <<_ACEOF
53926 /* end confdefs.h. */
53927 #include <math.h>
53928 int
53929 main ()
53930 {
53931 _ceill (0); _floorl (0);
53932 ;
53933 return 0;
53934 }
53935 _ACEOF
53936 rm -f conftest.$ac_objext
53937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53938 (eval $ac_compile) 2>conftest.er1
53939 ac_status=$?
53940 grep -v '^ *+' conftest.er1 >conftest.err
53941 rm -f conftest.er1
53942 cat conftest.err >&5
53943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53944 (exit $ac_status); } &&
53945 { ac_try='test -z "$ac_cxx_werror_flag"
53946 || test ! -s conftest.err'
53947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53948 (eval $ac_try) 2>&5
53949 ac_status=$?
53950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53951 (exit $ac_status); }; } &&
53952 { ac_try='test -s conftest.$ac_objext'
53953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53954 (eval $ac_try) 2>&5
53955 ac_status=$?
53956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53957 (exit $ac_status); }; }; then
53958 glibcxx_cv_func__long_double_round_use=yes
53959 else
53960 echo "$as_me: failed program was:" >&5
53961 sed 's/^/| /' conftest.$ac_ext >&5
53962
53963 glibcxx_cv_func__long_double_round_use=no
53964 fi
53965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53966 ac_ext=c
53967 ac_cpp='$CPP $CPPFLAGS'
53968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53971
53972 fi
53973
53974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53975 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53976 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53977
53978
53979 for ac_func in _ceill _floorl
53980 do
53981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53982 echo "$as_me:$LINENO: checking for $ac_func" >&5
53983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53984 if eval "test \"\${$as_ac_var+set}\" = set"; then
53985 echo $ECHO_N "(cached) $ECHO_C" >&6
53986 else
53987 if test x$gcc_no_link = xyes; then
53988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53990 { (exit 1); exit 1; }; }
53991 fi
53992 cat >conftest.$ac_ext <<_ACEOF
53993 /* confdefs.h. */
53994 _ACEOF
53995 cat confdefs.h >>conftest.$ac_ext
53996 cat >>conftest.$ac_ext <<_ACEOF
53997 /* end confdefs.h. */
53998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54000 #define $ac_func innocuous_$ac_func
54001
54002 /* System header to define __stub macros and hopefully few prototypes,
54003 which can conflict with char $ac_func (); below.
54004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54005 <limits.h> exists even on freestanding compilers. */
54006
54007 #ifdef __STDC__
54008 # include <limits.h>
54009 #else
54010 # include <assert.h>
54011 #endif
54012
54013 #undef $ac_func
54014
54015 /* Override any gcc2 internal prototype to avoid an error. */
54016 #ifdef __cplusplus
54017 extern "C"
54018 {
54019 #endif
54020 /* We use char because int might match the return type of a gcc2
54021 builtin and then its argument prototype would still apply. */
54022 char $ac_func ();
54023 /* The GNU C library defines this for functions which it implements
54024 to always fail with ENOSYS. Some functions are actually named
54025 something starting with __ and the normal name is an alias. */
54026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54027 choke me
54028 #else
54029 char (*f) () = $ac_func;
54030 #endif
54031 #ifdef __cplusplus
54032 }
54033 #endif
54034
54035 int
54036 main ()
54037 {
54038 return f != $ac_func;
54039 ;
54040 return 0;
54041 }
54042 _ACEOF
54043 rm -f conftest.$ac_objext conftest$ac_exeext
54044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54045 (eval $ac_link) 2>conftest.er1
54046 ac_status=$?
54047 grep -v '^ *+' conftest.er1 >conftest.err
54048 rm -f conftest.er1
54049 cat conftest.err >&5
54050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54051 (exit $ac_status); } &&
54052 { ac_try='test -z "$ac_c_werror_flag"
54053 || test ! -s conftest.err'
54054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54055 (eval $ac_try) 2>&5
54056 ac_status=$?
54057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54058 (exit $ac_status); }; } &&
54059 { ac_try='test -s conftest$ac_exeext'
54060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54061 (eval $ac_try) 2>&5
54062 ac_status=$?
54063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54064 (exit $ac_status); }; }; then
54065 eval "$as_ac_var=yes"
54066 else
54067 echo "$as_me: failed program was:" >&5
54068 sed 's/^/| /' conftest.$ac_ext >&5
54069
54070 eval "$as_ac_var=no"
54071 fi
54072 rm -f conftest.err conftest.$ac_objext \
54073 conftest$ac_exeext conftest.$ac_ext
54074 fi
54075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54077 if test `eval echo '${'$as_ac_var'}'` = yes; then
54078 cat >>confdefs.h <<_ACEOF
54079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54080 _ACEOF
54081
54082 fi
54083 done
54084
54085 fi
54086 fi
54087
54088
54089
54090
54091
54092
54093
54094
54095 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54096 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54097 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54098 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54099 echo $ECHO_N "(cached) $ECHO_C" >&6
54100 else
54101
54102
54103
54104 ac_ext=cc
54105 ac_cpp='$CXXCPP $CPPFLAGS'
54106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54109
54110 cat >conftest.$ac_ext <<_ACEOF
54111 /* confdefs.h. */
54112 _ACEOF
54113 cat confdefs.h >>conftest.$ac_ext
54114 cat >>conftest.$ac_ext <<_ACEOF
54115 /* end confdefs.h. */
54116 #include <math.h>
54117 #ifdef HAVE_IEEEFP_H
54118 #include <ieeefp.h>
54119 #endif
54120
54121 int
54122 main ()
54123 {
54124 isnanl(0);
54125 ;
54126 return 0;
54127 }
54128 _ACEOF
54129 rm -f conftest.$ac_objext
54130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54131 (eval $ac_compile) 2>conftest.er1
54132 ac_status=$?
54133 grep -v '^ *+' conftest.er1 >conftest.err
54134 rm -f conftest.er1
54135 cat conftest.err >&5
54136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54137 (exit $ac_status); } &&
54138 { ac_try='test -z "$ac_cxx_werror_flag"
54139 || test ! -s conftest.err'
54140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54141 (eval $ac_try) 2>&5
54142 ac_status=$?
54143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54144 (exit $ac_status); }; } &&
54145 { ac_try='test -s conftest.$ac_objext'
54146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54147 (eval $ac_try) 2>&5
54148 ac_status=$?
54149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54150 (exit $ac_status); }; }; then
54151 glibcxx_cv_func_isnanl_use=yes
54152 else
54153 echo "$as_me: failed program was:" >&5
54154 sed 's/^/| /' conftest.$ac_ext >&5
54155
54156 glibcxx_cv_func_isnanl_use=no
54157 fi
54158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54159 ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54164
54165
54166 fi
54167
54168 fi
54169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54170 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54171
54172 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54173
54174 for ac_func in isnanl
54175 do
54176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54177 echo "$as_me:$LINENO: checking for $ac_func" >&5
54178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54179 if eval "test \"\${$as_ac_var+set}\" = set"; then
54180 echo $ECHO_N "(cached) $ECHO_C" >&6
54181 else
54182 if test x$gcc_no_link = xyes; then
54183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54185 { (exit 1); exit 1; }; }
54186 fi
54187 cat >conftest.$ac_ext <<_ACEOF
54188 /* confdefs.h. */
54189 _ACEOF
54190 cat confdefs.h >>conftest.$ac_ext
54191 cat >>conftest.$ac_ext <<_ACEOF
54192 /* end confdefs.h. */
54193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54195 #define $ac_func innocuous_$ac_func
54196
54197 /* System header to define __stub macros and hopefully few prototypes,
54198 which can conflict with char $ac_func (); below.
54199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54200 <limits.h> exists even on freestanding compilers. */
54201
54202 #ifdef __STDC__
54203 # include <limits.h>
54204 #else
54205 # include <assert.h>
54206 #endif
54207
54208 #undef $ac_func
54209
54210 /* Override any gcc2 internal prototype to avoid an error. */
54211 #ifdef __cplusplus
54212 extern "C"
54213 {
54214 #endif
54215 /* We use char because int might match the return type of a gcc2
54216 builtin and then its argument prototype would still apply. */
54217 char $ac_func ();
54218 /* The GNU C library defines this for functions which it implements
54219 to always fail with ENOSYS. Some functions are actually named
54220 something starting with __ and the normal name is an alias. */
54221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54222 choke me
54223 #else
54224 char (*f) () = $ac_func;
54225 #endif
54226 #ifdef __cplusplus
54227 }
54228 #endif
54229
54230 int
54231 main ()
54232 {
54233 return f != $ac_func;
54234 ;
54235 return 0;
54236 }
54237 _ACEOF
54238 rm -f conftest.$ac_objext conftest$ac_exeext
54239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54240 (eval $ac_link) 2>conftest.er1
54241 ac_status=$?
54242 grep -v '^ *+' conftest.er1 >conftest.err
54243 rm -f conftest.er1
54244 cat conftest.err >&5
54245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54246 (exit $ac_status); } &&
54247 { ac_try='test -z "$ac_c_werror_flag"
54248 || test ! -s conftest.err'
54249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54250 (eval $ac_try) 2>&5
54251 ac_status=$?
54252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54253 (exit $ac_status); }; } &&
54254 { ac_try='test -s conftest$ac_exeext'
54255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54256 (eval $ac_try) 2>&5
54257 ac_status=$?
54258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54259 (exit $ac_status); }; }; then
54260 eval "$as_ac_var=yes"
54261 else
54262 echo "$as_me: failed program was:" >&5
54263 sed 's/^/| /' conftest.$ac_ext >&5
54264
54265 eval "$as_ac_var=no"
54266 fi
54267 rm -f conftest.err conftest.$ac_objext \
54268 conftest$ac_exeext conftest.$ac_ext
54269 fi
54270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54272 if test `eval echo '${'$as_ac_var'}'` = yes; then
54273 cat >>confdefs.h <<_ACEOF
54274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54275 _ACEOF
54276
54277 fi
54278 done
54279
54280 else
54281
54282 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54283 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54284 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54285 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54286 echo $ECHO_N "(cached) $ECHO_C" >&6
54287 else
54288
54289
54290
54291 ac_ext=cc
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54296
54297 cat >conftest.$ac_ext <<_ACEOF
54298 /* confdefs.h. */
54299 _ACEOF
54300 cat confdefs.h >>conftest.$ac_ext
54301 cat >>conftest.$ac_ext <<_ACEOF
54302 /* end confdefs.h. */
54303 #include <math.h>
54304 #ifdef HAVE_IEEEFP_H
54305 #include <ieeefp.h>
54306 #endif
54307
54308 int
54309 main ()
54310 {
54311 _isnanl(0);
54312 ;
54313 return 0;
54314 }
54315 _ACEOF
54316 rm -f conftest.$ac_objext
54317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54318 (eval $ac_compile) 2>conftest.er1
54319 ac_status=$?
54320 grep -v '^ *+' conftest.er1 >conftest.err
54321 rm -f conftest.er1
54322 cat conftest.err >&5
54323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54324 (exit $ac_status); } &&
54325 { ac_try='test -z "$ac_cxx_werror_flag"
54326 || test ! -s conftest.err'
54327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54328 (eval $ac_try) 2>&5
54329 ac_status=$?
54330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54331 (exit $ac_status); }; } &&
54332 { ac_try='test -s conftest.$ac_objext'
54333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54334 (eval $ac_try) 2>&5
54335 ac_status=$?
54336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54337 (exit $ac_status); }; }; then
54338 glibcxx_cv_func__isnanl_use=yes
54339 else
54340 echo "$as_me: failed program was:" >&5
54341 sed 's/^/| /' conftest.$ac_ext >&5
54342
54343 glibcxx_cv_func__isnanl_use=no
54344 fi
54345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54346 ac_ext=c
54347 ac_cpp='$CPP $CPPFLAGS'
54348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54351
54352
54353 fi
54354
54355 fi
54356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54357 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54358
54359 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54360
54361 for ac_func in _isnanl
54362 do
54363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54364 echo "$as_me:$LINENO: checking for $ac_func" >&5
54365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54366 if eval "test \"\${$as_ac_var+set}\" = set"; then
54367 echo $ECHO_N "(cached) $ECHO_C" >&6
54368 else
54369 if test x$gcc_no_link = xyes; then
54370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54372 { (exit 1); exit 1; }; }
54373 fi
54374 cat >conftest.$ac_ext <<_ACEOF
54375 /* confdefs.h. */
54376 _ACEOF
54377 cat confdefs.h >>conftest.$ac_ext
54378 cat >>conftest.$ac_ext <<_ACEOF
54379 /* end confdefs.h. */
54380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54382 #define $ac_func innocuous_$ac_func
54383
54384 /* System header to define __stub macros and hopefully few prototypes,
54385 which can conflict with char $ac_func (); below.
54386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54387 <limits.h> exists even on freestanding compilers. */
54388
54389 #ifdef __STDC__
54390 # include <limits.h>
54391 #else
54392 # include <assert.h>
54393 #endif
54394
54395 #undef $ac_func
54396
54397 /* Override any gcc2 internal prototype to avoid an error. */
54398 #ifdef __cplusplus
54399 extern "C"
54400 {
54401 #endif
54402 /* We use char because int might match the return type of a gcc2
54403 builtin and then its argument prototype would still apply. */
54404 char $ac_func ();
54405 /* The GNU C library defines this for functions which it implements
54406 to always fail with ENOSYS. Some functions are actually named
54407 something starting with __ and the normal name is an alias. */
54408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54409 choke me
54410 #else
54411 char (*f) () = $ac_func;
54412 #endif
54413 #ifdef __cplusplus
54414 }
54415 #endif
54416
54417 int
54418 main ()
54419 {
54420 return f != $ac_func;
54421 ;
54422 return 0;
54423 }
54424 _ACEOF
54425 rm -f conftest.$ac_objext conftest$ac_exeext
54426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54427 (eval $ac_link) 2>conftest.er1
54428 ac_status=$?
54429 grep -v '^ *+' conftest.er1 >conftest.err
54430 rm -f conftest.er1
54431 cat conftest.err >&5
54432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54433 (exit $ac_status); } &&
54434 { ac_try='test -z "$ac_c_werror_flag"
54435 || test ! -s conftest.err'
54436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54437 (eval $ac_try) 2>&5
54438 ac_status=$?
54439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54440 (exit $ac_status); }; } &&
54441 { ac_try='test -s conftest$ac_exeext'
54442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54443 (eval $ac_try) 2>&5
54444 ac_status=$?
54445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54446 (exit $ac_status); }; }; then
54447 eval "$as_ac_var=yes"
54448 else
54449 echo "$as_me: failed program was:" >&5
54450 sed 's/^/| /' conftest.$ac_ext >&5
54451
54452 eval "$as_ac_var=no"
54453 fi
54454 rm -f conftest.err conftest.$ac_objext \
54455 conftest$ac_exeext conftest.$ac_ext
54456 fi
54457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54459 if test `eval echo '${'$as_ac_var'}'` = yes; then
54460 cat >>confdefs.h <<_ACEOF
54461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54462 _ACEOF
54463
54464 fi
54465 done
54466
54467 fi
54468 fi
54469
54470
54471
54472
54473
54474
54475 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54476 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54477 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54478 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54479 echo $ECHO_N "(cached) $ECHO_C" >&6
54480 else
54481
54482
54483
54484 ac_ext=cc
54485 ac_cpp='$CXXCPP $CPPFLAGS'
54486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54489
54490 cat >conftest.$ac_ext <<_ACEOF
54491 /* confdefs.h. */
54492 _ACEOF
54493 cat confdefs.h >>conftest.$ac_ext
54494 cat >>conftest.$ac_ext <<_ACEOF
54495 /* end confdefs.h. */
54496 #include <math.h>
54497 #ifdef HAVE_IEEEFP_H
54498 #include <ieeefp.h>
54499 #endif
54500
54501 int
54502 main ()
54503 {
54504 isinfl(0);
54505 ;
54506 return 0;
54507 }
54508 _ACEOF
54509 rm -f conftest.$ac_objext
54510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54511 (eval $ac_compile) 2>conftest.er1
54512 ac_status=$?
54513 grep -v '^ *+' conftest.er1 >conftest.err
54514 rm -f conftest.er1
54515 cat conftest.err >&5
54516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54517 (exit $ac_status); } &&
54518 { ac_try='test -z "$ac_cxx_werror_flag"
54519 || test ! -s conftest.err'
54520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54521 (eval $ac_try) 2>&5
54522 ac_status=$?
54523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54524 (exit $ac_status); }; } &&
54525 { ac_try='test -s conftest.$ac_objext'
54526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54527 (eval $ac_try) 2>&5
54528 ac_status=$?
54529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530 (exit $ac_status); }; }; then
54531 glibcxx_cv_func_isinfl_use=yes
54532 else
54533 echo "$as_me: failed program was:" >&5
54534 sed 's/^/| /' conftest.$ac_ext >&5
54535
54536 glibcxx_cv_func_isinfl_use=no
54537 fi
54538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54539 ac_ext=c
54540 ac_cpp='$CPP $CPPFLAGS'
54541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54544
54545
54546 fi
54547
54548 fi
54549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54550 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54551
54552 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54553
54554 for ac_func in isinfl
54555 do
54556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54557 echo "$as_me:$LINENO: checking for $ac_func" >&5
54558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54559 if eval "test \"\${$as_ac_var+set}\" = set"; then
54560 echo $ECHO_N "(cached) $ECHO_C" >&6
54561 else
54562 if test x$gcc_no_link = xyes; then
54563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54565 { (exit 1); exit 1; }; }
54566 fi
54567 cat >conftest.$ac_ext <<_ACEOF
54568 /* confdefs.h. */
54569 _ACEOF
54570 cat confdefs.h >>conftest.$ac_ext
54571 cat >>conftest.$ac_ext <<_ACEOF
54572 /* end confdefs.h. */
54573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54575 #define $ac_func innocuous_$ac_func
54576
54577 /* System header to define __stub macros and hopefully few prototypes,
54578 which can conflict with char $ac_func (); below.
54579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54580 <limits.h> exists even on freestanding compilers. */
54581
54582 #ifdef __STDC__
54583 # include <limits.h>
54584 #else
54585 # include <assert.h>
54586 #endif
54587
54588 #undef $ac_func
54589
54590 /* Override any gcc2 internal prototype to avoid an error. */
54591 #ifdef __cplusplus
54592 extern "C"
54593 {
54594 #endif
54595 /* We use char because int might match the return type of a gcc2
54596 builtin and then its argument prototype would still apply. */
54597 char $ac_func ();
54598 /* The GNU C library defines this for functions which it implements
54599 to always fail with ENOSYS. Some functions are actually named
54600 something starting with __ and the normal name is an alias. */
54601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54602 choke me
54603 #else
54604 char (*f) () = $ac_func;
54605 #endif
54606 #ifdef __cplusplus
54607 }
54608 #endif
54609
54610 int
54611 main ()
54612 {
54613 return f != $ac_func;
54614 ;
54615 return 0;
54616 }
54617 _ACEOF
54618 rm -f conftest.$ac_objext conftest$ac_exeext
54619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54620 (eval $ac_link) 2>conftest.er1
54621 ac_status=$?
54622 grep -v '^ *+' conftest.er1 >conftest.err
54623 rm -f conftest.er1
54624 cat conftest.err >&5
54625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54626 (exit $ac_status); } &&
54627 { ac_try='test -z "$ac_c_werror_flag"
54628 || test ! -s conftest.err'
54629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54630 (eval $ac_try) 2>&5
54631 ac_status=$?
54632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54633 (exit $ac_status); }; } &&
54634 { ac_try='test -s conftest$ac_exeext'
54635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54636 (eval $ac_try) 2>&5
54637 ac_status=$?
54638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54639 (exit $ac_status); }; }; then
54640 eval "$as_ac_var=yes"
54641 else
54642 echo "$as_me: failed program was:" >&5
54643 sed 's/^/| /' conftest.$ac_ext >&5
54644
54645 eval "$as_ac_var=no"
54646 fi
54647 rm -f conftest.err conftest.$ac_objext \
54648 conftest$ac_exeext conftest.$ac_ext
54649 fi
54650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54652 if test `eval echo '${'$as_ac_var'}'` = yes; then
54653 cat >>confdefs.h <<_ACEOF
54654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54655 _ACEOF
54656
54657 fi
54658 done
54659
54660 else
54661
54662 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54663 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54664 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54665 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54666 echo $ECHO_N "(cached) $ECHO_C" >&6
54667 else
54668
54669
54670
54671 ac_ext=cc
54672 ac_cpp='$CXXCPP $CPPFLAGS'
54673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54676
54677 cat >conftest.$ac_ext <<_ACEOF
54678 /* confdefs.h. */
54679 _ACEOF
54680 cat confdefs.h >>conftest.$ac_ext
54681 cat >>conftest.$ac_ext <<_ACEOF
54682 /* end confdefs.h. */
54683 #include <math.h>
54684 #ifdef HAVE_IEEEFP_H
54685 #include <ieeefp.h>
54686 #endif
54687
54688 int
54689 main ()
54690 {
54691 _isinfl(0);
54692 ;
54693 return 0;
54694 }
54695 _ACEOF
54696 rm -f conftest.$ac_objext
54697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54698 (eval $ac_compile) 2>conftest.er1
54699 ac_status=$?
54700 grep -v '^ *+' conftest.er1 >conftest.err
54701 rm -f conftest.er1
54702 cat conftest.err >&5
54703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54704 (exit $ac_status); } &&
54705 { ac_try='test -z "$ac_cxx_werror_flag"
54706 || test ! -s conftest.err'
54707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54708 (eval $ac_try) 2>&5
54709 ac_status=$?
54710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54711 (exit $ac_status); }; } &&
54712 { ac_try='test -s conftest.$ac_objext'
54713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54714 (eval $ac_try) 2>&5
54715 ac_status=$?
54716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54717 (exit $ac_status); }; }; then
54718 glibcxx_cv_func__isinfl_use=yes
54719 else
54720 echo "$as_me: failed program was:" >&5
54721 sed 's/^/| /' conftest.$ac_ext >&5
54722
54723 glibcxx_cv_func__isinfl_use=no
54724 fi
54725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54726 ac_ext=c
54727 ac_cpp='$CPP $CPPFLAGS'
54728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54731
54732
54733 fi
54734
54735 fi
54736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54737 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54738
54739 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54740
54741 for ac_func in _isinfl
54742 do
54743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54744 echo "$as_me:$LINENO: checking for $ac_func" >&5
54745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54746 if eval "test \"\${$as_ac_var+set}\" = set"; then
54747 echo $ECHO_N "(cached) $ECHO_C" >&6
54748 else
54749 if test x$gcc_no_link = xyes; then
54750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54752 { (exit 1); exit 1; }; }
54753 fi
54754 cat >conftest.$ac_ext <<_ACEOF
54755 /* confdefs.h. */
54756 _ACEOF
54757 cat confdefs.h >>conftest.$ac_ext
54758 cat >>conftest.$ac_ext <<_ACEOF
54759 /* end confdefs.h. */
54760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54762 #define $ac_func innocuous_$ac_func
54763
54764 /* System header to define __stub macros and hopefully few prototypes,
54765 which can conflict with char $ac_func (); below.
54766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54767 <limits.h> exists even on freestanding compilers. */
54768
54769 #ifdef __STDC__
54770 # include <limits.h>
54771 #else
54772 # include <assert.h>
54773 #endif
54774
54775 #undef $ac_func
54776
54777 /* Override any gcc2 internal prototype to avoid an error. */
54778 #ifdef __cplusplus
54779 extern "C"
54780 {
54781 #endif
54782 /* We use char because int might match the return type of a gcc2
54783 builtin and then its argument prototype would still apply. */
54784 char $ac_func ();
54785 /* The GNU C library defines this for functions which it implements
54786 to always fail with ENOSYS. Some functions are actually named
54787 something starting with __ and the normal name is an alias. */
54788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54789 choke me
54790 #else
54791 char (*f) () = $ac_func;
54792 #endif
54793 #ifdef __cplusplus
54794 }
54795 #endif
54796
54797 int
54798 main ()
54799 {
54800 return f != $ac_func;
54801 ;
54802 return 0;
54803 }
54804 _ACEOF
54805 rm -f conftest.$ac_objext conftest$ac_exeext
54806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54807 (eval $ac_link) 2>conftest.er1
54808 ac_status=$?
54809 grep -v '^ *+' conftest.er1 >conftest.err
54810 rm -f conftest.er1
54811 cat conftest.err >&5
54812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54813 (exit $ac_status); } &&
54814 { ac_try='test -z "$ac_c_werror_flag"
54815 || test ! -s conftest.err'
54816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54817 (eval $ac_try) 2>&5
54818 ac_status=$?
54819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54820 (exit $ac_status); }; } &&
54821 { ac_try='test -s conftest$ac_exeext'
54822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54823 (eval $ac_try) 2>&5
54824 ac_status=$?
54825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54826 (exit $ac_status); }; }; then
54827 eval "$as_ac_var=yes"
54828 else
54829 echo "$as_me: failed program was:" >&5
54830 sed 's/^/| /' conftest.$ac_ext >&5
54831
54832 eval "$as_ac_var=no"
54833 fi
54834 rm -f conftest.err conftest.$ac_objext \
54835 conftest$ac_exeext conftest.$ac_ext
54836 fi
54837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54839 if test `eval echo '${'$as_ac_var'}'` = yes; then
54840 cat >>confdefs.h <<_ACEOF
54841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54842 _ACEOF
54843
54844 fi
54845 done
54846
54847 fi
54848 fi
54849
54850
54851
54852
54853
54854
54855 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54856 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54857 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54858 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54859 echo $ECHO_N "(cached) $ECHO_C" >&6
54860 else
54861
54862
54863
54864 ac_ext=cc
54865 ac_cpp='$CXXCPP $CPPFLAGS'
54866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54869
54870 cat >conftest.$ac_ext <<_ACEOF
54871 /* confdefs.h. */
54872 _ACEOF
54873 cat confdefs.h >>conftest.$ac_ext
54874 cat >>conftest.$ac_ext <<_ACEOF
54875 /* end confdefs.h. */
54876 #include <math.h>
54877 int
54878 main ()
54879 {
54880 copysignl(0, 0);
54881 ;
54882 return 0;
54883 }
54884 _ACEOF
54885 rm -f conftest.$ac_objext
54886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54887 (eval $ac_compile) 2>conftest.er1
54888 ac_status=$?
54889 grep -v '^ *+' conftest.er1 >conftest.err
54890 rm -f conftest.er1
54891 cat conftest.err >&5
54892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54893 (exit $ac_status); } &&
54894 { ac_try='test -z "$ac_cxx_werror_flag"
54895 || test ! -s conftest.err'
54896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54897 (eval $ac_try) 2>&5
54898 ac_status=$?
54899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54900 (exit $ac_status); }; } &&
54901 { ac_try='test -s conftest.$ac_objext'
54902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54903 (eval $ac_try) 2>&5
54904 ac_status=$?
54905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54906 (exit $ac_status); }; }; then
54907 glibcxx_cv_func_copysignl_use=yes
54908 else
54909 echo "$as_me: failed program was:" >&5
54910 sed 's/^/| /' conftest.$ac_ext >&5
54911
54912 glibcxx_cv_func_copysignl_use=no
54913 fi
54914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54915 ac_ext=c
54916 ac_cpp='$CPP $CPPFLAGS'
54917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54920
54921
54922 fi
54923
54924 fi
54925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54926 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54927
54928 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54929
54930 for ac_func in copysignl
54931 do
54932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54933 echo "$as_me:$LINENO: checking for $ac_func" >&5
54934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54935 if eval "test \"\${$as_ac_var+set}\" = set"; then
54936 echo $ECHO_N "(cached) $ECHO_C" >&6
54937 else
54938 if test x$gcc_no_link = xyes; then
54939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54941 { (exit 1); exit 1; }; }
54942 fi
54943 cat >conftest.$ac_ext <<_ACEOF
54944 /* confdefs.h. */
54945 _ACEOF
54946 cat confdefs.h >>conftest.$ac_ext
54947 cat >>conftest.$ac_ext <<_ACEOF
54948 /* end confdefs.h. */
54949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54951 #define $ac_func innocuous_$ac_func
54952
54953 /* System header to define __stub macros and hopefully few prototypes,
54954 which can conflict with char $ac_func (); below.
54955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54956 <limits.h> exists even on freestanding compilers. */
54957
54958 #ifdef __STDC__
54959 # include <limits.h>
54960 #else
54961 # include <assert.h>
54962 #endif
54963
54964 #undef $ac_func
54965
54966 /* Override any gcc2 internal prototype to avoid an error. */
54967 #ifdef __cplusplus
54968 extern "C"
54969 {
54970 #endif
54971 /* We use char because int might match the return type of a gcc2
54972 builtin and then its argument prototype would still apply. */
54973 char $ac_func ();
54974 /* The GNU C library defines this for functions which it implements
54975 to always fail with ENOSYS. Some functions are actually named
54976 something starting with __ and the normal name is an alias. */
54977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54978 choke me
54979 #else
54980 char (*f) () = $ac_func;
54981 #endif
54982 #ifdef __cplusplus
54983 }
54984 #endif
54985
54986 int
54987 main ()
54988 {
54989 return f != $ac_func;
54990 ;
54991 return 0;
54992 }
54993 _ACEOF
54994 rm -f conftest.$ac_objext conftest$ac_exeext
54995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54996 (eval $ac_link) 2>conftest.er1
54997 ac_status=$?
54998 grep -v '^ *+' conftest.er1 >conftest.err
54999 rm -f conftest.er1
55000 cat conftest.err >&5
55001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55002 (exit $ac_status); } &&
55003 { ac_try='test -z "$ac_c_werror_flag"
55004 || test ! -s conftest.err'
55005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55006 (eval $ac_try) 2>&5
55007 ac_status=$?
55008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55009 (exit $ac_status); }; } &&
55010 { ac_try='test -s conftest$ac_exeext'
55011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55012 (eval $ac_try) 2>&5
55013 ac_status=$?
55014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55015 (exit $ac_status); }; }; then
55016 eval "$as_ac_var=yes"
55017 else
55018 echo "$as_me: failed program was:" >&5
55019 sed 's/^/| /' conftest.$ac_ext >&5
55020
55021 eval "$as_ac_var=no"
55022 fi
55023 rm -f conftest.err conftest.$ac_objext \
55024 conftest$ac_exeext conftest.$ac_ext
55025 fi
55026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55028 if test `eval echo '${'$as_ac_var'}'` = yes; then
55029 cat >>confdefs.h <<_ACEOF
55030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55031 _ACEOF
55032
55033 fi
55034 done
55035
55036 else
55037
55038 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55039 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55040 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55041 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55042 echo $ECHO_N "(cached) $ECHO_C" >&6
55043 else
55044
55045
55046
55047 ac_ext=cc
55048 ac_cpp='$CXXCPP $CPPFLAGS'
55049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55052
55053 cat >conftest.$ac_ext <<_ACEOF
55054 /* confdefs.h. */
55055 _ACEOF
55056 cat confdefs.h >>conftest.$ac_ext
55057 cat >>conftest.$ac_ext <<_ACEOF
55058 /* end confdefs.h. */
55059 #include <math.h>
55060 int
55061 main ()
55062 {
55063 _copysignl(0, 0);
55064 ;
55065 return 0;
55066 }
55067 _ACEOF
55068 rm -f conftest.$ac_objext
55069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55070 (eval $ac_compile) 2>conftest.er1
55071 ac_status=$?
55072 grep -v '^ *+' conftest.er1 >conftest.err
55073 rm -f conftest.er1
55074 cat conftest.err >&5
55075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55076 (exit $ac_status); } &&
55077 { ac_try='test -z "$ac_cxx_werror_flag"
55078 || test ! -s conftest.err'
55079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55080 (eval $ac_try) 2>&5
55081 ac_status=$?
55082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55083 (exit $ac_status); }; } &&
55084 { ac_try='test -s conftest.$ac_objext'
55085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55086 (eval $ac_try) 2>&5
55087 ac_status=$?
55088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55089 (exit $ac_status); }; }; then
55090 glibcxx_cv_func__copysignl_use=yes
55091 else
55092 echo "$as_me: failed program was:" >&5
55093 sed 's/^/| /' conftest.$ac_ext >&5
55094
55095 glibcxx_cv_func__copysignl_use=no
55096 fi
55097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55098 ac_ext=c
55099 ac_cpp='$CPP $CPPFLAGS'
55100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55103
55104
55105 fi
55106
55107 fi
55108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55109 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55110
55111 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55112
55113 for ac_func in _copysignl
55114 do
55115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55116 echo "$as_me:$LINENO: checking for $ac_func" >&5
55117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55118 if eval "test \"\${$as_ac_var+set}\" = set"; then
55119 echo $ECHO_N "(cached) $ECHO_C" >&6
55120 else
55121 if test x$gcc_no_link = xyes; then
55122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55124 { (exit 1); exit 1; }; }
55125 fi
55126 cat >conftest.$ac_ext <<_ACEOF
55127 /* confdefs.h. */
55128 _ACEOF
55129 cat confdefs.h >>conftest.$ac_ext
55130 cat >>conftest.$ac_ext <<_ACEOF
55131 /* end confdefs.h. */
55132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55134 #define $ac_func innocuous_$ac_func
55135
55136 /* System header to define __stub macros and hopefully few prototypes,
55137 which can conflict with char $ac_func (); below.
55138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55139 <limits.h> exists even on freestanding compilers. */
55140
55141 #ifdef __STDC__
55142 # include <limits.h>
55143 #else
55144 # include <assert.h>
55145 #endif
55146
55147 #undef $ac_func
55148
55149 /* Override any gcc2 internal prototype to avoid an error. */
55150 #ifdef __cplusplus
55151 extern "C"
55152 {
55153 #endif
55154 /* We use char because int might match the return type of a gcc2
55155 builtin and then its argument prototype would still apply. */
55156 char $ac_func ();
55157 /* The GNU C library defines this for functions which it implements
55158 to always fail with ENOSYS. Some functions are actually named
55159 something starting with __ and the normal name is an alias. */
55160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55161 choke me
55162 #else
55163 char (*f) () = $ac_func;
55164 #endif
55165 #ifdef __cplusplus
55166 }
55167 #endif
55168
55169 int
55170 main ()
55171 {
55172 return f != $ac_func;
55173 ;
55174 return 0;
55175 }
55176 _ACEOF
55177 rm -f conftest.$ac_objext conftest$ac_exeext
55178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55179 (eval $ac_link) 2>conftest.er1
55180 ac_status=$?
55181 grep -v '^ *+' conftest.er1 >conftest.err
55182 rm -f conftest.er1
55183 cat conftest.err >&5
55184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185 (exit $ac_status); } &&
55186 { ac_try='test -z "$ac_c_werror_flag"
55187 || test ! -s conftest.err'
55188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55189 (eval $ac_try) 2>&5
55190 ac_status=$?
55191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55192 (exit $ac_status); }; } &&
55193 { ac_try='test -s conftest$ac_exeext'
55194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55195 (eval $ac_try) 2>&5
55196 ac_status=$?
55197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55198 (exit $ac_status); }; }; then
55199 eval "$as_ac_var=yes"
55200 else
55201 echo "$as_me: failed program was:" >&5
55202 sed 's/^/| /' conftest.$ac_ext >&5
55203
55204 eval "$as_ac_var=no"
55205 fi
55206 rm -f conftest.err conftest.$ac_objext \
55207 conftest$ac_exeext conftest.$ac_ext
55208 fi
55209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55211 if test `eval echo '${'$as_ac_var'}'` = yes; then
55212 cat >>confdefs.h <<_ACEOF
55213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55214 _ACEOF
55215
55216 fi
55217 done
55218
55219 fi
55220 fi
55221
55222
55223
55224
55225
55226
55227 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55228 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55229 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55230 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55231 echo $ECHO_N "(cached) $ECHO_C" >&6
55232 else
55233
55234
55235
55236 ac_ext=cc
55237 ac_cpp='$CXXCPP $CPPFLAGS'
55238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55241
55242 cat >conftest.$ac_ext <<_ACEOF
55243 /* confdefs.h. */
55244 _ACEOF
55245 cat confdefs.h >>conftest.$ac_ext
55246 cat >>conftest.$ac_ext <<_ACEOF
55247 /* end confdefs.h. */
55248 #include <math.h>
55249 int
55250 main ()
55251 {
55252 atan2l(0, 0);
55253 ;
55254 return 0;
55255 }
55256 _ACEOF
55257 rm -f conftest.$ac_objext
55258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55259 (eval $ac_compile) 2>conftest.er1
55260 ac_status=$?
55261 grep -v '^ *+' conftest.er1 >conftest.err
55262 rm -f conftest.er1
55263 cat conftest.err >&5
55264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55265 (exit $ac_status); } &&
55266 { ac_try='test -z "$ac_cxx_werror_flag"
55267 || test ! -s conftest.err'
55268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55269 (eval $ac_try) 2>&5
55270 ac_status=$?
55271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55272 (exit $ac_status); }; } &&
55273 { ac_try='test -s conftest.$ac_objext'
55274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55275 (eval $ac_try) 2>&5
55276 ac_status=$?
55277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55278 (exit $ac_status); }; }; then
55279 glibcxx_cv_func_atan2l_use=yes
55280 else
55281 echo "$as_me: failed program was:" >&5
55282 sed 's/^/| /' conftest.$ac_ext >&5
55283
55284 glibcxx_cv_func_atan2l_use=no
55285 fi
55286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55287 ac_ext=c
55288 ac_cpp='$CPP $CPPFLAGS'
55289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55292
55293
55294 fi
55295
55296 fi
55297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55298 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55299
55300 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55301
55302 for ac_func in atan2l
55303 do
55304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55305 echo "$as_me:$LINENO: checking for $ac_func" >&5
55306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55307 if eval "test \"\${$as_ac_var+set}\" = set"; then
55308 echo $ECHO_N "(cached) $ECHO_C" >&6
55309 else
55310 if test x$gcc_no_link = xyes; then
55311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55313 { (exit 1); exit 1; }; }
55314 fi
55315 cat >conftest.$ac_ext <<_ACEOF
55316 /* confdefs.h. */
55317 _ACEOF
55318 cat confdefs.h >>conftest.$ac_ext
55319 cat >>conftest.$ac_ext <<_ACEOF
55320 /* end confdefs.h. */
55321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55323 #define $ac_func innocuous_$ac_func
55324
55325 /* System header to define __stub macros and hopefully few prototypes,
55326 which can conflict with char $ac_func (); below.
55327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55328 <limits.h> exists even on freestanding compilers. */
55329
55330 #ifdef __STDC__
55331 # include <limits.h>
55332 #else
55333 # include <assert.h>
55334 #endif
55335
55336 #undef $ac_func
55337
55338 /* Override any gcc2 internal prototype to avoid an error. */
55339 #ifdef __cplusplus
55340 extern "C"
55341 {
55342 #endif
55343 /* We use char because int might match the return type of a gcc2
55344 builtin and then its argument prototype would still apply. */
55345 char $ac_func ();
55346 /* The GNU C library defines this for functions which it implements
55347 to always fail with ENOSYS. Some functions are actually named
55348 something starting with __ and the normal name is an alias. */
55349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55350 choke me
55351 #else
55352 char (*f) () = $ac_func;
55353 #endif
55354 #ifdef __cplusplus
55355 }
55356 #endif
55357
55358 int
55359 main ()
55360 {
55361 return f != $ac_func;
55362 ;
55363 return 0;
55364 }
55365 _ACEOF
55366 rm -f conftest.$ac_objext conftest$ac_exeext
55367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55368 (eval $ac_link) 2>conftest.er1
55369 ac_status=$?
55370 grep -v '^ *+' conftest.er1 >conftest.err
55371 rm -f conftest.er1
55372 cat conftest.err >&5
55373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55374 (exit $ac_status); } &&
55375 { ac_try='test -z "$ac_c_werror_flag"
55376 || test ! -s conftest.err'
55377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55378 (eval $ac_try) 2>&5
55379 ac_status=$?
55380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381 (exit $ac_status); }; } &&
55382 { ac_try='test -s conftest$ac_exeext'
55383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55384 (eval $ac_try) 2>&5
55385 ac_status=$?
55386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55387 (exit $ac_status); }; }; then
55388 eval "$as_ac_var=yes"
55389 else
55390 echo "$as_me: failed program was:" >&5
55391 sed 's/^/| /' conftest.$ac_ext >&5
55392
55393 eval "$as_ac_var=no"
55394 fi
55395 rm -f conftest.err conftest.$ac_objext \
55396 conftest$ac_exeext conftest.$ac_ext
55397 fi
55398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55400 if test `eval echo '${'$as_ac_var'}'` = yes; then
55401 cat >>confdefs.h <<_ACEOF
55402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55403 _ACEOF
55404
55405 fi
55406 done
55407
55408 else
55409
55410 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55411 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55412 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55413 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55414 echo $ECHO_N "(cached) $ECHO_C" >&6
55415 else
55416
55417
55418
55419 ac_ext=cc
55420 ac_cpp='$CXXCPP $CPPFLAGS'
55421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55424
55425 cat >conftest.$ac_ext <<_ACEOF
55426 /* confdefs.h. */
55427 _ACEOF
55428 cat confdefs.h >>conftest.$ac_ext
55429 cat >>conftest.$ac_ext <<_ACEOF
55430 /* end confdefs.h. */
55431 #include <math.h>
55432 int
55433 main ()
55434 {
55435 _atan2l(0, 0);
55436 ;
55437 return 0;
55438 }
55439 _ACEOF
55440 rm -f conftest.$ac_objext
55441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55442 (eval $ac_compile) 2>conftest.er1
55443 ac_status=$?
55444 grep -v '^ *+' conftest.er1 >conftest.err
55445 rm -f conftest.er1
55446 cat conftest.err >&5
55447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55448 (exit $ac_status); } &&
55449 { ac_try='test -z "$ac_cxx_werror_flag"
55450 || test ! -s conftest.err'
55451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55452 (eval $ac_try) 2>&5
55453 ac_status=$?
55454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55455 (exit $ac_status); }; } &&
55456 { ac_try='test -s conftest.$ac_objext'
55457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55458 (eval $ac_try) 2>&5
55459 ac_status=$?
55460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55461 (exit $ac_status); }; }; then
55462 glibcxx_cv_func__atan2l_use=yes
55463 else
55464 echo "$as_me: failed program was:" >&5
55465 sed 's/^/| /' conftest.$ac_ext >&5
55466
55467 glibcxx_cv_func__atan2l_use=no
55468 fi
55469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55470 ac_ext=c
55471 ac_cpp='$CPP $CPPFLAGS'
55472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55475
55476
55477 fi
55478
55479 fi
55480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55481 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55482
55483 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55484
55485 for ac_func in _atan2l
55486 do
55487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55488 echo "$as_me:$LINENO: checking for $ac_func" >&5
55489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55490 if eval "test \"\${$as_ac_var+set}\" = set"; then
55491 echo $ECHO_N "(cached) $ECHO_C" >&6
55492 else
55493 if test x$gcc_no_link = xyes; then
55494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55496 { (exit 1); exit 1; }; }
55497 fi
55498 cat >conftest.$ac_ext <<_ACEOF
55499 /* confdefs.h. */
55500 _ACEOF
55501 cat confdefs.h >>conftest.$ac_ext
55502 cat >>conftest.$ac_ext <<_ACEOF
55503 /* end confdefs.h. */
55504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55506 #define $ac_func innocuous_$ac_func
55507
55508 /* System header to define __stub macros and hopefully few prototypes,
55509 which can conflict with char $ac_func (); below.
55510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55511 <limits.h> exists even on freestanding compilers. */
55512
55513 #ifdef __STDC__
55514 # include <limits.h>
55515 #else
55516 # include <assert.h>
55517 #endif
55518
55519 #undef $ac_func
55520
55521 /* Override any gcc2 internal prototype to avoid an error. */
55522 #ifdef __cplusplus
55523 extern "C"
55524 {
55525 #endif
55526 /* We use char because int might match the return type of a gcc2
55527 builtin and then its argument prototype would still apply. */
55528 char $ac_func ();
55529 /* The GNU C library defines this for functions which it implements
55530 to always fail with ENOSYS. Some functions are actually named
55531 something starting with __ and the normal name is an alias. */
55532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55533 choke me
55534 #else
55535 char (*f) () = $ac_func;
55536 #endif
55537 #ifdef __cplusplus
55538 }
55539 #endif
55540
55541 int
55542 main ()
55543 {
55544 return f != $ac_func;
55545 ;
55546 return 0;
55547 }
55548 _ACEOF
55549 rm -f conftest.$ac_objext conftest$ac_exeext
55550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55551 (eval $ac_link) 2>conftest.er1
55552 ac_status=$?
55553 grep -v '^ *+' conftest.er1 >conftest.err
55554 rm -f conftest.er1
55555 cat conftest.err >&5
55556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55557 (exit $ac_status); } &&
55558 { ac_try='test -z "$ac_c_werror_flag"
55559 || test ! -s conftest.err'
55560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55561 (eval $ac_try) 2>&5
55562 ac_status=$?
55563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55564 (exit $ac_status); }; } &&
55565 { ac_try='test -s conftest$ac_exeext'
55566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55567 (eval $ac_try) 2>&5
55568 ac_status=$?
55569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55570 (exit $ac_status); }; }; then
55571 eval "$as_ac_var=yes"
55572 else
55573 echo "$as_me: failed program was:" >&5
55574 sed 's/^/| /' conftest.$ac_ext >&5
55575
55576 eval "$as_ac_var=no"
55577 fi
55578 rm -f conftest.err conftest.$ac_objext \
55579 conftest$ac_exeext conftest.$ac_ext
55580 fi
55581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55583 if test `eval echo '${'$as_ac_var'}'` = yes; then
55584 cat >>confdefs.h <<_ACEOF
55585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55586 _ACEOF
55587
55588 fi
55589 done
55590
55591 fi
55592 fi
55593
55594
55595
55596
55597
55598
55599 echo "$as_me:$LINENO: checking for expl declaration" >&5
55600 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55601 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55602 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55603 echo $ECHO_N "(cached) $ECHO_C" >&6
55604 else
55605
55606
55607
55608 ac_ext=cc
55609 ac_cpp='$CXXCPP $CPPFLAGS'
55610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55613
55614 cat >conftest.$ac_ext <<_ACEOF
55615 /* confdefs.h. */
55616 _ACEOF
55617 cat confdefs.h >>conftest.$ac_ext
55618 cat >>conftest.$ac_ext <<_ACEOF
55619 /* end confdefs.h. */
55620 #include <math.h>
55621 #ifdef HAVE_IEEEFP_H
55622 #include <ieeefp.h>
55623 #endif
55624
55625 int
55626 main ()
55627 {
55628 expl(0);
55629 ;
55630 return 0;
55631 }
55632 _ACEOF
55633 rm -f conftest.$ac_objext
55634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55635 (eval $ac_compile) 2>conftest.er1
55636 ac_status=$?
55637 grep -v '^ *+' conftest.er1 >conftest.err
55638 rm -f conftest.er1
55639 cat conftest.err >&5
55640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55641 (exit $ac_status); } &&
55642 { ac_try='test -z "$ac_cxx_werror_flag"
55643 || test ! -s conftest.err'
55644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55645 (eval $ac_try) 2>&5
55646 ac_status=$?
55647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55648 (exit $ac_status); }; } &&
55649 { ac_try='test -s conftest.$ac_objext'
55650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55651 (eval $ac_try) 2>&5
55652 ac_status=$?
55653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55654 (exit $ac_status); }; }; then
55655 glibcxx_cv_func_expl_use=yes
55656 else
55657 echo "$as_me: failed program was:" >&5
55658 sed 's/^/| /' conftest.$ac_ext >&5
55659
55660 glibcxx_cv_func_expl_use=no
55661 fi
55662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55663 ac_ext=c
55664 ac_cpp='$CPP $CPPFLAGS'
55665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55668
55669
55670 fi
55671
55672 fi
55673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55674 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55675
55676 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55677
55678 for ac_func in expl
55679 do
55680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55681 echo "$as_me:$LINENO: checking for $ac_func" >&5
55682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55683 if eval "test \"\${$as_ac_var+set}\" = set"; then
55684 echo $ECHO_N "(cached) $ECHO_C" >&6
55685 else
55686 if test x$gcc_no_link = xyes; then
55687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55689 { (exit 1); exit 1; }; }
55690 fi
55691 cat >conftest.$ac_ext <<_ACEOF
55692 /* confdefs.h. */
55693 _ACEOF
55694 cat confdefs.h >>conftest.$ac_ext
55695 cat >>conftest.$ac_ext <<_ACEOF
55696 /* end confdefs.h. */
55697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55699 #define $ac_func innocuous_$ac_func
55700
55701 /* System header to define __stub macros and hopefully few prototypes,
55702 which can conflict with char $ac_func (); below.
55703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55704 <limits.h> exists even on freestanding compilers. */
55705
55706 #ifdef __STDC__
55707 # include <limits.h>
55708 #else
55709 # include <assert.h>
55710 #endif
55711
55712 #undef $ac_func
55713
55714 /* Override any gcc2 internal prototype to avoid an error. */
55715 #ifdef __cplusplus
55716 extern "C"
55717 {
55718 #endif
55719 /* We use char because int might match the return type of a gcc2
55720 builtin and then its argument prototype would still apply. */
55721 char $ac_func ();
55722 /* The GNU C library defines this for functions which it implements
55723 to always fail with ENOSYS. Some functions are actually named
55724 something starting with __ and the normal name is an alias. */
55725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55726 choke me
55727 #else
55728 char (*f) () = $ac_func;
55729 #endif
55730 #ifdef __cplusplus
55731 }
55732 #endif
55733
55734 int
55735 main ()
55736 {
55737 return f != $ac_func;
55738 ;
55739 return 0;
55740 }
55741 _ACEOF
55742 rm -f conftest.$ac_objext conftest$ac_exeext
55743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55744 (eval $ac_link) 2>conftest.er1
55745 ac_status=$?
55746 grep -v '^ *+' conftest.er1 >conftest.err
55747 rm -f conftest.er1
55748 cat conftest.err >&5
55749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55750 (exit $ac_status); } &&
55751 { ac_try='test -z "$ac_c_werror_flag"
55752 || test ! -s conftest.err'
55753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55754 (eval $ac_try) 2>&5
55755 ac_status=$?
55756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55757 (exit $ac_status); }; } &&
55758 { ac_try='test -s conftest$ac_exeext'
55759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55760 (eval $ac_try) 2>&5
55761 ac_status=$?
55762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55763 (exit $ac_status); }; }; then
55764 eval "$as_ac_var=yes"
55765 else
55766 echo "$as_me: failed program was:" >&5
55767 sed 's/^/| /' conftest.$ac_ext >&5
55768
55769 eval "$as_ac_var=no"
55770 fi
55771 rm -f conftest.err conftest.$ac_objext \
55772 conftest$ac_exeext conftest.$ac_ext
55773 fi
55774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55776 if test `eval echo '${'$as_ac_var'}'` = yes; then
55777 cat >>confdefs.h <<_ACEOF
55778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55779 _ACEOF
55780
55781 fi
55782 done
55783
55784 else
55785
55786 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55787 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55788 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55789 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55790 echo $ECHO_N "(cached) $ECHO_C" >&6
55791 else
55792
55793
55794
55795 ac_ext=cc
55796 ac_cpp='$CXXCPP $CPPFLAGS'
55797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55800
55801 cat >conftest.$ac_ext <<_ACEOF
55802 /* confdefs.h. */
55803 _ACEOF
55804 cat confdefs.h >>conftest.$ac_ext
55805 cat >>conftest.$ac_ext <<_ACEOF
55806 /* end confdefs.h. */
55807 #include <math.h>
55808 #ifdef HAVE_IEEEFP_H
55809 #include <ieeefp.h>
55810 #endif
55811
55812 int
55813 main ()
55814 {
55815 _expl(0);
55816 ;
55817 return 0;
55818 }
55819 _ACEOF
55820 rm -f conftest.$ac_objext
55821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55822 (eval $ac_compile) 2>conftest.er1
55823 ac_status=$?
55824 grep -v '^ *+' conftest.er1 >conftest.err
55825 rm -f conftest.er1
55826 cat conftest.err >&5
55827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55828 (exit $ac_status); } &&
55829 { ac_try='test -z "$ac_cxx_werror_flag"
55830 || test ! -s conftest.err'
55831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55832 (eval $ac_try) 2>&5
55833 ac_status=$?
55834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55835 (exit $ac_status); }; } &&
55836 { ac_try='test -s conftest.$ac_objext'
55837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55838 (eval $ac_try) 2>&5
55839 ac_status=$?
55840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55841 (exit $ac_status); }; }; then
55842 glibcxx_cv_func__expl_use=yes
55843 else
55844 echo "$as_me: failed program was:" >&5
55845 sed 's/^/| /' conftest.$ac_ext >&5
55846
55847 glibcxx_cv_func__expl_use=no
55848 fi
55849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55850 ac_ext=c
55851 ac_cpp='$CPP $CPPFLAGS'
55852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55855
55856
55857 fi
55858
55859 fi
55860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55861 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55862
55863 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55864
55865 for ac_func in _expl
55866 do
55867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55868 echo "$as_me:$LINENO: checking for $ac_func" >&5
55869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55870 if eval "test \"\${$as_ac_var+set}\" = set"; then
55871 echo $ECHO_N "(cached) $ECHO_C" >&6
55872 else
55873 if test x$gcc_no_link = xyes; then
55874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55876 { (exit 1); exit 1; }; }
55877 fi
55878 cat >conftest.$ac_ext <<_ACEOF
55879 /* confdefs.h. */
55880 _ACEOF
55881 cat confdefs.h >>conftest.$ac_ext
55882 cat >>conftest.$ac_ext <<_ACEOF
55883 /* end confdefs.h. */
55884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55886 #define $ac_func innocuous_$ac_func
55887
55888 /* System header to define __stub macros and hopefully few prototypes,
55889 which can conflict with char $ac_func (); below.
55890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55891 <limits.h> exists even on freestanding compilers. */
55892
55893 #ifdef __STDC__
55894 # include <limits.h>
55895 #else
55896 # include <assert.h>
55897 #endif
55898
55899 #undef $ac_func
55900
55901 /* Override any gcc2 internal prototype to avoid an error. */
55902 #ifdef __cplusplus
55903 extern "C"
55904 {
55905 #endif
55906 /* We use char because int might match the return type of a gcc2
55907 builtin and then its argument prototype would still apply. */
55908 char $ac_func ();
55909 /* The GNU C library defines this for functions which it implements
55910 to always fail with ENOSYS. Some functions are actually named
55911 something starting with __ and the normal name is an alias. */
55912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55913 choke me
55914 #else
55915 char (*f) () = $ac_func;
55916 #endif
55917 #ifdef __cplusplus
55918 }
55919 #endif
55920
55921 int
55922 main ()
55923 {
55924 return f != $ac_func;
55925 ;
55926 return 0;
55927 }
55928 _ACEOF
55929 rm -f conftest.$ac_objext conftest$ac_exeext
55930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55931 (eval $ac_link) 2>conftest.er1
55932 ac_status=$?
55933 grep -v '^ *+' conftest.er1 >conftest.err
55934 rm -f conftest.er1
55935 cat conftest.err >&5
55936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55937 (exit $ac_status); } &&
55938 { ac_try='test -z "$ac_c_werror_flag"
55939 || test ! -s conftest.err'
55940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55941 (eval $ac_try) 2>&5
55942 ac_status=$?
55943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55944 (exit $ac_status); }; } &&
55945 { ac_try='test -s conftest$ac_exeext'
55946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55947 (eval $ac_try) 2>&5
55948 ac_status=$?
55949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55950 (exit $ac_status); }; }; then
55951 eval "$as_ac_var=yes"
55952 else
55953 echo "$as_me: failed program was:" >&5
55954 sed 's/^/| /' conftest.$ac_ext >&5
55955
55956 eval "$as_ac_var=no"
55957 fi
55958 rm -f conftest.err conftest.$ac_objext \
55959 conftest$ac_exeext conftest.$ac_ext
55960 fi
55961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55963 if test `eval echo '${'$as_ac_var'}'` = yes; then
55964 cat >>confdefs.h <<_ACEOF
55965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55966 _ACEOF
55967
55968 fi
55969 done
55970
55971 fi
55972 fi
55973
55974
55975
55976
55977
55978
55979 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55980 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55981 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55982 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55983 echo $ECHO_N "(cached) $ECHO_C" >&6
55984 else
55985
55986
55987
55988 ac_ext=cc
55989 ac_cpp='$CXXCPP $CPPFLAGS'
55990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55993
55994 cat >conftest.$ac_ext <<_ACEOF
55995 /* confdefs.h. */
55996 _ACEOF
55997 cat confdefs.h >>conftest.$ac_ext
55998 cat >>conftest.$ac_ext <<_ACEOF
55999 /* end confdefs.h. */
56000 #include <math.h>
56001 #ifdef HAVE_IEEEFP_H
56002 #include <ieeefp.h>
56003 #endif
56004
56005 int
56006 main ()
56007 {
56008 fabsl(0);
56009 ;
56010 return 0;
56011 }
56012 _ACEOF
56013 rm -f conftest.$ac_objext
56014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56015 (eval $ac_compile) 2>conftest.er1
56016 ac_status=$?
56017 grep -v '^ *+' conftest.er1 >conftest.err
56018 rm -f conftest.er1
56019 cat conftest.err >&5
56020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56021 (exit $ac_status); } &&
56022 { ac_try='test -z "$ac_cxx_werror_flag"
56023 || test ! -s conftest.err'
56024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56025 (eval $ac_try) 2>&5
56026 ac_status=$?
56027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56028 (exit $ac_status); }; } &&
56029 { ac_try='test -s conftest.$ac_objext'
56030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56031 (eval $ac_try) 2>&5
56032 ac_status=$?
56033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034 (exit $ac_status); }; }; then
56035 glibcxx_cv_func_fabsl_use=yes
56036 else
56037 echo "$as_me: failed program was:" >&5
56038 sed 's/^/| /' conftest.$ac_ext >&5
56039
56040 glibcxx_cv_func_fabsl_use=no
56041 fi
56042 rm -f 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 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56054 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56055
56056 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56057
56058 for ac_func in fabsl
56059 do
56060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56061 echo "$as_me:$LINENO: checking for $ac_func" >&5
56062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56063 if eval "test \"\${$as_ac_var+set}\" = set"; then
56064 echo $ECHO_N "(cached) $ECHO_C" >&6
56065 else
56066 if test x$gcc_no_link = xyes; then
56067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56069 { (exit 1); exit 1; }; }
56070 fi
56071 cat >conftest.$ac_ext <<_ACEOF
56072 /* confdefs.h. */
56073 _ACEOF
56074 cat confdefs.h >>conftest.$ac_ext
56075 cat >>conftest.$ac_ext <<_ACEOF
56076 /* end confdefs.h. */
56077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56079 #define $ac_func innocuous_$ac_func
56080
56081 /* System header to define __stub macros and hopefully few prototypes,
56082 which can conflict with char $ac_func (); below.
56083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56084 <limits.h> exists even on freestanding compilers. */
56085
56086 #ifdef __STDC__
56087 # include <limits.h>
56088 #else
56089 # include <assert.h>
56090 #endif
56091
56092 #undef $ac_func
56093
56094 /* Override any gcc2 internal prototype to avoid an error. */
56095 #ifdef __cplusplus
56096 extern "C"
56097 {
56098 #endif
56099 /* We use char because int might match the return type of a gcc2
56100 builtin and then its argument prototype would still apply. */
56101 char $ac_func ();
56102 /* The GNU C library defines this for functions which it implements
56103 to always fail with ENOSYS. Some functions are actually named
56104 something starting with __ and the normal name is an alias. */
56105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56106 choke me
56107 #else
56108 char (*f) () = $ac_func;
56109 #endif
56110 #ifdef __cplusplus
56111 }
56112 #endif
56113
56114 int
56115 main ()
56116 {
56117 return f != $ac_func;
56118 ;
56119 return 0;
56120 }
56121 _ACEOF
56122 rm -f conftest.$ac_objext conftest$ac_exeext
56123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56124 (eval $ac_link) 2>conftest.er1
56125 ac_status=$?
56126 grep -v '^ *+' conftest.er1 >conftest.err
56127 rm -f conftest.er1
56128 cat conftest.err >&5
56129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56130 (exit $ac_status); } &&
56131 { ac_try='test -z "$ac_c_werror_flag"
56132 || test ! -s conftest.err'
56133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56134 (eval $ac_try) 2>&5
56135 ac_status=$?
56136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56137 (exit $ac_status); }; } &&
56138 { ac_try='test -s conftest$ac_exeext'
56139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56140 (eval $ac_try) 2>&5
56141 ac_status=$?
56142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56143 (exit $ac_status); }; }; then
56144 eval "$as_ac_var=yes"
56145 else
56146 echo "$as_me: failed program was:" >&5
56147 sed 's/^/| /' conftest.$ac_ext >&5
56148
56149 eval "$as_ac_var=no"
56150 fi
56151 rm -f conftest.err conftest.$ac_objext \
56152 conftest$ac_exeext conftest.$ac_ext
56153 fi
56154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56156 if test `eval echo '${'$as_ac_var'}'` = yes; then
56157 cat >>confdefs.h <<_ACEOF
56158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56159 _ACEOF
56160
56161 fi
56162 done
56163
56164 else
56165
56166 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56167 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56168 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56169 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56170 echo $ECHO_N "(cached) $ECHO_C" >&6
56171 else
56172
56173
56174
56175 ac_ext=cc
56176 ac_cpp='$CXXCPP $CPPFLAGS'
56177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56180
56181 cat >conftest.$ac_ext <<_ACEOF
56182 /* confdefs.h. */
56183 _ACEOF
56184 cat confdefs.h >>conftest.$ac_ext
56185 cat >>conftest.$ac_ext <<_ACEOF
56186 /* end confdefs.h. */
56187 #include <math.h>
56188 #ifdef HAVE_IEEEFP_H
56189 #include <ieeefp.h>
56190 #endif
56191
56192 int
56193 main ()
56194 {
56195 _fabsl(0);
56196 ;
56197 return 0;
56198 }
56199 _ACEOF
56200 rm -f conftest.$ac_objext
56201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56202 (eval $ac_compile) 2>conftest.er1
56203 ac_status=$?
56204 grep -v '^ *+' conftest.er1 >conftest.err
56205 rm -f conftest.er1
56206 cat conftest.err >&5
56207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56208 (exit $ac_status); } &&
56209 { ac_try='test -z "$ac_cxx_werror_flag"
56210 || test ! -s conftest.err'
56211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56212 (eval $ac_try) 2>&5
56213 ac_status=$?
56214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56215 (exit $ac_status); }; } &&
56216 { ac_try='test -s conftest.$ac_objext'
56217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56218 (eval $ac_try) 2>&5
56219 ac_status=$?
56220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56221 (exit $ac_status); }; }; then
56222 glibcxx_cv_func__fabsl_use=yes
56223 else
56224 echo "$as_me: failed program was:" >&5
56225 sed 's/^/| /' conftest.$ac_ext >&5
56226
56227 glibcxx_cv_func__fabsl_use=no
56228 fi
56229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56230 ac_ext=c
56231 ac_cpp='$CPP $CPPFLAGS'
56232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56235
56236
56237 fi
56238
56239 fi
56240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56241 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56242
56243 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56244
56245 for ac_func in _fabsl
56246 do
56247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56248 echo "$as_me:$LINENO: checking for $ac_func" >&5
56249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56250 if eval "test \"\${$as_ac_var+set}\" = set"; then
56251 echo $ECHO_N "(cached) $ECHO_C" >&6
56252 else
56253 if test x$gcc_no_link = xyes; then
56254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56256 { (exit 1); exit 1; }; }
56257 fi
56258 cat >conftest.$ac_ext <<_ACEOF
56259 /* confdefs.h. */
56260 _ACEOF
56261 cat confdefs.h >>conftest.$ac_ext
56262 cat >>conftest.$ac_ext <<_ACEOF
56263 /* end confdefs.h. */
56264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56266 #define $ac_func innocuous_$ac_func
56267
56268 /* System header to define __stub macros and hopefully few prototypes,
56269 which can conflict with char $ac_func (); below.
56270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56271 <limits.h> exists even on freestanding compilers. */
56272
56273 #ifdef __STDC__
56274 # include <limits.h>
56275 #else
56276 # include <assert.h>
56277 #endif
56278
56279 #undef $ac_func
56280
56281 /* Override any gcc2 internal prototype to avoid an error. */
56282 #ifdef __cplusplus
56283 extern "C"
56284 {
56285 #endif
56286 /* We use char because int might match the return type of a gcc2
56287 builtin and then its argument prototype would still apply. */
56288 char $ac_func ();
56289 /* The GNU C library defines this for functions which it implements
56290 to always fail with ENOSYS. Some functions are actually named
56291 something starting with __ and the normal name is an alias. */
56292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56293 choke me
56294 #else
56295 char (*f) () = $ac_func;
56296 #endif
56297 #ifdef __cplusplus
56298 }
56299 #endif
56300
56301 int
56302 main ()
56303 {
56304 return f != $ac_func;
56305 ;
56306 return 0;
56307 }
56308 _ACEOF
56309 rm -f conftest.$ac_objext conftest$ac_exeext
56310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56311 (eval $ac_link) 2>conftest.er1
56312 ac_status=$?
56313 grep -v '^ *+' conftest.er1 >conftest.err
56314 rm -f conftest.er1
56315 cat conftest.err >&5
56316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56317 (exit $ac_status); } &&
56318 { ac_try='test -z "$ac_c_werror_flag"
56319 || test ! -s conftest.err'
56320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56321 (eval $ac_try) 2>&5
56322 ac_status=$?
56323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56324 (exit $ac_status); }; } &&
56325 { ac_try='test -s conftest$ac_exeext'
56326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56327 (eval $ac_try) 2>&5
56328 ac_status=$?
56329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56330 (exit $ac_status); }; }; then
56331 eval "$as_ac_var=yes"
56332 else
56333 echo "$as_me: failed program was:" >&5
56334 sed 's/^/| /' conftest.$ac_ext >&5
56335
56336 eval "$as_ac_var=no"
56337 fi
56338 rm -f conftest.err conftest.$ac_objext \
56339 conftest$ac_exeext conftest.$ac_ext
56340 fi
56341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56343 if test `eval echo '${'$as_ac_var'}'` = yes; then
56344 cat >>confdefs.h <<_ACEOF
56345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56346 _ACEOF
56347
56348 fi
56349 done
56350
56351 fi
56352 fi
56353
56354
56355
56356
56357
56358
56359 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56360 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56361 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56362 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56363 echo $ECHO_N "(cached) $ECHO_C" >&6
56364 else
56365
56366
56367
56368 ac_ext=cc
56369 ac_cpp='$CXXCPP $CPPFLAGS'
56370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56373
56374 cat >conftest.$ac_ext <<_ACEOF
56375 /* confdefs.h. */
56376 _ACEOF
56377 cat confdefs.h >>conftest.$ac_ext
56378 cat >>conftest.$ac_ext <<_ACEOF
56379 /* end confdefs.h. */
56380 #include <math.h>
56381 int
56382 main ()
56383 {
56384 fmodl(0, 0);
56385 ;
56386 return 0;
56387 }
56388 _ACEOF
56389 rm -f conftest.$ac_objext
56390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56391 (eval $ac_compile) 2>conftest.er1
56392 ac_status=$?
56393 grep -v '^ *+' conftest.er1 >conftest.err
56394 rm -f conftest.er1
56395 cat conftest.err >&5
56396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56397 (exit $ac_status); } &&
56398 { ac_try='test -z "$ac_cxx_werror_flag"
56399 || test ! -s conftest.err'
56400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56401 (eval $ac_try) 2>&5
56402 ac_status=$?
56403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56404 (exit $ac_status); }; } &&
56405 { ac_try='test -s conftest.$ac_objext'
56406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56407 (eval $ac_try) 2>&5
56408 ac_status=$?
56409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56410 (exit $ac_status); }; }; then
56411 glibcxx_cv_func_fmodl_use=yes
56412 else
56413 echo "$as_me: failed program was:" >&5
56414 sed 's/^/| /' conftest.$ac_ext >&5
56415
56416 glibcxx_cv_func_fmodl_use=no
56417 fi
56418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56419 ac_ext=c
56420 ac_cpp='$CPP $CPPFLAGS'
56421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56424
56425
56426 fi
56427
56428 fi
56429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56430 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56431
56432 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56433
56434 for ac_func in fmodl
56435 do
56436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56437 echo "$as_me:$LINENO: checking for $ac_func" >&5
56438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56439 if eval "test \"\${$as_ac_var+set}\" = set"; then
56440 echo $ECHO_N "(cached) $ECHO_C" >&6
56441 else
56442 if test x$gcc_no_link = xyes; then
56443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56445 { (exit 1); exit 1; }; }
56446 fi
56447 cat >conftest.$ac_ext <<_ACEOF
56448 /* confdefs.h. */
56449 _ACEOF
56450 cat confdefs.h >>conftest.$ac_ext
56451 cat >>conftest.$ac_ext <<_ACEOF
56452 /* end confdefs.h. */
56453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56455 #define $ac_func innocuous_$ac_func
56456
56457 /* System header to define __stub macros and hopefully few prototypes,
56458 which can conflict with char $ac_func (); below.
56459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56460 <limits.h> exists even on freestanding compilers. */
56461
56462 #ifdef __STDC__
56463 # include <limits.h>
56464 #else
56465 # include <assert.h>
56466 #endif
56467
56468 #undef $ac_func
56469
56470 /* Override any gcc2 internal prototype to avoid an error. */
56471 #ifdef __cplusplus
56472 extern "C"
56473 {
56474 #endif
56475 /* We use char because int might match the return type of a gcc2
56476 builtin and then its argument prototype would still apply. */
56477 char $ac_func ();
56478 /* The GNU C library defines this for functions which it implements
56479 to always fail with ENOSYS. Some functions are actually named
56480 something starting with __ and the normal name is an alias. */
56481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56482 choke me
56483 #else
56484 char (*f) () = $ac_func;
56485 #endif
56486 #ifdef __cplusplus
56487 }
56488 #endif
56489
56490 int
56491 main ()
56492 {
56493 return f != $ac_func;
56494 ;
56495 return 0;
56496 }
56497 _ACEOF
56498 rm -f conftest.$ac_objext conftest$ac_exeext
56499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56500 (eval $ac_link) 2>conftest.er1
56501 ac_status=$?
56502 grep -v '^ *+' conftest.er1 >conftest.err
56503 rm -f conftest.er1
56504 cat conftest.err >&5
56505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56506 (exit $ac_status); } &&
56507 { ac_try='test -z "$ac_c_werror_flag"
56508 || test ! -s conftest.err'
56509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56510 (eval $ac_try) 2>&5
56511 ac_status=$?
56512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56513 (exit $ac_status); }; } &&
56514 { ac_try='test -s conftest$ac_exeext'
56515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56516 (eval $ac_try) 2>&5
56517 ac_status=$?
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); }; }; then
56520 eval "$as_ac_var=yes"
56521 else
56522 echo "$as_me: failed program was:" >&5
56523 sed 's/^/| /' conftest.$ac_ext >&5
56524
56525 eval "$as_ac_var=no"
56526 fi
56527 rm -f conftest.err conftest.$ac_objext \
56528 conftest$ac_exeext conftest.$ac_ext
56529 fi
56530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56532 if test `eval echo '${'$as_ac_var'}'` = yes; then
56533 cat >>confdefs.h <<_ACEOF
56534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56535 _ACEOF
56536
56537 fi
56538 done
56539
56540 else
56541
56542 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56543 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56544 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56545 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56546 echo $ECHO_N "(cached) $ECHO_C" >&6
56547 else
56548
56549
56550
56551 ac_ext=cc
56552 ac_cpp='$CXXCPP $CPPFLAGS'
56553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56556
56557 cat >conftest.$ac_ext <<_ACEOF
56558 /* confdefs.h. */
56559 _ACEOF
56560 cat confdefs.h >>conftest.$ac_ext
56561 cat >>conftest.$ac_ext <<_ACEOF
56562 /* end confdefs.h. */
56563 #include <math.h>
56564 int
56565 main ()
56566 {
56567 _fmodl(0, 0);
56568 ;
56569 return 0;
56570 }
56571 _ACEOF
56572 rm -f conftest.$ac_objext
56573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56574 (eval $ac_compile) 2>conftest.er1
56575 ac_status=$?
56576 grep -v '^ *+' conftest.er1 >conftest.err
56577 rm -f conftest.er1
56578 cat conftest.err >&5
56579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56580 (exit $ac_status); } &&
56581 { ac_try='test -z "$ac_cxx_werror_flag"
56582 || test ! -s conftest.err'
56583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56584 (eval $ac_try) 2>&5
56585 ac_status=$?
56586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56587 (exit $ac_status); }; } &&
56588 { ac_try='test -s conftest.$ac_objext'
56589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56590 (eval $ac_try) 2>&5
56591 ac_status=$?
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); }; }; then
56594 glibcxx_cv_func__fmodl_use=yes
56595 else
56596 echo "$as_me: failed program was:" >&5
56597 sed 's/^/| /' conftest.$ac_ext >&5
56598
56599 glibcxx_cv_func__fmodl_use=no
56600 fi
56601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56602 ac_ext=c
56603 ac_cpp='$CPP $CPPFLAGS'
56604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56607
56608
56609 fi
56610
56611 fi
56612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56613 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56614
56615 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56616
56617 for ac_func in _fmodl
56618 do
56619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56620 echo "$as_me:$LINENO: checking for $ac_func" >&5
56621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56622 if eval "test \"\${$as_ac_var+set}\" = set"; then
56623 echo $ECHO_N "(cached) $ECHO_C" >&6
56624 else
56625 if test x$gcc_no_link = xyes; then
56626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56628 { (exit 1); exit 1; }; }
56629 fi
56630 cat >conftest.$ac_ext <<_ACEOF
56631 /* confdefs.h. */
56632 _ACEOF
56633 cat confdefs.h >>conftest.$ac_ext
56634 cat >>conftest.$ac_ext <<_ACEOF
56635 /* end confdefs.h. */
56636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56638 #define $ac_func innocuous_$ac_func
56639
56640 /* System header to define __stub macros and hopefully few prototypes,
56641 which can conflict with char $ac_func (); below.
56642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56643 <limits.h> exists even on freestanding compilers. */
56644
56645 #ifdef __STDC__
56646 # include <limits.h>
56647 #else
56648 # include <assert.h>
56649 #endif
56650
56651 #undef $ac_func
56652
56653 /* Override any gcc2 internal prototype to avoid an error. */
56654 #ifdef __cplusplus
56655 extern "C"
56656 {
56657 #endif
56658 /* We use char because int might match the return type of a gcc2
56659 builtin and then its argument prototype would still apply. */
56660 char $ac_func ();
56661 /* The GNU C library defines this for functions which it implements
56662 to always fail with ENOSYS. Some functions are actually named
56663 something starting with __ and the normal name is an alias. */
56664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56665 choke me
56666 #else
56667 char (*f) () = $ac_func;
56668 #endif
56669 #ifdef __cplusplus
56670 }
56671 #endif
56672
56673 int
56674 main ()
56675 {
56676 return f != $ac_func;
56677 ;
56678 return 0;
56679 }
56680 _ACEOF
56681 rm -f conftest.$ac_objext conftest$ac_exeext
56682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56683 (eval $ac_link) 2>conftest.er1
56684 ac_status=$?
56685 grep -v '^ *+' conftest.er1 >conftest.err
56686 rm -f conftest.er1
56687 cat conftest.err >&5
56688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56689 (exit $ac_status); } &&
56690 { ac_try='test -z "$ac_c_werror_flag"
56691 || test ! -s conftest.err'
56692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56693 (eval $ac_try) 2>&5
56694 ac_status=$?
56695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56696 (exit $ac_status); }; } &&
56697 { ac_try='test -s conftest$ac_exeext'
56698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56699 (eval $ac_try) 2>&5
56700 ac_status=$?
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); }; }; then
56703 eval "$as_ac_var=yes"
56704 else
56705 echo "$as_me: failed program was:" >&5
56706 sed 's/^/| /' conftest.$ac_ext >&5
56707
56708 eval "$as_ac_var=no"
56709 fi
56710 rm -f conftest.err conftest.$ac_objext \
56711 conftest$ac_exeext conftest.$ac_ext
56712 fi
56713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56715 if test `eval echo '${'$as_ac_var'}'` = yes; then
56716 cat >>confdefs.h <<_ACEOF
56717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56718 _ACEOF
56719
56720 fi
56721 done
56722
56723 fi
56724 fi
56725
56726
56727
56728
56729
56730
56731 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56732 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56733 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56734 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56735 echo $ECHO_N "(cached) $ECHO_C" >&6
56736 else
56737
56738
56739
56740 ac_ext=cc
56741 ac_cpp='$CXXCPP $CPPFLAGS'
56742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56745
56746 cat >conftest.$ac_ext <<_ACEOF
56747 /* confdefs.h. */
56748 _ACEOF
56749 cat confdefs.h >>conftest.$ac_ext
56750 cat >>conftest.$ac_ext <<_ACEOF
56751 /* end confdefs.h. */
56752 #include <math.h>
56753 int
56754 main ()
56755 {
56756 frexpl(0, 0);
56757 ;
56758 return 0;
56759 }
56760 _ACEOF
56761 rm -f conftest.$ac_objext
56762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56763 (eval $ac_compile) 2>conftest.er1
56764 ac_status=$?
56765 grep -v '^ *+' conftest.er1 >conftest.err
56766 rm -f conftest.er1
56767 cat conftest.err >&5
56768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56769 (exit $ac_status); } &&
56770 { ac_try='test -z "$ac_cxx_werror_flag"
56771 || test ! -s conftest.err'
56772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56773 (eval $ac_try) 2>&5
56774 ac_status=$?
56775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56776 (exit $ac_status); }; } &&
56777 { ac_try='test -s conftest.$ac_objext'
56778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56779 (eval $ac_try) 2>&5
56780 ac_status=$?
56781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56782 (exit $ac_status); }; }; then
56783 glibcxx_cv_func_frexpl_use=yes
56784 else
56785 echo "$as_me: failed program was:" >&5
56786 sed 's/^/| /' conftest.$ac_ext >&5
56787
56788 glibcxx_cv_func_frexpl_use=no
56789 fi
56790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56791 ac_ext=c
56792 ac_cpp='$CPP $CPPFLAGS'
56793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56796
56797
56798 fi
56799
56800 fi
56801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56802 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56803
56804 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56805
56806 for ac_func in frexpl
56807 do
56808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56809 echo "$as_me:$LINENO: checking for $ac_func" >&5
56810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56811 if eval "test \"\${$as_ac_var+set}\" = set"; then
56812 echo $ECHO_N "(cached) $ECHO_C" >&6
56813 else
56814 if test x$gcc_no_link = xyes; then
56815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56817 { (exit 1); exit 1; }; }
56818 fi
56819 cat >conftest.$ac_ext <<_ACEOF
56820 /* confdefs.h. */
56821 _ACEOF
56822 cat confdefs.h >>conftest.$ac_ext
56823 cat >>conftest.$ac_ext <<_ACEOF
56824 /* end confdefs.h. */
56825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56827 #define $ac_func innocuous_$ac_func
56828
56829 /* System header to define __stub macros and hopefully few prototypes,
56830 which can conflict with char $ac_func (); below.
56831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56832 <limits.h> exists even on freestanding compilers. */
56833
56834 #ifdef __STDC__
56835 # include <limits.h>
56836 #else
56837 # include <assert.h>
56838 #endif
56839
56840 #undef $ac_func
56841
56842 /* Override any gcc2 internal prototype to avoid an error. */
56843 #ifdef __cplusplus
56844 extern "C"
56845 {
56846 #endif
56847 /* We use char because int might match the return type of a gcc2
56848 builtin and then its argument prototype would still apply. */
56849 char $ac_func ();
56850 /* The GNU C library defines this for functions which it implements
56851 to always fail with ENOSYS. Some functions are actually named
56852 something starting with __ and the normal name is an alias. */
56853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56854 choke me
56855 #else
56856 char (*f) () = $ac_func;
56857 #endif
56858 #ifdef __cplusplus
56859 }
56860 #endif
56861
56862 int
56863 main ()
56864 {
56865 return f != $ac_func;
56866 ;
56867 return 0;
56868 }
56869 _ACEOF
56870 rm -f conftest.$ac_objext conftest$ac_exeext
56871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56872 (eval $ac_link) 2>conftest.er1
56873 ac_status=$?
56874 grep -v '^ *+' conftest.er1 >conftest.err
56875 rm -f conftest.er1
56876 cat conftest.err >&5
56877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56878 (exit $ac_status); } &&
56879 { ac_try='test -z "$ac_c_werror_flag"
56880 || test ! -s conftest.err'
56881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56882 (eval $ac_try) 2>&5
56883 ac_status=$?
56884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885 (exit $ac_status); }; } &&
56886 { ac_try='test -s conftest$ac_exeext'
56887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56888 (eval $ac_try) 2>&5
56889 ac_status=$?
56890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891 (exit $ac_status); }; }; then
56892 eval "$as_ac_var=yes"
56893 else
56894 echo "$as_me: failed program was:" >&5
56895 sed 's/^/| /' conftest.$ac_ext >&5
56896
56897 eval "$as_ac_var=no"
56898 fi
56899 rm -f conftest.err conftest.$ac_objext \
56900 conftest$ac_exeext conftest.$ac_ext
56901 fi
56902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56904 if test `eval echo '${'$as_ac_var'}'` = yes; then
56905 cat >>confdefs.h <<_ACEOF
56906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56907 _ACEOF
56908
56909 fi
56910 done
56911
56912 else
56913
56914 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56915 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56916 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56917 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56918 echo $ECHO_N "(cached) $ECHO_C" >&6
56919 else
56920
56921
56922
56923 ac_ext=cc
56924 ac_cpp='$CXXCPP $CPPFLAGS'
56925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928
56929 cat >conftest.$ac_ext <<_ACEOF
56930 /* confdefs.h. */
56931 _ACEOF
56932 cat confdefs.h >>conftest.$ac_ext
56933 cat >>conftest.$ac_ext <<_ACEOF
56934 /* end confdefs.h. */
56935 #include <math.h>
56936 int
56937 main ()
56938 {
56939 _frexpl(0, 0);
56940 ;
56941 return 0;
56942 }
56943 _ACEOF
56944 rm -f conftest.$ac_objext
56945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56946 (eval $ac_compile) 2>conftest.er1
56947 ac_status=$?
56948 grep -v '^ *+' conftest.er1 >conftest.err
56949 rm -f conftest.er1
56950 cat conftest.err >&5
56951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56952 (exit $ac_status); } &&
56953 { ac_try='test -z "$ac_cxx_werror_flag"
56954 || test ! -s conftest.err'
56955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56956 (eval $ac_try) 2>&5
56957 ac_status=$?
56958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56959 (exit $ac_status); }; } &&
56960 { ac_try='test -s conftest.$ac_objext'
56961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56962 (eval $ac_try) 2>&5
56963 ac_status=$?
56964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56965 (exit $ac_status); }; }; then
56966 glibcxx_cv_func__frexpl_use=yes
56967 else
56968 echo "$as_me: failed program was:" >&5
56969 sed 's/^/| /' conftest.$ac_ext >&5
56970
56971 glibcxx_cv_func__frexpl_use=no
56972 fi
56973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56974 ac_ext=c
56975 ac_cpp='$CPP $CPPFLAGS'
56976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56979
56980
56981 fi
56982
56983 fi
56984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56985 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56986
56987 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56988
56989 for ac_func in _frexpl
56990 do
56991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56992 echo "$as_me:$LINENO: checking for $ac_func" >&5
56993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56994 if eval "test \"\${$as_ac_var+set}\" = set"; then
56995 echo $ECHO_N "(cached) $ECHO_C" >&6
56996 else
56997 if test x$gcc_no_link = xyes; then
56998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57000 { (exit 1); exit 1; }; }
57001 fi
57002 cat >conftest.$ac_ext <<_ACEOF
57003 /* confdefs.h. */
57004 _ACEOF
57005 cat confdefs.h >>conftest.$ac_ext
57006 cat >>conftest.$ac_ext <<_ACEOF
57007 /* end confdefs.h. */
57008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57010 #define $ac_func innocuous_$ac_func
57011
57012 /* System header to define __stub macros and hopefully few prototypes,
57013 which can conflict with char $ac_func (); below.
57014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57015 <limits.h> exists even on freestanding compilers. */
57016
57017 #ifdef __STDC__
57018 # include <limits.h>
57019 #else
57020 # include <assert.h>
57021 #endif
57022
57023 #undef $ac_func
57024
57025 /* Override any gcc2 internal prototype to avoid an error. */
57026 #ifdef __cplusplus
57027 extern "C"
57028 {
57029 #endif
57030 /* We use char because int might match the return type of a gcc2
57031 builtin and then its argument prototype would still apply. */
57032 char $ac_func ();
57033 /* The GNU C library defines this for functions which it implements
57034 to always fail with ENOSYS. Some functions are actually named
57035 something starting with __ and the normal name is an alias. */
57036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57037 choke me
57038 #else
57039 char (*f) () = $ac_func;
57040 #endif
57041 #ifdef __cplusplus
57042 }
57043 #endif
57044
57045 int
57046 main ()
57047 {
57048 return f != $ac_func;
57049 ;
57050 return 0;
57051 }
57052 _ACEOF
57053 rm -f conftest.$ac_objext conftest$ac_exeext
57054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57055 (eval $ac_link) 2>conftest.er1
57056 ac_status=$?
57057 grep -v '^ *+' conftest.er1 >conftest.err
57058 rm -f conftest.er1
57059 cat conftest.err >&5
57060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57061 (exit $ac_status); } &&
57062 { ac_try='test -z "$ac_c_werror_flag"
57063 || test ! -s conftest.err'
57064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57065 (eval $ac_try) 2>&5
57066 ac_status=$?
57067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57068 (exit $ac_status); }; } &&
57069 { ac_try='test -s conftest$ac_exeext'
57070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57071 (eval $ac_try) 2>&5
57072 ac_status=$?
57073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57074 (exit $ac_status); }; }; then
57075 eval "$as_ac_var=yes"
57076 else
57077 echo "$as_me: failed program was:" >&5
57078 sed 's/^/| /' conftest.$ac_ext >&5
57079
57080 eval "$as_ac_var=no"
57081 fi
57082 rm -f conftest.err conftest.$ac_objext \
57083 conftest$ac_exeext conftest.$ac_ext
57084 fi
57085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57087 if test `eval echo '${'$as_ac_var'}'` = yes; then
57088 cat >>confdefs.h <<_ACEOF
57089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57090 _ACEOF
57091
57092 fi
57093 done
57094
57095 fi
57096 fi
57097
57098
57099
57100
57101
57102
57103 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57104 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57105 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57106 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57107 echo $ECHO_N "(cached) $ECHO_C" >&6
57108 else
57109
57110
57111
57112 ac_ext=cc
57113 ac_cpp='$CXXCPP $CPPFLAGS'
57114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57117
57118 cat >conftest.$ac_ext <<_ACEOF
57119 /* confdefs.h. */
57120 _ACEOF
57121 cat confdefs.h >>conftest.$ac_ext
57122 cat >>conftest.$ac_ext <<_ACEOF
57123 /* end confdefs.h. */
57124 #include <math.h>
57125 int
57126 main ()
57127 {
57128 hypotl(0, 0);
57129 ;
57130 return 0;
57131 }
57132 _ACEOF
57133 rm -f conftest.$ac_objext
57134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57135 (eval $ac_compile) 2>conftest.er1
57136 ac_status=$?
57137 grep -v '^ *+' conftest.er1 >conftest.err
57138 rm -f conftest.er1
57139 cat conftest.err >&5
57140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57141 (exit $ac_status); } &&
57142 { ac_try='test -z "$ac_cxx_werror_flag"
57143 || test ! -s conftest.err'
57144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57145 (eval $ac_try) 2>&5
57146 ac_status=$?
57147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57148 (exit $ac_status); }; } &&
57149 { ac_try='test -s conftest.$ac_objext'
57150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57151 (eval $ac_try) 2>&5
57152 ac_status=$?
57153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57154 (exit $ac_status); }; }; then
57155 glibcxx_cv_func_hypotl_use=yes
57156 else
57157 echo "$as_me: failed program was:" >&5
57158 sed 's/^/| /' conftest.$ac_ext >&5
57159
57160 glibcxx_cv_func_hypotl_use=no
57161 fi
57162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57163 ac_ext=c
57164 ac_cpp='$CPP $CPPFLAGS'
57165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168
57169
57170 fi
57171
57172 fi
57173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57174 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57175
57176 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57177
57178 for ac_func in hypotl
57179 do
57180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57181 echo "$as_me:$LINENO: checking for $ac_func" >&5
57182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57183 if eval "test \"\${$as_ac_var+set}\" = set"; then
57184 echo $ECHO_N "(cached) $ECHO_C" >&6
57185 else
57186 if test x$gcc_no_link = xyes; then
57187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57189 { (exit 1); exit 1; }; }
57190 fi
57191 cat >conftest.$ac_ext <<_ACEOF
57192 /* confdefs.h. */
57193 _ACEOF
57194 cat confdefs.h >>conftest.$ac_ext
57195 cat >>conftest.$ac_ext <<_ACEOF
57196 /* end confdefs.h. */
57197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57199 #define $ac_func innocuous_$ac_func
57200
57201 /* System header to define __stub macros and hopefully few prototypes,
57202 which can conflict with char $ac_func (); below.
57203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57204 <limits.h> exists even on freestanding compilers. */
57205
57206 #ifdef __STDC__
57207 # include <limits.h>
57208 #else
57209 # include <assert.h>
57210 #endif
57211
57212 #undef $ac_func
57213
57214 /* Override any gcc2 internal prototype to avoid an error. */
57215 #ifdef __cplusplus
57216 extern "C"
57217 {
57218 #endif
57219 /* We use char because int might match the return type of a gcc2
57220 builtin and then its argument prototype would still apply. */
57221 char $ac_func ();
57222 /* The GNU C library defines this for functions which it implements
57223 to always fail with ENOSYS. Some functions are actually named
57224 something starting with __ and the normal name is an alias. */
57225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57226 choke me
57227 #else
57228 char (*f) () = $ac_func;
57229 #endif
57230 #ifdef __cplusplus
57231 }
57232 #endif
57233
57234 int
57235 main ()
57236 {
57237 return f != $ac_func;
57238 ;
57239 return 0;
57240 }
57241 _ACEOF
57242 rm -f conftest.$ac_objext conftest$ac_exeext
57243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57244 (eval $ac_link) 2>conftest.er1
57245 ac_status=$?
57246 grep -v '^ *+' conftest.er1 >conftest.err
57247 rm -f conftest.er1
57248 cat conftest.err >&5
57249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57250 (exit $ac_status); } &&
57251 { ac_try='test -z "$ac_c_werror_flag"
57252 || test ! -s conftest.err'
57253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57254 (eval $ac_try) 2>&5
57255 ac_status=$?
57256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57257 (exit $ac_status); }; } &&
57258 { ac_try='test -s conftest$ac_exeext'
57259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57260 (eval $ac_try) 2>&5
57261 ac_status=$?
57262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57263 (exit $ac_status); }; }; then
57264 eval "$as_ac_var=yes"
57265 else
57266 echo "$as_me: failed program was:" >&5
57267 sed 's/^/| /' conftest.$ac_ext >&5
57268
57269 eval "$as_ac_var=no"
57270 fi
57271 rm -f conftest.err conftest.$ac_objext \
57272 conftest$ac_exeext conftest.$ac_ext
57273 fi
57274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57276 if test `eval echo '${'$as_ac_var'}'` = yes; then
57277 cat >>confdefs.h <<_ACEOF
57278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57279 _ACEOF
57280
57281 fi
57282 done
57283
57284 else
57285
57286 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57287 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57288 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57289 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57290 echo $ECHO_N "(cached) $ECHO_C" >&6
57291 else
57292
57293
57294
57295 ac_ext=cc
57296 ac_cpp='$CXXCPP $CPPFLAGS'
57297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57300
57301 cat >conftest.$ac_ext <<_ACEOF
57302 /* confdefs.h. */
57303 _ACEOF
57304 cat confdefs.h >>conftest.$ac_ext
57305 cat >>conftest.$ac_ext <<_ACEOF
57306 /* end confdefs.h. */
57307 #include <math.h>
57308 int
57309 main ()
57310 {
57311 _hypotl(0, 0);
57312 ;
57313 return 0;
57314 }
57315 _ACEOF
57316 rm -f conftest.$ac_objext
57317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57318 (eval $ac_compile) 2>conftest.er1
57319 ac_status=$?
57320 grep -v '^ *+' conftest.er1 >conftest.err
57321 rm -f conftest.er1
57322 cat conftest.err >&5
57323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57324 (exit $ac_status); } &&
57325 { ac_try='test -z "$ac_cxx_werror_flag"
57326 || test ! -s conftest.err'
57327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57328 (eval $ac_try) 2>&5
57329 ac_status=$?
57330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57331 (exit $ac_status); }; } &&
57332 { ac_try='test -s conftest.$ac_objext'
57333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57334 (eval $ac_try) 2>&5
57335 ac_status=$?
57336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57337 (exit $ac_status); }; }; then
57338 glibcxx_cv_func__hypotl_use=yes
57339 else
57340 echo "$as_me: failed program was:" >&5
57341 sed 's/^/| /' conftest.$ac_ext >&5
57342
57343 glibcxx_cv_func__hypotl_use=no
57344 fi
57345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57346 ac_ext=c
57347 ac_cpp='$CPP $CPPFLAGS'
57348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57351
57352
57353 fi
57354
57355 fi
57356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57357 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57358
57359 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57360
57361 for ac_func in _hypotl
57362 do
57363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57364 echo "$as_me:$LINENO: checking for $ac_func" >&5
57365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57366 if eval "test \"\${$as_ac_var+set}\" = set"; then
57367 echo $ECHO_N "(cached) $ECHO_C" >&6
57368 else
57369 if test x$gcc_no_link = xyes; then
57370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57372 { (exit 1); exit 1; }; }
57373 fi
57374 cat >conftest.$ac_ext <<_ACEOF
57375 /* confdefs.h. */
57376 _ACEOF
57377 cat confdefs.h >>conftest.$ac_ext
57378 cat >>conftest.$ac_ext <<_ACEOF
57379 /* end confdefs.h. */
57380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57382 #define $ac_func innocuous_$ac_func
57383
57384 /* System header to define __stub macros and hopefully few prototypes,
57385 which can conflict with char $ac_func (); below.
57386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57387 <limits.h> exists even on freestanding compilers. */
57388
57389 #ifdef __STDC__
57390 # include <limits.h>
57391 #else
57392 # include <assert.h>
57393 #endif
57394
57395 #undef $ac_func
57396
57397 /* Override any gcc2 internal prototype to avoid an error. */
57398 #ifdef __cplusplus
57399 extern "C"
57400 {
57401 #endif
57402 /* We use char because int might match the return type of a gcc2
57403 builtin and then its argument prototype would still apply. */
57404 char $ac_func ();
57405 /* The GNU C library defines this for functions which it implements
57406 to always fail with ENOSYS. Some functions are actually named
57407 something starting with __ and the normal name is an alias. */
57408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57409 choke me
57410 #else
57411 char (*f) () = $ac_func;
57412 #endif
57413 #ifdef __cplusplus
57414 }
57415 #endif
57416
57417 int
57418 main ()
57419 {
57420 return f != $ac_func;
57421 ;
57422 return 0;
57423 }
57424 _ACEOF
57425 rm -f conftest.$ac_objext conftest$ac_exeext
57426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57427 (eval $ac_link) 2>conftest.er1
57428 ac_status=$?
57429 grep -v '^ *+' conftest.er1 >conftest.err
57430 rm -f conftest.er1
57431 cat conftest.err >&5
57432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433 (exit $ac_status); } &&
57434 { ac_try='test -z "$ac_c_werror_flag"
57435 || test ! -s conftest.err'
57436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57437 (eval $ac_try) 2>&5
57438 ac_status=$?
57439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57440 (exit $ac_status); }; } &&
57441 { ac_try='test -s conftest$ac_exeext'
57442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57443 (eval $ac_try) 2>&5
57444 ac_status=$?
57445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57446 (exit $ac_status); }; }; then
57447 eval "$as_ac_var=yes"
57448 else
57449 echo "$as_me: failed program was:" >&5
57450 sed 's/^/| /' conftest.$ac_ext >&5
57451
57452 eval "$as_ac_var=no"
57453 fi
57454 rm -f conftest.err conftest.$ac_objext \
57455 conftest$ac_exeext conftest.$ac_ext
57456 fi
57457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57459 if test `eval echo '${'$as_ac_var'}'` = yes; then
57460 cat >>confdefs.h <<_ACEOF
57461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57462 _ACEOF
57463
57464 fi
57465 done
57466
57467 fi
57468 fi
57469
57470
57471
57472
57473
57474
57475 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57476 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57477 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57478 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57479 echo $ECHO_N "(cached) $ECHO_C" >&6
57480 else
57481
57482
57483
57484 ac_ext=cc
57485 ac_cpp='$CXXCPP $CPPFLAGS'
57486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57489
57490 cat >conftest.$ac_ext <<_ACEOF
57491 /* confdefs.h. */
57492 _ACEOF
57493 cat confdefs.h >>conftest.$ac_ext
57494 cat >>conftest.$ac_ext <<_ACEOF
57495 /* end confdefs.h. */
57496 #include <math.h>
57497 int
57498 main ()
57499 {
57500 ldexpl(0, 0);
57501 ;
57502 return 0;
57503 }
57504 _ACEOF
57505 rm -f conftest.$ac_objext
57506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57507 (eval $ac_compile) 2>conftest.er1
57508 ac_status=$?
57509 grep -v '^ *+' conftest.er1 >conftest.err
57510 rm -f conftest.er1
57511 cat conftest.err >&5
57512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57513 (exit $ac_status); } &&
57514 { ac_try='test -z "$ac_cxx_werror_flag"
57515 || test ! -s conftest.err'
57516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57517 (eval $ac_try) 2>&5
57518 ac_status=$?
57519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57520 (exit $ac_status); }; } &&
57521 { ac_try='test -s conftest.$ac_objext'
57522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57523 (eval $ac_try) 2>&5
57524 ac_status=$?
57525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57526 (exit $ac_status); }; }; then
57527 glibcxx_cv_func_ldexpl_use=yes
57528 else
57529 echo "$as_me: failed program was:" >&5
57530 sed 's/^/| /' conftest.$ac_ext >&5
57531
57532 glibcxx_cv_func_ldexpl_use=no
57533 fi
57534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57535 ac_ext=c
57536 ac_cpp='$CPP $CPPFLAGS'
57537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57540
57541
57542 fi
57543
57544 fi
57545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57546 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57547
57548 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57549
57550 for ac_func in ldexpl
57551 do
57552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57553 echo "$as_me:$LINENO: checking for $ac_func" >&5
57554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57555 if eval "test \"\${$as_ac_var+set}\" = set"; then
57556 echo $ECHO_N "(cached) $ECHO_C" >&6
57557 else
57558 if test x$gcc_no_link = xyes; then
57559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57561 { (exit 1); exit 1; }; }
57562 fi
57563 cat >conftest.$ac_ext <<_ACEOF
57564 /* confdefs.h. */
57565 _ACEOF
57566 cat confdefs.h >>conftest.$ac_ext
57567 cat >>conftest.$ac_ext <<_ACEOF
57568 /* end confdefs.h. */
57569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57571 #define $ac_func innocuous_$ac_func
57572
57573 /* System header to define __stub macros and hopefully few prototypes,
57574 which can conflict with char $ac_func (); below.
57575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57576 <limits.h> exists even on freestanding compilers. */
57577
57578 #ifdef __STDC__
57579 # include <limits.h>
57580 #else
57581 # include <assert.h>
57582 #endif
57583
57584 #undef $ac_func
57585
57586 /* Override any gcc2 internal prototype to avoid an error. */
57587 #ifdef __cplusplus
57588 extern "C"
57589 {
57590 #endif
57591 /* We use char because int might match the return type of a gcc2
57592 builtin and then its argument prototype would still apply. */
57593 char $ac_func ();
57594 /* The GNU C library defines this for functions which it implements
57595 to always fail with ENOSYS. Some functions are actually named
57596 something starting with __ and the normal name is an alias. */
57597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57598 choke me
57599 #else
57600 char (*f) () = $ac_func;
57601 #endif
57602 #ifdef __cplusplus
57603 }
57604 #endif
57605
57606 int
57607 main ()
57608 {
57609 return f != $ac_func;
57610 ;
57611 return 0;
57612 }
57613 _ACEOF
57614 rm -f conftest.$ac_objext conftest$ac_exeext
57615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57616 (eval $ac_link) 2>conftest.er1
57617 ac_status=$?
57618 grep -v '^ *+' conftest.er1 >conftest.err
57619 rm -f conftest.er1
57620 cat conftest.err >&5
57621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622 (exit $ac_status); } &&
57623 { ac_try='test -z "$ac_c_werror_flag"
57624 || test ! -s conftest.err'
57625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57626 (eval $ac_try) 2>&5
57627 ac_status=$?
57628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57629 (exit $ac_status); }; } &&
57630 { ac_try='test -s conftest$ac_exeext'
57631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57632 (eval $ac_try) 2>&5
57633 ac_status=$?
57634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57635 (exit $ac_status); }; }; then
57636 eval "$as_ac_var=yes"
57637 else
57638 echo "$as_me: failed program was:" >&5
57639 sed 's/^/| /' conftest.$ac_ext >&5
57640
57641 eval "$as_ac_var=no"
57642 fi
57643 rm -f conftest.err conftest.$ac_objext \
57644 conftest$ac_exeext conftest.$ac_ext
57645 fi
57646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57648 if test `eval echo '${'$as_ac_var'}'` = yes; then
57649 cat >>confdefs.h <<_ACEOF
57650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57651 _ACEOF
57652
57653 fi
57654 done
57655
57656 else
57657
57658 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57659 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57660 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57661 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57662 echo $ECHO_N "(cached) $ECHO_C" >&6
57663 else
57664
57665
57666
57667 ac_ext=cc
57668 ac_cpp='$CXXCPP $CPPFLAGS'
57669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57672
57673 cat >conftest.$ac_ext <<_ACEOF
57674 /* confdefs.h. */
57675 _ACEOF
57676 cat confdefs.h >>conftest.$ac_ext
57677 cat >>conftest.$ac_ext <<_ACEOF
57678 /* end confdefs.h. */
57679 #include <math.h>
57680 int
57681 main ()
57682 {
57683 _ldexpl(0, 0);
57684 ;
57685 return 0;
57686 }
57687 _ACEOF
57688 rm -f conftest.$ac_objext
57689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57690 (eval $ac_compile) 2>conftest.er1
57691 ac_status=$?
57692 grep -v '^ *+' conftest.er1 >conftest.err
57693 rm -f conftest.er1
57694 cat conftest.err >&5
57695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57696 (exit $ac_status); } &&
57697 { ac_try='test -z "$ac_cxx_werror_flag"
57698 || test ! -s conftest.err'
57699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57700 (eval $ac_try) 2>&5
57701 ac_status=$?
57702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57703 (exit $ac_status); }; } &&
57704 { ac_try='test -s conftest.$ac_objext'
57705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57706 (eval $ac_try) 2>&5
57707 ac_status=$?
57708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57709 (exit $ac_status); }; }; then
57710 glibcxx_cv_func__ldexpl_use=yes
57711 else
57712 echo "$as_me: failed program was:" >&5
57713 sed 's/^/| /' conftest.$ac_ext >&5
57714
57715 glibcxx_cv_func__ldexpl_use=no
57716 fi
57717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57718 ac_ext=c
57719 ac_cpp='$CPP $CPPFLAGS'
57720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57723
57724
57725 fi
57726
57727 fi
57728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57729 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57730
57731 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57732
57733 for ac_func in _ldexpl
57734 do
57735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57736 echo "$as_me:$LINENO: checking for $ac_func" >&5
57737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57738 if eval "test \"\${$as_ac_var+set}\" = set"; then
57739 echo $ECHO_N "(cached) $ECHO_C" >&6
57740 else
57741 if test x$gcc_no_link = xyes; then
57742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57744 { (exit 1); exit 1; }; }
57745 fi
57746 cat >conftest.$ac_ext <<_ACEOF
57747 /* confdefs.h. */
57748 _ACEOF
57749 cat confdefs.h >>conftest.$ac_ext
57750 cat >>conftest.$ac_ext <<_ACEOF
57751 /* end confdefs.h. */
57752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57754 #define $ac_func innocuous_$ac_func
57755
57756 /* System header to define __stub macros and hopefully few prototypes,
57757 which can conflict with char $ac_func (); below.
57758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57759 <limits.h> exists even on freestanding compilers. */
57760
57761 #ifdef __STDC__
57762 # include <limits.h>
57763 #else
57764 # include <assert.h>
57765 #endif
57766
57767 #undef $ac_func
57768
57769 /* Override any gcc2 internal prototype to avoid an error. */
57770 #ifdef __cplusplus
57771 extern "C"
57772 {
57773 #endif
57774 /* We use char because int might match the return type of a gcc2
57775 builtin and then its argument prototype would still apply. */
57776 char $ac_func ();
57777 /* The GNU C library defines this for functions which it implements
57778 to always fail with ENOSYS. Some functions are actually named
57779 something starting with __ and the normal name is an alias. */
57780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57781 choke me
57782 #else
57783 char (*f) () = $ac_func;
57784 #endif
57785 #ifdef __cplusplus
57786 }
57787 #endif
57788
57789 int
57790 main ()
57791 {
57792 return f != $ac_func;
57793 ;
57794 return 0;
57795 }
57796 _ACEOF
57797 rm -f conftest.$ac_objext conftest$ac_exeext
57798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57799 (eval $ac_link) 2>conftest.er1
57800 ac_status=$?
57801 grep -v '^ *+' conftest.er1 >conftest.err
57802 rm -f conftest.er1
57803 cat conftest.err >&5
57804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805 (exit $ac_status); } &&
57806 { ac_try='test -z "$ac_c_werror_flag"
57807 || test ! -s conftest.err'
57808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57809 (eval $ac_try) 2>&5
57810 ac_status=$?
57811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57812 (exit $ac_status); }; } &&
57813 { ac_try='test -s conftest$ac_exeext'
57814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57815 (eval $ac_try) 2>&5
57816 ac_status=$?
57817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57818 (exit $ac_status); }; }; then
57819 eval "$as_ac_var=yes"
57820 else
57821 echo "$as_me: failed program was:" >&5
57822 sed 's/^/| /' conftest.$ac_ext >&5
57823
57824 eval "$as_ac_var=no"
57825 fi
57826 rm -f conftest.err conftest.$ac_objext \
57827 conftest$ac_exeext conftest.$ac_ext
57828 fi
57829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57831 if test `eval echo '${'$as_ac_var'}'` = yes; then
57832 cat >>confdefs.h <<_ACEOF
57833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57834 _ACEOF
57835
57836 fi
57837 done
57838
57839 fi
57840 fi
57841
57842
57843
57844
57845
57846
57847 echo "$as_me:$LINENO: checking for logl declaration" >&5
57848 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57849 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57850 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57851 echo $ECHO_N "(cached) $ECHO_C" >&6
57852 else
57853
57854
57855
57856 ac_ext=cc
57857 ac_cpp='$CXXCPP $CPPFLAGS'
57858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57861
57862 cat >conftest.$ac_ext <<_ACEOF
57863 /* confdefs.h. */
57864 _ACEOF
57865 cat confdefs.h >>conftest.$ac_ext
57866 cat >>conftest.$ac_ext <<_ACEOF
57867 /* end confdefs.h. */
57868 #include <math.h>
57869 #ifdef HAVE_IEEEFP_H
57870 #include <ieeefp.h>
57871 #endif
57872
57873 int
57874 main ()
57875 {
57876 logl(0);
57877 ;
57878 return 0;
57879 }
57880 _ACEOF
57881 rm -f conftest.$ac_objext
57882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57883 (eval $ac_compile) 2>conftest.er1
57884 ac_status=$?
57885 grep -v '^ *+' conftest.er1 >conftest.err
57886 rm -f conftest.er1
57887 cat conftest.err >&5
57888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57889 (exit $ac_status); } &&
57890 { ac_try='test -z "$ac_cxx_werror_flag"
57891 || test ! -s conftest.err'
57892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57893 (eval $ac_try) 2>&5
57894 ac_status=$?
57895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57896 (exit $ac_status); }; } &&
57897 { ac_try='test -s conftest.$ac_objext'
57898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57899 (eval $ac_try) 2>&5
57900 ac_status=$?
57901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902 (exit $ac_status); }; }; then
57903 glibcxx_cv_func_logl_use=yes
57904 else
57905 echo "$as_me: failed program was:" >&5
57906 sed 's/^/| /' conftest.$ac_ext >&5
57907
57908 glibcxx_cv_func_logl_use=no
57909 fi
57910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57911 ac_ext=c
57912 ac_cpp='$CPP $CPPFLAGS'
57913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57916
57917
57918 fi
57919
57920 fi
57921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57922 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57923
57924 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57925
57926 for ac_func in logl
57927 do
57928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57929 echo "$as_me:$LINENO: checking for $ac_func" >&5
57930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57931 if eval "test \"\${$as_ac_var+set}\" = set"; then
57932 echo $ECHO_N "(cached) $ECHO_C" >&6
57933 else
57934 if test x$gcc_no_link = xyes; then
57935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57937 { (exit 1); exit 1; }; }
57938 fi
57939 cat >conftest.$ac_ext <<_ACEOF
57940 /* confdefs.h. */
57941 _ACEOF
57942 cat confdefs.h >>conftest.$ac_ext
57943 cat >>conftest.$ac_ext <<_ACEOF
57944 /* end confdefs.h. */
57945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57947 #define $ac_func innocuous_$ac_func
57948
57949 /* System header to define __stub macros and hopefully few prototypes,
57950 which can conflict with char $ac_func (); below.
57951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57952 <limits.h> exists even on freestanding compilers. */
57953
57954 #ifdef __STDC__
57955 # include <limits.h>
57956 #else
57957 # include <assert.h>
57958 #endif
57959
57960 #undef $ac_func
57961
57962 /* Override any gcc2 internal prototype to avoid an error. */
57963 #ifdef __cplusplus
57964 extern "C"
57965 {
57966 #endif
57967 /* We use char because int might match the return type of a gcc2
57968 builtin and then its argument prototype would still apply. */
57969 char $ac_func ();
57970 /* The GNU C library defines this for functions which it implements
57971 to always fail with ENOSYS. Some functions are actually named
57972 something starting with __ and the normal name is an alias. */
57973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57974 choke me
57975 #else
57976 char (*f) () = $ac_func;
57977 #endif
57978 #ifdef __cplusplus
57979 }
57980 #endif
57981
57982 int
57983 main ()
57984 {
57985 return f != $ac_func;
57986 ;
57987 return 0;
57988 }
57989 _ACEOF
57990 rm -f conftest.$ac_objext conftest$ac_exeext
57991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57992 (eval $ac_link) 2>conftest.er1
57993 ac_status=$?
57994 grep -v '^ *+' conftest.er1 >conftest.err
57995 rm -f conftest.er1
57996 cat conftest.err >&5
57997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998 (exit $ac_status); } &&
57999 { ac_try='test -z "$ac_c_werror_flag"
58000 || test ! -s conftest.err'
58001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58002 (eval $ac_try) 2>&5
58003 ac_status=$?
58004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58005 (exit $ac_status); }; } &&
58006 { ac_try='test -s conftest$ac_exeext'
58007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58008 (eval $ac_try) 2>&5
58009 ac_status=$?
58010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58011 (exit $ac_status); }; }; then
58012 eval "$as_ac_var=yes"
58013 else
58014 echo "$as_me: failed program was:" >&5
58015 sed 's/^/| /' conftest.$ac_ext >&5
58016
58017 eval "$as_ac_var=no"
58018 fi
58019 rm -f conftest.err conftest.$ac_objext \
58020 conftest$ac_exeext conftest.$ac_ext
58021 fi
58022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58024 if test `eval echo '${'$as_ac_var'}'` = yes; then
58025 cat >>confdefs.h <<_ACEOF
58026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58027 _ACEOF
58028
58029 fi
58030 done
58031
58032 else
58033
58034 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58035 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58036 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58037 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58038 echo $ECHO_N "(cached) $ECHO_C" >&6
58039 else
58040
58041
58042
58043 ac_ext=cc
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58048
58049 cat >conftest.$ac_ext <<_ACEOF
58050 /* confdefs.h. */
58051 _ACEOF
58052 cat confdefs.h >>conftest.$ac_ext
58053 cat >>conftest.$ac_ext <<_ACEOF
58054 /* end confdefs.h. */
58055 #include <math.h>
58056 #ifdef HAVE_IEEEFP_H
58057 #include <ieeefp.h>
58058 #endif
58059
58060 int
58061 main ()
58062 {
58063 _logl(0);
58064 ;
58065 return 0;
58066 }
58067 _ACEOF
58068 rm -f conftest.$ac_objext
58069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58070 (eval $ac_compile) 2>conftest.er1
58071 ac_status=$?
58072 grep -v '^ *+' conftest.er1 >conftest.err
58073 rm -f conftest.er1
58074 cat conftest.err >&5
58075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58076 (exit $ac_status); } &&
58077 { ac_try='test -z "$ac_cxx_werror_flag"
58078 || test ! -s conftest.err'
58079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58080 (eval $ac_try) 2>&5
58081 ac_status=$?
58082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58083 (exit $ac_status); }; } &&
58084 { ac_try='test -s conftest.$ac_objext'
58085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58086 (eval $ac_try) 2>&5
58087 ac_status=$?
58088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58089 (exit $ac_status); }; }; then
58090 glibcxx_cv_func__logl_use=yes
58091 else
58092 echo "$as_me: failed program was:" >&5
58093 sed 's/^/| /' conftest.$ac_ext >&5
58094
58095 glibcxx_cv_func__logl_use=no
58096 fi
58097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58098 ac_ext=c
58099 ac_cpp='$CPP $CPPFLAGS'
58100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58103
58104
58105 fi
58106
58107 fi
58108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58109 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58110
58111 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58112
58113 for ac_func in _logl
58114 do
58115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58116 echo "$as_me:$LINENO: checking for $ac_func" >&5
58117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58118 if eval "test \"\${$as_ac_var+set}\" = set"; then
58119 echo $ECHO_N "(cached) $ECHO_C" >&6
58120 else
58121 if test x$gcc_no_link = xyes; then
58122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58124 { (exit 1); exit 1; }; }
58125 fi
58126 cat >conftest.$ac_ext <<_ACEOF
58127 /* confdefs.h. */
58128 _ACEOF
58129 cat confdefs.h >>conftest.$ac_ext
58130 cat >>conftest.$ac_ext <<_ACEOF
58131 /* end confdefs.h. */
58132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58134 #define $ac_func innocuous_$ac_func
58135
58136 /* System header to define __stub macros and hopefully few prototypes,
58137 which can conflict with char $ac_func (); below.
58138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58139 <limits.h> exists even on freestanding compilers. */
58140
58141 #ifdef __STDC__
58142 # include <limits.h>
58143 #else
58144 # include <assert.h>
58145 #endif
58146
58147 #undef $ac_func
58148
58149 /* Override any gcc2 internal prototype to avoid an error. */
58150 #ifdef __cplusplus
58151 extern "C"
58152 {
58153 #endif
58154 /* We use char because int might match the return type of a gcc2
58155 builtin and then its argument prototype would still apply. */
58156 char $ac_func ();
58157 /* The GNU C library defines this for functions which it implements
58158 to always fail with ENOSYS. Some functions are actually named
58159 something starting with __ and the normal name is an alias. */
58160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58161 choke me
58162 #else
58163 char (*f) () = $ac_func;
58164 #endif
58165 #ifdef __cplusplus
58166 }
58167 #endif
58168
58169 int
58170 main ()
58171 {
58172 return f != $ac_func;
58173 ;
58174 return 0;
58175 }
58176 _ACEOF
58177 rm -f conftest.$ac_objext conftest$ac_exeext
58178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58179 (eval $ac_link) 2>conftest.er1
58180 ac_status=$?
58181 grep -v '^ *+' conftest.er1 >conftest.err
58182 rm -f conftest.er1
58183 cat conftest.err >&5
58184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58185 (exit $ac_status); } &&
58186 { ac_try='test -z "$ac_c_werror_flag"
58187 || test ! -s conftest.err'
58188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58189 (eval $ac_try) 2>&5
58190 ac_status=$?
58191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58192 (exit $ac_status); }; } &&
58193 { ac_try='test -s conftest$ac_exeext'
58194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58195 (eval $ac_try) 2>&5
58196 ac_status=$?
58197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58198 (exit $ac_status); }; }; then
58199 eval "$as_ac_var=yes"
58200 else
58201 echo "$as_me: failed program was:" >&5
58202 sed 's/^/| /' conftest.$ac_ext >&5
58203
58204 eval "$as_ac_var=no"
58205 fi
58206 rm -f conftest.err conftest.$ac_objext \
58207 conftest$ac_exeext conftest.$ac_ext
58208 fi
58209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58211 if test `eval echo '${'$as_ac_var'}'` = yes; then
58212 cat >>confdefs.h <<_ACEOF
58213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58214 _ACEOF
58215
58216 fi
58217 done
58218
58219 fi
58220 fi
58221
58222
58223
58224
58225
58226
58227 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58228 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58229 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58230 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58231 echo $ECHO_N "(cached) $ECHO_C" >&6
58232 else
58233
58234
58235
58236 ac_ext=cc
58237 ac_cpp='$CXXCPP $CPPFLAGS'
58238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58241
58242 cat >conftest.$ac_ext <<_ACEOF
58243 /* confdefs.h. */
58244 _ACEOF
58245 cat confdefs.h >>conftest.$ac_ext
58246 cat >>conftest.$ac_ext <<_ACEOF
58247 /* end confdefs.h. */
58248 #include <math.h>
58249 #ifdef HAVE_IEEEFP_H
58250 #include <ieeefp.h>
58251 #endif
58252
58253 int
58254 main ()
58255 {
58256 log10l(0);
58257 ;
58258 return 0;
58259 }
58260 _ACEOF
58261 rm -f conftest.$ac_objext
58262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58263 (eval $ac_compile) 2>conftest.er1
58264 ac_status=$?
58265 grep -v '^ *+' conftest.er1 >conftest.err
58266 rm -f conftest.er1
58267 cat conftest.err >&5
58268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58269 (exit $ac_status); } &&
58270 { ac_try='test -z "$ac_cxx_werror_flag"
58271 || test ! -s conftest.err'
58272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58273 (eval $ac_try) 2>&5
58274 ac_status=$?
58275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58276 (exit $ac_status); }; } &&
58277 { ac_try='test -s conftest.$ac_objext'
58278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58279 (eval $ac_try) 2>&5
58280 ac_status=$?
58281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282 (exit $ac_status); }; }; then
58283 glibcxx_cv_func_log10l_use=yes
58284 else
58285 echo "$as_me: failed program was:" >&5
58286 sed 's/^/| /' conftest.$ac_ext >&5
58287
58288 glibcxx_cv_func_log10l_use=no
58289 fi
58290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58291 ac_ext=c
58292 ac_cpp='$CPP $CPPFLAGS'
58293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58296
58297
58298 fi
58299
58300 fi
58301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58302 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58303
58304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58305
58306 for ac_func in log10l
58307 do
58308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58309 echo "$as_me:$LINENO: checking for $ac_func" >&5
58310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58311 if eval "test \"\${$as_ac_var+set}\" = set"; then
58312 echo $ECHO_N "(cached) $ECHO_C" >&6
58313 else
58314 if test x$gcc_no_link = xyes; then
58315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58317 { (exit 1); exit 1; }; }
58318 fi
58319 cat >conftest.$ac_ext <<_ACEOF
58320 /* confdefs.h. */
58321 _ACEOF
58322 cat confdefs.h >>conftest.$ac_ext
58323 cat >>conftest.$ac_ext <<_ACEOF
58324 /* end confdefs.h. */
58325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58327 #define $ac_func innocuous_$ac_func
58328
58329 /* System header to define __stub macros and hopefully few prototypes,
58330 which can conflict with char $ac_func (); below.
58331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58332 <limits.h> exists even on freestanding compilers. */
58333
58334 #ifdef __STDC__
58335 # include <limits.h>
58336 #else
58337 # include <assert.h>
58338 #endif
58339
58340 #undef $ac_func
58341
58342 /* Override any gcc2 internal prototype to avoid an error. */
58343 #ifdef __cplusplus
58344 extern "C"
58345 {
58346 #endif
58347 /* We use char because int might match the return type of a gcc2
58348 builtin and then its argument prototype would still apply. */
58349 char $ac_func ();
58350 /* The GNU C library defines this for functions which it implements
58351 to always fail with ENOSYS. Some functions are actually named
58352 something starting with __ and the normal name is an alias. */
58353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58354 choke me
58355 #else
58356 char (*f) () = $ac_func;
58357 #endif
58358 #ifdef __cplusplus
58359 }
58360 #endif
58361
58362 int
58363 main ()
58364 {
58365 return f != $ac_func;
58366 ;
58367 return 0;
58368 }
58369 _ACEOF
58370 rm -f conftest.$ac_objext conftest$ac_exeext
58371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58372 (eval $ac_link) 2>conftest.er1
58373 ac_status=$?
58374 grep -v '^ *+' conftest.er1 >conftest.err
58375 rm -f conftest.er1
58376 cat conftest.err >&5
58377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58378 (exit $ac_status); } &&
58379 { ac_try='test -z "$ac_c_werror_flag"
58380 || test ! -s conftest.err'
58381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58382 (eval $ac_try) 2>&5
58383 ac_status=$?
58384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58385 (exit $ac_status); }; } &&
58386 { ac_try='test -s conftest$ac_exeext'
58387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58388 (eval $ac_try) 2>&5
58389 ac_status=$?
58390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58391 (exit $ac_status); }; }; then
58392 eval "$as_ac_var=yes"
58393 else
58394 echo "$as_me: failed program was:" >&5
58395 sed 's/^/| /' conftest.$ac_ext >&5
58396
58397 eval "$as_ac_var=no"
58398 fi
58399 rm -f conftest.err conftest.$ac_objext \
58400 conftest$ac_exeext conftest.$ac_ext
58401 fi
58402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58404 if test `eval echo '${'$as_ac_var'}'` = yes; then
58405 cat >>confdefs.h <<_ACEOF
58406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58407 _ACEOF
58408
58409 fi
58410 done
58411
58412 else
58413
58414 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58415 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58416 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58417 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58418 echo $ECHO_N "(cached) $ECHO_C" >&6
58419 else
58420
58421
58422
58423 ac_ext=cc
58424 ac_cpp='$CXXCPP $CPPFLAGS'
58425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58428
58429 cat >conftest.$ac_ext <<_ACEOF
58430 /* confdefs.h. */
58431 _ACEOF
58432 cat confdefs.h >>conftest.$ac_ext
58433 cat >>conftest.$ac_ext <<_ACEOF
58434 /* end confdefs.h. */
58435 #include <math.h>
58436 #ifdef HAVE_IEEEFP_H
58437 #include <ieeefp.h>
58438 #endif
58439
58440 int
58441 main ()
58442 {
58443 _log10l(0);
58444 ;
58445 return 0;
58446 }
58447 _ACEOF
58448 rm -f conftest.$ac_objext
58449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58450 (eval $ac_compile) 2>conftest.er1
58451 ac_status=$?
58452 grep -v '^ *+' conftest.er1 >conftest.err
58453 rm -f conftest.er1
58454 cat conftest.err >&5
58455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58456 (exit $ac_status); } &&
58457 { ac_try='test -z "$ac_cxx_werror_flag"
58458 || test ! -s conftest.err'
58459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58460 (eval $ac_try) 2>&5
58461 ac_status=$?
58462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58463 (exit $ac_status); }; } &&
58464 { ac_try='test -s conftest.$ac_objext'
58465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58466 (eval $ac_try) 2>&5
58467 ac_status=$?
58468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58469 (exit $ac_status); }; }; then
58470 glibcxx_cv_func__log10l_use=yes
58471 else
58472 echo "$as_me: failed program was:" >&5
58473 sed 's/^/| /' conftest.$ac_ext >&5
58474
58475 glibcxx_cv_func__log10l_use=no
58476 fi
58477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58478 ac_ext=c
58479 ac_cpp='$CPP $CPPFLAGS'
58480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58483
58484
58485 fi
58486
58487 fi
58488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58489 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58490
58491 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58492
58493 for ac_func in _log10l
58494 do
58495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58496 echo "$as_me:$LINENO: checking for $ac_func" >&5
58497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58498 if eval "test \"\${$as_ac_var+set}\" = set"; then
58499 echo $ECHO_N "(cached) $ECHO_C" >&6
58500 else
58501 if test x$gcc_no_link = xyes; then
58502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58504 { (exit 1); exit 1; }; }
58505 fi
58506 cat >conftest.$ac_ext <<_ACEOF
58507 /* confdefs.h. */
58508 _ACEOF
58509 cat confdefs.h >>conftest.$ac_ext
58510 cat >>conftest.$ac_ext <<_ACEOF
58511 /* end confdefs.h. */
58512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58514 #define $ac_func innocuous_$ac_func
58515
58516 /* System header to define __stub macros and hopefully few prototypes,
58517 which can conflict with char $ac_func (); below.
58518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58519 <limits.h> exists even on freestanding compilers. */
58520
58521 #ifdef __STDC__
58522 # include <limits.h>
58523 #else
58524 # include <assert.h>
58525 #endif
58526
58527 #undef $ac_func
58528
58529 /* Override any gcc2 internal prototype to avoid an error. */
58530 #ifdef __cplusplus
58531 extern "C"
58532 {
58533 #endif
58534 /* We use char because int might match the return type of a gcc2
58535 builtin and then its argument prototype would still apply. */
58536 char $ac_func ();
58537 /* The GNU C library defines this for functions which it implements
58538 to always fail with ENOSYS. Some functions are actually named
58539 something starting with __ and the normal name is an alias. */
58540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58541 choke me
58542 #else
58543 char (*f) () = $ac_func;
58544 #endif
58545 #ifdef __cplusplus
58546 }
58547 #endif
58548
58549 int
58550 main ()
58551 {
58552 return f != $ac_func;
58553 ;
58554 return 0;
58555 }
58556 _ACEOF
58557 rm -f conftest.$ac_objext conftest$ac_exeext
58558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58559 (eval $ac_link) 2>conftest.er1
58560 ac_status=$?
58561 grep -v '^ *+' conftest.er1 >conftest.err
58562 rm -f conftest.er1
58563 cat conftest.err >&5
58564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565 (exit $ac_status); } &&
58566 { ac_try='test -z "$ac_c_werror_flag"
58567 || test ! -s conftest.err'
58568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58569 (eval $ac_try) 2>&5
58570 ac_status=$?
58571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58572 (exit $ac_status); }; } &&
58573 { ac_try='test -s conftest$ac_exeext'
58574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58575 (eval $ac_try) 2>&5
58576 ac_status=$?
58577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58578 (exit $ac_status); }; }; then
58579 eval "$as_ac_var=yes"
58580 else
58581 echo "$as_me: failed program was:" >&5
58582 sed 's/^/| /' conftest.$ac_ext >&5
58583
58584 eval "$as_ac_var=no"
58585 fi
58586 rm -f conftest.err conftest.$ac_objext \
58587 conftest$ac_exeext conftest.$ac_ext
58588 fi
58589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58591 if test `eval echo '${'$as_ac_var'}'` = yes; then
58592 cat >>confdefs.h <<_ACEOF
58593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58594 _ACEOF
58595
58596 fi
58597 done
58598
58599 fi
58600 fi
58601
58602
58603
58604
58605
58606
58607 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58608 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58609 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58610 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58611 echo $ECHO_N "(cached) $ECHO_C" >&6
58612 else
58613
58614
58615
58616 ac_ext=cc
58617 ac_cpp='$CXXCPP $CPPFLAGS'
58618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58621
58622 cat >conftest.$ac_ext <<_ACEOF
58623 /* confdefs.h. */
58624 _ACEOF
58625 cat confdefs.h >>conftest.$ac_ext
58626 cat >>conftest.$ac_ext <<_ACEOF
58627 /* end confdefs.h. */
58628 #include <math.h>
58629 int
58630 main ()
58631 {
58632 modfl(0, 0);
58633 ;
58634 return 0;
58635 }
58636 _ACEOF
58637 rm -f conftest.$ac_objext
58638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58639 (eval $ac_compile) 2>conftest.er1
58640 ac_status=$?
58641 grep -v '^ *+' conftest.er1 >conftest.err
58642 rm -f conftest.er1
58643 cat conftest.err >&5
58644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58645 (exit $ac_status); } &&
58646 { ac_try='test -z "$ac_cxx_werror_flag"
58647 || test ! -s conftest.err'
58648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58649 (eval $ac_try) 2>&5
58650 ac_status=$?
58651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58652 (exit $ac_status); }; } &&
58653 { ac_try='test -s conftest.$ac_objext'
58654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58655 (eval $ac_try) 2>&5
58656 ac_status=$?
58657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58658 (exit $ac_status); }; }; then
58659 glibcxx_cv_func_modfl_use=yes
58660 else
58661 echo "$as_me: failed program was:" >&5
58662 sed 's/^/| /' conftest.$ac_ext >&5
58663
58664 glibcxx_cv_func_modfl_use=no
58665 fi
58666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58667 ac_ext=c
58668 ac_cpp='$CPP $CPPFLAGS'
58669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58672
58673
58674 fi
58675
58676 fi
58677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58678 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58679
58680 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58681
58682 for ac_func in modfl
58683 do
58684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58685 echo "$as_me:$LINENO: checking for $ac_func" >&5
58686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58687 if eval "test \"\${$as_ac_var+set}\" = set"; then
58688 echo $ECHO_N "(cached) $ECHO_C" >&6
58689 else
58690 if test x$gcc_no_link = xyes; then
58691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58693 { (exit 1); exit 1; }; }
58694 fi
58695 cat >conftest.$ac_ext <<_ACEOF
58696 /* confdefs.h. */
58697 _ACEOF
58698 cat confdefs.h >>conftest.$ac_ext
58699 cat >>conftest.$ac_ext <<_ACEOF
58700 /* end confdefs.h. */
58701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58703 #define $ac_func innocuous_$ac_func
58704
58705 /* System header to define __stub macros and hopefully few prototypes,
58706 which can conflict with char $ac_func (); below.
58707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58708 <limits.h> exists even on freestanding compilers. */
58709
58710 #ifdef __STDC__
58711 # include <limits.h>
58712 #else
58713 # include <assert.h>
58714 #endif
58715
58716 #undef $ac_func
58717
58718 /* Override any gcc2 internal prototype to avoid an error. */
58719 #ifdef __cplusplus
58720 extern "C"
58721 {
58722 #endif
58723 /* We use char because int might match the return type of a gcc2
58724 builtin and then its argument prototype would still apply. */
58725 char $ac_func ();
58726 /* The GNU C library defines this for functions which it implements
58727 to always fail with ENOSYS. Some functions are actually named
58728 something starting with __ and the normal name is an alias. */
58729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58730 choke me
58731 #else
58732 char (*f) () = $ac_func;
58733 #endif
58734 #ifdef __cplusplus
58735 }
58736 #endif
58737
58738 int
58739 main ()
58740 {
58741 return f != $ac_func;
58742 ;
58743 return 0;
58744 }
58745 _ACEOF
58746 rm -f conftest.$ac_objext conftest$ac_exeext
58747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58748 (eval $ac_link) 2>conftest.er1
58749 ac_status=$?
58750 grep -v '^ *+' conftest.er1 >conftest.err
58751 rm -f conftest.er1
58752 cat conftest.err >&5
58753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58754 (exit $ac_status); } &&
58755 { ac_try='test -z "$ac_c_werror_flag"
58756 || test ! -s conftest.err'
58757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58758 (eval $ac_try) 2>&5
58759 ac_status=$?
58760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58761 (exit $ac_status); }; } &&
58762 { ac_try='test -s conftest$ac_exeext'
58763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58764 (eval $ac_try) 2>&5
58765 ac_status=$?
58766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58767 (exit $ac_status); }; }; then
58768 eval "$as_ac_var=yes"
58769 else
58770 echo "$as_me: failed program was:" >&5
58771 sed 's/^/| /' conftest.$ac_ext >&5
58772
58773 eval "$as_ac_var=no"
58774 fi
58775 rm -f conftest.err conftest.$ac_objext \
58776 conftest$ac_exeext conftest.$ac_ext
58777 fi
58778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58780 if test `eval echo '${'$as_ac_var'}'` = yes; then
58781 cat >>confdefs.h <<_ACEOF
58782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58783 _ACEOF
58784
58785 fi
58786 done
58787
58788 else
58789
58790 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58791 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58792 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58793 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58794 echo $ECHO_N "(cached) $ECHO_C" >&6
58795 else
58796
58797
58798
58799 ac_ext=cc
58800 ac_cpp='$CXXCPP $CPPFLAGS'
58801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58804
58805 cat >conftest.$ac_ext <<_ACEOF
58806 /* confdefs.h. */
58807 _ACEOF
58808 cat confdefs.h >>conftest.$ac_ext
58809 cat >>conftest.$ac_ext <<_ACEOF
58810 /* end confdefs.h. */
58811 #include <math.h>
58812 int
58813 main ()
58814 {
58815 _modfl(0, 0);
58816 ;
58817 return 0;
58818 }
58819 _ACEOF
58820 rm -f conftest.$ac_objext
58821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58822 (eval $ac_compile) 2>conftest.er1
58823 ac_status=$?
58824 grep -v '^ *+' conftest.er1 >conftest.err
58825 rm -f conftest.er1
58826 cat conftest.err >&5
58827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58828 (exit $ac_status); } &&
58829 { ac_try='test -z "$ac_cxx_werror_flag"
58830 || test ! -s conftest.err'
58831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58832 (eval $ac_try) 2>&5
58833 ac_status=$?
58834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58835 (exit $ac_status); }; } &&
58836 { ac_try='test -s conftest.$ac_objext'
58837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58838 (eval $ac_try) 2>&5
58839 ac_status=$?
58840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58841 (exit $ac_status); }; }; then
58842 glibcxx_cv_func__modfl_use=yes
58843 else
58844 echo "$as_me: failed program was:" >&5
58845 sed 's/^/| /' conftest.$ac_ext >&5
58846
58847 glibcxx_cv_func__modfl_use=no
58848 fi
58849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58850 ac_ext=c
58851 ac_cpp='$CPP $CPPFLAGS'
58852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58855
58856
58857 fi
58858
58859 fi
58860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58861 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58862
58863 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58864
58865 for ac_func in _modfl
58866 do
58867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58868 echo "$as_me:$LINENO: checking for $ac_func" >&5
58869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58870 if eval "test \"\${$as_ac_var+set}\" = set"; then
58871 echo $ECHO_N "(cached) $ECHO_C" >&6
58872 else
58873 if test x$gcc_no_link = xyes; then
58874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58876 { (exit 1); exit 1; }; }
58877 fi
58878 cat >conftest.$ac_ext <<_ACEOF
58879 /* confdefs.h. */
58880 _ACEOF
58881 cat confdefs.h >>conftest.$ac_ext
58882 cat >>conftest.$ac_ext <<_ACEOF
58883 /* end confdefs.h. */
58884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58886 #define $ac_func innocuous_$ac_func
58887
58888 /* System header to define __stub macros and hopefully few prototypes,
58889 which can conflict with char $ac_func (); below.
58890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58891 <limits.h> exists even on freestanding compilers. */
58892
58893 #ifdef __STDC__
58894 # include <limits.h>
58895 #else
58896 # include <assert.h>
58897 #endif
58898
58899 #undef $ac_func
58900
58901 /* Override any gcc2 internal prototype to avoid an error. */
58902 #ifdef __cplusplus
58903 extern "C"
58904 {
58905 #endif
58906 /* We use char because int might match the return type of a gcc2
58907 builtin and then its argument prototype would still apply. */
58908 char $ac_func ();
58909 /* The GNU C library defines this for functions which it implements
58910 to always fail with ENOSYS. Some functions are actually named
58911 something starting with __ and the normal name is an alias. */
58912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58913 choke me
58914 #else
58915 char (*f) () = $ac_func;
58916 #endif
58917 #ifdef __cplusplus
58918 }
58919 #endif
58920
58921 int
58922 main ()
58923 {
58924 return f != $ac_func;
58925 ;
58926 return 0;
58927 }
58928 _ACEOF
58929 rm -f conftest.$ac_objext conftest$ac_exeext
58930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58931 (eval $ac_link) 2>conftest.er1
58932 ac_status=$?
58933 grep -v '^ *+' conftest.er1 >conftest.err
58934 rm -f conftest.er1
58935 cat conftest.err >&5
58936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58937 (exit $ac_status); } &&
58938 { ac_try='test -z "$ac_c_werror_flag"
58939 || test ! -s conftest.err'
58940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58941 (eval $ac_try) 2>&5
58942 ac_status=$?
58943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58944 (exit $ac_status); }; } &&
58945 { ac_try='test -s conftest$ac_exeext'
58946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58947 (eval $ac_try) 2>&5
58948 ac_status=$?
58949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58950 (exit $ac_status); }; }; then
58951 eval "$as_ac_var=yes"
58952 else
58953 echo "$as_me: failed program was:" >&5
58954 sed 's/^/| /' conftest.$ac_ext >&5
58955
58956 eval "$as_ac_var=no"
58957 fi
58958 rm -f conftest.err conftest.$ac_objext \
58959 conftest$ac_exeext conftest.$ac_ext
58960 fi
58961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58963 if test `eval echo '${'$as_ac_var'}'` = yes; then
58964 cat >>confdefs.h <<_ACEOF
58965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58966 _ACEOF
58967
58968 fi
58969 done
58970
58971 fi
58972 fi
58973
58974
58975
58976
58977
58978
58979 echo "$as_me:$LINENO: checking for powl declaration" >&5
58980 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58981 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58982 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58983 echo $ECHO_N "(cached) $ECHO_C" >&6
58984 else
58985
58986
58987
58988 ac_ext=cc
58989 ac_cpp='$CXXCPP $CPPFLAGS'
58990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58993
58994 cat >conftest.$ac_ext <<_ACEOF
58995 /* confdefs.h. */
58996 _ACEOF
58997 cat confdefs.h >>conftest.$ac_ext
58998 cat >>conftest.$ac_ext <<_ACEOF
58999 /* end confdefs.h. */
59000 #include <math.h>
59001 int
59002 main ()
59003 {
59004 powl(0, 0);
59005 ;
59006 return 0;
59007 }
59008 _ACEOF
59009 rm -f conftest.$ac_objext
59010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59011 (eval $ac_compile) 2>conftest.er1
59012 ac_status=$?
59013 grep -v '^ *+' conftest.er1 >conftest.err
59014 rm -f conftest.er1
59015 cat conftest.err >&5
59016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59017 (exit $ac_status); } &&
59018 { ac_try='test -z "$ac_cxx_werror_flag"
59019 || test ! -s conftest.err'
59020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59021 (eval $ac_try) 2>&5
59022 ac_status=$?
59023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59024 (exit $ac_status); }; } &&
59025 { ac_try='test -s conftest.$ac_objext'
59026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59027 (eval $ac_try) 2>&5
59028 ac_status=$?
59029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59030 (exit $ac_status); }; }; then
59031 glibcxx_cv_func_powl_use=yes
59032 else
59033 echo "$as_me: failed program was:" >&5
59034 sed 's/^/| /' conftest.$ac_ext >&5
59035
59036 glibcxx_cv_func_powl_use=no
59037 fi
59038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59039 ac_ext=c
59040 ac_cpp='$CPP $CPPFLAGS'
59041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59044
59045
59046 fi
59047
59048 fi
59049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59050 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59051
59052 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59053
59054 for ac_func in powl
59055 do
59056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59057 echo "$as_me:$LINENO: checking for $ac_func" >&5
59058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59059 if eval "test \"\${$as_ac_var+set}\" = set"; then
59060 echo $ECHO_N "(cached) $ECHO_C" >&6
59061 else
59062 if test x$gcc_no_link = xyes; then
59063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59065 { (exit 1); exit 1; }; }
59066 fi
59067 cat >conftest.$ac_ext <<_ACEOF
59068 /* confdefs.h. */
59069 _ACEOF
59070 cat confdefs.h >>conftest.$ac_ext
59071 cat >>conftest.$ac_ext <<_ACEOF
59072 /* end confdefs.h. */
59073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59075 #define $ac_func innocuous_$ac_func
59076
59077 /* System header to define __stub macros and hopefully few prototypes,
59078 which can conflict with char $ac_func (); below.
59079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59080 <limits.h> exists even on freestanding compilers. */
59081
59082 #ifdef __STDC__
59083 # include <limits.h>
59084 #else
59085 # include <assert.h>
59086 #endif
59087
59088 #undef $ac_func
59089
59090 /* Override any gcc2 internal prototype to avoid an error. */
59091 #ifdef __cplusplus
59092 extern "C"
59093 {
59094 #endif
59095 /* We use char because int might match the return type of a gcc2
59096 builtin and then its argument prototype would still apply. */
59097 char $ac_func ();
59098 /* The GNU C library defines this for functions which it implements
59099 to always fail with ENOSYS. Some functions are actually named
59100 something starting with __ and the normal name is an alias. */
59101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59102 choke me
59103 #else
59104 char (*f) () = $ac_func;
59105 #endif
59106 #ifdef __cplusplus
59107 }
59108 #endif
59109
59110 int
59111 main ()
59112 {
59113 return f != $ac_func;
59114 ;
59115 return 0;
59116 }
59117 _ACEOF
59118 rm -f conftest.$ac_objext conftest$ac_exeext
59119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59120 (eval $ac_link) 2>conftest.er1
59121 ac_status=$?
59122 grep -v '^ *+' conftest.er1 >conftest.err
59123 rm -f conftest.er1
59124 cat conftest.err >&5
59125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59126 (exit $ac_status); } &&
59127 { ac_try='test -z "$ac_c_werror_flag"
59128 || test ! -s conftest.err'
59129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59130 (eval $ac_try) 2>&5
59131 ac_status=$?
59132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59133 (exit $ac_status); }; } &&
59134 { ac_try='test -s conftest$ac_exeext'
59135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59136 (eval $ac_try) 2>&5
59137 ac_status=$?
59138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139 (exit $ac_status); }; }; then
59140 eval "$as_ac_var=yes"
59141 else
59142 echo "$as_me: failed program was:" >&5
59143 sed 's/^/| /' conftest.$ac_ext >&5
59144
59145 eval "$as_ac_var=no"
59146 fi
59147 rm -f conftest.err conftest.$ac_objext \
59148 conftest$ac_exeext conftest.$ac_ext
59149 fi
59150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59152 if test `eval echo '${'$as_ac_var'}'` = yes; then
59153 cat >>confdefs.h <<_ACEOF
59154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59155 _ACEOF
59156
59157 fi
59158 done
59159
59160 else
59161
59162 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59163 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59164 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59165 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59166 echo $ECHO_N "(cached) $ECHO_C" >&6
59167 else
59168
59169
59170
59171 ac_ext=cc
59172 ac_cpp='$CXXCPP $CPPFLAGS'
59173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59176
59177 cat >conftest.$ac_ext <<_ACEOF
59178 /* confdefs.h. */
59179 _ACEOF
59180 cat confdefs.h >>conftest.$ac_ext
59181 cat >>conftest.$ac_ext <<_ACEOF
59182 /* end confdefs.h. */
59183 #include <math.h>
59184 int
59185 main ()
59186 {
59187 _powl(0, 0);
59188 ;
59189 return 0;
59190 }
59191 _ACEOF
59192 rm -f conftest.$ac_objext
59193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59194 (eval $ac_compile) 2>conftest.er1
59195 ac_status=$?
59196 grep -v '^ *+' conftest.er1 >conftest.err
59197 rm -f conftest.er1
59198 cat conftest.err >&5
59199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59200 (exit $ac_status); } &&
59201 { ac_try='test -z "$ac_cxx_werror_flag"
59202 || test ! -s conftest.err'
59203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59204 (eval $ac_try) 2>&5
59205 ac_status=$?
59206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59207 (exit $ac_status); }; } &&
59208 { ac_try='test -s conftest.$ac_objext'
59209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59210 (eval $ac_try) 2>&5
59211 ac_status=$?
59212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213 (exit $ac_status); }; }; then
59214 glibcxx_cv_func__powl_use=yes
59215 else
59216 echo "$as_me: failed program was:" >&5
59217 sed 's/^/| /' conftest.$ac_ext >&5
59218
59219 glibcxx_cv_func__powl_use=no
59220 fi
59221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59222 ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227
59228
59229 fi
59230
59231 fi
59232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59233 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59234
59235 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59236
59237 for ac_func in _powl
59238 do
59239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59240 echo "$as_me:$LINENO: checking for $ac_func" >&5
59241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59242 if eval "test \"\${$as_ac_var+set}\" = set"; then
59243 echo $ECHO_N "(cached) $ECHO_C" >&6
59244 else
59245 if test x$gcc_no_link = xyes; then
59246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59248 { (exit 1); exit 1; }; }
59249 fi
59250 cat >conftest.$ac_ext <<_ACEOF
59251 /* confdefs.h. */
59252 _ACEOF
59253 cat confdefs.h >>conftest.$ac_ext
59254 cat >>conftest.$ac_ext <<_ACEOF
59255 /* end confdefs.h. */
59256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59258 #define $ac_func innocuous_$ac_func
59259
59260 /* System header to define __stub macros and hopefully few prototypes,
59261 which can conflict with char $ac_func (); below.
59262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59263 <limits.h> exists even on freestanding compilers. */
59264
59265 #ifdef __STDC__
59266 # include <limits.h>
59267 #else
59268 # include <assert.h>
59269 #endif
59270
59271 #undef $ac_func
59272
59273 /* Override any gcc2 internal prototype to avoid an error. */
59274 #ifdef __cplusplus
59275 extern "C"
59276 {
59277 #endif
59278 /* We use char because int might match the return type of a gcc2
59279 builtin and then its argument prototype would still apply. */
59280 char $ac_func ();
59281 /* The GNU C library defines this for functions which it implements
59282 to always fail with ENOSYS. Some functions are actually named
59283 something starting with __ and the normal name is an alias. */
59284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59285 choke me
59286 #else
59287 char (*f) () = $ac_func;
59288 #endif
59289 #ifdef __cplusplus
59290 }
59291 #endif
59292
59293 int
59294 main ()
59295 {
59296 return f != $ac_func;
59297 ;
59298 return 0;
59299 }
59300 _ACEOF
59301 rm -f conftest.$ac_objext conftest$ac_exeext
59302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59303 (eval $ac_link) 2>conftest.er1
59304 ac_status=$?
59305 grep -v '^ *+' conftest.er1 >conftest.err
59306 rm -f conftest.er1
59307 cat conftest.err >&5
59308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309 (exit $ac_status); } &&
59310 { ac_try='test -z "$ac_c_werror_flag"
59311 || test ! -s conftest.err'
59312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59313 (eval $ac_try) 2>&5
59314 ac_status=$?
59315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59316 (exit $ac_status); }; } &&
59317 { ac_try='test -s conftest$ac_exeext'
59318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59319 (eval $ac_try) 2>&5
59320 ac_status=$?
59321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59322 (exit $ac_status); }; }; then
59323 eval "$as_ac_var=yes"
59324 else
59325 echo "$as_me: failed program was:" >&5
59326 sed 's/^/| /' conftest.$ac_ext >&5
59327
59328 eval "$as_ac_var=no"
59329 fi
59330 rm -f conftest.err conftest.$ac_objext \
59331 conftest$ac_exeext conftest.$ac_ext
59332 fi
59333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59335 if test `eval echo '${'$as_ac_var'}'` = yes; then
59336 cat >>confdefs.h <<_ACEOF
59337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59338 _ACEOF
59339
59340 fi
59341 done
59342
59343 fi
59344 fi
59345
59346
59347
59348
59349
59350
59351 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59352 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59353 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59354 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59355 echo $ECHO_N "(cached) $ECHO_C" >&6
59356 else
59357
59358
59359
59360 ac_ext=cc
59361 ac_cpp='$CXXCPP $CPPFLAGS'
59362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59365
59366 cat >conftest.$ac_ext <<_ACEOF
59367 /* confdefs.h. */
59368 _ACEOF
59369 cat confdefs.h >>conftest.$ac_ext
59370 cat >>conftest.$ac_ext <<_ACEOF
59371 /* end confdefs.h. */
59372 #include <math.h>
59373 #ifdef HAVE_IEEEFP_H
59374 #include <ieeefp.h>
59375 #endif
59376
59377 int
59378 main ()
59379 {
59380 sqrtl(0);
59381 ;
59382 return 0;
59383 }
59384 _ACEOF
59385 rm -f conftest.$ac_objext
59386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59387 (eval $ac_compile) 2>conftest.er1
59388 ac_status=$?
59389 grep -v '^ *+' conftest.er1 >conftest.err
59390 rm -f conftest.er1
59391 cat conftest.err >&5
59392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59393 (exit $ac_status); } &&
59394 { ac_try='test -z "$ac_cxx_werror_flag"
59395 || test ! -s conftest.err'
59396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59397 (eval $ac_try) 2>&5
59398 ac_status=$?
59399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59400 (exit $ac_status); }; } &&
59401 { ac_try='test -s conftest.$ac_objext'
59402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59403 (eval $ac_try) 2>&5
59404 ac_status=$?
59405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406 (exit $ac_status); }; }; then
59407 glibcxx_cv_func_sqrtl_use=yes
59408 else
59409 echo "$as_me: failed program was:" >&5
59410 sed 's/^/| /' conftest.$ac_ext >&5
59411
59412 glibcxx_cv_func_sqrtl_use=no
59413 fi
59414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59415 ac_ext=c
59416 ac_cpp='$CPP $CPPFLAGS'
59417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59420
59421
59422 fi
59423
59424 fi
59425 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59426 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59427
59428 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59429
59430 for ac_func in sqrtl
59431 do
59432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59433 echo "$as_me:$LINENO: checking for $ac_func" >&5
59434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59435 if eval "test \"\${$as_ac_var+set}\" = set"; then
59436 echo $ECHO_N "(cached) $ECHO_C" >&6
59437 else
59438 if test x$gcc_no_link = xyes; then
59439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59441 { (exit 1); exit 1; }; }
59442 fi
59443 cat >conftest.$ac_ext <<_ACEOF
59444 /* confdefs.h. */
59445 _ACEOF
59446 cat confdefs.h >>conftest.$ac_ext
59447 cat >>conftest.$ac_ext <<_ACEOF
59448 /* end confdefs.h. */
59449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59451 #define $ac_func innocuous_$ac_func
59452
59453 /* System header to define __stub macros and hopefully few prototypes,
59454 which can conflict with char $ac_func (); below.
59455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59456 <limits.h> exists even on freestanding compilers. */
59457
59458 #ifdef __STDC__
59459 # include <limits.h>
59460 #else
59461 # include <assert.h>
59462 #endif
59463
59464 #undef $ac_func
59465
59466 /* Override any gcc2 internal prototype to avoid an error. */
59467 #ifdef __cplusplus
59468 extern "C"
59469 {
59470 #endif
59471 /* We use char because int might match the return type of a gcc2
59472 builtin and then its argument prototype would still apply. */
59473 char $ac_func ();
59474 /* The GNU C library defines this for functions which it implements
59475 to always fail with ENOSYS. Some functions are actually named
59476 something starting with __ and the normal name is an alias. */
59477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59478 choke me
59479 #else
59480 char (*f) () = $ac_func;
59481 #endif
59482 #ifdef __cplusplus
59483 }
59484 #endif
59485
59486 int
59487 main ()
59488 {
59489 return f != $ac_func;
59490 ;
59491 return 0;
59492 }
59493 _ACEOF
59494 rm -f conftest.$ac_objext conftest$ac_exeext
59495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59496 (eval $ac_link) 2>conftest.er1
59497 ac_status=$?
59498 grep -v '^ *+' conftest.er1 >conftest.err
59499 rm -f conftest.er1
59500 cat conftest.err >&5
59501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59502 (exit $ac_status); } &&
59503 { ac_try='test -z "$ac_c_werror_flag"
59504 || test ! -s conftest.err'
59505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59506 (eval $ac_try) 2>&5
59507 ac_status=$?
59508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59509 (exit $ac_status); }; } &&
59510 { ac_try='test -s conftest$ac_exeext'
59511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59512 (eval $ac_try) 2>&5
59513 ac_status=$?
59514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515 (exit $ac_status); }; }; then
59516 eval "$as_ac_var=yes"
59517 else
59518 echo "$as_me: failed program was:" >&5
59519 sed 's/^/| /' conftest.$ac_ext >&5
59520
59521 eval "$as_ac_var=no"
59522 fi
59523 rm -f conftest.err conftest.$ac_objext \
59524 conftest$ac_exeext conftest.$ac_ext
59525 fi
59526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59528 if test `eval echo '${'$as_ac_var'}'` = yes; then
59529 cat >>confdefs.h <<_ACEOF
59530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59531 _ACEOF
59532
59533 fi
59534 done
59535
59536 else
59537
59538 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59539 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59540 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59541 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59542 echo $ECHO_N "(cached) $ECHO_C" >&6
59543 else
59544
59545
59546
59547 ac_ext=cc
59548 ac_cpp='$CXXCPP $CPPFLAGS'
59549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59552
59553 cat >conftest.$ac_ext <<_ACEOF
59554 /* confdefs.h. */
59555 _ACEOF
59556 cat confdefs.h >>conftest.$ac_ext
59557 cat >>conftest.$ac_ext <<_ACEOF
59558 /* end confdefs.h. */
59559 #include <math.h>
59560 #ifdef HAVE_IEEEFP_H
59561 #include <ieeefp.h>
59562 #endif
59563
59564 int
59565 main ()
59566 {
59567 _sqrtl(0);
59568 ;
59569 return 0;
59570 }
59571 _ACEOF
59572 rm -f conftest.$ac_objext
59573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59574 (eval $ac_compile) 2>conftest.er1
59575 ac_status=$?
59576 grep -v '^ *+' conftest.er1 >conftest.err
59577 rm -f conftest.er1
59578 cat conftest.err >&5
59579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59580 (exit $ac_status); } &&
59581 { ac_try='test -z "$ac_cxx_werror_flag"
59582 || test ! -s conftest.err'
59583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59584 (eval $ac_try) 2>&5
59585 ac_status=$?
59586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59587 (exit $ac_status); }; } &&
59588 { ac_try='test -s conftest.$ac_objext'
59589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59590 (eval $ac_try) 2>&5
59591 ac_status=$?
59592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59593 (exit $ac_status); }; }; then
59594 glibcxx_cv_func__sqrtl_use=yes
59595 else
59596 echo "$as_me: failed program was:" >&5
59597 sed 's/^/| /' conftest.$ac_ext >&5
59598
59599 glibcxx_cv_func__sqrtl_use=no
59600 fi
59601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59602 ac_ext=c
59603 ac_cpp='$CPP $CPPFLAGS'
59604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59607
59608
59609 fi
59610
59611 fi
59612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59613 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59614
59615 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59616
59617 for ac_func in _sqrtl
59618 do
59619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59620 echo "$as_me:$LINENO: checking for $ac_func" >&5
59621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59622 if eval "test \"\${$as_ac_var+set}\" = set"; then
59623 echo $ECHO_N "(cached) $ECHO_C" >&6
59624 else
59625 if test x$gcc_no_link = xyes; then
59626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59628 { (exit 1); exit 1; }; }
59629 fi
59630 cat >conftest.$ac_ext <<_ACEOF
59631 /* confdefs.h. */
59632 _ACEOF
59633 cat confdefs.h >>conftest.$ac_ext
59634 cat >>conftest.$ac_ext <<_ACEOF
59635 /* end confdefs.h. */
59636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59638 #define $ac_func innocuous_$ac_func
59639
59640 /* System header to define __stub macros and hopefully few prototypes,
59641 which can conflict with char $ac_func (); below.
59642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59643 <limits.h> exists even on freestanding compilers. */
59644
59645 #ifdef __STDC__
59646 # include <limits.h>
59647 #else
59648 # include <assert.h>
59649 #endif
59650
59651 #undef $ac_func
59652
59653 /* Override any gcc2 internal prototype to avoid an error. */
59654 #ifdef __cplusplus
59655 extern "C"
59656 {
59657 #endif
59658 /* We use char because int might match the return type of a gcc2
59659 builtin and then its argument prototype would still apply. */
59660 char $ac_func ();
59661 /* The GNU C library defines this for functions which it implements
59662 to always fail with ENOSYS. Some functions are actually named
59663 something starting with __ and the normal name is an alias. */
59664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59665 choke me
59666 #else
59667 char (*f) () = $ac_func;
59668 #endif
59669 #ifdef __cplusplus
59670 }
59671 #endif
59672
59673 int
59674 main ()
59675 {
59676 return f != $ac_func;
59677 ;
59678 return 0;
59679 }
59680 _ACEOF
59681 rm -f conftest.$ac_objext conftest$ac_exeext
59682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59683 (eval $ac_link) 2>conftest.er1
59684 ac_status=$?
59685 grep -v '^ *+' conftest.er1 >conftest.err
59686 rm -f conftest.er1
59687 cat conftest.err >&5
59688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59689 (exit $ac_status); } &&
59690 { ac_try='test -z "$ac_c_werror_flag"
59691 || test ! -s conftest.err'
59692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59693 (eval $ac_try) 2>&5
59694 ac_status=$?
59695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59696 (exit $ac_status); }; } &&
59697 { ac_try='test -s conftest$ac_exeext'
59698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59699 (eval $ac_try) 2>&5
59700 ac_status=$?
59701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59702 (exit $ac_status); }; }; then
59703 eval "$as_ac_var=yes"
59704 else
59705 echo "$as_me: failed program was:" >&5
59706 sed 's/^/| /' conftest.$ac_ext >&5
59707
59708 eval "$as_ac_var=no"
59709 fi
59710 rm -f conftest.err conftest.$ac_objext \
59711 conftest$ac_exeext conftest.$ac_ext
59712 fi
59713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59715 if test `eval echo '${'$as_ac_var'}'` = yes; then
59716 cat >>confdefs.h <<_ACEOF
59717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59718 _ACEOF
59719
59720 fi
59721 done
59722
59723 fi
59724 fi
59725
59726
59727
59728
59729
59730
59731 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59732 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59733 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59734 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59735 echo $ECHO_N "(cached) $ECHO_C" >&6
59736 else
59737
59738
59739
59740 ac_ext=cc
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59745
59746 cat >conftest.$ac_ext <<_ACEOF
59747 /* confdefs.h. */
59748 _ACEOF
59749 cat confdefs.h >>conftest.$ac_ext
59750 cat >>conftest.$ac_ext <<_ACEOF
59751 /* end confdefs.h. */
59752 #include <math.h>
59753 int
59754 main ()
59755 {
59756 sincosl(0, 0, 0);
59757 ;
59758 return 0;
59759 }
59760 _ACEOF
59761 rm -f conftest.$ac_objext
59762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59763 (eval $ac_compile) 2>conftest.er1
59764 ac_status=$?
59765 grep -v '^ *+' conftest.er1 >conftest.err
59766 rm -f conftest.er1
59767 cat conftest.err >&5
59768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59769 (exit $ac_status); } &&
59770 { ac_try='test -z "$ac_cxx_werror_flag"
59771 || test ! -s conftest.err'
59772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59773 (eval $ac_try) 2>&5
59774 ac_status=$?
59775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59776 (exit $ac_status); }; } &&
59777 { ac_try='test -s conftest.$ac_objext'
59778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59779 (eval $ac_try) 2>&5
59780 ac_status=$?
59781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59782 (exit $ac_status); }; }; then
59783 glibcxx_cv_func_sincosl_use=yes
59784 else
59785 echo "$as_me: failed program was:" >&5
59786 sed 's/^/| /' conftest.$ac_ext >&5
59787
59788 glibcxx_cv_func_sincosl_use=no
59789 fi
59790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59791 ac_ext=c
59792 ac_cpp='$CPP $CPPFLAGS'
59793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59796
59797
59798 fi
59799
59800 fi
59801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59802 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59803
59804 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59805
59806 for ac_func in sincosl
59807 do
59808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59809 echo "$as_me:$LINENO: checking for $ac_func" >&5
59810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59811 if eval "test \"\${$as_ac_var+set}\" = set"; then
59812 echo $ECHO_N "(cached) $ECHO_C" >&6
59813 else
59814 if test x$gcc_no_link = xyes; then
59815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59817 { (exit 1); exit 1; }; }
59818 fi
59819 cat >conftest.$ac_ext <<_ACEOF
59820 /* confdefs.h. */
59821 _ACEOF
59822 cat confdefs.h >>conftest.$ac_ext
59823 cat >>conftest.$ac_ext <<_ACEOF
59824 /* end confdefs.h. */
59825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59827 #define $ac_func innocuous_$ac_func
59828
59829 /* System header to define __stub macros and hopefully few prototypes,
59830 which can conflict with char $ac_func (); below.
59831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59832 <limits.h> exists even on freestanding compilers. */
59833
59834 #ifdef __STDC__
59835 # include <limits.h>
59836 #else
59837 # include <assert.h>
59838 #endif
59839
59840 #undef $ac_func
59841
59842 /* Override any gcc2 internal prototype to avoid an error. */
59843 #ifdef __cplusplus
59844 extern "C"
59845 {
59846 #endif
59847 /* We use char because int might match the return type of a gcc2
59848 builtin and then its argument prototype would still apply. */
59849 char $ac_func ();
59850 /* The GNU C library defines this for functions which it implements
59851 to always fail with ENOSYS. Some functions are actually named
59852 something starting with __ and the normal name is an alias. */
59853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59854 choke me
59855 #else
59856 char (*f) () = $ac_func;
59857 #endif
59858 #ifdef __cplusplus
59859 }
59860 #endif
59861
59862 int
59863 main ()
59864 {
59865 return f != $ac_func;
59866 ;
59867 return 0;
59868 }
59869 _ACEOF
59870 rm -f conftest.$ac_objext conftest$ac_exeext
59871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59872 (eval $ac_link) 2>conftest.er1
59873 ac_status=$?
59874 grep -v '^ *+' conftest.er1 >conftest.err
59875 rm -f conftest.er1
59876 cat conftest.err >&5
59877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59878 (exit $ac_status); } &&
59879 { ac_try='test -z "$ac_c_werror_flag"
59880 || test ! -s conftest.err'
59881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59882 (eval $ac_try) 2>&5
59883 ac_status=$?
59884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59885 (exit $ac_status); }; } &&
59886 { ac_try='test -s conftest$ac_exeext'
59887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59888 (eval $ac_try) 2>&5
59889 ac_status=$?
59890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59891 (exit $ac_status); }; }; then
59892 eval "$as_ac_var=yes"
59893 else
59894 echo "$as_me: failed program was:" >&5
59895 sed 's/^/| /' conftest.$ac_ext >&5
59896
59897 eval "$as_ac_var=no"
59898 fi
59899 rm -f conftest.err conftest.$ac_objext \
59900 conftest$ac_exeext conftest.$ac_ext
59901 fi
59902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59904 if test `eval echo '${'$as_ac_var'}'` = yes; then
59905 cat >>confdefs.h <<_ACEOF
59906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59907 _ACEOF
59908
59909 fi
59910 done
59911
59912 else
59913
59914 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59915 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59916 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59917 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59918 echo $ECHO_N "(cached) $ECHO_C" >&6
59919 else
59920
59921
59922
59923 ac_ext=cc
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929 cat >conftest.$ac_ext <<_ACEOF
59930 /* confdefs.h. */
59931 _ACEOF
59932 cat confdefs.h >>conftest.$ac_ext
59933 cat >>conftest.$ac_ext <<_ACEOF
59934 /* end confdefs.h. */
59935 #include <math.h>
59936 int
59937 main ()
59938 {
59939 _sincosl(0, 0, 0);
59940 ;
59941 return 0;
59942 }
59943 _ACEOF
59944 rm -f conftest.$ac_objext
59945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59946 (eval $ac_compile) 2>conftest.er1
59947 ac_status=$?
59948 grep -v '^ *+' conftest.er1 >conftest.err
59949 rm -f conftest.er1
59950 cat conftest.err >&5
59951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59952 (exit $ac_status); } &&
59953 { ac_try='test -z "$ac_cxx_werror_flag"
59954 || test ! -s conftest.err'
59955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59956 (eval $ac_try) 2>&5
59957 ac_status=$?
59958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59959 (exit $ac_status); }; } &&
59960 { ac_try='test -s conftest.$ac_objext'
59961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59962 (eval $ac_try) 2>&5
59963 ac_status=$?
59964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59965 (exit $ac_status); }; }; then
59966 glibcxx_cv_func__sincosl_use=yes
59967 else
59968 echo "$as_me: failed program was:" >&5
59969 sed 's/^/| /' conftest.$ac_ext >&5
59970
59971 glibcxx_cv_func__sincosl_use=no
59972 fi
59973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59974 ac_ext=c
59975 ac_cpp='$CPP $CPPFLAGS'
59976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59979
59980
59981 fi
59982
59983 fi
59984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59985 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59986
59987 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59988
59989 for ac_func in _sincosl
59990 do
59991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59992 echo "$as_me:$LINENO: checking for $ac_func" >&5
59993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59994 if eval "test \"\${$as_ac_var+set}\" = set"; then
59995 echo $ECHO_N "(cached) $ECHO_C" >&6
59996 else
59997 if test x$gcc_no_link = xyes; then
59998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60000 { (exit 1); exit 1; }; }
60001 fi
60002 cat >conftest.$ac_ext <<_ACEOF
60003 /* confdefs.h. */
60004 _ACEOF
60005 cat confdefs.h >>conftest.$ac_ext
60006 cat >>conftest.$ac_ext <<_ACEOF
60007 /* end confdefs.h. */
60008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60010 #define $ac_func innocuous_$ac_func
60011
60012 /* System header to define __stub macros and hopefully few prototypes,
60013 which can conflict with char $ac_func (); below.
60014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60015 <limits.h> exists even on freestanding compilers. */
60016
60017 #ifdef __STDC__
60018 # include <limits.h>
60019 #else
60020 # include <assert.h>
60021 #endif
60022
60023 #undef $ac_func
60024
60025 /* Override any gcc2 internal prototype to avoid an error. */
60026 #ifdef __cplusplus
60027 extern "C"
60028 {
60029 #endif
60030 /* We use char because int might match the return type of a gcc2
60031 builtin and then its argument prototype would still apply. */
60032 char $ac_func ();
60033 /* The GNU C library defines this for functions which it implements
60034 to always fail with ENOSYS. Some functions are actually named
60035 something starting with __ and the normal name is an alias. */
60036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60037 choke me
60038 #else
60039 char (*f) () = $ac_func;
60040 #endif
60041 #ifdef __cplusplus
60042 }
60043 #endif
60044
60045 int
60046 main ()
60047 {
60048 return f != $ac_func;
60049 ;
60050 return 0;
60051 }
60052 _ACEOF
60053 rm -f conftest.$ac_objext conftest$ac_exeext
60054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60055 (eval $ac_link) 2>conftest.er1
60056 ac_status=$?
60057 grep -v '^ *+' conftest.er1 >conftest.err
60058 rm -f conftest.er1
60059 cat conftest.err >&5
60060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60061 (exit $ac_status); } &&
60062 { ac_try='test -z "$ac_c_werror_flag"
60063 || test ! -s conftest.err'
60064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60065 (eval $ac_try) 2>&5
60066 ac_status=$?
60067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60068 (exit $ac_status); }; } &&
60069 { ac_try='test -s conftest$ac_exeext'
60070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60071 (eval $ac_try) 2>&5
60072 ac_status=$?
60073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60074 (exit $ac_status); }; }; then
60075 eval "$as_ac_var=yes"
60076 else
60077 echo "$as_me: failed program was:" >&5
60078 sed 's/^/| /' conftest.$ac_ext >&5
60079
60080 eval "$as_ac_var=no"
60081 fi
60082 rm -f conftest.err conftest.$ac_objext \
60083 conftest$ac_exeext conftest.$ac_ext
60084 fi
60085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60087 if test `eval echo '${'$as_ac_var'}'` = yes; then
60088 cat >>confdefs.h <<_ACEOF
60089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60090 _ACEOF
60091
60092 fi
60093 done
60094
60095 fi
60096 fi
60097
60098
60099
60100
60101
60102
60103 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60104 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60105 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60106 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60107 echo $ECHO_N "(cached) $ECHO_C" >&6
60108 else
60109
60110
60111
60112 ac_ext=cc
60113 ac_cpp='$CXXCPP $CPPFLAGS'
60114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60117
60118 cat >conftest.$ac_ext <<_ACEOF
60119 /* confdefs.h. */
60120 _ACEOF
60121 cat confdefs.h >>conftest.$ac_ext
60122 cat >>conftest.$ac_ext <<_ACEOF
60123 /* end confdefs.h. */
60124 #include <math.h>
60125 #ifdef HAVE_IEEEFP_H
60126 #include <ieeefp.h>
60127 #endif
60128
60129 int
60130 main ()
60131 {
60132 finitel(0);
60133 ;
60134 return 0;
60135 }
60136 _ACEOF
60137 rm -f conftest.$ac_objext
60138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60139 (eval $ac_compile) 2>conftest.er1
60140 ac_status=$?
60141 grep -v '^ *+' conftest.er1 >conftest.err
60142 rm -f conftest.er1
60143 cat conftest.err >&5
60144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60145 (exit $ac_status); } &&
60146 { ac_try='test -z "$ac_cxx_werror_flag"
60147 || test ! -s conftest.err'
60148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60149 (eval $ac_try) 2>&5
60150 ac_status=$?
60151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60152 (exit $ac_status); }; } &&
60153 { ac_try='test -s conftest.$ac_objext'
60154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60155 (eval $ac_try) 2>&5
60156 ac_status=$?
60157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158 (exit $ac_status); }; }; then
60159 glibcxx_cv_func_finitel_use=yes
60160 else
60161 echo "$as_me: failed program was:" >&5
60162 sed 's/^/| /' conftest.$ac_ext >&5
60163
60164 glibcxx_cv_func_finitel_use=no
60165 fi
60166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60167 ac_ext=c
60168 ac_cpp='$CPP $CPPFLAGS'
60169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60172
60173
60174 fi
60175
60176 fi
60177 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60178 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60179
60180 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60181
60182 for ac_func in finitel
60183 do
60184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60185 echo "$as_me:$LINENO: checking for $ac_func" >&5
60186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60187 if eval "test \"\${$as_ac_var+set}\" = set"; then
60188 echo $ECHO_N "(cached) $ECHO_C" >&6
60189 else
60190 if test x$gcc_no_link = xyes; then
60191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60193 { (exit 1); exit 1; }; }
60194 fi
60195 cat >conftest.$ac_ext <<_ACEOF
60196 /* confdefs.h. */
60197 _ACEOF
60198 cat confdefs.h >>conftest.$ac_ext
60199 cat >>conftest.$ac_ext <<_ACEOF
60200 /* end confdefs.h. */
60201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60203 #define $ac_func innocuous_$ac_func
60204
60205 /* System header to define __stub macros and hopefully few prototypes,
60206 which can conflict with char $ac_func (); below.
60207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60208 <limits.h> exists even on freestanding compilers. */
60209
60210 #ifdef __STDC__
60211 # include <limits.h>
60212 #else
60213 # include <assert.h>
60214 #endif
60215
60216 #undef $ac_func
60217
60218 /* Override any gcc2 internal prototype to avoid an error. */
60219 #ifdef __cplusplus
60220 extern "C"
60221 {
60222 #endif
60223 /* We use char because int might match the return type of a gcc2
60224 builtin and then its argument prototype would still apply. */
60225 char $ac_func ();
60226 /* The GNU C library defines this for functions which it implements
60227 to always fail with ENOSYS. Some functions are actually named
60228 something starting with __ and the normal name is an alias. */
60229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60230 choke me
60231 #else
60232 char (*f) () = $ac_func;
60233 #endif
60234 #ifdef __cplusplus
60235 }
60236 #endif
60237
60238 int
60239 main ()
60240 {
60241 return f != $ac_func;
60242 ;
60243 return 0;
60244 }
60245 _ACEOF
60246 rm -f conftest.$ac_objext conftest$ac_exeext
60247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60248 (eval $ac_link) 2>conftest.er1
60249 ac_status=$?
60250 grep -v '^ *+' conftest.er1 >conftest.err
60251 rm -f conftest.er1
60252 cat conftest.err >&5
60253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60254 (exit $ac_status); } &&
60255 { ac_try='test -z "$ac_c_werror_flag"
60256 || test ! -s conftest.err'
60257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60258 (eval $ac_try) 2>&5
60259 ac_status=$?
60260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60261 (exit $ac_status); }; } &&
60262 { ac_try='test -s conftest$ac_exeext'
60263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60264 (eval $ac_try) 2>&5
60265 ac_status=$?
60266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60267 (exit $ac_status); }; }; then
60268 eval "$as_ac_var=yes"
60269 else
60270 echo "$as_me: failed program was:" >&5
60271 sed 's/^/| /' conftest.$ac_ext >&5
60272
60273 eval "$as_ac_var=no"
60274 fi
60275 rm -f conftest.err conftest.$ac_objext \
60276 conftest$ac_exeext conftest.$ac_ext
60277 fi
60278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60280 if test `eval echo '${'$as_ac_var'}'` = yes; then
60281 cat >>confdefs.h <<_ACEOF
60282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60283 _ACEOF
60284
60285 fi
60286 done
60287
60288 else
60289
60290 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60291 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60292 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60293 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60294 echo $ECHO_N "(cached) $ECHO_C" >&6
60295 else
60296
60297
60298
60299 ac_ext=cc
60300 ac_cpp='$CXXCPP $CPPFLAGS'
60301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60304
60305 cat >conftest.$ac_ext <<_ACEOF
60306 /* confdefs.h. */
60307 _ACEOF
60308 cat confdefs.h >>conftest.$ac_ext
60309 cat >>conftest.$ac_ext <<_ACEOF
60310 /* end confdefs.h. */
60311 #include <math.h>
60312 #ifdef HAVE_IEEEFP_H
60313 #include <ieeefp.h>
60314 #endif
60315
60316 int
60317 main ()
60318 {
60319 _finitel(0);
60320 ;
60321 return 0;
60322 }
60323 _ACEOF
60324 rm -f conftest.$ac_objext
60325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60326 (eval $ac_compile) 2>conftest.er1
60327 ac_status=$?
60328 grep -v '^ *+' conftest.er1 >conftest.err
60329 rm -f conftest.er1
60330 cat conftest.err >&5
60331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60332 (exit $ac_status); } &&
60333 { ac_try='test -z "$ac_cxx_werror_flag"
60334 || test ! -s conftest.err'
60335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60336 (eval $ac_try) 2>&5
60337 ac_status=$?
60338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60339 (exit $ac_status); }; } &&
60340 { ac_try='test -s conftest.$ac_objext'
60341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60342 (eval $ac_try) 2>&5
60343 ac_status=$?
60344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60345 (exit $ac_status); }; }; then
60346 glibcxx_cv_func__finitel_use=yes
60347 else
60348 echo "$as_me: failed program was:" >&5
60349 sed 's/^/| /' conftest.$ac_ext >&5
60350
60351 glibcxx_cv_func__finitel_use=no
60352 fi
60353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60354 ac_ext=c
60355 ac_cpp='$CPP $CPPFLAGS'
60356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60359
60360
60361 fi
60362
60363 fi
60364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60365 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60366
60367 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60368
60369 for ac_func in _finitel
60370 do
60371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60372 echo "$as_me:$LINENO: checking for $ac_func" >&5
60373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60374 if eval "test \"\${$as_ac_var+set}\" = set"; then
60375 echo $ECHO_N "(cached) $ECHO_C" >&6
60376 else
60377 if test x$gcc_no_link = xyes; then
60378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60380 { (exit 1); exit 1; }; }
60381 fi
60382 cat >conftest.$ac_ext <<_ACEOF
60383 /* confdefs.h. */
60384 _ACEOF
60385 cat confdefs.h >>conftest.$ac_ext
60386 cat >>conftest.$ac_ext <<_ACEOF
60387 /* end confdefs.h. */
60388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60390 #define $ac_func innocuous_$ac_func
60391
60392 /* System header to define __stub macros and hopefully few prototypes,
60393 which can conflict with char $ac_func (); below.
60394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60395 <limits.h> exists even on freestanding compilers. */
60396
60397 #ifdef __STDC__
60398 # include <limits.h>
60399 #else
60400 # include <assert.h>
60401 #endif
60402
60403 #undef $ac_func
60404
60405 /* Override any gcc2 internal prototype to avoid an error. */
60406 #ifdef __cplusplus
60407 extern "C"
60408 {
60409 #endif
60410 /* We use char because int might match the return type of a gcc2
60411 builtin and then its argument prototype would still apply. */
60412 char $ac_func ();
60413 /* The GNU C library defines this for functions which it implements
60414 to always fail with ENOSYS. Some functions are actually named
60415 something starting with __ and the normal name is an alias. */
60416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60417 choke me
60418 #else
60419 char (*f) () = $ac_func;
60420 #endif
60421 #ifdef __cplusplus
60422 }
60423 #endif
60424
60425 int
60426 main ()
60427 {
60428 return f != $ac_func;
60429 ;
60430 return 0;
60431 }
60432 _ACEOF
60433 rm -f conftest.$ac_objext conftest$ac_exeext
60434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60435 (eval $ac_link) 2>conftest.er1
60436 ac_status=$?
60437 grep -v '^ *+' conftest.er1 >conftest.err
60438 rm -f conftest.er1
60439 cat conftest.err >&5
60440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60441 (exit $ac_status); } &&
60442 { ac_try='test -z "$ac_c_werror_flag"
60443 || test ! -s conftest.err'
60444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60445 (eval $ac_try) 2>&5
60446 ac_status=$?
60447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448 (exit $ac_status); }; } &&
60449 { ac_try='test -s conftest$ac_exeext'
60450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60451 (eval $ac_try) 2>&5
60452 ac_status=$?
60453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60454 (exit $ac_status); }; }; then
60455 eval "$as_ac_var=yes"
60456 else
60457 echo "$as_me: failed program was:" >&5
60458 sed 's/^/| /' conftest.$ac_ext >&5
60459
60460 eval "$as_ac_var=no"
60461 fi
60462 rm -f conftest.err conftest.$ac_objext \
60463 conftest$ac_exeext conftest.$ac_ext
60464 fi
60465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60467 if test `eval echo '${'$as_ac_var'}'` = yes; then
60468 cat >>confdefs.h <<_ACEOF
60469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60470 _ACEOF
60471
60472 fi
60473 done
60474
60475 fi
60476 fi
60477
60478
60479
60480
60481
60482 LIBS="$ac_save_LIBS"
60483 CXXFLAGS="$ac_save_CXXFLAGS"
60484
60485
60486
60487 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60488 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60489 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60490 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60491 echo $ECHO_N "(cached) $ECHO_C" >&6
60492 else
60493
60494
60495
60496 ac_ext=cc
60497 ac_cpp='$CXXCPP $CPPFLAGS'
60498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60501
60502 cat >conftest.$ac_ext <<_ACEOF
60503 /* confdefs.h. */
60504 _ACEOF
60505 cat confdefs.h >>conftest.$ac_ext
60506 cat >>conftest.$ac_ext <<_ACEOF
60507 /* end confdefs.h. */
60508 #include <math.h>
60509 int
60510 main ()
60511 {
60512 __builtin_abs(0);
60513 ;
60514 return 0;
60515 }
60516 _ACEOF
60517 rm -f conftest.$ac_objext
60518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60519 (eval $ac_compile) 2>conftest.er1
60520 ac_status=$?
60521 grep -v '^ *+' conftest.er1 >conftest.err
60522 rm -f conftest.er1
60523 cat conftest.err >&5
60524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60525 (exit $ac_status); } &&
60526 { ac_try='test -z "$ac_cxx_werror_flag"
60527 || test ! -s conftest.err'
60528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60529 (eval $ac_try) 2>&5
60530 ac_status=$?
60531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60532 (exit $ac_status); }; } &&
60533 { ac_try='test -s conftest.$ac_objext'
60534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60535 (eval $ac_try) 2>&5
60536 ac_status=$?
60537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60538 (exit $ac_status); }; }; then
60539 glibcxx_cv_func___builtin_abs_use=yes
60540 else
60541 echo "$as_me: failed program was:" >&5
60542 sed 's/^/| /' conftest.$ac_ext >&5
60543
60544 glibcxx_cv_func___builtin_abs_use=no
60545 fi
60546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60547 ac_ext=c
60548 ac_cpp='$CPP $CPPFLAGS'
60549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60552
60553
60554 fi
60555
60556 fi
60557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60558 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60559 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60560 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60561 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60562 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60563 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60564 echo $ECHO_N "(cached) $ECHO_C" >&6
60565 else
60566
60567 if test x$gcc_no_link = xyes; then
60568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60570 { (exit 1); exit 1; }; }
60571 fi
60572 cat >conftest.$ac_ext <<_ACEOF
60573 /* confdefs.h. */
60574 _ACEOF
60575 cat confdefs.h >>conftest.$ac_ext
60576 cat >>conftest.$ac_ext <<_ACEOF
60577 /* end confdefs.h. */
60578 #include <math.h>
60579 int
60580 main ()
60581 {
60582 __builtin_abs(0);
60583 ;
60584 return 0;
60585 }
60586 _ACEOF
60587 rm -f conftest.$ac_objext conftest$ac_exeext
60588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60589 (eval $ac_link) 2>conftest.er1
60590 ac_status=$?
60591 grep -v '^ *+' conftest.er1 >conftest.err
60592 rm -f conftest.er1
60593 cat conftest.err >&5
60594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60595 (exit $ac_status); } &&
60596 { ac_try='test -z "$ac_c_werror_flag"
60597 || test ! -s conftest.err'
60598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60599 (eval $ac_try) 2>&5
60600 ac_status=$?
60601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60602 (exit $ac_status); }; } &&
60603 { ac_try='test -s conftest$ac_exeext'
60604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60605 (eval $ac_try) 2>&5
60606 ac_status=$?
60607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60608 (exit $ac_status); }; }; then
60609 glibcxx_cv_func___builtin_abs_link=yes
60610 else
60611 echo "$as_me: failed program was:" >&5
60612 sed 's/^/| /' conftest.$ac_ext >&5
60613
60614 glibcxx_cv_func___builtin_abs_link=no
60615 fi
60616 rm -f conftest.err conftest.$ac_objext \
60617 conftest$ac_exeext conftest.$ac_ext
60618
60619 fi
60620
60621 fi
60622 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60623 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60624
60625 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60626
60627 cat >>confdefs.h <<\_ACEOF
60628 #define HAVE___BUILTIN_ABS 1
60629 _ACEOF
60630
60631 fi
60632
60633 fi
60634
60635
60636 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60637 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60638 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60639 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60640 echo $ECHO_N "(cached) $ECHO_C" >&6
60641 else
60642
60643
60644
60645 ac_ext=cc
60646 ac_cpp='$CXXCPP $CPPFLAGS'
60647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60650
60651 cat >conftest.$ac_ext <<_ACEOF
60652 /* confdefs.h. */
60653 _ACEOF
60654 cat confdefs.h >>conftest.$ac_ext
60655 cat >>conftest.$ac_ext <<_ACEOF
60656 /* end confdefs.h. */
60657 #include <math.h>
60658 int
60659 main ()
60660 {
60661 __builtin_fabsf(0);
60662 ;
60663 return 0;
60664 }
60665 _ACEOF
60666 rm -f conftest.$ac_objext
60667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60668 (eval $ac_compile) 2>conftest.er1
60669 ac_status=$?
60670 grep -v '^ *+' conftest.er1 >conftest.err
60671 rm -f conftest.er1
60672 cat conftest.err >&5
60673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60674 (exit $ac_status); } &&
60675 { ac_try='test -z "$ac_cxx_werror_flag"
60676 || test ! -s conftest.err'
60677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60678 (eval $ac_try) 2>&5
60679 ac_status=$?
60680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60681 (exit $ac_status); }; } &&
60682 { ac_try='test -s conftest.$ac_objext'
60683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60684 (eval $ac_try) 2>&5
60685 ac_status=$?
60686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60687 (exit $ac_status); }; }; then
60688 glibcxx_cv_func___builtin_fabsf_use=yes
60689 else
60690 echo "$as_me: failed program was:" >&5
60691 sed 's/^/| /' conftest.$ac_ext >&5
60692
60693 glibcxx_cv_func___builtin_fabsf_use=no
60694 fi
60695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60701
60702
60703 fi
60704
60705 fi
60706 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60707 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60708 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60709 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60710 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60711 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60712 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60713 echo $ECHO_N "(cached) $ECHO_C" >&6
60714 else
60715
60716 if test x$gcc_no_link = xyes; then
60717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60719 { (exit 1); exit 1; }; }
60720 fi
60721 cat >conftest.$ac_ext <<_ACEOF
60722 /* confdefs.h. */
60723 _ACEOF
60724 cat confdefs.h >>conftest.$ac_ext
60725 cat >>conftest.$ac_ext <<_ACEOF
60726 /* end confdefs.h. */
60727 #include <math.h>
60728 int
60729 main ()
60730 {
60731 __builtin_fabsf(0);
60732 ;
60733 return 0;
60734 }
60735 _ACEOF
60736 rm -f conftest.$ac_objext conftest$ac_exeext
60737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60738 (eval $ac_link) 2>conftest.er1
60739 ac_status=$?
60740 grep -v '^ *+' conftest.er1 >conftest.err
60741 rm -f conftest.er1
60742 cat conftest.err >&5
60743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60744 (exit $ac_status); } &&
60745 { ac_try='test -z "$ac_c_werror_flag"
60746 || test ! -s conftest.err'
60747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60748 (eval $ac_try) 2>&5
60749 ac_status=$?
60750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60751 (exit $ac_status); }; } &&
60752 { ac_try='test -s conftest$ac_exeext'
60753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60754 (eval $ac_try) 2>&5
60755 ac_status=$?
60756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60757 (exit $ac_status); }; }; then
60758 glibcxx_cv_func___builtin_fabsf_link=yes
60759 else
60760 echo "$as_me: failed program was:" >&5
60761 sed 's/^/| /' conftest.$ac_ext >&5
60762
60763 glibcxx_cv_func___builtin_fabsf_link=no
60764 fi
60765 rm -f conftest.err conftest.$ac_objext \
60766 conftest$ac_exeext conftest.$ac_ext
60767
60768 fi
60769
60770 fi
60771 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60772 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60773
60774 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60775
60776 cat >>confdefs.h <<\_ACEOF
60777 #define HAVE___BUILTIN_FABSF 1
60778 _ACEOF
60779
60780 fi
60781
60782 fi
60783
60784
60785 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60786 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60787 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60788 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60789 echo $ECHO_N "(cached) $ECHO_C" >&6
60790 else
60791
60792
60793
60794 ac_ext=cc
60795 ac_cpp='$CXXCPP $CPPFLAGS'
60796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60799
60800 cat >conftest.$ac_ext <<_ACEOF
60801 /* confdefs.h. */
60802 _ACEOF
60803 cat confdefs.h >>conftest.$ac_ext
60804 cat >>conftest.$ac_ext <<_ACEOF
60805 /* end confdefs.h. */
60806 #include <math.h>
60807 int
60808 main ()
60809 {
60810 __builtin_fabs(0);
60811 ;
60812 return 0;
60813 }
60814 _ACEOF
60815 rm -f conftest.$ac_objext
60816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60817 (eval $ac_compile) 2>conftest.er1
60818 ac_status=$?
60819 grep -v '^ *+' conftest.er1 >conftest.err
60820 rm -f conftest.er1
60821 cat conftest.err >&5
60822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60823 (exit $ac_status); } &&
60824 { ac_try='test -z "$ac_cxx_werror_flag"
60825 || test ! -s conftest.err'
60826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60827 (eval $ac_try) 2>&5
60828 ac_status=$?
60829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60830 (exit $ac_status); }; } &&
60831 { ac_try='test -s conftest.$ac_objext'
60832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60833 (eval $ac_try) 2>&5
60834 ac_status=$?
60835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60836 (exit $ac_status); }; }; then
60837 glibcxx_cv_func___builtin_fabs_use=yes
60838 else
60839 echo "$as_me: failed program was:" >&5
60840 sed 's/^/| /' conftest.$ac_ext >&5
60841
60842 glibcxx_cv_func___builtin_fabs_use=no
60843 fi
60844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60845 ac_ext=c
60846 ac_cpp='$CPP $CPPFLAGS'
60847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60850
60851
60852 fi
60853
60854 fi
60855 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60856 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60857 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60858 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60859 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60860 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60861 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60862 echo $ECHO_N "(cached) $ECHO_C" >&6
60863 else
60864
60865 if test x$gcc_no_link = xyes; then
60866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60868 { (exit 1); exit 1; }; }
60869 fi
60870 cat >conftest.$ac_ext <<_ACEOF
60871 /* confdefs.h. */
60872 _ACEOF
60873 cat confdefs.h >>conftest.$ac_ext
60874 cat >>conftest.$ac_ext <<_ACEOF
60875 /* end confdefs.h. */
60876 #include <math.h>
60877 int
60878 main ()
60879 {
60880 __builtin_fabs(0);
60881 ;
60882 return 0;
60883 }
60884 _ACEOF
60885 rm -f conftest.$ac_objext conftest$ac_exeext
60886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60887 (eval $ac_link) 2>conftest.er1
60888 ac_status=$?
60889 grep -v '^ *+' conftest.er1 >conftest.err
60890 rm -f conftest.er1
60891 cat conftest.err >&5
60892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60893 (exit $ac_status); } &&
60894 { ac_try='test -z "$ac_c_werror_flag"
60895 || test ! -s conftest.err'
60896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60897 (eval $ac_try) 2>&5
60898 ac_status=$?
60899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60900 (exit $ac_status); }; } &&
60901 { ac_try='test -s conftest$ac_exeext'
60902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60903 (eval $ac_try) 2>&5
60904 ac_status=$?
60905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60906 (exit $ac_status); }; }; then
60907 glibcxx_cv_func___builtin_fabs_link=yes
60908 else
60909 echo "$as_me: failed program was:" >&5
60910 sed 's/^/| /' conftest.$ac_ext >&5
60911
60912 glibcxx_cv_func___builtin_fabs_link=no
60913 fi
60914 rm -f conftest.err conftest.$ac_objext \
60915 conftest$ac_exeext conftest.$ac_ext
60916
60917 fi
60918
60919 fi
60920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60921 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60922
60923 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60924
60925 cat >>confdefs.h <<\_ACEOF
60926 #define HAVE___BUILTIN_FABS 1
60927 _ACEOF
60928
60929 fi
60930
60931 fi
60932
60933
60934 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60935 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60936 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60937 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60938 echo $ECHO_N "(cached) $ECHO_C" >&6
60939 else
60940
60941
60942
60943 ac_ext=cc
60944 ac_cpp='$CXXCPP $CPPFLAGS'
60945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60948
60949 cat >conftest.$ac_ext <<_ACEOF
60950 /* confdefs.h. */
60951 _ACEOF
60952 cat confdefs.h >>conftest.$ac_ext
60953 cat >>conftest.$ac_ext <<_ACEOF
60954 /* end confdefs.h. */
60955 #include <math.h>
60956 int
60957 main ()
60958 {
60959 __builtin_fabsl(0);
60960 ;
60961 return 0;
60962 }
60963 _ACEOF
60964 rm -f conftest.$ac_objext
60965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60966 (eval $ac_compile) 2>conftest.er1
60967 ac_status=$?
60968 grep -v '^ *+' conftest.er1 >conftest.err
60969 rm -f conftest.er1
60970 cat conftest.err >&5
60971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60972 (exit $ac_status); } &&
60973 { ac_try='test -z "$ac_cxx_werror_flag"
60974 || test ! -s conftest.err'
60975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60976 (eval $ac_try) 2>&5
60977 ac_status=$?
60978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60979 (exit $ac_status); }; } &&
60980 { ac_try='test -s conftest.$ac_objext'
60981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60982 (eval $ac_try) 2>&5
60983 ac_status=$?
60984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60985 (exit $ac_status); }; }; then
60986 glibcxx_cv_func___builtin_fabsl_use=yes
60987 else
60988 echo "$as_me: failed program was:" >&5
60989 sed 's/^/| /' conftest.$ac_ext >&5
60990
60991 glibcxx_cv_func___builtin_fabsl_use=no
60992 fi
60993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60994 ac_ext=c
60995 ac_cpp='$CPP $CPPFLAGS'
60996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60999
61000
61001 fi
61002
61003 fi
61004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61005 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61006 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61007 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61008 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61009 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61010 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61011 echo $ECHO_N "(cached) $ECHO_C" >&6
61012 else
61013
61014 if test x$gcc_no_link = xyes; then
61015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61017 { (exit 1); exit 1; }; }
61018 fi
61019 cat >conftest.$ac_ext <<_ACEOF
61020 /* confdefs.h. */
61021 _ACEOF
61022 cat confdefs.h >>conftest.$ac_ext
61023 cat >>conftest.$ac_ext <<_ACEOF
61024 /* end confdefs.h. */
61025 #include <math.h>
61026 int
61027 main ()
61028 {
61029 __builtin_fabsl(0);
61030 ;
61031 return 0;
61032 }
61033 _ACEOF
61034 rm -f conftest.$ac_objext conftest$ac_exeext
61035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61036 (eval $ac_link) 2>conftest.er1
61037 ac_status=$?
61038 grep -v '^ *+' conftest.er1 >conftest.err
61039 rm -f conftest.er1
61040 cat conftest.err >&5
61041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61042 (exit $ac_status); } &&
61043 { ac_try='test -z "$ac_c_werror_flag"
61044 || test ! -s conftest.err'
61045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61046 (eval $ac_try) 2>&5
61047 ac_status=$?
61048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61049 (exit $ac_status); }; } &&
61050 { ac_try='test -s conftest$ac_exeext'
61051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61052 (eval $ac_try) 2>&5
61053 ac_status=$?
61054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61055 (exit $ac_status); }; }; then
61056 glibcxx_cv_func___builtin_fabsl_link=yes
61057 else
61058 echo "$as_me: failed program was:" >&5
61059 sed 's/^/| /' conftest.$ac_ext >&5
61060
61061 glibcxx_cv_func___builtin_fabsl_link=no
61062 fi
61063 rm -f conftest.err conftest.$ac_objext \
61064 conftest$ac_exeext conftest.$ac_ext
61065
61066 fi
61067
61068 fi
61069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61070 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61071
61072 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61073
61074 cat >>confdefs.h <<\_ACEOF
61075 #define HAVE___BUILTIN_FABSL 1
61076 _ACEOF
61077
61078 fi
61079
61080 fi
61081
61082
61083 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61084 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61085 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61086 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61087 echo $ECHO_N "(cached) $ECHO_C" >&6
61088 else
61089
61090
61091
61092 ac_ext=cc
61093 ac_cpp='$CXXCPP $CPPFLAGS'
61094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61097
61098 cat >conftest.$ac_ext <<_ACEOF
61099 /* confdefs.h. */
61100 _ACEOF
61101 cat confdefs.h >>conftest.$ac_ext
61102 cat >>conftest.$ac_ext <<_ACEOF
61103 /* end confdefs.h. */
61104 #include <math.h>
61105 int
61106 main ()
61107 {
61108 __builtin_labs(0);
61109 ;
61110 return 0;
61111 }
61112 _ACEOF
61113 rm -f conftest.$ac_objext
61114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61115 (eval $ac_compile) 2>conftest.er1
61116 ac_status=$?
61117 grep -v '^ *+' conftest.er1 >conftest.err
61118 rm -f conftest.er1
61119 cat conftest.err >&5
61120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61121 (exit $ac_status); } &&
61122 { ac_try='test -z "$ac_cxx_werror_flag"
61123 || test ! -s conftest.err'
61124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61125 (eval $ac_try) 2>&5
61126 ac_status=$?
61127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61128 (exit $ac_status); }; } &&
61129 { ac_try='test -s conftest.$ac_objext'
61130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61131 (eval $ac_try) 2>&5
61132 ac_status=$?
61133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61134 (exit $ac_status); }; }; then
61135 glibcxx_cv_func___builtin_labs_use=yes
61136 else
61137 echo "$as_me: failed program was:" >&5
61138 sed 's/^/| /' conftest.$ac_ext >&5
61139
61140 glibcxx_cv_func___builtin_labs_use=no
61141 fi
61142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61143 ac_ext=c
61144 ac_cpp='$CPP $CPPFLAGS'
61145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61148
61149
61150 fi
61151
61152 fi
61153 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61154 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61155 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61156 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61157 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61158 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61159 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61160 echo $ECHO_N "(cached) $ECHO_C" >&6
61161 else
61162
61163 if test x$gcc_no_link = xyes; then
61164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61166 { (exit 1); exit 1; }; }
61167 fi
61168 cat >conftest.$ac_ext <<_ACEOF
61169 /* confdefs.h. */
61170 _ACEOF
61171 cat confdefs.h >>conftest.$ac_ext
61172 cat >>conftest.$ac_ext <<_ACEOF
61173 /* end confdefs.h. */
61174 #include <math.h>
61175 int
61176 main ()
61177 {
61178 __builtin_labs(0);
61179 ;
61180 return 0;
61181 }
61182 _ACEOF
61183 rm -f conftest.$ac_objext conftest$ac_exeext
61184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61185 (eval $ac_link) 2>conftest.er1
61186 ac_status=$?
61187 grep -v '^ *+' conftest.er1 >conftest.err
61188 rm -f conftest.er1
61189 cat conftest.err >&5
61190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61191 (exit $ac_status); } &&
61192 { ac_try='test -z "$ac_c_werror_flag"
61193 || test ! -s conftest.err'
61194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61195 (eval $ac_try) 2>&5
61196 ac_status=$?
61197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61198 (exit $ac_status); }; } &&
61199 { ac_try='test -s conftest$ac_exeext'
61200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61201 (eval $ac_try) 2>&5
61202 ac_status=$?
61203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61204 (exit $ac_status); }; }; then
61205 glibcxx_cv_func___builtin_labs_link=yes
61206 else
61207 echo "$as_me: failed program was:" >&5
61208 sed 's/^/| /' conftest.$ac_ext >&5
61209
61210 glibcxx_cv_func___builtin_labs_link=no
61211 fi
61212 rm -f conftest.err conftest.$ac_objext \
61213 conftest$ac_exeext conftest.$ac_ext
61214
61215 fi
61216
61217 fi
61218 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61219 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61220
61221 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61222
61223 cat >>confdefs.h <<\_ACEOF
61224 #define HAVE___BUILTIN_LABS 1
61225 _ACEOF
61226
61227 fi
61228
61229 fi
61230
61231
61232
61233 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61234 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61235 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61236 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61237 echo $ECHO_N "(cached) $ECHO_C" >&6
61238 else
61239
61240
61241
61242 ac_ext=cc
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247
61248 cat >conftest.$ac_ext <<_ACEOF
61249 /* confdefs.h. */
61250 _ACEOF
61251 cat confdefs.h >>conftest.$ac_ext
61252 cat >>conftest.$ac_ext <<_ACEOF
61253 /* end confdefs.h. */
61254 #include <math.h>
61255 int
61256 main ()
61257 {
61258 __builtin_sqrtf(0);
61259 ;
61260 return 0;
61261 }
61262 _ACEOF
61263 rm -f conftest.$ac_objext
61264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61265 (eval $ac_compile) 2>conftest.er1
61266 ac_status=$?
61267 grep -v '^ *+' conftest.er1 >conftest.err
61268 rm -f conftest.er1
61269 cat conftest.err >&5
61270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61271 (exit $ac_status); } &&
61272 { ac_try='test -z "$ac_cxx_werror_flag"
61273 || test ! -s conftest.err'
61274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61275 (eval $ac_try) 2>&5
61276 ac_status=$?
61277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61278 (exit $ac_status); }; } &&
61279 { ac_try='test -s conftest.$ac_objext'
61280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61281 (eval $ac_try) 2>&5
61282 ac_status=$?
61283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61284 (exit $ac_status); }; }; then
61285 glibcxx_cv_func___builtin_sqrtf_use=yes
61286 else
61287 echo "$as_me: failed program was:" >&5
61288 sed 's/^/| /' conftest.$ac_ext >&5
61289
61290 glibcxx_cv_func___builtin_sqrtf_use=no
61291 fi
61292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61293 ac_ext=c
61294 ac_cpp='$CPP $CPPFLAGS'
61295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61298
61299
61300 fi
61301
61302 fi
61303 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61304 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61305 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61306 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61307 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61308 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61309 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61310 echo $ECHO_N "(cached) $ECHO_C" >&6
61311 else
61312
61313 if test x$gcc_no_link = xyes; then
61314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61316 { (exit 1); exit 1; }; }
61317 fi
61318 cat >conftest.$ac_ext <<_ACEOF
61319 /* confdefs.h. */
61320 _ACEOF
61321 cat confdefs.h >>conftest.$ac_ext
61322 cat >>conftest.$ac_ext <<_ACEOF
61323 /* end confdefs.h. */
61324 #include <math.h>
61325 int
61326 main ()
61327 {
61328 __builtin_sqrtf(0);
61329 ;
61330 return 0;
61331 }
61332 _ACEOF
61333 rm -f conftest.$ac_objext conftest$ac_exeext
61334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61335 (eval $ac_link) 2>conftest.er1
61336 ac_status=$?
61337 grep -v '^ *+' conftest.er1 >conftest.err
61338 rm -f conftest.er1
61339 cat conftest.err >&5
61340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341 (exit $ac_status); } &&
61342 { ac_try='test -z "$ac_c_werror_flag"
61343 || test ! -s conftest.err'
61344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61345 (eval $ac_try) 2>&5
61346 ac_status=$?
61347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61348 (exit $ac_status); }; } &&
61349 { ac_try='test -s conftest$ac_exeext'
61350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61351 (eval $ac_try) 2>&5
61352 ac_status=$?
61353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61354 (exit $ac_status); }; }; then
61355 glibcxx_cv_func___builtin_sqrtf_link=yes
61356 else
61357 echo "$as_me: failed program was:" >&5
61358 sed 's/^/| /' conftest.$ac_ext >&5
61359
61360 glibcxx_cv_func___builtin_sqrtf_link=no
61361 fi
61362 rm -f conftest.err conftest.$ac_objext \
61363 conftest$ac_exeext conftest.$ac_ext
61364
61365 fi
61366
61367 fi
61368 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61369 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61370
61371 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61372
61373 cat >>confdefs.h <<\_ACEOF
61374 #define HAVE___BUILTIN_SQRTF 1
61375 _ACEOF
61376
61377 fi
61378
61379 fi
61380
61381
61382 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61383 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61384 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61385 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61386 echo $ECHO_N "(cached) $ECHO_C" >&6
61387 else
61388
61389
61390
61391 ac_ext=cc
61392 ac_cpp='$CXXCPP $CPPFLAGS'
61393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61396
61397 cat >conftest.$ac_ext <<_ACEOF
61398 /* confdefs.h. */
61399 _ACEOF
61400 cat confdefs.h >>conftest.$ac_ext
61401 cat >>conftest.$ac_ext <<_ACEOF
61402 /* end confdefs.h. */
61403 #include <math.h>
61404 int
61405 main ()
61406 {
61407 __builtin_sqrt(0);
61408 ;
61409 return 0;
61410 }
61411 _ACEOF
61412 rm -f conftest.$ac_objext
61413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61414 (eval $ac_compile) 2>conftest.er1
61415 ac_status=$?
61416 grep -v '^ *+' conftest.er1 >conftest.err
61417 rm -f conftest.er1
61418 cat conftest.err >&5
61419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61420 (exit $ac_status); } &&
61421 { ac_try='test -z "$ac_cxx_werror_flag"
61422 || test ! -s conftest.err'
61423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61424 (eval $ac_try) 2>&5
61425 ac_status=$?
61426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61427 (exit $ac_status); }; } &&
61428 { ac_try='test -s conftest.$ac_objext'
61429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61430 (eval $ac_try) 2>&5
61431 ac_status=$?
61432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61433 (exit $ac_status); }; }; then
61434 glibcxx_cv_func___builtin_sqrt_use=yes
61435 else
61436 echo "$as_me: failed program was:" >&5
61437 sed 's/^/| /' conftest.$ac_ext >&5
61438
61439 glibcxx_cv_func___builtin_sqrt_use=no
61440 fi
61441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61442 ac_ext=c
61443 ac_cpp='$CPP $CPPFLAGS'
61444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61447
61448
61449 fi
61450
61451 fi
61452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61453 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61454 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61455 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61456 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61457 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61458 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61459 echo $ECHO_N "(cached) $ECHO_C" >&6
61460 else
61461
61462 if test x$gcc_no_link = xyes; then
61463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61465 { (exit 1); exit 1; }; }
61466 fi
61467 cat >conftest.$ac_ext <<_ACEOF
61468 /* confdefs.h. */
61469 _ACEOF
61470 cat confdefs.h >>conftest.$ac_ext
61471 cat >>conftest.$ac_ext <<_ACEOF
61472 /* end confdefs.h. */
61473 #include <math.h>
61474 int
61475 main ()
61476 {
61477 __builtin_sqrt(0);
61478 ;
61479 return 0;
61480 }
61481 _ACEOF
61482 rm -f conftest.$ac_objext conftest$ac_exeext
61483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61484 (eval $ac_link) 2>conftest.er1
61485 ac_status=$?
61486 grep -v '^ *+' conftest.er1 >conftest.err
61487 rm -f conftest.er1
61488 cat conftest.err >&5
61489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61490 (exit $ac_status); } &&
61491 { ac_try='test -z "$ac_c_werror_flag"
61492 || test ! -s conftest.err'
61493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61494 (eval $ac_try) 2>&5
61495 ac_status=$?
61496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61497 (exit $ac_status); }; } &&
61498 { ac_try='test -s conftest$ac_exeext'
61499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61500 (eval $ac_try) 2>&5
61501 ac_status=$?
61502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61503 (exit $ac_status); }; }; then
61504 glibcxx_cv_func___builtin_sqrt_link=yes
61505 else
61506 echo "$as_me: failed program was:" >&5
61507 sed 's/^/| /' conftest.$ac_ext >&5
61508
61509 glibcxx_cv_func___builtin_sqrt_link=no
61510 fi
61511 rm -f conftest.err conftest.$ac_objext \
61512 conftest$ac_exeext conftest.$ac_ext
61513
61514 fi
61515
61516 fi
61517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61518 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61519
61520 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61521
61522 cat >>confdefs.h <<\_ACEOF
61523 #define HAVE___BUILTIN_SQRT 1
61524 _ACEOF
61525
61526 fi
61527
61528 fi
61529
61530
61531 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61532 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61533 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61534 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61535 echo $ECHO_N "(cached) $ECHO_C" >&6
61536 else
61537
61538
61539
61540 ac_ext=cc
61541 ac_cpp='$CXXCPP $CPPFLAGS'
61542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545
61546 cat >conftest.$ac_ext <<_ACEOF
61547 /* confdefs.h. */
61548 _ACEOF
61549 cat confdefs.h >>conftest.$ac_ext
61550 cat >>conftest.$ac_ext <<_ACEOF
61551 /* end confdefs.h. */
61552 #include <math.h>
61553 int
61554 main ()
61555 {
61556 __builtin_sqrtl(0);
61557 ;
61558 return 0;
61559 }
61560 _ACEOF
61561 rm -f conftest.$ac_objext
61562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61563 (eval $ac_compile) 2>conftest.er1
61564 ac_status=$?
61565 grep -v '^ *+' conftest.er1 >conftest.err
61566 rm -f conftest.er1
61567 cat conftest.err >&5
61568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61569 (exit $ac_status); } &&
61570 { ac_try='test -z "$ac_cxx_werror_flag"
61571 || test ! -s conftest.err'
61572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61573 (eval $ac_try) 2>&5
61574 ac_status=$?
61575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576 (exit $ac_status); }; } &&
61577 { ac_try='test -s conftest.$ac_objext'
61578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579 (eval $ac_try) 2>&5
61580 ac_status=$?
61581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582 (exit $ac_status); }; }; then
61583 glibcxx_cv_func___builtin_sqrtl_use=yes
61584 else
61585 echo "$as_me: failed program was:" >&5
61586 sed 's/^/| /' conftest.$ac_ext >&5
61587
61588 glibcxx_cv_func___builtin_sqrtl_use=no
61589 fi
61590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61596
61597
61598 fi
61599
61600 fi
61601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61602 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61603 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61604 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61605 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61606 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61607 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61608 echo $ECHO_N "(cached) $ECHO_C" >&6
61609 else
61610
61611 if test x$gcc_no_link = xyes; then
61612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61614 { (exit 1); exit 1; }; }
61615 fi
61616 cat >conftest.$ac_ext <<_ACEOF
61617 /* confdefs.h. */
61618 _ACEOF
61619 cat confdefs.h >>conftest.$ac_ext
61620 cat >>conftest.$ac_ext <<_ACEOF
61621 /* end confdefs.h. */
61622 #include <math.h>
61623 int
61624 main ()
61625 {
61626 __builtin_sqrtl(0);
61627 ;
61628 return 0;
61629 }
61630 _ACEOF
61631 rm -f conftest.$ac_objext conftest$ac_exeext
61632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61633 (eval $ac_link) 2>conftest.er1
61634 ac_status=$?
61635 grep -v '^ *+' conftest.er1 >conftest.err
61636 rm -f conftest.er1
61637 cat conftest.err >&5
61638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639 (exit $ac_status); } &&
61640 { ac_try='test -z "$ac_c_werror_flag"
61641 || test ! -s conftest.err'
61642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61643 (eval $ac_try) 2>&5
61644 ac_status=$?
61645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61646 (exit $ac_status); }; } &&
61647 { ac_try='test -s conftest$ac_exeext'
61648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61649 (eval $ac_try) 2>&5
61650 ac_status=$?
61651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61652 (exit $ac_status); }; }; then
61653 glibcxx_cv_func___builtin_sqrtl_link=yes
61654 else
61655 echo "$as_me: failed program was:" >&5
61656 sed 's/^/| /' conftest.$ac_ext >&5
61657
61658 glibcxx_cv_func___builtin_sqrtl_link=no
61659 fi
61660 rm -f conftest.err conftest.$ac_objext \
61661 conftest$ac_exeext conftest.$ac_ext
61662
61663 fi
61664
61665 fi
61666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61667 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61668
61669 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61670
61671 cat >>confdefs.h <<\_ACEOF
61672 #define HAVE___BUILTIN_SQRTL 1
61673 _ACEOF
61674
61675 fi
61676
61677 fi
61678
61679
61680
61681 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61682 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61683 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61684 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61685 echo $ECHO_N "(cached) $ECHO_C" >&6
61686 else
61687
61688
61689
61690 ac_ext=cc
61691 ac_cpp='$CXXCPP $CPPFLAGS'
61692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61695
61696 cat >conftest.$ac_ext <<_ACEOF
61697 /* confdefs.h. */
61698 _ACEOF
61699 cat confdefs.h >>conftest.$ac_ext
61700 cat >>conftest.$ac_ext <<_ACEOF
61701 /* end confdefs.h. */
61702 #include <math.h>
61703 int
61704 main ()
61705 {
61706 __builtin_sinf(0);
61707 ;
61708 return 0;
61709 }
61710 _ACEOF
61711 rm -f conftest.$ac_objext
61712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61713 (eval $ac_compile) 2>conftest.er1
61714 ac_status=$?
61715 grep -v '^ *+' conftest.er1 >conftest.err
61716 rm -f conftest.er1
61717 cat conftest.err >&5
61718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61719 (exit $ac_status); } &&
61720 { ac_try='test -z "$ac_cxx_werror_flag"
61721 || test ! -s conftest.err'
61722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61723 (eval $ac_try) 2>&5
61724 ac_status=$?
61725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61726 (exit $ac_status); }; } &&
61727 { ac_try='test -s conftest.$ac_objext'
61728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61729 (eval $ac_try) 2>&5
61730 ac_status=$?
61731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61732 (exit $ac_status); }; }; then
61733 glibcxx_cv_func___builtin_sinf_use=yes
61734 else
61735 echo "$as_me: failed program was:" >&5
61736 sed 's/^/| /' conftest.$ac_ext >&5
61737
61738 glibcxx_cv_func___builtin_sinf_use=no
61739 fi
61740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61741 ac_ext=c
61742 ac_cpp='$CPP $CPPFLAGS'
61743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61746
61747
61748 fi
61749
61750 fi
61751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61752 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61753 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61754 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61755 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61756 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61757 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61758 echo $ECHO_N "(cached) $ECHO_C" >&6
61759 else
61760
61761 if test x$gcc_no_link = xyes; then
61762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61764 { (exit 1); exit 1; }; }
61765 fi
61766 cat >conftest.$ac_ext <<_ACEOF
61767 /* confdefs.h. */
61768 _ACEOF
61769 cat confdefs.h >>conftest.$ac_ext
61770 cat >>conftest.$ac_ext <<_ACEOF
61771 /* end confdefs.h. */
61772 #include <math.h>
61773 int
61774 main ()
61775 {
61776 __builtin_sinf(0);
61777 ;
61778 return 0;
61779 }
61780 _ACEOF
61781 rm -f conftest.$ac_objext conftest$ac_exeext
61782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61783 (eval $ac_link) 2>conftest.er1
61784 ac_status=$?
61785 grep -v '^ *+' conftest.er1 >conftest.err
61786 rm -f conftest.er1
61787 cat conftest.err >&5
61788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61789 (exit $ac_status); } &&
61790 { ac_try='test -z "$ac_c_werror_flag"
61791 || test ! -s conftest.err'
61792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61793 (eval $ac_try) 2>&5
61794 ac_status=$?
61795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61796 (exit $ac_status); }; } &&
61797 { ac_try='test -s conftest$ac_exeext'
61798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61799 (eval $ac_try) 2>&5
61800 ac_status=$?
61801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61802 (exit $ac_status); }; }; then
61803 glibcxx_cv_func___builtin_sinf_link=yes
61804 else
61805 echo "$as_me: failed program was:" >&5
61806 sed 's/^/| /' conftest.$ac_ext >&5
61807
61808 glibcxx_cv_func___builtin_sinf_link=no
61809 fi
61810 rm -f conftest.err conftest.$ac_objext \
61811 conftest$ac_exeext conftest.$ac_ext
61812
61813 fi
61814
61815 fi
61816 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61817 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61818
61819 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61820
61821 cat >>confdefs.h <<\_ACEOF
61822 #define HAVE___BUILTIN_SINF 1
61823 _ACEOF
61824
61825 fi
61826
61827 fi
61828
61829
61830 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61831 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61832 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61833 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61834 echo $ECHO_N "(cached) $ECHO_C" >&6
61835 else
61836
61837
61838
61839 ac_ext=cc
61840 ac_cpp='$CXXCPP $CPPFLAGS'
61841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61844
61845 cat >conftest.$ac_ext <<_ACEOF
61846 /* confdefs.h. */
61847 _ACEOF
61848 cat confdefs.h >>conftest.$ac_ext
61849 cat >>conftest.$ac_ext <<_ACEOF
61850 /* end confdefs.h. */
61851 #include <math.h>
61852 int
61853 main ()
61854 {
61855 __builtin_sin(0);
61856 ;
61857 return 0;
61858 }
61859 _ACEOF
61860 rm -f conftest.$ac_objext
61861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61862 (eval $ac_compile) 2>conftest.er1
61863 ac_status=$?
61864 grep -v '^ *+' conftest.er1 >conftest.err
61865 rm -f conftest.er1
61866 cat conftest.err >&5
61867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61868 (exit $ac_status); } &&
61869 { ac_try='test -z "$ac_cxx_werror_flag"
61870 || test ! -s conftest.err'
61871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61872 (eval $ac_try) 2>&5
61873 ac_status=$?
61874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61875 (exit $ac_status); }; } &&
61876 { ac_try='test -s conftest.$ac_objext'
61877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61878 (eval $ac_try) 2>&5
61879 ac_status=$?
61880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61881 (exit $ac_status); }; }; then
61882 glibcxx_cv_func___builtin_sin_use=yes
61883 else
61884 echo "$as_me: failed program was:" >&5
61885 sed 's/^/| /' conftest.$ac_ext >&5
61886
61887 glibcxx_cv_func___builtin_sin_use=no
61888 fi
61889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61890 ac_ext=c
61891 ac_cpp='$CPP $CPPFLAGS'
61892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61895
61896
61897 fi
61898
61899 fi
61900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61901 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61902 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61903 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61904 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61905 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61906 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61907 echo $ECHO_N "(cached) $ECHO_C" >&6
61908 else
61909
61910 if test x$gcc_no_link = xyes; then
61911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61913 { (exit 1); exit 1; }; }
61914 fi
61915 cat >conftest.$ac_ext <<_ACEOF
61916 /* confdefs.h. */
61917 _ACEOF
61918 cat confdefs.h >>conftest.$ac_ext
61919 cat >>conftest.$ac_ext <<_ACEOF
61920 /* end confdefs.h. */
61921 #include <math.h>
61922 int
61923 main ()
61924 {
61925 __builtin_sin(0);
61926 ;
61927 return 0;
61928 }
61929 _ACEOF
61930 rm -f conftest.$ac_objext conftest$ac_exeext
61931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61932 (eval $ac_link) 2>conftest.er1
61933 ac_status=$?
61934 grep -v '^ *+' conftest.er1 >conftest.err
61935 rm -f conftest.er1
61936 cat conftest.err >&5
61937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61938 (exit $ac_status); } &&
61939 { ac_try='test -z "$ac_c_werror_flag"
61940 || test ! -s conftest.err'
61941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61942 (eval $ac_try) 2>&5
61943 ac_status=$?
61944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61945 (exit $ac_status); }; } &&
61946 { ac_try='test -s conftest$ac_exeext'
61947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61948 (eval $ac_try) 2>&5
61949 ac_status=$?
61950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61951 (exit $ac_status); }; }; then
61952 glibcxx_cv_func___builtin_sin_link=yes
61953 else
61954 echo "$as_me: failed program was:" >&5
61955 sed 's/^/| /' conftest.$ac_ext >&5
61956
61957 glibcxx_cv_func___builtin_sin_link=no
61958 fi
61959 rm -f conftest.err conftest.$ac_objext \
61960 conftest$ac_exeext conftest.$ac_ext
61961
61962 fi
61963
61964 fi
61965 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61966 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61967
61968 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61969
61970 cat >>confdefs.h <<\_ACEOF
61971 #define HAVE___BUILTIN_SIN 1
61972 _ACEOF
61973
61974 fi
61975
61976 fi
61977
61978
61979 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61980 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61981 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61982 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61983 echo $ECHO_N "(cached) $ECHO_C" >&6
61984 else
61985
61986
61987
61988 ac_ext=cc
61989 ac_cpp='$CXXCPP $CPPFLAGS'
61990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61993
61994 cat >conftest.$ac_ext <<_ACEOF
61995 /* confdefs.h. */
61996 _ACEOF
61997 cat confdefs.h >>conftest.$ac_ext
61998 cat >>conftest.$ac_ext <<_ACEOF
61999 /* end confdefs.h. */
62000 #include <math.h>
62001 int
62002 main ()
62003 {
62004 __builtin_sinl(0);
62005 ;
62006 return 0;
62007 }
62008 _ACEOF
62009 rm -f conftest.$ac_objext
62010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62011 (eval $ac_compile) 2>conftest.er1
62012 ac_status=$?
62013 grep -v '^ *+' conftest.er1 >conftest.err
62014 rm -f conftest.er1
62015 cat conftest.err >&5
62016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62017 (exit $ac_status); } &&
62018 { ac_try='test -z "$ac_cxx_werror_flag"
62019 || test ! -s conftest.err'
62020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62021 (eval $ac_try) 2>&5
62022 ac_status=$?
62023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62024 (exit $ac_status); }; } &&
62025 { ac_try='test -s conftest.$ac_objext'
62026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62027 (eval $ac_try) 2>&5
62028 ac_status=$?
62029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62030 (exit $ac_status); }; }; then
62031 glibcxx_cv_func___builtin_sinl_use=yes
62032 else
62033 echo "$as_me: failed program was:" >&5
62034 sed 's/^/| /' conftest.$ac_ext >&5
62035
62036 glibcxx_cv_func___builtin_sinl_use=no
62037 fi
62038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62039 ac_ext=c
62040 ac_cpp='$CPP $CPPFLAGS'
62041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62044
62045
62046 fi
62047
62048 fi
62049 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62051 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62052 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62053 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62054 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62055 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62056 echo $ECHO_N "(cached) $ECHO_C" >&6
62057 else
62058
62059 if test x$gcc_no_link = xyes; then
62060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62062 { (exit 1); exit 1; }; }
62063 fi
62064 cat >conftest.$ac_ext <<_ACEOF
62065 /* confdefs.h. */
62066 _ACEOF
62067 cat confdefs.h >>conftest.$ac_ext
62068 cat >>conftest.$ac_ext <<_ACEOF
62069 /* end confdefs.h. */
62070 #include <math.h>
62071 int
62072 main ()
62073 {
62074 __builtin_sinl(0);
62075 ;
62076 return 0;
62077 }
62078 _ACEOF
62079 rm -f conftest.$ac_objext conftest$ac_exeext
62080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62081 (eval $ac_link) 2>conftest.er1
62082 ac_status=$?
62083 grep -v '^ *+' conftest.er1 >conftest.err
62084 rm -f conftest.er1
62085 cat conftest.err >&5
62086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62087 (exit $ac_status); } &&
62088 { ac_try='test -z "$ac_c_werror_flag"
62089 || test ! -s conftest.err'
62090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62091 (eval $ac_try) 2>&5
62092 ac_status=$?
62093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62094 (exit $ac_status); }; } &&
62095 { ac_try='test -s conftest$ac_exeext'
62096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62097 (eval $ac_try) 2>&5
62098 ac_status=$?
62099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62100 (exit $ac_status); }; }; then
62101 glibcxx_cv_func___builtin_sinl_link=yes
62102 else
62103 echo "$as_me: failed program was:" >&5
62104 sed 's/^/| /' conftest.$ac_ext >&5
62105
62106 glibcxx_cv_func___builtin_sinl_link=no
62107 fi
62108 rm -f conftest.err conftest.$ac_objext \
62109 conftest$ac_exeext conftest.$ac_ext
62110
62111 fi
62112
62113 fi
62114 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62116
62117 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62118
62119 cat >>confdefs.h <<\_ACEOF
62120 #define HAVE___BUILTIN_SINL 1
62121 _ACEOF
62122
62123 fi
62124
62125 fi
62126
62127
62128
62129 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62130 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62131 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62132 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62133 echo $ECHO_N "(cached) $ECHO_C" >&6
62134 else
62135
62136
62137
62138 ac_ext=cc
62139 ac_cpp='$CXXCPP $CPPFLAGS'
62140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62143
62144 cat >conftest.$ac_ext <<_ACEOF
62145 /* confdefs.h. */
62146 _ACEOF
62147 cat confdefs.h >>conftest.$ac_ext
62148 cat >>conftest.$ac_ext <<_ACEOF
62149 /* end confdefs.h. */
62150 #include <math.h>
62151 int
62152 main ()
62153 {
62154 __builtin_cosf(0);
62155 ;
62156 return 0;
62157 }
62158 _ACEOF
62159 rm -f conftest.$ac_objext
62160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62161 (eval $ac_compile) 2>conftest.er1
62162 ac_status=$?
62163 grep -v '^ *+' conftest.er1 >conftest.err
62164 rm -f conftest.er1
62165 cat conftest.err >&5
62166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62167 (exit $ac_status); } &&
62168 { ac_try='test -z "$ac_cxx_werror_flag"
62169 || test ! -s conftest.err'
62170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62171 (eval $ac_try) 2>&5
62172 ac_status=$?
62173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62174 (exit $ac_status); }; } &&
62175 { ac_try='test -s conftest.$ac_objext'
62176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62177 (eval $ac_try) 2>&5
62178 ac_status=$?
62179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62180 (exit $ac_status); }; }; then
62181 glibcxx_cv_func___builtin_cosf_use=yes
62182 else
62183 echo "$as_me: failed program was:" >&5
62184 sed 's/^/| /' conftest.$ac_ext >&5
62185
62186 glibcxx_cv_func___builtin_cosf_use=no
62187 fi
62188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62189 ac_ext=c
62190 ac_cpp='$CPP $CPPFLAGS'
62191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62194
62195
62196 fi
62197
62198 fi
62199 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62200 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62201 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62202 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62203 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62204 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62205 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62206 echo $ECHO_N "(cached) $ECHO_C" >&6
62207 else
62208
62209 if test x$gcc_no_link = xyes; then
62210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62212 { (exit 1); exit 1; }; }
62213 fi
62214 cat >conftest.$ac_ext <<_ACEOF
62215 /* confdefs.h. */
62216 _ACEOF
62217 cat confdefs.h >>conftest.$ac_ext
62218 cat >>conftest.$ac_ext <<_ACEOF
62219 /* end confdefs.h. */
62220 #include <math.h>
62221 int
62222 main ()
62223 {
62224 __builtin_cosf(0);
62225 ;
62226 return 0;
62227 }
62228 _ACEOF
62229 rm -f conftest.$ac_objext conftest$ac_exeext
62230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62231 (eval $ac_link) 2>conftest.er1
62232 ac_status=$?
62233 grep -v '^ *+' conftest.er1 >conftest.err
62234 rm -f conftest.er1
62235 cat conftest.err >&5
62236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62237 (exit $ac_status); } &&
62238 { ac_try='test -z "$ac_c_werror_flag"
62239 || test ! -s conftest.err'
62240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62241 (eval $ac_try) 2>&5
62242 ac_status=$?
62243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62244 (exit $ac_status); }; } &&
62245 { ac_try='test -s conftest$ac_exeext'
62246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62247 (eval $ac_try) 2>&5
62248 ac_status=$?
62249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62250 (exit $ac_status); }; }; then
62251 glibcxx_cv_func___builtin_cosf_link=yes
62252 else
62253 echo "$as_me: failed program was:" >&5
62254 sed 's/^/| /' conftest.$ac_ext >&5
62255
62256 glibcxx_cv_func___builtin_cosf_link=no
62257 fi
62258 rm -f conftest.err conftest.$ac_objext \
62259 conftest$ac_exeext conftest.$ac_ext
62260
62261 fi
62262
62263 fi
62264 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62265 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62266
62267 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62268
62269 cat >>confdefs.h <<\_ACEOF
62270 #define HAVE___BUILTIN_COSF 1
62271 _ACEOF
62272
62273 fi
62274
62275 fi
62276
62277
62278 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62279 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62280 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62281 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62282 echo $ECHO_N "(cached) $ECHO_C" >&6
62283 else
62284
62285
62286
62287 ac_ext=cc
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62292
62293 cat >conftest.$ac_ext <<_ACEOF
62294 /* confdefs.h. */
62295 _ACEOF
62296 cat confdefs.h >>conftest.$ac_ext
62297 cat >>conftest.$ac_ext <<_ACEOF
62298 /* end confdefs.h. */
62299 #include <math.h>
62300 int
62301 main ()
62302 {
62303 __builtin_cos(0);
62304 ;
62305 return 0;
62306 }
62307 _ACEOF
62308 rm -f conftest.$ac_objext
62309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62310 (eval $ac_compile) 2>conftest.er1
62311 ac_status=$?
62312 grep -v '^ *+' conftest.er1 >conftest.err
62313 rm -f conftest.er1
62314 cat conftest.err >&5
62315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62316 (exit $ac_status); } &&
62317 { ac_try='test -z "$ac_cxx_werror_flag"
62318 || test ! -s conftest.err'
62319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62320 (eval $ac_try) 2>&5
62321 ac_status=$?
62322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62323 (exit $ac_status); }; } &&
62324 { ac_try='test -s conftest.$ac_objext'
62325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62326 (eval $ac_try) 2>&5
62327 ac_status=$?
62328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329 (exit $ac_status); }; }; then
62330 glibcxx_cv_func___builtin_cos_use=yes
62331 else
62332 echo "$as_me: failed program was:" >&5
62333 sed 's/^/| /' conftest.$ac_ext >&5
62334
62335 glibcxx_cv_func___builtin_cos_use=no
62336 fi
62337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62338 ac_ext=c
62339 ac_cpp='$CPP $CPPFLAGS'
62340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62343
62344
62345 fi
62346
62347 fi
62348 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62349 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62350 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62351 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62352 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62353 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62354 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62355 echo $ECHO_N "(cached) $ECHO_C" >&6
62356 else
62357
62358 if test x$gcc_no_link = xyes; then
62359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62361 { (exit 1); exit 1; }; }
62362 fi
62363 cat >conftest.$ac_ext <<_ACEOF
62364 /* confdefs.h. */
62365 _ACEOF
62366 cat confdefs.h >>conftest.$ac_ext
62367 cat >>conftest.$ac_ext <<_ACEOF
62368 /* end confdefs.h. */
62369 #include <math.h>
62370 int
62371 main ()
62372 {
62373 __builtin_cos(0);
62374 ;
62375 return 0;
62376 }
62377 _ACEOF
62378 rm -f conftest.$ac_objext conftest$ac_exeext
62379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62380 (eval $ac_link) 2>conftest.er1
62381 ac_status=$?
62382 grep -v '^ *+' conftest.er1 >conftest.err
62383 rm -f conftest.er1
62384 cat conftest.err >&5
62385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62386 (exit $ac_status); } &&
62387 { ac_try='test -z "$ac_c_werror_flag"
62388 || test ! -s conftest.err'
62389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62390 (eval $ac_try) 2>&5
62391 ac_status=$?
62392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62393 (exit $ac_status); }; } &&
62394 { ac_try='test -s conftest$ac_exeext'
62395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62396 (eval $ac_try) 2>&5
62397 ac_status=$?
62398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62399 (exit $ac_status); }; }; then
62400 glibcxx_cv_func___builtin_cos_link=yes
62401 else
62402 echo "$as_me: failed program was:" >&5
62403 sed 's/^/| /' conftest.$ac_ext >&5
62404
62405 glibcxx_cv_func___builtin_cos_link=no
62406 fi
62407 rm -f conftest.err conftest.$ac_objext \
62408 conftest$ac_exeext conftest.$ac_ext
62409
62410 fi
62411
62412 fi
62413 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62414 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62415
62416 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62417
62418 cat >>confdefs.h <<\_ACEOF
62419 #define HAVE___BUILTIN_COS 1
62420 _ACEOF
62421
62422 fi
62423
62424 fi
62425
62426
62427 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62428 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62429 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62430 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62431 echo $ECHO_N "(cached) $ECHO_C" >&6
62432 else
62433
62434
62435
62436 ac_ext=cc
62437 ac_cpp='$CXXCPP $CPPFLAGS'
62438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62441
62442 cat >conftest.$ac_ext <<_ACEOF
62443 /* confdefs.h. */
62444 _ACEOF
62445 cat confdefs.h >>conftest.$ac_ext
62446 cat >>conftest.$ac_ext <<_ACEOF
62447 /* end confdefs.h. */
62448 #include <math.h>
62449 int
62450 main ()
62451 {
62452 __builtin_cosl(0);
62453 ;
62454 return 0;
62455 }
62456 _ACEOF
62457 rm -f conftest.$ac_objext
62458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62459 (eval $ac_compile) 2>conftest.er1
62460 ac_status=$?
62461 grep -v '^ *+' conftest.er1 >conftest.err
62462 rm -f conftest.er1
62463 cat conftest.err >&5
62464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62465 (exit $ac_status); } &&
62466 { ac_try='test -z "$ac_cxx_werror_flag"
62467 || test ! -s conftest.err'
62468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62469 (eval $ac_try) 2>&5
62470 ac_status=$?
62471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62472 (exit $ac_status); }; } &&
62473 { ac_try='test -s conftest.$ac_objext'
62474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62475 (eval $ac_try) 2>&5
62476 ac_status=$?
62477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62478 (exit $ac_status); }; }; then
62479 glibcxx_cv_func___builtin_cosl_use=yes
62480 else
62481 echo "$as_me: failed program was:" >&5
62482 sed 's/^/| /' conftest.$ac_ext >&5
62483
62484 glibcxx_cv_func___builtin_cosl_use=no
62485 fi
62486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62487 ac_ext=c
62488 ac_cpp='$CPP $CPPFLAGS'
62489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62492
62493
62494 fi
62495
62496 fi
62497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62498 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62499 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62500 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62501 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62502 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62503 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62504 echo $ECHO_N "(cached) $ECHO_C" >&6
62505 else
62506
62507 if test x$gcc_no_link = xyes; then
62508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62510 { (exit 1); exit 1; }; }
62511 fi
62512 cat >conftest.$ac_ext <<_ACEOF
62513 /* confdefs.h. */
62514 _ACEOF
62515 cat confdefs.h >>conftest.$ac_ext
62516 cat >>conftest.$ac_ext <<_ACEOF
62517 /* end confdefs.h. */
62518 #include <math.h>
62519 int
62520 main ()
62521 {
62522 __builtin_cosl(0);
62523 ;
62524 return 0;
62525 }
62526 _ACEOF
62527 rm -f conftest.$ac_objext conftest$ac_exeext
62528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62529 (eval $ac_link) 2>conftest.er1
62530 ac_status=$?
62531 grep -v '^ *+' conftest.er1 >conftest.err
62532 rm -f conftest.er1
62533 cat conftest.err >&5
62534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62535 (exit $ac_status); } &&
62536 { ac_try='test -z "$ac_c_werror_flag"
62537 || test ! -s conftest.err'
62538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62539 (eval $ac_try) 2>&5
62540 ac_status=$?
62541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62542 (exit $ac_status); }; } &&
62543 { ac_try='test -s conftest$ac_exeext'
62544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62545 (eval $ac_try) 2>&5
62546 ac_status=$?
62547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62548 (exit $ac_status); }; }; then
62549 glibcxx_cv_func___builtin_cosl_link=yes
62550 else
62551 echo "$as_me: failed program was:" >&5
62552 sed 's/^/| /' conftest.$ac_ext >&5
62553
62554 glibcxx_cv_func___builtin_cosl_link=no
62555 fi
62556 rm -f conftest.err conftest.$ac_objext \
62557 conftest$ac_exeext conftest.$ac_ext
62558
62559 fi
62560
62561 fi
62562 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62563 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62564
62565 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62566
62567 cat >>confdefs.h <<\_ACEOF
62568 #define HAVE___BUILTIN_COSL 1
62569 _ACEOF
62570
62571 fi
62572
62573 fi
62574
62575
62576
62577
62578 echo "$as_me:$LINENO: checking for main in -lm" >&5
62579 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62580 if test "${ac_cv_lib_m_main+set}" = set; then
62581 echo $ECHO_N "(cached) $ECHO_C" >&6
62582 else
62583 ac_check_lib_save_LIBS=$LIBS
62584 LIBS="-lm $LIBS"
62585 if test x$gcc_no_link = xyes; then
62586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62588 { (exit 1); exit 1; }; }
62589 fi
62590 cat >conftest.$ac_ext <<_ACEOF
62591 /* confdefs.h. */
62592 _ACEOF
62593 cat confdefs.h >>conftest.$ac_ext
62594 cat >>conftest.$ac_ext <<_ACEOF
62595 /* end confdefs.h. */
62596
62597
62598 int
62599 main ()
62600 {
62601 main ();
62602 ;
62603 return 0;
62604 }
62605 _ACEOF
62606 rm -f conftest.$ac_objext conftest$ac_exeext
62607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62608 (eval $ac_link) 2>conftest.er1
62609 ac_status=$?
62610 grep -v '^ *+' conftest.er1 >conftest.err
62611 rm -f conftest.er1
62612 cat conftest.err >&5
62613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62614 (exit $ac_status); } &&
62615 { ac_try='test -z "$ac_c_werror_flag"
62616 || test ! -s conftest.err'
62617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62618 (eval $ac_try) 2>&5
62619 ac_status=$?
62620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62621 (exit $ac_status); }; } &&
62622 { ac_try='test -s conftest$ac_exeext'
62623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62624 (eval $ac_try) 2>&5
62625 ac_status=$?
62626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62627 (exit $ac_status); }; }; then
62628 ac_cv_lib_m_main=yes
62629 else
62630 echo "$as_me: failed program was:" >&5
62631 sed 's/^/| /' conftest.$ac_ext >&5
62632
62633 ac_cv_lib_m_main=no
62634 fi
62635 rm -f conftest.err conftest.$ac_objext \
62636 conftest$ac_exeext conftest.$ac_ext
62637 LIBS=$ac_check_lib_save_LIBS
62638 fi
62639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62640 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62641 if test $ac_cv_lib_m_main = yes; then
62642 cat >>confdefs.h <<_ACEOF
62643 #define HAVE_LIBM 1
62644 _ACEOF
62645
62646 LIBS="-lm $LIBS"
62647
62648 fi
62649
62650
62651 for ac_func in copysignf
62652 do
62653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62654 echo "$as_me:$LINENO: checking for $ac_func" >&5
62655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62656 if eval "test \"\${$as_ac_var+set}\" = set"; then
62657 echo $ECHO_N "(cached) $ECHO_C" >&6
62658 else
62659 if test x$gcc_no_link = xyes; then
62660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62662 { (exit 1); exit 1; }; }
62663 fi
62664 cat >conftest.$ac_ext <<_ACEOF
62665 /* confdefs.h. */
62666 _ACEOF
62667 cat confdefs.h >>conftest.$ac_ext
62668 cat >>conftest.$ac_ext <<_ACEOF
62669 /* end confdefs.h. */
62670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62672 #define $ac_func innocuous_$ac_func
62673
62674 /* System header to define __stub macros and hopefully few prototypes,
62675 which can conflict with char $ac_func (); below.
62676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62677 <limits.h> exists even on freestanding compilers. */
62678
62679 #ifdef __STDC__
62680 # include <limits.h>
62681 #else
62682 # include <assert.h>
62683 #endif
62684
62685 #undef $ac_func
62686
62687 /* Override any gcc2 internal prototype to avoid an error. */
62688 #ifdef __cplusplus
62689 extern "C"
62690 {
62691 #endif
62692 /* We use char because int might match the return type of a gcc2
62693 builtin and then its argument prototype would still apply. */
62694 char $ac_func ();
62695 /* The GNU C library defines this for functions which it implements
62696 to always fail with ENOSYS. Some functions are actually named
62697 something starting with __ and the normal name is an alias. */
62698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62699 choke me
62700 #else
62701 char (*f) () = $ac_func;
62702 #endif
62703 #ifdef __cplusplus
62704 }
62705 #endif
62706
62707 int
62708 main ()
62709 {
62710 return f != $ac_func;
62711 ;
62712 return 0;
62713 }
62714 _ACEOF
62715 rm -f conftest.$ac_objext conftest$ac_exeext
62716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62717 (eval $ac_link) 2>conftest.er1
62718 ac_status=$?
62719 grep -v '^ *+' conftest.er1 >conftest.err
62720 rm -f conftest.er1
62721 cat conftest.err >&5
62722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62723 (exit $ac_status); } &&
62724 { ac_try='test -z "$ac_c_werror_flag"
62725 || test ! -s conftest.err'
62726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62727 (eval $ac_try) 2>&5
62728 ac_status=$?
62729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62730 (exit $ac_status); }; } &&
62731 { ac_try='test -s conftest$ac_exeext'
62732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62733 (eval $ac_try) 2>&5
62734 ac_status=$?
62735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62736 (exit $ac_status); }; }; then
62737 eval "$as_ac_var=yes"
62738 else
62739 echo "$as_me: failed program was:" >&5
62740 sed 's/^/| /' conftest.$ac_ext >&5
62741
62742 eval "$as_ac_var=no"
62743 fi
62744 rm -f conftest.err conftest.$ac_objext \
62745 conftest$ac_exeext conftest.$ac_ext
62746 fi
62747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62749 if test `eval echo '${'$as_ac_var'}'` = yes; then
62750 cat >>confdefs.h <<_ACEOF
62751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62752 _ACEOF
62753
62754 else
62755 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62756 fi
62757 done
62758
62759
62760
62761 for ac_func in __signbit
62762 do
62763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62764 echo "$as_me:$LINENO: checking for $ac_func" >&5
62765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62766 if eval "test \"\${$as_ac_var+set}\" = set"; then
62767 echo $ECHO_N "(cached) $ECHO_C" >&6
62768 else
62769 if test x$gcc_no_link = xyes; then
62770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62772 { (exit 1); exit 1; }; }
62773 fi
62774 cat >conftest.$ac_ext <<_ACEOF
62775 /* confdefs.h. */
62776 _ACEOF
62777 cat confdefs.h >>conftest.$ac_ext
62778 cat >>conftest.$ac_ext <<_ACEOF
62779 /* end confdefs.h. */
62780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62782 #define $ac_func innocuous_$ac_func
62783
62784 /* System header to define __stub macros and hopefully few prototypes,
62785 which can conflict with char $ac_func (); below.
62786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62787 <limits.h> exists even on freestanding compilers. */
62788
62789 #ifdef __STDC__
62790 # include <limits.h>
62791 #else
62792 # include <assert.h>
62793 #endif
62794
62795 #undef $ac_func
62796
62797 /* Override any gcc2 internal prototype to avoid an error. */
62798 #ifdef __cplusplus
62799 extern "C"
62800 {
62801 #endif
62802 /* We use char because int might match the return type of a gcc2
62803 builtin and then its argument prototype would still apply. */
62804 char $ac_func ();
62805 /* The GNU C library defines this for functions which it implements
62806 to always fail with ENOSYS. Some functions are actually named
62807 something starting with __ and the normal name is an alias. */
62808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62809 choke me
62810 #else
62811 char (*f) () = $ac_func;
62812 #endif
62813 #ifdef __cplusplus
62814 }
62815 #endif
62816
62817 int
62818 main ()
62819 {
62820 return f != $ac_func;
62821 ;
62822 return 0;
62823 }
62824 _ACEOF
62825 rm -f conftest.$ac_objext conftest$ac_exeext
62826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62827 (eval $ac_link) 2>conftest.er1
62828 ac_status=$?
62829 grep -v '^ *+' conftest.er1 >conftest.err
62830 rm -f conftest.er1
62831 cat conftest.err >&5
62832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62833 (exit $ac_status); } &&
62834 { ac_try='test -z "$ac_c_werror_flag"
62835 || test ! -s conftest.err'
62836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62837 (eval $ac_try) 2>&5
62838 ac_status=$?
62839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62840 (exit $ac_status); }; } &&
62841 { ac_try='test -s conftest$ac_exeext'
62842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62843 (eval $ac_try) 2>&5
62844 ac_status=$?
62845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62846 (exit $ac_status); }; }; then
62847 eval "$as_ac_var=yes"
62848 else
62849 echo "$as_me: failed program was:" >&5
62850 sed 's/^/| /' conftest.$ac_ext >&5
62851
62852 eval "$as_ac_var=no"
62853 fi
62854 rm -f conftest.err conftest.$ac_objext \
62855 conftest$ac_exeext conftest.$ac_ext
62856 fi
62857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62859 if test `eval echo '${'$as_ac_var'}'` = yes; then
62860 cat >>confdefs.h <<_ACEOF
62861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62862 _ACEOF
62863
62864 else
62865 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62866 fi
62867 done
62868
62869
62870
62871 for ac_func in __signbitf
62872 do
62873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62874 echo "$as_me:$LINENO: checking for $ac_func" >&5
62875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62876 if eval "test \"\${$as_ac_var+set}\" = set"; then
62877 echo $ECHO_N "(cached) $ECHO_C" >&6
62878 else
62879 if test x$gcc_no_link = xyes; then
62880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62882 { (exit 1); exit 1; }; }
62883 fi
62884 cat >conftest.$ac_ext <<_ACEOF
62885 /* confdefs.h. */
62886 _ACEOF
62887 cat confdefs.h >>conftest.$ac_ext
62888 cat >>conftest.$ac_ext <<_ACEOF
62889 /* end confdefs.h. */
62890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62892 #define $ac_func innocuous_$ac_func
62893
62894 /* System header to define __stub macros and hopefully few prototypes,
62895 which can conflict with char $ac_func (); below.
62896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62897 <limits.h> exists even on freestanding compilers. */
62898
62899 #ifdef __STDC__
62900 # include <limits.h>
62901 #else
62902 # include <assert.h>
62903 #endif
62904
62905 #undef $ac_func
62906
62907 /* Override any gcc2 internal prototype to avoid an error. */
62908 #ifdef __cplusplus
62909 extern "C"
62910 {
62911 #endif
62912 /* We use char because int might match the return type of a gcc2
62913 builtin and then its argument prototype would still apply. */
62914 char $ac_func ();
62915 /* The GNU C library defines this for functions which it implements
62916 to always fail with ENOSYS. Some functions are actually named
62917 something starting with __ and the normal name is an alias. */
62918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62919 choke me
62920 #else
62921 char (*f) () = $ac_func;
62922 #endif
62923 #ifdef __cplusplus
62924 }
62925 #endif
62926
62927 int
62928 main ()
62929 {
62930 return f != $ac_func;
62931 ;
62932 return 0;
62933 }
62934 _ACEOF
62935 rm -f conftest.$ac_objext conftest$ac_exeext
62936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62937 (eval $ac_link) 2>conftest.er1
62938 ac_status=$?
62939 grep -v '^ *+' conftest.er1 >conftest.err
62940 rm -f conftest.er1
62941 cat conftest.err >&5
62942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62943 (exit $ac_status); } &&
62944 { ac_try='test -z "$ac_c_werror_flag"
62945 || test ! -s conftest.err'
62946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62947 (eval $ac_try) 2>&5
62948 ac_status=$?
62949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62950 (exit $ac_status); }; } &&
62951 { ac_try='test -s conftest$ac_exeext'
62952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62953 (eval $ac_try) 2>&5
62954 ac_status=$?
62955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62956 (exit $ac_status); }; }; then
62957 eval "$as_ac_var=yes"
62958 else
62959 echo "$as_me: failed program was:" >&5
62960 sed 's/^/| /' conftest.$ac_ext >&5
62961
62962 eval "$as_ac_var=no"
62963 fi
62964 rm -f conftest.err conftest.$ac_objext \
62965 conftest$ac_exeext conftest.$ac_ext
62966 fi
62967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62969 if test `eval echo '${'$as_ac_var'}'` = yes; then
62970 cat >>confdefs.h <<_ACEOF
62971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62972 _ACEOF
62973
62974 else
62975 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62976 fi
62977 done
62978
62979
62980 if test x$ac_cv_func_copysignl = x"yes"; then
62981
62982 for ac_func in __signbitl
62983 do
62984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62985 echo "$as_me:$LINENO: checking for $ac_func" >&5
62986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62987 if eval "test \"\${$as_ac_var+set}\" = set"; then
62988 echo $ECHO_N "(cached) $ECHO_C" >&6
62989 else
62990 if test x$gcc_no_link = xyes; then
62991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62993 { (exit 1); exit 1; }; }
62994 fi
62995 cat >conftest.$ac_ext <<_ACEOF
62996 /* confdefs.h. */
62997 _ACEOF
62998 cat confdefs.h >>conftest.$ac_ext
62999 cat >>conftest.$ac_ext <<_ACEOF
63000 /* end confdefs.h. */
63001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63003 #define $ac_func innocuous_$ac_func
63004
63005 /* System header to define __stub macros and hopefully few prototypes,
63006 which can conflict with char $ac_func (); below.
63007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63008 <limits.h> exists even on freestanding compilers. */
63009
63010 #ifdef __STDC__
63011 # include <limits.h>
63012 #else
63013 # include <assert.h>
63014 #endif
63015
63016 #undef $ac_func
63017
63018 /* Override any gcc2 internal prototype to avoid an error. */
63019 #ifdef __cplusplus
63020 extern "C"
63021 {
63022 #endif
63023 /* We use char because int might match the return type of a gcc2
63024 builtin and then its argument prototype would still apply. */
63025 char $ac_func ();
63026 /* The GNU C library defines this for functions which it implements
63027 to always fail with ENOSYS. Some functions are actually named
63028 something starting with __ and the normal name is an alias. */
63029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63030 choke me
63031 #else
63032 char (*f) () = $ac_func;
63033 #endif
63034 #ifdef __cplusplus
63035 }
63036 #endif
63037
63038 int
63039 main ()
63040 {
63041 return f != $ac_func;
63042 ;
63043 return 0;
63044 }
63045 _ACEOF
63046 rm -f conftest.$ac_objext conftest$ac_exeext
63047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63048 (eval $ac_link) 2>conftest.er1
63049 ac_status=$?
63050 grep -v '^ *+' conftest.er1 >conftest.err
63051 rm -f conftest.er1
63052 cat conftest.err >&5
63053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63054 (exit $ac_status); } &&
63055 { ac_try='test -z "$ac_c_werror_flag"
63056 || test ! -s conftest.err'
63057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63058 (eval $ac_try) 2>&5
63059 ac_status=$?
63060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061 (exit $ac_status); }; } &&
63062 { ac_try='test -s conftest$ac_exeext'
63063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63064 (eval $ac_try) 2>&5
63065 ac_status=$?
63066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63067 (exit $ac_status); }; }; then
63068 eval "$as_ac_var=yes"
63069 else
63070 echo "$as_me: failed program was:" >&5
63071 sed 's/^/| /' conftest.$ac_ext >&5
63072
63073 eval "$as_ac_var=no"
63074 fi
63075 rm -f conftest.err conftest.$ac_objext \
63076 conftest$ac_exeext conftest.$ac_ext
63077 fi
63078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63080 if test `eval echo '${'$as_ac_var'}'` = yes; then
63081 cat >>confdefs.h <<_ACEOF
63082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63083 _ACEOF
63084
63085 else
63086 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63087 fi
63088 done
63089
63090 fi
63091
63092 # Used in libmath/Makefile.am.
63093 if test -n "$LIBMATHOBJS"; then
63094 need_libmath=yes
63095 fi
63096
63097
63098
63099 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63100 ac_save_CXXFLAGS="$CXXFLAGS"
63101 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63102
63103
63104 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63105 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63106 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63107 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63108 echo $ECHO_N "(cached) $ECHO_C" >&6
63109 else
63110
63111
63112
63113 ac_ext=cc
63114 ac_cpp='$CXXCPP $CPPFLAGS'
63115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63118
63119 cat >conftest.$ac_ext <<_ACEOF
63120 /* confdefs.h. */
63121 _ACEOF
63122 cat confdefs.h >>conftest.$ac_ext
63123 cat >>conftest.$ac_ext <<_ACEOF
63124 /* end confdefs.h. */
63125 #include <stdlib.h>
63126 int
63127 main ()
63128 {
63129 strtold(0, 0);
63130 ;
63131 return 0;
63132 }
63133 _ACEOF
63134 rm -f conftest.$ac_objext
63135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63136 (eval $ac_compile) 2>conftest.er1
63137 ac_status=$?
63138 grep -v '^ *+' conftest.er1 >conftest.err
63139 rm -f conftest.er1
63140 cat conftest.err >&5
63141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63142 (exit $ac_status); } &&
63143 { ac_try='test -z "$ac_cxx_werror_flag"
63144 || test ! -s conftest.err'
63145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63146 (eval $ac_try) 2>&5
63147 ac_status=$?
63148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63149 (exit $ac_status); }; } &&
63150 { ac_try='test -s conftest.$ac_objext'
63151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63152 (eval $ac_try) 2>&5
63153 ac_status=$?
63154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63155 (exit $ac_status); }; }; then
63156 glibcxx_cv_func_strtold_use=yes
63157 else
63158 echo "$as_me: failed program was:" >&5
63159 sed 's/^/| /' conftest.$ac_ext >&5
63160
63161 glibcxx_cv_func_strtold_use=no
63162 fi
63163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63164 ac_ext=c
63165 ac_cpp='$CPP $CPPFLAGS'
63166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63169
63170
63171 fi
63172
63173 fi
63174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63175 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63176 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63177
63178 for ac_func in strtold
63179 do
63180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63181 echo "$as_me:$LINENO: checking for $ac_func" >&5
63182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63183 if eval "test \"\${$as_ac_var+set}\" = set"; then
63184 echo $ECHO_N "(cached) $ECHO_C" >&6
63185 else
63186 if test x$gcc_no_link = xyes; then
63187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63189 { (exit 1); exit 1; }; }
63190 fi
63191 cat >conftest.$ac_ext <<_ACEOF
63192 /* confdefs.h. */
63193 _ACEOF
63194 cat confdefs.h >>conftest.$ac_ext
63195 cat >>conftest.$ac_ext <<_ACEOF
63196 /* end confdefs.h. */
63197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63199 #define $ac_func innocuous_$ac_func
63200
63201 /* System header to define __stub macros and hopefully few prototypes,
63202 which can conflict with char $ac_func (); below.
63203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63204 <limits.h> exists even on freestanding compilers. */
63205
63206 #ifdef __STDC__
63207 # include <limits.h>
63208 #else
63209 # include <assert.h>
63210 #endif
63211
63212 #undef $ac_func
63213
63214 /* Override any gcc2 internal prototype to avoid an error. */
63215 #ifdef __cplusplus
63216 extern "C"
63217 {
63218 #endif
63219 /* We use char because int might match the return type of a gcc2
63220 builtin and then its argument prototype would still apply. */
63221 char $ac_func ();
63222 /* The GNU C library defines this for functions which it implements
63223 to always fail with ENOSYS. Some functions are actually named
63224 something starting with __ and the normal name is an alias. */
63225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63226 choke me
63227 #else
63228 char (*f) () = $ac_func;
63229 #endif
63230 #ifdef __cplusplus
63231 }
63232 #endif
63233
63234 int
63235 main ()
63236 {
63237 return f != $ac_func;
63238 ;
63239 return 0;
63240 }
63241 _ACEOF
63242 rm -f conftest.$ac_objext conftest$ac_exeext
63243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63244 (eval $ac_link) 2>conftest.er1
63245 ac_status=$?
63246 grep -v '^ *+' conftest.er1 >conftest.err
63247 rm -f conftest.er1
63248 cat conftest.err >&5
63249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63250 (exit $ac_status); } &&
63251 { ac_try='test -z "$ac_c_werror_flag"
63252 || test ! -s conftest.err'
63253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63254 (eval $ac_try) 2>&5
63255 ac_status=$?
63256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63257 (exit $ac_status); }; } &&
63258 { ac_try='test -s conftest$ac_exeext'
63259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63260 (eval $ac_try) 2>&5
63261 ac_status=$?
63262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63263 (exit $ac_status); }; }; then
63264 eval "$as_ac_var=yes"
63265 else
63266 echo "$as_me: failed program was:" >&5
63267 sed 's/^/| /' conftest.$ac_ext >&5
63268
63269 eval "$as_ac_var=no"
63270 fi
63271 rm -f conftest.err conftest.$ac_objext \
63272 conftest$ac_exeext conftest.$ac_ext
63273 fi
63274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63276 if test `eval echo '${'$as_ac_var'}'` = yes; then
63277 cat >>confdefs.h <<_ACEOF
63278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63279 _ACEOF
63280
63281 fi
63282 done
63283
63284 fi
63285
63286
63287
63288
63289
63290 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63291 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63292 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63293 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63294 echo $ECHO_N "(cached) $ECHO_C" >&6
63295 else
63296
63297
63298
63299 ac_ext=cc
63300 ac_cpp='$CXXCPP $CPPFLAGS'
63301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63304
63305 cat >conftest.$ac_ext <<_ACEOF
63306 /* confdefs.h. */
63307 _ACEOF
63308 cat confdefs.h >>conftest.$ac_ext
63309 cat >>conftest.$ac_ext <<_ACEOF
63310 /* end confdefs.h. */
63311 #include <stdlib.h>
63312 int
63313 main ()
63314 {
63315 strtof(0, 0);
63316 ;
63317 return 0;
63318 }
63319 _ACEOF
63320 rm -f conftest.$ac_objext
63321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63322 (eval $ac_compile) 2>conftest.er1
63323 ac_status=$?
63324 grep -v '^ *+' conftest.er1 >conftest.err
63325 rm -f conftest.er1
63326 cat conftest.err >&5
63327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63328 (exit $ac_status); } &&
63329 { ac_try='test -z "$ac_cxx_werror_flag"
63330 || test ! -s conftest.err'
63331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332 (eval $ac_try) 2>&5
63333 ac_status=$?
63334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335 (exit $ac_status); }; } &&
63336 { ac_try='test -s conftest.$ac_objext'
63337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63338 (eval $ac_try) 2>&5
63339 ac_status=$?
63340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63341 (exit $ac_status); }; }; then
63342 glibcxx_cv_func_strtof_use=yes
63343 else
63344 echo "$as_me: failed program was:" >&5
63345 sed 's/^/| /' conftest.$ac_ext >&5
63346
63347 glibcxx_cv_func_strtof_use=no
63348 fi
63349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63350 ac_ext=c
63351 ac_cpp='$CPP $CPPFLAGS'
63352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63355
63356
63357 fi
63358
63359 fi
63360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63361 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63362 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63363
63364 for ac_func in strtof
63365 do
63366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63367 echo "$as_me:$LINENO: checking for $ac_func" >&5
63368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63369 if eval "test \"\${$as_ac_var+set}\" = set"; then
63370 echo $ECHO_N "(cached) $ECHO_C" >&6
63371 else
63372 if test x$gcc_no_link = xyes; then
63373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63375 { (exit 1); exit 1; }; }
63376 fi
63377 cat >conftest.$ac_ext <<_ACEOF
63378 /* confdefs.h. */
63379 _ACEOF
63380 cat confdefs.h >>conftest.$ac_ext
63381 cat >>conftest.$ac_ext <<_ACEOF
63382 /* end confdefs.h. */
63383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63385 #define $ac_func innocuous_$ac_func
63386
63387 /* System header to define __stub macros and hopefully few prototypes,
63388 which can conflict with char $ac_func (); below.
63389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63390 <limits.h> exists even on freestanding compilers. */
63391
63392 #ifdef __STDC__
63393 # include <limits.h>
63394 #else
63395 # include <assert.h>
63396 #endif
63397
63398 #undef $ac_func
63399
63400 /* Override any gcc2 internal prototype to avoid an error. */
63401 #ifdef __cplusplus
63402 extern "C"
63403 {
63404 #endif
63405 /* We use char because int might match the return type of a gcc2
63406 builtin and then its argument prototype would still apply. */
63407 char $ac_func ();
63408 /* The GNU C library defines this for functions which it implements
63409 to always fail with ENOSYS. Some functions are actually named
63410 something starting with __ and the normal name is an alias. */
63411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63412 choke me
63413 #else
63414 char (*f) () = $ac_func;
63415 #endif
63416 #ifdef __cplusplus
63417 }
63418 #endif
63419
63420 int
63421 main ()
63422 {
63423 return f != $ac_func;
63424 ;
63425 return 0;
63426 }
63427 _ACEOF
63428 rm -f conftest.$ac_objext conftest$ac_exeext
63429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63430 (eval $ac_link) 2>conftest.er1
63431 ac_status=$?
63432 grep -v '^ *+' conftest.er1 >conftest.err
63433 rm -f conftest.er1
63434 cat conftest.err >&5
63435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63436 (exit $ac_status); } &&
63437 { ac_try='test -z "$ac_c_werror_flag"
63438 || test ! -s conftest.err'
63439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63440 (eval $ac_try) 2>&5
63441 ac_status=$?
63442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63443 (exit $ac_status); }; } &&
63444 { ac_try='test -s conftest$ac_exeext'
63445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63446 (eval $ac_try) 2>&5
63447 ac_status=$?
63448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63449 (exit $ac_status); }; }; then
63450 eval "$as_ac_var=yes"
63451 else
63452 echo "$as_me: failed program was:" >&5
63453 sed 's/^/| /' conftest.$ac_ext >&5
63454
63455 eval "$as_ac_var=no"
63456 fi
63457 rm -f conftest.err conftest.$ac_objext \
63458 conftest$ac_exeext conftest.$ac_ext
63459 fi
63460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63462 if test `eval echo '${'$as_ac_var'}'` = yes; then
63463 cat >>confdefs.h <<_ACEOF
63464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63465 _ACEOF
63466
63467 fi
63468 done
63469
63470 fi
63471
63472
63473
63474
63475
63476 CXXFLAGS="$ac_save_CXXFLAGS"
63477
63478
63479 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63480 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63481 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63482 echo $ECHO_N "(cached) $ECHO_C" >&6
63483 else
63484
63485 if test x$gcc_no_link = xyes; then
63486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63488 { (exit 1); exit 1; }; }
63489 fi
63490 cat >conftest.$ac_ext <<_ACEOF
63491 /* confdefs.h. */
63492 _ACEOF
63493 cat confdefs.h >>conftest.$ac_ext
63494 cat >>conftest.$ac_ext <<_ACEOF
63495 /* end confdefs.h. */
63496 #include <sys/stat.h>
63497 int
63498 main ()
63499 {
63500 struct stat buffer;
63501 fstat(0, &buffer);
63502 S_ISREG(buffer.st_mode);
63503 ;
63504 return 0;
63505 }
63506 _ACEOF
63507 rm -f conftest.$ac_objext conftest$ac_exeext
63508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63509 (eval $ac_link) 2>conftest.er1
63510 ac_status=$?
63511 grep -v '^ *+' conftest.er1 >conftest.err
63512 rm -f conftest.er1
63513 cat conftest.err >&5
63514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63515 (exit $ac_status); } &&
63516 { ac_try='test -z "$ac_c_werror_flag"
63517 || test ! -s conftest.err'
63518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63519 (eval $ac_try) 2>&5
63520 ac_status=$?
63521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63522 (exit $ac_status); }; } &&
63523 { ac_try='test -s conftest$ac_exeext'
63524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63525 (eval $ac_try) 2>&5
63526 ac_status=$?
63527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63528 (exit $ac_status); }; }; then
63529 glibcxx_cv_S_ISREG=yes
63530 else
63531 echo "$as_me: failed program was:" >&5
63532 sed 's/^/| /' conftest.$ac_ext >&5
63533
63534 glibcxx_cv_S_ISREG=no
63535 fi
63536 rm -f conftest.err conftest.$ac_objext \
63537 conftest$ac_exeext conftest.$ac_ext
63538
63539 fi
63540
63541 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63542 echo $ECHO_N "(cached) $ECHO_C" >&6
63543 else
63544
63545 if test x$gcc_no_link = xyes; then
63546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63548 { (exit 1); exit 1; }; }
63549 fi
63550 cat >conftest.$ac_ext <<_ACEOF
63551 /* confdefs.h. */
63552 _ACEOF
63553 cat confdefs.h >>conftest.$ac_ext
63554 cat >>conftest.$ac_ext <<_ACEOF
63555 /* end confdefs.h. */
63556 #include <sys/stat.h>
63557 int
63558 main ()
63559 {
63560 struct stat buffer;
63561 fstat(0, &buffer);
63562 S_IFREG & buffer.st_mode;
63563 ;
63564 return 0;
63565 }
63566 _ACEOF
63567 rm -f conftest.$ac_objext conftest$ac_exeext
63568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63569 (eval $ac_link) 2>conftest.er1
63570 ac_status=$?
63571 grep -v '^ *+' conftest.er1 >conftest.err
63572 rm -f conftest.er1
63573 cat conftest.err >&5
63574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63575 (exit $ac_status); } &&
63576 { ac_try='test -z "$ac_c_werror_flag"
63577 || test ! -s conftest.err'
63578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63579 (eval $ac_try) 2>&5
63580 ac_status=$?
63581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63582 (exit $ac_status); }; } &&
63583 { ac_try='test -s conftest$ac_exeext'
63584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63585 (eval $ac_try) 2>&5
63586 ac_status=$?
63587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63588 (exit $ac_status); }; }; then
63589 glibcxx_cv_S_IFREG=yes
63590 else
63591 echo "$as_me: failed program was:" >&5
63592 sed 's/^/| /' conftest.$ac_ext >&5
63593
63594 glibcxx_cv_S_IFREG=no
63595 fi
63596 rm -f conftest.err conftest.$ac_objext \
63597 conftest$ac_exeext conftest.$ac_ext
63598
63599 fi
63600
63601 res=no
63602 if test $glibcxx_cv_S_ISREG = yes; then
63603
63604 cat >>confdefs.h <<\_ACEOF
63605 #define HAVE_S_ISREG 1
63606 _ACEOF
63607
63608 res=S_ISREG
63609 elif test $glibcxx_cv_S_IFREG = yes; then
63610
63611 cat >>confdefs.h <<\_ACEOF
63612 #define HAVE_S_IFREG 1
63613 _ACEOF
63614
63615 res=S_IFREG
63616 fi
63617 echo "$as_me:$LINENO: result: $res" >&5
63618 echo "${ECHO_T}$res" >&6
63619
63620 cat >>confdefs.h <<\_ACEOF
63621 #define HAVE_SIGSETJMP 1
63622 _ACEOF
63623
63624 cat >>confdefs.h <<\_ACEOF
63625 #define HAVE_GETPAGESIZE 1
63626 _ACEOF
63627
63628 cat >>confdefs.h <<\_ACEOF
63629 #define HAVE_WRITEV 1
63630 _ACEOF
63631
63632 cat >>confdefs.h <<\_ACEOF
63633 #define HAVE_INT64_T 1
63634 _ACEOF
63635
63636
63637 cat >>confdefs.h <<\_ACEOF
63638 #define HAVE_LIBM 1
63639 _ACEOF
63640
63641 cat >>confdefs.h <<\_ACEOF
63642 #define HAVE_COPYSIGN 1
63643 _ACEOF
63644
63645 cat >>confdefs.h <<\_ACEOF
63646 #define HAVE_FINITE 1
63647 _ACEOF
63648
63649 cat >>confdefs.h <<\_ACEOF
63650 #define HAVE_HYPOT 1
63651 _ACEOF
63652
63653 cat >>confdefs.h <<\_ACEOF
63654 #define HAVE_ISNAN 1
63655 _ACEOF
63656
63657 cat >>confdefs.h <<\_ACEOF
63658 #define HAVE_ISINF 1
63659 _ACEOF
63660
63661
63662 cat >>confdefs.h <<\_ACEOF
63663 #define HAVE_LDEXPF 1
63664 _ACEOF
63665
63666 cat >>confdefs.h <<\_ACEOF
63667 #define HAVE_MODF 1
63668 _ACEOF
63669
63670 cat >>confdefs.h <<\_ACEOF
63671 #define HAVE_SQRTF 1
63672 _ACEOF
63673
63674 ;;
63675
63676 *-darwin*)
63677 # Darwin versions vary, but the linker should work in a cross environment,
63678 # so we just check for all the features here.
63679 # Check for available headers.
63680
63681
63682
63683
63684
63685
63686
63687
63688
63689
63690
63691
63692
63693 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63694 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63695 sys/types.h
63696 do
63697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63699 echo "$as_me:$LINENO: checking for $ac_header" >&5
63700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63702 echo $ECHO_N "(cached) $ECHO_C" >&6
63703 fi
63704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63706 else
63707 # Is the header compilable?
63708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63710 cat >conftest.$ac_ext <<_ACEOF
63711 /* confdefs.h. */
63712 _ACEOF
63713 cat confdefs.h >>conftest.$ac_ext
63714 cat >>conftest.$ac_ext <<_ACEOF
63715 /* end confdefs.h. */
63716 $ac_includes_default
63717 #include <$ac_header>
63718 _ACEOF
63719 rm -f conftest.$ac_objext
63720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63721 (eval $ac_compile) 2>conftest.er1
63722 ac_status=$?
63723 grep -v '^ *+' conftest.er1 >conftest.err
63724 rm -f conftest.er1
63725 cat conftest.err >&5
63726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63727 (exit $ac_status); } &&
63728 { ac_try='test -z "$ac_c_werror_flag"
63729 || test ! -s conftest.err'
63730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63731 (eval $ac_try) 2>&5
63732 ac_status=$?
63733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63734 (exit $ac_status); }; } &&
63735 { ac_try='test -s conftest.$ac_objext'
63736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63737 (eval $ac_try) 2>&5
63738 ac_status=$?
63739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63740 (exit $ac_status); }; }; then
63741 ac_header_compiler=yes
63742 else
63743 echo "$as_me: failed program was:" >&5
63744 sed 's/^/| /' conftest.$ac_ext >&5
63745
63746 ac_header_compiler=no
63747 fi
63748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63750 echo "${ECHO_T}$ac_header_compiler" >&6
63751
63752 # Is the header present?
63753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63755 cat >conftest.$ac_ext <<_ACEOF
63756 /* confdefs.h. */
63757 _ACEOF
63758 cat confdefs.h >>conftest.$ac_ext
63759 cat >>conftest.$ac_ext <<_ACEOF
63760 /* end confdefs.h. */
63761 #include <$ac_header>
63762 _ACEOF
63763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63765 ac_status=$?
63766 grep -v '^ *+' conftest.er1 >conftest.err
63767 rm -f conftest.er1
63768 cat conftest.err >&5
63769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63770 (exit $ac_status); } >/dev/null; then
63771 if test -s conftest.err; then
63772 ac_cpp_err=$ac_c_preproc_warn_flag
63773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63774 else
63775 ac_cpp_err=
63776 fi
63777 else
63778 ac_cpp_err=yes
63779 fi
63780 if test -z "$ac_cpp_err"; then
63781 ac_header_preproc=yes
63782 else
63783 echo "$as_me: failed program was:" >&5
63784 sed 's/^/| /' conftest.$ac_ext >&5
63785
63786 ac_header_preproc=no
63787 fi
63788 rm -f conftest.err conftest.$ac_ext
63789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63790 echo "${ECHO_T}$ac_header_preproc" >&6
63791
63792 # So? What about this header?
63793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63794 yes:no: )
63795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63799 ac_header_preproc=yes
63800 ;;
63801 no:yes:* )
63802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63814 (
63815 cat <<\_ASBOX
63816 ## ----------------------------------------- ##
63817 ## Report this to the package-unused lists. ##
63818 ## ----------------------------------------- ##
63819 _ASBOX
63820 ) |
63821 sed "s/^/$as_me: WARNING: /" >&2
63822 ;;
63823 esac
63824 echo "$as_me:$LINENO: checking for $ac_header" >&5
63825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63827 echo $ECHO_N "(cached) $ECHO_C" >&6
63828 else
63829 eval "$as_ac_Header=\$ac_header_preproc"
63830 fi
63831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63833
63834 fi
63835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63836 cat >>confdefs.h <<_ACEOF
63837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63838 _ACEOF
63839
63840 fi
63841
63842 done
63843
63844
63845 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63846
63847 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63848 ac_save_CXXFLAGS="$CXXFLAGS"
63849 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63850
63851 echo "$as_me:$LINENO: checking for sin in -lm" >&5
63852 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63853 if test "${ac_cv_lib_m_sin+set}" = set; then
63854 echo $ECHO_N "(cached) $ECHO_C" >&6
63855 else
63856 ac_check_lib_save_LIBS=$LIBS
63857 LIBS="-lm $LIBS"
63858 if test x$gcc_no_link = xyes; then
63859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63861 { (exit 1); exit 1; }; }
63862 fi
63863 cat >conftest.$ac_ext <<_ACEOF
63864 /* confdefs.h. */
63865 _ACEOF
63866 cat confdefs.h >>conftest.$ac_ext
63867 cat >>conftest.$ac_ext <<_ACEOF
63868 /* end confdefs.h. */
63869
63870 /* Override any gcc2 internal prototype to avoid an error. */
63871 #ifdef __cplusplus
63872 extern "C"
63873 #endif
63874 /* We use char because int might match the return type of a gcc2
63875 builtin and then its argument prototype would still apply. */
63876 char sin ();
63877 int
63878 main ()
63879 {
63880 sin ();
63881 ;
63882 return 0;
63883 }
63884 _ACEOF
63885 rm -f conftest.$ac_objext conftest$ac_exeext
63886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63887 (eval $ac_link) 2>conftest.er1
63888 ac_status=$?
63889 grep -v '^ *+' conftest.er1 >conftest.err
63890 rm -f conftest.er1
63891 cat conftest.err >&5
63892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63893 (exit $ac_status); } &&
63894 { ac_try='test -z "$ac_c_werror_flag"
63895 || test ! -s conftest.err'
63896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63897 (eval $ac_try) 2>&5
63898 ac_status=$?
63899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63900 (exit $ac_status); }; } &&
63901 { ac_try='test -s conftest$ac_exeext'
63902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63903 (eval $ac_try) 2>&5
63904 ac_status=$?
63905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63906 (exit $ac_status); }; }; then
63907 ac_cv_lib_m_sin=yes
63908 else
63909 echo "$as_me: failed program was:" >&5
63910 sed 's/^/| /' conftest.$ac_ext >&5
63911
63912 ac_cv_lib_m_sin=no
63913 fi
63914 rm -f conftest.err conftest.$ac_objext \
63915 conftest$ac_exeext conftest.$ac_ext
63916 LIBS=$ac_check_lib_save_LIBS
63917 fi
63918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63919 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63920 if test $ac_cv_lib_m_sin = yes; then
63921 libm="-lm"
63922 fi
63923
63924 ac_save_LIBS="$LIBS"
63925 LIBS="$LIBS $libm"
63926
63927
63928
63929 echo "$as_me:$LINENO: checking for isinf declaration" >&5
63930 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63931 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63932 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63933 echo $ECHO_N "(cached) $ECHO_C" >&6
63934 else
63935
63936
63937
63938 ac_ext=cc
63939 ac_cpp='$CXXCPP $CPPFLAGS'
63940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63943
63944 cat >conftest.$ac_ext <<_ACEOF
63945 /* confdefs.h. */
63946 _ACEOF
63947 cat confdefs.h >>conftest.$ac_ext
63948 cat >>conftest.$ac_ext <<_ACEOF
63949 /* end confdefs.h. */
63950 #include <math.h>
63951 #ifdef HAVE_IEEEFP_H
63952 #include <ieeefp.h>
63953 #endif
63954
63955 int
63956 main ()
63957 {
63958 isinf(0);
63959 ;
63960 return 0;
63961 }
63962 _ACEOF
63963 rm -f conftest.$ac_objext
63964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63965 (eval $ac_compile) 2>conftest.er1
63966 ac_status=$?
63967 grep -v '^ *+' conftest.er1 >conftest.err
63968 rm -f conftest.er1
63969 cat conftest.err >&5
63970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63971 (exit $ac_status); } &&
63972 { ac_try='test -z "$ac_cxx_werror_flag"
63973 || test ! -s conftest.err'
63974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63975 (eval $ac_try) 2>&5
63976 ac_status=$?
63977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63978 (exit $ac_status); }; } &&
63979 { ac_try='test -s conftest.$ac_objext'
63980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63981 (eval $ac_try) 2>&5
63982 ac_status=$?
63983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63984 (exit $ac_status); }; }; then
63985 glibcxx_cv_func_isinf_use=yes
63986 else
63987 echo "$as_me: failed program was:" >&5
63988 sed 's/^/| /' conftest.$ac_ext >&5
63989
63990 glibcxx_cv_func_isinf_use=no
63991 fi
63992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63993 ac_ext=c
63994 ac_cpp='$CPP $CPPFLAGS'
63995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63998
63999
64000 fi
64001
64002 fi
64003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64004 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64005
64006 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64007
64008 for ac_func in isinf
64009 do
64010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64011 echo "$as_me:$LINENO: checking for $ac_func" >&5
64012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64013 if eval "test \"\${$as_ac_var+set}\" = set"; then
64014 echo $ECHO_N "(cached) $ECHO_C" >&6
64015 else
64016 if test x$gcc_no_link = xyes; then
64017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64019 { (exit 1); exit 1; }; }
64020 fi
64021 cat >conftest.$ac_ext <<_ACEOF
64022 /* confdefs.h. */
64023 _ACEOF
64024 cat confdefs.h >>conftest.$ac_ext
64025 cat >>conftest.$ac_ext <<_ACEOF
64026 /* end confdefs.h. */
64027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64029 #define $ac_func innocuous_$ac_func
64030
64031 /* System header to define __stub macros and hopefully few prototypes,
64032 which can conflict with char $ac_func (); below.
64033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64034 <limits.h> exists even on freestanding compilers. */
64035
64036 #ifdef __STDC__
64037 # include <limits.h>
64038 #else
64039 # include <assert.h>
64040 #endif
64041
64042 #undef $ac_func
64043
64044 /* Override any gcc2 internal prototype to avoid an error. */
64045 #ifdef __cplusplus
64046 extern "C"
64047 {
64048 #endif
64049 /* We use char because int might match the return type of a gcc2
64050 builtin and then its argument prototype would still apply. */
64051 char $ac_func ();
64052 /* The GNU C library defines this for functions which it implements
64053 to always fail with ENOSYS. Some functions are actually named
64054 something starting with __ and the normal name is an alias. */
64055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64056 choke me
64057 #else
64058 char (*f) () = $ac_func;
64059 #endif
64060 #ifdef __cplusplus
64061 }
64062 #endif
64063
64064 int
64065 main ()
64066 {
64067 return f != $ac_func;
64068 ;
64069 return 0;
64070 }
64071 _ACEOF
64072 rm -f conftest.$ac_objext conftest$ac_exeext
64073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64074 (eval $ac_link) 2>conftest.er1
64075 ac_status=$?
64076 grep -v '^ *+' conftest.er1 >conftest.err
64077 rm -f conftest.er1
64078 cat conftest.err >&5
64079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64080 (exit $ac_status); } &&
64081 { ac_try='test -z "$ac_c_werror_flag"
64082 || test ! -s conftest.err'
64083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64084 (eval $ac_try) 2>&5
64085 ac_status=$?
64086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64087 (exit $ac_status); }; } &&
64088 { ac_try='test -s conftest$ac_exeext'
64089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64090 (eval $ac_try) 2>&5
64091 ac_status=$?
64092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64093 (exit $ac_status); }; }; then
64094 eval "$as_ac_var=yes"
64095 else
64096 echo "$as_me: failed program was:" >&5
64097 sed 's/^/| /' conftest.$ac_ext >&5
64098
64099 eval "$as_ac_var=no"
64100 fi
64101 rm -f conftest.err conftest.$ac_objext \
64102 conftest$ac_exeext conftest.$ac_ext
64103 fi
64104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64106 if test `eval echo '${'$as_ac_var'}'` = yes; then
64107 cat >>confdefs.h <<_ACEOF
64108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64109 _ACEOF
64110
64111 fi
64112 done
64113
64114 else
64115
64116 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64117 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64118 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64119 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64120 echo $ECHO_N "(cached) $ECHO_C" >&6
64121 else
64122
64123
64124
64125 ac_ext=cc
64126 ac_cpp='$CXXCPP $CPPFLAGS'
64127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64130
64131 cat >conftest.$ac_ext <<_ACEOF
64132 /* confdefs.h. */
64133 _ACEOF
64134 cat confdefs.h >>conftest.$ac_ext
64135 cat >>conftest.$ac_ext <<_ACEOF
64136 /* end confdefs.h. */
64137 #include <math.h>
64138 #ifdef HAVE_IEEEFP_H
64139 #include <ieeefp.h>
64140 #endif
64141
64142 int
64143 main ()
64144 {
64145 _isinf(0);
64146 ;
64147 return 0;
64148 }
64149 _ACEOF
64150 rm -f conftest.$ac_objext
64151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64152 (eval $ac_compile) 2>conftest.er1
64153 ac_status=$?
64154 grep -v '^ *+' conftest.er1 >conftest.err
64155 rm -f conftest.er1
64156 cat conftest.err >&5
64157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64158 (exit $ac_status); } &&
64159 { ac_try='test -z "$ac_cxx_werror_flag"
64160 || test ! -s conftest.err'
64161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162 (eval $ac_try) 2>&5
64163 ac_status=$?
64164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165 (exit $ac_status); }; } &&
64166 { ac_try='test -s conftest.$ac_objext'
64167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64168 (eval $ac_try) 2>&5
64169 ac_status=$?
64170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171 (exit $ac_status); }; }; then
64172 glibcxx_cv_func__isinf_use=yes
64173 else
64174 echo "$as_me: failed program was:" >&5
64175 sed 's/^/| /' conftest.$ac_ext >&5
64176
64177 glibcxx_cv_func__isinf_use=no
64178 fi
64179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64180 ac_ext=c
64181 ac_cpp='$CPP $CPPFLAGS'
64182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64185
64186
64187 fi
64188
64189 fi
64190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64191 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64192
64193 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64194
64195 for ac_func in _isinf
64196 do
64197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64198 echo "$as_me:$LINENO: checking for $ac_func" >&5
64199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64200 if eval "test \"\${$as_ac_var+set}\" = set"; then
64201 echo $ECHO_N "(cached) $ECHO_C" >&6
64202 else
64203 if test x$gcc_no_link = xyes; then
64204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64206 { (exit 1); exit 1; }; }
64207 fi
64208 cat >conftest.$ac_ext <<_ACEOF
64209 /* confdefs.h. */
64210 _ACEOF
64211 cat confdefs.h >>conftest.$ac_ext
64212 cat >>conftest.$ac_ext <<_ACEOF
64213 /* end confdefs.h. */
64214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64216 #define $ac_func innocuous_$ac_func
64217
64218 /* System header to define __stub macros and hopefully few prototypes,
64219 which can conflict with char $ac_func (); below.
64220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64221 <limits.h> exists even on freestanding compilers. */
64222
64223 #ifdef __STDC__
64224 # include <limits.h>
64225 #else
64226 # include <assert.h>
64227 #endif
64228
64229 #undef $ac_func
64230
64231 /* Override any gcc2 internal prototype to avoid an error. */
64232 #ifdef __cplusplus
64233 extern "C"
64234 {
64235 #endif
64236 /* We use char because int might match the return type of a gcc2
64237 builtin and then its argument prototype would still apply. */
64238 char $ac_func ();
64239 /* The GNU C library defines this for functions which it implements
64240 to always fail with ENOSYS. Some functions are actually named
64241 something starting with __ and the normal name is an alias. */
64242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64243 choke me
64244 #else
64245 char (*f) () = $ac_func;
64246 #endif
64247 #ifdef __cplusplus
64248 }
64249 #endif
64250
64251 int
64252 main ()
64253 {
64254 return f != $ac_func;
64255 ;
64256 return 0;
64257 }
64258 _ACEOF
64259 rm -f conftest.$ac_objext conftest$ac_exeext
64260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64261 (eval $ac_link) 2>conftest.er1
64262 ac_status=$?
64263 grep -v '^ *+' conftest.er1 >conftest.err
64264 rm -f conftest.er1
64265 cat conftest.err >&5
64266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267 (exit $ac_status); } &&
64268 { ac_try='test -z "$ac_c_werror_flag"
64269 || test ! -s conftest.err'
64270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64271 (eval $ac_try) 2>&5
64272 ac_status=$?
64273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64274 (exit $ac_status); }; } &&
64275 { ac_try='test -s conftest$ac_exeext'
64276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64277 (eval $ac_try) 2>&5
64278 ac_status=$?
64279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64280 (exit $ac_status); }; }; then
64281 eval "$as_ac_var=yes"
64282 else
64283 echo "$as_me: failed program was:" >&5
64284 sed 's/^/| /' conftest.$ac_ext >&5
64285
64286 eval "$as_ac_var=no"
64287 fi
64288 rm -f conftest.err conftest.$ac_objext \
64289 conftest$ac_exeext conftest.$ac_ext
64290 fi
64291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64293 if test `eval echo '${'$as_ac_var'}'` = yes; then
64294 cat >>confdefs.h <<_ACEOF
64295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64296 _ACEOF
64297
64298 fi
64299 done
64300
64301 fi
64302 fi
64303
64304
64305
64306
64307
64308
64309 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64310 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64313 echo $ECHO_N "(cached) $ECHO_C" >&6
64314 else
64315
64316
64317
64318 ac_ext=cc
64319 ac_cpp='$CXXCPP $CPPFLAGS'
64320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64323
64324 cat >conftest.$ac_ext <<_ACEOF
64325 /* confdefs.h. */
64326 _ACEOF
64327 cat confdefs.h >>conftest.$ac_ext
64328 cat >>conftest.$ac_ext <<_ACEOF
64329 /* end confdefs.h. */
64330 #include <math.h>
64331 #ifdef HAVE_IEEEFP_H
64332 #include <ieeefp.h>
64333 #endif
64334
64335 int
64336 main ()
64337 {
64338 isnan(0);
64339 ;
64340 return 0;
64341 }
64342 _ACEOF
64343 rm -f conftest.$ac_objext
64344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64345 (eval $ac_compile) 2>conftest.er1
64346 ac_status=$?
64347 grep -v '^ *+' conftest.er1 >conftest.err
64348 rm -f conftest.er1
64349 cat conftest.err >&5
64350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64351 (exit $ac_status); } &&
64352 { ac_try='test -z "$ac_cxx_werror_flag"
64353 || test ! -s conftest.err'
64354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355 (eval $ac_try) 2>&5
64356 ac_status=$?
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); }; } &&
64359 { ac_try='test -s conftest.$ac_objext'
64360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64361 (eval $ac_try) 2>&5
64362 ac_status=$?
64363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64364 (exit $ac_status); }; }; then
64365 glibcxx_cv_func_isnan_use=yes
64366 else
64367 echo "$as_me: failed program was:" >&5
64368 sed 's/^/| /' conftest.$ac_ext >&5
64369
64370 glibcxx_cv_func_isnan_use=no
64371 fi
64372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64373 ac_ext=c
64374 ac_cpp='$CPP $CPPFLAGS'
64375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64378
64379
64380 fi
64381
64382 fi
64383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64384 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64385
64386 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64387
64388 for ac_func in isnan
64389 do
64390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64391 echo "$as_me:$LINENO: checking for $ac_func" >&5
64392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64393 if eval "test \"\${$as_ac_var+set}\" = set"; then
64394 echo $ECHO_N "(cached) $ECHO_C" >&6
64395 else
64396 if test x$gcc_no_link = xyes; then
64397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64399 { (exit 1); exit 1; }; }
64400 fi
64401 cat >conftest.$ac_ext <<_ACEOF
64402 /* confdefs.h. */
64403 _ACEOF
64404 cat confdefs.h >>conftest.$ac_ext
64405 cat >>conftest.$ac_ext <<_ACEOF
64406 /* end confdefs.h. */
64407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64409 #define $ac_func innocuous_$ac_func
64410
64411 /* System header to define __stub macros and hopefully few prototypes,
64412 which can conflict with char $ac_func (); below.
64413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64414 <limits.h> exists even on freestanding compilers. */
64415
64416 #ifdef __STDC__
64417 # include <limits.h>
64418 #else
64419 # include <assert.h>
64420 #endif
64421
64422 #undef $ac_func
64423
64424 /* Override any gcc2 internal prototype to avoid an error. */
64425 #ifdef __cplusplus
64426 extern "C"
64427 {
64428 #endif
64429 /* We use char because int might match the return type of a gcc2
64430 builtin and then its argument prototype would still apply. */
64431 char $ac_func ();
64432 /* The GNU C library defines this for functions which it implements
64433 to always fail with ENOSYS. Some functions are actually named
64434 something starting with __ and the normal name is an alias. */
64435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64436 choke me
64437 #else
64438 char (*f) () = $ac_func;
64439 #endif
64440 #ifdef __cplusplus
64441 }
64442 #endif
64443
64444 int
64445 main ()
64446 {
64447 return f != $ac_func;
64448 ;
64449 return 0;
64450 }
64451 _ACEOF
64452 rm -f conftest.$ac_objext conftest$ac_exeext
64453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64454 (eval $ac_link) 2>conftest.er1
64455 ac_status=$?
64456 grep -v '^ *+' conftest.er1 >conftest.err
64457 rm -f conftest.er1
64458 cat conftest.err >&5
64459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64460 (exit $ac_status); } &&
64461 { ac_try='test -z "$ac_c_werror_flag"
64462 || test ! -s conftest.err'
64463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64464 (eval $ac_try) 2>&5
64465 ac_status=$?
64466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64467 (exit $ac_status); }; } &&
64468 { ac_try='test -s conftest$ac_exeext'
64469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64470 (eval $ac_try) 2>&5
64471 ac_status=$?
64472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64473 (exit $ac_status); }; }; then
64474 eval "$as_ac_var=yes"
64475 else
64476 echo "$as_me: failed program was:" >&5
64477 sed 's/^/| /' conftest.$ac_ext >&5
64478
64479 eval "$as_ac_var=no"
64480 fi
64481 rm -f conftest.err conftest.$ac_objext \
64482 conftest$ac_exeext conftest.$ac_ext
64483 fi
64484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64486 if test `eval echo '${'$as_ac_var'}'` = yes; then
64487 cat >>confdefs.h <<_ACEOF
64488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64489 _ACEOF
64490
64491 fi
64492 done
64493
64494 else
64495
64496 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64497 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64498 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64499 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64500 echo $ECHO_N "(cached) $ECHO_C" >&6
64501 else
64502
64503
64504
64505 ac_ext=cc
64506 ac_cpp='$CXXCPP $CPPFLAGS'
64507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64510
64511 cat >conftest.$ac_ext <<_ACEOF
64512 /* confdefs.h. */
64513 _ACEOF
64514 cat confdefs.h >>conftest.$ac_ext
64515 cat >>conftest.$ac_ext <<_ACEOF
64516 /* end confdefs.h. */
64517 #include <math.h>
64518 #ifdef HAVE_IEEEFP_H
64519 #include <ieeefp.h>
64520 #endif
64521
64522 int
64523 main ()
64524 {
64525 _isnan(0);
64526 ;
64527 return 0;
64528 }
64529 _ACEOF
64530 rm -f conftest.$ac_objext
64531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64532 (eval $ac_compile) 2>conftest.er1
64533 ac_status=$?
64534 grep -v '^ *+' conftest.er1 >conftest.err
64535 rm -f conftest.er1
64536 cat conftest.err >&5
64537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538 (exit $ac_status); } &&
64539 { ac_try='test -z "$ac_cxx_werror_flag"
64540 || test ! -s conftest.err'
64541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64542 (eval $ac_try) 2>&5
64543 ac_status=$?
64544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545 (exit $ac_status); }; } &&
64546 { ac_try='test -s conftest.$ac_objext'
64547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64548 (eval $ac_try) 2>&5
64549 ac_status=$?
64550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551 (exit $ac_status); }; }; then
64552 glibcxx_cv_func__isnan_use=yes
64553 else
64554 echo "$as_me: failed program was:" >&5
64555 sed 's/^/| /' conftest.$ac_ext >&5
64556
64557 glibcxx_cv_func__isnan_use=no
64558 fi
64559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64565
64566
64567 fi
64568
64569 fi
64570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64571 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64572
64573 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64574
64575 for ac_func in _isnan
64576 do
64577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64578 echo "$as_me:$LINENO: checking for $ac_func" >&5
64579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64580 if eval "test \"\${$as_ac_var+set}\" = set"; then
64581 echo $ECHO_N "(cached) $ECHO_C" >&6
64582 else
64583 if test x$gcc_no_link = xyes; then
64584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64586 { (exit 1); exit 1; }; }
64587 fi
64588 cat >conftest.$ac_ext <<_ACEOF
64589 /* confdefs.h. */
64590 _ACEOF
64591 cat confdefs.h >>conftest.$ac_ext
64592 cat >>conftest.$ac_ext <<_ACEOF
64593 /* end confdefs.h. */
64594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64596 #define $ac_func innocuous_$ac_func
64597
64598 /* System header to define __stub macros and hopefully few prototypes,
64599 which can conflict with char $ac_func (); below.
64600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64601 <limits.h> exists even on freestanding compilers. */
64602
64603 #ifdef __STDC__
64604 # include <limits.h>
64605 #else
64606 # include <assert.h>
64607 #endif
64608
64609 #undef $ac_func
64610
64611 /* Override any gcc2 internal prototype to avoid an error. */
64612 #ifdef __cplusplus
64613 extern "C"
64614 {
64615 #endif
64616 /* We use char because int might match the return type of a gcc2
64617 builtin and then its argument prototype would still apply. */
64618 char $ac_func ();
64619 /* The GNU C library defines this for functions which it implements
64620 to always fail with ENOSYS. Some functions are actually named
64621 something starting with __ and the normal name is an alias. */
64622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64623 choke me
64624 #else
64625 char (*f) () = $ac_func;
64626 #endif
64627 #ifdef __cplusplus
64628 }
64629 #endif
64630
64631 int
64632 main ()
64633 {
64634 return f != $ac_func;
64635 ;
64636 return 0;
64637 }
64638 _ACEOF
64639 rm -f conftest.$ac_objext conftest$ac_exeext
64640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64641 (eval $ac_link) 2>conftest.er1
64642 ac_status=$?
64643 grep -v '^ *+' conftest.er1 >conftest.err
64644 rm -f conftest.er1
64645 cat conftest.err >&5
64646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647 (exit $ac_status); } &&
64648 { ac_try='test -z "$ac_c_werror_flag"
64649 || test ! -s conftest.err'
64650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64651 (eval $ac_try) 2>&5
64652 ac_status=$?
64653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64654 (exit $ac_status); }; } &&
64655 { ac_try='test -s conftest$ac_exeext'
64656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64657 (eval $ac_try) 2>&5
64658 ac_status=$?
64659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64660 (exit $ac_status); }; }; then
64661 eval "$as_ac_var=yes"
64662 else
64663 echo "$as_me: failed program was:" >&5
64664 sed 's/^/| /' conftest.$ac_ext >&5
64665
64666 eval "$as_ac_var=no"
64667 fi
64668 rm -f conftest.err conftest.$ac_objext \
64669 conftest$ac_exeext conftest.$ac_ext
64670 fi
64671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64673 if test `eval echo '${'$as_ac_var'}'` = yes; then
64674 cat >>confdefs.h <<_ACEOF
64675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64676 _ACEOF
64677
64678 fi
64679 done
64680
64681 fi
64682 fi
64683
64684
64685
64686
64687
64688
64689 echo "$as_me:$LINENO: checking for finite declaration" >&5
64690 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64691 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64692 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64693 echo $ECHO_N "(cached) $ECHO_C" >&6
64694 else
64695
64696
64697
64698 ac_ext=cc
64699 ac_cpp='$CXXCPP $CPPFLAGS'
64700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64703
64704 cat >conftest.$ac_ext <<_ACEOF
64705 /* confdefs.h. */
64706 _ACEOF
64707 cat confdefs.h >>conftest.$ac_ext
64708 cat >>conftest.$ac_ext <<_ACEOF
64709 /* end confdefs.h. */
64710 #include <math.h>
64711 #ifdef HAVE_IEEEFP_H
64712 #include <ieeefp.h>
64713 #endif
64714
64715 int
64716 main ()
64717 {
64718 finite(0);
64719 ;
64720 return 0;
64721 }
64722 _ACEOF
64723 rm -f conftest.$ac_objext
64724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64725 (eval $ac_compile) 2>conftest.er1
64726 ac_status=$?
64727 grep -v '^ *+' conftest.er1 >conftest.err
64728 rm -f conftest.er1
64729 cat conftest.err >&5
64730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731 (exit $ac_status); } &&
64732 { ac_try='test -z "$ac_cxx_werror_flag"
64733 || test ! -s conftest.err'
64734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64735 (eval $ac_try) 2>&5
64736 ac_status=$?
64737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64738 (exit $ac_status); }; } &&
64739 { ac_try='test -s conftest.$ac_objext'
64740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64741 (eval $ac_try) 2>&5
64742 ac_status=$?
64743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64744 (exit $ac_status); }; }; then
64745 glibcxx_cv_func_finite_use=yes
64746 else
64747 echo "$as_me: failed program was:" >&5
64748 sed 's/^/| /' conftest.$ac_ext >&5
64749
64750 glibcxx_cv_func_finite_use=no
64751 fi
64752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64753 ac_ext=c
64754 ac_cpp='$CPP $CPPFLAGS'
64755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64758
64759
64760 fi
64761
64762 fi
64763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64764 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64765
64766 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64767
64768 for ac_func in finite
64769 do
64770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64771 echo "$as_me:$LINENO: checking for $ac_func" >&5
64772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64773 if eval "test \"\${$as_ac_var+set}\" = set"; then
64774 echo $ECHO_N "(cached) $ECHO_C" >&6
64775 else
64776 if test x$gcc_no_link = xyes; then
64777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64779 { (exit 1); exit 1; }; }
64780 fi
64781 cat >conftest.$ac_ext <<_ACEOF
64782 /* confdefs.h. */
64783 _ACEOF
64784 cat confdefs.h >>conftest.$ac_ext
64785 cat >>conftest.$ac_ext <<_ACEOF
64786 /* end confdefs.h. */
64787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64789 #define $ac_func innocuous_$ac_func
64790
64791 /* System header to define __stub macros and hopefully few prototypes,
64792 which can conflict with char $ac_func (); below.
64793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64794 <limits.h> exists even on freestanding compilers. */
64795
64796 #ifdef __STDC__
64797 # include <limits.h>
64798 #else
64799 # include <assert.h>
64800 #endif
64801
64802 #undef $ac_func
64803
64804 /* Override any gcc2 internal prototype to avoid an error. */
64805 #ifdef __cplusplus
64806 extern "C"
64807 {
64808 #endif
64809 /* We use char because int might match the return type of a gcc2
64810 builtin and then its argument prototype would still apply. */
64811 char $ac_func ();
64812 /* The GNU C library defines this for functions which it implements
64813 to always fail with ENOSYS. Some functions are actually named
64814 something starting with __ and the normal name is an alias. */
64815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64816 choke me
64817 #else
64818 char (*f) () = $ac_func;
64819 #endif
64820 #ifdef __cplusplus
64821 }
64822 #endif
64823
64824 int
64825 main ()
64826 {
64827 return f != $ac_func;
64828 ;
64829 return 0;
64830 }
64831 _ACEOF
64832 rm -f conftest.$ac_objext conftest$ac_exeext
64833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64834 (eval $ac_link) 2>conftest.er1
64835 ac_status=$?
64836 grep -v '^ *+' conftest.er1 >conftest.err
64837 rm -f conftest.er1
64838 cat conftest.err >&5
64839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64840 (exit $ac_status); } &&
64841 { ac_try='test -z "$ac_c_werror_flag"
64842 || test ! -s conftest.err'
64843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64844 (eval $ac_try) 2>&5
64845 ac_status=$?
64846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64847 (exit $ac_status); }; } &&
64848 { ac_try='test -s conftest$ac_exeext'
64849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64850 (eval $ac_try) 2>&5
64851 ac_status=$?
64852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64853 (exit $ac_status); }; }; then
64854 eval "$as_ac_var=yes"
64855 else
64856 echo "$as_me: failed program was:" >&5
64857 sed 's/^/| /' conftest.$ac_ext >&5
64858
64859 eval "$as_ac_var=no"
64860 fi
64861 rm -f conftest.err conftest.$ac_objext \
64862 conftest$ac_exeext conftest.$ac_ext
64863 fi
64864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64866 if test `eval echo '${'$as_ac_var'}'` = yes; then
64867 cat >>confdefs.h <<_ACEOF
64868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64869 _ACEOF
64870
64871 fi
64872 done
64873
64874 else
64875
64876 echo "$as_me:$LINENO: checking for _finite declaration" >&5
64877 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64878 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64879 if test "${glibcxx_cv_func__finite_use+set}" = set; then
64880 echo $ECHO_N "(cached) $ECHO_C" >&6
64881 else
64882
64883
64884
64885 ac_ext=cc
64886 ac_cpp='$CXXCPP $CPPFLAGS'
64887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64890
64891 cat >conftest.$ac_ext <<_ACEOF
64892 /* confdefs.h. */
64893 _ACEOF
64894 cat confdefs.h >>conftest.$ac_ext
64895 cat >>conftest.$ac_ext <<_ACEOF
64896 /* end confdefs.h. */
64897 #include <math.h>
64898 #ifdef HAVE_IEEEFP_H
64899 #include <ieeefp.h>
64900 #endif
64901
64902 int
64903 main ()
64904 {
64905 _finite(0);
64906 ;
64907 return 0;
64908 }
64909 _ACEOF
64910 rm -f conftest.$ac_objext
64911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64912 (eval $ac_compile) 2>conftest.er1
64913 ac_status=$?
64914 grep -v '^ *+' conftest.er1 >conftest.err
64915 rm -f conftest.er1
64916 cat conftest.err >&5
64917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64918 (exit $ac_status); } &&
64919 { ac_try='test -z "$ac_cxx_werror_flag"
64920 || test ! -s conftest.err'
64921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64922 (eval $ac_try) 2>&5
64923 ac_status=$?
64924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64925 (exit $ac_status); }; } &&
64926 { ac_try='test -s conftest.$ac_objext'
64927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64928 (eval $ac_try) 2>&5
64929 ac_status=$?
64930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64931 (exit $ac_status); }; }; then
64932 glibcxx_cv_func__finite_use=yes
64933 else
64934 echo "$as_me: failed program was:" >&5
64935 sed 's/^/| /' conftest.$ac_ext >&5
64936
64937 glibcxx_cv_func__finite_use=no
64938 fi
64939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64940 ac_ext=c
64941 ac_cpp='$CPP $CPPFLAGS'
64942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64945
64946
64947 fi
64948
64949 fi
64950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64951 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64952
64953 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64954
64955 for ac_func in _finite
64956 do
64957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64958 echo "$as_me:$LINENO: checking for $ac_func" >&5
64959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64960 if eval "test \"\${$as_ac_var+set}\" = set"; then
64961 echo $ECHO_N "(cached) $ECHO_C" >&6
64962 else
64963 if test x$gcc_no_link = xyes; then
64964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64966 { (exit 1); exit 1; }; }
64967 fi
64968 cat >conftest.$ac_ext <<_ACEOF
64969 /* confdefs.h. */
64970 _ACEOF
64971 cat confdefs.h >>conftest.$ac_ext
64972 cat >>conftest.$ac_ext <<_ACEOF
64973 /* end confdefs.h. */
64974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64976 #define $ac_func innocuous_$ac_func
64977
64978 /* System header to define __stub macros and hopefully few prototypes,
64979 which can conflict with char $ac_func (); below.
64980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64981 <limits.h> exists even on freestanding compilers. */
64982
64983 #ifdef __STDC__
64984 # include <limits.h>
64985 #else
64986 # include <assert.h>
64987 #endif
64988
64989 #undef $ac_func
64990
64991 /* Override any gcc2 internal prototype to avoid an error. */
64992 #ifdef __cplusplus
64993 extern "C"
64994 {
64995 #endif
64996 /* We use char because int might match the return type of a gcc2
64997 builtin and then its argument prototype would still apply. */
64998 char $ac_func ();
64999 /* The GNU C library defines this for functions which it implements
65000 to always fail with ENOSYS. Some functions are actually named
65001 something starting with __ and the normal name is an alias. */
65002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65003 choke me
65004 #else
65005 char (*f) () = $ac_func;
65006 #endif
65007 #ifdef __cplusplus
65008 }
65009 #endif
65010
65011 int
65012 main ()
65013 {
65014 return f != $ac_func;
65015 ;
65016 return 0;
65017 }
65018 _ACEOF
65019 rm -f conftest.$ac_objext conftest$ac_exeext
65020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65021 (eval $ac_link) 2>conftest.er1
65022 ac_status=$?
65023 grep -v '^ *+' conftest.er1 >conftest.err
65024 rm -f conftest.er1
65025 cat conftest.err >&5
65026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65027 (exit $ac_status); } &&
65028 { ac_try='test -z "$ac_c_werror_flag"
65029 || test ! -s conftest.err'
65030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65031 (eval $ac_try) 2>&5
65032 ac_status=$?
65033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65034 (exit $ac_status); }; } &&
65035 { ac_try='test -s conftest$ac_exeext'
65036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65037 (eval $ac_try) 2>&5
65038 ac_status=$?
65039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65040 (exit $ac_status); }; }; then
65041 eval "$as_ac_var=yes"
65042 else
65043 echo "$as_me: failed program was:" >&5
65044 sed 's/^/| /' conftest.$ac_ext >&5
65045
65046 eval "$as_ac_var=no"
65047 fi
65048 rm -f conftest.err conftest.$ac_objext \
65049 conftest$ac_exeext conftest.$ac_ext
65050 fi
65051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65053 if test `eval echo '${'$as_ac_var'}'` = yes; then
65054 cat >>confdefs.h <<_ACEOF
65055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65056 _ACEOF
65057
65058 fi
65059 done
65060
65061 fi
65062 fi
65063
65064
65065
65066
65067
65068
65069 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65070 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65071 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65072 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65073 echo $ECHO_N "(cached) $ECHO_C" >&6
65074 else
65075
65076
65077
65078 ac_ext=cc
65079 ac_cpp='$CXXCPP $CPPFLAGS'
65080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65083
65084 cat >conftest.$ac_ext <<_ACEOF
65085 /* confdefs.h. */
65086 _ACEOF
65087 cat confdefs.h >>conftest.$ac_ext
65088 cat >>conftest.$ac_ext <<_ACEOF
65089 /* end confdefs.h. */
65090 #include <math.h>
65091 int
65092 main ()
65093 {
65094 copysign(0, 0);
65095 ;
65096 return 0;
65097 }
65098 _ACEOF
65099 rm -f conftest.$ac_objext
65100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65101 (eval $ac_compile) 2>conftest.er1
65102 ac_status=$?
65103 grep -v '^ *+' conftest.er1 >conftest.err
65104 rm -f conftest.er1
65105 cat conftest.err >&5
65106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65107 (exit $ac_status); } &&
65108 { ac_try='test -z "$ac_cxx_werror_flag"
65109 || test ! -s conftest.err'
65110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65111 (eval $ac_try) 2>&5
65112 ac_status=$?
65113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65114 (exit $ac_status); }; } &&
65115 { ac_try='test -s conftest.$ac_objext'
65116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65117 (eval $ac_try) 2>&5
65118 ac_status=$?
65119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65120 (exit $ac_status); }; }; then
65121 glibcxx_cv_func_copysign_use=yes
65122 else
65123 echo "$as_me: failed program was:" >&5
65124 sed 's/^/| /' conftest.$ac_ext >&5
65125
65126 glibcxx_cv_func_copysign_use=no
65127 fi
65128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65129 ac_ext=c
65130 ac_cpp='$CPP $CPPFLAGS'
65131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65134
65135
65136 fi
65137
65138 fi
65139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65140 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65141
65142 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65143
65144 for ac_func in copysign
65145 do
65146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65147 echo "$as_me:$LINENO: checking for $ac_func" >&5
65148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65149 if eval "test \"\${$as_ac_var+set}\" = set"; then
65150 echo $ECHO_N "(cached) $ECHO_C" >&6
65151 else
65152 if test x$gcc_no_link = xyes; then
65153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65155 { (exit 1); exit 1; }; }
65156 fi
65157 cat >conftest.$ac_ext <<_ACEOF
65158 /* confdefs.h. */
65159 _ACEOF
65160 cat confdefs.h >>conftest.$ac_ext
65161 cat >>conftest.$ac_ext <<_ACEOF
65162 /* end confdefs.h. */
65163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65165 #define $ac_func innocuous_$ac_func
65166
65167 /* System header to define __stub macros and hopefully few prototypes,
65168 which can conflict with char $ac_func (); below.
65169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65170 <limits.h> exists even on freestanding compilers. */
65171
65172 #ifdef __STDC__
65173 # include <limits.h>
65174 #else
65175 # include <assert.h>
65176 #endif
65177
65178 #undef $ac_func
65179
65180 /* Override any gcc2 internal prototype to avoid an error. */
65181 #ifdef __cplusplus
65182 extern "C"
65183 {
65184 #endif
65185 /* We use char because int might match the return type of a gcc2
65186 builtin and then its argument prototype would still apply. */
65187 char $ac_func ();
65188 /* The GNU C library defines this for functions which it implements
65189 to always fail with ENOSYS. Some functions are actually named
65190 something starting with __ and the normal name is an alias. */
65191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65192 choke me
65193 #else
65194 char (*f) () = $ac_func;
65195 #endif
65196 #ifdef __cplusplus
65197 }
65198 #endif
65199
65200 int
65201 main ()
65202 {
65203 return f != $ac_func;
65204 ;
65205 return 0;
65206 }
65207 _ACEOF
65208 rm -f conftest.$ac_objext conftest$ac_exeext
65209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65210 (eval $ac_link) 2>conftest.er1
65211 ac_status=$?
65212 grep -v '^ *+' conftest.er1 >conftest.err
65213 rm -f conftest.er1
65214 cat conftest.err >&5
65215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65216 (exit $ac_status); } &&
65217 { ac_try='test -z "$ac_c_werror_flag"
65218 || test ! -s conftest.err'
65219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65220 (eval $ac_try) 2>&5
65221 ac_status=$?
65222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65223 (exit $ac_status); }; } &&
65224 { ac_try='test -s conftest$ac_exeext'
65225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65226 (eval $ac_try) 2>&5
65227 ac_status=$?
65228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229 (exit $ac_status); }; }; then
65230 eval "$as_ac_var=yes"
65231 else
65232 echo "$as_me: failed program was:" >&5
65233 sed 's/^/| /' conftest.$ac_ext >&5
65234
65235 eval "$as_ac_var=no"
65236 fi
65237 rm -f conftest.err conftest.$ac_objext \
65238 conftest$ac_exeext conftest.$ac_ext
65239 fi
65240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65242 if test `eval echo '${'$as_ac_var'}'` = yes; then
65243 cat >>confdefs.h <<_ACEOF
65244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65245 _ACEOF
65246
65247 fi
65248 done
65249
65250 else
65251
65252 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65253 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65254 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65255 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65256 echo $ECHO_N "(cached) $ECHO_C" >&6
65257 else
65258
65259
65260
65261 ac_ext=cc
65262 ac_cpp='$CXXCPP $CPPFLAGS'
65263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65266
65267 cat >conftest.$ac_ext <<_ACEOF
65268 /* confdefs.h. */
65269 _ACEOF
65270 cat confdefs.h >>conftest.$ac_ext
65271 cat >>conftest.$ac_ext <<_ACEOF
65272 /* end confdefs.h. */
65273 #include <math.h>
65274 int
65275 main ()
65276 {
65277 _copysign(0, 0);
65278 ;
65279 return 0;
65280 }
65281 _ACEOF
65282 rm -f conftest.$ac_objext
65283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65284 (eval $ac_compile) 2>conftest.er1
65285 ac_status=$?
65286 grep -v '^ *+' conftest.er1 >conftest.err
65287 rm -f conftest.er1
65288 cat conftest.err >&5
65289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290 (exit $ac_status); } &&
65291 { ac_try='test -z "$ac_cxx_werror_flag"
65292 || test ! -s conftest.err'
65293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65294 (eval $ac_try) 2>&5
65295 ac_status=$?
65296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65297 (exit $ac_status); }; } &&
65298 { ac_try='test -s conftest.$ac_objext'
65299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65300 (eval $ac_try) 2>&5
65301 ac_status=$?
65302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65303 (exit $ac_status); }; }; then
65304 glibcxx_cv_func__copysign_use=yes
65305 else
65306 echo "$as_me: failed program was:" >&5
65307 sed 's/^/| /' conftest.$ac_ext >&5
65308
65309 glibcxx_cv_func__copysign_use=no
65310 fi
65311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65312 ac_ext=c
65313 ac_cpp='$CPP $CPPFLAGS'
65314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65317
65318
65319 fi
65320
65321 fi
65322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65323 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65324
65325 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65326
65327 for ac_func in _copysign
65328 do
65329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65330 echo "$as_me:$LINENO: checking for $ac_func" >&5
65331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65332 if eval "test \"\${$as_ac_var+set}\" = set"; then
65333 echo $ECHO_N "(cached) $ECHO_C" >&6
65334 else
65335 if test x$gcc_no_link = xyes; then
65336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65338 { (exit 1); exit 1; }; }
65339 fi
65340 cat >conftest.$ac_ext <<_ACEOF
65341 /* confdefs.h. */
65342 _ACEOF
65343 cat confdefs.h >>conftest.$ac_ext
65344 cat >>conftest.$ac_ext <<_ACEOF
65345 /* end confdefs.h. */
65346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65348 #define $ac_func innocuous_$ac_func
65349
65350 /* System header to define __stub macros and hopefully few prototypes,
65351 which can conflict with char $ac_func (); below.
65352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65353 <limits.h> exists even on freestanding compilers. */
65354
65355 #ifdef __STDC__
65356 # include <limits.h>
65357 #else
65358 # include <assert.h>
65359 #endif
65360
65361 #undef $ac_func
65362
65363 /* Override any gcc2 internal prototype to avoid an error. */
65364 #ifdef __cplusplus
65365 extern "C"
65366 {
65367 #endif
65368 /* We use char because int might match the return type of a gcc2
65369 builtin and then its argument prototype would still apply. */
65370 char $ac_func ();
65371 /* The GNU C library defines this for functions which it implements
65372 to always fail with ENOSYS. Some functions are actually named
65373 something starting with __ and the normal name is an alias. */
65374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65375 choke me
65376 #else
65377 char (*f) () = $ac_func;
65378 #endif
65379 #ifdef __cplusplus
65380 }
65381 #endif
65382
65383 int
65384 main ()
65385 {
65386 return f != $ac_func;
65387 ;
65388 return 0;
65389 }
65390 _ACEOF
65391 rm -f conftest.$ac_objext conftest$ac_exeext
65392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65393 (eval $ac_link) 2>conftest.er1
65394 ac_status=$?
65395 grep -v '^ *+' conftest.er1 >conftest.err
65396 rm -f conftest.er1
65397 cat conftest.err >&5
65398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65399 (exit $ac_status); } &&
65400 { ac_try='test -z "$ac_c_werror_flag"
65401 || test ! -s conftest.err'
65402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65403 (eval $ac_try) 2>&5
65404 ac_status=$?
65405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65406 (exit $ac_status); }; } &&
65407 { ac_try='test -s conftest$ac_exeext'
65408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65409 (eval $ac_try) 2>&5
65410 ac_status=$?
65411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65412 (exit $ac_status); }; }; then
65413 eval "$as_ac_var=yes"
65414 else
65415 echo "$as_me: failed program was:" >&5
65416 sed 's/^/| /' conftest.$ac_ext >&5
65417
65418 eval "$as_ac_var=no"
65419 fi
65420 rm -f conftest.err conftest.$ac_objext \
65421 conftest$ac_exeext conftest.$ac_ext
65422 fi
65423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65425 if test `eval echo '${'$as_ac_var'}'` = yes; then
65426 cat >>confdefs.h <<_ACEOF
65427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65428 _ACEOF
65429
65430 fi
65431 done
65432
65433 fi
65434 fi
65435
65436
65437
65438
65439
65440
65441 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65442 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65443 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65444 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65445 echo $ECHO_N "(cached) $ECHO_C" >&6
65446 else
65447
65448
65449
65450 ac_ext=cc
65451 ac_cpp='$CXXCPP $CPPFLAGS'
65452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65455
65456 cat >conftest.$ac_ext <<_ACEOF
65457 /* confdefs.h. */
65458 _ACEOF
65459 cat confdefs.h >>conftest.$ac_ext
65460 cat >>conftest.$ac_ext <<_ACEOF
65461 /* end confdefs.h. */
65462 #include <math.h>
65463 int
65464 main ()
65465 {
65466 sincos(0, 0, 0);
65467 ;
65468 return 0;
65469 }
65470 _ACEOF
65471 rm -f conftest.$ac_objext
65472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65473 (eval $ac_compile) 2>conftest.er1
65474 ac_status=$?
65475 grep -v '^ *+' conftest.er1 >conftest.err
65476 rm -f conftest.er1
65477 cat conftest.err >&5
65478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65479 (exit $ac_status); } &&
65480 { ac_try='test -z "$ac_cxx_werror_flag"
65481 || test ! -s conftest.err'
65482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65483 (eval $ac_try) 2>&5
65484 ac_status=$?
65485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65486 (exit $ac_status); }; } &&
65487 { ac_try='test -s conftest.$ac_objext'
65488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65489 (eval $ac_try) 2>&5
65490 ac_status=$?
65491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65492 (exit $ac_status); }; }; then
65493 glibcxx_cv_func_sincos_use=yes
65494 else
65495 echo "$as_me: failed program was:" >&5
65496 sed 's/^/| /' conftest.$ac_ext >&5
65497
65498 glibcxx_cv_func_sincos_use=no
65499 fi
65500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65501 ac_ext=c
65502 ac_cpp='$CPP $CPPFLAGS'
65503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65506
65507
65508 fi
65509
65510 fi
65511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65512 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65513
65514 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65515
65516 for ac_func in sincos
65517 do
65518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65519 echo "$as_me:$LINENO: checking for $ac_func" >&5
65520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65521 if eval "test \"\${$as_ac_var+set}\" = set"; then
65522 echo $ECHO_N "(cached) $ECHO_C" >&6
65523 else
65524 if test x$gcc_no_link = xyes; then
65525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65527 { (exit 1); exit 1; }; }
65528 fi
65529 cat >conftest.$ac_ext <<_ACEOF
65530 /* confdefs.h. */
65531 _ACEOF
65532 cat confdefs.h >>conftest.$ac_ext
65533 cat >>conftest.$ac_ext <<_ACEOF
65534 /* end confdefs.h. */
65535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65537 #define $ac_func innocuous_$ac_func
65538
65539 /* System header to define __stub macros and hopefully few prototypes,
65540 which can conflict with char $ac_func (); below.
65541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65542 <limits.h> exists even on freestanding compilers. */
65543
65544 #ifdef __STDC__
65545 # include <limits.h>
65546 #else
65547 # include <assert.h>
65548 #endif
65549
65550 #undef $ac_func
65551
65552 /* Override any gcc2 internal prototype to avoid an error. */
65553 #ifdef __cplusplus
65554 extern "C"
65555 {
65556 #endif
65557 /* We use char because int might match the return type of a gcc2
65558 builtin and then its argument prototype would still apply. */
65559 char $ac_func ();
65560 /* The GNU C library defines this for functions which it implements
65561 to always fail with ENOSYS. Some functions are actually named
65562 something starting with __ and the normal name is an alias. */
65563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65564 choke me
65565 #else
65566 char (*f) () = $ac_func;
65567 #endif
65568 #ifdef __cplusplus
65569 }
65570 #endif
65571
65572 int
65573 main ()
65574 {
65575 return f != $ac_func;
65576 ;
65577 return 0;
65578 }
65579 _ACEOF
65580 rm -f conftest.$ac_objext conftest$ac_exeext
65581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65582 (eval $ac_link) 2>conftest.er1
65583 ac_status=$?
65584 grep -v '^ *+' conftest.er1 >conftest.err
65585 rm -f conftest.er1
65586 cat conftest.err >&5
65587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65588 (exit $ac_status); } &&
65589 { ac_try='test -z "$ac_c_werror_flag"
65590 || test ! -s conftest.err'
65591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65592 (eval $ac_try) 2>&5
65593 ac_status=$?
65594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65595 (exit $ac_status); }; } &&
65596 { ac_try='test -s conftest$ac_exeext'
65597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65598 (eval $ac_try) 2>&5
65599 ac_status=$?
65600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65601 (exit $ac_status); }; }; then
65602 eval "$as_ac_var=yes"
65603 else
65604 echo "$as_me: failed program was:" >&5
65605 sed 's/^/| /' conftest.$ac_ext >&5
65606
65607 eval "$as_ac_var=no"
65608 fi
65609 rm -f conftest.err conftest.$ac_objext \
65610 conftest$ac_exeext conftest.$ac_ext
65611 fi
65612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65614 if test `eval echo '${'$as_ac_var'}'` = yes; then
65615 cat >>confdefs.h <<_ACEOF
65616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65617 _ACEOF
65618
65619 fi
65620 done
65621
65622 else
65623
65624 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65625 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65626 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65627 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65628 echo $ECHO_N "(cached) $ECHO_C" >&6
65629 else
65630
65631
65632
65633 ac_ext=cc
65634 ac_cpp='$CXXCPP $CPPFLAGS'
65635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65638
65639 cat >conftest.$ac_ext <<_ACEOF
65640 /* confdefs.h. */
65641 _ACEOF
65642 cat confdefs.h >>conftest.$ac_ext
65643 cat >>conftest.$ac_ext <<_ACEOF
65644 /* end confdefs.h. */
65645 #include <math.h>
65646 int
65647 main ()
65648 {
65649 _sincos(0, 0, 0);
65650 ;
65651 return 0;
65652 }
65653 _ACEOF
65654 rm -f conftest.$ac_objext
65655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65656 (eval $ac_compile) 2>conftest.er1
65657 ac_status=$?
65658 grep -v '^ *+' conftest.er1 >conftest.err
65659 rm -f conftest.er1
65660 cat conftest.err >&5
65661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662 (exit $ac_status); } &&
65663 { ac_try='test -z "$ac_cxx_werror_flag"
65664 || test ! -s conftest.err'
65665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65666 (eval $ac_try) 2>&5
65667 ac_status=$?
65668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65669 (exit $ac_status); }; } &&
65670 { ac_try='test -s conftest.$ac_objext'
65671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65672 (eval $ac_try) 2>&5
65673 ac_status=$?
65674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65675 (exit $ac_status); }; }; then
65676 glibcxx_cv_func__sincos_use=yes
65677 else
65678 echo "$as_me: failed program was:" >&5
65679 sed 's/^/| /' conftest.$ac_ext >&5
65680
65681 glibcxx_cv_func__sincos_use=no
65682 fi
65683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65684 ac_ext=c
65685 ac_cpp='$CPP $CPPFLAGS'
65686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65689
65690
65691 fi
65692
65693 fi
65694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65695 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65696
65697 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65698
65699 for ac_func in _sincos
65700 do
65701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65702 echo "$as_me:$LINENO: checking for $ac_func" >&5
65703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65704 if eval "test \"\${$as_ac_var+set}\" = set"; then
65705 echo $ECHO_N "(cached) $ECHO_C" >&6
65706 else
65707 if test x$gcc_no_link = xyes; then
65708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65710 { (exit 1); exit 1; }; }
65711 fi
65712 cat >conftest.$ac_ext <<_ACEOF
65713 /* confdefs.h. */
65714 _ACEOF
65715 cat confdefs.h >>conftest.$ac_ext
65716 cat >>conftest.$ac_ext <<_ACEOF
65717 /* end confdefs.h. */
65718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65720 #define $ac_func innocuous_$ac_func
65721
65722 /* System header to define __stub macros and hopefully few prototypes,
65723 which can conflict with char $ac_func (); below.
65724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65725 <limits.h> exists even on freestanding compilers. */
65726
65727 #ifdef __STDC__
65728 # include <limits.h>
65729 #else
65730 # include <assert.h>
65731 #endif
65732
65733 #undef $ac_func
65734
65735 /* Override any gcc2 internal prototype to avoid an error. */
65736 #ifdef __cplusplus
65737 extern "C"
65738 {
65739 #endif
65740 /* We use char because int might match the return type of a gcc2
65741 builtin and then its argument prototype would still apply. */
65742 char $ac_func ();
65743 /* The GNU C library defines this for functions which it implements
65744 to always fail with ENOSYS. Some functions are actually named
65745 something starting with __ and the normal name is an alias. */
65746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65747 choke me
65748 #else
65749 char (*f) () = $ac_func;
65750 #endif
65751 #ifdef __cplusplus
65752 }
65753 #endif
65754
65755 int
65756 main ()
65757 {
65758 return f != $ac_func;
65759 ;
65760 return 0;
65761 }
65762 _ACEOF
65763 rm -f conftest.$ac_objext conftest$ac_exeext
65764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65765 (eval $ac_link) 2>conftest.er1
65766 ac_status=$?
65767 grep -v '^ *+' conftest.er1 >conftest.err
65768 rm -f conftest.er1
65769 cat conftest.err >&5
65770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65771 (exit $ac_status); } &&
65772 { ac_try='test -z "$ac_c_werror_flag"
65773 || test ! -s conftest.err'
65774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65775 (eval $ac_try) 2>&5
65776 ac_status=$?
65777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65778 (exit $ac_status); }; } &&
65779 { ac_try='test -s conftest$ac_exeext'
65780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65781 (eval $ac_try) 2>&5
65782 ac_status=$?
65783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65784 (exit $ac_status); }; }; then
65785 eval "$as_ac_var=yes"
65786 else
65787 echo "$as_me: failed program was:" >&5
65788 sed 's/^/| /' conftest.$ac_ext >&5
65789
65790 eval "$as_ac_var=no"
65791 fi
65792 rm -f conftest.err conftest.$ac_objext \
65793 conftest$ac_exeext conftest.$ac_ext
65794 fi
65795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65797 if test `eval echo '${'$as_ac_var'}'` = yes; then
65798 cat >>confdefs.h <<_ACEOF
65799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65800 _ACEOF
65801
65802 fi
65803 done
65804
65805 fi
65806 fi
65807
65808
65809
65810
65811
65812
65813 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65814 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65815 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65816 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65817 echo $ECHO_N "(cached) $ECHO_C" >&6
65818 else
65819
65820
65821
65822 ac_ext=cc
65823 ac_cpp='$CXXCPP $CPPFLAGS'
65824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65827
65828 cat >conftest.$ac_ext <<_ACEOF
65829 /* confdefs.h. */
65830 _ACEOF
65831 cat confdefs.h >>conftest.$ac_ext
65832 cat >>conftest.$ac_ext <<_ACEOF
65833 /* end confdefs.h. */
65834 #include <math.h>
65835 #ifdef HAVE_IEEEFP_H
65836 #include <ieeefp.h>
65837 #endif
65838
65839 int
65840 main ()
65841 {
65842 fpclass(0);
65843 ;
65844 return 0;
65845 }
65846 _ACEOF
65847 rm -f conftest.$ac_objext
65848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65849 (eval $ac_compile) 2>conftest.er1
65850 ac_status=$?
65851 grep -v '^ *+' conftest.er1 >conftest.err
65852 rm -f conftest.er1
65853 cat conftest.err >&5
65854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65855 (exit $ac_status); } &&
65856 { ac_try='test -z "$ac_cxx_werror_flag"
65857 || test ! -s conftest.err'
65858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65859 (eval $ac_try) 2>&5
65860 ac_status=$?
65861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 (exit $ac_status); }; } &&
65863 { ac_try='test -s conftest.$ac_objext'
65864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65865 (eval $ac_try) 2>&5
65866 ac_status=$?
65867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65868 (exit $ac_status); }; }; then
65869 glibcxx_cv_func_fpclass_use=yes
65870 else
65871 echo "$as_me: failed program was:" >&5
65872 sed 's/^/| /' conftest.$ac_ext >&5
65873
65874 glibcxx_cv_func_fpclass_use=no
65875 fi
65876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65877 ac_ext=c
65878 ac_cpp='$CPP $CPPFLAGS'
65879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65882
65883
65884 fi
65885
65886 fi
65887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65888 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65889
65890 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65891
65892 for ac_func in fpclass
65893 do
65894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65895 echo "$as_me:$LINENO: checking for $ac_func" >&5
65896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65897 if eval "test \"\${$as_ac_var+set}\" = set"; then
65898 echo $ECHO_N "(cached) $ECHO_C" >&6
65899 else
65900 if test x$gcc_no_link = xyes; then
65901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65903 { (exit 1); exit 1; }; }
65904 fi
65905 cat >conftest.$ac_ext <<_ACEOF
65906 /* confdefs.h. */
65907 _ACEOF
65908 cat confdefs.h >>conftest.$ac_ext
65909 cat >>conftest.$ac_ext <<_ACEOF
65910 /* end confdefs.h. */
65911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65913 #define $ac_func innocuous_$ac_func
65914
65915 /* System header to define __stub macros and hopefully few prototypes,
65916 which can conflict with char $ac_func (); below.
65917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65918 <limits.h> exists even on freestanding compilers. */
65919
65920 #ifdef __STDC__
65921 # include <limits.h>
65922 #else
65923 # include <assert.h>
65924 #endif
65925
65926 #undef $ac_func
65927
65928 /* Override any gcc2 internal prototype to avoid an error. */
65929 #ifdef __cplusplus
65930 extern "C"
65931 {
65932 #endif
65933 /* We use char because int might match the return type of a gcc2
65934 builtin and then its argument prototype would still apply. */
65935 char $ac_func ();
65936 /* The GNU C library defines this for functions which it implements
65937 to always fail with ENOSYS. Some functions are actually named
65938 something starting with __ and the normal name is an alias. */
65939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65940 choke me
65941 #else
65942 char (*f) () = $ac_func;
65943 #endif
65944 #ifdef __cplusplus
65945 }
65946 #endif
65947
65948 int
65949 main ()
65950 {
65951 return f != $ac_func;
65952 ;
65953 return 0;
65954 }
65955 _ACEOF
65956 rm -f conftest.$ac_objext conftest$ac_exeext
65957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65958 (eval $ac_link) 2>conftest.er1
65959 ac_status=$?
65960 grep -v '^ *+' conftest.er1 >conftest.err
65961 rm -f conftest.er1
65962 cat conftest.err >&5
65963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65964 (exit $ac_status); } &&
65965 { ac_try='test -z "$ac_c_werror_flag"
65966 || test ! -s conftest.err'
65967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65968 (eval $ac_try) 2>&5
65969 ac_status=$?
65970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65971 (exit $ac_status); }; } &&
65972 { ac_try='test -s conftest$ac_exeext'
65973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65974 (eval $ac_try) 2>&5
65975 ac_status=$?
65976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65977 (exit $ac_status); }; }; then
65978 eval "$as_ac_var=yes"
65979 else
65980 echo "$as_me: failed program was:" >&5
65981 sed 's/^/| /' conftest.$ac_ext >&5
65982
65983 eval "$as_ac_var=no"
65984 fi
65985 rm -f conftest.err conftest.$ac_objext \
65986 conftest$ac_exeext conftest.$ac_ext
65987 fi
65988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65990 if test `eval echo '${'$as_ac_var'}'` = yes; then
65991 cat >>confdefs.h <<_ACEOF
65992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65993 _ACEOF
65994
65995 fi
65996 done
65997
65998 else
65999
66000 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66001 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66002 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66003 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66004 echo $ECHO_N "(cached) $ECHO_C" >&6
66005 else
66006
66007
66008
66009 ac_ext=cc
66010 ac_cpp='$CXXCPP $CPPFLAGS'
66011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66014
66015 cat >conftest.$ac_ext <<_ACEOF
66016 /* confdefs.h. */
66017 _ACEOF
66018 cat confdefs.h >>conftest.$ac_ext
66019 cat >>conftest.$ac_ext <<_ACEOF
66020 /* end confdefs.h. */
66021 #include <math.h>
66022 #ifdef HAVE_IEEEFP_H
66023 #include <ieeefp.h>
66024 #endif
66025
66026 int
66027 main ()
66028 {
66029 _fpclass(0);
66030 ;
66031 return 0;
66032 }
66033 _ACEOF
66034 rm -f conftest.$ac_objext
66035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66036 (eval $ac_compile) 2>conftest.er1
66037 ac_status=$?
66038 grep -v '^ *+' conftest.er1 >conftest.err
66039 rm -f conftest.er1
66040 cat conftest.err >&5
66041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66042 (exit $ac_status); } &&
66043 { ac_try='test -z "$ac_cxx_werror_flag"
66044 || test ! -s conftest.err'
66045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66046 (eval $ac_try) 2>&5
66047 ac_status=$?
66048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66049 (exit $ac_status); }; } &&
66050 { ac_try='test -s conftest.$ac_objext'
66051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66052 (eval $ac_try) 2>&5
66053 ac_status=$?
66054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66055 (exit $ac_status); }; }; then
66056 glibcxx_cv_func__fpclass_use=yes
66057 else
66058 echo "$as_me: failed program was:" >&5
66059 sed 's/^/| /' conftest.$ac_ext >&5
66060
66061 glibcxx_cv_func__fpclass_use=no
66062 fi
66063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66064 ac_ext=c
66065 ac_cpp='$CPP $CPPFLAGS'
66066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66069
66070
66071 fi
66072
66073 fi
66074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66075 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66076
66077 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66078
66079 for ac_func in _fpclass
66080 do
66081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66082 echo "$as_me:$LINENO: checking for $ac_func" >&5
66083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66084 if eval "test \"\${$as_ac_var+set}\" = set"; then
66085 echo $ECHO_N "(cached) $ECHO_C" >&6
66086 else
66087 if test x$gcc_no_link = xyes; then
66088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66090 { (exit 1); exit 1; }; }
66091 fi
66092 cat >conftest.$ac_ext <<_ACEOF
66093 /* confdefs.h. */
66094 _ACEOF
66095 cat confdefs.h >>conftest.$ac_ext
66096 cat >>conftest.$ac_ext <<_ACEOF
66097 /* end confdefs.h. */
66098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66100 #define $ac_func innocuous_$ac_func
66101
66102 /* System header to define __stub macros and hopefully few prototypes,
66103 which can conflict with char $ac_func (); below.
66104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66105 <limits.h> exists even on freestanding compilers. */
66106
66107 #ifdef __STDC__
66108 # include <limits.h>
66109 #else
66110 # include <assert.h>
66111 #endif
66112
66113 #undef $ac_func
66114
66115 /* Override any gcc2 internal prototype to avoid an error. */
66116 #ifdef __cplusplus
66117 extern "C"
66118 {
66119 #endif
66120 /* We use char because int might match the return type of a gcc2
66121 builtin and then its argument prototype would still apply. */
66122 char $ac_func ();
66123 /* The GNU C library defines this for functions which it implements
66124 to always fail with ENOSYS. Some functions are actually named
66125 something starting with __ and the normal name is an alias. */
66126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66127 choke me
66128 #else
66129 char (*f) () = $ac_func;
66130 #endif
66131 #ifdef __cplusplus
66132 }
66133 #endif
66134
66135 int
66136 main ()
66137 {
66138 return f != $ac_func;
66139 ;
66140 return 0;
66141 }
66142 _ACEOF
66143 rm -f conftest.$ac_objext conftest$ac_exeext
66144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66145 (eval $ac_link) 2>conftest.er1
66146 ac_status=$?
66147 grep -v '^ *+' conftest.er1 >conftest.err
66148 rm -f conftest.er1
66149 cat conftest.err >&5
66150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66151 (exit $ac_status); } &&
66152 { ac_try='test -z "$ac_c_werror_flag"
66153 || test ! -s conftest.err'
66154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66155 (eval $ac_try) 2>&5
66156 ac_status=$?
66157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66158 (exit $ac_status); }; } &&
66159 { ac_try='test -s conftest$ac_exeext'
66160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66161 (eval $ac_try) 2>&5
66162 ac_status=$?
66163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66164 (exit $ac_status); }; }; then
66165 eval "$as_ac_var=yes"
66166 else
66167 echo "$as_me: failed program was:" >&5
66168 sed 's/^/| /' conftest.$ac_ext >&5
66169
66170 eval "$as_ac_var=no"
66171 fi
66172 rm -f conftest.err conftest.$ac_objext \
66173 conftest$ac_exeext conftest.$ac_ext
66174 fi
66175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66177 if test `eval echo '${'$as_ac_var'}'` = yes; then
66178 cat >>confdefs.h <<_ACEOF
66179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66180 _ACEOF
66181
66182 fi
66183 done
66184
66185 fi
66186 fi
66187
66188
66189
66190
66191
66192
66193 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66194 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66195 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66196 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66197 echo $ECHO_N "(cached) $ECHO_C" >&6
66198 else
66199
66200
66201
66202 ac_ext=cc
66203 ac_cpp='$CXXCPP $CPPFLAGS'
66204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66207
66208 cat >conftest.$ac_ext <<_ACEOF
66209 /* confdefs.h. */
66210 _ACEOF
66211 cat confdefs.h >>conftest.$ac_ext
66212 cat >>conftest.$ac_ext <<_ACEOF
66213 /* end confdefs.h. */
66214 #include <math.h>
66215 #ifdef HAVE_IEEEFP_H
66216 #include <ieeefp.h>
66217 #endif
66218
66219 int
66220 main ()
66221 {
66222 qfpclass(0);
66223 ;
66224 return 0;
66225 }
66226 _ACEOF
66227 rm -f conftest.$ac_objext
66228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66229 (eval $ac_compile) 2>conftest.er1
66230 ac_status=$?
66231 grep -v '^ *+' conftest.er1 >conftest.err
66232 rm -f conftest.er1
66233 cat conftest.err >&5
66234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66235 (exit $ac_status); } &&
66236 { ac_try='test -z "$ac_cxx_werror_flag"
66237 || test ! -s conftest.err'
66238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66239 (eval $ac_try) 2>&5
66240 ac_status=$?
66241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66242 (exit $ac_status); }; } &&
66243 { ac_try='test -s conftest.$ac_objext'
66244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66245 (eval $ac_try) 2>&5
66246 ac_status=$?
66247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66248 (exit $ac_status); }; }; then
66249 glibcxx_cv_func_qfpclass_use=yes
66250 else
66251 echo "$as_me: failed program was:" >&5
66252 sed 's/^/| /' conftest.$ac_ext >&5
66253
66254 glibcxx_cv_func_qfpclass_use=no
66255 fi
66256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66257 ac_ext=c
66258 ac_cpp='$CPP $CPPFLAGS'
66259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66262
66263
66264 fi
66265
66266 fi
66267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66268 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66269
66270 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66271
66272 for ac_func in qfpclass
66273 do
66274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66275 echo "$as_me:$LINENO: checking for $ac_func" >&5
66276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66277 if eval "test \"\${$as_ac_var+set}\" = set"; then
66278 echo $ECHO_N "(cached) $ECHO_C" >&6
66279 else
66280 if test x$gcc_no_link = xyes; then
66281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66283 { (exit 1); exit 1; }; }
66284 fi
66285 cat >conftest.$ac_ext <<_ACEOF
66286 /* confdefs.h. */
66287 _ACEOF
66288 cat confdefs.h >>conftest.$ac_ext
66289 cat >>conftest.$ac_ext <<_ACEOF
66290 /* end confdefs.h. */
66291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66293 #define $ac_func innocuous_$ac_func
66294
66295 /* System header to define __stub macros and hopefully few prototypes,
66296 which can conflict with char $ac_func (); below.
66297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66298 <limits.h> exists even on freestanding compilers. */
66299
66300 #ifdef __STDC__
66301 # include <limits.h>
66302 #else
66303 # include <assert.h>
66304 #endif
66305
66306 #undef $ac_func
66307
66308 /* Override any gcc2 internal prototype to avoid an error. */
66309 #ifdef __cplusplus
66310 extern "C"
66311 {
66312 #endif
66313 /* We use char because int might match the return type of a gcc2
66314 builtin and then its argument prototype would still apply. */
66315 char $ac_func ();
66316 /* The GNU C library defines this for functions which it implements
66317 to always fail with ENOSYS. Some functions are actually named
66318 something starting with __ and the normal name is an alias. */
66319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66320 choke me
66321 #else
66322 char (*f) () = $ac_func;
66323 #endif
66324 #ifdef __cplusplus
66325 }
66326 #endif
66327
66328 int
66329 main ()
66330 {
66331 return f != $ac_func;
66332 ;
66333 return 0;
66334 }
66335 _ACEOF
66336 rm -f conftest.$ac_objext conftest$ac_exeext
66337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66338 (eval $ac_link) 2>conftest.er1
66339 ac_status=$?
66340 grep -v '^ *+' conftest.er1 >conftest.err
66341 rm -f conftest.er1
66342 cat conftest.err >&5
66343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66344 (exit $ac_status); } &&
66345 { ac_try='test -z "$ac_c_werror_flag"
66346 || test ! -s conftest.err'
66347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66348 (eval $ac_try) 2>&5
66349 ac_status=$?
66350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66351 (exit $ac_status); }; } &&
66352 { ac_try='test -s conftest$ac_exeext'
66353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66354 (eval $ac_try) 2>&5
66355 ac_status=$?
66356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66357 (exit $ac_status); }; }; then
66358 eval "$as_ac_var=yes"
66359 else
66360 echo "$as_me: failed program was:" >&5
66361 sed 's/^/| /' conftest.$ac_ext >&5
66362
66363 eval "$as_ac_var=no"
66364 fi
66365 rm -f conftest.err conftest.$ac_objext \
66366 conftest$ac_exeext conftest.$ac_ext
66367 fi
66368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66370 if test `eval echo '${'$as_ac_var'}'` = yes; then
66371 cat >>confdefs.h <<_ACEOF
66372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66373 _ACEOF
66374
66375 fi
66376 done
66377
66378 else
66379
66380 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66381 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66382 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66383 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66384 echo $ECHO_N "(cached) $ECHO_C" >&6
66385 else
66386
66387
66388
66389 ac_ext=cc
66390 ac_cpp='$CXXCPP $CPPFLAGS'
66391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66394
66395 cat >conftest.$ac_ext <<_ACEOF
66396 /* confdefs.h. */
66397 _ACEOF
66398 cat confdefs.h >>conftest.$ac_ext
66399 cat >>conftest.$ac_ext <<_ACEOF
66400 /* end confdefs.h. */
66401 #include <math.h>
66402 #ifdef HAVE_IEEEFP_H
66403 #include <ieeefp.h>
66404 #endif
66405
66406 int
66407 main ()
66408 {
66409 _qfpclass(0);
66410 ;
66411 return 0;
66412 }
66413 _ACEOF
66414 rm -f conftest.$ac_objext
66415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66416 (eval $ac_compile) 2>conftest.er1
66417 ac_status=$?
66418 grep -v '^ *+' conftest.er1 >conftest.err
66419 rm -f conftest.er1
66420 cat conftest.err >&5
66421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66422 (exit $ac_status); } &&
66423 { ac_try='test -z "$ac_cxx_werror_flag"
66424 || test ! -s conftest.err'
66425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66426 (eval $ac_try) 2>&5
66427 ac_status=$?
66428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66429 (exit $ac_status); }; } &&
66430 { ac_try='test -s conftest.$ac_objext'
66431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66432 (eval $ac_try) 2>&5
66433 ac_status=$?
66434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66435 (exit $ac_status); }; }; then
66436 glibcxx_cv_func__qfpclass_use=yes
66437 else
66438 echo "$as_me: failed program was:" >&5
66439 sed 's/^/| /' conftest.$ac_ext >&5
66440
66441 glibcxx_cv_func__qfpclass_use=no
66442 fi
66443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66444 ac_ext=c
66445 ac_cpp='$CPP $CPPFLAGS'
66446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66449
66450
66451 fi
66452
66453 fi
66454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66455 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66456
66457 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66458
66459 for ac_func in _qfpclass
66460 do
66461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66462 echo "$as_me:$LINENO: checking for $ac_func" >&5
66463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66464 if eval "test \"\${$as_ac_var+set}\" = set"; then
66465 echo $ECHO_N "(cached) $ECHO_C" >&6
66466 else
66467 if test x$gcc_no_link = xyes; then
66468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66470 { (exit 1); exit 1; }; }
66471 fi
66472 cat >conftest.$ac_ext <<_ACEOF
66473 /* confdefs.h. */
66474 _ACEOF
66475 cat confdefs.h >>conftest.$ac_ext
66476 cat >>conftest.$ac_ext <<_ACEOF
66477 /* end confdefs.h. */
66478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66480 #define $ac_func innocuous_$ac_func
66481
66482 /* System header to define __stub macros and hopefully few prototypes,
66483 which can conflict with char $ac_func (); below.
66484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66485 <limits.h> exists even on freestanding compilers. */
66486
66487 #ifdef __STDC__
66488 # include <limits.h>
66489 #else
66490 # include <assert.h>
66491 #endif
66492
66493 #undef $ac_func
66494
66495 /* Override any gcc2 internal prototype to avoid an error. */
66496 #ifdef __cplusplus
66497 extern "C"
66498 {
66499 #endif
66500 /* We use char because int might match the return type of a gcc2
66501 builtin and then its argument prototype would still apply. */
66502 char $ac_func ();
66503 /* The GNU C library defines this for functions which it implements
66504 to always fail with ENOSYS. Some functions are actually named
66505 something starting with __ and the normal name is an alias. */
66506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66507 choke me
66508 #else
66509 char (*f) () = $ac_func;
66510 #endif
66511 #ifdef __cplusplus
66512 }
66513 #endif
66514
66515 int
66516 main ()
66517 {
66518 return f != $ac_func;
66519 ;
66520 return 0;
66521 }
66522 _ACEOF
66523 rm -f conftest.$ac_objext conftest$ac_exeext
66524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66525 (eval $ac_link) 2>conftest.er1
66526 ac_status=$?
66527 grep -v '^ *+' conftest.er1 >conftest.err
66528 rm -f conftest.er1
66529 cat conftest.err >&5
66530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66531 (exit $ac_status); } &&
66532 { ac_try='test -z "$ac_c_werror_flag"
66533 || test ! -s conftest.err'
66534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66535 (eval $ac_try) 2>&5
66536 ac_status=$?
66537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66538 (exit $ac_status); }; } &&
66539 { ac_try='test -s conftest$ac_exeext'
66540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66541 (eval $ac_try) 2>&5
66542 ac_status=$?
66543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66544 (exit $ac_status); }; }; then
66545 eval "$as_ac_var=yes"
66546 else
66547 echo "$as_me: failed program was:" >&5
66548 sed 's/^/| /' conftest.$ac_ext >&5
66549
66550 eval "$as_ac_var=no"
66551 fi
66552 rm -f conftest.err conftest.$ac_objext \
66553 conftest$ac_exeext conftest.$ac_ext
66554 fi
66555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66557 if test `eval echo '${'$as_ac_var'}'` = yes; then
66558 cat >>confdefs.h <<_ACEOF
66559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66560 _ACEOF
66561
66562 fi
66563 done
66564
66565 fi
66566 fi
66567
66568
66569
66570
66571
66572
66573 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66574 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66575 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66576 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66577 echo $ECHO_N "(cached) $ECHO_C" >&6
66578 else
66579
66580
66581
66582 ac_ext=cc
66583 ac_cpp='$CXXCPP $CPPFLAGS'
66584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66587
66588 cat >conftest.$ac_ext <<_ACEOF
66589 /* confdefs.h. */
66590 _ACEOF
66591 cat confdefs.h >>conftest.$ac_ext
66592 cat >>conftest.$ac_ext <<_ACEOF
66593 /* end confdefs.h. */
66594 #include <math.h>
66595 int
66596 main ()
66597 {
66598 hypot(0, 0);
66599 ;
66600 return 0;
66601 }
66602 _ACEOF
66603 rm -f conftest.$ac_objext
66604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66605 (eval $ac_compile) 2>conftest.er1
66606 ac_status=$?
66607 grep -v '^ *+' conftest.er1 >conftest.err
66608 rm -f conftest.er1
66609 cat conftest.err >&5
66610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66611 (exit $ac_status); } &&
66612 { ac_try='test -z "$ac_cxx_werror_flag"
66613 || test ! -s conftest.err'
66614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66615 (eval $ac_try) 2>&5
66616 ac_status=$?
66617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66618 (exit $ac_status); }; } &&
66619 { ac_try='test -s conftest.$ac_objext'
66620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66621 (eval $ac_try) 2>&5
66622 ac_status=$?
66623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66624 (exit $ac_status); }; }; then
66625 glibcxx_cv_func_hypot_use=yes
66626 else
66627 echo "$as_me: failed program was:" >&5
66628 sed 's/^/| /' conftest.$ac_ext >&5
66629
66630 glibcxx_cv_func_hypot_use=no
66631 fi
66632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66633 ac_ext=c
66634 ac_cpp='$CPP $CPPFLAGS'
66635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66638
66639
66640 fi
66641
66642 fi
66643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66644 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66645
66646 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66647
66648 for ac_func in hypot
66649 do
66650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66651 echo "$as_me:$LINENO: checking for $ac_func" >&5
66652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66653 if eval "test \"\${$as_ac_var+set}\" = set"; then
66654 echo $ECHO_N "(cached) $ECHO_C" >&6
66655 else
66656 if test x$gcc_no_link = xyes; then
66657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66659 { (exit 1); exit 1; }; }
66660 fi
66661 cat >conftest.$ac_ext <<_ACEOF
66662 /* confdefs.h. */
66663 _ACEOF
66664 cat confdefs.h >>conftest.$ac_ext
66665 cat >>conftest.$ac_ext <<_ACEOF
66666 /* end confdefs.h. */
66667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66669 #define $ac_func innocuous_$ac_func
66670
66671 /* System header to define __stub macros and hopefully few prototypes,
66672 which can conflict with char $ac_func (); below.
66673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66674 <limits.h> exists even on freestanding compilers. */
66675
66676 #ifdef __STDC__
66677 # include <limits.h>
66678 #else
66679 # include <assert.h>
66680 #endif
66681
66682 #undef $ac_func
66683
66684 /* Override any gcc2 internal prototype to avoid an error. */
66685 #ifdef __cplusplus
66686 extern "C"
66687 {
66688 #endif
66689 /* We use char because int might match the return type of a gcc2
66690 builtin and then its argument prototype would still apply. */
66691 char $ac_func ();
66692 /* The GNU C library defines this for functions which it implements
66693 to always fail with ENOSYS. Some functions are actually named
66694 something starting with __ and the normal name is an alias. */
66695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66696 choke me
66697 #else
66698 char (*f) () = $ac_func;
66699 #endif
66700 #ifdef __cplusplus
66701 }
66702 #endif
66703
66704 int
66705 main ()
66706 {
66707 return f != $ac_func;
66708 ;
66709 return 0;
66710 }
66711 _ACEOF
66712 rm -f conftest.$ac_objext conftest$ac_exeext
66713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66714 (eval $ac_link) 2>conftest.er1
66715 ac_status=$?
66716 grep -v '^ *+' conftest.er1 >conftest.err
66717 rm -f conftest.er1
66718 cat conftest.err >&5
66719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66720 (exit $ac_status); } &&
66721 { ac_try='test -z "$ac_c_werror_flag"
66722 || test ! -s conftest.err'
66723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66724 (eval $ac_try) 2>&5
66725 ac_status=$?
66726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66727 (exit $ac_status); }; } &&
66728 { ac_try='test -s conftest$ac_exeext'
66729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66730 (eval $ac_try) 2>&5
66731 ac_status=$?
66732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733 (exit $ac_status); }; }; then
66734 eval "$as_ac_var=yes"
66735 else
66736 echo "$as_me: failed program was:" >&5
66737 sed 's/^/| /' conftest.$ac_ext >&5
66738
66739 eval "$as_ac_var=no"
66740 fi
66741 rm -f conftest.err conftest.$ac_objext \
66742 conftest$ac_exeext conftest.$ac_ext
66743 fi
66744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66746 if test `eval echo '${'$as_ac_var'}'` = yes; then
66747 cat >>confdefs.h <<_ACEOF
66748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66749 _ACEOF
66750
66751 fi
66752 done
66753
66754 else
66755
66756 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66757 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66758 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66759 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66760 echo $ECHO_N "(cached) $ECHO_C" >&6
66761 else
66762
66763
66764
66765 ac_ext=cc
66766 ac_cpp='$CXXCPP $CPPFLAGS'
66767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66770
66771 cat >conftest.$ac_ext <<_ACEOF
66772 /* confdefs.h. */
66773 _ACEOF
66774 cat confdefs.h >>conftest.$ac_ext
66775 cat >>conftest.$ac_ext <<_ACEOF
66776 /* end confdefs.h. */
66777 #include <math.h>
66778 int
66779 main ()
66780 {
66781 _hypot(0, 0);
66782 ;
66783 return 0;
66784 }
66785 _ACEOF
66786 rm -f conftest.$ac_objext
66787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66788 (eval $ac_compile) 2>conftest.er1
66789 ac_status=$?
66790 grep -v '^ *+' conftest.er1 >conftest.err
66791 rm -f conftest.er1
66792 cat conftest.err >&5
66793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66794 (exit $ac_status); } &&
66795 { ac_try='test -z "$ac_cxx_werror_flag"
66796 || test ! -s conftest.err'
66797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66798 (eval $ac_try) 2>&5
66799 ac_status=$?
66800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66801 (exit $ac_status); }; } &&
66802 { ac_try='test -s conftest.$ac_objext'
66803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66804 (eval $ac_try) 2>&5
66805 ac_status=$?
66806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66807 (exit $ac_status); }; }; then
66808 glibcxx_cv_func__hypot_use=yes
66809 else
66810 echo "$as_me: failed program was:" >&5
66811 sed 's/^/| /' conftest.$ac_ext >&5
66812
66813 glibcxx_cv_func__hypot_use=no
66814 fi
66815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66816 ac_ext=c
66817 ac_cpp='$CPP $CPPFLAGS'
66818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66821
66822
66823 fi
66824
66825 fi
66826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66827 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66828
66829 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66830
66831 for ac_func in _hypot
66832 do
66833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66834 echo "$as_me:$LINENO: checking for $ac_func" >&5
66835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66836 if eval "test \"\${$as_ac_var+set}\" = set"; then
66837 echo $ECHO_N "(cached) $ECHO_C" >&6
66838 else
66839 if test x$gcc_no_link = xyes; then
66840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66842 { (exit 1); exit 1; }; }
66843 fi
66844 cat >conftest.$ac_ext <<_ACEOF
66845 /* confdefs.h. */
66846 _ACEOF
66847 cat confdefs.h >>conftest.$ac_ext
66848 cat >>conftest.$ac_ext <<_ACEOF
66849 /* end confdefs.h. */
66850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66852 #define $ac_func innocuous_$ac_func
66853
66854 /* System header to define __stub macros and hopefully few prototypes,
66855 which can conflict with char $ac_func (); below.
66856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66857 <limits.h> exists even on freestanding compilers. */
66858
66859 #ifdef __STDC__
66860 # include <limits.h>
66861 #else
66862 # include <assert.h>
66863 #endif
66864
66865 #undef $ac_func
66866
66867 /* Override any gcc2 internal prototype to avoid an error. */
66868 #ifdef __cplusplus
66869 extern "C"
66870 {
66871 #endif
66872 /* We use char because int might match the return type of a gcc2
66873 builtin and then its argument prototype would still apply. */
66874 char $ac_func ();
66875 /* The GNU C library defines this for functions which it implements
66876 to always fail with ENOSYS. Some functions are actually named
66877 something starting with __ and the normal name is an alias. */
66878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66879 choke me
66880 #else
66881 char (*f) () = $ac_func;
66882 #endif
66883 #ifdef __cplusplus
66884 }
66885 #endif
66886
66887 int
66888 main ()
66889 {
66890 return f != $ac_func;
66891 ;
66892 return 0;
66893 }
66894 _ACEOF
66895 rm -f conftest.$ac_objext conftest$ac_exeext
66896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66897 (eval $ac_link) 2>conftest.er1
66898 ac_status=$?
66899 grep -v '^ *+' conftest.er1 >conftest.err
66900 rm -f conftest.er1
66901 cat conftest.err >&5
66902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66903 (exit $ac_status); } &&
66904 { ac_try='test -z "$ac_c_werror_flag"
66905 || test ! -s conftest.err'
66906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66907 (eval $ac_try) 2>&5
66908 ac_status=$?
66909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66910 (exit $ac_status); }; } &&
66911 { ac_try='test -s conftest$ac_exeext'
66912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66913 (eval $ac_try) 2>&5
66914 ac_status=$?
66915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66916 (exit $ac_status); }; }; then
66917 eval "$as_ac_var=yes"
66918 else
66919 echo "$as_me: failed program was:" >&5
66920 sed 's/^/| /' conftest.$ac_ext >&5
66921
66922 eval "$as_ac_var=no"
66923 fi
66924 rm -f conftest.err conftest.$ac_objext \
66925 conftest$ac_exeext conftest.$ac_ext
66926 fi
66927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66929 if test `eval echo '${'$as_ac_var'}'` = yes; then
66930 cat >>confdefs.h <<_ACEOF
66931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66932 _ACEOF
66933
66934 fi
66935 done
66936
66937 fi
66938 fi
66939
66940
66941
66942
66943
66944
66945 echo "$as_me:$LINENO: checking for float trig functions" >&5
66946 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66947 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66948 echo $ECHO_N "(cached) $ECHO_C" >&6
66949 else
66950
66951
66952
66953 ac_ext=cc
66954 ac_cpp='$CXXCPP $CPPFLAGS'
66955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66958
66959 cat >conftest.$ac_ext <<_ACEOF
66960 /* confdefs.h. */
66961 _ACEOF
66962 cat confdefs.h >>conftest.$ac_ext
66963 cat >>conftest.$ac_ext <<_ACEOF
66964 /* end confdefs.h. */
66965 #include <math.h>
66966 int
66967 main ()
66968 {
66969 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66970 ;
66971 return 0;
66972 }
66973 _ACEOF
66974 rm -f conftest.$ac_objext
66975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66976 (eval $ac_compile) 2>conftest.er1
66977 ac_status=$?
66978 grep -v '^ *+' conftest.er1 >conftest.err
66979 rm -f conftest.er1
66980 cat conftest.err >&5
66981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66982 (exit $ac_status); } &&
66983 { ac_try='test -z "$ac_cxx_werror_flag"
66984 || test ! -s conftest.err'
66985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66986 (eval $ac_try) 2>&5
66987 ac_status=$?
66988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66989 (exit $ac_status); }; } &&
66990 { ac_try='test -s conftest.$ac_objext'
66991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66992 (eval $ac_try) 2>&5
66993 ac_status=$?
66994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66995 (exit $ac_status); }; }; then
66996 glibcxx_cv_func_float_trig_use=yes
66997 else
66998 echo "$as_me: failed program was:" >&5
66999 sed 's/^/| /' conftest.$ac_ext >&5
67000
67001 glibcxx_cv_func_float_trig_use=no
67002 fi
67003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67004 ac_ext=c
67005 ac_cpp='$CPP $CPPFLAGS'
67006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67009
67010 fi
67011
67012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67013 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67014 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67015
67016
67017
67018
67019
67020
67021
67022
67023
67024 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67025 do
67026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67027 echo "$as_me:$LINENO: checking for $ac_func" >&5
67028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67029 if eval "test \"\${$as_ac_var+set}\" = set"; then
67030 echo $ECHO_N "(cached) $ECHO_C" >&6
67031 else
67032 if test x$gcc_no_link = xyes; then
67033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67035 { (exit 1); exit 1; }; }
67036 fi
67037 cat >conftest.$ac_ext <<_ACEOF
67038 /* confdefs.h. */
67039 _ACEOF
67040 cat confdefs.h >>conftest.$ac_ext
67041 cat >>conftest.$ac_ext <<_ACEOF
67042 /* end confdefs.h. */
67043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67045 #define $ac_func innocuous_$ac_func
67046
67047 /* System header to define __stub macros and hopefully few prototypes,
67048 which can conflict with char $ac_func (); below.
67049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67050 <limits.h> exists even on freestanding compilers. */
67051
67052 #ifdef __STDC__
67053 # include <limits.h>
67054 #else
67055 # include <assert.h>
67056 #endif
67057
67058 #undef $ac_func
67059
67060 /* Override any gcc2 internal prototype to avoid an error. */
67061 #ifdef __cplusplus
67062 extern "C"
67063 {
67064 #endif
67065 /* We use char because int might match the return type of a gcc2
67066 builtin and then its argument prototype would still apply. */
67067 char $ac_func ();
67068 /* The GNU C library defines this for functions which it implements
67069 to always fail with ENOSYS. Some functions are actually named
67070 something starting with __ and the normal name is an alias. */
67071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67072 choke me
67073 #else
67074 char (*f) () = $ac_func;
67075 #endif
67076 #ifdef __cplusplus
67077 }
67078 #endif
67079
67080 int
67081 main ()
67082 {
67083 return f != $ac_func;
67084 ;
67085 return 0;
67086 }
67087 _ACEOF
67088 rm -f conftest.$ac_objext conftest$ac_exeext
67089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67090 (eval $ac_link) 2>conftest.er1
67091 ac_status=$?
67092 grep -v '^ *+' conftest.er1 >conftest.err
67093 rm -f conftest.er1
67094 cat conftest.err >&5
67095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67096 (exit $ac_status); } &&
67097 { ac_try='test -z "$ac_c_werror_flag"
67098 || test ! -s conftest.err'
67099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67100 (eval $ac_try) 2>&5
67101 ac_status=$?
67102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67103 (exit $ac_status); }; } &&
67104 { ac_try='test -s conftest$ac_exeext'
67105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67106 (eval $ac_try) 2>&5
67107 ac_status=$?
67108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67109 (exit $ac_status); }; }; then
67110 eval "$as_ac_var=yes"
67111 else
67112 echo "$as_me: failed program was:" >&5
67113 sed 's/^/| /' conftest.$ac_ext >&5
67114
67115 eval "$as_ac_var=no"
67116 fi
67117 rm -f conftest.err conftest.$ac_objext \
67118 conftest$ac_exeext conftest.$ac_ext
67119 fi
67120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67122 if test `eval echo '${'$as_ac_var'}'` = yes; then
67123 cat >>confdefs.h <<_ACEOF
67124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67125 _ACEOF
67126
67127 fi
67128 done
67129
67130 else
67131 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67132 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67133 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67134 echo $ECHO_N "(cached) $ECHO_C" >&6
67135 else
67136
67137
67138
67139 ac_ext=cc
67140 ac_cpp='$CXXCPP $CPPFLAGS'
67141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67144
67145 cat >conftest.$ac_ext <<_ACEOF
67146 /* confdefs.h. */
67147 _ACEOF
67148 cat confdefs.h >>conftest.$ac_ext
67149 cat >>conftest.$ac_ext <<_ACEOF
67150 /* end confdefs.h. */
67151 #include <math.h>
67152 int
67153 main ()
67154 {
67155 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67156 ;
67157 return 0;
67158 }
67159 _ACEOF
67160 rm -f conftest.$ac_objext
67161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67162 (eval $ac_compile) 2>conftest.er1
67163 ac_status=$?
67164 grep -v '^ *+' conftest.er1 >conftest.err
67165 rm -f conftest.er1
67166 cat conftest.err >&5
67167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67168 (exit $ac_status); } &&
67169 { ac_try='test -z "$ac_cxx_werror_flag"
67170 || test ! -s conftest.err'
67171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67172 (eval $ac_try) 2>&5
67173 ac_status=$?
67174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67175 (exit $ac_status); }; } &&
67176 { ac_try='test -s conftest.$ac_objext'
67177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67178 (eval $ac_try) 2>&5
67179 ac_status=$?
67180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67181 (exit $ac_status); }; }; then
67182 glibcxx_cv_func__float_trig_use=yes
67183 else
67184 echo "$as_me: failed program was:" >&5
67185 sed 's/^/| /' conftest.$ac_ext >&5
67186
67187 glibcxx_cv_func__float_trig_use=no
67188 fi
67189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67190 ac_ext=c
67191 ac_cpp='$CPP $CPPFLAGS'
67192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67195
67196 fi
67197
67198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67199 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67200 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67201
67202
67203
67204
67205
67206
67207
67208
67209
67210 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67211 do
67212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67213 echo "$as_me:$LINENO: checking for $ac_func" >&5
67214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67215 if eval "test \"\${$as_ac_var+set}\" = set"; then
67216 echo $ECHO_N "(cached) $ECHO_C" >&6
67217 else
67218 if test x$gcc_no_link = xyes; then
67219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67221 { (exit 1); exit 1; }; }
67222 fi
67223 cat >conftest.$ac_ext <<_ACEOF
67224 /* confdefs.h. */
67225 _ACEOF
67226 cat confdefs.h >>conftest.$ac_ext
67227 cat >>conftest.$ac_ext <<_ACEOF
67228 /* end confdefs.h. */
67229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67231 #define $ac_func innocuous_$ac_func
67232
67233 /* System header to define __stub macros and hopefully few prototypes,
67234 which can conflict with char $ac_func (); below.
67235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67236 <limits.h> exists even on freestanding compilers. */
67237
67238 #ifdef __STDC__
67239 # include <limits.h>
67240 #else
67241 # include <assert.h>
67242 #endif
67243
67244 #undef $ac_func
67245
67246 /* Override any gcc2 internal prototype to avoid an error. */
67247 #ifdef __cplusplus
67248 extern "C"
67249 {
67250 #endif
67251 /* We use char because int might match the return type of a gcc2
67252 builtin and then its argument prototype would still apply. */
67253 char $ac_func ();
67254 /* The GNU C library defines this for functions which it implements
67255 to always fail with ENOSYS. Some functions are actually named
67256 something starting with __ and the normal name is an alias. */
67257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67258 choke me
67259 #else
67260 char (*f) () = $ac_func;
67261 #endif
67262 #ifdef __cplusplus
67263 }
67264 #endif
67265
67266 int
67267 main ()
67268 {
67269 return f != $ac_func;
67270 ;
67271 return 0;
67272 }
67273 _ACEOF
67274 rm -f conftest.$ac_objext conftest$ac_exeext
67275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67276 (eval $ac_link) 2>conftest.er1
67277 ac_status=$?
67278 grep -v '^ *+' conftest.er1 >conftest.err
67279 rm -f conftest.er1
67280 cat conftest.err >&5
67281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67282 (exit $ac_status); } &&
67283 { ac_try='test -z "$ac_c_werror_flag"
67284 || test ! -s conftest.err'
67285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67286 (eval $ac_try) 2>&5
67287 ac_status=$?
67288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67289 (exit $ac_status); }; } &&
67290 { ac_try='test -s conftest$ac_exeext'
67291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67292 (eval $ac_try) 2>&5
67293 ac_status=$?
67294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67295 (exit $ac_status); }; }; then
67296 eval "$as_ac_var=yes"
67297 else
67298 echo "$as_me: failed program was:" >&5
67299 sed 's/^/| /' conftest.$ac_ext >&5
67300
67301 eval "$as_ac_var=no"
67302 fi
67303 rm -f conftest.err conftest.$ac_objext \
67304 conftest$ac_exeext conftest.$ac_ext
67305 fi
67306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67308 if test `eval echo '${'$as_ac_var'}'` = yes; then
67309 cat >>confdefs.h <<_ACEOF
67310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67311 _ACEOF
67312
67313 fi
67314 done
67315
67316 fi
67317 fi
67318
67319
67320
67321
67322
67323
67324
67325
67326
67327
67328
67329
67330
67331
67332 echo "$as_me:$LINENO: checking for float round functions" >&5
67333 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67334 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67335 echo $ECHO_N "(cached) $ECHO_C" >&6
67336 else
67337
67338
67339
67340 ac_ext=cc
67341 ac_cpp='$CXXCPP $CPPFLAGS'
67342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67345
67346 cat >conftest.$ac_ext <<_ACEOF
67347 /* confdefs.h. */
67348 _ACEOF
67349 cat confdefs.h >>conftest.$ac_ext
67350 cat >>conftest.$ac_ext <<_ACEOF
67351 /* end confdefs.h. */
67352 #include <math.h>
67353 int
67354 main ()
67355 {
67356 ceilf (0); floorf (0);
67357 ;
67358 return 0;
67359 }
67360 _ACEOF
67361 rm -f conftest.$ac_objext
67362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67363 (eval $ac_compile) 2>conftest.er1
67364 ac_status=$?
67365 grep -v '^ *+' conftest.er1 >conftest.err
67366 rm -f conftest.er1
67367 cat conftest.err >&5
67368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67369 (exit $ac_status); } &&
67370 { ac_try='test -z "$ac_cxx_werror_flag"
67371 || test ! -s conftest.err'
67372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67373 (eval $ac_try) 2>&5
67374 ac_status=$?
67375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67376 (exit $ac_status); }; } &&
67377 { ac_try='test -s conftest.$ac_objext'
67378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67379 (eval $ac_try) 2>&5
67380 ac_status=$?
67381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67382 (exit $ac_status); }; }; then
67383 glibcxx_cv_func_float_round_use=yes
67384 else
67385 echo "$as_me: failed program was:" >&5
67386 sed 's/^/| /' conftest.$ac_ext >&5
67387
67388 glibcxx_cv_func_float_round_use=no
67389 fi
67390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67391 ac_ext=c
67392 ac_cpp='$CPP $CPPFLAGS'
67393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67396
67397 fi
67398
67399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67400 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67401 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67402
67403
67404 for ac_func in ceilf floorf
67405 do
67406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67407 echo "$as_me:$LINENO: checking for $ac_func" >&5
67408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67409 if eval "test \"\${$as_ac_var+set}\" = set"; then
67410 echo $ECHO_N "(cached) $ECHO_C" >&6
67411 else
67412 if test x$gcc_no_link = xyes; then
67413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67415 { (exit 1); exit 1; }; }
67416 fi
67417 cat >conftest.$ac_ext <<_ACEOF
67418 /* confdefs.h. */
67419 _ACEOF
67420 cat confdefs.h >>conftest.$ac_ext
67421 cat >>conftest.$ac_ext <<_ACEOF
67422 /* end confdefs.h. */
67423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67425 #define $ac_func innocuous_$ac_func
67426
67427 /* System header to define __stub macros and hopefully few prototypes,
67428 which can conflict with char $ac_func (); below.
67429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67430 <limits.h> exists even on freestanding compilers. */
67431
67432 #ifdef __STDC__
67433 # include <limits.h>
67434 #else
67435 # include <assert.h>
67436 #endif
67437
67438 #undef $ac_func
67439
67440 /* Override any gcc2 internal prototype to avoid an error. */
67441 #ifdef __cplusplus
67442 extern "C"
67443 {
67444 #endif
67445 /* We use char because int might match the return type of a gcc2
67446 builtin and then its argument prototype would still apply. */
67447 char $ac_func ();
67448 /* The GNU C library defines this for functions which it implements
67449 to always fail with ENOSYS. Some functions are actually named
67450 something starting with __ and the normal name is an alias. */
67451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67452 choke me
67453 #else
67454 char (*f) () = $ac_func;
67455 #endif
67456 #ifdef __cplusplus
67457 }
67458 #endif
67459
67460 int
67461 main ()
67462 {
67463 return f != $ac_func;
67464 ;
67465 return 0;
67466 }
67467 _ACEOF
67468 rm -f conftest.$ac_objext conftest$ac_exeext
67469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67470 (eval $ac_link) 2>conftest.er1
67471 ac_status=$?
67472 grep -v '^ *+' conftest.er1 >conftest.err
67473 rm -f conftest.er1
67474 cat conftest.err >&5
67475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67476 (exit $ac_status); } &&
67477 { ac_try='test -z "$ac_c_werror_flag"
67478 || test ! -s conftest.err'
67479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67480 (eval $ac_try) 2>&5
67481 ac_status=$?
67482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67483 (exit $ac_status); }; } &&
67484 { ac_try='test -s conftest$ac_exeext'
67485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67486 (eval $ac_try) 2>&5
67487 ac_status=$?
67488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67489 (exit $ac_status); }; }; then
67490 eval "$as_ac_var=yes"
67491 else
67492 echo "$as_me: failed program was:" >&5
67493 sed 's/^/| /' conftest.$ac_ext >&5
67494
67495 eval "$as_ac_var=no"
67496 fi
67497 rm -f conftest.err conftest.$ac_objext \
67498 conftest$ac_exeext conftest.$ac_ext
67499 fi
67500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67502 if test `eval echo '${'$as_ac_var'}'` = yes; then
67503 cat >>confdefs.h <<_ACEOF
67504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67505 _ACEOF
67506
67507 fi
67508 done
67509
67510 else
67511 echo "$as_me:$LINENO: checking for _float round functions" >&5
67512 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67513 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67514 echo $ECHO_N "(cached) $ECHO_C" >&6
67515 else
67516
67517
67518
67519 ac_ext=cc
67520 ac_cpp='$CXXCPP $CPPFLAGS'
67521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67524
67525 cat >conftest.$ac_ext <<_ACEOF
67526 /* confdefs.h. */
67527 _ACEOF
67528 cat confdefs.h >>conftest.$ac_ext
67529 cat >>conftest.$ac_ext <<_ACEOF
67530 /* end confdefs.h. */
67531 #include <math.h>
67532 int
67533 main ()
67534 {
67535 _ceilf (0); _floorf (0);
67536 ;
67537 return 0;
67538 }
67539 _ACEOF
67540 rm -f conftest.$ac_objext
67541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67542 (eval $ac_compile) 2>conftest.er1
67543 ac_status=$?
67544 grep -v '^ *+' conftest.er1 >conftest.err
67545 rm -f conftest.er1
67546 cat conftest.err >&5
67547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67548 (exit $ac_status); } &&
67549 { ac_try='test -z "$ac_cxx_werror_flag"
67550 || test ! -s conftest.err'
67551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67552 (eval $ac_try) 2>&5
67553 ac_status=$?
67554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67555 (exit $ac_status); }; } &&
67556 { ac_try='test -s conftest.$ac_objext'
67557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67558 (eval $ac_try) 2>&5
67559 ac_status=$?
67560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67561 (exit $ac_status); }; }; then
67562 glibcxx_cv_func__float_round_use=yes
67563 else
67564 echo "$as_me: failed program was:" >&5
67565 sed 's/^/| /' conftest.$ac_ext >&5
67566
67567 glibcxx_cv_func__float_round_use=no
67568 fi
67569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67570 ac_ext=c
67571 ac_cpp='$CPP $CPPFLAGS'
67572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67575
67576 fi
67577
67578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67579 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67580 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67581
67582
67583 for ac_func in _ceilf _floorf
67584 do
67585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67586 echo "$as_me:$LINENO: checking for $ac_func" >&5
67587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67588 if eval "test \"\${$as_ac_var+set}\" = set"; then
67589 echo $ECHO_N "(cached) $ECHO_C" >&6
67590 else
67591 if test x$gcc_no_link = xyes; then
67592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67594 { (exit 1); exit 1; }; }
67595 fi
67596 cat >conftest.$ac_ext <<_ACEOF
67597 /* confdefs.h. */
67598 _ACEOF
67599 cat confdefs.h >>conftest.$ac_ext
67600 cat >>conftest.$ac_ext <<_ACEOF
67601 /* end confdefs.h. */
67602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67604 #define $ac_func innocuous_$ac_func
67605
67606 /* System header to define __stub macros and hopefully few prototypes,
67607 which can conflict with char $ac_func (); below.
67608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67609 <limits.h> exists even on freestanding compilers. */
67610
67611 #ifdef __STDC__
67612 # include <limits.h>
67613 #else
67614 # include <assert.h>
67615 #endif
67616
67617 #undef $ac_func
67618
67619 /* Override any gcc2 internal prototype to avoid an error. */
67620 #ifdef __cplusplus
67621 extern "C"
67622 {
67623 #endif
67624 /* We use char because int might match the return type of a gcc2
67625 builtin and then its argument prototype would still apply. */
67626 char $ac_func ();
67627 /* The GNU C library defines this for functions which it implements
67628 to always fail with ENOSYS. Some functions are actually named
67629 something starting with __ and the normal name is an alias. */
67630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67631 choke me
67632 #else
67633 char (*f) () = $ac_func;
67634 #endif
67635 #ifdef __cplusplus
67636 }
67637 #endif
67638
67639 int
67640 main ()
67641 {
67642 return f != $ac_func;
67643 ;
67644 return 0;
67645 }
67646 _ACEOF
67647 rm -f conftest.$ac_objext conftest$ac_exeext
67648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67649 (eval $ac_link) 2>conftest.er1
67650 ac_status=$?
67651 grep -v '^ *+' conftest.er1 >conftest.err
67652 rm -f conftest.er1
67653 cat conftest.err >&5
67654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67655 (exit $ac_status); } &&
67656 { ac_try='test -z "$ac_c_werror_flag"
67657 || test ! -s conftest.err'
67658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67659 (eval $ac_try) 2>&5
67660 ac_status=$?
67661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67662 (exit $ac_status); }; } &&
67663 { ac_try='test -s conftest$ac_exeext'
67664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67665 (eval $ac_try) 2>&5
67666 ac_status=$?
67667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67668 (exit $ac_status); }; }; then
67669 eval "$as_ac_var=yes"
67670 else
67671 echo "$as_me: failed program was:" >&5
67672 sed 's/^/| /' conftest.$ac_ext >&5
67673
67674 eval "$as_ac_var=no"
67675 fi
67676 rm -f conftest.err conftest.$ac_objext \
67677 conftest$ac_exeext conftest.$ac_ext
67678 fi
67679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67681 if test `eval echo '${'$as_ac_var'}'` = yes; then
67682 cat >>confdefs.h <<_ACEOF
67683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67684 _ACEOF
67685
67686 fi
67687 done
67688
67689 fi
67690 fi
67691
67692
67693
67694
67695
67696
67697
67698
67699 echo "$as_me:$LINENO: checking for expf declaration" >&5
67700 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67701 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67702 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67703 echo $ECHO_N "(cached) $ECHO_C" >&6
67704 else
67705
67706
67707
67708 ac_ext=cc
67709 ac_cpp='$CXXCPP $CPPFLAGS'
67710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67713
67714 cat >conftest.$ac_ext <<_ACEOF
67715 /* confdefs.h. */
67716 _ACEOF
67717 cat confdefs.h >>conftest.$ac_ext
67718 cat >>conftest.$ac_ext <<_ACEOF
67719 /* end confdefs.h. */
67720 #include <math.h>
67721 #ifdef HAVE_IEEEFP_H
67722 #include <ieeefp.h>
67723 #endif
67724
67725 int
67726 main ()
67727 {
67728 expf(0);
67729 ;
67730 return 0;
67731 }
67732 _ACEOF
67733 rm -f conftest.$ac_objext
67734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67735 (eval $ac_compile) 2>conftest.er1
67736 ac_status=$?
67737 grep -v '^ *+' conftest.er1 >conftest.err
67738 rm -f conftest.er1
67739 cat conftest.err >&5
67740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67741 (exit $ac_status); } &&
67742 { ac_try='test -z "$ac_cxx_werror_flag"
67743 || test ! -s conftest.err'
67744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67745 (eval $ac_try) 2>&5
67746 ac_status=$?
67747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67748 (exit $ac_status); }; } &&
67749 { ac_try='test -s conftest.$ac_objext'
67750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67751 (eval $ac_try) 2>&5
67752 ac_status=$?
67753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67754 (exit $ac_status); }; }; then
67755 glibcxx_cv_func_expf_use=yes
67756 else
67757 echo "$as_me: failed program was:" >&5
67758 sed 's/^/| /' conftest.$ac_ext >&5
67759
67760 glibcxx_cv_func_expf_use=no
67761 fi
67762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67763 ac_ext=c
67764 ac_cpp='$CPP $CPPFLAGS'
67765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67768
67769
67770 fi
67771
67772 fi
67773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67774 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67775
67776 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67777
67778 for ac_func in expf
67779 do
67780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67781 echo "$as_me:$LINENO: checking for $ac_func" >&5
67782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67783 if eval "test \"\${$as_ac_var+set}\" = set"; then
67784 echo $ECHO_N "(cached) $ECHO_C" >&6
67785 else
67786 if test x$gcc_no_link = xyes; then
67787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67789 { (exit 1); exit 1; }; }
67790 fi
67791 cat >conftest.$ac_ext <<_ACEOF
67792 /* confdefs.h. */
67793 _ACEOF
67794 cat confdefs.h >>conftest.$ac_ext
67795 cat >>conftest.$ac_ext <<_ACEOF
67796 /* end confdefs.h. */
67797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67799 #define $ac_func innocuous_$ac_func
67800
67801 /* System header to define __stub macros and hopefully few prototypes,
67802 which can conflict with char $ac_func (); below.
67803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67804 <limits.h> exists even on freestanding compilers. */
67805
67806 #ifdef __STDC__
67807 # include <limits.h>
67808 #else
67809 # include <assert.h>
67810 #endif
67811
67812 #undef $ac_func
67813
67814 /* Override any gcc2 internal prototype to avoid an error. */
67815 #ifdef __cplusplus
67816 extern "C"
67817 {
67818 #endif
67819 /* We use char because int might match the return type of a gcc2
67820 builtin and then its argument prototype would still apply. */
67821 char $ac_func ();
67822 /* The GNU C library defines this for functions which it implements
67823 to always fail with ENOSYS. Some functions are actually named
67824 something starting with __ and the normal name is an alias. */
67825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67826 choke me
67827 #else
67828 char (*f) () = $ac_func;
67829 #endif
67830 #ifdef __cplusplus
67831 }
67832 #endif
67833
67834 int
67835 main ()
67836 {
67837 return f != $ac_func;
67838 ;
67839 return 0;
67840 }
67841 _ACEOF
67842 rm -f conftest.$ac_objext conftest$ac_exeext
67843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67844 (eval $ac_link) 2>conftest.er1
67845 ac_status=$?
67846 grep -v '^ *+' conftest.er1 >conftest.err
67847 rm -f conftest.er1
67848 cat conftest.err >&5
67849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67850 (exit $ac_status); } &&
67851 { ac_try='test -z "$ac_c_werror_flag"
67852 || test ! -s conftest.err'
67853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67854 (eval $ac_try) 2>&5
67855 ac_status=$?
67856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67857 (exit $ac_status); }; } &&
67858 { ac_try='test -s conftest$ac_exeext'
67859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67860 (eval $ac_try) 2>&5
67861 ac_status=$?
67862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67863 (exit $ac_status); }; }; then
67864 eval "$as_ac_var=yes"
67865 else
67866 echo "$as_me: failed program was:" >&5
67867 sed 's/^/| /' conftest.$ac_ext >&5
67868
67869 eval "$as_ac_var=no"
67870 fi
67871 rm -f conftest.err conftest.$ac_objext \
67872 conftest$ac_exeext conftest.$ac_ext
67873 fi
67874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67876 if test `eval echo '${'$as_ac_var'}'` = yes; then
67877 cat >>confdefs.h <<_ACEOF
67878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67879 _ACEOF
67880
67881 fi
67882 done
67883
67884 else
67885
67886 echo "$as_me:$LINENO: checking for _expf declaration" >&5
67887 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67888 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67889 if test "${glibcxx_cv_func__expf_use+set}" = set; then
67890 echo $ECHO_N "(cached) $ECHO_C" >&6
67891 else
67892
67893
67894
67895 ac_ext=cc
67896 ac_cpp='$CXXCPP $CPPFLAGS'
67897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67900
67901 cat >conftest.$ac_ext <<_ACEOF
67902 /* confdefs.h. */
67903 _ACEOF
67904 cat confdefs.h >>conftest.$ac_ext
67905 cat >>conftest.$ac_ext <<_ACEOF
67906 /* end confdefs.h. */
67907 #include <math.h>
67908 #ifdef HAVE_IEEEFP_H
67909 #include <ieeefp.h>
67910 #endif
67911
67912 int
67913 main ()
67914 {
67915 _expf(0);
67916 ;
67917 return 0;
67918 }
67919 _ACEOF
67920 rm -f conftest.$ac_objext
67921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67922 (eval $ac_compile) 2>conftest.er1
67923 ac_status=$?
67924 grep -v '^ *+' conftest.er1 >conftest.err
67925 rm -f conftest.er1
67926 cat conftest.err >&5
67927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67928 (exit $ac_status); } &&
67929 { ac_try='test -z "$ac_cxx_werror_flag"
67930 || test ! -s conftest.err'
67931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67932 (eval $ac_try) 2>&5
67933 ac_status=$?
67934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67935 (exit $ac_status); }; } &&
67936 { ac_try='test -s conftest.$ac_objext'
67937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67938 (eval $ac_try) 2>&5
67939 ac_status=$?
67940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67941 (exit $ac_status); }; }; then
67942 glibcxx_cv_func__expf_use=yes
67943 else
67944 echo "$as_me: failed program was:" >&5
67945 sed 's/^/| /' conftest.$ac_ext >&5
67946
67947 glibcxx_cv_func__expf_use=no
67948 fi
67949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67950 ac_ext=c
67951 ac_cpp='$CPP $CPPFLAGS'
67952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67955
67956
67957 fi
67958
67959 fi
67960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67961 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67962
67963 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67964
67965 for ac_func in _expf
67966 do
67967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67968 echo "$as_me:$LINENO: checking for $ac_func" >&5
67969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67970 if eval "test \"\${$as_ac_var+set}\" = set"; then
67971 echo $ECHO_N "(cached) $ECHO_C" >&6
67972 else
67973 if test x$gcc_no_link = xyes; then
67974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67976 { (exit 1); exit 1; }; }
67977 fi
67978 cat >conftest.$ac_ext <<_ACEOF
67979 /* confdefs.h. */
67980 _ACEOF
67981 cat confdefs.h >>conftest.$ac_ext
67982 cat >>conftest.$ac_ext <<_ACEOF
67983 /* end confdefs.h. */
67984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67986 #define $ac_func innocuous_$ac_func
67987
67988 /* System header to define __stub macros and hopefully few prototypes,
67989 which can conflict with char $ac_func (); below.
67990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67991 <limits.h> exists even on freestanding compilers. */
67992
67993 #ifdef __STDC__
67994 # include <limits.h>
67995 #else
67996 # include <assert.h>
67997 #endif
67998
67999 #undef $ac_func
68000
68001 /* Override any gcc2 internal prototype to avoid an error. */
68002 #ifdef __cplusplus
68003 extern "C"
68004 {
68005 #endif
68006 /* We use char because int might match the return type of a gcc2
68007 builtin and then its argument prototype would still apply. */
68008 char $ac_func ();
68009 /* The GNU C library defines this for functions which it implements
68010 to always fail with ENOSYS. Some functions are actually named
68011 something starting with __ and the normal name is an alias. */
68012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68013 choke me
68014 #else
68015 char (*f) () = $ac_func;
68016 #endif
68017 #ifdef __cplusplus
68018 }
68019 #endif
68020
68021 int
68022 main ()
68023 {
68024 return f != $ac_func;
68025 ;
68026 return 0;
68027 }
68028 _ACEOF
68029 rm -f conftest.$ac_objext conftest$ac_exeext
68030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68031 (eval $ac_link) 2>conftest.er1
68032 ac_status=$?
68033 grep -v '^ *+' conftest.er1 >conftest.err
68034 rm -f conftest.er1
68035 cat conftest.err >&5
68036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68037 (exit $ac_status); } &&
68038 { ac_try='test -z "$ac_c_werror_flag"
68039 || test ! -s conftest.err'
68040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68041 (eval $ac_try) 2>&5
68042 ac_status=$?
68043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68044 (exit $ac_status); }; } &&
68045 { ac_try='test -s conftest$ac_exeext'
68046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68047 (eval $ac_try) 2>&5
68048 ac_status=$?
68049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68050 (exit $ac_status); }; }; then
68051 eval "$as_ac_var=yes"
68052 else
68053 echo "$as_me: failed program was:" >&5
68054 sed 's/^/| /' conftest.$ac_ext >&5
68055
68056 eval "$as_ac_var=no"
68057 fi
68058 rm -f conftest.err conftest.$ac_objext \
68059 conftest$ac_exeext conftest.$ac_ext
68060 fi
68061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68063 if test `eval echo '${'$as_ac_var'}'` = yes; then
68064 cat >>confdefs.h <<_ACEOF
68065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68066 _ACEOF
68067
68068 fi
68069 done
68070
68071 fi
68072 fi
68073
68074
68075
68076
68077
68078
68079 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68080 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68081 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68082 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68083 echo $ECHO_N "(cached) $ECHO_C" >&6
68084 else
68085
68086
68087
68088 ac_ext=cc
68089 ac_cpp='$CXXCPP $CPPFLAGS'
68090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68093
68094 cat >conftest.$ac_ext <<_ACEOF
68095 /* confdefs.h. */
68096 _ACEOF
68097 cat confdefs.h >>conftest.$ac_ext
68098 cat >>conftest.$ac_ext <<_ACEOF
68099 /* end confdefs.h. */
68100 #include <math.h>
68101 #ifdef HAVE_IEEEFP_H
68102 #include <ieeefp.h>
68103 #endif
68104
68105 int
68106 main ()
68107 {
68108 isnanf(0);
68109 ;
68110 return 0;
68111 }
68112 _ACEOF
68113 rm -f conftest.$ac_objext
68114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68115 (eval $ac_compile) 2>conftest.er1
68116 ac_status=$?
68117 grep -v '^ *+' conftest.er1 >conftest.err
68118 rm -f conftest.er1
68119 cat conftest.err >&5
68120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68121 (exit $ac_status); } &&
68122 { ac_try='test -z "$ac_cxx_werror_flag"
68123 || test ! -s conftest.err'
68124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68125 (eval $ac_try) 2>&5
68126 ac_status=$?
68127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68128 (exit $ac_status); }; } &&
68129 { ac_try='test -s conftest.$ac_objext'
68130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68131 (eval $ac_try) 2>&5
68132 ac_status=$?
68133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68134 (exit $ac_status); }; }; then
68135 glibcxx_cv_func_isnanf_use=yes
68136 else
68137 echo "$as_me: failed program was:" >&5
68138 sed 's/^/| /' conftest.$ac_ext >&5
68139
68140 glibcxx_cv_func_isnanf_use=no
68141 fi
68142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68143 ac_ext=c
68144 ac_cpp='$CPP $CPPFLAGS'
68145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68148
68149
68150 fi
68151
68152 fi
68153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68154 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68155
68156 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68157
68158 for ac_func in isnanf
68159 do
68160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68161 echo "$as_me:$LINENO: checking for $ac_func" >&5
68162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68163 if eval "test \"\${$as_ac_var+set}\" = set"; then
68164 echo $ECHO_N "(cached) $ECHO_C" >&6
68165 else
68166 if test x$gcc_no_link = xyes; then
68167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68169 { (exit 1); exit 1; }; }
68170 fi
68171 cat >conftest.$ac_ext <<_ACEOF
68172 /* confdefs.h. */
68173 _ACEOF
68174 cat confdefs.h >>conftest.$ac_ext
68175 cat >>conftest.$ac_ext <<_ACEOF
68176 /* end confdefs.h. */
68177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68179 #define $ac_func innocuous_$ac_func
68180
68181 /* System header to define __stub macros and hopefully few prototypes,
68182 which can conflict with char $ac_func (); below.
68183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68184 <limits.h> exists even on freestanding compilers. */
68185
68186 #ifdef __STDC__
68187 # include <limits.h>
68188 #else
68189 # include <assert.h>
68190 #endif
68191
68192 #undef $ac_func
68193
68194 /* Override any gcc2 internal prototype to avoid an error. */
68195 #ifdef __cplusplus
68196 extern "C"
68197 {
68198 #endif
68199 /* We use char because int might match the return type of a gcc2
68200 builtin and then its argument prototype would still apply. */
68201 char $ac_func ();
68202 /* The GNU C library defines this for functions which it implements
68203 to always fail with ENOSYS. Some functions are actually named
68204 something starting with __ and the normal name is an alias. */
68205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68206 choke me
68207 #else
68208 char (*f) () = $ac_func;
68209 #endif
68210 #ifdef __cplusplus
68211 }
68212 #endif
68213
68214 int
68215 main ()
68216 {
68217 return f != $ac_func;
68218 ;
68219 return 0;
68220 }
68221 _ACEOF
68222 rm -f conftest.$ac_objext conftest$ac_exeext
68223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68224 (eval $ac_link) 2>conftest.er1
68225 ac_status=$?
68226 grep -v '^ *+' conftest.er1 >conftest.err
68227 rm -f conftest.er1
68228 cat conftest.err >&5
68229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68230 (exit $ac_status); } &&
68231 { ac_try='test -z "$ac_c_werror_flag"
68232 || test ! -s conftest.err'
68233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68234 (eval $ac_try) 2>&5
68235 ac_status=$?
68236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68237 (exit $ac_status); }; } &&
68238 { ac_try='test -s conftest$ac_exeext'
68239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68240 (eval $ac_try) 2>&5
68241 ac_status=$?
68242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68243 (exit $ac_status); }; }; then
68244 eval "$as_ac_var=yes"
68245 else
68246 echo "$as_me: failed program was:" >&5
68247 sed 's/^/| /' conftest.$ac_ext >&5
68248
68249 eval "$as_ac_var=no"
68250 fi
68251 rm -f conftest.err conftest.$ac_objext \
68252 conftest$ac_exeext conftest.$ac_ext
68253 fi
68254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68256 if test `eval echo '${'$as_ac_var'}'` = yes; then
68257 cat >>confdefs.h <<_ACEOF
68258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68259 _ACEOF
68260
68261 fi
68262 done
68263
68264 else
68265
68266 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68267 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68268 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68269 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68270 echo $ECHO_N "(cached) $ECHO_C" >&6
68271 else
68272
68273
68274
68275 ac_ext=cc
68276 ac_cpp='$CXXCPP $CPPFLAGS'
68277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280
68281 cat >conftest.$ac_ext <<_ACEOF
68282 /* confdefs.h. */
68283 _ACEOF
68284 cat confdefs.h >>conftest.$ac_ext
68285 cat >>conftest.$ac_ext <<_ACEOF
68286 /* end confdefs.h. */
68287 #include <math.h>
68288 #ifdef HAVE_IEEEFP_H
68289 #include <ieeefp.h>
68290 #endif
68291
68292 int
68293 main ()
68294 {
68295 _isnanf(0);
68296 ;
68297 return 0;
68298 }
68299 _ACEOF
68300 rm -f conftest.$ac_objext
68301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68302 (eval $ac_compile) 2>conftest.er1
68303 ac_status=$?
68304 grep -v '^ *+' conftest.er1 >conftest.err
68305 rm -f conftest.er1
68306 cat conftest.err >&5
68307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68308 (exit $ac_status); } &&
68309 { ac_try='test -z "$ac_cxx_werror_flag"
68310 || test ! -s conftest.err'
68311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68312 (eval $ac_try) 2>&5
68313 ac_status=$?
68314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68315 (exit $ac_status); }; } &&
68316 { ac_try='test -s conftest.$ac_objext'
68317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68318 (eval $ac_try) 2>&5
68319 ac_status=$?
68320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68321 (exit $ac_status); }; }; then
68322 glibcxx_cv_func__isnanf_use=yes
68323 else
68324 echo "$as_me: failed program was:" >&5
68325 sed 's/^/| /' conftest.$ac_ext >&5
68326
68327 glibcxx_cv_func__isnanf_use=no
68328 fi
68329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68330 ac_ext=c
68331 ac_cpp='$CPP $CPPFLAGS'
68332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68335
68336
68337 fi
68338
68339 fi
68340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68341 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68342
68343 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68344
68345 for ac_func in _isnanf
68346 do
68347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68348 echo "$as_me:$LINENO: checking for $ac_func" >&5
68349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68350 if eval "test \"\${$as_ac_var+set}\" = set"; then
68351 echo $ECHO_N "(cached) $ECHO_C" >&6
68352 else
68353 if test x$gcc_no_link = xyes; then
68354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68356 { (exit 1); exit 1; }; }
68357 fi
68358 cat >conftest.$ac_ext <<_ACEOF
68359 /* confdefs.h. */
68360 _ACEOF
68361 cat confdefs.h >>conftest.$ac_ext
68362 cat >>conftest.$ac_ext <<_ACEOF
68363 /* end confdefs.h. */
68364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68366 #define $ac_func innocuous_$ac_func
68367
68368 /* System header to define __stub macros and hopefully few prototypes,
68369 which can conflict with char $ac_func (); below.
68370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68371 <limits.h> exists even on freestanding compilers. */
68372
68373 #ifdef __STDC__
68374 # include <limits.h>
68375 #else
68376 # include <assert.h>
68377 #endif
68378
68379 #undef $ac_func
68380
68381 /* Override any gcc2 internal prototype to avoid an error. */
68382 #ifdef __cplusplus
68383 extern "C"
68384 {
68385 #endif
68386 /* We use char because int might match the return type of a gcc2
68387 builtin and then its argument prototype would still apply. */
68388 char $ac_func ();
68389 /* The GNU C library defines this for functions which it implements
68390 to always fail with ENOSYS. Some functions are actually named
68391 something starting with __ and the normal name is an alias. */
68392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68393 choke me
68394 #else
68395 char (*f) () = $ac_func;
68396 #endif
68397 #ifdef __cplusplus
68398 }
68399 #endif
68400
68401 int
68402 main ()
68403 {
68404 return f != $ac_func;
68405 ;
68406 return 0;
68407 }
68408 _ACEOF
68409 rm -f conftest.$ac_objext conftest$ac_exeext
68410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68411 (eval $ac_link) 2>conftest.er1
68412 ac_status=$?
68413 grep -v '^ *+' conftest.er1 >conftest.err
68414 rm -f conftest.er1
68415 cat conftest.err >&5
68416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68417 (exit $ac_status); } &&
68418 { ac_try='test -z "$ac_c_werror_flag"
68419 || test ! -s conftest.err'
68420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68421 (eval $ac_try) 2>&5
68422 ac_status=$?
68423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68424 (exit $ac_status); }; } &&
68425 { ac_try='test -s conftest$ac_exeext'
68426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68427 (eval $ac_try) 2>&5
68428 ac_status=$?
68429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68430 (exit $ac_status); }; }; then
68431 eval "$as_ac_var=yes"
68432 else
68433 echo "$as_me: failed program was:" >&5
68434 sed 's/^/| /' conftest.$ac_ext >&5
68435
68436 eval "$as_ac_var=no"
68437 fi
68438 rm -f conftest.err conftest.$ac_objext \
68439 conftest$ac_exeext conftest.$ac_ext
68440 fi
68441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68443 if test `eval echo '${'$as_ac_var'}'` = yes; then
68444 cat >>confdefs.h <<_ACEOF
68445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68446 _ACEOF
68447
68448 fi
68449 done
68450
68451 fi
68452 fi
68453
68454
68455
68456
68457
68458
68459 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68460 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68461 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68462 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68463 echo $ECHO_N "(cached) $ECHO_C" >&6
68464 else
68465
68466
68467
68468 ac_ext=cc
68469 ac_cpp='$CXXCPP $CPPFLAGS'
68470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68473
68474 cat >conftest.$ac_ext <<_ACEOF
68475 /* confdefs.h. */
68476 _ACEOF
68477 cat confdefs.h >>conftest.$ac_ext
68478 cat >>conftest.$ac_ext <<_ACEOF
68479 /* end confdefs.h. */
68480 #include <math.h>
68481 #ifdef HAVE_IEEEFP_H
68482 #include <ieeefp.h>
68483 #endif
68484
68485 int
68486 main ()
68487 {
68488 isinff(0);
68489 ;
68490 return 0;
68491 }
68492 _ACEOF
68493 rm -f conftest.$ac_objext
68494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68495 (eval $ac_compile) 2>conftest.er1
68496 ac_status=$?
68497 grep -v '^ *+' conftest.er1 >conftest.err
68498 rm -f conftest.er1
68499 cat conftest.err >&5
68500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68501 (exit $ac_status); } &&
68502 { ac_try='test -z "$ac_cxx_werror_flag"
68503 || test ! -s conftest.err'
68504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68505 (eval $ac_try) 2>&5
68506 ac_status=$?
68507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68508 (exit $ac_status); }; } &&
68509 { ac_try='test -s conftest.$ac_objext'
68510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68511 (eval $ac_try) 2>&5
68512 ac_status=$?
68513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68514 (exit $ac_status); }; }; then
68515 glibcxx_cv_func_isinff_use=yes
68516 else
68517 echo "$as_me: failed program was:" >&5
68518 sed 's/^/| /' conftest.$ac_ext >&5
68519
68520 glibcxx_cv_func_isinff_use=no
68521 fi
68522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68523 ac_ext=c
68524 ac_cpp='$CPP $CPPFLAGS'
68525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68528
68529
68530 fi
68531
68532 fi
68533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68534 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68535
68536 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68537
68538 for ac_func in isinff
68539 do
68540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68541 echo "$as_me:$LINENO: checking for $ac_func" >&5
68542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68543 if eval "test \"\${$as_ac_var+set}\" = set"; then
68544 echo $ECHO_N "(cached) $ECHO_C" >&6
68545 else
68546 if test x$gcc_no_link = xyes; then
68547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68549 { (exit 1); exit 1; }; }
68550 fi
68551 cat >conftest.$ac_ext <<_ACEOF
68552 /* confdefs.h. */
68553 _ACEOF
68554 cat confdefs.h >>conftest.$ac_ext
68555 cat >>conftest.$ac_ext <<_ACEOF
68556 /* end confdefs.h. */
68557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68559 #define $ac_func innocuous_$ac_func
68560
68561 /* System header to define __stub macros and hopefully few prototypes,
68562 which can conflict with char $ac_func (); below.
68563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68564 <limits.h> exists even on freestanding compilers. */
68565
68566 #ifdef __STDC__
68567 # include <limits.h>
68568 #else
68569 # include <assert.h>
68570 #endif
68571
68572 #undef $ac_func
68573
68574 /* Override any gcc2 internal prototype to avoid an error. */
68575 #ifdef __cplusplus
68576 extern "C"
68577 {
68578 #endif
68579 /* We use char because int might match the return type of a gcc2
68580 builtin and then its argument prototype would still apply. */
68581 char $ac_func ();
68582 /* The GNU C library defines this for functions which it implements
68583 to always fail with ENOSYS. Some functions are actually named
68584 something starting with __ and the normal name is an alias. */
68585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68586 choke me
68587 #else
68588 char (*f) () = $ac_func;
68589 #endif
68590 #ifdef __cplusplus
68591 }
68592 #endif
68593
68594 int
68595 main ()
68596 {
68597 return f != $ac_func;
68598 ;
68599 return 0;
68600 }
68601 _ACEOF
68602 rm -f conftest.$ac_objext conftest$ac_exeext
68603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68604 (eval $ac_link) 2>conftest.er1
68605 ac_status=$?
68606 grep -v '^ *+' conftest.er1 >conftest.err
68607 rm -f conftest.er1
68608 cat conftest.err >&5
68609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68610 (exit $ac_status); } &&
68611 { ac_try='test -z "$ac_c_werror_flag"
68612 || test ! -s conftest.err'
68613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68614 (eval $ac_try) 2>&5
68615 ac_status=$?
68616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68617 (exit $ac_status); }; } &&
68618 { ac_try='test -s conftest$ac_exeext'
68619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68620 (eval $ac_try) 2>&5
68621 ac_status=$?
68622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68623 (exit $ac_status); }; }; then
68624 eval "$as_ac_var=yes"
68625 else
68626 echo "$as_me: failed program was:" >&5
68627 sed 's/^/| /' conftest.$ac_ext >&5
68628
68629 eval "$as_ac_var=no"
68630 fi
68631 rm -f conftest.err conftest.$ac_objext \
68632 conftest$ac_exeext conftest.$ac_ext
68633 fi
68634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68636 if test `eval echo '${'$as_ac_var'}'` = yes; then
68637 cat >>confdefs.h <<_ACEOF
68638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68639 _ACEOF
68640
68641 fi
68642 done
68643
68644 else
68645
68646 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68647 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68648 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68649 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68650 echo $ECHO_N "(cached) $ECHO_C" >&6
68651 else
68652
68653
68654
68655 ac_ext=cc
68656 ac_cpp='$CXXCPP $CPPFLAGS'
68657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68660
68661 cat >conftest.$ac_ext <<_ACEOF
68662 /* confdefs.h. */
68663 _ACEOF
68664 cat confdefs.h >>conftest.$ac_ext
68665 cat >>conftest.$ac_ext <<_ACEOF
68666 /* end confdefs.h. */
68667 #include <math.h>
68668 #ifdef HAVE_IEEEFP_H
68669 #include <ieeefp.h>
68670 #endif
68671
68672 int
68673 main ()
68674 {
68675 _isinff(0);
68676 ;
68677 return 0;
68678 }
68679 _ACEOF
68680 rm -f conftest.$ac_objext
68681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68682 (eval $ac_compile) 2>conftest.er1
68683 ac_status=$?
68684 grep -v '^ *+' conftest.er1 >conftest.err
68685 rm -f conftest.er1
68686 cat conftest.err >&5
68687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68688 (exit $ac_status); } &&
68689 { ac_try='test -z "$ac_cxx_werror_flag"
68690 || test ! -s conftest.err'
68691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68692 (eval $ac_try) 2>&5
68693 ac_status=$?
68694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68695 (exit $ac_status); }; } &&
68696 { ac_try='test -s conftest.$ac_objext'
68697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68698 (eval $ac_try) 2>&5
68699 ac_status=$?
68700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68701 (exit $ac_status); }; }; then
68702 glibcxx_cv_func__isinff_use=yes
68703 else
68704 echo "$as_me: failed program was:" >&5
68705 sed 's/^/| /' conftest.$ac_ext >&5
68706
68707 glibcxx_cv_func__isinff_use=no
68708 fi
68709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68710 ac_ext=c
68711 ac_cpp='$CPP $CPPFLAGS'
68712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68715
68716
68717 fi
68718
68719 fi
68720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68721 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68722
68723 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68724
68725 for ac_func in _isinff
68726 do
68727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68728 echo "$as_me:$LINENO: checking for $ac_func" >&5
68729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68730 if eval "test \"\${$as_ac_var+set}\" = set"; then
68731 echo $ECHO_N "(cached) $ECHO_C" >&6
68732 else
68733 if test x$gcc_no_link = xyes; then
68734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68736 { (exit 1); exit 1; }; }
68737 fi
68738 cat >conftest.$ac_ext <<_ACEOF
68739 /* confdefs.h. */
68740 _ACEOF
68741 cat confdefs.h >>conftest.$ac_ext
68742 cat >>conftest.$ac_ext <<_ACEOF
68743 /* end confdefs.h. */
68744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68746 #define $ac_func innocuous_$ac_func
68747
68748 /* System header to define __stub macros and hopefully few prototypes,
68749 which can conflict with char $ac_func (); below.
68750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68751 <limits.h> exists even on freestanding compilers. */
68752
68753 #ifdef __STDC__
68754 # include <limits.h>
68755 #else
68756 # include <assert.h>
68757 #endif
68758
68759 #undef $ac_func
68760
68761 /* Override any gcc2 internal prototype to avoid an error. */
68762 #ifdef __cplusplus
68763 extern "C"
68764 {
68765 #endif
68766 /* We use char because int might match the return type of a gcc2
68767 builtin and then its argument prototype would still apply. */
68768 char $ac_func ();
68769 /* The GNU C library defines this for functions which it implements
68770 to always fail with ENOSYS. Some functions are actually named
68771 something starting with __ and the normal name is an alias. */
68772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68773 choke me
68774 #else
68775 char (*f) () = $ac_func;
68776 #endif
68777 #ifdef __cplusplus
68778 }
68779 #endif
68780
68781 int
68782 main ()
68783 {
68784 return f != $ac_func;
68785 ;
68786 return 0;
68787 }
68788 _ACEOF
68789 rm -f conftest.$ac_objext conftest$ac_exeext
68790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68791 (eval $ac_link) 2>conftest.er1
68792 ac_status=$?
68793 grep -v '^ *+' conftest.er1 >conftest.err
68794 rm -f conftest.er1
68795 cat conftest.err >&5
68796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68797 (exit $ac_status); } &&
68798 { ac_try='test -z "$ac_c_werror_flag"
68799 || test ! -s conftest.err'
68800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68801 (eval $ac_try) 2>&5
68802 ac_status=$?
68803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804 (exit $ac_status); }; } &&
68805 { ac_try='test -s conftest$ac_exeext'
68806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68807 (eval $ac_try) 2>&5
68808 ac_status=$?
68809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68810 (exit $ac_status); }; }; then
68811 eval "$as_ac_var=yes"
68812 else
68813 echo "$as_me: failed program was:" >&5
68814 sed 's/^/| /' conftest.$ac_ext >&5
68815
68816 eval "$as_ac_var=no"
68817 fi
68818 rm -f conftest.err conftest.$ac_objext \
68819 conftest$ac_exeext conftest.$ac_ext
68820 fi
68821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68823 if test `eval echo '${'$as_ac_var'}'` = yes; then
68824 cat >>confdefs.h <<_ACEOF
68825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68826 _ACEOF
68827
68828 fi
68829 done
68830
68831 fi
68832 fi
68833
68834
68835
68836
68837
68838
68839 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68840 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68843 echo $ECHO_N "(cached) $ECHO_C" >&6
68844 else
68845
68846
68847
68848 ac_ext=cc
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853
68854 cat >conftest.$ac_ext <<_ACEOF
68855 /* confdefs.h. */
68856 _ACEOF
68857 cat confdefs.h >>conftest.$ac_ext
68858 cat >>conftest.$ac_ext <<_ACEOF
68859 /* end confdefs.h. */
68860 #include <math.h>
68861 int
68862 main ()
68863 {
68864 atan2f(0, 0);
68865 ;
68866 return 0;
68867 }
68868 _ACEOF
68869 rm -f conftest.$ac_objext
68870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68871 (eval $ac_compile) 2>conftest.er1
68872 ac_status=$?
68873 grep -v '^ *+' conftest.er1 >conftest.err
68874 rm -f conftest.er1
68875 cat conftest.err >&5
68876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68877 (exit $ac_status); } &&
68878 { ac_try='test -z "$ac_cxx_werror_flag"
68879 || test ! -s conftest.err'
68880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68881 (eval $ac_try) 2>&5
68882 ac_status=$?
68883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68884 (exit $ac_status); }; } &&
68885 { ac_try='test -s conftest.$ac_objext'
68886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68887 (eval $ac_try) 2>&5
68888 ac_status=$?
68889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68890 (exit $ac_status); }; }; then
68891 glibcxx_cv_func_atan2f_use=yes
68892 else
68893 echo "$as_me: failed program was:" >&5
68894 sed 's/^/| /' conftest.$ac_ext >&5
68895
68896 glibcxx_cv_func_atan2f_use=no
68897 fi
68898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68899 ac_ext=c
68900 ac_cpp='$CPP $CPPFLAGS'
68901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68904
68905
68906 fi
68907
68908 fi
68909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68910 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68911
68912 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68913
68914 for ac_func in atan2f
68915 do
68916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68917 echo "$as_me:$LINENO: checking for $ac_func" >&5
68918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68919 if eval "test \"\${$as_ac_var+set}\" = set"; then
68920 echo $ECHO_N "(cached) $ECHO_C" >&6
68921 else
68922 if test x$gcc_no_link = xyes; then
68923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68925 { (exit 1); exit 1; }; }
68926 fi
68927 cat >conftest.$ac_ext <<_ACEOF
68928 /* confdefs.h. */
68929 _ACEOF
68930 cat confdefs.h >>conftest.$ac_ext
68931 cat >>conftest.$ac_ext <<_ACEOF
68932 /* end confdefs.h. */
68933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68935 #define $ac_func innocuous_$ac_func
68936
68937 /* System header to define __stub macros and hopefully few prototypes,
68938 which can conflict with char $ac_func (); below.
68939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68940 <limits.h> exists even on freestanding compilers. */
68941
68942 #ifdef __STDC__
68943 # include <limits.h>
68944 #else
68945 # include <assert.h>
68946 #endif
68947
68948 #undef $ac_func
68949
68950 /* Override any gcc2 internal prototype to avoid an error. */
68951 #ifdef __cplusplus
68952 extern "C"
68953 {
68954 #endif
68955 /* We use char because int might match the return type of a gcc2
68956 builtin and then its argument prototype would still apply. */
68957 char $ac_func ();
68958 /* The GNU C library defines this for functions which it implements
68959 to always fail with ENOSYS. Some functions are actually named
68960 something starting with __ and the normal name is an alias. */
68961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68962 choke me
68963 #else
68964 char (*f) () = $ac_func;
68965 #endif
68966 #ifdef __cplusplus
68967 }
68968 #endif
68969
68970 int
68971 main ()
68972 {
68973 return f != $ac_func;
68974 ;
68975 return 0;
68976 }
68977 _ACEOF
68978 rm -f conftest.$ac_objext conftest$ac_exeext
68979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68980 (eval $ac_link) 2>conftest.er1
68981 ac_status=$?
68982 grep -v '^ *+' conftest.er1 >conftest.err
68983 rm -f conftest.er1
68984 cat conftest.err >&5
68985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68986 (exit $ac_status); } &&
68987 { ac_try='test -z "$ac_c_werror_flag"
68988 || test ! -s conftest.err'
68989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68990 (eval $ac_try) 2>&5
68991 ac_status=$?
68992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68993 (exit $ac_status); }; } &&
68994 { ac_try='test -s conftest$ac_exeext'
68995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68996 (eval $ac_try) 2>&5
68997 ac_status=$?
68998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68999 (exit $ac_status); }; }; then
69000 eval "$as_ac_var=yes"
69001 else
69002 echo "$as_me: failed program was:" >&5
69003 sed 's/^/| /' conftest.$ac_ext >&5
69004
69005 eval "$as_ac_var=no"
69006 fi
69007 rm -f conftest.err conftest.$ac_objext \
69008 conftest$ac_exeext conftest.$ac_ext
69009 fi
69010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69012 if test `eval echo '${'$as_ac_var'}'` = yes; then
69013 cat >>confdefs.h <<_ACEOF
69014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69015 _ACEOF
69016
69017 fi
69018 done
69019
69020 else
69021
69022 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69023 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69024 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69025 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69026 echo $ECHO_N "(cached) $ECHO_C" >&6
69027 else
69028
69029
69030
69031 ac_ext=cc
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036
69037 cat >conftest.$ac_ext <<_ACEOF
69038 /* confdefs.h. */
69039 _ACEOF
69040 cat confdefs.h >>conftest.$ac_ext
69041 cat >>conftest.$ac_ext <<_ACEOF
69042 /* end confdefs.h. */
69043 #include <math.h>
69044 int
69045 main ()
69046 {
69047 _atan2f(0, 0);
69048 ;
69049 return 0;
69050 }
69051 _ACEOF
69052 rm -f conftest.$ac_objext
69053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69054 (eval $ac_compile) 2>conftest.er1
69055 ac_status=$?
69056 grep -v '^ *+' conftest.er1 >conftest.err
69057 rm -f conftest.er1
69058 cat conftest.err >&5
69059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69060 (exit $ac_status); } &&
69061 { ac_try='test -z "$ac_cxx_werror_flag"
69062 || test ! -s conftest.err'
69063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69064 (eval $ac_try) 2>&5
69065 ac_status=$?
69066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69067 (exit $ac_status); }; } &&
69068 { ac_try='test -s conftest.$ac_objext'
69069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69070 (eval $ac_try) 2>&5
69071 ac_status=$?
69072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69073 (exit $ac_status); }; }; then
69074 glibcxx_cv_func__atan2f_use=yes
69075 else
69076 echo "$as_me: failed program was:" >&5
69077 sed 's/^/| /' conftest.$ac_ext >&5
69078
69079 glibcxx_cv_func__atan2f_use=no
69080 fi
69081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69082 ac_ext=c
69083 ac_cpp='$CPP $CPPFLAGS'
69084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69087
69088
69089 fi
69090
69091 fi
69092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69093 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69094
69095 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69096
69097 for ac_func in _atan2f
69098 do
69099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69100 echo "$as_me:$LINENO: checking for $ac_func" >&5
69101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69102 if eval "test \"\${$as_ac_var+set}\" = set"; then
69103 echo $ECHO_N "(cached) $ECHO_C" >&6
69104 else
69105 if test x$gcc_no_link = xyes; then
69106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69108 { (exit 1); exit 1; }; }
69109 fi
69110 cat >conftest.$ac_ext <<_ACEOF
69111 /* confdefs.h. */
69112 _ACEOF
69113 cat confdefs.h >>conftest.$ac_ext
69114 cat >>conftest.$ac_ext <<_ACEOF
69115 /* end confdefs.h. */
69116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69118 #define $ac_func innocuous_$ac_func
69119
69120 /* System header to define __stub macros and hopefully few prototypes,
69121 which can conflict with char $ac_func (); below.
69122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69123 <limits.h> exists even on freestanding compilers. */
69124
69125 #ifdef __STDC__
69126 # include <limits.h>
69127 #else
69128 # include <assert.h>
69129 #endif
69130
69131 #undef $ac_func
69132
69133 /* Override any gcc2 internal prototype to avoid an error. */
69134 #ifdef __cplusplus
69135 extern "C"
69136 {
69137 #endif
69138 /* We use char because int might match the return type of a gcc2
69139 builtin and then its argument prototype would still apply. */
69140 char $ac_func ();
69141 /* The GNU C library defines this for functions which it implements
69142 to always fail with ENOSYS. Some functions are actually named
69143 something starting with __ and the normal name is an alias. */
69144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69145 choke me
69146 #else
69147 char (*f) () = $ac_func;
69148 #endif
69149 #ifdef __cplusplus
69150 }
69151 #endif
69152
69153 int
69154 main ()
69155 {
69156 return f != $ac_func;
69157 ;
69158 return 0;
69159 }
69160 _ACEOF
69161 rm -f conftest.$ac_objext conftest$ac_exeext
69162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69163 (eval $ac_link) 2>conftest.er1
69164 ac_status=$?
69165 grep -v '^ *+' conftest.er1 >conftest.err
69166 rm -f conftest.er1
69167 cat conftest.err >&5
69168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69169 (exit $ac_status); } &&
69170 { ac_try='test -z "$ac_c_werror_flag"
69171 || test ! -s conftest.err'
69172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69173 (eval $ac_try) 2>&5
69174 ac_status=$?
69175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69176 (exit $ac_status); }; } &&
69177 { ac_try='test -s conftest$ac_exeext'
69178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69179 (eval $ac_try) 2>&5
69180 ac_status=$?
69181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182 (exit $ac_status); }; }; then
69183 eval "$as_ac_var=yes"
69184 else
69185 echo "$as_me: failed program was:" >&5
69186 sed 's/^/| /' conftest.$ac_ext >&5
69187
69188 eval "$as_ac_var=no"
69189 fi
69190 rm -f conftest.err conftest.$ac_objext \
69191 conftest$ac_exeext conftest.$ac_ext
69192 fi
69193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69195 if test `eval echo '${'$as_ac_var'}'` = yes; then
69196 cat >>confdefs.h <<_ACEOF
69197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69198 _ACEOF
69199
69200 fi
69201 done
69202
69203 fi
69204 fi
69205
69206
69207
69208
69209
69210
69211 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69212 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69213 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69214 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69215 echo $ECHO_N "(cached) $ECHO_C" >&6
69216 else
69217
69218
69219
69220 ac_ext=cc
69221 ac_cpp='$CXXCPP $CPPFLAGS'
69222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69225
69226 cat >conftest.$ac_ext <<_ACEOF
69227 /* confdefs.h. */
69228 _ACEOF
69229 cat confdefs.h >>conftest.$ac_ext
69230 cat >>conftest.$ac_ext <<_ACEOF
69231 /* end confdefs.h. */
69232 #include <math.h>
69233 #ifdef HAVE_IEEEFP_H
69234 #include <ieeefp.h>
69235 #endif
69236
69237 int
69238 main ()
69239 {
69240 fabsf(0);
69241 ;
69242 return 0;
69243 }
69244 _ACEOF
69245 rm -f conftest.$ac_objext
69246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69247 (eval $ac_compile) 2>conftest.er1
69248 ac_status=$?
69249 grep -v '^ *+' conftest.er1 >conftest.err
69250 rm -f conftest.er1
69251 cat conftest.err >&5
69252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69253 (exit $ac_status); } &&
69254 { ac_try='test -z "$ac_cxx_werror_flag"
69255 || test ! -s conftest.err'
69256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69257 (eval $ac_try) 2>&5
69258 ac_status=$?
69259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69260 (exit $ac_status); }; } &&
69261 { ac_try='test -s conftest.$ac_objext'
69262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69263 (eval $ac_try) 2>&5
69264 ac_status=$?
69265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69266 (exit $ac_status); }; }; then
69267 glibcxx_cv_func_fabsf_use=yes
69268 else
69269 echo "$as_me: failed program was:" >&5
69270 sed 's/^/| /' conftest.$ac_ext >&5
69271
69272 glibcxx_cv_func_fabsf_use=no
69273 fi
69274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69275 ac_ext=c
69276 ac_cpp='$CPP $CPPFLAGS'
69277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69280
69281
69282 fi
69283
69284 fi
69285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69286 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69287
69288 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69289
69290 for ac_func in fabsf
69291 do
69292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69293 echo "$as_me:$LINENO: checking for $ac_func" >&5
69294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69295 if eval "test \"\${$as_ac_var+set}\" = set"; then
69296 echo $ECHO_N "(cached) $ECHO_C" >&6
69297 else
69298 if test x$gcc_no_link = xyes; then
69299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69301 { (exit 1); exit 1; }; }
69302 fi
69303 cat >conftest.$ac_ext <<_ACEOF
69304 /* confdefs.h. */
69305 _ACEOF
69306 cat confdefs.h >>conftest.$ac_ext
69307 cat >>conftest.$ac_ext <<_ACEOF
69308 /* end confdefs.h. */
69309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69311 #define $ac_func innocuous_$ac_func
69312
69313 /* System header to define __stub macros and hopefully few prototypes,
69314 which can conflict with char $ac_func (); below.
69315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69316 <limits.h> exists even on freestanding compilers. */
69317
69318 #ifdef __STDC__
69319 # include <limits.h>
69320 #else
69321 # include <assert.h>
69322 #endif
69323
69324 #undef $ac_func
69325
69326 /* Override any gcc2 internal prototype to avoid an error. */
69327 #ifdef __cplusplus
69328 extern "C"
69329 {
69330 #endif
69331 /* We use char because int might match the return type of a gcc2
69332 builtin and then its argument prototype would still apply. */
69333 char $ac_func ();
69334 /* The GNU C library defines this for functions which it implements
69335 to always fail with ENOSYS. Some functions are actually named
69336 something starting with __ and the normal name is an alias. */
69337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69338 choke me
69339 #else
69340 char (*f) () = $ac_func;
69341 #endif
69342 #ifdef __cplusplus
69343 }
69344 #endif
69345
69346 int
69347 main ()
69348 {
69349 return f != $ac_func;
69350 ;
69351 return 0;
69352 }
69353 _ACEOF
69354 rm -f conftest.$ac_objext conftest$ac_exeext
69355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69356 (eval $ac_link) 2>conftest.er1
69357 ac_status=$?
69358 grep -v '^ *+' conftest.er1 >conftest.err
69359 rm -f conftest.er1
69360 cat conftest.err >&5
69361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69362 (exit $ac_status); } &&
69363 { ac_try='test -z "$ac_c_werror_flag"
69364 || test ! -s conftest.err'
69365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69366 (eval $ac_try) 2>&5
69367 ac_status=$?
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); }; } &&
69370 { ac_try='test -s conftest$ac_exeext'
69371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69372 (eval $ac_try) 2>&5
69373 ac_status=$?
69374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69375 (exit $ac_status); }; }; then
69376 eval "$as_ac_var=yes"
69377 else
69378 echo "$as_me: failed program was:" >&5
69379 sed 's/^/| /' conftest.$ac_ext >&5
69380
69381 eval "$as_ac_var=no"
69382 fi
69383 rm -f conftest.err conftest.$ac_objext \
69384 conftest$ac_exeext conftest.$ac_ext
69385 fi
69386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69388 if test `eval echo '${'$as_ac_var'}'` = yes; then
69389 cat >>confdefs.h <<_ACEOF
69390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69391 _ACEOF
69392
69393 fi
69394 done
69395
69396 else
69397
69398 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69399 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69400 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69401 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69402 echo $ECHO_N "(cached) $ECHO_C" >&6
69403 else
69404
69405
69406
69407 ac_ext=cc
69408 ac_cpp='$CXXCPP $CPPFLAGS'
69409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69412
69413 cat >conftest.$ac_ext <<_ACEOF
69414 /* confdefs.h. */
69415 _ACEOF
69416 cat confdefs.h >>conftest.$ac_ext
69417 cat >>conftest.$ac_ext <<_ACEOF
69418 /* end confdefs.h. */
69419 #include <math.h>
69420 #ifdef HAVE_IEEEFP_H
69421 #include <ieeefp.h>
69422 #endif
69423
69424 int
69425 main ()
69426 {
69427 _fabsf(0);
69428 ;
69429 return 0;
69430 }
69431 _ACEOF
69432 rm -f conftest.$ac_objext
69433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69434 (eval $ac_compile) 2>conftest.er1
69435 ac_status=$?
69436 grep -v '^ *+' conftest.er1 >conftest.err
69437 rm -f conftest.er1
69438 cat conftest.err >&5
69439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69440 (exit $ac_status); } &&
69441 { ac_try='test -z "$ac_cxx_werror_flag"
69442 || test ! -s conftest.err'
69443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69444 (eval $ac_try) 2>&5
69445 ac_status=$?
69446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69447 (exit $ac_status); }; } &&
69448 { ac_try='test -s conftest.$ac_objext'
69449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69450 (eval $ac_try) 2>&5
69451 ac_status=$?
69452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69453 (exit $ac_status); }; }; then
69454 glibcxx_cv_func__fabsf_use=yes
69455 else
69456 echo "$as_me: failed program was:" >&5
69457 sed 's/^/| /' conftest.$ac_ext >&5
69458
69459 glibcxx_cv_func__fabsf_use=no
69460 fi
69461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69462 ac_ext=c
69463 ac_cpp='$CPP $CPPFLAGS'
69464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69467
69468
69469 fi
69470
69471 fi
69472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69473 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69474
69475 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69476
69477 for ac_func in _fabsf
69478 do
69479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69480 echo "$as_me:$LINENO: checking for $ac_func" >&5
69481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69482 if eval "test \"\${$as_ac_var+set}\" = set"; then
69483 echo $ECHO_N "(cached) $ECHO_C" >&6
69484 else
69485 if test x$gcc_no_link = xyes; then
69486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69488 { (exit 1); exit 1; }; }
69489 fi
69490 cat >conftest.$ac_ext <<_ACEOF
69491 /* confdefs.h. */
69492 _ACEOF
69493 cat confdefs.h >>conftest.$ac_ext
69494 cat >>conftest.$ac_ext <<_ACEOF
69495 /* end confdefs.h. */
69496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69498 #define $ac_func innocuous_$ac_func
69499
69500 /* System header to define __stub macros and hopefully few prototypes,
69501 which can conflict with char $ac_func (); below.
69502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69503 <limits.h> exists even on freestanding compilers. */
69504
69505 #ifdef __STDC__
69506 # include <limits.h>
69507 #else
69508 # include <assert.h>
69509 #endif
69510
69511 #undef $ac_func
69512
69513 /* Override any gcc2 internal prototype to avoid an error. */
69514 #ifdef __cplusplus
69515 extern "C"
69516 {
69517 #endif
69518 /* We use char because int might match the return type of a gcc2
69519 builtin and then its argument prototype would still apply. */
69520 char $ac_func ();
69521 /* The GNU C library defines this for functions which it implements
69522 to always fail with ENOSYS. Some functions are actually named
69523 something starting with __ and the normal name is an alias. */
69524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69525 choke me
69526 #else
69527 char (*f) () = $ac_func;
69528 #endif
69529 #ifdef __cplusplus
69530 }
69531 #endif
69532
69533 int
69534 main ()
69535 {
69536 return f != $ac_func;
69537 ;
69538 return 0;
69539 }
69540 _ACEOF
69541 rm -f conftest.$ac_objext conftest$ac_exeext
69542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69543 (eval $ac_link) 2>conftest.er1
69544 ac_status=$?
69545 grep -v '^ *+' conftest.er1 >conftest.err
69546 rm -f conftest.er1
69547 cat conftest.err >&5
69548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69549 (exit $ac_status); } &&
69550 { ac_try='test -z "$ac_c_werror_flag"
69551 || test ! -s conftest.err'
69552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69553 (eval $ac_try) 2>&5
69554 ac_status=$?
69555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69556 (exit $ac_status); }; } &&
69557 { ac_try='test -s conftest$ac_exeext'
69558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69559 (eval $ac_try) 2>&5
69560 ac_status=$?
69561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69562 (exit $ac_status); }; }; then
69563 eval "$as_ac_var=yes"
69564 else
69565 echo "$as_me: failed program was:" >&5
69566 sed 's/^/| /' conftest.$ac_ext >&5
69567
69568 eval "$as_ac_var=no"
69569 fi
69570 rm -f conftest.err conftest.$ac_objext \
69571 conftest$ac_exeext conftest.$ac_ext
69572 fi
69573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69575 if test `eval echo '${'$as_ac_var'}'` = yes; then
69576 cat >>confdefs.h <<_ACEOF
69577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69578 _ACEOF
69579
69580 fi
69581 done
69582
69583 fi
69584 fi
69585
69586
69587
69588
69589
69590
69591 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69592 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69593 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69594 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69595 echo $ECHO_N "(cached) $ECHO_C" >&6
69596 else
69597
69598
69599
69600 ac_ext=cc
69601 ac_cpp='$CXXCPP $CPPFLAGS'
69602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69605
69606 cat >conftest.$ac_ext <<_ACEOF
69607 /* confdefs.h. */
69608 _ACEOF
69609 cat confdefs.h >>conftest.$ac_ext
69610 cat >>conftest.$ac_ext <<_ACEOF
69611 /* end confdefs.h. */
69612 #include <math.h>
69613 int
69614 main ()
69615 {
69616 fmodf(0, 0);
69617 ;
69618 return 0;
69619 }
69620 _ACEOF
69621 rm -f conftest.$ac_objext
69622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69623 (eval $ac_compile) 2>conftest.er1
69624 ac_status=$?
69625 grep -v '^ *+' conftest.er1 >conftest.err
69626 rm -f conftest.er1
69627 cat conftest.err >&5
69628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69629 (exit $ac_status); } &&
69630 { ac_try='test -z "$ac_cxx_werror_flag"
69631 || test ! -s conftest.err'
69632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69633 (eval $ac_try) 2>&5
69634 ac_status=$?
69635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69636 (exit $ac_status); }; } &&
69637 { ac_try='test -s conftest.$ac_objext'
69638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69639 (eval $ac_try) 2>&5
69640 ac_status=$?
69641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69642 (exit $ac_status); }; }; then
69643 glibcxx_cv_func_fmodf_use=yes
69644 else
69645 echo "$as_me: failed program was:" >&5
69646 sed 's/^/| /' conftest.$ac_ext >&5
69647
69648 glibcxx_cv_func_fmodf_use=no
69649 fi
69650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69651 ac_ext=c
69652 ac_cpp='$CPP $CPPFLAGS'
69653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69656
69657
69658 fi
69659
69660 fi
69661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69662 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69663
69664 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69665
69666 for ac_func in fmodf
69667 do
69668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69669 echo "$as_me:$LINENO: checking for $ac_func" >&5
69670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69671 if eval "test \"\${$as_ac_var+set}\" = set"; then
69672 echo $ECHO_N "(cached) $ECHO_C" >&6
69673 else
69674 if test x$gcc_no_link = xyes; then
69675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69677 { (exit 1); exit 1; }; }
69678 fi
69679 cat >conftest.$ac_ext <<_ACEOF
69680 /* confdefs.h. */
69681 _ACEOF
69682 cat confdefs.h >>conftest.$ac_ext
69683 cat >>conftest.$ac_ext <<_ACEOF
69684 /* end confdefs.h. */
69685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69687 #define $ac_func innocuous_$ac_func
69688
69689 /* System header to define __stub macros and hopefully few prototypes,
69690 which can conflict with char $ac_func (); below.
69691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69692 <limits.h> exists even on freestanding compilers. */
69693
69694 #ifdef __STDC__
69695 # include <limits.h>
69696 #else
69697 # include <assert.h>
69698 #endif
69699
69700 #undef $ac_func
69701
69702 /* Override any gcc2 internal prototype to avoid an error. */
69703 #ifdef __cplusplus
69704 extern "C"
69705 {
69706 #endif
69707 /* We use char because int might match the return type of a gcc2
69708 builtin and then its argument prototype would still apply. */
69709 char $ac_func ();
69710 /* The GNU C library defines this for functions which it implements
69711 to always fail with ENOSYS. Some functions are actually named
69712 something starting with __ and the normal name is an alias. */
69713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69714 choke me
69715 #else
69716 char (*f) () = $ac_func;
69717 #endif
69718 #ifdef __cplusplus
69719 }
69720 #endif
69721
69722 int
69723 main ()
69724 {
69725 return f != $ac_func;
69726 ;
69727 return 0;
69728 }
69729 _ACEOF
69730 rm -f conftest.$ac_objext conftest$ac_exeext
69731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69732 (eval $ac_link) 2>conftest.er1
69733 ac_status=$?
69734 grep -v '^ *+' conftest.er1 >conftest.err
69735 rm -f conftest.er1
69736 cat conftest.err >&5
69737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69738 (exit $ac_status); } &&
69739 { ac_try='test -z "$ac_c_werror_flag"
69740 || test ! -s conftest.err'
69741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69742 (eval $ac_try) 2>&5
69743 ac_status=$?
69744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69745 (exit $ac_status); }; } &&
69746 { ac_try='test -s conftest$ac_exeext'
69747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69748 (eval $ac_try) 2>&5
69749 ac_status=$?
69750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751 (exit $ac_status); }; }; then
69752 eval "$as_ac_var=yes"
69753 else
69754 echo "$as_me: failed program was:" >&5
69755 sed 's/^/| /' conftest.$ac_ext >&5
69756
69757 eval "$as_ac_var=no"
69758 fi
69759 rm -f conftest.err conftest.$ac_objext \
69760 conftest$ac_exeext conftest.$ac_ext
69761 fi
69762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69764 if test `eval echo '${'$as_ac_var'}'` = yes; then
69765 cat >>confdefs.h <<_ACEOF
69766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69767 _ACEOF
69768
69769 fi
69770 done
69771
69772 else
69773
69774 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69775 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69776 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69777 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69778 echo $ECHO_N "(cached) $ECHO_C" >&6
69779 else
69780
69781
69782
69783 ac_ext=cc
69784 ac_cpp='$CXXCPP $CPPFLAGS'
69785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69788
69789 cat >conftest.$ac_ext <<_ACEOF
69790 /* confdefs.h. */
69791 _ACEOF
69792 cat confdefs.h >>conftest.$ac_ext
69793 cat >>conftest.$ac_ext <<_ACEOF
69794 /* end confdefs.h. */
69795 #include <math.h>
69796 int
69797 main ()
69798 {
69799 _fmodf(0, 0);
69800 ;
69801 return 0;
69802 }
69803 _ACEOF
69804 rm -f conftest.$ac_objext
69805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69806 (eval $ac_compile) 2>conftest.er1
69807 ac_status=$?
69808 grep -v '^ *+' conftest.er1 >conftest.err
69809 rm -f conftest.er1
69810 cat conftest.err >&5
69811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69812 (exit $ac_status); } &&
69813 { ac_try='test -z "$ac_cxx_werror_flag"
69814 || test ! -s conftest.err'
69815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69816 (eval $ac_try) 2>&5
69817 ac_status=$?
69818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69819 (exit $ac_status); }; } &&
69820 { ac_try='test -s conftest.$ac_objext'
69821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69822 (eval $ac_try) 2>&5
69823 ac_status=$?
69824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69825 (exit $ac_status); }; }; then
69826 glibcxx_cv_func__fmodf_use=yes
69827 else
69828 echo "$as_me: failed program was:" >&5
69829 sed 's/^/| /' conftest.$ac_ext >&5
69830
69831 glibcxx_cv_func__fmodf_use=no
69832 fi
69833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69834 ac_ext=c
69835 ac_cpp='$CPP $CPPFLAGS'
69836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69839
69840
69841 fi
69842
69843 fi
69844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69845 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69846
69847 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69848
69849 for ac_func in _fmodf
69850 do
69851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69852 echo "$as_me:$LINENO: checking for $ac_func" >&5
69853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69854 if eval "test \"\${$as_ac_var+set}\" = set"; then
69855 echo $ECHO_N "(cached) $ECHO_C" >&6
69856 else
69857 if test x$gcc_no_link = xyes; then
69858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69860 { (exit 1); exit 1; }; }
69861 fi
69862 cat >conftest.$ac_ext <<_ACEOF
69863 /* confdefs.h. */
69864 _ACEOF
69865 cat confdefs.h >>conftest.$ac_ext
69866 cat >>conftest.$ac_ext <<_ACEOF
69867 /* end confdefs.h. */
69868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69870 #define $ac_func innocuous_$ac_func
69871
69872 /* System header to define __stub macros and hopefully few prototypes,
69873 which can conflict with char $ac_func (); below.
69874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69875 <limits.h> exists even on freestanding compilers. */
69876
69877 #ifdef __STDC__
69878 # include <limits.h>
69879 #else
69880 # include <assert.h>
69881 #endif
69882
69883 #undef $ac_func
69884
69885 /* Override any gcc2 internal prototype to avoid an error. */
69886 #ifdef __cplusplus
69887 extern "C"
69888 {
69889 #endif
69890 /* We use char because int might match the return type of a gcc2
69891 builtin and then its argument prototype would still apply. */
69892 char $ac_func ();
69893 /* The GNU C library defines this for functions which it implements
69894 to always fail with ENOSYS. Some functions are actually named
69895 something starting with __ and the normal name is an alias. */
69896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69897 choke me
69898 #else
69899 char (*f) () = $ac_func;
69900 #endif
69901 #ifdef __cplusplus
69902 }
69903 #endif
69904
69905 int
69906 main ()
69907 {
69908 return f != $ac_func;
69909 ;
69910 return 0;
69911 }
69912 _ACEOF
69913 rm -f conftest.$ac_objext conftest$ac_exeext
69914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69915 (eval $ac_link) 2>conftest.er1
69916 ac_status=$?
69917 grep -v '^ *+' conftest.er1 >conftest.err
69918 rm -f conftest.er1
69919 cat conftest.err >&5
69920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69921 (exit $ac_status); } &&
69922 { ac_try='test -z "$ac_c_werror_flag"
69923 || test ! -s conftest.err'
69924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69925 (eval $ac_try) 2>&5
69926 ac_status=$?
69927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69928 (exit $ac_status); }; } &&
69929 { ac_try='test -s conftest$ac_exeext'
69930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69931 (eval $ac_try) 2>&5
69932 ac_status=$?
69933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69934 (exit $ac_status); }; }; then
69935 eval "$as_ac_var=yes"
69936 else
69937 echo "$as_me: failed program was:" >&5
69938 sed 's/^/| /' conftest.$ac_ext >&5
69939
69940 eval "$as_ac_var=no"
69941 fi
69942 rm -f conftest.err conftest.$ac_objext \
69943 conftest$ac_exeext conftest.$ac_ext
69944 fi
69945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69947 if test `eval echo '${'$as_ac_var'}'` = yes; then
69948 cat >>confdefs.h <<_ACEOF
69949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69950 _ACEOF
69951
69952 fi
69953 done
69954
69955 fi
69956 fi
69957
69958
69959
69960
69961
69962
69963 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69964 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69965 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69966 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69967 echo $ECHO_N "(cached) $ECHO_C" >&6
69968 else
69969
69970
69971
69972 ac_ext=cc
69973 ac_cpp='$CXXCPP $CPPFLAGS'
69974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69977
69978 cat >conftest.$ac_ext <<_ACEOF
69979 /* confdefs.h. */
69980 _ACEOF
69981 cat confdefs.h >>conftest.$ac_ext
69982 cat >>conftest.$ac_ext <<_ACEOF
69983 /* end confdefs.h. */
69984 #include <math.h>
69985 int
69986 main ()
69987 {
69988 frexpf(0, 0);
69989 ;
69990 return 0;
69991 }
69992 _ACEOF
69993 rm -f conftest.$ac_objext
69994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69995 (eval $ac_compile) 2>conftest.er1
69996 ac_status=$?
69997 grep -v '^ *+' conftest.er1 >conftest.err
69998 rm -f conftest.er1
69999 cat conftest.err >&5
70000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70001 (exit $ac_status); } &&
70002 { ac_try='test -z "$ac_cxx_werror_flag"
70003 || test ! -s conftest.err'
70004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70005 (eval $ac_try) 2>&5
70006 ac_status=$?
70007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70008 (exit $ac_status); }; } &&
70009 { ac_try='test -s conftest.$ac_objext'
70010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70011 (eval $ac_try) 2>&5
70012 ac_status=$?
70013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70014 (exit $ac_status); }; }; then
70015 glibcxx_cv_func_frexpf_use=yes
70016 else
70017 echo "$as_me: failed program was:" >&5
70018 sed 's/^/| /' conftest.$ac_ext >&5
70019
70020 glibcxx_cv_func_frexpf_use=no
70021 fi
70022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70023 ac_ext=c
70024 ac_cpp='$CPP $CPPFLAGS'
70025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70028
70029
70030 fi
70031
70032 fi
70033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70034 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70035
70036 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70037
70038 for ac_func in frexpf
70039 do
70040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70041 echo "$as_me:$LINENO: checking for $ac_func" >&5
70042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70043 if eval "test \"\${$as_ac_var+set}\" = set"; then
70044 echo $ECHO_N "(cached) $ECHO_C" >&6
70045 else
70046 if test x$gcc_no_link = xyes; then
70047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70049 { (exit 1); exit 1; }; }
70050 fi
70051 cat >conftest.$ac_ext <<_ACEOF
70052 /* confdefs.h. */
70053 _ACEOF
70054 cat confdefs.h >>conftest.$ac_ext
70055 cat >>conftest.$ac_ext <<_ACEOF
70056 /* end confdefs.h. */
70057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70059 #define $ac_func innocuous_$ac_func
70060
70061 /* System header to define __stub macros and hopefully few prototypes,
70062 which can conflict with char $ac_func (); below.
70063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70064 <limits.h> exists even on freestanding compilers. */
70065
70066 #ifdef __STDC__
70067 # include <limits.h>
70068 #else
70069 # include <assert.h>
70070 #endif
70071
70072 #undef $ac_func
70073
70074 /* Override any gcc2 internal prototype to avoid an error. */
70075 #ifdef __cplusplus
70076 extern "C"
70077 {
70078 #endif
70079 /* We use char because int might match the return type of a gcc2
70080 builtin and then its argument prototype would still apply. */
70081 char $ac_func ();
70082 /* The GNU C library defines this for functions which it implements
70083 to always fail with ENOSYS. Some functions are actually named
70084 something starting with __ and the normal name is an alias. */
70085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70086 choke me
70087 #else
70088 char (*f) () = $ac_func;
70089 #endif
70090 #ifdef __cplusplus
70091 }
70092 #endif
70093
70094 int
70095 main ()
70096 {
70097 return f != $ac_func;
70098 ;
70099 return 0;
70100 }
70101 _ACEOF
70102 rm -f conftest.$ac_objext conftest$ac_exeext
70103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70104 (eval $ac_link) 2>conftest.er1
70105 ac_status=$?
70106 grep -v '^ *+' conftest.er1 >conftest.err
70107 rm -f conftest.er1
70108 cat conftest.err >&5
70109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70110 (exit $ac_status); } &&
70111 { ac_try='test -z "$ac_c_werror_flag"
70112 || test ! -s conftest.err'
70113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70114 (eval $ac_try) 2>&5
70115 ac_status=$?
70116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70117 (exit $ac_status); }; } &&
70118 { ac_try='test -s conftest$ac_exeext'
70119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70120 (eval $ac_try) 2>&5
70121 ac_status=$?
70122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70123 (exit $ac_status); }; }; then
70124 eval "$as_ac_var=yes"
70125 else
70126 echo "$as_me: failed program was:" >&5
70127 sed 's/^/| /' conftest.$ac_ext >&5
70128
70129 eval "$as_ac_var=no"
70130 fi
70131 rm -f conftest.err conftest.$ac_objext \
70132 conftest$ac_exeext conftest.$ac_ext
70133 fi
70134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70136 if test `eval echo '${'$as_ac_var'}'` = yes; then
70137 cat >>confdefs.h <<_ACEOF
70138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70139 _ACEOF
70140
70141 fi
70142 done
70143
70144 else
70145
70146 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70147 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70148 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70149 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70150 echo $ECHO_N "(cached) $ECHO_C" >&6
70151 else
70152
70153
70154
70155 ac_ext=cc
70156 ac_cpp='$CXXCPP $CPPFLAGS'
70157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70160
70161 cat >conftest.$ac_ext <<_ACEOF
70162 /* confdefs.h. */
70163 _ACEOF
70164 cat confdefs.h >>conftest.$ac_ext
70165 cat >>conftest.$ac_ext <<_ACEOF
70166 /* end confdefs.h. */
70167 #include <math.h>
70168 int
70169 main ()
70170 {
70171 _frexpf(0, 0);
70172 ;
70173 return 0;
70174 }
70175 _ACEOF
70176 rm -f conftest.$ac_objext
70177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70178 (eval $ac_compile) 2>conftest.er1
70179 ac_status=$?
70180 grep -v '^ *+' conftest.er1 >conftest.err
70181 rm -f conftest.er1
70182 cat conftest.err >&5
70183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70184 (exit $ac_status); } &&
70185 { ac_try='test -z "$ac_cxx_werror_flag"
70186 || test ! -s conftest.err'
70187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70188 (eval $ac_try) 2>&5
70189 ac_status=$?
70190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70191 (exit $ac_status); }; } &&
70192 { ac_try='test -s conftest.$ac_objext'
70193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70194 (eval $ac_try) 2>&5
70195 ac_status=$?
70196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70197 (exit $ac_status); }; }; then
70198 glibcxx_cv_func__frexpf_use=yes
70199 else
70200 echo "$as_me: failed program was:" >&5
70201 sed 's/^/| /' conftest.$ac_ext >&5
70202
70203 glibcxx_cv_func__frexpf_use=no
70204 fi
70205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70206 ac_ext=c
70207 ac_cpp='$CPP $CPPFLAGS'
70208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70211
70212
70213 fi
70214
70215 fi
70216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70217 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70218
70219 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70220
70221 for ac_func in _frexpf
70222 do
70223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70224 echo "$as_me:$LINENO: checking for $ac_func" >&5
70225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70226 if eval "test \"\${$as_ac_var+set}\" = set"; then
70227 echo $ECHO_N "(cached) $ECHO_C" >&6
70228 else
70229 if test x$gcc_no_link = xyes; then
70230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70232 { (exit 1); exit 1; }; }
70233 fi
70234 cat >conftest.$ac_ext <<_ACEOF
70235 /* confdefs.h. */
70236 _ACEOF
70237 cat confdefs.h >>conftest.$ac_ext
70238 cat >>conftest.$ac_ext <<_ACEOF
70239 /* end confdefs.h. */
70240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70242 #define $ac_func innocuous_$ac_func
70243
70244 /* System header to define __stub macros and hopefully few prototypes,
70245 which can conflict with char $ac_func (); below.
70246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70247 <limits.h> exists even on freestanding compilers. */
70248
70249 #ifdef __STDC__
70250 # include <limits.h>
70251 #else
70252 # include <assert.h>
70253 #endif
70254
70255 #undef $ac_func
70256
70257 /* Override any gcc2 internal prototype to avoid an error. */
70258 #ifdef __cplusplus
70259 extern "C"
70260 {
70261 #endif
70262 /* We use char because int might match the return type of a gcc2
70263 builtin and then its argument prototype would still apply. */
70264 char $ac_func ();
70265 /* The GNU C library defines this for functions which it implements
70266 to always fail with ENOSYS. Some functions are actually named
70267 something starting with __ and the normal name is an alias. */
70268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70269 choke me
70270 #else
70271 char (*f) () = $ac_func;
70272 #endif
70273 #ifdef __cplusplus
70274 }
70275 #endif
70276
70277 int
70278 main ()
70279 {
70280 return f != $ac_func;
70281 ;
70282 return 0;
70283 }
70284 _ACEOF
70285 rm -f conftest.$ac_objext conftest$ac_exeext
70286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70287 (eval $ac_link) 2>conftest.er1
70288 ac_status=$?
70289 grep -v '^ *+' conftest.er1 >conftest.err
70290 rm -f conftest.er1
70291 cat conftest.err >&5
70292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70293 (exit $ac_status); } &&
70294 { ac_try='test -z "$ac_c_werror_flag"
70295 || test ! -s conftest.err'
70296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70297 (eval $ac_try) 2>&5
70298 ac_status=$?
70299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70300 (exit $ac_status); }; } &&
70301 { ac_try='test -s conftest$ac_exeext'
70302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70303 (eval $ac_try) 2>&5
70304 ac_status=$?
70305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70306 (exit $ac_status); }; }; then
70307 eval "$as_ac_var=yes"
70308 else
70309 echo "$as_me: failed program was:" >&5
70310 sed 's/^/| /' conftest.$ac_ext >&5
70311
70312 eval "$as_ac_var=no"
70313 fi
70314 rm -f conftest.err conftest.$ac_objext \
70315 conftest$ac_exeext conftest.$ac_ext
70316 fi
70317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70319 if test `eval echo '${'$as_ac_var'}'` = yes; then
70320 cat >>confdefs.h <<_ACEOF
70321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70322 _ACEOF
70323
70324 fi
70325 done
70326
70327 fi
70328 fi
70329
70330
70331
70332
70333
70334
70335 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70336 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70337 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70338 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70339 echo $ECHO_N "(cached) $ECHO_C" >&6
70340 else
70341
70342
70343
70344 ac_ext=cc
70345 ac_cpp='$CXXCPP $CPPFLAGS'
70346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70349
70350 cat >conftest.$ac_ext <<_ACEOF
70351 /* confdefs.h. */
70352 _ACEOF
70353 cat confdefs.h >>conftest.$ac_ext
70354 cat >>conftest.$ac_ext <<_ACEOF
70355 /* end confdefs.h. */
70356 #include <math.h>
70357 int
70358 main ()
70359 {
70360 hypotf(0, 0);
70361 ;
70362 return 0;
70363 }
70364 _ACEOF
70365 rm -f conftest.$ac_objext
70366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70367 (eval $ac_compile) 2>conftest.er1
70368 ac_status=$?
70369 grep -v '^ *+' conftest.er1 >conftest.err
70370 rm -f conftest.er1
70371 cat conftest.err >&5
70372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70373 (exit $ac_status); } &&
70374 { ac_try='test -z "$ac_cxx_werror_flag"
70375 || test ! -s conftest.err'
70376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70377 (eval $ac_try) 2>&5
70378 ac_status=$?
70379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70380 (exit $ac_status); }; } &&
70381 { ac_try='test -s conftest.$ac_objext'
70382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70383 (eval $ac_try) 2>&5
70384 ac_status=$?
70385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70386 (exit $ac_status); }; }; then
70387 glibcxx_cv_func_hypotf_use=yes
70388 else
70389 echo "$as_me: failed program was:" >&5
70390 sed 's/^/| /' conftest.$ac_ext >&5
70391
70392 glibcxx_cv_func_hypotf_use=no
70393 fi
70394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70395 ac_ext=c
70396 ac_cpp='$CPP $CPPFLAGS'
70397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70400
70401
70402 fi
70403
70404 fi
70405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70406 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70407
70408 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70409
70410 for ac_func in hypotf
70411 do
70412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70413 echo "$as_me:$LINENO: checking for $ac_func" >&5
70414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70415 if eval "test \"\${$as_ac_var+set}\" = set"; then
70416 echo $ECHO_N "(cached) $ECHO_C" >&6
70417 else
70418 if test x$gcc_no_link = xyes; then
70419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70421 { (exit 1); exit 1; }; }
70422 fi
70423 cat >conftest.$ac_ext <<_ACEOF
70424 /* confdefs.h. */
70425 _ACEOF
70426 cat confdefs.h >>conftest.$ac_ext
70427 cat >>conftest.$ac_ext <<_ACEOF
70428 /* end confdefs.h. */
70429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70431 #define $ac_func innocuous_$ac_func
70432
70433 /* System header to define __stub macros and hopefully few prototypes,
70434 which can conflict with char $ac_func (); below.
70435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70436 <limits.h> exists even on freestanding compilers. */
70437
70438 #ifdef __STDC__
70439 # include <limits.h>
70440 #else
70441 # include <assert.h>
70442 #endif
70443
70444 #undef $ac_func
70445
70446 /* Override any gcc2 internal prototype to avoid an error. */
70447 #ifdef __cplusplus
70448 extern "C"
70449 {
70450 #endif
70451 /* We use char because int might match the return type of a gcc2
70452 builtin and then its argument prototype would still apply. */
70453 char $ac_func ();
70454 /* The GNU C library defines this for functions which it implements
70455 to always fail with ENOSYS. Some functions are actually named
70456 something starting with __ and the normal name is an alias. */
70457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70458 choke me
70459 #else
70460 char (*f) () = $ac_func;
70461 #endif
70462 #ifdef __cplusplus
70463 }
70464 #endif
70465
70466 int
70467 main ()
70468 {
70469 return f != $ac_func;
70470 ;
70471 return 0;
70472 }
70473 _ACEOF
70474 rm -f conftest.$ac_objext conftest$ac_exeext
70475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70476 (eval $ac_link) 2>conftest.er1
70477 ac_status=$?
70478 grep -v '^ *+' conftest.er1 >conftest.err
70479 rm -f conftest.er1
70480 cat conftest.err >&5
70481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70482 (exit $ac_status); } &&
70483 { ac_try='test -z "$ac_c_werror_flag"
70484 || test ! -s conftest.err'
70485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70486 (eval $ac_try) 2>&5
70487 ac_status=$?
70488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70489 (exit $ac_status); }; } &&
70490 { ac_try='test -s conftest$ac_exeext'
70491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70492 (eval $ac_try) 2>&5
70493 ac_status=$?
70494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70495 (exit $ac_status); }; }; then
70496 eval "$as_ac_var=yes"
70497 else
70498 echo "$as_me: failed program was:" >&5
70499 sed 's/^/| /' conftest.$ac_ext >&5
70500
70501 eval "$as_ac_var=no"
70502 fi
70503 rm -f conftest.err conftest.$ac_objext \
70504 conftest$ac_exeext conftest.$ac_ext
70505 fi
70506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70508 if test `eval echo '${'$as_ac_var'}'` = yes; then
70509 cat >>confdefs.h <<_ACEOF
70510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70511 _ACEOF
70512
70513 fi
70514 done
70515
70516 else
70517
70518 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70519 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70520 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70521 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70522 echo $ECHO_N "(cached) $ECHO_C" >&6
70523 else
70524
70525
70526
70527 ac_ext=cc
70528 ac_cpp='$CXXCPP $CPPFLAGS'
70529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70532
70533 cat >conftest.$ac_ext <<_ACEOF
70534 /* confdefs.h. */
70535 _ACEOF
70536 cat confdefs.h >>conftest.$ac_ext
70537 cat >>conftest.$ac_ext <<_ACEOF
70538 /* end confdefs.h. */
70539 #include <math.h>
70540 int
70541 main ()
70542 {
70543 _hypotf(0, 0);
70544 ;
70545 return 0;
70546 }
70547 _ACEOF
70548 rm -f conftest.$ac_objext
70549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70550 (eval $ac_compile) 2>conftest.er1
70551 ac_status=$?
70552 grep -v '^ *+' conftest.er1 >conftest.err
70553 rm -f conftest.er1
70554 cat conftest.err >&5
70555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70556 (exit $ac_status); } &&
70557 { ac_try='test -z "$ac_cxx_werror_flag"
70558 || test ! -s conftest.err'
70559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70560 (eval $ac_try) 2>&5
70561 ac_status=$?
70562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70563 (exit $ac_status); }; } &&
70564 { ac_try='test -s conftest.$ac_objext'
70565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70566 (eval $ac_try) 2>&5
70567 ac_status=$?
70568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70569 (exit $ac_status); }; }; then
70570 glibcxx_cv_func__hypotf_use=yes
70571 else
70572 echo "$as_me: failed program was:" >&5
70573 sed 's/^/| /' conftest.$ac_ext >&5
70574
70575 glibcxx_cv_func__hypotf_use=no
70576 fi
70577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70578 ac_ext=c
70579 ac_cpp='$CPP $CPPFLAGS'
70580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70583
70584
70585 fi
70586
70587 fi
70588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70589 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70590
70591 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70592
70593 for ac_func in _hypotf
70594 do
70595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70596 echo "$as_me:$LINENO: checking for $ac_func" >&5
70597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70598 if eval "test \"\${$as_ac_var+set}\" = set"; then
70599 echo $ECHO_N "(cached) $ECHO_C" >&6
70600 else
70601 if test x$gcc_no_link = xyes; then
70602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70604 { (exit 1); exit 1; }; }
70605 fi
70606 cat >conftest.$ac_ext <<_ACEOF
70607 /* confdefs.h. */
70608 _ACEOF
70609 cat confdefs.h >>conftest.$ac_ext
70610 cat >>conftest.$ac_ext <<_ACEOF
70611 /* end confdefs.h. */
70612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70614 #define $ac_func innocuous_$ac_func
70615
70616 /* System header to define __stub macros and hopefully few prototypes,
70617 which can conflict with char $ac_func (); below.
70618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70619 <limits.h> exists even on freestanding compilers. */
70620
70621 #ifdef __STDC__
70622 # include <limits.h>
70623 #else
70624 # include <assert.h>
70625 #endif
70626
70627 #undef $ac_func
70628
70629 /* Override any gcc2 internal prototype to avoid an error. */
70630 #ifdef __cplusplus
70631 extern "C"
70632 {
70633 #endif
70634 /* We use char because int might match the return type of a gcc2
70635 builtin and then its argument prototype would still apply. */
70636 char $ac_func ();
70637 /* The GNU C library defines this for functions which it implements
70638 to always fail with ENOSYS. Some functions are actually named
70639 something starting with __ and the normal name is an alias. */
70640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70641 choke me
70642 #else
70643 char (*f) () = $ac_func;
70644 #endif
70645 #ifdef __cplusplus
70646 }
70647 #endif
70648
70649 int
70650 main ()
70651 {
70652 return f != $ac_func;
70653 ;
70654 return 0;
70655 }
70656 _ACEOF
70657 rm -f conftest.$ac_objext conftest$ac_exeext
70658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70659 (eval $ac_link) 2>conftest.er1
70660 ac_status=$?
70661 grep -v '^ *+' conftest.er1 >conftest.err
70662 rm -f conftest.er1
70663 cat conftest.err >&5
70664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70665 (exit $ac_status); } &&
70666 { ac_try='test -z "$ac_c_werror_flag"
70667 || test ! -s conftest.err'
70668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70669 (eval $ac_try) 2>&5
70670 ac_status=$?
70671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70672 (exit $ac_status); }; } &&
70673 { ac_try='test -s conftest$ac_exeext'
70674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70675 (eval $ac_try) 2>&5
70676 ac_status=$?
70677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70678 (exit $ac_status); }; }; then
70679 eval "$as_ac_var=yes"
70680 else
70681 echo "$as_me: failed program was:" >&5
70682 sed 's/^/| /' conftest.$ac_ext >&5
70683
70684 eval "$as_ac_var=no"
70685 fi
70686 rm -f conftest.err conftest.$ac_objext \
70687 conftest$ac_exeext conftest.$ac_ext
70688 fi
70689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70691 if test `eval echo '${'$as_ac_var'}'` = yes; then
70692 cat >>confdefs.h <<_ACEOF
70693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70694 _ACEOF
70695
70696 fi
70697 done
70698
70699 fi
70700 fi
70701
70702
70703
70704
70705
70706
70707 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70708 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70709 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70710 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70711 echo $ECHO_N "(cached) $ECHO_C" >&6
70712 else
70713
70714
70715
70716 ac_ext=cc
70717 ac_cpp='$CXXCPP $CPPFLAGS'
70718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70721
70722 cat >conftest.$ac_ext <<_ACEOF
70723 /* confdefs.h. */
70724 _ACEOF
70725 cat confdefs.h >>conftest.$ac_ext
70726 cat >>conftest.$ac_ext <<_ACEOF
70727 /* end confdefs.h. */
70728 #include <math.h>
70729 int
70730 main ()
70731 {
70732 ldexpf(0, 0);
70733 ;
70734 return 0;
70735 }
70736 _ACEOF
70737 rm -f conftest.$ac_objext
70738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70739 (eval $ac_compile) 2>conftest.er1
70740 ac_status=$?
70741 grep -v '^ *+' conftest.er1 >conftest.err
70742 rm -f conftest.er1
70743 cat conftest.err >&5
70744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70745 (exit $ac_status); } &&
70746 { ac_try='test -z "$ac_cxx_werror_flag"
70747 || test ! -s conftest.err'
70748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70749 (eval $ac_try) 2>&5
70750 ac_status=$?
70751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70752 (exit $ac_status); }; } &&
70753 { ac_try='test -s conftest.$ac_objext'
70754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70755 (eval $ac_try) 2>&5
70756 ac_status=$?
70757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70758 (exit $ac_status); }; }; then
70759 glibcxx_cv_func_ldexpf_use=yes
70760 else
70761 echo "$as_me: failed program was:" >&5
70762 sed 's/^/| /' conftest.$ac_ext >&5
70763
70764 glibcxx_cv_func_ldexpf_use=no
70765 fi
70766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70767 ac_ext=c
70768 ac_cpp='$CPP $CPPFLAGS'
70769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70772
70773
70774 fi
70775
70776 fi
70777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70778 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70779
70780 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70781
70782 for ac_func in ldexpf
70783 do
70784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70785 echo "$as_me:$LINENO: checking for $ac_func" >&5
70786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70787 if eval "test \"\${$as_ac_var+set}\" = set"; then
70788 echo $ECHO_N "(cached) $ECHO_C" >&6
70789 else
70790 if test x$gcc_no_link = xyes; then
70791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70793 { (exit 1); exit 1; }; }
70794 fi
70795 cat >conftest.$ac_ext <<_ACEOF
70796 /* confdefs.h. */
70797 _ACEOF
70798 cat confdefs.h >>conftest.$ac_ext
70799 cat >>conftest.$ac_ext <<_ACEOF
70800 /* end confdefs.h. */
70801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70803 #define $ac_func innocuous_$ac_func
70804
70805 /* System header to define __stub macros and hopefully few prototypes,
70806 which can conflict with char $ac_func (); below.
70807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70808 <limits.h> exists even on freestanding compilers. */
70809
70810 #ifdef __STDC__
70811 # include <limits.h>
70812 #else
70813 # include <assert.h>
70814 #endif
70815
70816 #undef $ac_func
70817
70818 /* Override any gcc2 internal prototype to avoid an error. */
70819 #ifdef __cplusplus
70820 extern "C"
70821 {
70822 #endif
70823 /* We use char because int might match the return type of a gcc2
70824 builtin and then its argument prototype would still apply. */
70825 char $ac_func ();
70826 /* The GNU C library defines this for functions which it implements
70827 to always fail with ENOSYS. Some functions are actually named
70828 something starting with __ and the normal name is an alias. */
70829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70830 choke me
70831 #else
70832 char (*f) () = $ac_func;
70833 #endif
70834 #ifdef __cplusplus
70835 }
70836 #endif
70837
70838 int
70839 main ()
70840 {
70841 return f != $ac_func;
70842 ;
70843 return 0;
70844 }
70845 _ACEOF
70846 rm -f conftest.$ac_objext conftest$ac_exeext
70847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70848 (eval $ac_link) 2>conftest.er1
70849 ac_status=$?
70850 grep -v '^ *+' conftest.er1 >conftest.err
70851 rm -f conftest.er1
70852 cat conftest.err >&5
70853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70854 (exit $ac_status); } &&
70855 { ac_try='test -z "$ac_c_werror_flag"
70856 || test ! -s conftest.err'
70857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70858 (eval $ac_try) 2>&5
70859 ac_status=$?
70860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70861 (exit $ac_status); }; } &&
70862 { ac_try='test -s conftest$ac_exeext'
70863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70864 (eval $ac_try) 2>&5
70865 ac_status=$?
70866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70867 (exit $ac_status); }; }; then
70868 eval "$as_ac_var=yes"
70869 else
70870 echo "$as_me: failed program was:" >&5
70871 sed 's/^/| /' conftest.$ac_ext >&5
70872
70873 eval "$as_ac_var=no"
70874 fi
70875 rm -f conftest.err conftest.$ac_objext \
70876 conftest$ac_exeext conftest.$ac_ext
70877 fi
70878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70880 if test `eval echo '${'$as_ac_var'}'` = yes; then
70881 cat >>confdefs.h <<_ACEOF
70882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70883 _ACEOF
70884
70885 fi
70886 done
70887
70888 else
70889
70890 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70891 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70892 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70893 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70894 echo $ECHO_N "(cached) $ECHO_C" >&6
70895 else
70896
70897
70898
70899 ac_ext=cc
70900 ac_cpp='$CXXCPP $CPPFLAGS'
70901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70904
70905 cat >conftest.$ac_ext <<_ACEOF
70906 /* confdefs.h. */
70907 _ACEOF
70908 cat confdefs.h >>conftest.$ac_ext
70909 cat >>conftest.$ac_ext <<_ACEOF
70910 /* end confdefs.h. */
70911 #include <math.h>
70912 int
70913 main ()
70914 {
70915 _ldexpf(0, 0);
70916 ;
70917 return 0;
70918 }
70919 _ACEOF
70920 rm -f conftest.$ac_objext
70921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70922 (eval $ac_compile) 2>conftest.er1
70923 ac_status=$?
70924 grep -v '^ *+' conftest.er1 >conftest.err
70925 rm -f conftest.er1
70926 cat conftest.err >&5
70927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70928 (exit $ac_status); } &&
70929 { ac_try='test -z "$ac_cxx_werror_flag"
70930 || test ! -s conftest.err'
70931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70932 (eval $ac_try) 2>&5
70933 ac_status=$?
70934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70935 (exit $ac_status); }; } &&
70936 { ac_try='test -s conftest.$ac_objext'
70937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70938 (eval $ac_try) 2>&5
70939 ac_status=$?
70940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70941 (exit $ac_status); }; }; then
70942 glibcxx_cv_func__ldexpf_use=yes
70943 else
70944 echo "$as_me: failed program was:" >&5
70945 sed 's/^/| /' conftest.$ac_ext >&5
70946
70947 glibcxx_cv_func__ldexpf_use=no
70948 fi
70949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70950 ac_ext=c
70951 ac_cpp='$CPP $CPPFLAGS'
70952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70955
70956
70957 fi
70958
70959 fi
70960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70961 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70962
70963 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70964
70965 for ac_func in _ldexpf
70966 do
70967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70968 echo "$as_me:$LINENO: checking for $ac_func" >&5
70969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70970 if eval "test \"\${$as_ac_var+set}\" = set"; then
70971 echo $ECHO_N "(cached) $ECHO_C" >&6
70972 else
70973 if test x$gcc_no_link = xyes; then
70974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70976 { (exit 1); exit 1; }; }
70977 fi
70978 cat >conftest.$ac_ext <<_ACEOF
70979 /* confdefs.h. */
70980 _ACEOF
70981 cat confdefs.h >>conftest.$ac_ext
70982 cat >>conftest.$ac_ext <<_ACEOF
70983 /* end confdefs.h. */
70984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70986 #define $ac_func innocuous_$ac_func
70987
70988 /* System header to define __stub macros and hopefully few prototypes,
70989 which can conflict with char $ac_func (); below.
70990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70991 <limits.h> exists even on freestanding compilers. */
70992
70993 #ifdef __STDC__
70994 # include <limits.h>
70995 #else
70996 # include <assert.h>
70997 #endif
70998
70999 #undef $ac_func
71000
71001 /* Override any gcc2 internal prototype to avoid an error. */
71002 #ifdef __cplusplus
71003 extern "C"
71004 {
71005 #endif
71006 /* We use char because int might match the return type of a gcc2
71007 builtin and then its argument prototype would still apply. */
71008 char $ac_func ();
71009 /* The GNU C library defines this for functions which it implements
71010 to always fail with ENOSYS. Some functions are actually named
71011 something starting with __ and the normal name is an alias. */
71012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71013 choke me
71014 #else
71015 char (*f) () = $ac_func;
71016 #endif
71017 #ifdef __cplusplus
71018 }
71019 #endif
71020
71021 int
71022 main ()
71023 {
71024 return f != $ac_func;
71025 ;
71026 return 0;
71027 }
71028 _ACEOF
71029 rm -f conftest.$ac_objext conftest$ac_exeext
71030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71031 (eval $ac_link) 2>conftest.er1
71032 ac_status=$?
71033 grep -v '^ *+' conftest.er1 >conftest.err
71034 rm -f conftest.er1
71035 cat conftest.err >&5
71036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71037 (exit $ac_status); } &&
71038 { ac_try='test -z "$ac_c_werror_flag"
71039 || test ! -s conftest.err'
71040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71041 (eval $ac_try) 2>&5
71042 ac_status=$?
71043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71044 (exit $ac_status); }; } &&
71045 { ac_try='test -s conftest$ac_exeext'
71046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71047 (eval $ac_try) 2>&5
71048 ac_status=$?
71049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71050 (exit $ac_status); }; }; then
71051 eval "$as_ac_var=yes"
71052 else
71053 echo "$as_me: failed program was:" >&5
71054 sed 's/^/| /' conftest.$ac_ext >&5
71055
71056 eval "$as_ac_var=no"
71057 fi
71058 rm -f conftest.err conftest.$ac_objext \
71059 conftest$ac_exeext conftest.$ac_ext
71060 fi
71061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71063 if test `eval echo '${'$as_ac_var'}'` = yes; then
71064 cat >>confdefs.h <<_ACEOF
71065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71066 _ACEOF
71067
71068 fi
71069 done
71070
71071 fi
71072 fi
71073
71074
71075
71076
71077
71078
71079 echo "$as_me:$LINENO: checking for logf declaration" >&5
71080 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71081 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71082 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71083 echo $ECHO_N "(cached) $ECHO_C" >&6
71084 else
71085
71086
71087
71088 ac_ext=cc
71089 ac_cpp='$CXXCPP $CPPFLAGS'
71090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71093
71094 cat >conftest.$ac_ext <<_ACEOF
71095 /* confdefs.h. */
71096 _ACEOF
71097 cat confdefs.h >>conftest.$ac_ext
71098 cat >>conftest.$ac_ext <<_ACEOF
71099 /* end confdefs.h. */
71100 #include <math.h>
71101 #ifdef HAVE_IEEEFP_H
71102 #include <ieeefp.h>
71103 #endif
71104
71105 int
71106 main ()
71107 {
71108 logf(0);
71109 ;
71110 return 0;
71111 }
71112 _ACEOF
71113 rm -f conftest.$ac_objext
71114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71115 (eval $ac_compile) 2>conftest.er1
71116 ac_status=$?
71117 grep -v '^ *+' conftest.er1 >conftest.err
71118 rm -f conftest.er1
71119 cat conftest.err >&5
71120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71121 (exit $ac_status); } &&
71122 { ac_try='test -z "$ac_cxx_werror_flag"
71123 || test ! -s conftest.err'
71124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71125 (eval $ac_try) 2>&5
71126 ac_status=$?
71127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71128 (exit $ac_status); }; } &&
71129 { ac_try='test -s conftest.$ac_objext'
71130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71131 (eval $ac_try) 2>&5
71132 ac_status=$?
71133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71134 (exit $ac_status); }; }; then
71135 glibcxx_cv_func_logf_use=yes
71136 else
71137 echo "$as_me: failed program was:" >&5
71138 sed 's/^/| /' conftest.$ac_ext >&5
71139
71140 glibcxx_cv_func_logf_use=no
71141 fi
71142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71143 ac_ext=c
71144 ac_cpp='$CPP $CPPFLAGS'
71145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71148
71149
71150 fi
71151
71152 fi
71153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71154 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71155
71156 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71157
71158 for ac_func in logf
71159 do
71160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71161 echo "$as_me:$LINENO: checking for $ac_func" >&5
71162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71163 if eval "test \"\${$as_ac_var+set}\" = set"; then
71164 echo $ECHO_N "(cached) $ECHO_C" >&6
71165 else
71166 if test x$gcc_no_link = xyes; then
71167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71169 { (exit 1); exit 1; }; }
71170 fi
71171 cat >conftest.$ac_ext <<_ACEOF
71172 /* confdefs.h. */
71173 _ACEOF
71174 cat confdefs.h >>conftest.$ac_ext
71175 cat >>conftest.$ac_ext <<_ACEOF
71176 /* end confdefs.h. */
71177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71179 #define $ac_func innocuous_$ac_func
71180
71181 /* System header to define __stub macros and hopefully few prototypes,
71182 which can conflict with char $ac_func (); below.
71183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71184 <limits.h> exists even on freestanding compilers. */
71185
71186 #ifdef __STDC__
71187 # include <limits.h>
71188 #else
71189 # include <assert.h>
71190 #endif
71191
71192 #undef $ac_func
71193
71194 /* Override any gcc2 internal prototype to avoid an error. */
71195 #ifdef __cplusplus
71196 extern "C"
71197 {
71198 #endif
71199 /* We use char because int might match the return type of a gcc2
71200 builtin and then its argument prototype would still apply. */
71201 char $ac_func ();
71202 /* The GNU C library defines this for functions which it implements
71203 to always fail with ENOSYS. Some functions are actually named
71204 something starting with __ and the normal name is an alias. */
71205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71206 choke me
71207 #else
71208 char (*f) () = $ac_func;
71209 #endif
71210 #ifdef __cplusplus
71211 }
71212 #endif
71213
71214 int
71215 main ()
71216 {
71217 return f != $ac_func;
71218 ;
71219 return 0;
71220 }
71221 _ACEOF
71222 rm -f conftest.$ac_objext conftest$ac_exeext
71223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71224 (eval $ac_link) 2>conftest.er1
71225 ac_status=$?
71226 grep -v '^ *+' conftest.er1 >conftest.err
71227 rm -f conftest.er1
71228 cat conftest.err >&5
71229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71230 (exit $ac_status); } &&
71231 { ac_try='test -z "$ac_c_werror_flag"
71232 || test ! -s conftest.err'
71233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71234 (eval $ac_try) 2>&5
71235 ac_status=$?
71236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237 (exit $ac_status); }; } &&
71238 { ac_try='test -s conftest$ac_exeext'
71239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71240 (eval $ac_try) 2>&5
71241 ac_status=$?
71242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71243 (exit $ac_status); }; }; then
71244 eval "$as_ac_var=yes"
71245 else
71246 echo "$as_me: failed program was:" >&5
71247 sed 's/^/| /' conftest.$ac_ext >&5
71248
71249 eval "$as_ac_var=no"
71250 fi
71251 rm -f conftest.err conftest.$ac_objext \
71252 conftest$ac_exeext conftest.$ac_ext
71253 fi
71254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71256 if test `eval echo '${'$as_ac_var'}'` = yes; then
71257 cat >>confdefs.h <<_ACEOF
71258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71259 _ACEOF
71260
71261 fi
71262 done
71263
71264 else
71265
71266 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71267 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71268 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71269 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71270 echo $ECHO_N "(cached) $ECHO_C" >&6
71271 else
71272
71273
71274
71275 ac_ext=cc
71276 ac_cpp='$CXXCPP $CPPFLAGS'
71277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71280
71281 cat >conftest.$ac_ext <<_ACEOF
71282 /* confdefs.h. */
71283 _ACEOF
71284 cat confdefs.h >>conftest.$ac_ext
71285 cat >>conftest.$ac_ext <<_ACEOF
71286 /* end confdefs.h. */
71287 #include <math.h>
71288 #ifdef HAVE_IEEEFP_H
71289 #include <ieeefp.h>
71290 #endif
71291
71292 int
71293 main ()
71294 {
71295 _logf(0);
71296 ;
71297 return 0;
71298 }
71299 _ACEOF
71300 rm -f conftest.$ac_objext
71301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71302 (eval $ac_compile) 2>conftest.er1
71303 ac_status=$?
71304 grep -v '^ *+' conftest.er1 >conftest.err
71305 rm -f conftest.er1
71306 cat conftest.err >&5
71307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71308 (exit $ac_status); } &&
71309 { ac_try='test -z "$ac_cxx_werror_flag"
71310 || test ! -s conftest.err'
71311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71312 (eval $ac_try) 2>&5
71313 ac_status=$?
71314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71315 (exit $ac_status); }; } &&
71316 { ac_try='test -s conftest.$ac_objext'
71317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71318 (eval $ac_try) 2>&5
71319 ac_status=$?
71320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71321 (exit $ac_status); }; }; then
71322 glibcxx_cv_func__logf_use=yes
71323 else
71324 echo "$as_me: failed program was:" >&5
71325 sed 's/^/| /' conftest.$ac_ext >&5
71326
71327 glibcxx_cv_func__logf_use=no
71328 fi
71329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71330 ac_ext=c
71331 ac_cpp='$CPP $CPPFLAGS'
71332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71335
71336
71337 fi
71338
71339 fi
71340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71341 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71342
71343 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71344
71345 for ac_func in _logf
71346 do
71347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71348 echo "$as_me:$LINENO: checking for $ac_func" >&5
71349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71350 if eval "test \"\${$as_ac_var+set}\" = set"; then
71351 echo $ECHO_N "(cached) $ECHO_C" >&6
71352 else
71353 if test x$gcc_no_link = xyes; then
71354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71356 { (exit 1); exit 1; }; }
71357 fi
71358 cat >conftest.$ac_ext <<_ACEOF
71359 /* confdefs.h. */
71360 _ACEOF
71361 cat confdefs.h >>conftest.$ac_ext
71362 cat >>conftest.$ac_ext <<_ACEOF
71363 /* end confdefs.h. */
71364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71366 #define $ac_func innocuous_$ac_func
71367
71368 /* System header to define __stub macros and hopefully few prototypes,
71369 which can conflict with char $ac_func (); below.
71370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71371 <limits.h> exists even on freestanding compilers. */
71372
71373 #ifdef __STDC__
71374 # include <limits.h>
71375 #else
71376 # include <assert.h>
71377 #endif
71378
71379 #undef $ac_func
71380
71381 /* Override any gcc2 internal prototype to avoid an error. */
71382 #ifdef __cplusplus
71383 extern "C"
71384 {
71385 #endif
71386 /* We use char because int might match the return type of a gcc2
71387 builtin and then its argument prototype would still apply. */
71388 char $ac_func ();
71389 /* The GNU C library defines this for functions which it implements
71390 to always fail with ENOSYS. Some functions are actually named
71391 something starting with __ and the normal name is an alias. */
71392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71393 choke me
71394 #else
71395 char (*f) () = $ac_func;
71396 #endif
71397 #ifdef __cplusplus
71398 }
71399 #endif
71400
71401 int
71402 main ()
71403 {
71404 return f != $ac_func;
71405 ;
71406 return 0;
71407 }
71408 _ACEOF
71409 rm -f conftest.$ac_objext conftest$ac_exeext
71410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71411 (eval $ac_link) 2>conftest.er1
71412 ac_status=$?
71413 grep -v '^ *+' conftest.er1 >conftest.err
71414 rm -f conftest.er1
71415 cat conftest.err >&5
71416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71417 (exit $ac_status); } &&
71418 { ac_try='test -z "$ac_c_werror_flag"
71419 || test ! -s conftest.err'
71420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71421 (eval $ac_try) 2>&5
71422 ac_status=$?
71423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71424 (exit $ac_status); }; } &&
71425 { ac_try='test -s conftest$ac_exeext'
71426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71427 (eval $ac_try) 2>&5
71428 ac_status=$?
71429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71430 (exit $ac_status); }; }; then
71431 eval "$as_ac_var=yes"
71432 else
71433 echo "$as_me: failed program was:" >&5
71434 sed 's/^/| /' conftest.$ac_ext >&5
71435
71436 eval "$as_ac_var=no"
71437 fi
71438 rm -f conftest.err conftest.$ac_objext \
71439 conftest$ac_exeext conftest.$ac_ext
71440 fi
71441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71443 if test `eval echo '${'$as_ac_var'}'` = yes; then
71444 cat >>confdefs.h <<_ACEOF
71445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71446 _ACEOF
71447
71448 fi
71449 done
71450
71451 fi
71452 fi
71453
71454
71455
71456
71457
71458
71459 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71460 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71461 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71462 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71463 echo $ECHO_N "(cached) $ECHO_C" >&6
71464 else
71465
71466
71467
71468 ac_ext=cc
71469 ac_cpp='$CXXCPP $CPPFLAGS'
71470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71473
71474 cat >conftest.$ac_ext <<_ACEOF
71475 /* confdefs.h. */
71476 _ACEOF
71477 cat confdefs.h >>conftest.$ac_ext
71478 cat >>conftest.$ac_ext <<_ACEOF
71479 /* end confdefs.h. */
71480 #include <math.h>
71481 #ifdef HAVE_IEEEFP_H
71482 #include <ieeefp.h>
71483 #endif
71484
71485 int
71486 main ()
71487 {
71488 log10f(0);
71489 ;
71490 return 0;
71491 }
71492 _ACEOF
71493 rm -f conftest.$ac_objext
71494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71495 (eval $ac_compile) 2>conftest.er1
71496 ac_status=$?
71497 grep -v '^ *+' conftest.er1 >conftest.err
71498 rm -f conftest.er1
71499 cat conftest.err >&5
71500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71501 (exit $ac_status); } &&
71502 { ac_try='test -z "$ac_cxx_werror_flag"
71503 || test ! -s conftest.err'
71504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71505 (eval $ac_try) 2>&5
71506 ac_status=$?
71507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71508 (exit $ac_status); }; } &&
71509 { ac_try='test -s conftest.$ac_objext'
71510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71511 (eval $ac_try) 2>&5
71512 ac_status=$?
71513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71514 (exit $ac_status); }; }; then
71515 glibcxx_cv_func_log10f_use=yes
71516 else
71517 echo "$as_me: failed program was:" >&5
71518 sed 's/^/| /' conftest.$ac_ext >&5
71519
71520 glibcxx_cv_func_log10f_use=no
71521 fi
71522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71523 ac_ext=c
71524 ac_cpp='$CPP $CPPFLAGS'
71525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71528
71529
71530 fi
71531
71532 fi
71533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71534 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71535
71536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71537
71538 for ac_func in log10f
71539 do
71540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71541 echo "$as_me:$LINENO: checking for $ac_func" >&5
71542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71543 if eval "test \"\${$as_ac_var+set}\" = set"; then
71544 echo $ECHO_N "(cached) $ECHO_C" >&6
71545 else
71546 if test x$gcc_no_link = xyes; then
71547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71549 { (exit 1); exit 1; }; }
71550 fi
71551 cat >conftest.$ac_ext <<_ACEOF
71552 /* confdefs.h. */
71553 _ACEOF
71554 cat confdefs.h >>conftest.$ac_ext
71555 cat >>conftest.$ac_ext <<_ACEOF
71556 /* end confdefs.h. */
71557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71559 #define $ac_func innocuous_$ac_func
71560
71561 /* System header to define __stub macros and hopefully few prototypes,
71562 which can conflict with char $ac_func (); below.
71563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71564 <limits.h> exists even on freestanding compilers. */
71565
71566 #ifdef __STDC__
71567 # include <limits.h>
71568 #else
71569 # include <assert.h>
71570 #endif
71571
71572 #undef $ac_func
71573
71574 /* Override any gcc2 internal prototype to avoid an error. */
71575 #ifdef __cplusplus
71576 extern "C"
71577 {
71578 #endif
71579 /* We use char because int might match the return type of a gcc2
71580 builtin and then its argument prototype would still apply. */
71581 char $ac_func ();
71582 /* The GNU C library defines this for functions which it implements
71583 to always fail with ENOSYS. Some functions are actually named
71584 something starting with __ and the normal name is an alias. */
71585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71586 choke me
71587 #else
71588 char (*f) () = $ac_func;
71589 #endif
71590 #ifdef __cplusplus
71591 }
71592 #endif
71593
71594 int
71595 main ()
71596 {
71597 return f != $ac_func;
71598 ;
71599 return 0;
71600 }
71601 _ACEOF
71602 rm -f conftest.$ac_objext conftest$ac_exeext
71603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71604 (eval $ac_link) 2>conftest.er1
71605 ac_status=$?
71606 grep -v '^ *+' conftest.er1 >conftest.err
71607 rm -f conftest.er1
71608 cat conftest.err >&5
71609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71610 (exit $ac_status); } &&
71611 { ac_try='test -z "$ac_c_werror_flag"
71612 || test ! -s conftest.err'
71613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71614 (eval $ac_try) 2>&5
71615 ac_status=$?
71616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71617 (exit $ac_status); }; } &&
71618 { ac_try='test -s conftest$ac_exeext'
71619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71620 (eval $ac_try) 2>&5
71621 ac_status=$?
71622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71623 (exit $ac_status); }; }; then
71624 eval "$as_ac_var=yes"
71625 else
71626 echo "$as_me: failed program was:" >&5
71627 sed 's/^/| /' conftest.$ac_ext >&5
71628
71629 eval "$as_ac_var=no"
71630 fi
71631 rm -f conftest.err conftest.$ac_objext \
71632 conftest$ac_exeext conftest.$ac_ext
71633 fi
71634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71636 if test `eval echo '${'$as_ac_var'}'` = yes; then
71637 cat >>confdefs.h <<_ACEOF
71638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71639 _ACEOF
71640
71641 fi
71642 done
71643
71644 else
71645
71646 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71647 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71648 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71649 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71650 echo $ECHO_N "(cached) $ECHO_C" >&6
71651 else
71652
71653
71654
71655 ac_ext=cc
71656 ac_cpp='$CXXCPP $CPPFLAGS'
71657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71660
71661 cat >conftest.$ac_ext <<_ACEOF
71662 /* confdefs.h. */
71663 _ACEOF
71664 cat confdefs.h >>conftest.$ac_ext
71665 cat >>conftest.$ac_ext <<_ACEOF
71666 /* end confdefs.h. */
71667 #include <math.h>
71668 #ifdef HAVE_IEEEFP_H
71669 #include <ieeefp.h>
71670 #endif
71671
71672 int
71673 main ()
71674 {
71675 _log10f(0);
71676 ;
71677 return 0;
71678 }
71679 _ACEOF
71680 rm -f conftest.$ac_objext
71681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71682 (eval $ac_compile) 2>conftest.er1
71683 ac_status=$?
71684 grep -v '^ *+' conftest.er1 >conftest.err
71685 rm -f conftest.er1
71686 cat conftest.err >&5
71687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71688 (exit $ac_status); } &&
71689 { ac_try='test -z "$ac_cxx_werror_flag"
71690 || test ! -s conftest.err'
71691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71692 (eval $ac_try) 2>&5
71693 ac_status=$?
71694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71695 (exit $ac_status); }; } &&
71696 { ac_try='test -s conftest.$ac_objext'
71697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71698 (eval $ac_try) 2>&5
71699 ac_status=$?
71700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71701 (exit $ac_status); }; }; then
71702 glibcxx_cv_func__log10f_use=yes
71703 else
71704 echo "$as_me: failed program was:" >&5
71705 sed 's/^/| /' conftest.$ac_ext >&5
71706
71707 glibcxx_cv_func__log10f_use=no
71708 fi
71709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71710 ac_ext=c
71711 ac_cpp='$CPP $CPPFLAGS'
71712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71715
71716
71717 fi
71718
71719 fi
71720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71721 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71722
71723 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71724
71725 for ac_func in _log10f
71726 do
71727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71728 echo "$as_me:$LINENO: checking for $ac_func" >&5
71729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71730 if eval "test \"\${$as_ac_var+set}\" = set"; then
71731 echo $ECHO_N "(cached) $ECHO_C" >&6
71732 else
71733 if test x$gcc_no_link = xyes; then
71734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71736 { (exit 1); exit 1; }; }
71737 fi
71738 cat >conftest.$ac_ext <<_ACEOF
71739 /* confdefs.h. */
71740 _ACEOF
71741 cat confdefs.h >>conftest.$ac_ext
71742 cat >>conftest.$ac_ext <<_ACEOF
71743 /* end confdefs.h. */
71744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71746 #define $ac_func innocuous_$ac_func
71747
71748 /* System header to define __stub macros and hopefully few prototypes,
71749 which can conflict with char $ac_func (); below.
71750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71751 <limits.h> exists even on freestanding compilers. */
71752
71753 #ifdef __STDC__
71754 # include <limits.h>
71755 #else
71756 # include <assert.h>
71757 #endif
71758
71759 #undef $ac_func
71760
71761 /* Override any gcc2 internal prototype to avoid an error. */
71762 #ifdef __cplusplus
71763 extern "C"
71764 {
71765 #endif
71766 /* We use char because int might match the return type of a gcc2
71767 builtin and then its argument prototype would still apply. */
71768 char $ac_func ();
71769 /* The GNU C library defines this for functions which it implements
71770 to always fail with ENOSYS. Some functions are actually named
71771 something starting with __ and the normal name is an alias. */
71772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71773 choke me
71774 #else
71775 char (*f) () = $ac_func;
71776 #endif
71777 #ifdef __cplusplus
71778 }
71779 #endif
71780
71781 int
71782 main ()
71783 {
71784 return f != $ac_func;
71785 ;
71786 return 0;
71787 }
71788 _ACEOF
71789 rm -f conftest.$ac_objext conftest$ac_exeext
71790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71791 (eval $ac_link) 2>conftest.er1
71792 ac_status=$?
71793 grep -v '^ *+' conftest.er1 >conftest.err
71794 rm -f conftest.er1
71795 cat conftest.err >&5
71796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71797 (exit $ac_status); } &&
71798 { ac_try='test -z "$ac_c_werror_flag"
71799 || test ! -s conftest.err'
71800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71801 (eval $ac_try) 2>&5
71802 ac_status=$?
71803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71804 (exit $ac_status); }; } &&
71805 { ac_try='test -s conftest$ac_exeext'
71806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71807 (eval $ac_try) 2>&5
71808 ac_status=$?
71809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71810 (exit $ac_status); }; }; then
71811 eval "$as_ac_var=yes"
71812 else
71813 echo "$as_me: failed program was:" >&5
71814 sed 's/^/| /' conftest.$ac_ext >&5
71815
71816 eval "$as_ac_var=no"
71817 fi
71818 rm -f conftest.err conftest.$ac_objext \
71819 conftest$ac_exeext conftest.$ac_ext
71820 fi
71821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71823 if test `eval echo '${'$as_ac_var'}'` = yes; then
71824 cat >>confdefs.h <<_ACEOF
71825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71826 _ACEOF
71827
71828 fi
71829 done
71830
71831 fi
71832 fi
71833
71834
71835
71836
71837
71838
71839 echo "$as_me:$LINENO: checking for modff declaration" >&5
71840 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71841 if test x${glibcxx_cv_func_modff_use+set} != xset; then
71842 if test "${glibcxx_cv_func_modff_use+set}" = set; then
71843 echo $ECHO_N "(cached) $ECHO_C" >&6
71844 else
71845
71846
71847
71848 ac_ext=cc
71849 ac_cpp='$CXXCPP $CPPFLAGS'
71850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71853
71854 cat >conftest.$ac_ext <<_ACEOF
71855 /* confdefs.h. */
71856 _ACEOF
71857 cat confdefs.h >>conftest.$ac_ext
71858 cat >>conftest.$ac_ext <<_ACEOF
71859 /* end confdefs.h. */
71860 #include <math.h>
71861 int
71862 main ()
71863 {
71864 modff(0, 0);
71865 ;
71866 return 0;
71867 }
71868 _ACEOF
71869 rm -f conftest.$ac_objext
71870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71871 (eval $ac_compile) 2>conftest.er1
71872 ac_status=$?
71873 grep -v '^ *+' conftest.er1 >conftest.err
71874 rm -f conftest.er1
71875 cat conftest.err >&5
71876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71877 (exit $ac_status); } &&
71878 { ac_try='test -z "$ac_cxx_werror_flag"
71879 || test ! -s conftest.err'
71880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71881 (eval $ac_try) 2>&5
71882 ac_status=$?
71883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71884 (exit $ac_status); }; } &&
71885 { ac_try='test -s conftest.$ac_objext'
71886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71887 (eval $ac_try) 2>&5
71888 ac_status=$?
71889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71890 (exit $ac_status); }; }; then
71891 glibcxx_cv_func_modff_use=yes
71892 else
71893 echo "$as_me: failed program was:" >&5
71894 sed 's/^/| /' conftest.$ac_ext >&5
71895
71896 glibcxx_cv_func_modff_use=no
71897 fi
71898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71899 ac_ext=c
71900 ac_cpp='$CPP $CPPFLAGS'
71901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71904
71905
71906 fi
71907
71908 fi
71909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71910 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71911
71912 if test x$glibcxx_cv_func_modff_use = x"yes"; then
71913
71914 for ac_func in modff
71915 do
71916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71917 echo "$as_me:$LINENO: checking for $ac_func" >&5
71918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71919 if eval "test \"\${$as_ac_var+set}\" = set"; then
71920 echo $ECHO_N "(cached) $ECHO_C" >&6
71921 else
71922 if test x$gcc_no_link = xyes; then
71923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71925 { (exit 1); exit 1; }; }
71926 fi
71927 cat >conftest.$ac_ext <<_ACEOF
71928 /* confdefs.h. */
71929 _ACEOF
71930 cat confdefs.h >>conftest.$ac_ext
71931 cat >>conftest.$ac_ext <<_ACEOF
71932 /* end confdefs.h. */
71933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71935 #define $ac_func innocuous_$ac_func
71936
71937 /* System header to define __stub macros and hopefully few prototypes,
71938 which can conflict with char $ac_func (); below.
71939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71940 <limits.h> exists even on freestanding compilers. */
71941
71942 #ifdef __STDC__
71943 # include <limits.h>
71944 #else
71945 # include <assert.h>
71946 #endif
71947
71948 #undef $ac_func
71949
71950 /* Override any gcc2 internal prototype to avoid an error. */
71951 #ifdef __cplusplus
71952 extern "C"
71953 {
71954 #endif
71955 /* We use char because int might match the return type of a gcc2
71956 builtin and then its argument prototype would still apply. */
71957 char $ac_func ();
71958 /* The GNU C library defines this for functions which it implements
71959 to always fail with ENOSYS. Some functions are actually named
71960 something starting with __ and the normal name is an alias. */
71961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71962 choke me
71963 #else
71964 char (*f) () = $ac_func;
71965 #endif
71966 #ifdef __cplusplus
71967 }
71968 #endif
71969
71970 int
71971 main ()
71972 {
71973 return f != $ac_func;
71974 ;
71975 return 0;
71976 }
71977 _ACEOF
71978 rm -f conftest.$ac_objext conftest$ac_exeext
71979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71980 (eval $ac_link) 2>conftest.er1
71981 ac_status=$?
71982 grep -v '^ *+' conftest.er1 >conftest.err
71983 rm -f conftest.er1
71984 cat conftest.err >&5
71985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71986 (exit $ac_status); } &&
71987 { ac_try='test -z "$ac_c_werror_flag"
71988 || test ! -s conftest.err'
71989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71990 (eval $ac_try) 2>&5
71991 ac_status=$?
71992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71993 (exit $ac_status); }; } &&
71994 { ac_try='test -s conftest$ac_exeext'
71995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71996 (eval $ac_try) 2>&5
71997 ac_status=$?
71998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71999 (exit $ac_status); }; }; then
72000 eval "$as_ac_var=yes"
72001 else
72002 echo "$as_me: failed program was:" >&5
72003 sed 's/^/| /' conftest.$ac_ext >&5
72004
72005 eval "$as_ac_var=no"
72006 fi
72007 rm -f conftest.err conftest.$ac_objext \
72008 conftest$ac_exeext conftest.$ac_ext
72009 fi
72010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72012 if test `eval echo '${'$as_ac_var'}'` = yes; then
72013 cat >>confdefs.h <<_ACEOF
72014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72015 _ACEOF
72016
72017 fi
72018 done
72019
72020 else
72021
72022 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72023 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72024 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72025 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72026 echo $ECHO_N "(cached) $ECHO_C" >&6
72027 else
72028
72029
72030
72031 ac_ext=cc
72032 ac_cpp='$CXXCPP $CPPFLAGS'
72033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72036
72037 cat >conftest.$ac_ext <<_ACEOF
72038 /* confdefs.h. */
72039 _ACEOF
72040 cat confdefs.h >>conftest.$ac_ext
72041 cat >>conftest.$ac_ext <<_ACEOF
72042 /* end confdefs.h. */
72043 #include <math.h>
72044 int
72045 main ()
72046 {
72047 _modff(0, 0);
72048 ;
72049 return 0;
72050 }
72051 _ACEOF
72052 rm -f conftest.$ac_objext
72053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72054 (eval $ac_compile) 2>conftest.er1
72055 ac_status=$?
72056 grep -v '^ *+' conftest.er1 >conftest.err
72057 rm -f conftest.er1
72058 cat conftest.err >&5
72059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72060 (exit $ac_status); } &&
72061 { ac_try='test -z "$ac_cxx_werror_flag"
72062 || test ! -s conftest.err'
72063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72064 (eval $ac_try) 2>&5
72065 ac_status=$?
72066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72067 (exit $ac_status); }; } &&
72068 { ac_try='test -s conftest.$ac_objext'
72069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72070 (eval $ac_try) 2>&5
72071 ac_status=$?
72072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72073 (exit $ac_status); }; }; then
72074 glibcxx_cv_func__modff_use=yes
72075 else
72076 echo "$as_me: failed program was:" >&5
72077 sed 's/^/| /' conftest.$ac_ext >&5
72078
72079 glibcxx_cv_func__modff_use=no
72080 fi
72081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72082 ac_ext=c
72083 ac_cpp='$CPP $CPPFLAGS'
72084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72087
72088
72089 fi
72090
72091 fi
72092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72093 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72094
72095 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72096
72097 for ac_func in _modff
72098 do
72099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72100 echo "$as_me:$LINENO: checking for $ac_func" >&5
72101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72102 if eval "test \"\${$as_ac_var+set}\" = set"; then
72103 echo $ECHO_N "(cached) $ECHO_C" >&6
72104 else
72105 if test x$gcc_no_link = xyes; then
72106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72108 { (exit 1); exit 1; }; }
72109 fi
72110 cat >conftest.$ac_ext <<_ACEOF
72111 /* confdefs.h. */
72112 _ACEOF
72113 cat confdefs.h >>conftest.$ac_ext
72114 cat >>conftest.$ac_ext <<_ACEOF
72115 /* end confdefs.h. */
72116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72118 #define $ac_func innocuous_$ac_func
72119
72120 /* System header to define __stub macros and hopefully few prototypes,
72121 which can conflict with char $ac_func (); below.
72122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72123 <limits.h> exists even on freestanding compilers. */
72124
72125 #ifdef __STDC__
72126 # include <limits.h>
72127 #else
72128 # include <assert.h>
72129 #endif
72130
72131 #undef $ac_func
72132
72133 /* Override any gcc2 internal prototype to avoid an error. */
72134 #ifdef __cplusplus
72135 extern "C"
72136 {
72137 #endif
72138 /* We use char because int might match the return type of a gcc2
72139 builtin and then its argument prototype would still apply. */
72140 char $ac_func ();
72141 /* The GNU C library defines this for functions which it implements
72142 to always fail with ENOSYS. Some functions are actually named
72143 something starting with __ and the normal name is an alias. */
72144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72145 choke me
72146 #else
72147 char (*f) () = $ac_func;
72148 #endif
72149 #ifdef __cplusplus
72150 }
72151 #endif
72152
72153 int
72154 main ()
72155 {
72156 return f != $ac_func;
72157 ;
72158 return 0;
72159 }
72160 _ACEOF
72161 rm -f conftest.$ac_objext conftest$ac_exeext
72162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72163 (eval $ac_link) 2>conftest.er1
72164 ac_status=$?
72165 grep -v '^ *+' conftest.er1 >conftest.err
72166 rm -f conftest.er1
72167 cat conftest.err >&5
72168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72169 (exit $ac_status); } &&
72170 { ac_try='test -z "$ac_c_werror_flag"
72171 || test ! -s conftest.err'
72172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72173 (eval $ac_try) 2>&5
72174 ac_status=$?
72175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72176 (exit $ac_status); }; } &&
72177 { ac_try='test -s conftest$ac_exeext'
72178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72179 (eval $ac_try) 2>&5
72180 ac_status=$?
72181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72182 (exit $ac_status); }; }; then
72183 eval "$as_ac_var=yes"
72184 else
72185 echo "$as_me: failed program was:" >&5
72186 sed 's/^/| /' conftest.$ac_ext >&5
72187
72188 eval "$as_ac_var=no"
72189 fi
72190 rm -f conftest.err conftest.$ac_objext \
72191 conftest$ac_exeext conftest.$ac_ext
72192 fi
72193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72195 if test `eval echo '${'$as_ac_var'}'` = yes; then
72196 cat >>confdefs.h <<_ACEOF
72197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72198 _ACEOF
72199
72200 fi
72201 done
72202
72203 fi
72204 fi
72205
72206
72207
72208
72209
72210
72211 echo "$as_me:$LINENO: checking for modf declaration" >&5
72212 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72213 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72214 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72215 echo $ECHO_N "(cached) $ECHO_C" >&6
72216 else
72217
72218
72219
72220 ac_ext=cc
72221 ac_cpp='$CXXCPP $CPPFLAGS'
72222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72225
72226 cat >conftest.$ac_ext <<_ACEOF
72227 /* confdefs.h. */
72228 _ACEOF
72229 cat confdefs.h >>conftest.$ac_ext
72230 cat >>conftest.$ac_ext <<_ACEOF
72231 /* end confdefs.h. */
72232 #include <math.h>
72233 int
72234 main ()
72235 {
72236 modf(0, 0);
72237 ;
72238 return 0;
72239 }
72240 _ACEOF
72241 rm -f conftest.$ac_objext
72242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72243 (eval $ac_compile) 2>conftest.er1
72244 ac_status=$?
72245 grep -v '^ *+' conftest.er1 >conftest.err
72246 rm -f conftest.er1
72247 cat conftest.err >&5
72248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72249 (exit $ac_status); } &&
72250 { ac_try='test -z "$ac_cxx_werror_flag"
72251 || test ! -s conftest.err'
72252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72253 (eval $ac_try) 2>&5
72254 ac_status=$?
72255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72256 (exit $ac_status); }; } &&
72257 { ac_try='test -s conftest.$ac_objext'
72258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72259 (eval $ac_try) 2>&5
72260 ac_status=$?
72261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72262 (exit $ac_status); }; }; then
72263 glibcxx_cv_func_modf_use=yes
72264 else
72265 echo "$as_me: failed program was:" >&5
72266 sed 's/^/| /' conftest.$ac_ext >&5
72267
72268 glibcxx_cv_func_modf_use=no
72269 fi
72270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72271 ac_ext=c
72272 ac_cpp='$CPP $CPPFLAGS'
72273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72276
72277
72278 fi
72279
72280 fi
72281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72282 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72283
72284 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72285
72286 for ac_func in modf
72287 do
72288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72289 echo "$as_me:$LINENO: checking for $ac_func" >&5
72290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72291 if eval "test \"\${$as_ac_var+set}\" = set"; then
72292 echo $ECHO_N "(cached) $ECHO_C" >&6
72293 else
72294 if test x$gcc_no_link = xyes; then
72295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72297 { (exit 1); exit 1; }; }
72298 fi
72299 cat >conftest.$ac_ext <<_ACEOF
72300 /* confdefs.h. */
72301 _ACEOF
72302 cat confdefs.h >>conftest.$ac_ext
72303 cat >>conftest.$ac_ext <<_ACEOF
72304 /* end confdefs.h. */
72305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72307 #define $ac_func innocuous_$ac_func
72308
72309 /* System header to define __stub macros and hopefully few prototypes,
72310 which can conflict with char $ac_func (); below.
72311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72312 <limits.h> exists even on freestanding compilers. */
72313
72314 #ifdef __STDC__
72315 # include <limits.h>
72316 #else
72317 # include <assert.h>
72318 #endif
72319
72320 #undef $ac_func
72321
72322 /* Override any gcc2 internal prototype to avoid an error. */
72323 #ifdef __cplusplus
72324 extern "C"
72325 {
72326 #endif
72327 /* We use char because int might match the return type of a gcc2
72328 builtin and then its argument prototype would still apply. */
72329 char $ac_func ();
72330 /* The GNU C library defines this for functions which it implements
72331 to always fail with ENOSYS. Some functions are actually named
72332 something starting with __ and the normal name is an alias. */
72333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72334 choke me
72335 #else
72336 char (*f) () = $ac_func;
72337 #endif
72338 #ifdef __cplusplus
72339 }
72340 #endif
72341
72342 int
72343 main ()
72344 {
72345 return f != $ac_func;
72346 ;
72347 return 0;
72348 }
72349 _ACEOF
72350 rm -f conftest.$ac_objext conftest$ac_exeext
72351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72352 (eval $ac_link) 2>conftest.er1
72353 ac_status=$?
72354 grep -v '^ *+' conftest.er1 >conftest.err
72355 rm -f conftest.er1
72356 cat conftest.err >&5
72357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72358 (exit $ac_status); } &&
72359 { ac_try='test -z "$ac_c_werror_flag"
72360 || test ! -s conftest.err'
72361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72362 (eval $ac_try) 2>&5
72363 ac_status=$?
72364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72365 (exit $ac_status); }; } &&
72366 { ac_try='test -s conftest$ac_exeext'
72367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72368 (eval $ac_try) 2>&5
72369 ac_status=$?
72370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72371 (exit $ac_status); }; }; then
72372 eval "$as_ac_var=yes"
72373 else
72374 echo "$as_me: failed program was:" >&5
72375 sed 's/^/| /' conftest.$ac_ext >&5
72376
72377 eval "$as_ac_var=no"
72378 fi
72379 rm -f conftest.err conftest.$ac_objext \
72380 conftest$ac_exeext conftest.$ac_ext
72381 fi
72382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72384 if test `eval echo '${'$as_ac_var'}'` = yes; then
72385 cat >>confdefs.h <<_ACEOF
72386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72387 _ACEOF
72388
72389 fi
72390 done
72391
72392 else
72393
72394 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72395 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72396 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72397 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72398 echo $ECHO_N "(cached) $ECHO_C" >&6
72399 else
72400
72401
72402
72403 ac_ext=cc
72404 ac_cpp='$CXXCPP $CPPFLAGS'
72405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72408
72409 cat >conftest.$ac_ext <<_ACEOF
72410 /* confdefs.h. */
72411 _ACEOF
72412 cat confdefs.h >>conftest.$ac_ext
72413 cat >>conftest.$ac_ext <<_ACEOF
72414 /* end confdefs.h. */
72415 #include <math.h>
72416 int
72417 main ()
72418 {
72419 _modf(0, 0);
72420 ;
72421 return 0;
72422 }
72423 _ACEOF
72424 rm -f conftest.$ac_objext
72425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72426 (eval $ac_compile) 2>conftest.er1
72427 ac_status=$?
72428 grep -v '^ *+' conftest.er1 >conftest.err
72429 rm -f conftest.er1
72430 cat conftest.err >&5
72431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72432 (exit $ac_status); } &&
72433 { ac_try='test -z "$ac_cxx_werror_flag"
72434 || test ! -s conftest.err'
72435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72436 (eval $ac_try) 2>&5
72437 ac_status=$?
72438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72439 (exit $ac_status); }; } &&
72440 { ac_try='test -s conftest.$ac_objext'
72441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72442 (eval $ac_try) 2>&5
72443 ac_status=$?
72444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72445 (exit $ac_status); }; }; then
72446 glibcxx_cv_func__modf_use=yes
72447 else
72448 echo "$as_me: failed program was:" >&5
72449 sed 's/^/| /' conftest.$ac_ext >&5
72450
72451 glibcxx_cv_func__modf_use=no
72452 fi
72453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72454 ac_ext=c
72455 ac_cpp='$CPP $CPPFLAGS'
72456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72459
72460
72461 fi
72462
72463 fi
72464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72465 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72466
72467 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72468
72469 for ac_func in _modf
72470 do
72471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72472 echo "$as_me:$LINENO: checking for $ac_func" >&5
72473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72474 if eval "test \"\${$as_ac_var+set}\" = set"; then
72475 echo $ECHO_N "(cached) $ECHO_C" >&6
72476 else
72477 if test x$gcc_no_link = xyes; then
72478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72480 { (exit 1); exit 1; }; }
72481 fi
72482 cat >conftest.$ac_ext <<_ACEOF
72483 /* confdefs.h. */
72484 _ACEOF
72485 cat confdefs.h >>conftest.$ac_ext
72486 cat >>conftest.$ac_ext <<_ACEOF
72487 /* end confdefs.h. */
72488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72490 #define $ac_func innocuous_$ac_func
72491
72492 /* System header to define __stub macros and hopefully few prototypes,
72493 which can conflict with char $ac_func (); below.
72494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72495 <limits.h> exists even on freestanding compilers. */
72496
72497 #ifdef __STDC__
72498 # include <limits.h>
72499 #else
72500 # include <assert.h>
72501 #endif
72502
72503 #undef $ac_func
72504
72505 /* Override any gcc2 internal prototype to avoid an error. */
72506 #ifdef __cplusplus
72507 extern "C"
72508 {
72509 #endif
72510 /* We use char because int might match the return type of a gcc2
72511 builtin and then its argument prototype would still apply. */
72512 char $ac_func ();
72513 /* The GNU C library defines this for functions which it implements
72514 to always fail with ENOSYS. Some functions are actually named
72515 something starting with __ and the normal name is an alias. */
72516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72517 choke me
72518 #else
72519 char (*f) () = $ac_func;
72520 #endif
72521 #ifdef __cplusplus
72522 }
72523 #endif
72524
72525 int
72526 main ()
72527 {
72528 return f != $ac_func;
72529 ;
72530 return 0;
72531 }
72532 _ACEOF
72533 rm -f conftest.$ac_objext conftest$ac_exeext
72534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72535 (eval $ac_link) 2>conftest.er1
72536 ac_status=$?
72537 grep -v '^ *+' conftest.er1 >conftest.err
72538 rm -f conftest.er1
72539 cat conftest.err >&5
72540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72541 (exit $ac_status); } &&
72542 { ac_try='test -z "$ac_c_werror_flag"
72543 || test ! -s conftest.err'
72544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72545 (eval $ac_try) 2>&5
72546 ac_status=$?
72547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72548 (exit $ac_status); }; } &&
72549 { ac_try='test -s conftest$ac_exeext'
72550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72551 (eval $ac_try) 2>&5
72552 ac_status=$?
72553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72554 (exit $ac_status); }; }; then
72555 eval "$as_ac_var=yes"
72556 else
72557 echo "$as_me: failed program was:" >&5
72558 sed 's/^/| /' conftest.$ac_ext >&5
72559
72560 eval "$as_ac_var=no"
72561 fi
72562 rm -f conftest.err conftest.$ac_objext \
72563 conftest$ac_exeext conftest.$ac_ext
72564 fi
72565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72567 if test `eval echo '${'$as_ac_var'}'` = yes; then
72568 cat >>confdefs.h <<_ACEOF
72569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72570 _ACEOF
72571
72572 fi
72573 done
72574
72575 fi
72576 fi
72577
72578
72579
72580
72581
72582
72583 echo "$as_me:$LINENO: checking for powf declaration" >&5
72584 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72585 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72586 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72587 echo $ECHO_N "(cached) $ECHO_C" >&6
72588 else
72589
72590
72591
72592 ac_ext=cc
72593 ac_cpp='$CXXCPP $CPPFLAGS'
72594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72597
72598 cat >conftest.$ac_ext <<_ACEOF
72599 /* confdefs.h. */
72600 _ACEOF
72601 cat confdefs.h >>conftest.$ac_ext
72602 cat >>conftest.$ac_ext <<_ACEOF
72603 /* end confdefs.h. */
72604 #include <math.h>
72605 int
72606 main ()
72607 {
72608 powf(0, 0);
72609 ;
72610 return 0;
72611 }
72612 _ACEOF
72613 rm -f conftest.$ac_objext
72614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72615 (eval $ac_compile) 2>conftest.er1
72616 ac_status=$?
72617 grep -v '^ *+' conftest.er1 >conftest.err
72618 rm -f conftest.er1
72619 cat conftest.err >&5
72620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72621 (exit $ac_status); } &&
72622 { ac_try='test -z "$ac_cxx_werror_flag"
72623 || test ! -s conftest.err'
72624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72625 (eval $ac_try) 2>&5
72626 ac_status=$?
72627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72628 (exit $ac_status); }; } &&
72629 { ac_try='test -s conftest.$ac_objext'
72630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72631 (eval $ac_try) 2>&5
72632 ac_status=$?
72633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72634 (exit $ac_status); }; }; then
72635 glibcxx_cv_func_powf_use=yes
72636 else
72637 echo "$as_me: failed program was:" >&5
72638 sed 's/^/| /' conftest.$ac_ext >&5
72639
72640 glibcxx_cv_func_powf_use=no
72641 fi
72642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72643 ac_ext=c
72644 ac_cpp='$CPP $CPPFLAGS'
72645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72648
72649
72650 fi
72651
72652 fi
72653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72654 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72655
72656 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72657
72658 for ac_func in powf
72659 do
72660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72661 echo "$as_me:$LINENO: checking for $ac_func" >&5
72662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72663 if eval "test \"\${$as_ac_var+set}\" = set"; then
72664 echo $ECHO_N "(cached) $ECHO_C" >&6
72665 else
72666 if test x$gcc_no_link = xyes; then
72667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72669 { (exit 1); exit 1; }; }
72670 fi
72671 cat >conftest.$ac_ext <<_ACEOF
72672 /* confdefs.h. */
72673 _ACEOF
72674 cat confdefs.h >>conftest.$ac_ext
72675 cat >>conftest.$ac_ext <<_ACEOF
72676 /* end confdefs.h. */
72677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72679 #define $ac_func innocuous_$ac_func
72680
72681 /* System header to define __stub macros and hopefully few prototypes,
72682 which can conflict with char $ac_func (); below.
72683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72684 <limits.h> exists even on freestanding compilers. */
72685
72686 #ifdef __STDC__
72687 # include <limits.h>
72688 #else
72689 # include <assert.h>
72690 #endif
72691
72692 #undef $ac_func
72693
72694 /* Override any gcc2 internal prototype to avoid an error. */
72695 #ifdef __cplusplus
72696 extern "C"
72697 {
72698 #endif
72699 /* We use char because int might match the return type of a gcc2
72700 builtin and then its argument prototype would still apply. */
72701 char $ac_func ();
72702 /* The GNU C library defines this for functions which it implements
72703 to always fail with ENOSYS. Some functions are actually named
72704 something starting with __ and the normal name is an alias. */
72705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72706 choke me
72707 #else
72708 char (*f) () = $ac_func;
72709 #endif
72710 #ifdef __cplusplus
72711 }
72712 #endif
72713
72714 int
72715 main ()
72716 {
72717 return f != $ac_func;
72718 ;
72719 return 0;
72720 }
72721 _ACEOF
72722 rm -f conftest.$ac_objext conftest$ac_exeext
72723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72724 (eval $ac_link) 2>conftest.er1
72725 ac_status=$?
72726 grep -v '^ *+' conftest.er1 >conftest.err
72727 rm -f conftest.er1
72728 cat conftest.err >&5
72729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72730 (exit $ac_status); } &&
72731 { ac_try='test -z "$ac_c_werror_flag"
72732 || test ! -s conftest.err'
72733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72734 (eval $ac_try) 2>&5
72735 ac_status=$?
72736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72737 (exit $ac_status); }; } &&
72738 { ac_try='test -s conftest$ac_exeext'
72739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72740 (eval $ac_try) 2>&5
72741 ac_status=$?
72742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72743 (exit $ac_status); }; }; then
72744 eval "$as_ac_var=yes"
72745 else
72746 echo "$as_me: failed program was:" >&5
72747 sed 's/^/| /' conftest.$ac_ext >&5
72748
72749 eval "$as_ac_var=no"
72750 fi
72751 rm -f conftest.err conftest.$ac_objext \
72752 conftest$ac_exeext conftest.$ac_ext
72753 fi
72754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72756 if test `eval echo '${'$as_ac_var'}'` = yes; then
72757 cat >>confdefs.h <<_ACEOF
72758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72759 _ACEOF
72760
72761 fi
72762 done
72763
72764 else
72765
72766 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72767 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72768 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72769 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72770 echo $ECHO_N "(cached) $ECHO_C" >&6
72771 else
72772
72773
72774
72775 ac_ext=cc
72776 ac_cpp='$CXXCPP $CPPFLAGS'
72777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72780
72781 cat >conftest.$ac_ext <<_ACEOF
72782 /* confdefs.h. */
72783 _ACEOF
72784 cat confdefs.h >>conftest.$ac_ext
72785 cat >>conftest.$ac_ext <<_ACEOF
72786 /* end confdefs.h. */
72787 #include <math.h>
72788 int
72789 main ()
72790 {
72791 _powf(0, 0);
72792 ;
72793 return 0;
72794 }
72795 _ACEOF
72796 rm -f conftest.$ac_objext
72797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72798 (eval $ac_compile) 2>conftest.er1
72799 ac_status=$?
72800 grep -v '^ *+' conftest.er1 >conftest.err
72801 rm -f conftest.er1
72802 cat conftest.err >&5
72803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72804 (exit $ac_status); } &&
72805 { ac_try='test -z "$ac_cxx_werror_flag"
72806 || test ! -s conftest.err'
72807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72808 (eval $ac_try) 2>&5
72809 ac_status=$?
72810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72811 (exit $ac_status); }; } &&
72812 { ac_try='test -s conftest.$ac_objext'
72813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72814 (eval $ac_try) 2>&5
72815 ac_status=$?
72816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72817 (exit $ac_status); }; }; then
72818 glibcxx_cv_func__powf_use=yes
72819 else
72820 echo "$as_me: failed program was:" >&5
72821 sed 's/^/| /' conftest.$ac_ext >&5
72822
72823 glibcxx_cv_func__powf_use=no
72824 fi
72825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72826 ac_ext=c
72827 ac_cpp='$CPP $CPPFLAGS'
72828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72831
72832
72833 fi
72834
72835 fi
72836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72837 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72838
72839 if test x$glibcxx_cv_func__powf_use = x"yes"; then
72840
72841 for ac_func in _powf
72842 do
72843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72844 echo "$as_me:$LINENO: checking for $ac_func" >&5
72845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72846 if eval "test \"\${$as_ac_var+set}\" = set"; then
72847 echo $ECHO_N "(cached) $ECHO_C" >&6
72848 else
72849 if test x$gcc_no_link = xyes; then
72850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72852 { (exit 1); exit 1; }; }
72853 fi
72854 cat >conftest.$ac_ext <<_ACEOF
72855 /* confdefs.h. */
72856 _ACEOF
72857 cat confdefs.h >>conftest.$ac_ext
72858 cat >>conftest.$ac_ext <<_ACEOF
72859 /* end confdefs.h. */
72860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72862 #define $ac_func innocuous_$ac_func
72863
72864 /* System header to define __stub macros and hopefully few prototypes,
72865 which can conflict with char $ac_func (); below.
72866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72867 <limits.h> exists even on freestanding compilers. */
72868
72869 #ifdef __STDC__
72870 # include <limits.h>
72871 #else
72872 # include <assert.h>
72873 #endif
72874
72875 #undef $ac_func
72876
72877 /* Override any gcc2 internal prototype to avoid an error. */
72878 #ifdef __cplusplus
72879 extern "C"
72880 {
72881 #endif
72882 /* We use char because int might match the return type of a gcc2
72883 builtin and then its argument prototype would still apply. */
72884 char $ac_func ();
72885 /* The GNU C library defines this for functions which it implements
72886 to always fail with ENOSYS. Some functions are actually named
72887 something starting with __ and the normal name is an alias. */
72888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72889 choke me
72890 #else
72891 char (*f) () = $ac_func;
72892 #endif
72893 #ifdef __cplusplus
72894 }
72895 #endif
72896
72897 int
72898 main ()
72899 {
72900 return f != $ac_func;
72901 ;
72902 return 0;
72903 }
72904 _ACEOF
72905 rm -f conftest.$ac_objext conftest$ac_exeext
72906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72907 (eval $ac_link) 2>conftest.er1
72908 ac_status=$?
72909 grep -v '^ *+' conftest.er1 >conftest.err
72910 rm -f conftest.er1
72911 cat conftest.err >&5
72912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72913 (exit $ac_status); } &&
72914 { ac_try='test -z "$ac_c_werror_flag"
72915 || test ! -s conftest.err'
72916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72917 (eval $ac_try) 2>&5
72918 ac_status=$?
72919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72920 (exit $ac_status); }; } &&
72921 { ac_try='test -s conftest$ac_exeext'
72922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72923 (eval $ac_try) 2>&5
72924 ac_status=$?
72925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72926 (exit $ac_status); }; }; then
72927 eval "$as_ac_var=yes"
72928 else
72929 echo "$as_me: failed program was:" >&5
72930 sed 's/^/| /' conftest.$ac_ext >&5
72931
72932 eval "$as_ac_var=no"
72933 fi
72934 rm -f conftest.err conftest.$ac_objext \
72935 conftest$ac_exeext conftest.$ac_ext
72936 fi
72937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72939 if test `eval echo '${'$as_ac_var'}'` = yes; then
72940 cat >>confdefs.h <<_ACEOF
72941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72942 _ACEOF
72943
72944 fi
72945 done
72946
72947 fi
72948 fi
72949
72950
72951
72952
72953
72954
72955 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72956 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72957 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72958 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72959 echo $ECHO_N "(cached) $ECHO_C" >&6
72960 else
72961
72962
72963
72964 ac_ext=cc
72965 ac_cpp='$CXXCPP $CPPFLAGS'
72966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72969
72970 cat >conftest.$ac_ext <<_ACEOF
72971 /* confdefs.h. */
72972 _ACEOF
72973 cat confdefs.h >>conftest.$ac_ext
72974 cat >>conftest.$ac_ext <<_ACEOF
72975 /* end confdefs.h. */
72976 #include <math.h>
72977 #ifdef HAVE_IEEEFP_H
72978 #include <ieeefp.h>
72979 #endif
72980
72981 int
72982 main ()
72983 {
72984 sqrtf(0);
72985 ;
72986 return 0;
72987 }
72988 _ACEOF
72989 rm -f conftest.$ac_objext
72990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72991 (eval $ac_compile) 2>conftest.er1
72992 ac_status=$?
72993 grep -v '^ *+' conftest.er1 >conftest.err
72994 rm -f conftest.er1
72995 cat conftest.err >&5
72996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72997 (exit $ac_status); } &&
72998 { ac_try='test -z "$ac_cxx_werror_flag"
72999 || test ! -s conftest.err'
73000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73001 (eval $ac_try) 2>&5
73002 ac_status=$?
73003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004 (exit $ac_status); }; } &&
73005 { ac_try='test -s conftest.$ac_objext'
73006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73007 (eval $ac_try) 2>&5
73008 ac_status=$?
73009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73010 (exit $ac_status); }; }; then
73011 glibcxx_cv_func_sqrtf_use=yes
73012 else
73013 echo "$as_me: failed program was:" >&5
73014 sed 's/^/| /' conftest.$ac_ext >&5
73015
73016 glibcxx_cv_func_sqrtf_use=no
73017 fi
73018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73019 ac_ext=c
73020 ac_cpp='$CPP $CPPFLAGS'
73021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73024
73025
73026 fi
73027
73028 fi
73029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73030 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73031
73032 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73033
73034 for ac_func in sqrtf
73035 do
73036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73037 echo "$as_me:$LINENO: checking for $ac_func" >&5
73038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73039 if eval "test \"\${$as_ac_var+set}\" = set"; then
73040 echo $ECHO_N "(cached) $ECHO_C" >&6
73041 else
73042 if test x$gcc_no_link = xyes; then
73043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73045 { (exit 1); exit 1; }; }
73046 fi
73047 cat >conftest.$ac_ext <<_ACEOF
73048 /* confdefs.h. */
73049 _ACEOF
73050 cat confdefs.h >>conftest.$ac_ext
73051 cat >>conftest.$ac_ext <<_ACEOF
73052 /* end confdefs.h. */
73053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73055 #define $ac_func innocuous_$ac_func
73056
73057 /* System header to define __stub macros and hopefully few prototypes,
73058 which can conflict with char $ac_func (); below.
73059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73060 <limits.h> exists even on freestanding compilers. */
73061
73062 #ifdef __STDC__
73063 # include <limits.h>
73064 #else
73065 # include <assert.h>
73066 #endif
73067
73068 #undef $ac_func
73069
73070 /* Override any gcc2 internal prototype to avoid an error. */
73071 #ifdef __cplusplus
73072 extern "C"
73073 {
73074 #endif
73075 /* We use char because int might match the return type of a gcc2
73076 builtin and then its argument prototype would still apply. */
73077 char $ac_func ();
73078 /* The GNU C library defines this for functions which it implements
73079 to always fail with ENOSYS. Some functions are actually named
73080 something starting with __ and the normal name is an alias. */
73081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73082 choke me
73083 #else
73084 char (*f) () = $ac_func;
73085 #endif
73086 #ifdef __cplusplus
73087 }
73088 #endif
73089
73090 int
73091 main ()
73092 {
73093 return f != $ac_func;
73094 ;
73095 return 0;
73096 }
73097 _ACEOF
73098 rm -f conftest.$ac_objext conftest$ac_exeext
73099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73100 (eval $ac_link) 2>conftest.er1
73101 ac_status=$?
73102 grep -v '^ *+' conftest.er1 >conftest.err
73103 rm -f conftest.er1
73104 cat conftest.err >&5
73105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73106 (exit $ac_status); } &&
73107 { ac_try='test -z "$ac_c_werror_flag"
73108 || test ! -s conftest.err'
73109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73110 (eval $ac_try) 2>&5
73111 ac_status=$?
73112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73113 (exit $ac_status); }; } &&
73114 { ac_try='test -s conftest$ac_exeext'
73115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73116 (eval $ac_try) 2>&5
73117 ac_status=$?
73118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73119 (exit $ac_status); }; }; then
73120 eval "$as_ac_var=yes"
73121 else
73122 echo "$as_me: failed program was:" >&5
73123 sed 's/^/| /' conftest.$ac_ext >&5
73124
73125 eval "$as_ac_var=no"
73126 fi
73127 rm -f conftest.err conftest.$ac_objext \
73128 conftest$ac_exeext conftest.$ac_ext
73129 fi
73130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73132 if test `eval echo '${'$as_ac_var'}'` = yes; then
73133 cat >>confdefs.h <<_ACEOF
73134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73135 _ACEOF
73136
73137 fi
73138 done
73139
73140 else
73141
73142 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73143 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73144 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73145 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73146 echo $ECHO_N "(cached) $ECHO_C" >&6
73147 else
73148
73149
73150
73151 ac_ext=cc
73152 ac_cpp='$CXXCPP $CPPFLAGS'
73153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73156
73157 cat >conftest.$ac_ext <<_ACEOF
73158 /* confdefs.h. */
73159 _ACEOF
73160 cat confdefs.h >>conftest.$ac_ext
73161 cat >>conftest.$ac_ext <<_ACEOF
73162 /* end confdefs.h. */
73163 #include <math.h>
73164 #ifdef HAVE_IEEEFP_H
73165 #include <ieeefp.h>
73166 #endif
73167
73168 int
73169 main ()
73170 {
73171 _sqrtf(0);
73172 ;
73173 return 0;
73174 }
73175 _ACEOF
73176 rm -f conftest.$ac_objext
73177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73178 (eval $ac_compile) 2>conftest.er1
73179 ac_status=$?
73180 grep -v '^ *+' conftest.er1 >conftest.err
73181 rm -f conftest.er1
73182 cat conftest.err >&5
73183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73184 (exit $ac_status); } &&
73185 { ac_try='test -z "$ac_cxx_werror_flag"
73186 || test ! -s conftest.err'
73187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73188 (eval $ac_try) 2>&5
73189 ac_status=$?
73190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73191 (exit $ac_status); }; } &&
73192 { ac_try='test -s conftest.$ac_objext'
73193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73194 (eval $ac_try) 2>&5
73195 ac_status=$?
73196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73197 (exit $ac_status); }; }; then
73198 glibcxx_cv_func__sqrtf_use=yes
73199 else
73200 echo "$as_me: failed program was:" >&5
73201 sed 's/^/| /' conftest.$ac_ext >&5
73202
73203 glibcxx_cv_func__sqrtf_use=no
73204 fi
73205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73206 ac_ext=c
73207 ac_cpp='$CPP $CPPFLAGS'
73208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73211
73212
73213 fi
73214
73215 fi
73216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73217 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73218
73219 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73220
73221 for ac_func in _sqrtf
73222 do
73223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73224 echo "$as_me:$LINENO: checking for $ac_func" >&5
73225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73226 if eval "test \"\${$as_ac_var+set}\" = set"; then
73227 echo $ECHO_N "(cached) $ECHO_C" >&6
73228 else
73229 if test x$gcc_no_link = xyes; then
73230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73232 { (exit 1); exit 1; }; }
73233 fi
73234 cat >conftest.$ac_ext <<_ACEOF
73235 /* confdefs.h. */
73236 _ACEOF
73237 cat confdefs.h >>conftest.$ac_ext
73238 cat >>conftest.$ac_ext <<_ACEOF
73239 /* end confdefs.h. */
73240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73242 #define $ac_func innocuous_$ac_func
73243
73244 /* System header to define __stub macros and hopefully few prototypes,
73245 which can conflict with char $ac_func (); below.
73246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73247 <limits.h> exists even on freestanding compilers. */
73248
73249 #ifdef __STDC__
73250 # include <limits.h>
73251 #else
73252 # include <assert.h>
73253 #endif
73254
73255 #undef $ac_func
73256
73257 /* Override any gcc2 internal prototype to avoid an error. */
73258 #ifdef __cplusplus
73259 extern "C"
73260 {
73261 #endif
73262 /* We use char because int might match the return type of a gcc2
73263 builtin and then its argument prototype would still apply. */
73264 char $ac_func ();
73265 /* The GNU C library defines this for functions which it implements
73266 to always fail with ENOSYS. Some functions are actually named
73267 something starting with __ and the normal name is an alias. */
73268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73269 choke me
73270 #else
73271 char (*f) () = $ac_func;
73272 #endif
73273 #ifdef __cplusplus
73274 }
73275 #endif
73276
73277 int
73278 main ()
73279 {
73280 return f != $ac_func;
73281 ;
73282 return 0;
73283 }
73284 _ACEOF
73285 rm -f conftest.$ac_objext conftest$ac_exeext
73286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73287 (eval $ac_link) 2>conftest.er1
73288 ac_status=$?
73289 grep -v '^ *+' conftest.er1 >conftest.err
73290 rm -f conftest.er1
73291 cat conftest.err >&5
73292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73293 (exit $ac_status); } &&
73294 { ac_try='test -z "$ac_c_werror_flag"
73295 || test ! -s conftest.err'
73296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73297 (eval $ac_try) 2>&5
73298 ac_status=$?
73299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73300 (exit $ac_status); }; } &&
73301 { ac_try='test -s conftest$ac_exeext'
73302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73303 (eval $ac_try) 2>&5
73304 ac_status=$?
73305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73306 (exit $ac_status); }; }; then
73307 eval "$as_ac_var=yes"
73308 else
73309 echo "$as_me: failed program was:" >&5
73310 sed 's/^/| /' conftest.$ac_ext >&5
73311
73312 eval "$as_ac_var=no"
73313 fi
73314 rm -f conftest.err conftest.$ac_objext \
73315 conftest$ac_exeext conftest.$ac_ext
73316 fi
73317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73319 if test `eval echo '${'$as_ac_var'}'` = yes; then
73320 cat >>confdefs.h <<_ACEOF
73321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73322 _ACEOF
73323
73324 fi
73325 done
73326
73327 fi
73328 fi
73329
73330
73331
73332
73333
73334
73335 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73336 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73337 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73338 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73339 echo $ECHO_N "(cached) $ECHO_C" >&6
73340 else
73341
73342
73343
73344 ac_ext=cc
73345 ac_cpp='$CXXCPP $CPPFLAGS'
73346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73349
73350 cat >conftest.$ac_ext <<_ACEOF
73351 /* confdefs.h. */
73352 _ACEOF
73353 cat confdefs.h >>conftest.$ac_ext
73354 cat >>conftest.$ac_ext <<_ACEOF
73355 /* end confdefs.h. */
73356 #include <math.h>
73357 int
73358 main ()
73359 {
73360 sincosf(0, 0, 0);
73361 ;
73362 return 0;
73363 }
73364 _ACEOF
73365 rm -f conftest.$ac_objext
73366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73367 (eval $ac_compile) 2>conftest.er1
73368 ac_status=$?
73369 grep -v '^ *+' conftest.er1 >conftest.err
73370 rm -f conftest.er1
73371 cat conftest.err >&5
73372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73373 (exit $ac_status); } &&
73374 { ac_try='test -z "$ac_cxx_werror_flag"
73375 || test ! -s conftest.err'
73376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73377 (eval $ac_try) 2>&5
73378 ac_status=$?
73379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380 (exit $ac_status); }; } &&
73381 { ac_try='test -s conftest.$ac_objext'
73382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73383 (eval $ac_try) 2>&5
73384 ac_status=$?
73385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73386 (exit $ac_status); }; }; then
73387 glibcxx_cv_func_sincosf_use=yes
73388 else
73389 echo "$as_me: failed program was:" >&5
73390 sed 's/^/| /' conftest.$ac_ext >&5
73391
73392 glibcxx_cv_func_sincosf_use=no
73393 fi
73394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73395 ac_ext=c
73396 ac_cpp='$CPP $CPPFLAGS'
73397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73400
73401
73402 fi
73403
73404 fi
73405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73406 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73407
73408 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73409
73410 for ac_func in sincosf
73411 do
73412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73413 echo "$as_me:$LINENO: checking for $ac_func" >&5
73414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73415 if eval "test \"\${$as_ac_var+set}\" = set"; then
73416 echo $ECHO_N "(cached) $ECHO_C" >&6
73417 else
73418 if test x$gcc_no_link = xyes; then
73419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73421 { (exit 1); exit 1; }; }
73422 fi
73423 cat >conftest.$ac_ext <<_ACEOF
73424 /* confdefs.h. */
73425 _ACEOF
73426 cat confdefs.h >>conftest.$ac_ext
73427 cat >>conftest.$ac_ext <<_ACEOF
73428 /* end confdefs.h. */
73429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73431 #define $ac_func innocuous_$ac_func
73432
73433 /* System header to define __stub macros and hopefully few prototypes,
73434 which can conflict with char $ac_func (); below.
73435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73436 <limits.h> exists even on freestanding compilers. */
73437
73438 #ifdef __STDC__
73439 # include <limits.h>
73440 #else
73441 # include <assert.h>
73442 #endif
73443
73444 #undef $ac_func
73445
73446 /* Override any gcc2 internal prototype to avoid an error. */
73447 #ifdef __cplusplus
73448 extern "C"
73449 {
73450 #endif
73451 /* We use char because int might match the return type of a gcc2
73452 builtin and then its argument prototype would still apply. */
73453 char $ac_func ();
73454 /* The GNU C library defines this for functions which it implements
73455 to always fail with ENOSYS. Some functions are actually named
73456 something starting with __ and the normal name is an alias. */
73457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73458 choke me
73459 #else
73460 char (*f) () = $ac_func;
73461 #endif
73462 #ifdef __cplusplus
73463 }
73464 #endif
73465
73466 int
73467 main ()
73468 {
73469 return f != $ac_func;
73470 ;
73471 return 0;
73472 }
73473 _ACEOF
73474 rm -f conftest.$ac_objext conftest$ac_exeext
73475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73476 (eval $ac_link) 2>conftest.er1
73477 ac_status=$?
73478 grep -v '^ *+' conftest.er1 >conftest.err
73479 rm -f conftest.er1
73480 cat conftest.err >&5
73481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73482 (exit $ac_status); } &&
73483 { ac_try='test -z "$ac_c_werror_flag"
73484 || test ! -s conftest.err'
73485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73486 (eval $ac_try) 2>&5
73487 ac_status=$?
73488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73489 (exit $ac_status); }; } &&
73490 { ac_try='test -s conftest$ac_exeext'
73491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73492 (eval $ac_try) 2>&5
73493 ac_status=$?
73494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495 (exit $ac_status); }; }; then
73496 eval "$as_ac_var=yes"
73497 else
73498 echo "$as_me: failed program was:" >&5
73499 sed 's/^/| /' conftest.$ac_ext >&5
73500
73501 eval "$as_ac_var=no"
73502 fi
73503 rm -f conftest.err conftest.$ac_objext \
73504 conftest$ac_exeext conftest.$ac_ext
73505 fi
73506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73508 if test `eval echo '${'$as_ac_var'}'` = yes; then
73509 cat >>confdefs.h <<_ACEOF
73510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73511 _ACEOF
73512
73513 fi
73514 done
73515
73516 else
73517
73518 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73519 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73520 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73521 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73522 echo $ECHO_N "(cached) $ECHO_C" >&6
73523 else
73524
73525
73526
73527 ac_ext=cc
73528 ac_cpp='$CXXCPP $CPPFLAGS'
73529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73532
73533 cat >conftest.$ac_ext <<_ACEOF
73534 /* confdefs.h. */
73535 _ACEOF
73536 cat confdefs.h >>conftest.$ac_ext
73537 cat >>conftest.$ac_ext <<_ACEOF
73538 /* end confdefs.h. */
73539 #include <math.h>
73540 int
73541 main ()
73542 {
73543 _sincosf(0, 0, 0);
73544 ;
73545 return 0;
73546 }
73547 _ACEOF
73548 rm -f conftest.$ac_objext
73549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73550 (eval $ac_compile) 2>conftest.er1
73551 ac_status=$?
73552 grep -v '^ *+' conftest.er1 >conftest.err
73553 rm -f conftest.er1
73554 cat conftest.err >&5
73555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73556 (exit $ac_status); } &&
73557 { ac_try='test -z "$ac_cxx_werror_flag"
73558 || test ! -s conftest.err'
73559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73560 (eval $ac_try) 2>&5
73561 ac_status=$?
73562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73563 (exit $ac_status); }; } &&
73564 { ac_try='test -s conftest.$ac_objext'
73565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73566 (eval $ac_try) 2>&5
73567 ac_status=$?
73568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73569 (exit $ac_status); }; }; then
73570 glibcxx_cv_func__sincosf_use=yes
73571 else
73572 echo "$as_me: failed program was:" >&5
73573 sed 's/^/| /' conftest.$ac_ext >&5
73574
73575 glibcxx_cv_func__sincosf_use=no
73576 fi
73577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73578 ac_ext=c
73579 ac_cpp='$CPP $CPPFLAGS'
73580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73583
73584
73585 fi
73586
73587 fi
73588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73589 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73590
73591 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73592
73593 for ac_func in _sincosf
73594 do
73595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73596 echo "$as_me:$LINENO: checking for $ac_func" >&5
73597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73598 if eval "test \"\${$as_ac_var+set}\" = set"; then
73599 echo $ECHO_N "(cached) $ECHO_C" >&6
73600 else
73601 if test x$gcc_no_link = xyes; then
73602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73604 { (exit 1); exit 1; }; }
73605 fi
73606 cat >conftest.$ac_ext <<_ACEOF
73607 /* confdefs.h. */
73608 _ACEOF
73609 cat confdefs.h >>conftest.$ac_ext
73610 cat >>conftest.$ac_ext <<_ACEOF
73611 /* end confdefs.h. */
73612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73614 #define $ac_func innocuous_$ac_func
73615
73616 /* System header to define __stub macros and hopefully few prototypes,
73617 which can conflict with char $ac_func (); below.
73618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73619 <limits.h> exists even on freestanding compilers. */
73620
73621 #ifdef __STDC__
73622 # include <limits.h>
73623 #else
73624 # include <assert.h>
73625 #endif
73626
73627 #undef $ac_func
73628
73629 /* Override any gcc2 internal prototype to avoid an error. */
73630 #ifdef __cplusplus
73631 extern "C"
73632 {
73633 #endif
73634 /* We use char because int might match the return type of a gcc2
73635 builtin and then its argument prototype would still apply. */
73636 char $ac_func ();
73637 /* The GNU C library defines this for functions which it implements
73638 to always fail with ENOSYS. Some functions are actually named
73639 something starting with __ and the normal name is an alias. */
73640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73641 choke me
73642 #else
73643 char (*f) () = $ac_func;
73644 #endif
73645 #ifdef __cplusplus
73646 }
73647 #endif
73648
73649 int
73650 main ()
73651 {
73652 return f != $ac_func;
73653 ;
73654 return 0;
73655 }
73656 _ACEOF
73657 rm -f conftest.$ac_objext conftest$ac_exeext
73658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73659 (eval $ac_link) 2>conftest.er1
73660 ac_status=$?
73661 grep -v '^ *+' conftest.er1 >conftest.err
73662 rm -f conftest.er1
73663 cat conftest.err >&5
73664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73665 (exit $ac_status); } &&
73666 { ac_try='test -z "$ac_c_werror_flag"
73667 || test ! -s conftest.err'
73668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73669 (eval $ac_try) 2>&5
73670 ac_status=$?
73671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73672 (exit $ac_status); }; } &&
73673 { ac_try='test -s conftest$ac_exeext'
73674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73675 (eval $ac_try) 2>&5
73676 ac_status=$?
73677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73678 (exit $ac_status); }; }; then
73679 eval "$as_ac_var=yes"
73680 else
73681 echo "$as_me: failed program was:" >&5
73682 sed 's/^/| /' conftest.$ac_ext >&5
73683
73684 eval "$as_ac_var=no"
73685 fi
73686 rm -f conftest.err conftest.$ac_objext \
73687 conftest$ac_exeext conftest.$ac_ext
73688 fi
73689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73691 if test `eval echo '${'$as_ac_var'}'` = yes; then
73692 cat >>confdefs.h <<_ACEOF
73693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73694 _ACEOF
73695
73696 fi
73697 done
73698
73699 fi
73700 fi
73701
73702
73703
73704
73705
73706
73707 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73708 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73709 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73710 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73711 echo $ECHO_N "(cached) $ECHO_C" >&6
73712 else
73713
73714
73715
73716 ac_ext=cc
73717 ac_cpp='$CXXCPP $CPPFLAGS'
73718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73721
73722 cat >conftest.$ac_ext <<_ACEOF
73723 /* confdefs.h. */
73724 _ACEOF
73725 cat confdefs.h >>conftest.$ac_ext
73726 cat >>conftest.$ac_ext <<_ACEOF
73727 /* end confdefs.h. */
73728 #include <math.h>
73729 #ifdef HAVE_IEEEFP_H
73730 #include <ieeefp.h>
73731 #endif
73732
73733 int
73734 main ()
73735 {
73736 finitef(0);
73737 ;
73738 return 0;
73739 }
73740 _ACEOF
73741 rm -f conftest.$ac_objext
73742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73743 (eval $ac_compile) 2>conftest.er1
73744 ac_status=$?
73745 grep -v '^ *+' conftest.er1 >conftest.err
73746 rm -f conftest.er1
73747 cat conftest.err >&5
73748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73749 (exit $ac_status); } &&
73750 { ac_try='test -z "$ac_cxx_werror_flag"
73751 || test ! -s conftest.err'
73752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73753 (eval $ac_try) 2>&5
73754 ac_status=$?
73755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756 (exit $ac_status); }; } &&
73757 { ac_try='test -s conftest.$ac_objext'
73758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73759 (eval $ac_try) 2>&5
73760 ac_status=$?
73761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73762 (exit $ac_status); }; }; then
73763 glibcxx_cv_func_finitef_use=yes
73764 else
73765 echo "$as_me: failed program was:" >&5
73766 sed 's/^/| /' conftest.$ac_ext >&5
73767
73768 glibcxx_cv_func_finitef_use=no
73769 fi
73770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73771 ac_ext=c
73772 ac_cpp='$CPP $CPPFLAGS'
73773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73776
73777
73778 fi
73779
73780 fi
73781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73782 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73783
73784 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73785
73786 for ac_func in finitef
73787 do
73788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73789 echo "$as_me:$LINENO: checking for $ac_func" >&5
73790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73791 if eval "test \"\${$as_ac_var+set}\" = set"; then
73792 echo $ECHO_N "(cached) $ECHO_C" >&6
73793 else
73794 if test x$gcc_no_link = xyes; then
73795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73797 { (exit 1); exit 1; }; }
73798 fi
73799 cat >conftest.$ac_ext <<_ACEOF
73800 /* confdefs.h. */
73801 _ACEOF
73802 cat confdefs.h >>conftest.$ac_ext
73803 cat >>conftest.$ac_ext <<_ACEOF
73804 /* end confdefs.h. */
73805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73807 #define $ac_func innocuous_$ac_func
73808
73809 /* System header to define __stub macros and hopefully few prototypes,
73810 which can conflict with char $ac_func (); below.
73811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73812 <limits.h> exists even on freestanding compilers. */
73813
73814 #ifdef __STDC__
73815 # include <limits.h>
73816 #else
73817 # include <assert.h>
73818 #endif
73819
73820 #undef $ac_func
73821
73822 /* Override any gcc2 internal prototype to avoid an error. */
73823 #ifdef __cplusplus
73824 extern "C"
73825 {
73826 #endif
73827 /* We use char because int might match the return type of a gcc2
73828 builtin and then its argument prototype would still apply. */
73829 char $ac_func ();
73830 /* The GNU C library defines this for functions which it implements
73831 to always fail with ENOSYS. Some functions are actually named
73832 something starting with __ and the normal name is an alias. */
73833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73834 choke me
73835 #else
73836 char (*f) () = $ac_func;
73837 #endif
73838 #ifdef __cplusplus
73839 }
73840 #endif
73841
73842 int
73843 main ()
73844 {
73845 return f != $ac_func;
73846 ;
73847 return 0;
73848 }
73849 _ACEOF
73850 rm -f conftest.$ac_objext conftest$ac_exeext
73851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73852 (eval $ac_link) 2>conftest.er1
73853 ac_status=$?
73854 grep -v '^ *+' conftest.er1 >conftest.err
73855 rm -f conftest.er1
73856 cat conftest.err >&5
73857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73858 (exit $ac_status); } &&
73859 { ac_try='test -z "$ac_c_werror_flag"
73860 || test ! -s conftest.err'
73861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73862 (eval $ac_try) 2>&5
73863 ac_status=$?
73864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73865 (exit $ac_status); }; } &&
73866 { ac_try='test -s conftest$ac_exeext'
73867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73868 (eval $ac_try) 2>&5
73869 ac_status=$?
73870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73871 (exit $ac_status); }; }; then
73872 eval "$as_ac_var=yes"
73873 else
73874 echo "$as_me: failed program was:" >&5
73875 sed 's/^/| /' conftest.$ac_ext >&5
73876
73877 eval "$as_ac_var=no"
73878 fi
73879 rm -f conftest.err conftest.$ac_objext \
73880 conftest$ac_exeext conftest.$ac_ext
73881 fi
73882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73884 if test `eval echo '${'$as_ac_var'}'` = yes; then
73885 cat >>confdefs.h <<_ACEOF
73886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73887 _ACEOF
73888
73889 fi
73890 done
73891
73892 else
73893
73894 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73895 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73898 echo $ECHO_N "(cached) $ECHO_C" >&6
73899 else
73900
73901
73902
73903 ac_ext=cc
73904 ac_cpp='$CXXCPP $CPPFLAGS'
73905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73908
73909 cat >conftest.$ac_ext <<_ACEOF
73910 /* confdefs.h. */
73911 _ACEOF
73912 cat confdefs.h >>conftest.$ac_ext
73913 cat >>conftest.$ac_ext <<_ACEOF
73914 /* end confdefs.h. */
73915 #include <math.h>
73916 #ifdef HAVE_IEEEFP_H
73917 #include <ieeefp.h>
73918 #endif
73919
73920 int
73921 main ()
73922 {
73923 _finitef(0);
73924 ;
73925 return 0;
73926 }
73927 _ACEOF
73928 rm -f conftest.$ac_objext
73929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73930 (eval $ac_compile) 2>conftest.er1
73931 ac_status=$?
73932 grep -v '^ *+' conftest.er1 >conftest.err
73933 rm -f conftest.er1
73934 cat conftest.err >&5
73935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73936 (exit $ac_status); } &&
73937 { ac_try='test -z "$ac_cxx_werror_flag"
73938 || test ! -s conftest.err'
73939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73940 (eval $ac_try) 2>&5
73941 ac_status=$?
73942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73943 (exit $ac_status); }; } &&
73944 { ac_try='test -s conftest.$ac_objext'
73945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73946 (eval $ac_try) 2>&5
73947 ac_status=$?
73948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73949 (exit $ac_status); }; }; then
73950 glibcxx_cv_func__finitef_use=yes
73951 else
73952 echo "$as_me: failed program was:" >&5
73953 sed 's/^/| /' conftest.$ac_ext >&5
73954
73955 glibcxx_cv_func__finitef_use=no
73956 fi
73957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73958 ac_ext=c
73959 ac_cpp='$CPP $CPPFLAGS'
73960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73963
73964
73965 fi
73966
73967 fi
73968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73969 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73970
73971 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73972
73973 for ac_func in _finitef
73974 do
73975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73976 echo "$as_me:$LINENO: checking for $ac_func" >&5
73977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73978 if eval "test \"\${$as_ac_var+set}\" = set"; then
73979 echo $ECHO_N "(cached) $ECHO_C" >&6
73980 else
73981 if test x$gcc_no_link = xyes; then
73982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73984 { (exit 1); exit 1; }; }
73985 fi
73986 cat >conftest.$ac_ext <<_ACEOF
73987 /* confdefs.h. */
73988 _ACEOF
73989 cat confdefs.h >>conftest.$ac_ext
73990 cat >>conftest.$ac_ext <<_ACEOF
73991 /* end confdefs.h. */
73992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73994 #define $ac_func innocuous_$ac_func
73995
73996 /* System header to define __stub macros and hopefully few prototypes,
73997 which can conflict with char $ac_func (); below.
73998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73999 <limits.h> exists even on freestanding compilers. */
74000
74001 #ifdef __STDC__
74002 # include <limits.h>
74003 #else
74004 # include <assert.h>
74005 #endif
74006
74007 #undef $ac_func
74008
74009 /* Override any gcc2 internal prototype to avoid an error. */
74010 #ifdef __cplusplus
74011 extern "C"
74012 {
74013 #endif
74014 /* We use char because int might match the return type of a gcc2
74015 builtin and then its argument prototype would still apply. */
74016 char $ac_func ();
74017 /* The GNU C library defines this for functions which it implements
74018 to always fail with ENOSYS. Some functions are actually named
74019 something starting with __ and the normal name is an alias. */
74020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74021 choke me
74022 #else
74023 char (*f) () = $ac_func;
74024 #endif
74025 #ifdef __cplusplus
74026 }
74027 #endif
74028
74029 int
74030 main ()
74031 {
74032 return f != $ac_func;
74033 ;
74034 return 0;
74035 }
74036 _ACEOF
74037 rm -f conftest.$ac_objext conftest$ac_exeext
74038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74039 (eval $ac_link) 2>conftest.er1
74040 ac_status=$?
74041 grep -v '^ *+' conftest.er1 >conftest.err
74042 rm -f conftest.er1
74043 cat conftest.err >&5
74044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74045 (exit $ac_status); } &&
74046 { ac_try='test -z "$ac_c_werror_flag"
74047 || test ! -s conftest.err'
74048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74049 (eval $ac_try) 2>&5
74050 ac_status=$?
74051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74052 (exit $ac_status); }; } &&
74053 { ac_try='test -s conftest$ac_exeext'
74054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74055 (eval $ac_try) 2>&5
74056 ac_status=$?
74057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74058 (exit $ac_status); }; }; then
74059 eval "$as_ac_var=yes"
74060 else
74061 echo "$as_me: failed program was:" >&5
74062 sed 's/^/| /' conftest.$ac_ext >&5
74063
74064 eval "$as_ac_var=no"
74065 fi
74066 rm -f conftest.err conftest.$ac_objext \
74067 conftest$ac_exeext conftest.$ac_ext
74068 fi
74069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74071 if test `eval echo '${'$as_ac_var'}'` = yes; then
74072 cat >>confdefs.h <<_ACEOF
74073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74074 _ACEOF
74075
74076 fi
74077 done
74078
74079 fi
74080 fi
74081
74082
74083
74084
74085
74086
74087 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74088 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74089 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74090 echo $ECHO_N "(cached) $ECHO_C" >&6
74091 else
74092
74093
74094
74095 ac_ext=cc
74096 ac_cpp='$CXXCPP $CPPFLAGS'
74097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74100
74101 cat >conftest.$ac_ext <<_ACEOF
74102 /* confdefs.h. */
74103 _ACEOF
74104 cat confdefs.h >>conftest.$ac_ext
74105 cat >>conftest.$ac_ext <<_ACEOF
74106 /* end confdefs.h. */
74107 #include <math.h>
74108 int
74109 main ()
74110 {
74111 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74112 ;
74113 return 0;
74114 }
74115 _ACEOF
74116 rm -f conftest.$ac_objext
74117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74118 (eval $ac_compile) 2>conftest.er1
74119 ac_status=$?
74120 grep -v '^ *+' conftest.er1 >conftest.err
74121 rm -f conftest.er1
74122 cat conftest.err >&5
74123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74124 (exit $ac_status); } &&
74125 { ac_try='test -z "$ac_cxx_werror_flag"
74126 || test ! -s conftest.err'
74127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74128 (eval $ac_try) 2>&5
74129 ac_status=$?
74130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74131 (exit $ac_status); }; } &&
74132 { ac_try='test -s conftest.$ac_objext'
74133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74134 (eval $ac_try) 2>&5
74135 ac_status=$?
74136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74137 (exit $ac_status); }; }; then
74138 glibcxx_cv_func_long_double_trig_use=yes
74139 else
74140 echo "$as_me: failed program was:" >&5
74141 sed 's/^/| /' conftest.$ac_ext >&5
74142
74143 glibcxx_cv_func_long_double_trig_use=no
74144 fi
74145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74146 ac_ext=c
74147 ac_cpp='$CPP $CPPFLAGS'
74148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74151
74152 fi
74153
74154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74155 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74156 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74157
74158
74159
74160
74161
74162
74163
74164
74165
74166 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74167 do
74168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74169 echo "$as_me:$LINENO: checking for $ac_func" >&5
74170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74171 if eval "test \"\${$as_ac_var+set}\" = set"; then
74172 echo $ECHO_N "(cached) $ECHO_C" >&6
74173 else
74174 if test x$gcc_no_link = xyes; then
74175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74177 { (exit 1); exit 1; }; }
74178 fi
74179 cat >conftest.$ac_ext <<_ACEOF
74180 /* confdefs.h. */
74181 _ACEOF
74182 cat confdefs.h >>conftest.$ac_ext
74183 cat >>conftest.$ac_ext <<_ACEOF
74184 /* end confdefs.h. */
74185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74187 #define $ac_func innocuous_$ac_func
74188
74189 /* System header to define __stub macros and hopefully few prototypes,
74190 which can conflict with char $ac_func (); below.
74191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74192 <limits.h> exists even on freestanding compilers. */
74193
74194 #ifdef __STDC__
74195 # include <limits.h>
74196 #else
74197 # include <assert.h>
74198 #endif
74199
74200 #undef $ac_func
74201
74202 /* Override any gcc2 internal prototype to avoid an error. */
74203 #ifdef __cplusplus
74204 extern "C"
74205 {
74206 #endif
74207 /* We use char because int might match the return type of a gcc2
74208 builtin and then its argument prototype would still apply. */
74209 char $ac_func ();
74210 /* The GNU C library defines this for functions which it implements
74211 to always fail with ENOSYS. Some functions are actually named
74212 something starting with __ and the normal name is an alias. */
74213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74214 choke me
74215 #else
74216 char (*f) () = $ac_func;
74217 #endif
74218 #ifdef __cplusplus
74219 }
74220 #endif
74221
74222 int
74223 main ()
74224 {
74225 return f != $ac_func;
74226 ;
74227 return 0;
74228 }
74229 _ACEOF
74230 rm -f conftest.$ac_objext conftest$ac_exeext
74231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74232 (eval $ac_link) 2>conftest.er1
74233 ac_status=$?
74234 grep -v '^ *+' conftest.er1 >conftest.err
74235 rm -f conftest.er1
74236 cat conftest.err >&5
74237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74238 (exit $ac_status); } &&
74239 { ac_try='test -z "$ac_c_werror_flag"
74240 || test ! -s conftest.err'
74241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74242 (eval $ac_try) 2>&5
74243 ac_status=$?
74244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74245 (exit $ac_status); }; } &&
74246 { ac_try='test -s conftest$ac_exeext'
74247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74248 (eval $ac_try) 2>&5
74249 ac_status=$?
74250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74251 (exit $ac_status); }; }; then
74252 eval "$as_ac_var=yes"
74253 else
74254 echo "$as_me: failed program was:" >&5
74255 sed 's/^/| /' conftest.$ac_ext >&5
74256
74257 eval "$as_ac_var=no"
74258 fi
74259 rm -f conftest.err conftest.$ac_objext \
74260 conftest$ac_exeext conftest.$ac_ext
74261 fi
74262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74264 if test `eval echo '${'$as_ac_var'}'` = yes; then
74265 cat >>confdefs.h <<_ACEOF
74266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74267 _ACEOF
74268
74269 fi
74270 done
74271
74272 else
74273 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74274 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74275 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74276 echo $ECHO_N "(cached) $ECHO_C" >&6
74277 else
74278
74279
74280
74281 ac_ext=cc
74282 ac_cpp='$CXXCPP $CPPFLAGS'
74283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74286
74287 cat >conftest.$ac_ext <<_ACEOF
74288 /* confdefs.h. */
74289 _ACEOF
74290 cat confdefs.h >>conftest.$ac_ext
74291 cat >>conftest.$ac_ext <<_ACEOF
74292 /* end confdefs.h. */
74293 #include <math.h>
74294 int
74295 main ()
74296 {
74297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74298 ;
74299 return 0;
74300 }
74301 _ACEOF
74302 rm -f conftest.$ac_objext
74303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74304 (eval $ac_compile) 2>conftest.er1
74305 ac_status=$?
74306 grep -v '^ *+' conftest.er1 >conftest.err
74307 rm -f conftest.er1
74308 cat conftest.err >&5
74309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74310 (exit $ac_status); } &&
74311 { ac_try='test -z "$ac_cxx_werror_flag"
74312 || test ! -s conftest.err'
74313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74314 (eval $ac_try) 2>&5
74315 ac_status=$?
74316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74317 (exit $ac_status); }; } &&
74318 { ac_try='test -s conftest.$ac_objext'
74319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74320 (eval $ac_try) 2>&5
74321 ac_status=$?
74322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74323 (exit $ac_status); }; }; then
74324 glibcxx_cv_func__long_double_trig_use=yes
74325 else
74326 echo "$as_me: failed program was:" >&5
74327 sed 's/^/| /' conftest.$ac_ext >&5
74328
74329 glibcxx_cv_func__long_double_trig_use=no
74330 fi
74331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74332 ac_ext=c
74333 ac_cpp='$CPP $CPPFLAGS'
74334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74337
74338 fi
74339
74340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74341 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74342 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74343
74344
74345
74346
74347
74348
74349
74350
74351
74352 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74353 do
74354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74355 echo "$as_me:$LINENO: checking for $ac_func" >&5
74356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74357 if eval "test \"\${$as_ac_var+set}\" = set"; then
74358 echo $ECHO_N "(cached) $ECHO_C" >&6
74359 else
74360 if test x$gcc_no_link = xyes; then
74361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74363 { (exit 1); exit 1; }; }
74364 fi
74365 cat >conftest.$ac_ext <<_ACEOF
74366 /* confdefs.h. */
74367 _ACEOF
74368 cat confdefs.h >>conftest.$ac_ext
74369 cat >>conftest.$ac_ext <<_ACEOF
74370 /* end confdefs.h. */
74371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74373 #define $ac_func innocuous_$ac_func
74374
74375 /* System header to define __stub macros and hopefully few prototypes,
74376 which can conflict with char $ac_func (); below.
74377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74378 <limits.h> exists even on freestanding compilers. */
74379
74380 #ifdef __STDC__
74381 # include <limits.h>
74382 #else
74383 # include <assert.h>
74384 #endif
74385
74386 #undef $ac_func
74387
74388 /* Override any gcc2 internal prototype to avoid an error. */
74389 #ifdef __cplusplus
74390 extern "C"
74391 {
74392 #endif
74393 /* We use char because int might match the return type of a gcc2
74394 builtin and then its argument prototype would still apply. */
74395 char $ac_func ();
74396 /* The GNU C library defines this for functions which it implements
74397 to always fail with ENOSYS. Some functions are actually named
74398 something starting with __ and the normal name is an alias. */
74399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74400 choke me
74401 #else
74402 char (*f) () = $ac_func;
74403 #endif
74404 #ifdef __cplusplus
74405 }
74406 #endif
74407
74408 int
74409 main ()
74410 {
74411 return f != $ac_func;
74412 ;
74413 return 0;
74414 }
74415 _ACEOF
74416 rm -f conftest.$ac_objext conftest$ac_exeext
74417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74418 (eval $ac_link) 2>conftest.er1
74419 ac_status=$?
74420 grep -v '^ *+' conftest.er1 >conftest.err
74421 rm -f conftest.er1
74422 cat conftest.err >&5
74423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74424 (exit $ac_status); } &&
74425 { ac_try='test -z "$ac_c_werror_flag"
74426 || test ! -s conftest.err'
74427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74428 (eval $ac_try) 2>&5
74429 ac_status=$?
74430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74431 (exit $ac_status); }; } &&
74432 { ac_try='test -s conftest$ac_exeext'
74433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74434 (eval $ac_try) 2>&5
74435 ac_status=$?
74436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437 (exit $ac_status); }; }; then
74438 eval "$as_ac_var=yes"
74439 else
74440 echo "$as_me: failed program was:" >&5
74441 sed 's/^/| /' conftest.$ac_ext >&5
74442
74443 eval "$as_ac_var=no"
74444 fi
74445 rm -f conftest.err conftest.$ac_objext \
74446 conftest$ac_exeext conftest.$ac_ext
74447 fi
74448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74450 if test `eval echo '${'$as_ac_var'}'` = yes; then
74451 cat >>confdefs.h <<_ACEOF
74452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74453 _ACEOF
74454
74455 fi
74456 done
74457
74458 fi
74459 fi
74460
74461
74462
74463
74464
74465
74466
74467
74468
74469
74470
74471
74472
74473
74474 echo "$as_me:$LINENO: checking for long double round functions" >&5
74475 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74476 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74477 echo $ECHO_N "(cached) $ECHO_C" >&6
74478 else
74479
74480
74481
74482 ac_ext=cc
74483 ac_cpp='$CXXCPP $CPPFLAGS'
74484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74487
74488 cat >conftest.$ac_ext <<_ACEOF
74489 /* confdefs.h. */
74490 _ACEOF
74491 cat confdefs.h >>conftest.$ac_ext
74492 cat >>conftest.$ac_ext <<_ACEOF
74493 /* end confdefs.h. */
74494 #include <math.h>
74495 int
74496 main ()
74497 {
74498 ceill (0); floorl (0);
74499 ;
74500 return 0;
74501 }
74502 _ACEOF
74503 rm -f conftest.$ac_objext
74504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74505 (eval $ac_compile) 2>conftest.er1
74506 ac_status=$?
74507 grep -v '^ *+' conftest.er1 >conftest.err
74508 rm -f conftest.er1
74509 cat conftest.err >&5
74510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74511 (exit $ac_status); } &&
74512 { ac_try='test -z "$ac_cxx_werror_flag"
74513 || test ! -s conftest.err'
74514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74515 (eval $ac_try) 2>&5
74516 ac_status=$?
74517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74518 (exit $ac_status); }; } &&
74519 { ac_try='test -s conftest.$ac_objext'
74520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74521 (eval $ac_try) 2>&5
74522 ac_status=$?
74523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74524 (exit $ac_status); }; }; then
74525 glibcxx_cv_func_long_double_round_use=yes
74526 else
74527 echo "$as_me: failed program was:" >&5
74528 sed 's/^/| /' conftest.$ac_ext >&5
74529
74530 glibcxx_cv_func_long_double_round_use=no
74531 fi
74532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74533 ac_ext=c
74534 ac_cpp='$CPP $CPPFLAGS'
74535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74538
74539 fi
74540
74541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74542 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74543 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74544
74545
74546 for ac_func in ceill floorl
74547 do
74548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74549 echo "$as_me:$LINENO: checking for $ac_func" >&5
74550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74551 if eval "test \"\${$as_ac_var+set}\" = set"; then
74552 echo $ECHO_N "(cached) $ECHO_C" >&6
74553 else
74554 if test x$gcc_no_link = xyes; then
74555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74557 { (exit 1); exit 1; }; }
74558 fi
74559 cat >conftest.$ac_ext <<_ACEOF
74560 /* confdefs.h. */
74561 _ACEOF
74562 cat confdefs.h >>conftest.$ac_ext
74563 cat >>conftest.$ac_ext <<_ACEOF
74564 /* end confdefs.h. */
74565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74567 #define $ac_func innocuous_$ac_func
74568
74569 /* System header to define __stub macros and hopefully few prototypes,
74570 which can conflict with char $ac_func (); below.
74571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74572 <limits.h> exists even on freestanding compilers. */
74573
74574 #ifdef __STDC__
74575 # include <limits.h>
74576 #else
74577 # include <assert.h>
74578 #endif
74579
74580 #undef $ac_func
74581
74582 /* Override any gcc2 internal prototype to avoid an error. */
74583 #ifdef __cplusplus
74584 extern "C"
74585 {
74586 #endif
74587 /* We use char because int might match the return type of a gcc2
74588 builtin and then its argument prototype would still apply. */
74589 char $ac_func ();
74590 /* The GNU C library defines this for functions which it implements
74591 to always fail with ENOSYS. Some functions are actually named
74592 something starting with __ and the normal name is an alias. */
74593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74594 choke me
74595 #else
74596 char (*f) () = $ac_func;
74597 #endif
74598 #ifdef __cplusplus
74599 }
74600 #endif
74601
74602 int
74603 main ()
74604 {
74605 return f != $ac_func;
74606 ;
74607 return 0;
74608 }
74609 _ACEOF
74610 rm -f conftest.$ac_objext conftest$ac_exeext
74611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74612 (eval $ac_link) 2>conftest.er1
74613 ac_status=$?
74614 grep -v '^ *+' conftest.er1 >conftest.err
74615 rm -f conftest.er1
74616 cat conftest.err >&5
74617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74618 (exit $ac_status); } &&
74619 { ac_try='test -z "$ac_c_werror_flag"
74620 || test ! -s conftest.err'
74621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74622 (eval $ac_try) 2>&5
74623 ac_status=$?
74624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74625 (exit $ac_status); }; } &&
74626 { ac_try='test -s conftest$ac_exeext'
74627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74628 (eval $ac_try) 2>&5
74629 ac_status=$?
74630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74631 (exit $ac_status); }; }; then
74632 eval "$as_ac_var=yes"
74633 else
74634 echo "$as_me: failed program was:" >&5
74635 sed 's/^/| /' conftest.$ac_ext >&5
74636
74637 eval "$as_ac_var=no"
74638 fi
74639 rm -f conftest.err conftest.$ac_objext \
74640 conftest$ac_exeext conftest.$ac_ext
74641 fi
74642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74644 if test `eval echo '${'$as_ac_var'}'` = yes; then
74645 cat >>confdefs.h <<_ACEOF
74646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74647 _ACEOF
74648
74649 fi
74650 done
74651
74652 else
74653 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74654 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74655 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74656 echo $ECHO_N "(cached) $ECHO_C" >&6
74657 else
74658
74659
74660
74661 ac_ext=cc
74662 ac_cpp='$CXXCPP $CPPFLAGS'
74663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74666
74667 cat >conftest.$ac_ext <<_ACEOF
74668 /* confdefs.h. */
74669 _ACEOF
74670 cat confdefs.h >>conftest.$ac_ext
74671 cat >>conftest.$ac_ext <<_ACEOF
74672 /* end confdefs.h. */
74673 #include <math.h>
74674 int
74675 main ()
74676 {
74677 _ceill (0); _floorl (0);
74678 ;
74679 return 0;
74680 }
74681 _ACEOF
74682 rm -f conftest.$ac_objext
74683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74684 (eval $ac_compile) 2>conftest.er1
74685 ac_status=$?
74686 grep -v '^ *+' conftest.er1 >conftest.err
74687 rm -f conftest.er1
74688 cat conftest.err >&5
74689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74690 (exit $ac_status); } &&
74691 { ac_try='test -z "$ac_cxx_werror_flag"
74692 || test ! -s conftest.err'
74693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74694 (eval $ac_try) 2>&5
74695 ac_status=$?
74696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74697 (exit $ac_status); }; } &&
74698 { ac_try='test -s conftest.$ac_objext'
74699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74700 (eval $ac_try) 2>&5
74701 ac_status=$?
74702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74703 (exit $ac_status); }; }; then
74704 glibcxx_cv_func__long_double_round_use=yes
74705 else
74706 echo "$as_me: failed program was:" >&5
74707 sed 's/^/| /' conftest.$ac_ext >&5
74708
74709 glibcxx_cv_func__long_double_round_use=no
74710 fi
74711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74712 ac_ext=c
74713 ac_cpp='$CPP $CPPFLAGS'
74714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74717
74718 fi
74719
74720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74721 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74722 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74723
74724
74725 for ac_func in _ceill _floorl
74726 do
74727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74728 echo "$as_me:$LINENO: checking for $ac_func" >&5
74729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74730 if eval "test \"\${$as_ac_var+set}\" = set"; then
74731 echo $ECHO_N "(cached) $ECHO_C" >&6
74732 else
74733 if test x$gcc_no_link = xyes; then
74734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74736 { (exit 1); exit 1; }; }
74737 fi
74738 cat >conftest.$ac_ext <<_ACEOF
74739 /* confdefs.h. */
74740 _ACEOF
74741 cat confdefs.h >>conftest.$ac_ext
74742 cat >>conftest.$ac_ext <<_ACEOF
74743 /* end confdefs.h. */
74744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74746 #define $ac_func innocuous_$ac_func
74747
74748 /* System header to define __stub macros and hopefully few prototypes,
74749 which can conflict with char $ac_func (); below.
74750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74751 <limits.h> exists even on freestanding compilers. */
74752
74753 #ifdef __STDC__
74754 # include <limits.h>
74755 #else
74756 # include <assert.h>
74757 #endif
74758
74759 #undef $ac_func
74760
74761 /* Override any gcc2 internal prototype to avoid an error. */
74762 #ifdef __cplusplus
74763 extern "C"
74764 {
74765 #endif
74766 /* We use char because int might match the return type of a gcc2
74767 builtin and then its argument prototype would still apply. */
74768 char $ac_func ();
74769 /* The GNU C library defines this for functions which it implements
74770 to always fail with ENOSYS. Some functions are actually named
74771 something starting with __ and the normal name is an alias. */
74772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74773 choke me
74774 #else
74775 char (*f) () = $ac_func;
74776 #endif
74777 #ifdef __cplusplus
74778 }
74779 #endif
74780
74781 int
74782 main ()
74783 {
74784 return f != $ac_func;
74785 ;
74786 return 0;
74787 }
74788 _ACEOF
74789 rm -f conftest.$ac_objext conftest$ac_exeext
74790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74791 (eval $ac_link) 2>conftest.er1
74792 ac_status=$?
74793 grep -v '^ *+' conftest.er1 >conftest.err
74794 rm -f conftest.er1
74795 cat conftest.err >&5
74796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74797 (exit $ac_status); } &&
74798 { ac_try='test -z "$ac_c_werror_flag"
74799 || test ! -s conftest.err'
74800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74801 (eval $ac_try) 2>&5
74802 ac_status=$?
74803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74804 (exit $ac_status); }; } &&
74805 { ac_try='test -s conftest$ac_exeext'
74806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74807 (eval $ac_try) 2>&5
74808 ac_status=$?
74809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74810 (exit $ac_status); }; }; then
74811 eval "$as_ac_var=yes"
74812 else
74813 echo "$as_me: failed program was:" >&5
74814 sed 's/^/| /' conftest.$ac_ext >&5
74815
74816 eval "$as_ac_var=no"
74817 fi
74818 rm -f conftest.err conftest.$ac_objext \
74819 conftest$ac_exeext conftest.$ac_ext
74820 fi
74821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74823 if test `eval echo '${'$as_ac_var'}'` = yes; then
74824 cat >>confdefs.h <<_ACEOF
74825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74826 _ACEOF
74827
74828 fi
74829 done
74830
74831 fi
74832 fi
74833
74834
74835
74836
74837
74838
74839
74840
74841 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74842 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74843 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74844 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74845 echo $ECHO_N "(cached) $ECHO_C" >&6
74846 else
74847
74848
74849
74850 ac_ext=cc
74851 ac_cpp='$CXXCPP $CPPFLAGS'
74852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74855
74856 cat >conftest.$ac_ext <<_ACEOF
74857 /* confdefs.h. */
74858 _ACEOF
74859 cat confdefs.h >>conftest.$ac_ext
74860 cat >>conftest.$ac_ext <<_ACEOF
74861 /* end confdefs.h. */
74862 #include <math.h>
74863 #ifdef HAVE_IEEEFP_H
74864 #include <ieeefp.h>
74865 #endif
74866
74867 int
74868 main ()
74869 {
74870 isnanl(0);
74871 ;
74872 return 0;
74873 }
74874 _ACEOF
74875 rm -f conftest.$ac_objext
74876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74877 (eval $ac_compile) 2>conftest.er1
74878 ac_status=$?
74879 grep -v '^ *+' conftest.er1 >conftest.err
74880 rm -f conftest.er1
74881 cat conftest.err >&5
74882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74883 (exit $ac_status); } &&
74884 { ac_try='test -z "$ac_cxx_werror_flag"
74885 || test ! -s conftest.err'
74886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74887 (eval $ac_try) 2>&5
74888 ac_status=$?
74889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74890 (exit $ac_status); }; } &&
74891 { ac_try='test -s conftest.$ac_objext'
74892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74893 (eval $ac_try) 2>&5
74894 ac_status=$?
74895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74896 (exit $ac_status); }; }; then
74897 glibcxx_cv_func_isnanl_use=yes
74898 else
74899 echo "$as_me: failed program was:" >&5
74900 sed 's/^/| /' conftest.$ac_ext >&5
74901
74902 glibcxx_cv_func_isnanl_use=no
74903 fi
74904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74905 ac_ext=c
74906 ac_cpp='$CPP $CPPFLAGS'
74907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74910
74911
74912 fi
74913
74914 fi
74915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74916 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74917
74918 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74919
74920 for ac_func in isnanl
74921 do
74922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74923 echo "$as_me:$LINENO: checking for $ac_func" >&5
74924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74925 if eval "test \"\${$as_ac_var+set}\" = set"; then
74926 echo $ECHO_N "(cached) $ECHO_C" >&6
74927 else
74928 if test x$gcc_no_link = xyes; then
74929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74931 { (exit 1); exit 1; }; }
74932 fi
74933 cat >conftest.$ac_ext <<_ACEOF
74934 /* confdefs.h. */
74935 _ACEOF
74936 cat confdefs.h >>conftest.$ac_ext
74937 cat >>conftest.$ac_ext <<_ACEOF
74938 /* end confdefs.h. */
74939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74941 #define $ac_func innocuous_$ac_func
74942
74943 /* System header to define __stub macros and hopefully few prototypes,
74944 which can conflict with char $ac_func (); below.
74945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74946 <limits.h> exists even on freestanding compilers. */
74947
74948 #ifdef __STDC__
74949 # include <limits.h>
74950 #else
74951 # include <assert.h>
74952 #endif
74953
74954 #undef $ac_func
74955
74956 /* Override any gcc2 internal prototype to avoid an error. */
74957 #ifdef __cplusplus
74958 extern "C"
74959 {
74960 #endif
74961 /* We use char because int might match the return type of a gcc2
74962 builtin and then its argument prototype would still apply. */
74963 char $ac_func ();
74964 /* The GNU C library defines this for functions which it implements
74965 to always fail with ENOSYS. Some functions are actually named
74966 something starting with __ and the normal name is an alias. */
74967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74968 choke me
74969 #else
74970 char (*f) () = $ac_func;
74971 #endif
74972 #ifdef __cplusplus
74973 }
74974 #endif
74975
74976 int
74977 main ()
74978 {
74979 return f != $ac_func;
74980 ;
74981 return 0;
74982 }
74983 _ACEOF
74984 rm -f conftest.$ac_objext conftest$ac_exeext
74985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74986 (eval $ac_link) 2>conftest.er1
74987 ac_status=$?
74988 grep -v '^ *+' conftest.er1 >conftest.err
74989 rm -f conftest.er1
74990 cat conftest.err >&5
74991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74992 (exit $ac_status); } &&
74993 { ac_try='test -z "$ac_c_werror_flag"
74994 || test ! -s conftest.err'
74995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74996 (eval $ac_try) 2>&5
74997 ac_status=$?
74998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74999 (exit $ac_status); }; } &&
75000 { ac_try='test -s conftest$ac_exeext'
75001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75002 (eval $ac_try) 2>&5
75003 ac_status=$?
75004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75005 (exit $ac_status); }; }; then
75006 eval "$as_ac_var=yes"
75007 else
75008 echo "$as_me: failed program was:" >&5
75009 sed 's/^/| /' conftest.$ac_ext >&5
75010
75011 eval "$as_ac_var=no"
75012 fi
75013 rm -f conftest.err conftest.$ac_objext \
75014 conftest$ac_exeext conftest.$ac_ext
75015 fi
75016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75018 if test `eval echo '${'$as_ac_var'}'` = yes; then
75019 cat >>confdefs.h <<_ACEOF
75020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75021 _ACEOF
75022
75023 fi
75024 done
75025
75026 else
75027
75028 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75029 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75030 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75031 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75032 echo $ECHO_N "(cached) $ECHO_C" >&6
75033 else
75034
75035
75036
75037 ac_ext=cc
75038 ac_cpp='$CXXCPP $CPPFLAGS'
75039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75042
75043 cat >conftest.$ac_ext <<_ACEOF
75044 /* confdefs.h. */
75045 _ACEOF
75046 cat confdefs.h >>conftest.$ac_ext
75047 cat >>conftest.$ac_ext <<_ACEOF
75048 /* end confdefs.h. */
75049 #include <math.h>
75050 #ifdef HAVE_IEEEFP_H
75051 #include <ieeefp.h>
75052 #endif
75053
75054 int
75055 main ()
75056 {
75057 _isnanl(0);
75058 ;
75059 return 0;
75060 }
75061 _ACEOF
75062 rm -f conftest.$ac_objext
75063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75064 (eval $ac_compile) 2>conftest.er1
75065 ac_status=$?
75066 grep -v '^ *+' conftest.er1 >conftest.err
75067 rm -f conftest.er1
75068 cat conftest.err >&5
75069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75070 (exit $ac_status); } &&
75071 { ac_try='test -z "$ac_cxx_werror_flag"
75072 || test ! -s conftest.err'
75073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75074 (eval $ac_try) 2>&5
75075 ac_status=$?
75076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75077 (exit $ac_status); }; } &&
75078 { ac_try='test -s conftest.$ac_objext'
75079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75080 (eval $ac_try) 2>&5
75081 ac_status=$?
75082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75083 (exit $ac_status); }; }; then
75084 glibcxx_cv_func__isnanl_use=yes
75085 else
75086 echo "$as_me: failed program was:" >&5
75087 sed 's/^/| /' conftest.$ac_ext >&5
75088
75089 glibcxx_cv_func__isnanl_use=no
75090 fi
75091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75092 ac_ext=c
75093 ac_cpp='$CPP $CPPFLAGS'
75094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75097
75098
75099 fi
75100
75101 fi
75102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75103 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75104
75105 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75106
75107 for ac_func in _isnanl
75108 do
75109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75110 echo "$as_me:$LINENO: checking for $ac_func" >&5
75111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75112 if eval "test \"\${$as_ac_var+set}\" = set"; then
75113 echo $ECHO_N "(cached) $ECHO_C" >&6
75114 else
75115 if test x$gcc_no_link = xyes; then
75116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75118 { (exit 1); exit 1; }; }
75119 fi
75120 cat >conftest.$ac_ext <<_ACEOF
75121 /* confdefs.h. */
75122 _ACEOF
75123 cat confdefs.h >>conftest.$ac_ext
75124 cat >>conftest.$ac_ext <<_ACEOF
75125 /* end confdefs.h. */
75126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75128 #define $ac_func innocuous_$ac_func
75129
75130 /* System header to define __stub macros and hopefully few prototypes,
75131 which can conflict with char $ac_func (); below.
75132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75133 <limits.h> exists even on freestanding compilers. */
75134
75135 #ifdef __STDC__
75136 # include <limits.h>
75137 #else
75138 # include <assert.h>
75139 #endif
75140
75141 #undef $ac_func
75142
75143 /* Override any gcc2 internal prototype to avoid an error. */
75144 #ifdef __cplusplus
75145 extern "C"
75146 {
75147 #endif
75148 /* We use char because int might match the return type of a gcc2
75149 builtin and then its argument prototype would still apply. */
75150 char $ac_func ();
75151 /* The GNU C library defines this for functions which it implements
75152 to always fail with ENOSYS. Some functions are actually named
75153 something starting with __ and the normal name is an alias. */
75154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75155 choke me
75156 #else
75157 char (*f) () = $ac_func;
75158 #endif
75159 #ifdef __cplusplus
75160 }
75161 #endif
75162
75163 int
75164 main ()
75165 {
75166 return f != $ac_func;
75167 ;
75168 return 0;
75169 }
75170 _ACEOF
75171 rm -f conftest.$ac_objext conftest$ac_exeext
75172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75173 (eval $ac_link) 2>conftest.er1
75174 ac_status=$?
75175 grep -v '^ *+' conftest.er1 >conftest.err
75176 rm -f conftest.er1
75177 cat conftest.err >&5
75178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75179 (exit $ac_status); } &&
75180 { ac_try='test -z "$ac_c_werror_flag"
75181 || test ! -s conftest.err'
75182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75183 (eval $ac_try) 2>&5
75184 ac_status=$?
75185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75186 (exit $ac_status); }; } &&
75187 { ac_try='test -s conftest$ac_exeext'
75188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75189 (eval $ac_try) 2>&5
75190 ac_status=$?
75191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75192 (exit $ac_status); }; }; then
75193 eval "$as_ac_var=yes"
75194 else
75195 echo "$as_me: failed program was:" >&5
75196 sed 's/^/| /' conftest.$ac_ext >&5
75197
75198 eval "$as_ac_var=no"
75199 fi
75200 rm -f conftest.err conftest.$ac_objext \
75201 conftest$ac_exeext conftest.$ac_ext
75202 fi
75203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75205 if test `eval echo '${'$as_ac_var'}'` = yes; then
75206 cat >>confdefs.h <<_ACEOF
75207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75208 _ACEOF
75209
75210 fi
75211 done
75212
75213 fi
75214 fi
75215
75216
75217
75218
75219
75220
75221 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75222 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75223 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75224 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75225 echo $ECHO_N "(cached) $ECHO_C" >&6
75226 else
75227
75228
75229
75230 ac_ext=cc
75231 ac_cpp='$CXXCPP $CPPFLAGS'
75232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75235
75236 cat >conftest.$ac_ext <<_ACEOF
75237 /* confdefs.h. */
75238 _ACEOF
75239 cat confdefs.h >>conftest.$ac_ext
75240 cat >>conftest.$ac_ext <<_ACEOF
75241 /* end confdefs.h. */
75242 #include <math.h>
75243 #ifdef HAVE_IEEEFP_H
75244 #include <ieeefp.h>
75245 #endif
75246
75247 int
75248 main ()
75249 {
75250 isinfl(0);
75251 ;
75252 return 0;
75253 }
75254 _ACEOF
75255 rm -f conftest.$ac_objext
75256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75257 (eval $ac_compile) 2>conftest.er1
75258 ac_status=$?
75259 grep -v '^ *+' conftest.er1 >conftest.err
75260 rm -f conftest.er1
75261 cat conftest.err >&5
75262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75263 (exit $ac_status); } &&
75264 { ac_try='test -z "$ac_cxx_werror_flag"
75265 || test ! -s conftest.err'
75266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75267 (eval $ac_try) 2>&5
75268 ac_status=$?
75269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75270 (exit $ac_status); }; } &&
75271 { ac_try='test -s conftest.$ac_objext'
75272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75273 (eval $ac_try) 2>&5
75274 ac_status=$?
75275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75276 (exit $ac_status); }; }; then
75277 glibcxx_cv_func_isinfl_use=yes
75278 else
75279 echo "$as_me: failed program was:" >&5
75280 sed 's/^/| /' conftest.$ac_ext >&5
75281
75282 glibcxx_cv_func_isinfl_use=no
75283 fi
75284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75285 ac_ext=c
75286 ac_cpp='$CPP $CPPFLAGS'
75287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75290
75291
75292 fi
75293
75294 fi
75295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75296 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75297
75298 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75299
75300 for ac_func in isinfl
75301 do
75302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75303 echo "$as_me:$LINENO: checking for $ac_func" >&5
75304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75305 if eval "test \"\${$as_ac_var+set}\" = set"; then
75306 echo $ECHO_N "(cached) $ECHO_C" >&6
75307 else
75308 if test x$gcc_no_link = xyes; then
75309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75311 { (exit 1); exit 1; }; }
75312 fi
75313 cat >conftest.$ac_ext <<_ACEOF
75314 /* confdefs.h. */
75315 _ACEOF
75316 cat confdefs.h >>conftest.$ac_ext
75317 cat >>conftest.$ac_ext <<_ACEOF
75318 /* end confdefs.h. */
75319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75321 #define $ac_func innocuous_$ac_func
75322
75323 /* System header to define __stub macros and hopefully few prototypes,
75324 which can conflict with char $ac_func (); below.
75325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75326 <limits.h> exists even on freestanding compilers. */
75327
75328 #ifdef __STDC__
75329 # include <limits.h>
75330 #else
75331 # include <assert.h>
75332 #endif
75333
75334 #undef $ac_func
75335
75336 /* Override any gcc2 internal prototype to avoid an error. */
75337 #ifdef __cplusplus
75338 extern "C"
75339 {
75340 #endif
75341 /* We use char because int might match the return type of a gcc2
75342 builtin and then its argument prototype would still apply. */
75343 char $ac_func ();
75344 /* The GNU C library defines this for functions which it implements
75345 to always fail with ENOSYS. Some functions are actually named
75346 something starting with __ and the normal name is an alias. */
75347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75348 choke me
75349 #else
75350 char (*f) () = $ac_func;
75351 #endif
75352 #ifdef __cplusplus
75353 }
75354 #endif
75355
75356 int
75357 main ()
75358 {
75359 return f != $ac_func;
75360 ;
75361 return 0;
75362 }
75363 _ACEOF
75364 rm -f conftest.$ac_objext conftest$ac_exeext
75365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75366 (eval $ac_link) 2>conftest.er1
75367 ac_status=$?
75368 grep -v '^ *+' conftest.er1 >conftest.err
75369 rm -f conftest.er1
75370 cat conftest.err >&5
75371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75372 (exit $ac_status); } &&
75373 { ac_try='test -z "$ac_c_werror_flag"
75374 || test ! -s conftest.err'
75375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75376 (eval $ac_try) 2>&5
75377 ac_status=$?
75378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75379 (exit $ac_status); }; } &&
75380 { ac_try='test -s conftest$ac_exeext'
75381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75382 (eval $ac_try) 2>&5
75383 ac_status=$?
75384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75385 (exit $ac_status); }; }; then
75386 eval "$as_ac_var=yes"
75387 else
75388 echo "$as_me: failed program was:" >&5
75389 sed 's/^/| /' conftest.$ac_ext >&5
75390
75391 eval "$as_ac_var=no"
75392 fi
75393 rm -f conftest.err conftest.$ac_objext \
75394 conftest$ac_exeext conftest.$ac_ext
75395 fi
75396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75398 if test `eval echo '${'$as_ac_var'}'` = yes; then
75399 cat >>confdefs.h <<_ACEOF
75400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75401 _ACEOF
75402
75403 fi
75404 done
75405
75406 else
75407
75408 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75409 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75410 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75411 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75412 echo $ECHO_N "(cached) $ECHO_C" >&6
75413 else
75414
75415
75416
75417 ac_ext=cc
75418 ac_cpp='$CXXCPP $CPPFLAGS'
75419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75422
75423 cat >conftest.$ac_ext <<_ACEOF
75424 /* confdefs.h. */
75425 _ACEOF
75426 cat confdefs.h >>conftest.$ac_ext
75427 cat >>conftest.$ac_ext <<_ACEOF
75428 /* end confdefs.h. */
75429 #include <math.h>
75430 #ifdef HAVE_IEEEFP_H
75431 #include <ieeefp.h>
75432 #endif
75433
75434 int
75435 main ()
75436 {
75437 _isinfl(0);
75438 ;
75439 return 0;
75440 }
75441 _ACEOF
75442 rm -f conftest.$ac_objext
75443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75444 (eval $ac_compile) 2>conftest.er1
75445 ac_status=$?
75446 grep -v '^ *+' conftest.er1 >conftest.err
75447 rm -f conftest.er1
75448 cat conftest.err >&5
75449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75450 (exit $ac_status); } &&
75451 { ac_try='test -z "$ac_cxx_werror_flag"
75452 || test ! -s conftest.err'
75453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75454 (eval $ac_try) 2>&5
75455 ac_status=$?
75456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75457 (exit $ac_status); }; } &&
75458 { ac_try='test -s conftest.$ac_objext'
75459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75460 (eval $ac_try) 2>&5
75461 ac_status=$?
75462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75463 (exit $ac_status); }; }; then
75464 glibcxx_cv_func__isinfl_use=yes
75465 else
75466 echo "$as_me: failed program was:" >&5
75467 sed 's/^/| /' conftest.$ac_ext >&5
75468
75469 glibcxx_cv_func__isinfl_use=no
75470 fi
75471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75472 ac_ext=c
75473 ac_cpp='$CPP $CPPFLAGS'
75474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75477
75478
75479 fi
75480
75481 fi
75482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75483 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75484
75485 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75486
75487 for ac_func in _isinfl
75488 do
75489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75490 echo "$as_me:$LINENO: checking for $ac_func" >&5
75491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75492 if eval "test \"\${$as_ac_var+set}\" = set"; then
75493 echo $ECHO_N "(cached) $ECHO_C" >&6
75494 else
75495 if test x$gcc_no_link = xyes; then
75496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75498 { (exit 1); exit 1; }; }
75499 fi
75500 cat >conftest.$ac_ext <<_ACEOF
75501 /* confdefs.h. */
75502 _ACEOF
75503 cat confdefs.h >>conftest.$ac_ext
75504 cat >>conftest.$ac_ext <<_ACEOF
75505 /* end confdefs.h. */
75506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75508 #define $ac_func innocuous_$ac_func
75509
75510 /* System header to define __stub macros and hopefully few prototypes,
75511 which can conflict with char $ac_func (); below.
75512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75513 <limits.h> exists even on freestanding compilers. */
75514
75515 #ifdef __STDC__
75516 # include <limits.h>
75517 #else
75518 # include <assert.h>
75519 #endif
75520
75521 #undef $ac_func
75522
75523 /* Override any gcc2 internal prototype to avoid an error. */
75524 #ifdef __cplusplus
75525 extern "C"
75526 {
75527 #endif
75528 /* We use char because int might match the return type of a gcc2
75529 builtin and then its argument prototype would still apply. */
75530 char $ac_func ();
75531 /* The GNU C library defines this for functions which it implements
75532 to always fail with ENOSYS. Some functions are actually named
75533 something starting with __ and the normal name is an alias. */
75534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75535 choke me
75536 #else
75537 char (*f) () = $ac_func;
75538 #endif
75539 #ifdef __cplusplus
75540 }
75541 #endif
75542
75543 int
75544 main ()
75545 {
75546 return f != $ac_func;
75547 ;
75548 return 0;
75549 }
75550 _ACEOF
75551 rm -f conftest.$ac_objext conftest$ac_exeext
75552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75553 (eval $ac_link) 2>conftest.er1
75554 ac_status=$?
75555 grep -v '^ *+' conftest.er1 >conftest.err
75556 rm -f conftest.er1
75557 cat conftest.err >&5
75558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75559 (exit $ac_status); } &&
75560 { ac_try='test -z "$ac_c_werror_flag"
75561 || test ! -s conftest.err'
75562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75563 (eval $ac_try) 2>&5
75564 ac_status=$?
75565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75566 (exit $ac_status); }; } &&
75567 { ac_try='test -s conftest$ac_exeext'
75568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75569 (eval $ac_try) 2>&5
75570 ac_status=$?
75571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75572 (exit $ac_status); }; }; then
75573 eval "$as_ac_var=yes"
75574 else
75575 echo "$as_me: failed program was:" >&5
75576 sed 's/^/| /' conftest.$ac_ext >&5
75577
75578 eval "$as_ac_var=no"
75579 fi
75580 rm -f conftest.err conftest.$ac_objext \
75581 conftest$ac_exeext conftest.$ac_ext
75582 fi
75583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75585 if test `eval echo '${'$as_ac_var'}'` = yes; then
75586 cat >>confdefs.h <<_ACEOF
75587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75588 _ACEOF
75589
75590 fi
75591 done
75592
75593 fi
75594 fi
75595
75596
75597
75598
75599
75600
75601 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75602 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75603 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75604 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75605 echo $ECHO_N "(cached) $ECHO_C" >&6
75606 else
75607
75608
75609
75610 ac_ext=cc
75611 ac_cpp='$CXXCPP $CPPFLAGS'
75612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75615
75616 cat >conftest.$ac_ext <<_ACEOF
75617 /* confdefs.h. */
75618 _ACEOF
75619 cat confdefs.h >>conftest.$ac_ext
75620 cat >>conftest.$ac_ext <<_ACEOF
75621 /* end confdefs.h. */
75622 #include <math.h>
75623 int
75624 main ()
75625 {
75626 copysignl(0, 0);
75627 ;
75628 return 0;
75629 }
75630 _ACEOF
75631 rm -f conftest.$ac_objext
75632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75633 (eval $ac_compile) 2>conftest.er1
75634 ac_status=$?
75635 grep -v '^ *+' conftest.er1 >conftest.err
75636 rm -f conftest.er1
75637 cat conftest.err >&5
75638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75639 (exit $ac_status); } &&
75640 { ac_try='test -z "$ac_cxx_werror_flag"
75641 || test ! -s conftest.err'
75642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75643 (eval $ac_try) 2>&5
75644 ac_status=$?
75645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75646 (exit $ac_status); }; } &&
75647 { ac_try='test -s conftest.$ac_objext'
75648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75649 (eval $ac_try) 2>&5
75650 ac_status=$?
75651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75652 (exit $ac_status); }; }; then
75653 glibcxx_cv_func_copysignl_use=yes
75654 else
75655 echo "$as_me: failed program was:" >&5
75656 sed 's/^/| /' conftest.$ac_ext >&5
75657
75658 glibcxx_cv_func_copysignl_use=no
75659 fi
75660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75661 ac_ext=c
75662 ac_cpp='$CPP $CPPFLAGS'
75663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75666
75667
75668 fi
75669
75670 fi
75671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75672 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75673
75674 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75675
75676 for ac_func in copysignl
75677 do
75678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75679 echo "$as_me:$LINENO: checking for $ac_func" >&5
75680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75681 if eval "test \"\${$as_ac_var+set}\" = set"; then
75682 echo $ECHO_N "(cached) $ECHO_C" >&6
75683 else
75684 if test x$gcc_no_link = xyes; then
75685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75687 { (exit 1); exit 1; }; }
75688 fi
75689 cat >conftest.$ac_ext <<_ACEOF
75690 /* confdefs.h. */
75691 _ACEOF
75692 cat confdefs.h >>conftest.$ac_ext
75693 cat >>conftest.$ac_ext <<_ACEOF
75694 /* end confdefs.h. */
75695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75697 #define $ac_func innocuous_$ac_func
75698
75699 /* System header to define __stub macros and hopefully few prototypes,
75700 which can conflict with char $ac_func (); below.
75701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75702 <limits.h> exists even on freestanding compilers. */
75703
75704 #ifdef __STDC__
75705 # include <limits.h>
75706 #else
75707 # include <assert.h>
75708 #endif
75709
75710 #undef $ac_func
75711
75712 /* Override any gcc2 internal prototype to avoid an error. */
75713 #ifdef __cplusplus
75714 extern "C"
75715 {
75716 #endif
75717 /* We use char because int might match the return type of a gcc2
75718 builtin and then its argument prototype would still apply. */
75719 char $ac_func ();
75720 /* The GNU C library defines this for functions which it implements
75721 to always fail with ENOSYS. Some functions are actually named
75722 something starting with __ and the normal name is an alias. */
75723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75724 choke me
75725 #else
75726 char (*f) () = $ac_func;
75727 #endif
75728 #ifdef __cplusplus
75729 }
75730 #endif
75731
75732 int
75733 main ()
75734 {
75735 return f != $ac_func;
75736 ;
75737 return 0;
75738 }
75739 _ACEOF
75740 rm -f conftest.$ac_objext conftest$ac_exeext
75741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75742 (eval $ac_link) 2>conftest.er1
75743 ac_status=$?
75744 grep -v '^ *+' conftest.er1 >conftest.err
75745 rm -f conftest.er1
75746 cat conftest.err >&5
75747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75748 (exit $ac_status); } &&
75749 { ac_try='test -z "$ac_c_werror_flag"
75750 || test ! -s conftest.err'
75751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75752 (eval $ac_try) 2>&5
75753 ac_status=$?
75754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75755 (exit $ac_status); }; } &&
75756 { ac_try='test -s conftest$ac_exeext'
75757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758 (eval $ac_try) 2>&5
75759 ac_status=$?
75760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761 (exit $ac_status); }; }; then
75762 eval "$as_ac_var=yes"
75763 else
75764 echo "$as_me: failed program was:" >&5
75765 sed 's/^/| /' conftest.$ac_ext >&5
75766
75767 eval "$as_ac_var=no"
75768 fi
75769 rm -f conftest.err conftest.$ac_objext \
75770 conftest$ac_exeext conftest.$ac_ext
75771 fi
75772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75774 if test `eval echo '${'$as_ac_var'}'` = yes; then
75775 cat >>confdefs.h <<_ACEOF
75776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75777 _ACEOF
75778
75779 fi
75780 done
75781
75782 else
75783
75784 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75785 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75786 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75787 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75788 echo $ECHO_N "(cached) $ECHO_C" >&6
75789 else
75790
75791
75792
75793 ac_ext=cc
75794 ac_cpp='$CXXCPP $CPPFLAGS'
75795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75798
75799 cat >conftest.$ac_ext <<_ACEOF
75800 /* confdefs.h. */
75801 _ACEOF
75802 cat confdefs.h >>conftest.$ac_ext
75803 cat >>conftest.$ac_ext <<_ACEOF
75804 /* end confdefs.h. */
75805 #include <math.h>
75806 int
75807 main ()
75808 {
75809 _copysignl(0, 0);
75810 ;
75811 return 0;
75812 }
75813 _ACEOF
75814 rm -f conftest.$ac_objext
75815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75816 (eval $ac_compile) 2>conftest.er1
75817 ac_status=$?
75818 grep -v '^ *+' conftest.er1 >conftest.err
75819 rm -f conftest.er1
75820 cat conftest.err >&5
75821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75822 (exit $ac_status); } &&
75823 { ac_try='test -z "$ac_cxx_werror_flag"
75824 || test ! -s conftest.err'
75825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75826 (eval $ac_try) 2>&5
75827 ac_status=$?
75828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75829 (exit $ac_status); }; } &&
75830 { ac_try='test -s conftest.$ac_objext'
75831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75832 (eval $ac_try) 2>&5
75833 ac_status=$?
75834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75835 (exit $ac_status); }; }; then
75836 glibcxx_cv_func__copysignl_use=yes
75837 else
75838 echo "$as_me: failed program was:" >&5
75839 sed 's/^/| /' conftest.$ac_ext >&5
75840
75841 glibcxx_cv_func__copysignl_use=no
75842 fi
75843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75844 ac_ext=c
75845 ac_cpp='$CPP $CPPFLAGS'
75846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75849
75850
75851 fi
75852
75853 fi
75854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75855 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75856
75857 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75858
75859 for ac_func in _copysignl
75860 do
75861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75862 echo "$as_me:$LINENO: checking for $ac_func" >&5
75863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75864 if eval "test \"\${$as_ac_var+set}\" = set"; then
75865 echo $ECHO_N "(cached) $ECHO_C" >&6
75866 else
75867 if test x$gcc_no_link = xyes; then
75868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75870 { (exit 1); exit 1; }; }
75871 fi
75872 cat >conftest.$ac_ext <<_ACEOF
75873 /* confdefs.h. */
75874 _ACEOF
75875 cat confdefs.h >>conftest.$ac_ext
75876 cat >>conftest.$ac_ext <<_ACEOF
75877 /* end confdefs.h. */
75878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75880 #define $ac_func innocuous_$ac_func
75881
75882 /* System header to define __stub macros and hopefully few prototypes,
75883 which can conflict with char $ac_func (); below.
75884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75885 <limits.h> exists even on freestanding compilers. */
75886
75887 #ifdef __STDC__
75888 # include <limits.h>
75889 #else
75890 # include <assert.h>
75891 #endif
75892
75893 #undef $ac_func
75894
75895 /* Override any gcc2 internal prototype to avoid an error. */
75896 #ifdef __cplusplus
75897 extern "C"
75898 {
75899 #endif
75900 /* We use char because int might match the return type of a gcc2
75901 builtin and then its argument prototype would still apply. */
75902 char $ac_func ();
75903 /* The GNU C library defines this for functions which it implements
75904 to always fail with ENOSYS. Some functions are actually named
75905 something starting with __ and the normal name is an alias. */
75906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75907 choke me
75908 #else
75909 char (*f) () = $ac_func;
75910 #endif
75911 #ifdef __cplusplus
75912 }
75913 #endif
75914
75915 int
75916 main ()
75917 {
75918 return f != $ac_func;
75919 ;
75920 return 0;
75921 }
75922 _ACEOF
75923 rm -f conftest.$ac_objext conftest$ac_exeext
75924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75925 (eval $ac_link) 2>conftest.er1
75926 ac_status=$?
75927 grep -v '^ *+' conftest.er1 >conftest.err
75928 rm -f conftest.er1
75929 cat conftest.err >&5
75930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75931 (exit $ac_status); } &&
75932 { ac_try='test -z "$ac_c_werror_flag"
75933 || test ! -s conftest.err'
75934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75935 (eval $ac_try) 2>&5
75936 ac_status=$?
75937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75938 (exit $ac_status); }; } &&
75939 { ac_try='test -s conftest$ac_exeext'
75940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75941 (eval $ac_try) 2>&5
75942 ac_status=$?
75943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75944 (exit $ac_status); }; }; then
75945 eval "$as_ac_var=yes"
75946 else
75947 echo "$as_me: failed program was:" >&5
75948 sed 's/^/| /' conftest.$ac_ext >&5
75949
75950 eval "$as_ac_var=no"
75951 fi
75952 rm -f conftest.err conftest.$ac_objext \
75953 conftest$ac_exeext conftest.$ac_ext
75954 fi
75955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75957 if test `eval echo '${'$as_ac_var'}'` = yes; then
75958 cat >>confdefs.h <<_ACEOF
75959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75960 _ACEOF
75961
75962 fi
75963 done
75964
75965 fi
75966 fi
75967
75968
75969
75970
75971
75972
75973 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75974 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75975 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75976 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75977 echo $ECHO_N "(cached) $ECHO_C" >&6
75978 else
75979
75980
75981
75982 ac_ext=cc
75983 ac_cpp='$CXXCPP $CPPFLAGS'
75984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75987
75988 cat >conftest.$ac_ext <<_ACEOF
75989 /* confdefs.h. */
75990 _ACEOF
75991 cat confdefs.h >>conftest.$ac_ext
75992 cat >>conftest.$ac_ext <<_ACEOF
75993 /* end confdefs.h. */
75994 #include <math.h>
75995 int
75996 main ()
75997 {
75998 atan2l(0, 0);
75999 ;
76000 return 0;
76001 }
76002 _ACEOF
76003 rm -f conftest.$ac_objext
76004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76005 (eval $ac_compile) 2>conftest.er1
76006 ac_status=$?
76007 grep -v '^ *+' conftest.er1 >conftest.err
76008 rm -f conftest.er1
76009 cat conftest.err >&5
76010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76011 (exit $ac_status); } &&
76012 { ac_try='test -z "$ac_cxx_werror_flag"
76013 || test ! -s conftest.err'
76014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76015 (eval $ac_try) 2>&5
76016 ac_status=$?
76017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76018 (exit $ac_status); }; } &&
76019 { ac_try='test -s conftest.$ac_objext'
76020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76021 (eval $ac_try) 2>&5
76022 ac_status=$?
76023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76024 (exit $ac_status); }; }; then
76025 glibcxx_cv_func_atan2l_use=yes
76026 else
76027 echo "$as_me: failed program was:" >&5
76028 sed 's/^/| /' conftest.$ac_ext >&5
76029
76030 glibcxx_cv_func_atan2l_use=no
76031 fi
76032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76033 ac_ext=c
76034 ac_cpp='$CPP $CPPFLAGS'
76035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76038
76039
76040 fi
76041
76042 fi
76043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76044 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76045
76046 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76047
76048 for ac_func in atan2l
76049 do
76050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76051 echo "$as_me:$LINENO: checking for $ac_func" >&5
76052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76053 if eval "test \"\${$as_ac_var+set}\" = set"; then
76054 echo $ECHO_N "(cached) $ECHO_C" >&6
76055 else
76056 if test x$gcc_no_link = xyes; then
76057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76059 { (exit 1); exit 1; }; }
76060 fi
76061 cat >conftest.$ac_ext <<_ACEOF
76062 /* confdefs.h. */
76063 _ACEOF
76064 cat confdefs.h >>conftest.$ac_ext
76065 cat >>conftest.$ac_ext <<_ACEOF
76066 /* end confdefs.h. */
76067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76069 #define $ac_func innocuous_$ac_func
76070
76071 /* System header to define __stub macros and hopefully few prototypes,
76072 which can conflict with char $ac_func (); below.
76073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76074 <limits.h> exists even on freestanding compilers. */
76075
76076 #ifdef __STDC__
76077 # include <limits.h>
76078 #else
76079 # include <assert.h>
76080 #endif
76081
76082 #undef $ac_func
76083
76084 /* Override any gcc2 internal prototype to avoid an error. */
76085 #ifdef __cplusplus
76086 extern "C"
76087 {
76088 #endif
76089 /* We use char because int might match the return type of a gcc2
76090 builtin and then its argument prototype would still apply. */
76091 char $ac_func ();
76092 /* The GNU C library defines this for functions which it implements
76093 to always fail with ENOSYS. Some functions are actually named
76094 something starting with __ and the normal name is an alias. */
76095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76096 choke me
76097 #else
76098 char (*f) () = $ac_func;
76099 #endif
76100 #ifdef __cplusplus
76101 }
76102 #endif
76103
76104 int
76105 main ()
76106 {
76107 return f != $ac_func;
76108 ;
76109 return 0;
76110 }
76111 _ACEOF
76112 rm -f conftest.$ac_objext conftest$ac_exeext
76113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76114 (eval $ac_link) 2>conftest.er1
76115 ac_status=$?
76116 grep -v '^ *+' conftest.er1 >conftest.err
76117 rm -f conftest.er1
76118 cat conftest.err >&5
76119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76120 (exit $ac_status); } &&
76121 { ac_try='test -z "$ac_c_werror_flag"
76122 || test ! -s conftest.err'
76123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76124 (eval $ac_try) 2>&5
76125 ac_status=$?
76126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76127 (exit $ac_status); }; } &&
76128 { ac_try='test -s conftest$ac_exeext'
76129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76130 (eval $ac_try) 2>&5
76131 ac_status=$?
76132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76133 (exit $ac_status); }; }; then
76134 eval "$as_ac_var=yes"
76135 else
76136 echo "$as_me: failed program was:" >&5
76137 sed 's/^/| /' conftest.$ac_ext >&5
76138
76139 eval "$as_ac_var=no"
76140 fi
76141 rm -f conftest.err conftest.$ac_objext \
76142 conftest$ac_exeext conftest.$ac_ext
76143 fi
76144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76146 if test `eval echo '${'$as_ac_var'}'` = yes; then
76147 cat >>confdefs.h <<_ACEOF
76148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76149 _ACEOF
76150
76151 fi
76152 done
76153
76154 else
76155
76156 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76157 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76158 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76159 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76160 echo $ECHO_N "(cached) $ECHO_C" >&6
76161 else
76162
76163
76164
76165 ac_ext=cc
76166 ac_cpp='$CXXCPP $CPPFLAGS'
76167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76170
76171 cat >conftest.$ac_ext <<_ACEOF
76172 /* confdefs.h. */
76173 _ACEOF
76174 cat confdefs.h >>conftest.$ac_ext
76175 cat >>conftest.$ac_ext <<_ACEOF
76176 /* end confdefs.h. */
76177 #include <math.h>
76178 int
76179 main ()
76180 {
76181 _atan2l(0, 0);
76182 ;
76183 return 0;
76184 }
76185 _ACEOF
76186 rm -f conftest.$ac_objext
76187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76188 (eval $ac_compile) 2>conftest.er1
76189 ac_status=$?
76190 grep -v '^ *+' conftest.er1 >conftest.err
76191 rm -f conftest.er1
76192 cat conftest.err >&5
76193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76194 (exit $ac_status); } &&
76195 { ac_try='test -z "$ac_cxx_werror_flag"
76196 || test ! -s conftest.err'
76197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76198 (eval $ac_try) 2>&5
76199 ac_status=$?
76200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76201 (exit $ac_status); }; } &&
76202 { ac_try='test -s conftest.$ac_objext'
76203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76204 (eval $ac_try) 2>&5
76205 ac_status=$?
76206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76207 (exit $ac_status); }; }; then
76208 glibcxx_cv_func__atan2l_use=yes
76209 else
76210 echo "$as_me: failed program was:" >&5
76211 sed 's/^/| /' conftest.$ac_ext >&5
76212
76213 glibcxx_cv_func__atan2l_use=no
76214 fi
76215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76216 ac_ext=c
76217 ac_cpp='$CPP $CPPFLAGS'
76218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76221
76222
76223 fi
76224
76225 fi
76226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76227 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76228
76229 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76230
76231 for ac_func in _atan2l
76232 do
76233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76234 echo "$as_me:$LINENO: checking for $ac_func" >&5
76235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76236 if eval "test \"\${$as_ac_var+set}\" = set"; then
76237 echo $ECHO_N "(cached) $ECHO_C" >&6
76238 else
76239 if test x$gcc_no_link = xyes; then
76240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76242 { (exit 1); exit 1; }; }
76243 fi
76244 cat >conftest.$ac_ext <<_ACEOF
76245 /* confdefs.h. */
76246 _ACEOF
76247 cat confdefs.h >>conftest.$ac_ext
76248 cat >>conftest.$ac_ext <<_ACEOF
76249 /* end confdefs.h. */
76250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76252 #define $ac_func innocuous_$ac_func
76253
76254 /* System header to define __stub macros and hopefully few prototypes,
76255 which can conflict with char $ac_func (); below.
76256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76257 <limits.h> exists even on freestanding compilers. */
76258
76259 #ifdef __STDC__
76260 # include <limits.h>
76261 #else
76262 # include <assert.h>
76263 #endif
76264
76265 #undef $ac_func
76266
76267 /* Override any gcc2 internal prototype to avoid an error. */
76268 #ifdef __cplusplus
76269 extern "C"
76270 {
76271 #endif
76272 /* We use char because int might match the return type of a gcc2
76273 builtin and then its argument prototype would still apply. */
76274 char $ac_func ();
76275 /* The GNU C library defines this for functions which it implements
76276 to always fail with ENOSYS. Some functions are actually named
76277 something starting with __ and the normal name is an alias. */
76278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76279 choke me
76280 #else
76281 char (*f) () = $ac_func;
76282 #endif
76283 #ifdef __cplusplus
76284 }
76285 #endif
76286
76287 int
76288 main ()
76289 {
76290 return f != $ac_func;
76291 ;
76292 return 0;
76293 }
76294 _ACEOF
76295 rm -f conftest.$ac_objext conftest$ac_exeext
76296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76297 (eval $ac_link) 2>conftest.er1
76298 ac_status=$?
76299 grep -v '^ *+' conftest.er1 >conftest.err
76300 rm -f conftest.er1
76301 cat conftest.err >&5
76302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76303 (exit $ac_status); } &&
76304 { ac_try='test -z "$ac_c_werror_flag"
76305 || test ! -s conftest.err'
76306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76307 (eval $ac_try) 2>&5
76308 ac_status=$?
76309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310 (exit $ac_status); }; } &&
76311 { ac_try='test -s conftest$ac_exeext'
76312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76313 (eval $ac_try) 2>&5
76314 ac_status=$?
76315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76316 (exit $ac_status); }; }; then
76317 eval "$as_ac_var=yes"
76318 else
76319 echo "$as_me: failed program was:" >&5
76320 sed 's/^/| /' conftest.$ac_ext >&5
76321
76322 eval "$as_ac_var=no"
76323 fi
76324 rm -f conftest.err conftest.$ac_objext \
76325 conftest$ac_exeext conftest.$ac_ext
76326 fi
76327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76329 if test `eval echo '${'$as_ac_var'}'` = yes; then
76330 cat >>confdefs.h <<_ACEOF
76331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76332 _ACEOF
76333
76334 fi
76335 done
76336
76337 fi
76338 fi
76339
76340
76341
76342
76343
76344
76345 echo "$as_me:$LINENO: checking for expl declaration" >&5
76346 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76347 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76348 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76349 echo $ECHO_N "(cached) $ECHO_C" >&6
76350 else
76351
76352
76353
76354 ac_ext=cc
76355 ac_cpp='$CXXCPP $CPPFLAGS'
76356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76359
76360 cat >conftest.$ac_ext <<_ACEOF
76361 /* confdefs.h. */
76362 _ACEOF
76363 cat confdefs.h >>conftest.$ac_ext
76364 cat >>conftest.$ac_ext <<_ACEOF
76365 /* end confdefs.h. */
76366 #include <math.h>
76367 #ifdef HAVE_IEEEFP_H
76368 #include <ieeefp.h>
76369 #endif
76370
76371 int
76372 main ()
76373 {
76374 expl(0);
76375 ;
76376 return 0;
76377 }
76378 _ACEOF
76379 rm -f conftest.$ac_objext
76380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76381 (eval $ac_compile) 2>conftest.er1
76382 ac_status=$?
76383 grep -v '^ *+' conftest.er1 >conftest.err
76384 rm -f conftest.er1
76385 cat conftest.err >&5
76386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76387 (exit $ac_status); } &&
76388 { ac_try='test -z "$ac_cxx_werror_flag"
76389 || test ! -s conftest.err'
76390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76391 (eval $ac_try) 2>&5
76392 ac_status=$?
76393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76394 (exit $ac_status); }; } &&
76395 { ac_try='test -s conftest.$ac_objext'
76396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76397 (eval $ac_try) 2>&5
76398 ac_status=$?
76399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76400 (exit $ac_status); }; }; then
76401 glibcxx_cv_func_expl_use=yes
76402 else
76403 echo "$as_me: failed program was:" >&5
76404 sed 's/^/| /' conftest.$ac_ext >&5
76405
76406 glibcxx_cv_func_expl_use=no
76407 fi
76408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76409 ac_ext=c
76410 ac_cpp='$CPP $CPPFLAGS'
76411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76414
76415
76416 fi
76417
76418 fi
76419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76420 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76421
76422 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76423
76424 for ac_func in expl
76425 do
76426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76427 echo "$as_me:$LINENO: checking for $ac_func" >&5
76428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76429 if eval "test \"\${$as_ac_var+set}\" = set"; then
76430 echo $ECHO_N "(cached) $ECHO_C" >&6
76431 else
76432 if test x$gcc_no_link = xyes; then
76433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76435 { (exit 1); exit 1; }; }
76436 fi
76437 cat >conftest.$ac_ext <<_ACEOF
76438 /* confdefs.h. */
76439 _ACEOF
76440 cat confdefs.h >>conftest.$ac_ext
76441 cat >>conftest.$ac_ext <<_ACEOF
76442 /* end confdefs.h. */
76443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76445 #define $ac_func innocuous_$ac_func
76446
76447 /* System header to define __stub macros and hopefully few prototypes,
76448 which can conflict with char $ac_func (); below.
76449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76450 <limits.h> exists even on freestanding compilers. */
76451
76452 #ifdef __STDC__
76453 # include <limits.h>
76454 #else
76455 # include <assert.h>
76456 #endif
76457
76458 #undef $ac_func
76459
76460 /* Override any gcc2 internal prototype to avoid an error. */
76461 #ifdef __cplusplus
76462 extern "C"
76463 {
76464 #endif
76465 /* We use char because int might match the return type of a gcc2
76466 builtin and then its argument prototype would still apply. */
76467 char $ac_func ();
76468 /* The GNU C library defines this for functions which it implements
76469 to always fail with ENOSYS. Some functions are actually named
76470 something starting with __ and the normal name is an alias. */
76471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76472 choke me
76473 #else
76474 char (*f) () = $ac_func;
76475 #endif
76476 #ifdef __cplusplus
76477 }
76478 #endif
76479
76480 int
76481 main ()
76482 {
76483 return f != $ac_func;
76484 ;
76485 return 0;
76486 }
76487 _ACEOF
76488 rm -f conftest.$ac_objext conftest$ac_exeext
76489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76490 (eval $ac_link) 2>conftest.er1
76491 ac_status=$?
76492 grep -v '^ *+' conftest.er1 >conftest.err
76493 rm -f conftest.er1
76494 cat conftest.err >&5
76495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76496 (exit $ac_status); } &&
76497 { ac_try='test -z "$ac_c_werror_flag"
76498 || test ! -s conftest.err'
76499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76500 (eval $ac_try) 2>&5
76501 ac_status=$?
76502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76503 (exit $ac_status); }; } &&
76504 { ac_try='test -s conftest$ac_exeext'
76505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76506 (eval $ac_try) 2>&5
76507 ac_status=$?
76508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76509 (exit $ac_status); }; }; then
76510 eval "$as_ac_var=yes"
76511 else
76512 echo "$as_me: failed program was:" >&5
76513 sed 's/^/| /' conftest.$ac_ext >&5
76514
76515 eval "$as_ac_var=no"
76516 fi
76517 rm -f conftest.err conftest.$ac_objext \
76518 conftest$ac_exeext conftest.$ac_ext
76519 fi
76520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76522 if test `eval echo '${'$as_ac_var'}'` = yes; then
76523 cat >>confdefs.h <<_ACEOF
76524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76525 _ACEOF
76526
76527 fi
76528 done
76529
76530 else
76531
76532 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76533 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76534 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76535 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76536 echo $ECHO_N "(cached) $ECHO_C" >&6
76537 else
76538
76539
76540
76541 ac_ext=cc
76542 ac_cpp='$CXXCPP $CPPFLAGS'
76543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76546
76547 cat >conftest.$ac_ext <<_ACEOF
76548 /* confdefs.h. */
76549 _ACEOF
76550 cat confdefs.h >>conftest.$ac_ext
76551 cat >>conftest.$ac_ext <<_ACEOF
76552 /* end confdefs.h. */
76553 #include <math.h>
76554 #ifdef HAVE_IEEEFP_H
76555 #include <ieeefp.h>
76556 #endif
76557
76558 int
76559 main ()
76560 {
76561 _expl(0);
76562 ;
76563 return 0;
76564 }
76565 _ACEOF
76566 rm -f conftest.$ac_objext
76567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76568 (eval $ac_compile) 2>conftest.er1
76569 ac_status=$?
76570 grep -v '^ *+' conftest.er1 >conftest.err
76571 rm -f conftest.er1
76572 cat conftest.err >&5
76573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76574 (exit $ac_status); } &&
76575 { ac_try='test -z "$ac_cxx_werror_flag"
76576 || test ! -s conftest.err'
76577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76578 (eval $ac_try) 2>&5
76579 ac_status=$?
76580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76581 (exit $ac_status); }; } &&
76582 { ac_try='test -s conftest.$ac_objext'
76583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76584 (eval $ac_try) 2>&5
76585 ac_status=$?
76586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76587 (exit $ac_status); }; }; then
76588 glibcxx_cv_func__expl_use=yes
76589 else
76590 echo "$as_me: failed program was:" >&5
76591 sed 's/^/| /' conftest.$ac_ext >&5
76592
76593 glibcxx_cv_func__expl_use=no
76594 fi
76595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76596 ac_ext=c
76597 ac_cpp='$CPP $CPPFLAGS'
76598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76601
76602
76603 fi
76604
76605 fi
76606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76607 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76608
76609 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76610
76611 for ac_func in _expl
76612 do
76613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76614 echo "$as_me:$LINENO: checking for $ac_func" >&5
76615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76616 if eval "test \"\${$as_ac_var+set}\" = set"; then
76617 echo $ECHO_N "(cached) $ECHO_C" >&6
76618 else
76619 if test x$gcc_no_link = xyes; then
76620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76622 { (exit 1); exit 1; }; }
76623 fi
76624 cat >conftest.$ac_ext <<_ACEOF
76625 /* confdefs.h. */
76626 _ACEOF
76627 cat confdefs.h >>conftest.$ac_ext
76628 cat >>conftest.$ac_ext <<_ACEOF
76629 /* end confdefs.h. */
76630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76632 #define $ac_func innocuous_$ac_func
76633
76634 /* System header to define __stub macros and hopefully few prototypes,
76635 which can conflict with char $ac_func (); below.
76636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76637 <limits.h> exists even on freestanding compilers. */
76638
76639 #ifdef __STDC__
76640 # include <limits.h>
76641 #else
76642 # include <assert.h>
76643 #endif
76644
76645 #undef $ac_func
76646
76647 /* Override any gcc2 internal prototype to avoid an error. */
76648 #ifdef __cplusplus
76649 extern "C"
76650 {
76651 #endif
76652 /* We use char because int might match the return type of a gcc2
76653 builtin and then its argument prototype would still apply. */
76654 char $ac_func ();
76655 /* The GNU C library defines this for functions which it implements
76656 to always fail with ENOSYS. Some functions are actually named
76657 something starting with __ and the normal name is an alias. */
76658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76659 choke me
76660 #else
76661 char (*f) () = $ac_func;
76662 #endif
76663 #ifdef __cplusplus
76664 }
76665 #endif
76666
76667 int
76668 main ()
76669 {
76670 return f != $ac_func;
76671 ;
76672 return 0;
76673 }
76674 _ACEOF
76675 rm -f conftest.$ac_objext conftest$ac_exeext
76676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76677 (eval $ac_link) 2>conftest.er1
76678 ac_status=$?
76679 grep -v '^ *+' conftest.er1 >conftest.err
76680 rm -f conftest.er1
76681 cat conftest.err >&5
76682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76683 (exit $ac_status); } &&
76684 { ac_try='test -z "$ac_c_werror_flag"
76685 || test ! -s conftest.err'
76686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76687 (eval $ac_try) 2>&5
76688 ac_status=$?
76689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76690 (exit $ac_status); }; } &&
76691 { ac_try='test -s conftest$ac_exeext'
76692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76693 (eval $ac_try) 2>&5
76694 ac_status=$?
76695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76696 (exit $ac_status); }; }; then
76697 eval "$as_ac_var=yes"
76698 else
76699 echo "$as_me: failed program was:" >&5
76700 sed 's/^/| /' conftest.$ac_ext >&5
76701
76702 eval "$as_ac_var=no"
76703 fi
76704 rm -f conftest.err conftest.$ac_objext \
76705 conftest$ac_exeext conftest.$ac_ext
76706 fi
76707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76709 if test `eval echo '${'$as_ac_var'}'` = yes; then
76710 cat >>confdefs.h <<_ACEOF
76711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76712 _ACEOF
76713
76714 fi
76715 done
76716
76717 fi
76718 fi
76719
76720
76721
76722
76723
76724
76725 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76726 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76727 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76728 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76729 echo $ECHO_N "(cached) $ECHO_C" >&6
76730 else
76731
76732
76733
76734 ac_ext=cc
76735 ac_cpp='$CXXCPP $CPPFLAGS'
76736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76739
76740 cat >conftest.$ac_ext <<_ACEOF
76741 /* confdefs.h. */
76742 _ACEOF
76743 cat confdefs.h >>conftest.$ac_ext
76744 cat >>conftest.$ac_ext <<_ACEOF
76745 /* end confdefs.h. */
76746 #include <math.h>
76747 #ifdef HAVE_IEEEFP_H
76748 #include <ieeefp.h>
76749 #endif
76750
76751 int
76752 main ()
76753 {
76754 fabsl(0);
76755 ;
76756 return 0;
76757 }
76758 _ACEOF
76759 rm -f conftest.$ac_objext
76760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76761 (eval $ac_compile) 2>conftest.er1
76762 ac_status=$?
76763 grep -v '^ *+' conftest.er1 >conftest.err
76764 rm -f conftest.er1
76765 cat conftest.err >&5
76766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76767 (exit $ac_status); } &&
76768 { ac_try='test -z "$ac_cxx_werror_flag"
76769 || test ! -s conftest.err'
76770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76771 (eval $ac_try) 2>&5
76772 ac_status=$?
76773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76774 (exit $ac_status); }; } &&
76775 { ac_try='test -s conftest.$ac_objext'
76776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76777 (eval $ac_try) 2>&5
76778 ac_status=$?
76779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780 (exit $ac_status); }; }; then
76781 glibcxx_cv_func_fabsl_use=yes
76782 else
76783 echo "$as_me: failed program was:" >&5
76784 sed 's/^/| /' conftest.$ac_ext >&5
76785
76786 glibcxx_cv_func_fabsl_use=no
76787 fi
76788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76789 ac_ext=c
76790 ac_cpp='$CPP $CPPFLAGS'
76791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76794
76795
76796 fi
76797
76798 fi
76799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76800 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76801
76802 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76803
76804 for ac_func in fabsl
76805 do
76806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76807 echo "$as_me:$LINENO: checking for $ac_func" >&5
76808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76809 if eval "test \"\${$as_ac_var+set}\" = set"; then
76810 echo $ECHO_N "(cached) $ECHO_C" >&6
76811 else
76812 if test x$gcc_no_link = xyes; then
76813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76815 { (exit 1); exit 1; }; }
76816 fi
76817 cat >conftest.$ac_ext <<_ACEOF
76818 /* confdefs.h. */
76819 _ACEOF
76820 cat confdefs.h >>conftest.$ac_ext
76821 cat >>conftest.$ac_ext <<_ACEOF
76822 /* end confdefs.h. */
76823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76825 #define $ac_func innocuous_$ac_func
76826
76827 /* System header to define __stub macros and hopefully few prototypes,
76828 which can conflict with char $ac_func (); below.
76829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76830 <limits.h> exists even on freestanding compilers. */
76831
76832 #ifdef __STDC__
76833 # include <limits.h>
76834 #else
76835 # include <assert.h>
76836 #endif
76837
76838 #undef $ac_func
76839
76840 /* Override any gcc2 internal prototype to avoid an error. */
76841 #ifdef __cplusplus
76842 extern "C"
76843 {
76844 #endif
76845 /* We use char because int might match the return type of a gcc2
76846 builtin and then its argument prototype would still apply. */
76847 char $ac_func ();
76848 /* The GNU C library defines this for functions which it implements
76849 to always fail with ENOSYS. Some functions are actually named
76850 something starting with __ and the normal name is an alias. */
76851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76852 choke me
76853 #else
76854 char (*f) () = $ac_func;
76855 #endif
76856 #ifdef __cplusplus
76857 }
76858 #endif
76859
76860 int
76861 main ()
76862 {
76863 return f != $ac_func;
76864 ;
76865 return 0;
76866 }
76867 _ACEOF
76868 rm -f conftest.$ac_objext conftest$ac_exeext
76869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76870 (eval $ac_link) 2>conftest.er1
76871 ac_status=$?
76872 grep -v '^ *+' conftest.er1 >conftest.err
76873 rm -f conftest.er1
76874 cat conftest.err >&5
76875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76876 (exit $ac_status); } &&
76877 { ac_try='test -z "$ac_c_werror_flag"
76878 || test ! -s conftest.err'
76879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76880 (eval $ac_try) 2>&5
76881 ac_status=$?
76882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76883 (exit $ac_status); }; } &&
76884 { ac_try='test -s conftest$ac_exeext'
76885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76886 (eval $ac_try) 2>&5
76887 ac_status=$?
76888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76889 (exit $ac_status); }; }; then
76890 eval "$as_ac_var=yes"
76891 else
76892 echo "$as_me: failed program was:" >&5
76893 sed 's/^/| /' conftest.$ac_ext >&5
76894
76895 eval "$as_ac_var=no"
76896 fi
76897 rm -f conftest.err conftest.$ac_objext \
76898 conftest$ac_exeext conftest.$ac_ext
76899 fi
76900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76902 if test `eval echo '${'$as_ac_var'}'` = yes; then
76903 cat >>confdefs.h <<_ACEOF
76904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76905 _ACEOF
76906
76907 fi
76908 done
76909
76910 else
76911
76912 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76913 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76914 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76915 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76916 echo $ECHO_N "(cached) $ECHO_C" >&6
76917 else
76918
76919
76920
76921 ac_ext=cc
76922 ac_cpp='$CXXCPP $CPPFLAGS'
76923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76926
76927 cat >conftest.$ac_ext <<_ACEOF
76928 /* confdefs.h. */
76929 _ACEOF
76930 cat confdefs.h >>conftest.$ac_ext
76931 cat >>conftest.$ac_ext <<_ACEOF
76932 /* end confdefs.h. */
76933 #include <math.h>
76934 #ifdef HAVE_IEEEFP_H
76935 #include <ieeefp.h>
76936 #endif
76937
76938 int
76939 main ()
76940 {
76941 _fabsl(0);
76942 ;
76943 return 0;
76944 }
76945 _ACEOF
76946 rm -f conftest.$ac_objext
76947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76948 (eval $ac_compile) 2>conftest.er1
76949 ac_status=$?
76950 grep -v '^ *+' conftest.er1 >conftest.err
76951 rm -f conftest.er1
76952 cat conftest.err >&5
76953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76954 (exit $ac_status); } &&
76955 { ac_try='test -z "$ac_cxx_werror_flag"
76956 || test ! -s conftest.err'
76957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76958 (eval $ac_try) 2>&5
76959 ac_status=$?
76960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76961 (exit $ac_status); }; } &&
76962 { ac_try='test -s conftest.$ac_objext'
76963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76964 (eval $ac_try) 2>&5
76965 ac_status=$?
76966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76967 (exit $ac_status); }; }; then
76968 glibcxx_cv_func__fabsl_use=yes
76969 else
76970 echo "$as_me: failed program was:" >&5
76971 sed 's/^/| /' conftest.$ac_ext >&5
76972
76973 glibcxx_cv_func__fabsl_use=no
76974 fi
76975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76976 ac_ext=c
76977 ac_cpp='$CPP $CPPFLAGS'
76978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76981
76982
76983 fi
76984
76985 fi
76986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76987 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
76988
76989 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76990
76991 for ac_func in _fabsl
76992 do
76993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76994 echo "$as_me:$LINENO: checking for $ac_func" >&5
76995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76996 if eval "test \"\${$as_ac_var+set}\" = set"; then
76997 echo $ECHO_N "(cached) $ECHO_C" >&6
76998 else
76999 if test x$gcc_no_link = xyes; then
77000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77002 { (exit 1); exit 1; }; }
77003 fi
77004 cat >conftest.$ac_ext <<_ACEOF
77005 /* confdefs.h. */
77006 _ACEOF
77007 cat confdefs.h >>conftest.$ac_ext
77008 cat >>conftest.$ac_ext <<_ACEOF
77009 /* end confdefs.h. */
77010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77012 #define $ac_func innocuous_$ac_func
77013
77014 /* System header to define __stub macros and hopefully few prototypes,
77015 which can conflict with char $ac_func (); below.
77016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77017 <limits.h> exists even on freestanding compilers. */
77018
77019 #ifdef __STDC__
77020 # include <limits.h>
77021 #else
77022 # include <assert.h>
77023 #endif
77024
77025 #undef $ac_func
77026
77027 /* Override any gcc2 internal prototype to avoid an error. */
77028 #ifdef __cplusplus
77029 extern "C"
77030 {
77031 #endif
77032 /* We use char because int might match the return type of a gcc2
77033 builtin and then its argument prototype would still apply. */
77034 char $ac_func ();
77035 /* The GNU C library defines this for functions which it implements
77036 to always fail with ENOSYS. Some functions are actually named
77037 something starting with __ and the normal name is an alias. */
77038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77039 choke me
77040 #else
77041 char (*f) () = $ac_func;
77042 #endif
77043 #ifdef __cplusplus
77044 }
77045 #endif
77046
77047 int
77048 main ()
77049 {
77050 return f != $ac_func;
77051 ;
77052 return 0;
77053 }
77054 _ACEOF
77055 rm -f conftest.$ac_objext conftest$ac_exeext
77056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77057 (eval $ac_link) 2>conftest.er1
77058 ac_status=$?
77059 grep -v '^ *+' conftest.er1 >conftest.err
77060 rm -f conftest.er1
77061 cat conftest.err >&5
77062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77063 (exit $ac_status); } &&
77064 { ac_try='test -z "$ac_c_werror_flag"
77065 || test ! -s conftest.err'
77066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77067 (eval $ac_try) 2>&5
77068 ac_status=$?
77069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77070 (exit $ac_status); }; } &&
77071 { ac_try='test -s conftest$ac_exeext'
77072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77073 (eval $ac_try) 2>&5
77074 ac_status=$?
77075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77076 (exit $ac_status); }; }; then
77077 eval "$as_ac_var=yes"
77078 else
77079 echo "$as_me: failed program was:" >&5
77080 sed 's/^/| /' conftest.$ac_ext >&5
77081
77082 eval "$as_ac_var=no"
77083 fi
77084 rm -f conftest.err conftest.$ac_objext \
77085 conftest$ac_exeext conftest.$ac_ext
77086 fi
77087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77089 if test `eval echo '${'$as_ac_var'}'` = yes; then
77090 cat >>confdefs.h <<_ACEOF
77091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77092 _ACEOF
77093
77094 fi
77095 done
77096
77097 fi
77098 fi
77099
77100
77101
77102
77103
77104
77105 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77106 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77107 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77108 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77109 echo $ECHO_N "(cached) $ECHO_C" >&6
77110 else
77111
77112
77113
77114 ac_ext=cc
77115 ac_cpp='$CXXCPP $CPPFLAGS'
77116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77119
77120 cat >conftest.$ac_ext <<_ACEOF
77121 /* confdefs.h. */
77122 _ACEOF
77123 cat confdefs.h >>conftest.$ac_ext
77124 cat >>conftest.$ac_ext <<_ACEOF
77125 /* end confdefs.h. */
77126 #include <math.h>
77127 int
77128 main ()
77129 {
77130 fmodl(0, 0);
77131 ;
77132 return 0;
77133 }
77134 _ACEOF
77135 rm -f conftest.$ac_objext
77136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77137 (eval $ac_compile) 2>conftest.er1
77138 ac_status=$?
77139 grep -v '^ *+' conftest.er1 >conftest.err
77140 rm -f conftest.er1
77141 cat conftest.err >&5
77142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77143 (exit $ac_status); } &&
77144 { ac_try='test -z "$ac_cxx_werror_flag"
77145 || test ! -s conftest.err'
77146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77147 (eval $ac_try) 2>&5
77148 ac_status=$?
77149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77150 (exit $ac_status); }; } &&
77151 { ac_try='test -s conftest.$ac_objext'
77152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77153 (eval $ac_try) 2>&5
77154 ac_status=$?
77155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77156 (exit $ac_status); }; }; then
77157 glibcxx_cv_func_fmodl_use=yes
77158 else
77159 echo "$as_me: failed program was:" >&5
77160 sed 's/^/| /' conftest.$ac_ext >&5
77161
77162 glibcxx_cv_func_fmodl_use=no
77163 fi
77164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77165 ac_ext=c
77166 ac_cpp='$CPP $CPPFLAGS'
77167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77170
77171
77172 fi
77173
77174 fi
77175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77176 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77177
77178 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77179
77180 for ac_func in fmodl
77181 do
77182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77183 echo "$as_me:$LINENO: checking for $ac_func" >&5
77184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77185 if eval "test \"\${$as_ac_var+set}\" = set"; then
77186 echo $ECHO_N "(cached) $ECHO_C" >&6
77187 else
77188 if test x$gcc_no_link = xyes; then
77189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77191 { (exit 1); exit 1; }; }
77192 fi
77193 cat >conftest.$ac_ext <<_ACEOF
77194 /* confdefs.h. */
77195 _ACEOF
77196 cat confdefs.h >>conftest.$ac_ext
77197 cat >>conftest.$ac_ext <<_ACEOF
77198 /* end confdefs.h. */
77199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77201 #define $ac_func innocuous_$ac_func
77202
77203 /* System header to define __stub macros and hopefully few prototypes,
77204 which can conflict with char $ac_func (); below.
77205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77206 <limits.h> exists even on freestanding compilers. */
77207
77208 #ifdef __STDC__
77209 # include <limits.h>
77210 #else
77211 # include <assert.h>
77212 #endif
77213
77214 #undef $ac_func
77215
77216 /* Override any gcc2 internal prototype to avoid an error. */
77217 #ifdef __cplusplus
77218 extern "C"
77219 {
77220 #endif
77221 /* We use char because int might match the return type of a gcc2
77222 builtin and then its argument prototype would still apply. */
77223 char $ac_func ();
77224 /* The GNU C library defines this for functions which it implements
77225 to always fail with ENOSYS. Some functions are actually named
77226 something starting with __ and the normal name is an alias. */
77227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77228 choke me
77229 #else
77230 char (*f) () = $ac_func;
77231 #endif
77232 #ifdef __cplusplus
77233 }
77234 #endif
77235
77236 int
77237 main ()
77238 {
77239 return f != $ac_func;
77240 ;
77241 return 0;
77242 }
77243 _ACEOF
77244 rm -f conftest.$ac_objext conftest$ac_exeext
77245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77246 (eval $ac_link) 2>conftest.er1
77247 ac_status=$?
77248 grep -v '^ *+' conftest.er1 >conftest.err
77249 rm -f conftest.er1
77250 cat conftest.err >&5
77251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77252 (exit $ac_status); } &&
77253 { ac_try='test -z "$ac_c_werror_flag"
77254 || test ! -s conftest.err'
77255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77256 (eval $ac_try) 2>&5
77257 ac_status=$?
77258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77259 (exit $ac_status); }; } &&
77260 { ac_try='test -s conftest$ac_exeext'
77261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77262 (eval $ac_try) 2>&5
77263 ac_status=$?
77264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77265 (exit $ac_status); }; }; then
77266 eval "$as_ac_var=yes"
77267 else
77268 echo "$as_me: failed program was:" >&5
77269 sed 's/^/| /' conftest.$ac_ext >&5
77270
77271 eval "$as_ac_var=no"
77272 fi
77273 rm -f conftest.err conftest.$ac_objext \
77274 conftest$ac_exeext conftest.$ac_ext
77275 fi
77276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77278 if test `eval echo '${'$as_ac_var'}'` = yes; then
77279 cat >>confdefs.h <<_ACEOF
77280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77281 _ACEOF
77282
77283 fi
77284 done
77285
77286 else
77287
77288 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77289 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77290 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77291 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77292 echo $ECHO_N "(cached) $ECHO_C" >&6
77293 else
77294
77295
77296
77297 ac_ext=cc
77298 ac_cpp='$CXXCPP $CPPFLAGS'
77299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77302
77303 cat >conftest.$ac_ext <<_ACEOF
77304 /* confdefs.h. */
77305 _ACEOF
77306 cat confdefs.h >>conftest.$ac_ext
77307 cat >>conftest.$ac_ext <<_ACEOF
77308 /* end confdefs.h. */
77309 #include <math.h>
77310 int
77311 main ()
77312 {
77313 _fmodl(0, 0);
77314 ;
77315 return 0;
77316 }
77317 _ACEOF
77318 rm -f conftest.$ac_objext
77319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77320 (eval $ac_compile) 2>conftest.er1
77321 ac_status=$?
77322 grep -v '^ *+' conftest.er1 >conftest.err
77323 rm -f conftest.er1
77324 cat conftest.err >&5
77325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77326 (exit $ac_status); } &&
77327 { ac_try='test -z "$ac_cxx_werror_flag"
77328 || test ! -s conftest.err'
77329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77330 (eval $ac_try) 2>&5
77331 ac_status=$?
77332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77333 (exit $ac_status); }; } &&
77334 { ac_try='test -s conftest.$ac_objext'
77335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77336 (eval $ac_try) 2>&5
77337 ac_status=$?
77338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77339 (exit $ac_status); }; }; then
77340 glibcxx_cv_func__fmodl_use=yes
77341 else
77342 echo "$as_me: failed program was:" >&5
77343 sed 's/^/| /' conftest.$ac_ext >&5
77344
77345 glibcxx_cv_func__fmodl_use=no
77346 fi
77347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77348 ac_ext=c
77349 ac_cpp='$CPP $CPPFLAGS'
77350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77353
77354
77355 fi
77356
77357 fi
77358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77359 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77360
77361 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77362
77363 for ac_func in _fmodl
77364 do
77365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77366 echo "$as_me:$LINENO: checking for $ac_func" >&5
77367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77368 if eval "test \"\${$as_ac_var+set}\" = set"; then
77369 echo $ECHO_N "(cached) $ECHO_C" >&6
77370 else
77371 if test x$gcc_no_link = xyes; then
77372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77374 { (exit 1); exit 1; }; }
77375 fi
77376 cat >conftest.$ac_ext <<_ACEOF
77377 /* confdefs.h. */
77378 _ACEOF
77379 cat confdefs.h >>conftest.$ac_ext
77380 cat >>conftest.$ac_ext <<_ACEOF
77381 /* end confdefs.h. */
77382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77384 #define $ac_func innocuous_$ac_func
77385
77386 /* System header to define __stub macros and hopefully few prototypes,
77387 which can conflict with char $ac_func (); below.
77388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77389 <limits.h> exists even on freestanding compilers. */
77390
77391 #ifdef __STDC__
77392 # include <limits.h>
77393 #else
77394 # include <assert.h>
77395 #endif
77396
77397 #undef $ac_func
77398
77399 /* Override any gcc2 internal prototype to avoid an error. */
77400 #ifdef __cplusplus
77401 extern "C"
77402 {
77403 #endif
77404 /* We use char because int might match the return type of a gcc2
77405 builtin and then its argument prototype would still apply. */
77406 char $ac_func ();
77407 /* The GNU C library defines this for functions which it implements
77408 to always fail with ENOSYS. Some functions are actually named
77409 something starting with __ and the normal name is an alias. */
77410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77411 choke me
77412 #else
77413 char (*f) () = $ac_func;
77414 #endif
77415 #ifdef __cplusplus
77416 }
77417 #endif
77418
77419 int
77420 main ()
77421 {
77422 return f != $ac_func;
77423 ;
77424 return 0;
77425 }
77426 _ACEOF
77427 rm -f conftest.$ac_objext conftest$ac_exeext
77428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77429 (eval $ac_link) 2>conftest.er1
77430 ac_status=$?
77431 grep -v '^ *+' conftest.er1 >conftest.err
77432 rm -f conftest.er1
77433 cat conftest.err >&5
77434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77435 (exit $ac_status); } &&
77436 { ac_try='test -z "$ac_c_werror_flag"
77437 || test ! -s conftest.err'
77438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77439 (eval $ac_try) 2>&5
77440 ac_status=$?
77441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77442 (exit $ac_status); }; } &&
77443 { ac_try='test -s conftest$ac_exeext'
77444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77445 (eval $ac_try) 2>&5
77446 ac_status=$?
77447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77448 (exit $ac_status); }; }; then
77449 eval "$as_ac_var=yes"
77450 else
77451 echo "$as_me: failed program was:" >&5
77452 sed 's/^/| /' conftest.$ac_ext >&5
77453
77454 eval "$as_ac_var=no"
77455 fi
77456 rm -f conftest.err conftest.$ac_objext \
77457 conftest$ac_exeext conftest.$ac_ext
77458 fi
77459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77461 if test `eval echo '${'$as_ac_var'}'` = yes; then
77462 cat >>confdefs.h <<_ACEOF
77463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77464 _ACEOF
77465
77466 fi
77467 done
77468
77469 fi
77470 fi
77471
77472
77473
77474
77475
77476
77477 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77478 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77479 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77480 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77481 echo $ECHO_N "(cached) $ECHO_C" >&6
77482 else
77483
77484
77485
77486 ac_ext=cc
77487 ac_cpp='$CXXCPP $CPPFLAGS'
77488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77491
77492 cat >conftest.$ac_ext <<_ACEOF
77493 /* confdefs.h. */
77494 _ACEOF
77495 cat confdefs.h >>conftest.$ac_ext
77496 cat >>conftest.$ac_ext <<_ACEOF
77497 /* end confdefs.h. */
77498 #include <math.h>
77499 int
77500 main ()
77501 {
77502 frexpl(0, 0);
77503 ;
77504 return 0;
77505 }
77506 _ACEOF
77507 rm -f conftest.$ac_objext
77508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77509 (eval $ac_compile) 2>conftest.er1
77510 ac_status=$?
77511 grep -v '^ *+' conftest.er1 >conftest.err
77512 rm -f conftest.er1
77513 cat conftest.err >&5
77514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77515 (exit $ac_status); } &&
77516 { ac_try='test -z "$ac_cxx_werror_flag"
77517 || test ! -s conftest.err'
77518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77519 (eval $ac_try) 2>&5
77520 ac_status=$?
77521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77522 (exit $ac_status); }; } &&
77523 { ac_try='test -s conftest.$ac_objext'
77524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77525 (eval $ac_try) 2>&5
77526 ac_status=$?
77527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77528 (exit $ac_status); }; }; then
77529 glibcxx_cv_func_frexpl_use=yes
77530 else
77531 echo "$as_me: failed program was:" >&5
77532 sed 's/^/| /' conftest.$ac_ext >&5
77533
77534 glibcxx_cv_func_frexpl_use=no
77535 fi
77536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77537 ac_ext=c
77538 ac_cpp='$CPP $CPPFLAGS'
77539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77542
77543
77544 fi
77545
77546 fi
77547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77548 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77549
77550 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77551
77552 for ac_func in frexpl
77553 do
77554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77555 echo "$as_me:$LINENO: checking for $ac_func" >&5
77556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77557 if eval "test \"\${$as_ac_var+set}\" = set"; then
77558 echo $ECHO_N "(cached) $ECHO_C" >&6
77559 else
77560 if test x$gcc_no_link = xyes; then
77561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77563 { (exit 1); exit 1; }; }
77564 fi
77565 cat >conftest.$ac_ext <<_ACEOF
77566 /* confdefs.h. */
77567 _ACEOF
77568 cat confdefs.h >>conftest.$ac_ext
77569 cat >>conftest.$ac_ext <<_ACEOF
77570 /* end confdefs.h. */
77571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77573 #define $ac_func innocuous_$ac_func
77574
77575 /* System header to define __stub macros and hopefully few prototypes,
77576 which can conflict with char $ac_func (); below.
77577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77578 <limits.h> exists even on freestanding compilers. */
77579
77580 #ifdef __STDC__
77581 # include <limits.h>
77582 #else
77583 # include <assert.h>
77584 #endif
77585
77586 #undef $ac_func
77587
77588 /* Override any gcc2 internal prototype to avoid an error. */
77589 #ifdef __cplusplus
77590 extern "C"
77591 {
77592 #endif
77593 /* We use char because int might match the return type of a gcc2
77594 builtin and then its argument prototype would still apply. */
77595 char $ac_func ();
77596 /* The GNU C library defines this for functions which it implements
77597 to always fail with ENOSYS. Some functions are actually named
77598 something starting with __ and the normal name is an alias. */
77599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77600 choke me
77601 #else
77602 char (*f) () = $ac_func;
77603 #endif
77604 #ifdef __cplusplus
77605 }
77606 #endif
77607
77608 int
77609 main ()
77610 {
77611 return f != $ac_func;
77612 ;
77613 return 0;
77614 }
77615 _ACEOF
77616 rm -f conftest.$ac_objext conftest$ac_exeext
77617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77618 (eval $ac_link) 2>conftest.er1
77619 ac_status=$?
77620 grep -v '^ *+' conftest.er1 >conftest.err
77621 rm -f conftest.er1
77622 cat conftest.err >&5
77623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77624 (exit $ac_status); } &&
77625 { ac_try='test -z "$ac_c_werror_flag"
77626 || test ! -s conftest.err'
77627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77628 (eval $ac_try) 2>&5
77629 ac_status=$?
77630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77631 (exit $ac_status); }; } &&
77632 { ac_try='test -s conftest$ac_exeext'
77633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77634 (eval $ac_try) 2>&5
77635 ac_status=$?
77636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77637 (exit $ac_status); }; }; then
77638 eval "$as_ac_var=yes"
77639 else
77640 echo "$as_me: failed program was:" >&5
77641 sed 's/^/| /' conftest.$ac_ext >&5
77642
77643 eval "$as_ac_var=no"
77644 fi
77645 rm -f conftest.err conftest.$ac_objext \
77646 conftest$ac_exeext conftest.$ac_ext
77647 fi
77648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77650 if test `eval echo '${'$as_ac_var'}'` = yes; then
77651 cat >>confdefs.h <<_ACEOF
77652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77653 _ACEOF
77654
77655 fi
77656 done
77657
77658 else
77659
77660 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77661 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77662 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77663 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77664 echo $ECHO_N "(cached) $ECHO_C" >&6
77665 else
77666
77667
77668
77669 ac_ext=cc
77670 ac_cpp='$CXXCPP $CPPFLAGS'
77671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77674
77675 cat >conftest.$ac_ext <<_ACEOF
77676 /* confdefs.h. */
77677 _ACEOF
77678 cat confdefs.h >>conftest.$ac_ext
77679 cat >>conftest.$ac_ext <<_ACEOF
77680 /* end confdefs.h. */
77681 #include <math.h>
77682 int
77683 main ()
77684 {
77685 _frexpl(0, 0);
77686 ;
77687 return 0;
77688 }
77689 _ACEOF
77690 rm -f conftest.$ac_objext
77691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77692 (eval $ac_compile) 2>conftest.er1
77693 ac_status=$?
77694 grep -v '^ *+' conftest.er1 >conftest.err
77695 rm -f conftest.er1
77696 cat conftest.err >&5
77697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77698 (exit $ac_status); } &&
77699 { ac_try='test -z "$ac_cxx_werror_flag"
77700 || test ! -s conftest.err'
77701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77702 (eval $ac_try) 2>&5
77703 ac_status=$?
77704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77705 (exit $ac_status); }; } &&
77706 { ac_try='test -s conftest.$ac_objext'
77707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77708 (eval $ac_try) 2>&5
77709 ac_status=$?
77710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77711 (exit $ac_status); }; }; then
77712 glibcxx_cv_func__frexpl_use=yes
77713 else
77714 echo "$as_me: failed program was:" >&5
77715 sed 's/^/| /' conftest.$ac_ext >&5
77716
77717 glibcxx_cv_func__frexpl_use=no
77718 fi
77719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77720 ac_ext=c
77721 ac_cpp='$CPP $CPPFLAGS'
77722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77725
77726
77727 fi
77728
77729 fi
77730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77731 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77732
77733 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77734
77735 for ac_func in _frexpl
77736 do
77737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77738 echo "$as_me:$LINENO: checking for $ac_func" >&5
77739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77740 if eval "test \"\${$as_ac_var+set}\" = set"; then
77741 echo $ECHO_N "(cached) $ECHO_C" >&6
77742 else
77743 if test x$gcc_no_link = xyes; then
77744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77746 { (exit 1); exit 1; }; }
77747 fi
77748 cat >conftest.$ac_ext <<_ACEOF
77749 /* confdefs.h. */
77750 _ACEOF
77751 cat confdefs.h >>conftest.$ac_ext
77752 cat >>conftest.$ac_ext <<_ACEOF
77753 /* end confdefs.h. */
77754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77756 #define $ac_func innocuous_$ac_func
77757
77758 /* System header to define __stub macros and hopefully few prototypes,
77759 which can conflict with char $ac_func (); below.
77760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77761 <limits.h> exists even on freestanding compilers. */
77762
77763 #ifdef __STDC__
77764 # include <limits.h>
77765 #else
77766 # include <assert.h>
77767 #endif
77768
77769 #undef $ac_func
77770
77771 /* Override any gcc2 internal prototype to avoid an error. */
77772 #ifdef __cplusplus
77773 extern "C"
77774 {
77775 #endif
77776 /* We use char because int might match the return type of a gcc2
77777 builtin and then its argument prototype would still apply. */
77778 char $ac_func ();
77779 /* The GNU C library defines this for functions which it implements
77780 to always fail with ENOSYS. Some functions are actually named
77781 something starting with __ and the normal name is an alias. */
77782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77783 choke me
77784 #else
77785 char (*f) () = $ac_func;
77786 #endif
77787 #ifdef __cplusplus
77788 }
77789 #endif
77790
77791 int
77792 main ()
77793 {
77794 return f != $ac_func;
77795 ;
77796 return 0;
77797 }
77798 _ACEOF
77799 rm -f conftest.$ac_objext conftest$ac_exeext
77800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77801 (eval $ac_link) 2>conftest.er1
77802 ac_status=$?
77803 grep -v '^ *+' conftest.er1 >conftest.err
77804 rm -f conftest.er1
77805 cat conftest.err >&5
77806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77807 (exit $ac_status); } &&
77808 { ac_try='test -z "$ac_c_werror_flag"
77809 || test ! -s conftest.err'
77810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77811 (eval $ac_try) 2>&5
77812 ac_status=$?
77813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77814 (exit $ac_status); }; } &&
77815 { ac_try='test -s conftest$ac_exeext'
77816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77817 (eval $ac_try) 2>&5
77818 ac_status=$?
77819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820 (exit $ac_status); }; }; then
77821 eval "$as_ac_var=yes"
77822 else
77823 echo "$as_me: failed program was:" >&5
77824 sed 's/^/| /' conftest.$ac_ext >&5
77825
77826 eval "$as_ac_var=no"
77827 fi
77828 rm -f conftest.err conftest.$ac_objext \
77829 conftest$ac_exeext conftest.$ac_ext
77830 fi
77831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77833 if test `eval echo '${'$as_ac_var'}'` = yes; then
77834 cat >>confdefs.h <<_ACEOF
77835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77836 _ACEOF
77837
77838 fi
77839 done
77840
77841 fi
77842 fi
77843
77844
77845
77846
77847
77848
77849 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77850 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77851 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77852 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77853 echo $ECHO_N "(cached) $ECHO_C" >&6
77854 else
77855
77856
77857
77858 ac_ext=cc
77859 ac_cpp='$CXXCPP $CPPFLAGS'
77860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77863
77864 cat >conftest.$ac_ext <<_ACEOF
77865 /* confdefs.h. */
77866 _ACEOF
77867 cat confdefs.h >>conftest.$ac_ext
77868 cat >>conftest.$ac_ext <<_ACEOF
77869 /* end confdefs.h. */
77870 #include <math.h>
77871 int
77872 main ()
77873 {
77874 hypotl(0, 0);
77875 ;
77876 return 0;
77877 }
77878 _ACEOF
77879 rm -f conftest.$ac_objext
77880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77881 (eval $ac_compile) 2>conftest.er1
77882 ac_status=$?
77883 grep -v '^ *+' conftest.er1 >conftest.err
77884 rm -f conftest.er1
77885 cat conftest.err >&5
77886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77887 (exit $ac_status); } &&
77888 { ac_try='test -z "$ac_cxx_werror_flag"
77889 || test ! -s conftest.err'
77890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77891 (eval $ac_try) 2>&5
77892 ac_status=$?
77893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77894 (exit $ac_status); }; } &&
77895 { ac_try='test -s conftest.$ac_objext'
77896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77897 (eval $ac_try) 2>&5
77898 ac_status=$?
77899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77900 (exit $ac_status); }; }; then
77901 glibcxx_cv_func_hypotl_use=yes
77902 else
77903 echo "$as_me: failed program was:" >&5
77904 sed 's/^/| /' conftest.$ac_ext >&5
77905
77906 glibcxx_cv_func_hypotl_use=no
77907 fi
77908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77909 ac_ext=c
77910 ac_cpp='$CPP $CPPFLAGS'
77911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77914
77915
77916 fi
77917
77918 fi
77919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77920 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77921
77922 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77923
77924 for ac_func in hypotl
77925 do
77926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77927 echo "$as_me:$LINENO: checking for $ac_func" >&5
77928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77929 if eval "test \"\${$as_ac_var+set}\" = set"; then
77930 echo $ECHO_N "(cached) $ECHO_C" >&6
77931 else
77932 if test x$gcc_no_link = xyes; then
77933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77935 { (exit 1); exit 1; }; }
77936 fi
77937 cat >conftest.$ac_ext <<_ACEOF
77938 /* confdefs.h. */
77939 _ACEOF
77940 cat confdefs.h >>conftest.$ac_ext
77941 cat >>conftest.$ac_ext <<_ACEOF
77942 /* end confdefs.h. */
77943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77945 #define $ac_func innocuous_$ac_func
77946
77947 /* System header to define __stub macros and hopefully few prototypes,
77948 which can conflict with char $ac_func (); below.
77949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77950 <limits.h> exists even on freestanding compilers. */
77951
77952 #ifdef __STDC__
77953 # include <limits.h>
77954 #else
77955 # include <assert.h>
77956 #endif
77957
77958 #undef $ac_func
77959
77960 /* Override any gcc2 internal prototype to avoid an error. */
77961 #ifdef __cplusplus
77962 extern "C"
77963 {
77964 #endif
77965 /* We use char because int might match the return type of a gcc2
77966 builtin and then its argument prototype would still apply. */
77967 char $ac_func ();
77968 /* The GNU C library defines this for functions which it implements
77969 to always fail with ENOSYS. Some functions are actually named
77970 something starting with __ and the normal name is an alias. */
77971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77972 choke me
77973 #else
77974 char (*f) () = $ac_func;
77975 #endif
77976 #ifdef __cplusplus
77977 }
77978 #endif
77979
77980 int
77981 main ()
77982 {
77983 return f != $ac_func;
77984 ;
77985 return 0;
77986 }
77987 _ACEOF
77988 rm -f conftest.$ac_objext conftest$ac_exeext
77989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77990 (eval $ac_link) 2>conftest.er1
77991 ac_status=$?
77992 grep -v '^ *+' conftest.er1 >conftest.err
77993 rm -f conftest.er1
77994 cat conftest.err >&5
77995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77996 (exit $ac_status); } &&
77997 { ac_try='test -z "$ac_c_werror_flag"
77998 || test ! -s conftest.err'
77999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78000 (eval $ac_try) 2>&5
78001 ac_status=$?
78002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78003 (exit $ac_status); }; } &&
78004 { ac_try='test -s conftest$ac_exeext'
78005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78006 (eval $ac_try) 2>&5
78007 ac_status=$?
78008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78009 (exit $ac_status); }; }; then
78010 eval "$as_ac_var=yes"
78011 else
78012 echo "$as_me: failed program was:" >&5
78013 sed 's/^/| /' conftest.$ac_ext >&5
78014
78015 eval "$as_ac_var=no"
78016 fi
78017 rm -f conftest.err conftest.$ac_objext \
78018 conftest$ac_exeext conftest.$ac_ext
78019 fi
78020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78022 if test `eval echo '${'$as_ac_var'}'` = yes; then
78023 cat >>confdefs.h <<_ACEOF
78024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78025 _ACEOF
78026
78027 fi
78028 done
78029
78030 else
78031
78032 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78033 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78034 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78035 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78036 echo $ECHO_N "(cached) $ECHO_C" >&6
78037 else
78038
78039
78040
78041 ac_ext=cc
78042 ac_cpp='$CXXCPP $CPPFLAGS'
78043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78046
78047 cat >conftest.$ac_ext <<_ACEOF
78048 /* confdefs.h. */
78049 _ACEOF
78050 cat confdefs.h >>conftest.$ac_ext
78051 cat >>conftest.$ac_ext <<_ACEOF
78052 /* end confdefs.h. */
78053 #include <math.h>
78054 int
78055 main ()
78056 {
78057 _hypotl(0, 0);
78058 ;
78059 return 0;
78060 }
78061 _ACEOF
78062 rm -f conftest.$ac_objext
78063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78064 (eval $ac_compile) 2>conftest.er1
78065 ac_status=$?
78066 grep -v '^ *+' conftest.er1 >conftest.err
78067 rm -f conftest.er1
78068 cat conftest.err >&5
78069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78070 (exit $ac_status); } &&
78071 { ac_try='test -z "$ac_cxx_werror_flag"
78072 || test ! -s conftest.err'
78073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78074 (eval $ac_try) 2>&5
78075 ac_status=$?
78076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78077 (exit $ac_status); }; } &&
78078 { ac_try='test -s conftest.$ac_objext'
78079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78080 (eval $ac_try) 2>&5
78081 ac_status=$?
78082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78083 (exit $ac_status); }; }; then
78084 glibcxx_cv_func__hypotl_use=yes
78085 else
78086 echo "$as_me: failed program was:" >&5
78087 sed 's/^/| /' conftest.$ac_ext >&5
78088
78089 glibcxx_cv_func__hypotl_use=no
78090 fi
78091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78092 ac_ext=c
78093 ac_cpp='$CPP $CPPFLAGS'
78094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78097
78098
78099 fi
78100
78101 fi
78102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78103 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78104
78105 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78106
78107 for ac_func in _hypotl
78108 do
78109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78110 echo "$as_me:$LINENO: checking for $ac_func" >&5
78111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78112 if eval "test \"\${$as_ac_var+set}\" = set"; then
78113 echo $ECHO_N "(cached) $ECHO_C" >&6
78114 else
78115 if test x$gcc_no_link = xyes; then
78116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78118 { (exit 1); exit 1; }; }
78119 fi
78120 cat >conftest.$ac_ext <<_ACEOF
78121 /* confdefs.h. */
78122 _ACEOF
78123 cat confdefs.h >>conftest.$ac_ext
78124 cat >>conftest.$ac_ext <<_ACEOF
78125 /* end confdefs.h. */
78126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78128 #define $ac_func innocuous_$ac_func
78129
78130 /* System header to define __stub macros and hopefully few prototypes,
78131 which can conflict with char $ac_func (); below.
78132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78133 <limits.h> exists even on freestanding compilers. */
78134
78135 #ifdef __STDC__
78136 # include <limits.h>
78137 #else
78138 # include <assert.h>
78139 #endif
78140
78141 #undef $ac_func
78142
78143 /* Override any gcc2 internal prototype to avoid an error. */
78144 #ifdef __cplusplus
78145 extern "C"
78146 {
78147 #endif
78148 /* We use char because int might match the return type of a gcc2
78149 builtin and then its argument prototype would still apply. */
78150 char $ac_func ();
78151 /* The GNU C library defines this for functions which it implements
78152 to always fail with ENOSYS. Some functions are actually named
78153 something starting with __ and the normal name is an alias. */
78154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78155 choke me
78156 #else
78157 char (*f) () = $ac_func;
78158 #endif
78159 #ifdef __cplusplus
78160 }
78161 #endif
78162
78163 int
78164 main ()
78165 {
78166 return f != $ac_func;
78167 ;
78168 return 0;
78169 }
78170 _ACEOF
78171 rm -f conftest.$ac_objext conftest$ac_exeext
78172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78173 (eval $ac_link) 2>conftest.er1
78174 ac_status=$?
78175 grep -v '^ *+' conftest.er1 >conftest.err
78176 rm -f conftest.er1
78177 cat conftest.err >&5
78178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78179 (exit $ac_status); } &&
78180 { ac_try='test -z "$ac_c_werror_flag"
78181 || test ! -s conftest.err'
78182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78183 (eval $ac_try) 2>&5
78184 ac_status=$?
78185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78186 (exit $ac_status); }; } &&
78187 { ac_try='test -s conftest$ac_exeext'
78188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78189 (eval $ac_try) 2>&5
78190 ac_status=$?
78191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78192 (exit $ac_status); }; }; then
78193 eval "$as_ac_var=yes"
78194 else
78195 echo "$as_me: failed program was:" >&5
78196 sed 's/^/| /' conftest.$ac_ext >&5
78197
78198 eval "$as_ac_var=no"
78199 fi
78200 rm -f conftest.err conftest.$ac_objext \
78201 conftest$ac_exeext conftest.$ac_ext
78202 fi
78203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78205 if test `eval echo '${'$as_ac_var'}'` = yes; then
78206 cat >>confdefs.h <<_ACEOF
78207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78208 _ACEOF
78209
78210 fi
78211 done
78212
78213 fi
78214 fi
78215
78216
78217
78218
78219
78220
78221 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78222 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78223 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78224 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78225 echo $ECHO_N "(cached) $ECHO_C" >&6
78226 else
78227
78228
78229
78230 ac_ext=cc
78231 ac_cpp='$CXXCPP $CPPFLAGS'
78232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78235
78236 cat >conftest.$ac_ext <<_ACEOF
78237 /* confdefs.h. */
78238 _ACEOF
78239 cat confdefs.h >>conftest.$ac_ext
78240 cat >>conftest.$ac_ext <<_ACEOF
78241 /* end confdefs.h. */
78242 #include <math.h>
78243 int
78244 main ()
78245 {
78246 ldexpl(0, 0);
78247 ;
78248 return 0;
78249 }
78250 _ACEOF
78251 rm -f conftest.$ac_objext
78252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78253 (eval $ac_compile) 2>conftest.er1
78254 ac_status=$?
78255 grep -v '^ *+' conftest.er1 >conftest.err
78256 rm -f conftest.er1
78257 cat conftest.err >&5
78258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78259 (exit $ac_status); } &&
78260 { ac_try='test -z "$ac_cxx_werror_flag"
78261 || test ! -s conftest.err'
78262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78263 (eval $ac_try) 2>&5
78264 ac_status=$?
78265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78266 (exit $ac_status); }; } &&
78267 { ac_try='test -s conftest.$ac_objext'
78268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78269 (eval $ac_try) 2>&5
78270 ac_status=$?
78271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78272 (exit $ac_status); }; }; then
78273 glibcxx_cv_func_ldexpl_use=yes
78274 else
78275 echo "$as_me: failed program was:" >&5
78276 sed 's/^/| /' conftest.$ac_ext >&5
78277
78278 glibcxx_cv_func_ldexpl_use=no
78279 fi
78280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78281 ac_ext=c
78282 ac_cpp='$CPP $CPPFLAGS'
78283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78286
78287
78288 fi
78289
78290 fi
78291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78292 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78293
78294 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78295
78296 for ac_func in ldexpl
78297 do
78298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78299 echo "$as_me:$LINENO: checking for $ac_func" >&5
78300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78301 if eval "test \"\${$as_ac_var+set}\" = set"; then
78302 echo $ECHO_N "(cached) $ECHO_C" >&6
78303 else
78304 if test x$gcc_no_link = xyes; then
78305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78307 { (exit 1); exit 1; }; }
78308 fi
78309 cat >conftest.$ac_ext <<_ACEOF
78310 /* confdefs.h. */
78311 _ACEOF
78312 cat confdefs.h >>conftest.$ac_ext
78313 cat >>conftest.$ac_ext <<_ACEOF
78314 /* end confdefs.h. */
78315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78317 #define $ac_func innocuous_$ac_func
78318
78319 /* System header to define __stub macros and hopefully few prototypes,
78320 which can conflict with char $ac_func (); below.
78321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78322 <limits.h> exists even on freestanding compilers. */
78323
78324 #ifdef __STDC__
78325 # include <limits.h>
78326 #else
78327 # include <assert.h>
78328 #endif
78329
78330 #undef $ac_func
78331
78332 /* Override any gcc2 internal prototype to avoid an error. */
78333 #ifdef __cplusplus
78334 extern "C"
78335 {
78336 #endif
78337 /* We use char because int might match the return type of a gcc2
78338 builtin and then its argument prototype would still apply. */
78339 char $ac_func ();
78340 /* The GNU C library defines this for functions which it implements
78341 to always fail with ENOSYS. Some functions are actually named
78342 something starting with __ and the normal name is an alias. */
78343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78344 choke me
78345 #else
78346 char (*f) () = $ac_func;
78347 #endif
78348 #ifdef __cplusplus
78349 }
78350 #endif
78351
78352 int
78353 main ()
78354 {
78355 return f != $ac_func;
78356 ;
78357 return 0;
78358 }
78359 _ACEOF
78360 rm -f conftest.$ac_objext conftest$ac_exeext
78361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78362 (eval $ac_link) 2>conftest.er1
78363 ac_status=$?
78364 grep -v '^ *+' conftest.er1 >conftest.err
78365 rm -f conftest.er1
78366 cat conftest.err >&5
78367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78368 (exit $ac_status); } &&
78369 { ac_try='test -z "$ac_c_werror_flag"
78370 || test ! -s conftest.err'
78371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78372 (eval $ac_try) 2>&5
78373 ac_status=$?
78374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78375 (exit $ac_status); }; } &&
78376 { ac_try='test -s conftest$ac_exeext'
78377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78378 (eval $ac_try) 2>&5
78379 ac_status=$?
78380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381 (exit $ac_status); }; }; then
78382 eval "$as_ac_var=yes"
78383 else
78384 echo "$as_me: failed program was:" >&5
78385 sed 's/^/| /' conftest.$ac_ext >&5
78386
78387 eval "$as_ac_var=no"
78388 fi
78389 rm -f conftest.err conftest.$ac_objext \
78390 conftest$ac_exeext conftest.$ac_ext
78391 fi
78392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78394 if test `eval echo '${'$as_ac_var'}'` = yes; then
78395 cat >>confdefs.h <<_ACEOF
78396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78397 _ACEOF
78398
78399 fi
78400 done
78401
78402 else
78403
78404 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78405 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78406 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78407 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78408 echo $ECHO_N "(cached) $ECHO_C" >&6
78409 else
78410
78411
78412
78413 ac_ext=cc
78414 ac_cpp='$CXXCPP $CPPFLAGS'
78415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78418
78419 cat >conftest.$ac_ext <<_ACEOF
78420 /* confdefs.h. */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h. */
78425 #include <math.h>
78426 int
78427 main ()
78428 {
78429 _ldexpl(0, 0);
78430 ;
78431 return 0;
78432 }
78433 _ACEOF
78434 rm -f conftest.$ac_objext
78435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78436 (eval $ac_compile) 2>conftest.er1
78437 ac_status=$?
78438 grep -v '^ *+' conftest.er1 >conftest.err
78439 rm -f conftest.er1
78440 cat conftest.err >&5
78441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78442 (exit $ac_status); } &&
78443 { ac_try='test -z "$ac_cxx_werror_flag"
78444 || test ! -s conftest.err'
78445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78446 (eval $ac_try) 2>&5
78447 ac_status=$?
78448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449 (exit $ac_status); }; } &&
78450 { ac_try='test -s conftest.$ac_objext'
78451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78452 (eval $ac_try) 2>&5
78453 ac_status=$?
78454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78455 (exit $ac_status); }; }; then
78456 glibcxx_cv_func__ldexpl_use=yes
78457 else
78458 echo "$as_me: failed program was:" >&5
78459 sed 's/^/| /' conftest.$ac_ext >&5
78460
78461 glibcxx_cv_func__ldexpl_use=no
78462 fi
78463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78464 ac_ext=c
78465 ac_cpp='$CPP $CPPFLAGS'
78466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78469
78470
78471 fi
78472
78473 fi
78474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78475 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78476
78477 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78478
78479 for ac_func in _ldexpl
78480 do
78481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78482 echo "$as_me:$LINENO: checking for $ac_func" >&5
78483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78484 if eval "test \"\${$as_ac_var+set}\" = set"; then
78485 echo $ECHO_N "(cached) $ECHO_C" >&6
78486 else
78487 if test x$gcc_no_link = xyes; then
78488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78490 { (exit 1); exit 1; }; }
78491 fi
78492 cat >conftest.$ac_ext <<_ACEOF
78493 /* confdefs.h. */
78494 _ACEOF
78495 cat confdefs.h >>conftest.$ac_ext
78496 cat >>conftest.$ac_ext <<_ACEOF
78497 /* end confdefs.h. */
78498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78500 #define $ac_func innocuous_$ac_func
78501
78502 /* System header to define __stub macros and hopefully few prototypes,
78503 which can conflict with char $ac_func (); below.
78504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78505 <limits.h> exists even on freestanding compilers. */
78506
78507 #ifdef __STDC__
78508 # include <limits.h>
78509 #else
78510 # include <assert.h>
78511 #endif
78512
78513 #undef $ac_func
78514
78515 /* Override any gcc2 internal prototype to avoid an error. */
78516 #ifdef __cplusplus
78517 extern "C"
78518 {
78519 #endif
78520 /* We use char because int might match the return type of a gcc2
78521 builtin and then its argument prototype would still apply. */
78522 char $ac_func ();
78523 /* The GNU C library defines this for functions which it implements
78524 to always fail with ENOSYS. Some functions are actually named
78525 something starting with __ and the normal name is an alias. */
78526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78527 choke me
78528 #else
78529 char (*f) () = $ac_func;
78530 #endif
78531 #ifdef __cplusplus
78532 }
78533 #endif
78534
78535 int
78536 main ()
78537 {
78538 return f != $ac_func;
78539 ;
78540 return 0;
78541 }
78542 _ACEOF
78543 rm -f conftest.$ac_objext conftest$ac_exeext
78544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78545 (eval $ac_link) 2>conftest.er1
78546 ac_status=$?
78547 grep -v '^ *+' conftest.er1 >conftest.err
78548 rm -f conftest.er1
78549 cat conftest.err >&5
78550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78551 (exit $ac_status); } &&
78552 { ac_try='test -z "$ac_c_werror_flag"
78553 || test ! -s conftest.err'
78554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78555 (eval $ac_try) 2>&5
78556 ac_status=$?
78557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78558 (exit $ac_status); }; } &&
78559 { ac_try='test -s conftest$ac_exeext'
78560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78561 (eval $ac_try) 2>&5
78562 ac_status=$?
78563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78564 (exit $ac_status); }; }; then
78565 eval "$as_ac_var=yes"
78566 else
78567 echo "$as_me: failed program was:" >&5
78568 sed 's/^/| /' conftest.$ac_ext >&5
78569
78570 eval "$as_ac_var=no"
78571 fi
78572 rm -f conftest.err conftest.$ac_objext \
78573 conftest$ac_exeext conftest.$ac_ext
78574 fi
78575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78577 if test `eval echo '${'$as_ac_var'}'` = yes; then
78578 cat >>confdefs.h <<_ACEOF
78579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78580 _ACEOF
78581
78582 fi
78583 done
78584
78585 fi
78586 fi
78587
78588
78589
78590
78591
78592
78593 echo "$as_me:$LINENO: checking for logl declaration" >&5
78594 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78595 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78596 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78597 echo $ECHO_N "(cached) $ECHO_C" >&6
78598 else
78599
78600
78601
78602 ac_ext=cc
78603 ac_cpp='$CXXCPP $CPPFLAGS'
78604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78607
78608 cat >conftest.$ac_ext <<_ACEOF
78609 /* confdefs.h. */
78610 _ACEOF
78611 cat confdefs.h >>conftest.$ac_ext
78612 cat >>conftest.$ac_ext <<_ACEOF
78613 /* end confdefs.h. */
78614 #include <math.h>
78615 #ifdef HAVE_IEEEFP_H
78616 #include <ieeefp.h>
78617 #endif
78618
78619 int
78620 main ()
78621 {
78622 logl(0);
78623 ;
78624 return 0;
78625 }
78626 _ACEOF
78627 rm -f conftest.$ac_objext
78628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78629 (eval $ac_compile) 2>conftest.er1
78630 ac_status=$?
78631 grep -v '^ *+' conftest.er1 >conftest.err
78632 rm -f conftest.er1
78633 cat conftest.err >&5
78634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78635 (exit $ac_status); } &&
78636 { ac_try='test -z "$ac_cxx_werror_flag"
78637 || test ! -s conftest.err'
78638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78639 (eval $ac_try) 2>&5
78640 ac_status=$?
78641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78642 (exit $ac_status); }; } &&
78643 { ac_try='test -s conftest.$ac_objext'
78644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78645 (eval $ac_try) 2>&5
78646 ac_status=$?
78647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78648 (exit $ac_status); }; }; then
78649 glibcxx_cv_func_logl_use=yes
78650 else
78651 echo "$as_me: failed program was:" >&5
78652 sed 's/^/| /' conftest.$ac_ext >&5
78653
78654 glibcxx_cv_func_logl_use=no
78655 fi
78656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78657 ac_ext=c
78658 ac_cpp='$CPP $CPPFLAGS'
78659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78662
78663
78664 fi
78665
78666 fi
78667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78668 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78669
78670 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78671
78672 for ac_func in logl
78673 do
78674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78675 echo "$as_me:$LINENO: checking for $ac_func" >&5
78676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78677 if eval "test \"\${$as_ac_var+set}\" = set"; then
78678 echo $ECHO_N "(cached) $ECHO_C" >&6
78679 else
78680 if test x$gcc_no_link = xyes; then
78681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78683 { (exit 1); exit 1; }; }
78684 fi
78685 cat >conftest.$ac_ext <<_ACEOF
78686 /* confdefs.h. */
78687 _ACEOF
78688 cat confdefs.h >>conftest.$ac_ext
78689 cat >>conftest.$ac_ext <<_ACEOF
78690 /* end confdefs.h. */
78691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78693 #define $ac_func innocuous_$ac_func
78694
78695 /* System header to define __stub macros and hopefully few prototypes,
78696 which can conflict with char $ac_func (); below.
78697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78698 <limits.h> exists even on freestanding compilers. */
78699
78700 #ifdef __STDC__
78701 # include <limits.h>
78702 #else
78703 # include <assert.h>
78704 #endif
78705
78706 #undef $ac_func
78707
78708 /* Override any gcc2 internal prototype to avoid an error. */
78709 #ifdef __cplusplus
78710 extern "C"
78711 {
78712 #endif
78713 /* We use char because int might match the return type of a gcc2
78714 builtin and then its argument prototype would still apply. */
78715 char $ac_func ();
78716 /* The GNU C library defines this for functions which it implements
78717 to always fail with ENOSYS. Some functions are actually named
78718 something starting with __ and the normal name is an alias. */
78719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78720 choke me
78721 #else
78722 char (*f) () = $ac_func;
78723 #endif
78724 #ifdef __cplusplus
78725 }
78726 #endif
78727
78728 int
78729 main ()
78730 {
78731 return f != $ac_func;
78732 ;
78733 return 0;
78734 }
78735 _ACEOF
78736 rm -f conftest.$ac_objext conftest$ac_exeext
78737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78738 (eval $ac_link) 2>conftest.er1
78739 ac_status=$?
78740 grep -v '^ *+' conftest.er1 >conftest.err
78741 rm -f conftest.er1
78742 cat conftest.err >&5
78743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78744 (exit $ac_status); } &&
78745 { ac_try='test -z "$ac_c_werror_flag"
78746 || test ! -s conftest.err'
78747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78748 (eval $ac_try) 2>&5
78749 ac_status=$?
78750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78751 (exit $ac_status); }; } &&
78752 { ac_try='test -s conftest$ac_exeext'
78753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78754 (eval $ac_try) 2>&5
78755 ac_status=$?
78756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78757 (exit $ac_status); }; }; then
78758 eval "$as_ac_var=yes"
78759 else
78760 echo "$as_me: failed program was:" >&5
78761 sed 's/^/| /' conftest.$ac_ext >&5
78762
78763 eval "$as_ac_var=no"
78764 fi
78765 rm -f conftest.err conftest.$ac_objext \
78766 conftest$ac_exeext conftest.$ac_ext
78767 fi
78768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78770 if test `eval echo '${'$as_ac_var'}'` = yes; then
78771 cat >>confdefs.h <<_ACEOF
78772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78773 _ACEOF
78774
78775 fi
78776 done
78777
78778 else
78779
78780 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78781 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78782 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78783 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78784 echo $ECHO_N "(cached) $ECHO_C" >&6
78785 else
78786
78787
78788
78789 ac_ext=cc
78790 ac_cpp='$CXXCPP $CPPFLAGS'
78791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78794
78795 cat >conftest.$ac_ext <<_ACEOF
78796 /* confdefs.h. */
78797 _ACEOF
78798 cat confdefs.h >>conftest.$ac_ext
78799 cat >>conftest.$ac_ext <<_ACEOF
78800 /* end confdefs.h. */
78801 #include <math.h>
78802 #ifdef HAVE_IEEEFP_H
78803 #include <ieeefp.h>
78804 #endif
78805
78806 int
78807 main ()
78808 {
78809 _logl(0);
78810 ;
78811 return 0;
78812 }
78813 _ACEOF
78814 rm -f conftest.$ac_objext
78815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78816 (eval $ac_compile) 2>conftest.er1
78817 ac_status=$?
78818 grep -v '^ *+' conftest.er1 >conftest.err
78819 rm -f conftest.er1
78820 cat conftest.err >&5
78821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78822 (exit $ac_status); } &&
78823 { ac_try='test -z "$ac_cxx_werror_flag"
78824 || test ! -s conftest.err'
78825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78826 (eval $ac_try) 2>&5
78827 ac_status=$?
78828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78829 (exit $ac_status); }; } &&
78830 { ac_try='test -s conftest.$ac_objext'
78831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78832 (eval $ac_try) 2>&5
78833 ac_status=$?
78834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78835 (exit $ac_status); }; }; then
78836 glibcxx_cv_func__logl_use=yes
78837 else
78838 echo "$as_me: failed program was:" >&5
78839 sed 's/^/| /' conftest.$ac_ext >&5
78840
78841 glibcxx_cv_func__logl_use=no
78842 fi
78843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78844 ac_ext=c
78845 ac_cpp='$CPP $CPPFLAGS'
78846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78849
78850
78851 fi
78852
78853 fi
78854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78855 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78856
78857 if test x$glibcxx_cv_func__logl_use = x"yes"; then
78858
78859 for ac_func in _logl
78860 do
78861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78862 echo "$as_me:$LINENO: checking for $ac_func" >&5
78863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78864 if eval "test \"\${$as_ac_var+set}\" = set"; then
78865 echo $ECHO_N "(cached) $ECHO_C" >&6
78866 else
78867 if test x$gcc_no_link = xyes; then
78868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78870 { (exit 1); exit 1; }; }
78871 fi
78872 cat >conftest.$ac_ext <<_ACEOF
78873 /* confdefs.h. */
78874 _ACEOF
78875 cat confdefs.h >>conftest.$ac_ext
78876 cat >>conftest.$ac_ext <<_ACEOF
78877 /* end confdefs.h. */
78878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78880 #define $ac_func innocuous_$ac_func
78881
78882 /* System header to define __stub macros and hopefully few prototypes,
78883 which can conflict with char $ac_func (); below.
78884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78885 <limits.h> exists even on freestanding compilers. */
78886
78887 #ifdef __STDC__
78888 # include <limits.h>
78889 #else
78890 # include <assert.h>
78891 #endif
78892
78893 #undef $ac_func
78894
78895 /* Override any gcc2 internal prototype to avoid an error. */
78896 #ifdef __cplusplus
78897 extern "C"
78898 {
78899 #endif
78900 /* We use char because int might match the return type of a gcc2
78901 builtin and then its argument prototype would still apply. */
78902 char $ac_func ();
78903 /* The GNU C library defines this for functions which it implements
78904 to always fail with ENOSYS. Some functions are actually named
78905 something starting with __ and the normal name is an alias. */
78906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78907 choke me
78908 #else
78909 char (*f) () = $ac_func;
78910 #endif
78911 #ifdef __cplusplus
78912 }
78913 #endif
78914
78915 int
78916 main ()
78917 {
78918 return f != $ac_func;
78919 ;
78920 return 0;
78921 }
78922 _ACEOF
78923 rm -f conftest.$ac_objext conftest$ac_exeext
78924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78925 (eval $ac_link) 2>conftest.er1
78926 ac_status=$?
78927 grep -v '^ *+' conftest.er1 >conftest.err
78928 rm -f conftest.er1
78929 cat conftest.err >&5
78930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78931 (exit $ac_status); } &&
78932 { ac_try='test -z "$ac_c_werror_flag"
78933 || test ! -s conftest.err'
78934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78935 (eval $ac_try) 2>&5
78936 ac_status=$?
78937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78938 (exit $ac_status); }; } &&
78939 { ac_try='test -s conftest$ac_exeext'
78940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78941 (eval $ac_try) 2>&5
78942 ac_status=$?
78943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78944 (exit $ac_status); }; }; then
78945 eval "$as_ac_var=yes"
78946 else
78947 echo "$as_me: failed program was:" >&5
78948 sed 's/^/| /' conftest.$ac_ext >&5
78949
78950 eval "$as_ac_var=no"
78951 fi
78952 rm -f conftest.err conftest.$ac_objext \
78953 conftest$ac_exeext conftest.$ac_ext
78954 fi
78955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78957 if test `eval echo '${'$as_ac_var'}'` = yes; then
78958 cat >>confdefs.h <<_ACEOF
78959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78960 _ACEOF
78961
78962 fi
78963 done
78964
78965 fi
78966 fi
78967
78968
78969
78970
78971
78972
78973 echo "$as_me:$LINENO: checking for log10l declaration" >&5
78974 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78975 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78976 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78977 echo $ECHO_N "(cached) $ECHO_C" >&6
78978 else
78979
78980
78981
78982 ac_ext=cc
78983 ac_cpp='$CXXCPP $CPPFLAGS'
78984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78987
78988 cat >conftest.$ac_ext <<_ACEOF
78989 /* confdefs.h. */
78990 _ACEOF
78991 cat confdefs.h >>conftest.$ac_ext
78992 cat >>conftest.$ac_ext <<_ACEOF
78993 /* end confdefs.h. */
78994 #include <math.h>
78995 #ifdef HAVE_IEEEFP_H
78996 #include <ieeefp.h>
78997 #endif
78998
78999 int
79000 main ()
79001 {
79002 log10l(0);
79003 ;
79004 return 0;
79005 }
79006 _ACEOF
79007 rm -f conftest.$ac_objext
79008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79009 (eval $ac_compile) 2>conftest.er1
79010 ac_status=$?
79011 grep -v '^ *+' conftest.er1 >conftest.err
79012 rm -f conftest.er1
79013 cat conftest.err >&5
79014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79015 (exit $ac_status); } &&
79016 { ac_try='test -z "$ac_cxx_werror_flag"
79017 || test ! -s conftest.err'
79018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79019 (eval $ac_try) 2>&5
79020 ac_status=$?
79021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79022 (exit $ac_status); }; } &&
79023 { ac_try='test -s conftest.$ac_objext'
79024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79025 (eval $ac_try) 2>&5
79026 ac_status=$?
79027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79028 (exit $ac_status); }; }; then
79029 glibcxx_cv_func_log10l_use=yes
79030 else
79031 echo "$as_me: failed program was:" >&5
79032 sed 's/^/| /' conftest.$ac_ext >&5
79033
79034 glibcxx_cv_func_log10l_use=no
79035 fi
79036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79037 ac_ext=c
79038 ac_cpp='$CPP $CPPFLAGS'
79039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79042
79043
79044 fi
79045
79046 fi
79047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79048 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79049
79050 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79051
79052 for ac_func in log10l
79053 do
79054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79055 echo "$as_me:$LINENO: checking for $ac_func" >&5
79056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79057 if eval "test \"\${$as_ac_var+set}\" = set"; then
79058 echo $ECHO_N "(cached) $ECHO_C" >&6
79059 else
79060 if test x$gcc_no_link = xyes; then
79061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79063 { (exit 1); exit 1; }; }
79064 fi
79065 cat >conftest.$ac_ext <<_ACEOF
79066 /* confdefs.h. */
79067 _ACEOF
79068 cat confdefs.h >>conftest.$ac_ext
79069 cat >>conftest.$ac_ext <<_ACEOF
79070 /* end confdefs.h. */
79071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79073 #define $ac_func innocuous_$ac_func
79074
79075 /* System header to define __stub macros and hopefully few prototypes,
79076 which can conflict with char $ac_func (); below.
79077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79078 <limits.h> exists even on freestanding compilers. */
79079
79080 #ifdef __STDC__
79081 # include <limits.h>
79082 #else
79083 # include <assert.h>
79084 #endif
79085
79086 #undef $ac_func
79087
79088 /* Override any gcc2 internal prototype to avoid an error. */
79089 #ifdef __cplusplus
79090 extern "C"
79091 {
79092 #endif
79093 /* We use char because int might match the return type of a gcc2
79094 builtin and then its argument prototype would still apply. */
79095 char $ac_func ();
79096 /* The GNU C library defines this for functions which it implements
79097 to always fail with ENOSYS. Some functions are actually named
79098 something starting with __ and the normal name is an alias. */
79099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79100 choke me
79101 #else
79102 char (*f) () = $ac_func;
79103 #endif
79104 #ifdef __cplusplus
79105 }
79106 #endif
79107
79108 int
79109 main ()
79110 {
79111 return f != $ac_func;
79112 ;
79113 return 0;
79114 }
79115 _ACEOF
79116 rm -f conftest.$ac_objext conftest$ac_exeext
79117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79118 (eval $ac_link) 2>conftest.er1
79119 ac_status=$?
79120 grep -v '^ *+' conftest.er1 >conftest.err
79121 rm -f conftest.er1
79122 cat conftest.err >&5
79123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79124 (exit $ac_status); } &&
79125 { ac_try='test -z "$ac_c_werror_flag"
79126 || test ! -s conftest.err'
79127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79128 (eval $ac_try) 2>&5
79129 ac_status=$?
79130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79131 (exit $ac_status); }; } &&
79132 { ac_try='test -s conftest$ac_exeext'
79133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79134 (eval $ac_try) 2>&5
79135 ac_status=$?
79136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79137 (exit $ac_status); }; }; then
79138 eval "$as_ac_var=yes"
79139 else
79140 echo "$as_me: failed program was:" >&5
79141 sed 's/^/| /' conftest.$ac_ext >&5
79142
79143 eval "$as_ac_var=no"
79144 fi
79145 rm -f conftest.err conftest.$ac_objext \
79146 conftest$ac_exeext conftest.$ac_ext
79147 fi
79148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79150 if test `eval echo '${'$as_ac_var'}'` = yes; then
79151 cat >>confdefs.h <<_ACEOF
79152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79153 _ACEOF
79154
79155 fi
79156 done
79157
79158 else
79159
79160 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79161 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79162 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79163 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79164 echo $ECHO_N "(cached) $ECHO_C" >&6
79165 else
79166
79167
79168
79169 ac_ext=cc
79170 ac_cpp='$CXXCPP $CPPFLAGS'
79171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79174
79175 cat >conftest.$ac_ext <<_ACEOF
79176 /* confdefs.h. */
79177 _ACEOF
79178 cat confdefs.h >>conftest.$ac_ext
79179 cat >>conftest.$ac_ext <<_ACEOF
79180 /* end confdefs.h. */
79181 #include <math.h>
79182 #ifdef HAVE_IEEEFP_H
79183 #include <ieeefp.h>
79184 #endif
79185
79186 int
79187 main ()
79188 {
79189 _log10l(0);
79190 ;
79191 return 0;
79192 }
79193 _ACEOF
79194 rm -f conftest.$ac_objext
79195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79196 (eval $ac_compile) 2>conftest.er1
79197 ac_status=$?
79198 grep -v '^ *+' conftest.er1 >conftest.err
79199 rm -f conftest.er1
79200 cat conftest.err >&5
79201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79202 (exit $ac_status); } &&
79203 { ac_try='test -z "$ac_cxx_werror_flag"
79204 || test ! -s conftest.err'
79205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79206 (eval $ac_try) 2>&5
79207 ac_status=$?
79208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79209 (exit $ac_status); }; } &&
79210 { ac_try='test -s conftest.$ac_objext'
79211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79212 (eval $ac_try) 2>&5
79213 ac_status=$?
79214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79215 (exit $ac_status); }; }; then
79216 glibcxx_cv_func__log10l_use=yes
79217 else
79218 echo "$as_me: failed program was:" >&5
79219 sed 's/^/| /' conftest.$ac_ext >&5
79220
79221 glibcxx_cv_func__log10l_use=no
79222 fi
79223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79224 ac_ext=c
79225 ac_cpp='$CPP $CPPFLAGS'
79226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79229
79230
79231 fi
79232
79233 fi
79234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79235 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79236
79237 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79238
79239 for ac_func in _log10l
79240 do
79241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79242 echo "$as_me:$LINENO: checking for $ac_func" >&5
79243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79244 if eval "test \"\${$as_ac_var+set}\" = set"; then
79245 echo $ECHO_N "(cached) $ECHO_C" >&6
79246 else
79247 if test x$gcc_no_link = xyes; then
79248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79250 { (exit 1); exit 1; }; }
79251 fi
79252 cat >conftest.$ac_ext <<_ACEOF
79253 /* confdefs.h. */
79254 _ACEOF
79255 cat confdefs.h >>conftest.$ac_ext
79256 cat >>conftest.$ac_ext <<_ACEOF
79257 /* end confdefs.h. */
79258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79260 #define $ac_func innocuous_$ac_func
79261
79262 /* System header to define __stub macros and hopefully few prototypes,
79263 which can conflict with char $ac_func (); below.
79264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79265 <limits.h> exists even on freestanding compilers. */
79266
79267 #ifdef __STDC__
79268 # include <limits.h>
79269 #else
79270 # include <assert.h>
79271 #endif
79272
79273 #undef $ac_func
79274
79275 /* Override any gcc2 internal prototype to avoid an error. */
79276 #ifdef __cplusplus
79277 extern "C"
79278 {
79279 #endif
79280 /* We use char because int might match the return type of a gcc2
79281 builtin and then its argument prototype would still apply. */
79282 char $ac_func ();
79283 /* The GNU C library defines this for functions which it implements
79284 to always fail with ENOSYS. Some functions are actually named
79285 something starting with __ and the normal name is an alias. */
79286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79287 choke me
79288 #else
79289 char (*f) () = $ac_func;
79290 #endif
79291 #ifdef __cplusplus
79292 }
79293 #endif
79294
79295 int
79296 main ()
79297 {
79298 return f != $ac_func;
79299 ;
79300 return 0;
79301 }
79302 _ACEOF
79303 rm -f conftest.$ac_objext conftest$ac_exeext
79304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79305 (eval $ac_link) 2>conftest.er1
79306 ac_status=$?
79307 grep -v '^ *+' conftest.er1 >conftest.err
79308 rm -f conftest.er1
79309 cat conftest.err >&5
79310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79311 (exit $ac_status); } &&
79312 { ac_try='test -z "$ac_c_werror_flag"
79313 || test ! -s conftest.err'
79314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79315 (eval $ac_try) 2>&5
79316 ac_status=$?
79317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79318 (exit $ac_status); }; } &&
79319 { ac_try='test -s conftest$ac_exeext'
79320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79321 (eval $ac_try) 2>&5
79322 ac_status=$?
79323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79324 (exit $ac_status); }; }; then
79325 eval "$as_ac_var=yes"
79326 else
79327 echo "$as_me: failed program was:" >&5
79328 sed 's/^/| /' conftest.$ac_ext >&5
79329
79330 eval "$as_ac_var=no"
79331 fi
79332 rm -f conftest.err conftest.$ac_objext \
79333 conftest$ac_exeext conftest.$ac_ext
79334 fi
79335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79337 if test `eval echo '${'$as_ac_var'}'` = yes; then
79338 cat >>confdefs.h <<_ACEOF
79339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79340 _ACEOF
79341
79342 fi
79343 done
79344
79345 fi
79346 fi
79347
79348
79349
79350
79351
79352
79353 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79354 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79355 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79356 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79357 echo $ECHO_N "(cached) $ECHO_C" >&6
79358 else
79359
79360
79361
79362 ac_ext=cc
79363 ac_cpp='$CXXCPP $CPPFLAGS'
79364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79367
79368 cat >conftest.$ac_ext <<_ACEOF
79369 /* confdefs.h. */
79370 _ACEOF
79371 cat confdefs.h >>conftest.$ac_ext
79372 cat >>conftest.$ac_ext <<_ACEOF
79373 /* end confdefs.h. */
79374 #include <math.h>
79375 int
79376 main ()
79377 {
79378 modfl(0, 0);
79379 ;
79380 return 0;
79381 }
79382 _ACEOF
79383 rm -f conftest.$ac_objext
79384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79385 (eval $ac_compile) 2>conftest.er1
79386 ac_status=$?
79387 grep -v '^ *+' conftest.er1 >conftest.err
79388 rm -f conftest.er1
79389 cat conftest.err >&5
79390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79391 (exit $ac_status); } &&
79392 { ac_try='test -z "$ac_cxx_werror_flag"
79393 || test ! -s conftest.err'
79394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79395 (eval $ac_try) 2>&5
79396 ac_status=$?
79397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79398 (exit $ac_status); }; } &&
79399 { ac_try='test -s conftest.$ac_objext'
79400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79401 (eval $ac_try) 2>&5
79402 ac_status=$?
79403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79404 (exit $ac_status); }; }; then
79405 glibcxx_cv_func_modfl_use=yes
79406 else
79407 echo "$as_me: failed program was:" >&5
79408 sed 's/^/| /' conftest.$ac_ext >&5
79409
79410 glibcxx_cv_func_modfl_use=no
79411 fi
79412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79413 ac_ext=c
79414 ac_cpp='$CPP $CPPFLAGS'
79415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79418
79419
79420 fi
79421
79422 fi
79423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79424 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79425
79426 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79427
79428 for ac_func in modfl
79429 do
79430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79431 echo "$as_me:$LINENO: checking for $ac_func" >&5
79432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79433 if eval "test \"\${$as_ac_var+set}\" = set"; then
79434 echo $ECHO_N "(cached) $ECHO_C" >&6
79435 else
79436 if test x$gcc_no_link = xyes; then
79437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79439 { (exit 1); exit 1; }; }
79440 fi
79441 cat >conftest.$ac_ext <<_ACEOF
79442 /* confdefs.h. */
79443 _ACEOF
79444 cat confdefs.h >>conftest.$ac_ext
79445 cat >>conftest.$ac_ext <<_ACEOF
79446 /* end confdefs.h. */
79447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79449 #define $ac_func innocuous_$ac_func
79450
79451 /* System header to define __stub macros and hopefully few prototypes,
79452 which can conflict with char $ac_func (); below.
79453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79454 <limits.h> exists even on freestanding compilers. */
79455
79456 #ifdef __STDC__
79457 # include <limits.h>
79458 #else
79459 # include <assert.h>
79460 #endif
79461
79462 #undef $ac_func
79463
79464 /* Override any gcc2 internal prototype to avoid an error. */
79465 #ifdef __cplusplus
79466 extern "C"
79467 {
79468 #endif
79469 /* We use char because int might match the return type of a gcc2
79470 builtin and then its argument prototype would still apply. */
79471 char $ac_func ();
79472 /* The GNU C library defines this for functions which it implements
79473 to always fail with ENOSYS. Some functions are actually named
79474 something starting with __ and the normal name is an alias. */
79475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79476 choke me
79477 #else
79478 char (*f) () = $ac_func;
79479 #endif
79480 #ifdef __cplusplus
79481 }
79482 #endif
79483
79484 int
79485 main ()
79486 {
79487 return f != $ac_func;
79488 ;
79489 return 0;
79490 }
79491 _ACEOF
79492 rm -f conftest.$ac_objext conftest$ac_exeext
79493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79494 (eval $ac_link) 2>conftest.er1
79495 ac_status=$?
79496 grep -v '^ *+' conftest.er1 >conftest.err
79497 rm -f conftest.er1
79498 cat conftest.err >&5
79499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79500 (exit $ac_status); } &&
79501 { ac_try='test -z "$ac_c_werror_flag"
79502 || test ! -s conftest.err'
79503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79504 (eval $ac_try) 2>&5
79505 ac_status=$?
79506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79507 (exit $ac_status); }; } &&
79508 { ac_try='test -s conftest$ac_exeext'
79509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79510 (eval $ac_try) 2>&5
79511 ac_status=$?
79512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79513 (exit $ac_status); }; }; then
79514 eval "$as_ac_var=yes"
79515 else
79516 echo "$as_me: failed program was:" >&5
79517 sed 's/^/| /' conftest.$ac_ext >&5
79518
79519 eval "$as_ac_var=no"
79520 fi
79521 rm -f conftest.err conftest.$ac_objext \
79522 conftest$ac_exeext conftest.$ac_ext
79523 fi
79524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79526 if test `eval echo '${'$as_ac_var'}'` = yes; then
79527 cat >>confdefs.h <<_ACEOF
79528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79529 _ACEOF
79530
79531 fi
79532 done
79533
79534 else
79535
79536 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79537 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79538 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79539 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79540 echo $ECHO_N "(cached) $ECHO_C" >&6
79541 else
79542
79543
79544
79545 ac_ext=cc
79546 ac_cpp='$CXXCPP $CPPFLAGS'
79547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79550
79551 cat >conftest.$ac_ext <<_ACEOF
79552 /* confdefs.h. */
79553 _ACEOF
79554 cat confdefs.h >>conftest.$ac_ext
79555 cat >>conftest.$ac_ext <<_ACEOF
79556 /* end confdefs.h. */
79557 #include <math.h>
79558 int
79559 main ()
79560 {
79561 _modfl(0, 0);
79562 ;
79563 return 0;
79564 }
79565 _ACEOF
79566 rm -f conftest.$ac_objext
79567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79568 (eval $ac_compile) 2>conftest.er1
79569 ac_status=$?
79570 grep -v '^ *+' conftest.er1 >conftest.err
79571 rm -f conftest.er1
79572 cat conftest.err >&5
79573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79574 (exit $ac_status); } &&
79575 { ac_try='test -z "$ac_cxx_werror_flag"
79576 || test ! -s conftest.err'
79577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79578 (eval $ac_try) 2>&5
79579 ac_status=$?
79580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79581 (exit $ac_status); }; } &&
79582 { ac_try='test -s conftest.$ac_objext'
79583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79584 (eval $ac_try) 2>&5
79585 ac_status=$?
79586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79587 (exit $ac_status); }; }; then
79588 glibcxx_cv_func__modfl_use=yes
79589 else
79590 echo "$as_me: failed program was:" >&5
79591 sed 's/^/| /' conftest.$ac_ext >&5
79592
79593 glibcxx_cv_func__modfl_use=no
79594 fi
79595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79596 ac_ext=c
79597 ac_cpp='$CPP $CPPFLAGS'
79598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79601
79602
79603 fi
79604
79605 fi
79606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79607 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79608
79609 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79610
79611 for ac_func in _modfl
79612 do
79613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79614 echo "$as_me:$LINENO: checking for $ac_func" >&5
79615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79616 if eval "test \"\${$as_ac_var+set}\" = set"; then
79617 echo $ECHO_N "(cached) $ECHO_C" >&6
79618 else
79619 if test x$gcc_no_link = xyes; then
79620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79622 { (exit 1); exit 1; }; }
79623 fi
79624 cat >conftest.$ac_ext <<_ACEOF
79625 /* confdefs.h. */
79626 _ACEOF
79627 cat confdefs.h >>conftest.$ac_ext
79628 cat >>conftest.$ac_ext <<_ACEOF
79629 /* end confdefs.h. */
79630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79632 #define $ac_func innocuous_$ac_func
79633
79634 /* System header to define __stub macros and hopefully few prototypes,
79635 which can conflict with char $ac_func (); below.
79636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79637 <limits.h> exists even on freestanding compilers. */
79638
79639 #ifdef __STDC__
79640 # include <limits.h>
79641 #else
79642 # include <assert.h>
79643 #endif
79644
79645 #undef $ac_func
79646
79647 /* Override any gcc2 internal prototype to avoid an error. */
79648 #ifdef __cplusplus
79649 extern "C"
79650 {
79651 #endif
79652 /* We use char because int might match the return type of a gcc2
79653 builtin and then its argument prototype would still apply. */
79654 char $ac_func ();
79655 /* The GNU C library defines this for functions which it implements
79656 to always fail with ENOSYS. Some functions are actually named
79657 something starting with __ and the normal name is an alias. */
79658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79659 choke me
79660 #else
79661 char (*f) () = $ac_func;
79662 #endif
79663 #ifdef __cplusplus
79664 }
79665 #endif
79666
79667 int
79668 main ()
79669 {
79670 return f != $ac_func;
79671 ;
79672 return 0;
79673 }
79674 _ACEOF
79675 rm -f conftest.$ac_objext conftest$ac_exeext
79676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79677 (eval $ac_link) 2>conftest.er1
79678 ac_status=$?
79679 grep -v '^ *+' conftest.er1 >conftest.err
79680 rm -f conftest.er1
79681 cat conftest.err >&5
79682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79683 (exit $ac_status); } &&
79684 { ac_try='test -z "$ac_c_werror_flag"
79685 || test ! -s conftest.err'
79686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79687 (eval $ac_try) 2>&5
79688 ac_status=$?
79689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79690 (exit $ac_status); }; } &&
79691 { ac_try='test -s conftest$ac_exeext'
79692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79693 (eval $ac_try) 2>&5
79694 ac_status=$?
79695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79696 (exit $ac_status); }; }; then
79697 eval "$as_ac_var=yes"
79698 else
79699 echo "$as_me: failed program was:" >&5
79700 sed 's/^/| /' conftest.$ac_ext >&5
79701
79702 eval "$as_ac_var=no"
79703 fi
79704 rm -f conftest.err conftest.$ac_objext \
79705 conftest$ac_exeext conftest.$ac_ext
79706 fi
79707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79709 if test `eval echo '${'$as_ac_var'}'` = yes; then
79710 cat >>confdefs.h <<_ACEOF
79711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79712 _ACEOF
79713
79714 fi
79715 done
79716
79717 fi
79718 fi
79719
79720
79721
79722
79723
79724
79725 echo "$as_me:$LINENO: checking for powl declaration" >&5
79726 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79727 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79728 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79729 echo $ECHO_N "(cached) $ECHO_C" >&6
79730 else
79731
79732
79733
79734 ac_ext=cc
79735 ac_cpp='$CXXCPP $CPPFLAGS'
79736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79739
79740 cat >conftest.$ac_ext <<_ACEOF
79741 /* confdefs.h. */
79742 _ACEOF
79743 cat confdefs.h >>conftest.$ac_ext
79744 cat >>conftest.$ac_ext <<_ACEOF
79745 /* end confdefs.h. */
79746 #include <math.h>
79747 int
79748 main ()
79749 {
79750 powl(0, 0);
79751 ;
79752 return 0;
79753 }
79754 _ACEOF
79755 rm -f conftest.$ac_objext
79756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79757 (eval $ac_compile) 2>conftest.er1
79758 ac_status=$?
79759 grep -v '^ *+' conftest.er1 >conftest.err
79760 rm -f conftest.er1
79761 cat conftest.err >&5
79762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79763 (exit $ac_status); } &&
79764 { ac_try='test -z "$ac_cxx_werror_flag"
79765 || test ! -s conftest.err'
79766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79767 (eval $ac_try) 2>&5
79768 ac_status=$?
79769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79770 (exit $ac_status); }; } &&
79771 { ac_try='test -s conftest.$ac_objext'
79772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79773 (eval $ac_try) 2>&5
79774 ac_status=$?
79775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79776 (exit $ac_status); }; }; then
79777 glibcxx_cv_func_powl_use=yes
79778 else
79779 echo "$as_me: failed program was:" >&5
79780 sed 's/^/| /' conftest.$ac_ext >&5
79781
79782 glibcxx_cv_func_powl_use=no
79783 fi
79784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79785 ac_ext=c
79786 ac_cpp='$CPP $CPPFLAGS'
79787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79790
79791
79792 fi
79793
79794 fi
79795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79796 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79797
79798 if test x$glibcxx_cv_func_powl_use = x"yes"; then
79799
79800 for ac_func in powl
79801 do
79802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79803 echo "$as_me:$LINENO: checking for $ac_func" >&5
79804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79805 if eval "test \"\${$as_ac_var+set}\" = set"; then
79806 echo $ECHO_N "(cached) $ECHO_C" >&6
79807 else
79808 if test x$gcc_no_link = xyes; then
79809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79811 { (exit 1); exit 1; }; }
79812 fi
79813 cat >conftest.$ac_ext <<_ACEOF
79814 /* confdefs.h. */
79815 _ACEOF
79816 cat confdefs.h >>conftest.$ac_ext
79817 cat >>conftest.$ac_ext <<_ACEOF
79818 /* end confdefs.h. */
79819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79821 #define $ac_func innocuous_$ac_func
79822
79823 /* System header to define __stub macros and hopefully few prototypes,
79824 which can conflict with char $ac_func (); below.
79825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79826 <limits.h> exists even on freestanding compilers. */
79827
79828 #ifdef __STDC__
79829 # include <limits.h>
79830 #else
79831 # include <assert.h>
79832 #endif
79833
79834 #undef $ac_func
79835
79836 /* Override any gcc2 internal prototype to avoid an error. */
79837 #ifdef __cplusplus
79838 extern "C"
79839 {
79840 #endif
79841 /* We use char because int might match the return type of a gcc2
79842 builtin and then its argument prototype would still apply. */
79843 char $ac_func ();
79844 /* The GNU C library defines this for functions which it implements
79845 to always fail with ENOSYS. Some functions are actually named
79846 something starting with __ and the normal name is an alias. */
79847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79848 choke me
79849 #else
79850 char (*f) () = $ac_func;
79851 #endif
79852 #ifdef __cplusplus
79853 }
79854 #endif
79855
79856 int
79857 main ()
79858 {
79859 return f != $ac_func;
79860 ;
79861 return 0;
79862 }
79863 _ACEOF
79864 rm -f conftest.$ac_objext conftest$ac_exeext
79865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79866 (eval $ac_link) 2>conftest.er1
79867 ac_status=$?
79868 grep -v '^ *+' conftest.er1 >conftest.err
79869 rm -f conftest.er1
79870 cat conftest.err >&5
79871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79872 (exit $ac_status); } &&
79873 { ac_try='test -z "$ac_c_werror_flag"
79874 || test ! -s conftest.err'
79875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79876 (eval $ac_try) 2>&5
79877 ac_status=$?
79878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79879 (exit $ac_status); }; } &&
79880 { ac_try='test -s conftest$ac_exeext'
79881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79882 (eval $ac_try) 2>&5
79883 ac_status=$?
79884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79885 (exit $ac_status); }; }; then
79886 eval "$as_ac_var=yes"
79887 else
79888 echo "$as_me: failed program was:" >&5
79889 sed 's/^/| /' conftest.$ac_ext >&5
79890
79891 eval "$as_ac_var=no"
79892 fi
79893 rm -f conftest.err conftest.$ac_objext \
79894 conftest$ac_exeext conftest.$ac_ext
79895 fi
79896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79898 if test `eval echo '${'$as_ac_var'}'` = yes; then
79899 cat >>confdefs.h <<_ACEOF
79900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79901 _ACEOF
79902
79903 fi
79904 done
79905
79906 else
79907
79908 echo "$as_me:$LINENO: checking for _powl declaration" >&5
79909 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79910 if test x${glibcxx_cv_func__powl_use+set} != xset; then
79911 if test "${glibcxx_cv_func__powl_use+set}" = set; then
79912 echo $ECHO_N "(cached) $ECHO_C" >&6
79913 else
79914
79915
79916
79917 ac_ext=cc
79918 ac_cpp='$CXXCPP $CPPFLAGS'
79919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79922
79923 cat >conftest.$ac_ext <<_ACEOF
79924 /* confdefs.h. */
79925 _ACEOF
79926 cat confdefs.h >>conftest.$ac_ext
79927 cat >>conftest.$ac_ext <<_ACEOF
79928 /* end confdefs.h. */
79929 #include <math.h>
79930 int
79931 main ()
79932 {
79933 _powl(0, 0);
79934 ;
79935 return 0;
79936 }
79937 _ACEOF
79938 rm -f conftest.$ac_objext
79939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79940 (eval $ac_compile) 2>conftest.er1
79941 ac_status=$?
79942 grep -v '^ *+' conftest.er1 >conftest.err
79943 rm -f conftest.er1
79944 cat conftest.err >&5
79945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79946 (exit $ac_status); } &&
79947 { ac_try='test -z "$ac_cxx_werror_flag"
79948 || test ! -s conftest.err'
79949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79950 (eval $ac_try) 2>&5
79951 ac_status=$?
79952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79953 (exit $ac_status); }; } &&
79954 { ac_try='test -s conftest.$ac_objext'
79955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79956 (eval $ac_try) 2>&5
79957 ac_status=$?
79958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79959 (exit $ac_status); }; }; then
79960 glibcxx_cv_func__powl_use=yes
79961 else
79962 echo "$as_me: failed program was:" >&5
79963 sed 's/^/| /' conftest.$ac_ext >&5
79964
79965 glibcxx_cv_func__powl_use=no
79966 fi
79967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79968 ac_ext=c
79969 ac_cpp='$CPP $CPPFLAGS'
79970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79973
79974
79975 fi
79976
79977 fi
79978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79979 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79980
79981 if test x$glibcxx_cv_func__powl_use = x"yes"; then
79982
79983 for ac_func in _powl
79984 do
79985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79986 echo "$as_me:$LINENO: checking for $ac_func" >&5
79987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79988 if eval "test \"\${$as_ac_var+set}\" = set"; then
79989 echo $ECHO_N "(cached) $ECHO_C" >&6
79990 else
79991 if test x$gcc_no_link = xyes; then
79992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79994 { (exit 1); exit 1; }; }
79995 fi
79996 cat >conftest.$ac_ext <<_ACEOF
79997 /* confdefs.h. */
79998 _ACEOF
79999 cat confdefs.h >>conftest.$ac_ext
80000 cat >>conftest.$ac_ext <<_ACEOF
80001 /* end confdefs.h. */
80002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80004 #define $ac_func innocuous_$ac_func
80005
80006 /* System header to define __stub macros and hopefully few prototypes,
80007 which can conflict with char $ac_func (); below.
80008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80009 <limits.h> exists even on freestanding compilers. */
80010
80011 #ifdef __STDC__
80012 # include <limits.h>
80013 #else
80014 # include <assert.h>
80015 #endif
80016
80017 #undef $ac_func
80018
80019 /* Override any gcc2 internal prototype to avoid an error. */
80020 #ifdef __cplusplus
80021 extern "C"
80022 {
80023 #endif
80024 /* We use char because int might match the return type of a gcc2
80025 builtin and then its argument prototype would still apply. */
80026 char $ac_func ();
80027 /* The GNU C library defines this for functions which it implements
80028 to always fail with ENOSYS. Some functions are actually named
80029 something starting with __ and the normal name is an alias. */
80030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80031 choke me
80032 #else
80033 char (*f) () = $ac_func;
80034 #endif
80035 #ifdef __cplusplus
80036 }
80037 #endif
80038
80039 int
80040 main ()
80041 {
80042 return f != $ac_func;
80043 ;
80044 return 0;
80045 }
80046 _ACEOF
80047 rm -f conftest.$ac_objext conftest$ac_exeext
80048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80049 (eval $ac_link) 2>conftest.er1
80050 ac_status=$?
80051 grep -v '^ *+' conftest.er1 >conftest.err
80052 rm -f conftest.er1
80053 cat conftest.err >&5
80054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80055 (exit $ac_status); } &&
80056 { ac_try='test -z "$ac_c_werror_flag"
80057 || test ! -s conftest.err'
80058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80059 (eval $ac_try) 2>&5
80060 ac_status=$?
80061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80062 (exit $ac_status); }; } &&
80063 { ac_try='test -s conftest$ac_exeext'
80064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80065 (eval $ac_try) 2>&5
80066 ac_status=$?
80067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80068 (exit $ac_status); }; }; then
80069 eval "$as_ac_var=yes"
80070 else
80071 echo "$as_me: failed program was:" >&5
80072 sed 's/^/| /' conftest.$ac_ext >&5
80073
80074 eval "$as_ac_var=no"
80075 fi
80076 rm -f conftest.err conftest.$ac_objext \
80077 conftest$ac_exeext conftest.$ac_ext
80078 fi
80079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80081 if test `eval echo '${'$as_ac_var'}'` = yes; then
80082 cat >>confdefs.h <<_ACEOF
80083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80084 _ACEOF
80085
80086 fi
80087 done
80088
80089 fi
80090 fi
80091
80092
80093
80094
80095
80096
80097 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80098 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80099 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80100 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80101 echo $ECHO_N "(cached) $ECHO_C" >&6
80102 else
80103
80104
80105
80106 ac_ext=cc
80107 ac_cpp='$CXXCPP $CPPFLAGS'
80108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80111
80112 cat >conftest.$ac_ext <<_ACEOF
80113 /* confdefs.h. */
80114 _ACEOF
80115 cat confdefs.h >>conftest.$ac_ext
80116 cat >>conftest.$ac_ext <<_ACEOF
80117 /* end confdefs.h. */
80118 #include <math.h>
80119 #ifdef HAVE_IEEEFP_H
80120 #include <ieeefp.h>
80121 #endif
80122
80123 int
80124 main ()
80125 {
80126 sqrtl(0);
80127 ;
80128 return 0;
80129 }
80130 _ACEOF
80131 rm -f conftest.$ac_objext
80132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80133 (eval $ac_compile) 2>conftest.er1
80134 ac_status=$?
80135 grep -v '^ *+' conftest.er1 >conftest.err
80136 rm -f conftest.er1
80137 cat conftest.err >&5
80138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80139 (exit $ac_status); } &&
80140 { ac_try='test -z "$ac_cxx_werror_flag"
80141 || test ! -s conftest.err'
80142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80143 (eval $ac_try) 2>&5
80144 ac_status=$?
80145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80146 (exit $ac_status); }; } &&
80147 { ac_try='test -s conftest.$ac_objext'
80148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80149 (eval $ac_try) 2>&5
80150 ac_status=$?
80151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80152 (exit $ac_status); }; }; then
80153 glibcxx_cv_func_sqrtl_use=yes
80154 else
80155 echo "$as_me: failed program was:" >&5
80156 sed 's/^/| /' conftest.$ac_ext >&5
80157
80158 glibcxx_cv_func_sqrtl_use=no
80159 fi
80160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80161 ac_ext=c
80162 ac_cpp='$CPP $CPPFLAGS'
80163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80166
80167
80168 fi
80169
80170 fi
80171 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80172 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80173
80174 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80175
80176 for ac_func in sqrtl
80177 do
80178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80179 echo "$as_me:$LINENO: checking for $ac_func" >&5
80180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80181 if eval "test \"\${$as_ac_var+set}\" = set"; then
80182 echo $ECHO_N "(cached) $ECHO_C" >&6
80183 else
80184 if test x$gcc_no_link = xyes; then
80185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80187 { (exit 1); exit 1; }; }
80188 fi
80189 cat >conftest.$ac_ext <<_ACEOF
80190 /* confdefs.h. */
80191 _ACEOF
80192 cat confdefs.h >>conftest.$ac_ext
80193 cat >>conftest.$ac_ext <<_ACEOF
80194 /* end confdefs.h. */
80195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80197 #define $ac_func innocuous_$ac_func
80198
80199 /* System header to define __stub macros and hopefully few prototypes,
80200 which can conflict with char $ac_func (); below.
80201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80202 <limits.h> exists even on freestanding compilers. */
80203
80204 #ifdef __STDC__
80205 # include <limits.h>
80206 #else
80207 # include <assert.h>
80208 #endif
80209
80210 #undef $ac_func
80211
80212 /* Override any gcc2 internal prototype to avoid an error. */
80213 #ifdef __cplusplus
80214 extern "C"
80215 {
80216 #endif
80217 /* We use char because int might match the return type of a gcc2
80218 builtin and then its argument prototype would still apply. */
80219 char $ac_func ();
80220 /* The GNU C library defines this for functions which it implements
80221 to always fail with ENOSYS. Some functions are actually named
80222 something starting with __ and the normal name is an alias. */
80223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80224 choke me
80225 #else
80226 char (*f) () = $ac_func;
80227 #endif
80228 #ifdef __cplusplus
80229 }
80230 #endif
80231
80232 int
80233 main ()
80234 {
80235 return f != $ac_func;
80236 ;
80237 return 0;
80238 }
80239 _ACEOF
80240 rm -f conftest.$ac_objext conftest$ac_exeext
80241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80242 (eval $ac_link) 2>conftest.er1
80243 ac_status=$?
80244 grep -v '^ *+' conftest.er1 >conftest.err
80245 rm -f conftest.er1
80246 cat conftest.err >&5
80247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80248 (exit $ac_status); } &&
80249 { ac_try='test -z "$ac_c_werror_flag"
80250 || test ! -s conftest.err'
80251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80252 (eval $ac_try) 2>&5
80253 ac_status=$?
80254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80255 (exit $ac_status); }; } &&
80256 { ac_try='test -s conftest$ac_exeext'
80257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80258 (eval $ac_try) 2>&5
80259 ac_status=$?
80260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80261 (exit $ac_status); }; }; then
80262 eval "$as_ac_var=yes"
80263 else
80264 echo "$as_me: failed program was:" >&5
80265 sed 's/^/| /' conftest.$ac_ext >&5
80266
80267 eval "$as_ac_var=no"
80268 fi
80269 rm -f conftest.err conftest.$ac_objext \
80270 conftest$ac_exeext conftest.$ac_ext
80271 fi
80272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80274 if test `eval echo '${'$as_ac_var'}'` = yes; then
80275 cat >>confdefs.h <<_ACEOF
80276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80277 _ACEOF
80278
80279 fi
80280 done
80281
80282 else
80283
80284 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80285 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80286 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80287 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80288 echo $ECHO_N "(cached) $ECHO_C" >&6
80289 else
80290
80291
80292
80293 ac_ext=cc
80294 ac_cpp='$CXXCPP $CPPFLAGS'
80295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80298
80299 cat >conftest.$ac_ext <<_ACEOF
80300 /* confdefs.h. */
80301 _ACEOF
80302 cat confdefs.h >>conftest.$ac_ext
80303 cat >>conftest.$ac_ext <<_ACEOF
80304 /* end confdefs.h. */
80305 #include <math.h>
80306 #ifdef HAVE_IEEEFP_H
80307 #include <ieeefp.h>
80308 #endif
80309
80310 int
80311 main ()
80312 {
80313 _sqrtl(0);
80314 ;
80315 return 0;
80316 }
80317 _ACEOF
80318 rm -f conftest.$ac_objext
80319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80320 (eval $ac_compile) 2>conftest.er1
80321 ac_status=$?
80322 grep -v '^ *+' conftest.er1 >conftest.err
80323 rm -f conftest.er1
80324 cat conftest.err >&5
80325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80326 (exit $ac_status); } &&
80327 { ac_try='test -z "$ac_cxx_werror_flag"
80328 || test ! -s conftest.err'
80329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80330 (eval $ac_try) 2>&5
80331 ac_status=$?
80332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80333 (exit $ac_status); }; } &&
80334 { ac_try='test -s conftest.$ac_objext'
80335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80336 (eval $ac_try) 2>&5
80337 ac_status=$?
80338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80339 (exit $ac_status); }; }; then
80340 glibcxx_cv_func__sqrtl_use=yes
80341 else
80342 echo "$as_me: failed program was:" >&5
80343 sed 's/^/| /' conftest.$ac_ext >&5
80344
80345 glibcxx_cv_func__sqrtl_use=no
80346 fi
80347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80348 ac_ext=c
80349 ac_cpp='$CPP $CPPFLAGS'
80350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80353
80354
80355 fi
80356
80357 fi
80358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80359 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80360
80361 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80362
80363 for ac_func in _sqrtl
80364 do
80365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80366 echo "$as_me:$LINENO: checking for $ac_func" >&5
80367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80368 if eval "test \"\${$as_ac_var+set}\" = set"; then
80369 echo $ECHO_N "(cached) $ECHO_C" >&6
80370 else
80371 if test x$gcc_no_link = xyes; then
80372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80374 { (exit 1); exit 1; }; }
80375 fi
80376 cat >conftest.$ac_ext <<_ACEOF
80377 /* confdefs.h. */
80378 _ACEOF
80379 cat confdefs.h >>conftest.$ac_ext
80380 cat >>conftest.$ac_ext <<_ACEOF
80381 /* end confdefs.h. */
80382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80384 #define $ac_func innocuous_$ac_func
80385
80386 /* System header to define __stub macros and hopefully few prototypes,
80387 which can conflict with char $ac_func (); below.
80388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80389 <limits.h> exists even on freestanding compilers. */
80390
80391 #ifdef __STDC__
80392 # include <limits.h>
80393 #else
80394 # include <assert.h>
80395 #endif
80396
80397 #undef $ac_func
80398
80399 /* Override any gcc2 internal prototype to avoid an error. */
80400 #ifdef __cplusplus
80401 extern "C"
80402 {
80403 #endif
80404 /* We use char because int might match the return type of a gcc2
80405 builtin and then its argument prototype would still apply. */
80406 char $ac_func ();
80407 /* The GNU C library defines this for functions which it implements
80408 to always fail with ENOSYS. Some functions are actually named
80409 something starting with __ and the normal name is an alias. */
80410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80411 choke me
80412 #else
80413 char (*f) () = $ac_func;
80414 #endif
80415 #ifdef __cplusplus
80416 }
80417 #endif
80418
80419 int
80420 main ()
80421 {
80422 return f != $ac_func;
80423 ;
80424 return 0;
80425 }
80426 _ACEOF
80427 rm -f conftest.$ac_objext conftest$ac_exeext
80428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80429 (eval $ac_link) 2>conftest.er1
80430 ac_status=$?
80431 grep -v '^ *+' conftest.er1 >conftest.err
80432 rm -f conftest.er1
80433 cat conftest.err >&5
80434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80435 (exit $ac_status); } &&
80436 { ac_try='test -z "$ac_c_werror_flag"
80437 || test ! -s conftest.err'
80438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80439 (eval $ac_try) 2>&5
80440 ac_status=$?
80441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80442 (exit $ac_status); }; } &&
80443 { ac_try='test -s conftest$ac_exeext'
80444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80445 (eval $ac_try) 2>&5
80446 ac_status=$?
80447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80448 (exit $ac_status); }; }; then
80449 eval "$as_ac_var=yes"
80450 else
80451 echo "$as_me: failed program was:" >&5
80452 sed 's/^/| /' conftest.$ac_ext >&5
80453
80454 eval "$as_ac_var=no"
80455 fi
80456 rm -f conftest.err conftest.$ac_objext \
80457 conftest$ac_exeext conftest.$ac_ext
80458 fi
80459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80461 if test `eval echo '${'$as_ac_var'}'` = yes; then
80462 cat >>confdefs.h <<_ACEOF
80463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80464 _ACEOF
80465
80466 fi
80467 done
80468
80469 fi
80470 fi
80471
80472
80473
80474
80475
80476
80477 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80478 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80479 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80480 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80481 echo $ECHO_N "(cached) $ECHO_C" >&6
80482 else
80483
80484
80485
80486 ac_ext=cc
80487 ac_cpp='$CXXCPP $CPPFLAGS'
80488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80491
80492 cat >conftest.$ac_ext <<_ACEOF
80493 /* confdefs.h. */
80494 _ACEOF
80495 cat confdefs.h >>conftest.$ac_ext
80496 cat >>conftest.$ac_ext <<_ACEOF
80497 /* end confdefs.h. */
80498 #include <math.h>
80499 int
80500 main ()
80501 {
80502 sincosl(0, 0, 0);
80503 ;
80504 return 0;
80505 }
80506 _ACEOF
80507 rm -f conftest.$ac_objext
80508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80509 (eval $ac_compile) 2>conftest.er1
80510 ac_status=$?
80511 grep -v '^ *+' conftest.er1 >conftest.err
80512 rm -f conftest.er1
80513 cat conftest.err >&5
80514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80515 (exit $ac_status); } &&
80516 { ac_try='test -z "$ac_cxx_werror_flag"
80517 || test ! -s conftest.err'
80518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80519 (eval $ac_try) 2>&5
80520 ac_status=$?
80521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80522 (exit $ac_status); }; } &&
80523 { ac_try='test -s conftest.$ac_objext'
80524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80525 (eval $ac_try) 2>&5
80526 ac_status=$?
80527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80528 (exit $ac_status); }; }; then
80529 glibcxx_cv_func_sincosl_use=yes
80530 else
80531 echo "$as_me: failed program was:" >&5
80532 sed 's/^/| /' conftest.$ac_ext >&5
80533
80534 glibcxx_cv_func_sincosl_use=no
80535 fi
80536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80537 ac_ext=c
80538 ac_cpp='$CPP $CPPFLAGS'
80539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80542
80543
80544 fi
80545
80546 fi
80547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80548 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80549
80550 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80551
80552 for ac_func in sincosl
80553 do
80554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80555 echo "$as_me:$LINENO: checking for $ac_func" >&5
80556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80557 if eval "test \"\${$as_ac_var+set}\" = set"; then
80558 echo $ECHO_N "(cached) $ECHO_C" >&6
80559 else
80560 if test x$gcc_no_link = xyes; then
80561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80563 { (exit 1); exit 1; }; }
80564 fi
80565 cat >conftest.$ac_ext <<_ACEOF
80566 /* confdefs.h. */
80567 _ACEOF
80568 cat confdefs.h >>conftest.$ac_ext
80569 cat >>conftest.$ac_ext <<_ACEOF
80570 /* end confdefs.h. */
80571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80573 #define $ac_func innocuous_$ac_func
80574
80575 /* System header to define __stub macros and hopefully few prototypes,
80576 which can conflict with char $ac_func (); below.
80577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80578 <limits.h> exists even on freestanding compilers. */
80579
80580 #ifdef __STDC__
80581 # include <limits.h>
80582 #else
80583 # include <assert.h>
80584 #endif
80585
80586 #undef $ac_func
80587
80588 /* Override any gcc2 internal prototype to avoid an error. */
80589 #ifdef __cplusplus
80590 extern "C"
80591 {
80592 #endif
80593 /* We use char because int might match the return type of a gcc2
80594 builtin and then its argument prototype would still apply. */
80595 char $ac_func ();
80596 /* The GNU C library defines this for functions which it implements
80597 to always fail with ENOSYS. Some functions are actually named
80598 something starting with __ and the normal name is an alias. */
80599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80600 choke me
80601 #else
80602 char (*f) () = $ac_func;
80603 #endif
80604 #ifdef __cplusplus
80605 }
80606 #endif
80607
80608 int
80609 main ()
80610 {
80611 return f != $ac_func;
80612 ;
80613 return 0;
80614 }
80615 _ACEOF
80616 rm -f conftest.$ac_objext conftest$ac_exeext
80617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80618 (eval $ac_link) 2>conftest.er1
80619 ac_status=$?
80620 grep -v '^ *+' conftest.er1 >conftest.err
80621 rm -f conftest.er1
80622 cat conftest.err >&5
80623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80624 (exit $ac_status); } &&
80625 { ac_try='test -z "$ac_c_werror_flag"
80626 || test ! -s conftest.err'
80627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80628 (eval $ac_try) 2>&5
80629 ac_status=$?
80630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80631 (exit $ac_status); }; } &&
80632 { ac_try='test -s conftest$ac_exeext'
80633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80634 (eval $ac_try) 2>&5
80635 ac_status=$?
80636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80637 (exit $ac_status); }; }; then
80638 eval "$as_ac_var=yes"
80639 else
80640 echo "$as_me: failed program was:" >&5
80641 sed 's/^/| /' conftest.$ac_ext >&5
80642
80643 eval "$as_ac_var=no"
80644 fi
80645 rm -f conftest.err conftest.$ac_objext \
80646 conftest$ac_exeext conftest.$ac_ext
80647 fi
80648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80650 if test `eval echo '${'$as_ac_var'}'` = yes; then
80651 cat >>confdefs.h <<_ACEOF
80652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80653 _ACEOF
80654
80655 fi
80656 done
80657
80658 else
80659
80660 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80661 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80662 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80663 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80664 echo $ECHO_N "(cached) $ECHO_C" >&6
80665 else
80666
80667
80668
80669 ac_ext=cc
80670 ac_cpp='$CXXCPP $CPPFLAGS'
80671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80674
80675 cat >conftest.$ac_ext <<_ACEOF
80676 /* confdefs.h. */
80677 _ACEOF
80678 cat confdefs.h >>conftest.$ac_ext
80679 cat >>conftest.$ac_ext <<_ACEOF
80680 /* end confdefs.h. */
80681 #include <math.h>
80682 int
80683 main ()
80684 {
80685 _sincosl(0, 0, 0);
80686 ;
80687 return 0;
80688 }
80689 _ACEOF
80690 rm -f conftest.$ac_objext
80691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80692 (eval $ac_compile) 2>conftest.er1
80693 ac_status=$?
80694 grep -v '^ *+' conftest.er1 >conftest.err
80695 rm -f conftest.er1
80696 cat conftest.err >&5
80697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80698 (exit $ac_status); } &&
80699 { ac_try='test -z "$ac_cxx_werror_flag"
80700 || test ! -s conftest.err'
80701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80702 (eval $ac_try) 2>&5
80703 ac_status=$?
80704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80705 (exit $ac_status); }; } &&
80706 { ac_try='test -s conftest.$ac_objext'
80707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80708 (eval $ac_try) 2>&5
80709 ac_status=$?
80710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80711 (exit $ac_status); }; }; then
80712 glibcxx_cv_func__sincosl_use=yes
80713 else
80714 echo "$as_me: failed program was:" >&5
80715 sed 's/^/| /' conftest.$ac_ext >&5
80716
80717 glibcxx_cv_func__sincosl_use=no
80718 fi
80719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80720 ac_ext=c
80721 ac_cpp='$CPP $CPPFLAGS'
80722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80725
80726
80727 fi
80728
80729 fi
80730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80731 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80732
80733 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80734
80735 for ac_func in _sincosl
80736 do
80737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80738 echo "$as_me:$LINENO: checking for $ac_func" >&5
80739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80740 if eval "test \"\${$as_ac_var+set}\" = set"; then
80741 echo $ECHO_N "(cached) $ECHO_C" >&6
80742 else
80743 if test x$gcc_no_link = xyes; then
80744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80746 { (exit 1); exit 1; }; }
80747 fi
80748 cat >conftest.$ac_ext <<_ACEOF
80749 /* confdefs.h. */
80750 _ACEOF
80751 cat confdefs.h >>conftest.$ac_ext
80752 cat >>conftest.$ac_ext <<_ACEOF
80753 /* end confdefs.h. */
80754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80756 #define $ac_func innocuous_$ac_func
80757
80758 /* System header to define __stub macros and hopefully few prototypes,
80759 which can conflict with char $ac_func (); below.
80760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80761 <limits.h> exists even on freestanding compilers. */
80762
80763 #ifdef __STDC__
80764 # include <limits.h>
80765 #else
80766 # include <assert.h>
80767 #endif
80768
80769 #undef $ac_func
80770
80771 /* Override any gcc2 internal prototype to avoid an error. */
80772 #ifdef __cplusplus
80773 extern "C"
80774 {
80775 #endif
80776 /* We use char because int might match the return type of a gcc2
80777 builtin and then its argument prototype would still apply. */
80778 char $ac_func ();
80779 /* The GNU C library defines this for functions which it implements
80780 to always fail with ENOSYS. Some functions are actually named
80781 something starting with __ and the normal name is an alias. */
80782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80783 choke me
80784 #else
80785 char (*f) () = $ac_func;
80786 #endif
80787 #ifdef __cplusplus
80788 }
80789 #endif
80790
80791 int
80792 main ()
80793 {
80794 return f != $ac_func;
80795 ;
80796 return 0;
80797 }
80798 _ACEOF
80799 rm -f conftest.$ac_objext conftest$ac_exeext
80800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80801 (eval $ac_link) 2>conftest.er1
80802 ac_status=$?
80803 grep -v '^ *+' conftest.er1 >conftest.err
80804 rm -f conftest.er1
80805 cat conftest.err >&5
80806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80807 (exit $ac_status); } &&
80808 { ac_try='test -z "$ac_c_werror_flag"
80809 || test ! -s conftest.err'
80810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80811 (eval $ac_try) 2>&5
80812 ac_status=$?
80813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80814 (exit $ac_status); }; } &&
80815 { ac_try='test -s conftest$ac_exeext'
80816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80817 (eval $ac_try) 2>&5
80818 ac_status=$?
80819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80820 (exit $ac_status); }; }; then
80821 eval "$as_ac_var=yes"
80822 else
80823 echo "$as_me: failed program was:" >&5
80824 sed 's/^/| /' conftest.$ac_ext >&5
80825
80826 eval "$as_ac_var=no"
80827 fi
80828 rm -f conftest.err conftest.$ac_objext \
80829 conftest$ac_exeext conftest.$ac_ext
80830 fi
80831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80833 if test `eval echo '${'$as_ac_var'}'` = yes; then
80834 cat >>confdefs.h <<_ACEOF
80835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80836 _ACEOF
80837
80838 fi
80839 done
80840
80841 fi
80842 fi
80843
80844
80845
80846
80847
80848
80849 echo "$as_me:$LINENO: checking for finitel declaration" >&5
80850 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80851 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80852 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80853 echo $ECHO_N "(cached) $ECHO_C" >&6
80854 else
80855
80856
80857
80858 ac_ext=cc
80859 ac_cpp='$CXXCPP $CPPFLAGS'
80860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80863
80864 cat >conftest.$ac_ext <<_ACEOF
80865 /* confdefs.h. */
80866 _ACEOF
80867 cat confdefs.h >>conftest.$ac_ext
80868 cat >>conftest.$ac_ext <<_ACEOF
80869 /* end confdefs.h. */
80870 #include <math.h>
80871 #ifdef HAVE_IEEEFP_H
80872 #include <ieeefp.h>
80873 #endif
80874
80875 int
80876 main ()
80877 {
80878 finitel(0);
80879 ;
80880 return 0;
80881 }
80882 _ACEOF
80883 rm -f conftest.$ac_objext
80884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80885 (eval $ac_compile) 2>conftest.er1
80886 ac_status=$?
80887 grep -v '^ *+' conftest.er1 >conftest.err
80888 rm -f conftest.er1
80889 cat conftest.err >&5
80890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80891 (exit $ac_status); } &&
80892 { ac_try='test -z "$ac_cxx_werror_flag"
80893 || test ! -s conftest.err'
80894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80895 (eval $ac_try) 2>&5
80896 ac_status=$?
80897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80898 (exit $ac_status); }; } &&
80899 { ac_try='test -s conftest.$ac_objext'
80900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80901 (eval $ac_try) 2>&5
80902 ac_status=$?
80903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80904 (exit $ac_status); }; }; then
80905 glibcxx_cv_func_finitel_use=yes
80906 else
80907 echo "$as_me: failed program was:" >&5
80908 sed 's/^/| /' conftest.$ac_ext >&5
80909
80910 glibcxx_cv_func_finitel_use=no
80911 fi
80912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80913 ac_ext=c
80914 ac_cpp='$CPP $CPPFLAGS'
80915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80918
80919
80920 fi
80921
80922 fi
80923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80924 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80925
80926 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80927
80928 for ac_func in finitel
80929 do
80930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80931 echo "$as_me:$LINENO: checking for $ac_func" >&5
80932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80933 if eval "test \"\${$as_ac_var+set}\" = set"; then
80934 echo $ECHO_N "(cached) $ECHO_C" >&6
80935 else
80936 if test x$gcc_no_link = xyes; then
80937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80939 { (exit 1); exit 1; }; }
80940 fi
80941 cat >conftest.$ac_ext <<_ACEOF
80942 /* confdefs.h. */
80943 _ACEOF
80944 cat confdefs.h >>conftest.$ac_ext
80945 cat >>conftest.$ac_ext <<_ACEOF
80946 /* end confdefs.h. */
80947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80949 #define $ac_func innocuous_$ac_func
80950
80951 /* System header to define __stub macros and hopefully few prototypes,
80952 which can conflict with char $ac_func (); below.
80953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80954 <limits.h> exists even on freestanding compilers. */
80955
80956 #ifdef __STDC__
80957 # include <limits.h>
80958 #else
80959 # include <assert.h>
80960 #endif
80961
80962 #undef $ac_func
80963
80964 /* Override any gcc2 internal prototype to avoid an error. */
80965 #ifdef __cplusplus
80966 extern "C"
80967 {
80968 #endif
80969 /* We use char because int might match the return type of a gcc2
80970 builtin and then its argument prototype would still apply. */
80971 char $ac_func ();
80972 /* The GNU C library defines this for functions which it implements
80973 to always fail with ENOSYS. Some functions are actually named
80974 something starting with __ and the normal name is an alias. */
80975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80976 choke me
80977 #else
80978 char (*f) () = $ac_func;
80979 #endif
80980 #ifdef __cplusplus
80981 }
80982 #endif
80983
80984 int
80985 main ()
80986 {
80987 return f != $ac_func;
80988 ;
80989 return 0;
80990 }
80991 _ACEOF
80992 rm -f conftest.$ac_objext conftest$ac_exeext
80993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80994 (eval $ac_link) 2>conftest.er1
80995 ac_status=$?
80996 grep -v '^ *+' conftest.er1 >conftest.err
80997 rm -f conftest.er1
80998 cat conftest.err >&5
80999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81000 (exit $ac_status); } &&
81001 { ac_try='test -z "$ac_c_werror_flag"
81002 || test ! -s conftest.err'
81003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81004 (eval $ac_try) 2>&5
81005 ac_status=$?
81006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81007 (exit $ac_status); }; } &&
81008 { ac_try='test -s conftest$ac_exeext'
81009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81010 (eval $ac_try) 2>&5
81011 ac_status=$?
81012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81013 (exit $ac_status); }; }; then
81014 eval "$as_ac_var=yes"
81015 else
81016 echo "$as_me: failed program was:" >&5
81017 sed 's/^/| /' conftest.$ac_ext >&5
81018
81019 eval "$as_ac_var=no"
81020 fi
81021 rm -f conftest.err conftest.$ac_objext \
81022 conftest$ac_exeext conftest.$ac_ext
81023 fi
81024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81026 if test `eval echo '${'$as_ac_var'}'` = yes; then
81027 cat >>confdefs.h <<_ACEOF
81028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81029 _ACEOF
81030
81031 fi
81032 done
81033
81034 else
81035
81036 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81037 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81038 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81039 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81040 echo $ECHO_N "(cached) $ECHO_C" >&6
81041 else
81042
81043
81044
81045 ac_ext=cc
81046 ac_cpp='$CXXCPP $CPPFLAGS'
81047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81050
81051 cat >conftest.$ac_ext <<_ACEOF
81052 /* confdefs.h. */
81053 _ACEOF
81054 cat confdefs.h >>conftest.$ac_ext
81055 cat >>conftest.$ac_ext <<_ACEOF
81056 /* end confdefs.h. */
81057 #include <math.h>
81058 #ifdef HAVE_IEEEFP_H
81059 #include <ieeefp.h>
81060 #endif
81061
81062 int
81063 main ()
81064 {
81065 _finitel(0);
81066 ;
81067 return 0;
81068 }
81069 _ACEOF
81070 rm -f conftest.$ac_objext
81071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81072 (eval $ac_compile) 2>conftest.er1
81073 ac_status=$?
81074 grep -v '^ *+' conftest.er1 >conftest.err
81075 rm -f conftest.er1
81076 cat conftest.err >&5
81077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81078 (exit $ac_status); } &&
81079 { ac_try='test -z "$ac_cxx_werror_flag"
81080 || test ! -s conftest.err'
81081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81082 (eval $ac_try) 2>&5
81083 ac_status=$?
81084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81085 (exit $ac_status); }; } &&
81086 { ac_try='test -s conftest.$ac_objext'
81087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81088 (eval $ac_try) 2>&5
81089 ac_status=$?
81090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81091 (exit $ac_status); }; }; then
81092 glibcxx_cv_func__finitel_use=yes
81093 else
81094 echo "$as_me: failed program was:" >&5
81095 sed 's/^/| /' conftest.$ac_ext >&5
81096
81097 glibcxx_cv_func__finitel_use=no
81098 fi
81099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81100 ac_ext=c
81101 ac_cpp='$CPP $CPPFLAGS'
81102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81105
81106
81107 fi
81108
81109 fi
81110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81111 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81112
81113 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81114
81115 for ac_func in _finitel
81116 do
81117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81118 echo "$as_me:$LINENO: checking for $ac_func" >&5
81119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81120 if eval "test \"\${$as_ac_var+set}\" = set"; then
81121 echo $ECHO_N "(cached) $ECHO_C" >&6
81122 else
81123 if test x$gcc_no_link = xyes; then
81124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81126 { (exit 1); exit 1; }; }
81127 fi
81128 cat >conftest.$ac_ext <<_ACEOF
81129 /* confdefs.h. */
81130 _ACEOF
81131 cat confdefs.h >>conftest.$ac_ext
81132 cat >>conftest.$ac_ext <<_ACEOF
81133 /* end confdefs.h. */
81134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81136 #define $ac_func innocuous_$ac_func
81137
81138 /* System header to define __stub macros and hopefully few prototypes,
81139 which can conflict with char $ac_func (); below.
81140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81141 <limits.h> exists even on freestanding compilers. */
81142
81143 #ifdef __STDC__
81144 # include <limits.h>
81145 #else
81146 # include <assert.h>
81147 #endif
81148
81149 #undef $ac_func
81150
81151 /* Override any gcc2 internal prototype to avoid an error. */
81152 #ifdef __cplusplus
81153 extern "C"
81154 {
81155 #endif
81156 /* We use char because int might match the return type of a gcc2
81157 builtin and then its argument prototype would still apply. */
81158 char $ac_func ();
81159 /* The GNU C library defines this for functions which it implements
81160 to always fail with ENOSYS. Some functions are actually named
81161 something starting with __ and the normal name is an alias. */
81162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81163 choke me
81164 #else
81165 char (*f) () = $ac_func;
81166 #endif
81167 #ifdef __cplusplus
81168 }
81169 #endif
81170
81171 int
81172 main ()
81173 {
81174 return f != $ac_func;
81175 ;
81176 return 0;
81177 }
81178 _ACEOF
81179 rm -f conftest.$ac_objext conftest$ac_exeext
81180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81181 (eval $ac_link) 2>conftest.er1
81182 ac_status=$?
81183 grep -v '^ *+' conftest.er1 >conftest.err
81184 rm -f conftest.er1
81185 cat conftest.err >&5
81186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81187 (exit $ac_status); } &&
81188 { ac_try='test -z "$ac_c_werror_flag"
81189 || test ! -s conftest.err'
81190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81191 (eval $ac_try) 2>&5
81192 ac_status=$?
81193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81194 (exit $ac_status); }; } &&
81195 { ac_try='test -s conftest$ac_exeext'
81196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81197 (eval $ac_try) 2>&5
81198 ac_status=$?
81199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81200 (exit $ac_status); }; }; then
81201 eval "$as_ac_var=yes"
81202 else
81203 echo "$as_me: failed program was:" >&5
81204 sed 's/^/| /' conftest.$ac_ext >&5
81205
81206 eval "$as_ac_var=no"
81207 fi
81208 rm -f conftest.err conftest.$ac_objext \
81209 conftest$ac_exeext conftest.$ac_ext
81210 fi
81211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81213 if test `eval echo '${'$as_ac_var'}'` = yes; then
81214 cat >>confdefs.h <<_ACEOF
81215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81216 _ACEOF
81217
81218 fi
81219 done
81220
81221 fi
81222 fi
81223
81224
81225
81226
81227
81228 LIBS="$ac_save_LIBS"
81229 CXXFLAGS="$ac_save_CXXFLAGS"
81230
81231
81232
81233 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81234 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81235 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81236 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81237 echo $ECHO_N "(cached) $ECHO_C" >&6
81238 else
81239
81240
81241
81242 ac_ext=cc
81243 ac_cpp='$CXXCPP $CPPFLAGS'
81244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81247
81248 cat >conftest.$ac_ext <<_ACEOF
81249 /* confdefs.h. */
81250 _ACEOF
81251 cat confdefs.h >>conftest.$ac_ext
81252 cat >>conftest.$ac_ext <<_ACEOF
81253 /* end confdefs.h. */
81254 #include <math.h>
81255 int
81256 main ()
81257 {
81258 __builtin_abs(0);
81259 ;
81260 return 0;
81261 }
81262 _ACEOF
81263 rm -f conftest.$ac_objext
81264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81265 (eval $ac_compile) 2>conftest.er1
81266 ac_status=$?
81267 grep -v '^ *+' conftest.er1 >conftest.err
81268 rm -f conftest.er1
81269 cat conftest.err >&5
81270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81271 (exit $ac_status); } &&
81272 { ac_try='test -z "$ac_cxx_werror_flag"
81273 || test ! -s conftest.err'
81274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81275 (eval $ac_try) 2>&5
81276 ac_status=$?
81277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81278 (exit $ac_status); }; } &&
81279 { ac_try='test -s conftest.$ac_objext'
81280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81281 (eval $ac_try) 2>&5
81282 ac_status=$?
81283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81284 (exit $ac_status); }; }; then
81285 glibcxx_cv_func___builtin_abs_use=yes
81286 else
81287 echo "$as_me: failed program was:" >&5
81288 sed 's/^/| /' conftest.$ac_ext >&5
81289
81290 glibcxx_cv_func___builtin_abs_use=no
81291 fi
81292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81293 ac_ext=c
81294 ac_cpp='$CPP $CPPFLAGS'
81295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81298
81299
81300 fi
81301
81302 fi
81303 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81304 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81305 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81306 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81307 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81308 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81309 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81310 echo $ECHO_N "(cached) $ECHO_C" >&6
81311 else
81312
81313 if test x$gcc_no_link = xyes; then
81314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81316 { (exit 1); exit 1; }; }
81317 fi
81318 cat >conftest.$ac_ext <<_ACEOF
81319 /* confdefs.h. */
81320 _ACEOF
81321 cat confdefs.h >>conftest.$ac_ext
81322 cat >>conftest.$ac_ext <<_ACEOF
81323 /* end confdefs.h. */
81324 #include <math.h>
81325 int
81326 main ()
81327 {
81328 __builtin_abs(0);
81329 ;
81330 return 0;
81331 }
81332 _ACEOF
81333 rm -f conftest.$ac_objext conftest$ac_exeext
81334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81335 (eval $ac_link) 2>conftest.er1
81336 ac_status=$?
81337 grep -v '^ *+' conftest.er1 >conftest.err
81338 rm -f conftest.er1
81339 cat conftest.err >&5
81340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81341 (exit $ac_status); } &&
81342 { ac_try='test -z "$ac_c_werror_flag"
81343 || test ! -s conftest.err'
81344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81345 (eval $ac_try) 2>&5
81346 ac_status=$?
81347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81348 (exit $ac_status); }; } &&
81349 { ac_try='test -s conftest$ac_exeext'
81350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81351 (eval $ac_try) 2>&5
81352 ac_status=$?
81353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81354 (exit $ac_status); }; }; then
81355 glibcxx_cv_func___builtin_abs_link=yes
81356 else
81357 echo "$as_me: failed program was:" >&5
81358 sed 's/^/| /' conftest.$ac_ext >&5
81359
81360 glibcxx_cv_func___builtin_abs_link=no
81361 fi
81362 rm -f conftest.err conftest.$ac_objext \
81363 conftest$ac_exeext conftest.$ac_ext
81364
81365 fi
81366
81367 fi
81368 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81369 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81370
81371 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81372
81373 cat >>confdefs.h <<\_ACEOF
81374 #define HAVE___BUILTIN_ABS 1
81375 _ACEOF
81376
81377 fi
81378
81379 fi
81380
81381
81382 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81383 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81384 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81385 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81386 echo $ECHO_N "(cached) $ECHO_C" >&6
81387 else
81388
81389
81390
81391 ac_ext=cc
81392 ac_cpp='$CXXCPP $CPPFLAGS'
81393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81396
81397 cat >conftest.$ac_ext <<_ACEOF
81398 /* confdefs.h. */
81399 _ACEOF
81400 cat confdefs.h >>conftest.$ac_ext
81401 cat >>conftest.$ac_ext <<_ACEOF
81402 /* end confdefs.h. */
81403 #include <math.h>
81404 int
81405 main ()
81406 {
81407 __builtin_fabsf(0);
81408 ;
81409 return 0;
81410 }
81411 _ACEOF
81412 rm -f conftest.$ac_objext
81413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81414 (eval $ac_compile) 2>conftest.er1
81415 ac_status=$?
81416 grep -v '^ *+' conftest.er1 >conftest.err
81417 rm -f conftest.er1
81418 cat conftest.err >&5
81419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81420 (exit $ac_status); } &&
81421 { ac_try='test -z "$ac_cxx_werror_flag"
81422 || test ! -s conftest.err'
81423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81424 (eval $ac_try) 2>&5
81425 ac_status=$?
81426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81427 (exit $ac_status); }; } &&
81428 { ac_try='test -s conftest.$ac_objext'
81429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81430 (eval $ac_try) 2>&5
81431 ac_status=$?
81432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433 (exit $ac_status); }; }; then
81434 glibcxx_cv_func___builtin_fabsf_use=yes
81435 else
81436 echo "$as_me: failed program was:" >&5
81437 sed 's/^/| /' conftest.$ac_ext >&5
81438
81439 glibcxx_cv_func___builtin_fabsf_use=no
81440 fi
81441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81442 ac_ext=c
81443 ac_cpp='$CPP $CPPFLAGS'
81444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81447
81448
81449 fi
81450
81451 fi
81452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81453 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81454 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81455 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81456 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81457 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81458 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81459 echo $ECHO_N "(cached) $ECHO_C" >&6
81460 else
81461
81462 if test x$gcc_no_link = xyes; then
81463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81465 { (exit 1); exit 1; }; }
81466 fi
81467 cat >conftest.$ac_ext <<_ACEOF
81468 /* confdefs.h. */
81469 _ACEOF
81470 cat confdefs.h >>conftest.$ac_ext
81471 cat >>conftest.$ac_ext <<_ACEOF
81472 /* end confdefs.h. */
81473 #include <math.h>
81474 int
81475 main ()
81476 {
81477 __builtin_fabsf(0);
81478 ;
81479 return 0;
81480 }
81481 _ACEOF
81482 rm -f conftest.$ac_objext conftest$ac_exeext
81483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81484 (eval $ac_link) 2>conftest.er1
81485 ac_status=$?
81486 grep -v '^ *+' conftest.er1 >conftest.err
81487 rm -f conftest.er1
81488 cat conftest.err >&5
81489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81490 (exit $ac_status); } &&
81491 { ac_try='test -z "$ac_c_werror_flag"
81492 || test ! -s conftest.err'
81493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81494 (eval $ac_try) 2>&5
81495 ac_status=$?
81496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81497 (exit $ac_status); }; } &&
81498 { ac_try='test -s conftest$ac_exeext'
81499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81500 (eval $ac_try) 2>&5
81501 ac_status=$?
81502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81503 (exit $ac_status); }; }; then
81504 glibcxx_cv_func___builtin_fabsf_link=yes
81505 else
81506 echo "$as_me: failed program was:" >&5
81507 sed 's/^/| /' conftest.$ac_ext >&5
81508
81509 glibcxx_cv_func___builtin_fabsf_link=no
81510 fi
81511 rm -f conftest.err conftest.$ac_objext \
81512 conftest$ac_exeext conftest.$ac_ext
81513
81514 fi
81515
81516 fi
81517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81518 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81519
81520 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81521
81522 cat >>confdefs.h <<\_ACEOF
81523 #define HAVE___BUILTIN_FABSF 1
81524 _ACEOF
81525
81526 fi
81527
81528 fi
81529
81530
81531 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81532 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81533 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81534 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81535 echo $ECHO_N "(cached) $ECHO_C" >&6
81536 else
81537
81538
81539
81540 ac_ext=cc
81541 ac_cpp='$CXXCPP $CPPFLAGS'
81542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81545
81546 cat >conftest.$ac_ext <<_ACEOF
81547 /* confdefs.h. */
81548 _ACEOF
81549 cat confdefs.h >>conftest.$ac_ext
81550 cat >>conftest.$ac_ext <<_ACEOF
81551 /* end confdefs.h. */
81552 #include <math.h>
81553 int
81554 main ()
81555 {
81556 __builtin_fabs(0);
81557 ;
81558 return 0;
81559 }
81560 _ACEOF
81561 rm -f conftest.$ac_objext
81562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81563 (eval $ac_compile) 2>conftest.er1
81564 ac_status=$?
81565 grep -v '^ *+' conftest.er1 >conftest.err
81566 rm -f conftest.er1
81567 cat conftest.err >&5
81568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81569 (exit $ac_status); } &&
81570 { ac_try='test -z "$ac_cxx_werror_flag"
81571 || test ! -s conftest.err'
81572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81573 (eval $ac_try) 2>&5
81574 ac_status=$?
81575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81576 (exit $ac_status); }; } &&
81577 { ac_try='test -s conftest.$ac_objext'
81578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81579 (eval $ac_try) 2>&5
81580 ac_status=$?
81581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81582 (exit $ac_status); }; }; then
81583 glibcxx_cv_func___builtin_fabs_use=yes
81584 else
81585 echo "$as_me: failed program was:" >&5
81586 sed 's/^/| /' conftest.$ac_ext >&5
81587
81588 glibcxx_cv_func___builtin_fabs_use=no
81589 fi
81590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81591 ac_ext=c
81592 ac_cpp='$CPP $CPPFLAGS'
81593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81596
81597
81598 fi
81599
81600 fi
81601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81602 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81603 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81604 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81605 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81606 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81607 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81608 echo $ECHO_N "(cached) $ECHO_C" >&6
81609 else
81610
81611 if test x$gcc_no_link = xyes; then
81612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81614 { (exit 1); exit 1; }; }
81615 fi
81616 cat >conftest.$ac_ext <<_ACEOF
81617 /* confdefs.h. */
81618 _ACEOF
81619 cat confdefs.h >>conftest.$ac_ext
81620 cat >>conftest.$ac_ext <<_ACEOF
81621 /* end confdefs.h. */
81622 #include <math.h>
81623 int
81624 main ()
81625 {
81626 __builtin_fabs(0);
81627 ;
81628 return 0;
81629 }
81630 _ACEOF
81631 rm -f conftest.$ac_objext conftest$ac_exeext
81632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81633 (eval $ac_link) 2>conftest.er1
81634 ac_status=$?
81635 grep -v '^ *+' conftest.er1 >conftest.err
81636 rm -f conftest.er1
81637 cat conftest.err >&5
81638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81639 (exit $ac_status); } &&
81640 { ac_try='test -z "$ac_c_werror_flag"
81641 || test ! -s conftest.err'
81642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81643 (eval $ac_try) 2>&5
81644 ac_status=$?
81645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81646 (exit $ac_status); }; } &&
81647 { ac_try='test -s conftest$ac_exeext'
81648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81649 (eval $ac_try) 2>&5
81650 ac_status=$?
81651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81652 (exit $ac_status); }; }; then
81653 glibcxx_cv_func___builtin_fabs_link=yes
81654 else
81655 echo "$as_me: failed program was:" >&5
81656 sed 's/^/| /' conftest.$ac_ext >&5
81657
81658 glibcxx_cv_func___builtin_fabs_link=no
81659 fi
81660 rm -f conftest.err conftest.$ac_objext \
81661 conftest$ac_exeext conftest.$ac_ext
81662
81663 fi
81664
81665 fi
81666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81667 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81668
81669 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81670
81671 cat >>confdefs.h <<\_ACEOF
81672 #define HAVE___BUILTIN_FABS 1
81673 _ACEOF
81674
81675 fi
81676
81677 fi
81678
81679
81680 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81681 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81682 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81683 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81684 echo $ECHO_N "(cached) $ECHO_C" >&6
81685 else
81686
81687
81688
81689 ac_ext=cc
81690 ac_cpp='$CXXCPP $CPPFLAGS'
81691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81694
81695 cat >conftest.$ac_ext <<_ACEOF
81696 /* confdefs.h. */
81697 _ACEOF
81698 cat confdefs.h >>conftest.$ac_ext
81699 cat >>conftest.$ac_ext <<_ACEOF
81700 /* end confdefs.h. */
81701 #include <math.h>
81702 int
81703 main ()
81704 {
81705 __builtin_fabsl(0);
81706 ;
81707 return 0;
81708 }
81709 _ACEOF
81710 rm -f conftest.$ac_objext
81711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81712 (eval $ac_compile) 2>conftest.er1
81713 ac_status=$?
81714 grep -v '^ *+' conftest.er1 >conftest.err
81715 rm -f conftest.er1
81716 cat conftest.err >&5
81717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81718 (exit $ac_status); } &&
81719 { ac_try='test -z "$ac_cxx_werror_flag"
81720 || test ! -s conftest.err'
81721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81722 (eval $ac_try) 2>&5
81723 ac_status=$?
81724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81725 (exit $ac_status); }; } &&
81726 { ac_try='test -s conftest.$ac_objext'
81727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81728 (eval $ac_try) 2>&5
81729 ac_status=$?
81730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81731 (exit $ac_status); }; }; then
81732 glibcxx_cv_func___builtin_fabsl_use=yes
81733 else
81734 echo "$as_me: failed program was:" >&5
81735 sed 's/^/| /' conftest.$ac_ext >&5
81736
81737 glibcxx_cv_func___builtin_fabsl_use=no
81738 fi
81739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81740 ac_ext=c
81741 ac_cpp='$CPP $CPPFLAGS'
81742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81745
81746
81747 fi
81748
81749 fi
81750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81751 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81752 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81753 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81754 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81755 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81756 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81757 echo $ECHO_N "(cached) $ECHO_C" >&6
81758 else
81759
81760 if test x$gcc_no_link = xyes; then
81761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81763 { (exit 1); exit 1; }; }
81764 fi
81765 cat >conftest.$ac_ext <<_ACEOF
81766 /* confdefs.h. */
81767 _ACEOF
81768 cat confdefs.h >>conftest.$ac_ext
81769 cat >>conftest.$ac_ext <<_ACEOF
81770 /* end confdefs.h. */
81771 #include <math.h>
81772 int
81773 main ()
81774 {
81775 __builtin_fabsl(0);
81776 ;
81777 return 0;
81778 }
81779 _ACEOF
81780 rm -f conftest.$ac_objext conftest$ac_exeext
81781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81782 (eval $ac_link) 2>conftest.er1
81783 ac_status=$?
81784 grep -v '^ *+' conftest.er1 >conftest.err
81785 rm -f conftest.er1
81786 cat conftest.err >&5
81787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81788 (exit $ac_status); } &&
81789 { ac_try='test -z "$ac_c_werror_flag"
81790 || test ! -s conftest.err'
81791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81792 (eval $ac_try) 2>&5
81793 ac_status=$?
81794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81795 (exit $ac_status); }; } &&
81796 { ac_try='test -s conftest$ac_exeext'
81797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81798 (eval $ac_try) 2>&5
81799 ac_status=$?
81800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81801 (exit $ac_status); }; }; then
81802 glibcxx_cv_func___builtin_fabsl_link=yes
81803 else
81804 echo "$as_me: failed program was:" >&5
81805 sed 's/^/| /' conftest.$ac_ext >&5
81806
81807 glibcxx_cv_func___builtin_fabsl_link=no
81808 fi
81809 rm -f conftest.err conftest.$ac_objext \
81810 conftest$ac_exeext conftest.$ac_ext
81811
81812 fi
81813
81814 fi
81815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81816 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81817
81818 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81819
81820 cat >>confdefs.h <<\_ACEOF
81821 #define HAVE___BUILTIN_FABSL 1
81822 _ACEOF
81823
81824 fi
81825
81826 fi
81827
81828
81829 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81830 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81831 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81832 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81833 echo $ECHO_N "(cached) $ECHO_C" >&6
81834 else
81835
81836
81837
81838 ac_ext=cc
81839 ac_cpp='$CXXCPP $CPPFLAGS'
81840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81843
81844 cat >conftest.$ac_ext <<_ACEOF
81845 /* confdefs.h. */
81846 _ACEOF
81847 cat confdefs.h >>conftest.$ac_ext
81848 cat >>conftest.$ac_ext <<_ACEOF
81849 /* end confdefs.h. */
81850 #include <math.h>
81851 int
81852 main ()
81853 {
81854 __builtin_labs(0);
81855 ;
81856 return 0;
81857 }
81858 _ACEOF
81859 rm -f conftest.$ac_objext
81860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81861 (eval $ac_compile) 2>conftest.er1
81862 ac_status=$?
81863 grep -v '^ *+' conftest.er1 >conftest.err
81864 rm -f conftest.er1
81865 cat conftest.err >&5
81866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81867 (exit $ac_status); } &&
81868 { ac_try='test -z "$ac_cxx_werror_flag"
81869 || test ! -s conftest.err'
81870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81871 (eval $ac_try) 2>&5
81872 ac_status=$?
81873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81874 (exit $ac_status); }; } &&
81875 { ac_try='test -s conftest.$ac_objext'
81876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81877 (eval $ac_try) 2>&5
81878 ac_status=$?
81879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81880 (exit $ac_status); }; }; then
81881 glibcxx_cv_func___builtin_labs_use=yes
81882 else
81883 echo "$as_me: failed program was:" >&5
81884 sed 's/^/| /' conftest.$ac_ext >&5
81885
81886 glibcxx_cv_func___builtin_labs_use=no
81887 fi
81888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81889 ac_ext=c
81890 ac_cpp='$CPP $CPPFLAGS'
81891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81894
81895
81896 fi
81897
81898 fi
81899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81900 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81901 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81902 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81903 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81904 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81905 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81906 echo $ECHO_N "(cached) $ECHO_C" >&6
81907 else
81908
81909 if test x$gcc_no_link = xyes; then
81910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81912 { (exit 1); exit 1; }; }
81913 fi
81914 cat >conftest.$ac_ext <<_ACEOF
81915 /* confdefs.h. */
81916 _ACEOF
81917 cat confdefs.h >>conftest.$ac_ext
81918 cat >>conftest.$ac_ext <<_ACEOF
81919 /* end confdefs.h. */
81920 #include <math.h>
81921 int
81922 main ()
81923 {
81924 __builtin_labs(0);
81925 ;
81926 return 0;
81927 }
81928 _ACEOF
81929 rm -f conftest.$ac_objext conftest$ac_exeext
81930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81931 (eval $ac_link) 2>conftest.er1
81932 ac_status=$?
81933 grep -v '^ *+' conftest.er1 >conftest.err
81934 rm -f conftest.er1
81935 cat conftest.err >&5
81936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81937 (exit $ac_status); } &&
81938 { ac_try='test -z "$ac_c_werror_flag"
81939 || test ! -s conftest.err'
81940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81941 (eval $ac_try) 2>&5
81942 ac_status=$?
81943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81944 (exit $ac_status); }; } &&
81945 { ac_try='test -s conftest$ac_exeext'
81946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81947 (eval $ac_try) 2>&5
81948 ac_status=$?
81949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81950 (exit $ac_status); }; }; then
81951 glibcxx_cv_func___builtin_labs_link=yes
81952 else
81953 echo "$as_me: failed program was:" >&5
81954 sed 's/^/| /' conftest.$ac_ext >&5
81955
81956 glibcxx_cv_func___builtin_labs_link=no
81957 fi
81958 rm -f conftest.err conftest.$ac_objext \
81959 conftest$ac_exeext conftest.$ac_ext
81960
81961 fi
81962
81963 fi
81964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81965 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81966
81967 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81968
81969 cat >>confdefs.h <<\_ACEOF
81970 #define HAVE___BUILTIN_LABS 1
81971 _ACEOF
81972
81973 fi
81974
81975 fi
81976
81977
81978
81979 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81980 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81981 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81982 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81983 echo $ECHO_N "(cached) $ECHO_C" >&6
81984 else
81985
81986
81987
81988 ac_ext=cc
81989 ac_cpp='$CXXCPP $CPPFLAGS'
81990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81993
81994 cat >conftest.$ac_ext <<_ACEOF
81995 /* confdefs.h. */
81996 _ACEOF
81997 cat confdefs.h >>conftest.$ac_ext
81998 cat >>conftest.$ac_ext <<_ACEOF
81999 /* end confdefs.h. */
82000 #include <math.h>
82001 int
82002 main ()
82003 {
82004 __builtin_sqrtf(0);
82005 ;
82006 return 0;
82007 }
82008 _ACEOF
82009 rm -f conftest.$ac_objext
82010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82011 (eval $ac_compile) 2>conftest.er1
82012 ac_status=$?
82013 grep -v '^ *+' conftest.er1 >conftest.err
82014 rm -f conftest.er1
82015 cat conftest.err >&5
82016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82017 (exit $ac_status); } &&
82018 { ac_try='test -z "$ac_cxx_werror_flag"
82019 || test ! -s conftest.err'
82020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82021 (eval $ac_try) 2>&5
82022 ac_status=$?
82023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82024 (exit $ac_status); }; } &&
82025 { ac_try='test -s conftest.$ac_objext'
82026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82027 (eval $ac_try) 2>&5
82028 ac_status=$?
82029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82030 (exit $ac_status); }; }; then
82031 glibcxx_cv_func___builtin_sqrtf_use=yes
82032 else
82033 echo "$as_me: failed program was:" >&5
82034 sed 's/^/| /' conftest.$ac_ext >&5
82035
82036 glibcxx_cv_func___builtin_sqrtf_use=no
82037 fi
82038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82039 ac_ext=c
82040 ac_cpp='$CPP $CPPFLAGS'
82041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82044
82045
82046 fi
82047
82048 fi
82049 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82051 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82052 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82053 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82054 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82055 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82056 echo $ECHO_N "(cached) $ECHO_C" >&6
82057 else
82058
82059 if test x$gcc_no_link = xyes; then
82060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82062 { (exit 1); exit 1; }; }
82063 fi
82064 cat >conftest.$ac_ext <<_ACEOF
82065 /* confdefs.h. */
82066 _ACEOF
82067 cat confdefs.h >>conftest.$ac_ext
82068 cat >>conftest.$ac_ext <<_ACEOF
82069 /* end confdefs.h. */
82070 #include <math.h>
82071 int
82072 main ()
82073 {
82074 __builtin_sqrtf(0);
82075 ;
82076 return 0;
82077 }
82078 _ACEOF
82079 rm -f conftest.$ac_objext conftest$ac_exeext
82080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82081 (eval $ac_link) 2>conftest.er1
82082 ac_status=$?
82083 grep -v '^ *+' conftest.er1 >conftest.err
82084 rm -f conftest.er1
82085 cat conftest.err >&5
82086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82087 (exit $ac_status); } &&
82088 { ac_try='test -z "$ac_c_werror_flag"
82089 || test ! -s conftest.err'
82090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82091 (eval $ac_try) 2>&5
82092 ac_status=$?
82093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82094 (exit $ac_status); }; } &&
82095 { ac_try='test -s conftest$ac_exeext'
82096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82097 (eval $ac_try) 2>&5
82098 ac_status=$?
82099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82100 (exit $ac_status); }; }; then
82101 glibcxx_cv_func___builtin_sqrtf_link=yes
82102 else
82103 echo "$as_me: failed program was:" >&5
82104 sed 's/^/| /' conftest.$ac_ext >&5
82105
82106 glibcxx_cv_func___builtin_sqrtf_link=no
82107 fi
82108 rm -f conftest.err conftest.$ac_objext \
82109 conftest$ac_exeext conftest.$ac_ext
82110
82111 fi
82112
82113 fi
82114 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82116
82117 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82118
82119 cat >>confdefs.h <<\_ACEOF
82120 #define HAVE___BUILTIN_SQRTF 1
82121 _ACEOF
82122
82123 fi
82124
82125 fi
82126
82127
82128 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82129 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82130 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82131 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82132 echo $ECHO_N "(cached) $ECHO_C" >&6
82133 else
82134
82135
82136
82137 ac_ext=cc
82138 ac_cpp='$CXXCPP $CPPFLAGS'
82139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82142
82143 cat >conftest.$ac_ext <<_ACEOF
82144 /* confdefs.h. */
82145 _ACEOF
82146 cat confdefs.h >>conftest.$ac_ext
82147 cat >>conftest.$ac_ext <<_ACEOF
82148 /* end confdefs.h. */
82149 #include <math.h>
82150 int
82151 main ()
82152 {
82153 __builtin_sqrt(0);
82154 ;
82155 return 0;
82156 }
82157 _ACEOF
82158 rm -f conftest.$ac_objext
82159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82160 (eval $ac_compile) 2>conftest.er1
82161 ac_status=$?
82162 grep -v '^ *+' conftest.er1 >conftest.err
82163 rm -f conftest.er1
82164 cat conftest.err >&5
82165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82166 (exit $ac_status); } &&
82167 { ac_try='test -z "$ac_cxx_werror_flag"
82168 || test ! -s conftest.err'
82169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82170 (eval $ac_try) 2>&5
82171 ac_status=$?
82172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82173 (exit $ac_status); }; } &&
82174 { ac_try='test -s conftest.$ac_objext'
82175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82176 (eval $ac_try) 2>&5
82177 ac_status=$?
82178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82179 (exit $ac_status); }; }; then
82180 glibcxx_cv_func___builtin_sqrt_use=yes
82181 else
82182 echo "$as_me: failed program was:" >&5
82183 sed 's/^/| /' conftest.$ac_ext >&5
82184
82185 glibcxx_cv_func___builtin_sqrt_use=no
82186 fi
82187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82188 ac_ext=c
82189 ac_cpp='$CPP $CPPFLAGS'
82190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82193
82194
82195 fi
82196
82197 fi
82198 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82199 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82200 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82201 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82202 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82203 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82204 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82205 echo $ECHO_N "(cached) $ECHO_C" >&6
82206 else
82207
82208 if test x$gcc_no_link = xyes; then
82209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82211 { (exit 1); exit 1; }; }
82212 fi
82213 cat >conftest.$ac_ext <<_ACEOF
82214 /* confdefs.h. */
82215 _ACEOF
82216 cat confdefs.h >>conftest.$ac_ext
82217 cat >>conftest.$ac_ext <<_ACEOF
82218 /* end confdefs.h. */
82219 #include <math.h>
82220 int
82221 main ()
82222 {
82223 __builtin_sqrt(0);
82224 ;
82225 return 0;
82226 }
82227 _ACEOF
82228 rm -f conftest.$ac_objext conftest$ac_exeext
82229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82230 (eval $ac_link) 2>conftest.er1
82231 ac_status=$?
82232 grep -v '^ *+' conftest.er1 >conftest.err
82233 rm -f conftest.er1
82234 cat conftest.err >&5
82235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82236 (exit $ac_status); } &&
82237 { ac_try='test -z "$ac_c_werror_flag"
82238 || test ! -s conftest.err'
82239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82240 (eval $ac_try) 2>&5
82241 ac_status=$?
82242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82243 (exit $ac_status); }; } &&
82244 { ac_try='test -s conftest$ac_exeext'
82245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82246 (eval $ac_try) 2>&5
82247 ac_status=$?
82248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82249 (exit $ac_status); }; }; then
82250 glibcxx_cv_func___builtin_sqrt_link=yes
82251 else
82252 echo "$as_me: failed program was:" >&5
82253 sed 's/^/| /' conftest.$ac_ext >&5
82254
82255 glibcxx_cv_func___builtin_sqrt_link=no
82256 fi
82257 rm -f conftest.err conftest.$ac_objext \
82258 conftest$ac_exeext conftest.$ac_ext
82259
82260 fi
82261
82262 fi
82263 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82264 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82265
82266 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82267
82268 cat >>confdefs.h <<\_ACEOF
82269 #define HAVE___BUILTIN_SQRT 1
82270 _ACEOF
82271
82272 fi
82273
82274 fi
82275
82276
82277 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82278 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82279 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82280 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82281 echo $ECHO_N "(cached) $ECHO_C" >&6
82282 else
82283
82284
82285
82286 ac_ext=cc
82287 ac_cpp='$CXXCPP $CPPFLAGS'
82288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82291
82292 cat >conftest.$ac_ext <<_ACEOF
82293 /* confdefs.h. */
82294 _ACEOF
82295 cat confdefs.h >>conftest.$ac_ext
82296 cat >>conftest.$ac_ext <<_ACEOF
82297 /* end confdefs.h. */
82298 #include <math.h>
82299 int
82300 main ()
82301 {
82302 __builtin_sqrtl(0);
82303 ;
82304 return 0;
82305 }
82306 _ACEOF
82307 rm -f conftest.$ac_objext
82308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82309 (eval $ac_compile) 2>conftest.er1
82310 ac_status=$?
82311 grep -v '^ *+' conftest.er1 >conftest.err
82312 rm -f conftest.er1
82313 cat conftest.err >&5
82314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82315 (exit $ac_status); } &&
82316 { ac_try='test -z "$ac_cxx_werror_flag"
82317 || test ! -s conftest.err'
82318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82319 (eval $ac_try) 2>&5
82320 ac_status=$?
82321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82322 (exit $ac_status); }; } &&
82323 { ac_try='test -s conftest.$ac_objext'
82324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82325 (eval $ac_try) 2>&5
82326 ac_status=$?
82327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82328 (exit $ac_status); }; }; then
82329 glibcxx_cv_func___builtin_sqrtl_use=yes
82330 else
82331 echo "$as_me: failed program was:" >&5
82332 sed 's/^/| /' conftest.$ac_ext >&5
82333
82334 glibcxx_cv_func___builtin_sqrtl_use=no
82335 fi
82336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82337 ac_ext=c
82338 ac_cpp='$CPP $CPPFLAGS'
82339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82342
82343
82344 fi
82345
82346 fi
82347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82349 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82350 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82351 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82352 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82353 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82354 echo $ECHO_N "(cached) $ECHO_C" >&6
82355 else
82356
82357 if test x$gcc_no_link = xyes; then
82358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82360 { (exit 1); exit 1; }; }
82361 fi
82362 cat >conftest.$ac_ext <<_ACEOF
82363 /* confdefs.h. */
82364 _ACEOF
82365 cat confdefs.h >>conftest.$ac_ext
82366 cat >>conftest.$ac_ext <<_ACEOF
82367 /* end confdefs.h. */
82368 #include <math.h>
82369 int
82370 main ()
82371 {
82372 __builtin_sqrtl(0);
82373 ;
82374 return 0;
82375 }
82376 _ACEOF
82377 rm -f conftest.$ac_objext conftest$ac_exeext
82378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82379 (eval $ac_link) 2>conftest.er1
82380 ac_status=$?
82381 grep -v '^ *+' conftest.er1 >conftest.err
82382 rm -f conftest.er1
82383 cat conftest.err >&5
82384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82385 (exit $ac_status); } &&
82386 { ac_try='test -z "$ac_c_werror_flag"
82387 || test ! -s conftest.err'
82388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82389 (eval $ac_try) 2>&5
82390 ac_status=$?
82391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82392 (exit $ac_status); }; } &&
82393 { ac_try='test -s conftest$ac_exeext'
82394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82395 (eval $ac_try) 2>&5
82396 ac_status=$?
82397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82398 (exit $ac_status); }; }; then
82399 glibcxx_cv_func___builtin_sqrtl_link=yes
82400 else
82401 echo "$as_me: failed program was:" >&5
82402 sed 's/^/| /' conftest.$ac_ext >&5
82403
82404 glibcxx_cv_func___builtin_sqrtl_link=no
82405 fi
82406 rm -f conftest.err conftest.$ac_objext \
82407 conftest$ac_exeext conftest.$ac_ext
82408
82409 fi
82410
82411 fi
82412 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82413 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82414
82415 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82416
82417 cat >>confdefs.h <<\_ACEOF
82418 #define HAVE___BUILTIN_SQRTL 1
82419 _ACEOF
82420
82421 fi
82422
82423 fi
82424
82425
82426
82427 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82428 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82429 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82430 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82431 echo $ECHO_N "(cached) $ECHO_C" >&6
82432 else
82433
82434
82435
82436 ac_ext=cc
82437 ac_cpp='$CXXCPP $CPPFLAGS'
82438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82441
82442 cat >conftest.$ac_ext <<_ACEOF
82443 /* confdefs.h. */
82444 _ACEOF
82445 cat confdefs.h >>conftest.$ac_ext
82446 cat >>conftest.$ac_ext <<_ACEOF
82447 /* end confdefs.h. */
82448 #include <math.h>
82449 int
82450 main ()
82451 {
82452 __builtin_sinf(0);
82453 ;
82454 return 0;
82455 }
82456 _ACEOF
82457 rm -f conftest.$ac_objext
82458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82459 (eval $ac_compile) 2>conftest.er1
82460 ac_status=$?
82461 grep -v '^ *+' conftest.er1 >conftest.err
82462 rm -f conftest.er1
82463 cat conftest.err >&5
82464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82465 (exit $ac_status); } &&
82466 { ac_try='test -z "$ac_cxx_werror_flag"
82467 || test ! -s conftest.err'
82468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82469 (eval $ac_try) 2>&5
82470 ac_status=$?
82471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82472 (exit $ac_status); }; } &&
82473 { ac_try='test -s conftest.$ac_objext'
82474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82475 (eval $ac_try) 2>&5
82476 ac_status=$?
82477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82478 (exit $ac_status); }; }; then
82479 glibcxx_cv_func___builtin_sinf_use=yes
82480 else
82481 echo "$as_me: failed program was:" >&5
82482 sed 's/^/| /' conftest.$ac_ext >&5
82483
82484 glibcxx_cv_func___builtin_sinf_use=no
82485 fi
82486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82487 ac_ext=c
82488 ac_cpp='$CPP $CPPFLAGS'
82489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82492
82493
82494 fi
82495
82496 fi
82497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82499 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82500 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82501 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82502 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82503 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82504 echo $ECHO_N "(cached) $ECHO_C" >&6
82505 else
82506
82507 if test x$gcc_no_link = xyes; then
82508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82510 { (exit 1); exit 1; }; }
82511 fi
82512 cat >conftest.$ac_ext <<_ACEOF
82513 /* confdefs.h. */
82514 _ACEOF
82515 cat confdefs.h >>conftest.$ac_ext
82516 cat >>conftest.$ac_ext <<_ACEOF
82517 /* end confdefs.h. */
82518 #include <math.h>
82519 int
82520 main ()
82521 {
82522 __builtin_sinf(0);
82523 ;
82524 return 0;
82525 }
82526 _ACEOF
82527 rm -f conftest.$ac_objext conftest$ac_exeext
82528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82529 (eval $ac_link) 2>conftest.er1
82530 ac_status=$?
82531 grep -v '^ *+' conftest.er1 >conftest.err
82532 rm -f conftest.er1
82533 cat conftest.err >&5
82534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82535 (exit $ac_status); } &&
82536 { ac_try='test -z "$ac_c_werror_flag"
82537 || test ! -s conftest.err'
82538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82539 (eval $ac_try) 2>&5
82540 ac_status=$?
82541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82542 (exit $ac_status); }; } &&
82543 { ac_try='test -s conftest$ac_exeext'
82544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82545 (eval $ac_try) 2>&5
82546 ac_status=$?
82547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82548 (exit $ac_status); }; }; then
82549 glibcxx_cv_func___builtin_sinf_link=yes
82550 else
82551 echo "$as_me: failed program was:" >&5
82552 sed 's/^/| /' conftest.$ac_ext >&5
82553
82554 glibcxx_cv_func___builtin_sinf_link=no
82555 fi
82556 rm -f conftest.err conftest.$ac_objext \
82557 conftest$ac_exeext conftest.$ac_ext
82558
82559 fi
82560
82561 fi
82562 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82564
82565 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82566
82567 cat >>confdefs.h <<\_ACEOF
82568 #define HAVE___BUILTIN_SINF 1
82569 _ACEOF
82570
82571 fi
82572
82573 fi
82574
82575
82576 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82577 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82578 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82579 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82580 echo $ECHO_N "(cached) $ECHO_C" >&6
82581 else
82582
82583
82584
82585 ac_ext=cc
82586 ac_cpp='$CXXCPP $CPPFLAGS'
82587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82590
82591 cat >conftest.$ac_ext <<_ACEOF
82592 /* confdefs.h. */
82593 _ACEOF
82594 cat confdefs.h >>conftest.$ac_ext
82595 cat >>conftest.$ac_ext <<_ACEOF
82596 /* end confdefs.h. */
82597 #include <math.h>
82598 int
82599 main ()
82600 {
82601 __builtin_sin(0);
82602 ;
82603 return 0;
82604 }
82605 _ACEOF
82606 rm -f conftest.$ac_objext
82607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82608 (eval $ac_compile) 2>conftest.er1
82609 ac_status=$?
82610 grep -v '^ *+' conftest.er1 >conftest.err
82611 rm -f conftest.er1
82612 cat conftest.err >&5
82613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82614 (exit $ac_status); } &&
82615 { ac_try='test -z "$ac_cxx_werror_flag"
82616 || test ! -s conftest.err'
82617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82618 (eval $ac_try) 2>&5
82619 ac_status=$?
82620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82621 (exit $ac_status); }; } &&
82622 { ac_try='test -s conftest.$ac_objext'
82623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82624 (eval $ac_try) 2>&5
82625 ac_status=$?
82626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82627 (exit $ac_status); }; }; then
82628 glibcxx_cv_func___builtin_sin_use=yes
82629 else
82630 echo "$as_me: failed program was:" >&5
82631 sed 's/^/| /' conftest.$ac_ext >&5
82632
82633 glibcxx_cv_func___builtin_sin_use=no
82634 fi
82635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82636 ac_ext=c
82637 ac_cpp='$CPP $CPPFLAGS'
82638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82641
82642
82643 fi
82644
82645 fi
82646 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82647 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82648 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82649 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82650 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82651 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82652 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82653 echo $ECHO_N "(cached) $ECHO_C" >&6
82654 else
82655
82656 if test x$gcc_no_link = xyes; then
82657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82659 { (exit 1); exit 1; }; }
82660 fi
82661 cat >conftest.$ac_ext <<_ACEOF
82662 /* confdefs.h. */
82663 _ACEOF
82664 cat confdefs.h >>conftest.$ac_ext
82665 cat >>conftest.$ac_ext <<_ACEOF
82666 /* end confdefs.h. */
82667 #include <math.h>
82668 int
82669 main ()
82670 {
82671 __builtin_sin(0);
82672 ;
82673 return 0;
82674 }
82675 _ACEOF
82676 rm -f conftest.$ac_objext conftest$ac_exeext
82677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82678 (eval $ac_link) 2>conftest.er1
82679 ac_status=$?
82680 grep -v '^ *+' conftest.er1 >conftest.err
82681 rm -f conftest.er1
82682 cat conftest.err >&5
82683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82684 (exit $ac_status); } &&
82685 { ac_try='test -z "$ac_c_werror_flag"
82686 || test ! -s conftest.err'
82687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82688 (eval $ac_try) 2>&5
82689 ac_status=$?
82690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82691 (exit $ac_status); }; } &&
82692 { ac_try='test -s conftest$ac_exeext'
82693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82694 (eval $ac_try) 2>&5
82695 ac_status=$?
82696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82697 (exit $ac_status); }; }; then
82698 glibcxx_cv_func___builtin_sin_link=yes
82699 else
82700 echo "$as_me: failed program was:" >&5
82701 sed 's/^/| /' conftest.$ac_ext >&5
82702
82703 glibcxx_cv_func___builtin_sin_link=no
82704 fi
82705 rm -f conftest.err conftest.$ac_objext \
82706 conftest$ac_exeext conftest.$ac_ext
82707
82708 fi
82709
82710 fi
82711 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82712 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82713
82714 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82715
82716 cat >>confdefs.h <<\_ACEOF
82717 #define HAVE___BUILTIN_SIN 1
82718 _ACEOF
82719
82720 fi
82721
82722 fi
82723
82724
82725 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82726 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82727 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82728 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82729 echo $ECHO_N "(cached) $ECHO_C" >&6
82730 else
82731
82732
82733
82734 ac_ext=cc
82735 ac_cpp='$CXXCPP $CPPFLAGS'
82736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82739
82740 cat >conftest.$ac_ext <<_ACEOF
82741 /* confdefs.h. */
82742 _ACEOF
82743 cat confdefs.h >>conftest.$ac_ext
82744 cat >>conftest.$ac_ext <<_ACEOF
82745 /* end confdefs.h. */
82746 #include <math.h>
82747 int
82748 main ()
82749 {
82750 __builtin_sinl(0);
82751 ;
82752 return 0;
82753 }
82754 _ACEOF
82755 rm -f conftest.$ac_objext
82756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82757 (eval $ac_compile) 2>conftest.er1
82758 ac_status=$?
82759 grep -v '^ *+' conftest.er1 >conftest.err
82760 rm -f conftest.er1
82761 cat conftest.err >&5
82762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763 (exit $ac_status); } &&
82764 { ac_try='test -z "$ac_cxx_werror_flag"
82765 || test ! -s conftest.err'
82766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82767 (eval $ac_try) 2>&5
82768 ac_status=$?
82769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82770 (exit $ac_status); }; } &&
82771 { ac_try='test -s conftest.$ac_objext'
82772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82773 (eval $ac_try) 2>&5
82774 ac_status=$?
82775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82776 (exit $ac_status); }; }; then
82777 glibcxx_cv_func___builtin_sinl_use=yes
82778 else
82779 echo "$as_me: failed program was:" >&5
82780 sed 's/^/| /' conftest.$ac_ext >&5
82781
82782 glibcxx_cv_func___builtin_sinl_use=no
82783 fi
82784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82785 ac_ext=c
82786 ac_cpp='$CPP $CPPFLAGS'
82787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82790
82791
82792 fi
82793
82794 fi
82795 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82797 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82798 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82799 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82800 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82801 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82802 echo $ECHO_N "(cached) $ECHO_C" >&6
82803 else
82804
82805 if test x$gcc_no_link = xyes; then
82806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82808 { (exit 1); exit 1; }; }
82809 fi
82810 cat >conftest.$ac_ext <<_ACEOF
82811 /* confdefs.h. */
82812 _ACEOF
82813 cat confdefs.h >>conftest.$ac_ext
82814 cat >>conftest.$ac_ext <<_ACEOF
82815 /* end confdefs.h. */
82816 #include <math.h>
82817 int
82818 main ()
82819 {
82820 __builtin_sinl(0);
82821 ;
82822 return 0;
82823 }
82824 _ACEOF
82825 rm -f conftest.$ac_objext conftest$ac_exeext
82826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82827 (eval $ac_link) 2>conftest.er1
82828 ac_status=$?
82829 grep -v '^ *+' conftest.er1 >conftest.err
82830 rm -f conftest.er1
82831 cat conftest.err >&5
82832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82833 (exit $ac_status); } &&
82834 { ac_try='test -z "$ac_c_werror_flag"
82835 || test ! -s conftest.err'
82836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82837 (eval $ac_try) 2>&5
82838 ac_status=$?
82839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82840 (exit $ac_status); }; } &&
82841 { ac_try='test -s conftest$ac_exeext'
82842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82843 (eval $ac_try) 2>&5
82844 ac_status=$?
82845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82846 (exit $ac_status); }; }; then
82847 glibcxx_cv_func___builtin_sinl_link=yes
82848 else
82849 echo "$as_me: failed program was:" >&5
82850 sed 's/^/| /' conftest.$ac_ext >&5
82851
82852 glibcxx_cv_func___builtin_sinl_link=no
82853 fi
82854 rm -f conftest.err conftest.$ac_objext \
82855 conftest$ac_exeext conftest.$ac_ext
82856
82857 fi
82858
82859 fi
82860 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82862
82863 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82864
82865 cat >>confdefs.h <<\_ACEOF
82866 #define HAVE___BUILTIN_SINL 1
82867 _ACEOF
82868
82869 fi
82870
82871 fi
82872
82873
82874
82875 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82876 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82877 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82878 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82879 echo $ECHO_N "(cached) $ECHO_C" >&6
82880 else
82881
82882
82883
82884 ac_ext=cc
82885 ac_cpp='$CXXCPP $CPPFLAGS'
82886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82889
82890 cat >conftest.$ac_ext <<_ACEOF
82891 /* confdefs.h. */
82892 _ACEOF
82893 cat confdefs.h >>conftest.$ac_ext
82894 cat >>conftest.$ac_ext <<_ACEOF
82895 /* end confdefs.h. */
82896 #include <math.h>
82897 int
82898 main ()
82899 {
82900 __builtin_cosf(0);
82901 ;
82902 return 0;
82903 }
82904 _ACEOF
82905 rm -f conftest.$ac_objext
82906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82907 (eval $ac_compile) 2>conftest.er1
82908 ac_status=$?
82909 grep -v '^ *+' conftest.er1 >conftest.err
82910 rm -f conftest.er1
82911 cat conftest.err >&5
82912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82913 (exit $ac_status); } &&
82914 { ac_try='test -z "$ac_cxx_werror_flag"
82915 || test ! -s conftest.err'
82916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82917 (eval $ac_try) 2>&5
82918 ac_status=$?
82919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82920 (exit $ac_status); }; } &&
82921 { ac_try='test -s conftest.$ac_objext'
82922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82923 (eval $ac_try) 2>&5
82924 ac_status=$?
82925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926 (exit $ac_status); }; }; then
82927 glibcxx_cv_func___builtin_cosf_use=yes
82928 else
82929 echo "$as_me: failed program was:" >&5
82930 sed 's/^/| /' conftest.$ac_ext >&5
82931
82932 glibcxx_cv_func___builtin_cosf_use=no
82933 fi
82934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82935 ac_ext=c
82936 ac_cpp='$CPP $CPPFLAGS'
82937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82940
82941
82942 fi
82943
82944 fi
82945 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82946 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82947 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82948 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82949 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82950 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82951 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82952 echo $ECHO_N "(cached) $ECHO_C" >&6
82953 else
82954
82955 if test x$gcc_no_link = xyes; then
82956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82958 { (exit 1); exit 1; }; }
82959 fi
82960 cat >conftest.$ac_ext <<_ACEOF
82961 /* confdefs.h. */
82962 _ACEOF
82963 cat confdefs.h >>conftest.$ac_ext
82964 cat >>conftest.$ac_ext <<_ACEOF
82965 /* end confdefs.h. */
82966 #include <math.h>
82967 int
82968 main ()
82969 {
82970 __builtin_cosf(0);
82971 ;
82972 return 0;
82973 }
82974 _ACEOF
82975 rm -f conftest.$ac_objext conftest$ac_exeext
82976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82977 (eval $ac_link) 2>conftest.er1
82978 ac_status=$?
82979 grep -v '^ *+' conftest.er1 >conftest.err
82980 rm -f conftest.er1
82981 cat conftest.err >&5
82982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82983 (exit $ac_status); } &&
82984 { ac_try='test -z "$ac_c_werror_flag"
82985 || test ! -s conftest.err'
82986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82987 (eval $ac_try) 2>&5
82988 ac_status=$?
82989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82990 (exit $ac_status); }; } &&
82991 { ac_try='test -s conftest$ac_exeext'
82992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82993 (eval $ac_try) 2>&5
82994 ac_status=$?
82995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82996 (exit $ac_status); }; }; then
82997 glibcxx_cv_func___builtin_cosf_link=yes
82998 else
82999 echo "$as_me: failed program was:" >&5
83000 sed 's/^/| /' conftest.$ac_ext >&5
83001
83002 glibcxx_cv_func___builtin_cosf_link=no
83003 fi
83004 rm -f conftest.err conftest.$ac_objext \
83005 conftest$ac_exeext conftest.$ac_ext
83006
83007 fi
83008
83009 fi
83010 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83011 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83012
83013 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83014
83015 cat >>confdefs.h <<\_ACEOF
83016 #define HAVE___BUILTIN_COSF 1
83017 _ACEOF
83018
83019 fi
83020
83021 fi
83022
83023
83024 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83025 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83026 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83027 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83028 echo $ECHO_N "(cached) $ECHO_C" >&6
83029 else
83030
83031
83032
83033 ac_ext=cc
83034 ac_cpp='$CXXCPP $CPPFLAGS'
83035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83038
83039 cat >conftest.$ac_ext <<_ACEOF
83040 /* confdefs.h. */
83041 _ACEOF
83042 cat confdefs.h >>conftest.$ac_ext
83043 cat >>conftest.$ac_ext <<_ACEOF
83044 /* end confdefs.h. */
83045 #include <math.h>
83046 int
83047 main ()
83048 {
83049 __builtin_cos(0);
83050 ;
83051 return 0;
83052 }
83053 _ACEOF
83054 rm -f conftest.$ac_objext
83055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83056 (eval $ac_compile) 2>conftest.er1
83057 ac_status=$?
83058 grep -v '^ *+' conftest.er1 >conftest.err
83059 rm -f conftest.er1
83060 cat conftest.err >&5
83061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83062 (exit $ac_status); } &&
83063 { ac_try='test -z "$ac_cxx_werror_flag"
83064 || test ! -s conftest.err'
83065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83066 (eval $ac_try) 2>&5
83067 ac_status=$?
83068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83069 (exit $ac_status); }; } &&
83070 { ac_try='test -s conftest.$ac_objext'
83071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83072 (eval $ac_try) 2>&5
83073 ac_status=$?
83074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83075 (exit $ac_status); }; }; then
83076 glibcxx_cv_func___builtin_cos_use=yes
83077 else
83078 echo "$as_me: failed program was:" >&5
83079 sed 's/^/| /' conftest.$ac_ext >&5
83080
83081 glibcxx_cv_func___builtin_cos_use=no
83082 fi
83083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83084 ac_ext=c
83085 ac_cpp='$CPP $CPPFLAGS'
83086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83089
83090
83091 fi
83092
83093 fi
83094 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83095 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83096 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83097 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83098 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83099 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83100 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83101 echo $ECHO_N "(cached) $ECHO_C" >&6
83102 else
83103
83104 if test x$gcc_no_link = xyes; then
83105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83107 { (exit 1); exit 1; }; }
83108 fi
83109 cat >conftest.$ac_ext <<_ACEOF
83110 /* confdefs.h. */
83111 _ACEOF
83112 cat confdefs.h >>conftest.$ac_ext
83113 cat >>conftest.$ac_ext <<_ACEOF
83114 /* end confdefs.h. */
83115 #include <math.h>
83116 int
83117 main ()
83118 {
83119 __builtin_cos(0);
83120 ;
83121 return 0;
83122 }
83123 _ACEOF
83124 rm -f conftest.$ac_objext conftest$ac_exeext
83125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83126 (eval $ac_link) 2>conftest.er1
83127 ac_status=$?
83128 grep -v '^ *+' conftest.er1 >conftest.err
83129 rm -f conftest.er1
83130 cat conftest.err >&5
83131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83132 (exit $ac_status); } &&
83133 { ac_try='test -z "$ac_c_werror_flag"
83134 || test ! -s conftest.err'
83135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83136 (eval $ac_try) 2>&5
83137 ac_status=$?
83138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83139 (exit $ac_status); }; } &&
83140 { ac_try='test -s conftest$ac_exeext'
83141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83142 (eval $ac_try) 2>&5
83143 ac_status=$?
83144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83145 (exit $ac_status); }; }; then
83146 glibcxx_cv_func___builtin_cos_link=yes
83147 else
83148 echo "$as_me: failed program was:" >&5
83149 sed 's/^/| /' conftest.$ac_ext >&5
83150
83151 glibcxx_cv_func___builtin_cos_link=no
83152 fi
83153 rm -f conftest.err conftest.$ac_objext \
83154 conftest$ac_exeext conftest.$ac_ext
83155
83156 fi
83157
83158 fi
83159 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83160 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83161
83162 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83163
83164 cat >>confdefs.h <<\_ACEOF
83165 #define HAVE___BUILTIN_COS 1
83166 _ACEOF
83167
83168 fi
83169
83170 fi
83171
83172
83173 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83174 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83175 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83176 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83177 echo $ECHO_N "(cached) $ECHO_C" >&6
83178 else
83179
83180
83181
83182 ac_ext=cc
83183 ac_cpp='$CXXCPP $CPPFLAGS'
83184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83187
83188 cat >conftest.$ac_ext <<_ACEOF
83189 /* confdefs.h. */
83190 _ACEOF
83191 cat confdefs.h >>conftest.$ac_ext
83192 cat >>conftest.$ac_ext <<_ACEOF
83193 /* end confdefs.h. */
83194 #include <math.h>
83195 int
83196 main ()
83197 {
83198 __builtin_cosl(0);
83199 ;
83200 return 0;
83201 }
83202 _ACEOF
83203 rm -f conftest.$ac_objext
83204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83205 (eval $ac_compile) 2>conftest.er1
83206 ac_status=$?
83207 grep -v '^ *+' conftest.er1 >conftest.err
83208 rm -f conftest.er1
83209 cat conftest.err >&5
83210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83211 (exit $ac_status); } &&
83212 { ac_try='test -z "$ac_cxx_werror_flag"
83213 || test ! -s conftest.err'
83214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83215 (eval $ac_try) 2>&5
83216 ac_status=$?
83217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83218 (exit $ac_status); }; } &&
83219 { ac_try='test -s conftest.$ac_objext'
83220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83221 (eval $ac_try) 2>&5
83222 ac_status=$?
83223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83224 (exit $ac_status); }; }; then
83225 glibcxx_cv_func___builtin_cosl_use=yes
83226 else
83227 echo "$as_me: failed program was:" >&5
83228 sed 's/^/| /' conftest.$ac_ext >&5
83229
83230 glibcxx_cv_func___builtin_cosl_use=no
83231 fi
83232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83233 ac_ext=c
83234 ac_cpp='$CPP $CPPFLAGS'
83235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83238
83239
83240 fi
83241
83242 fi
83243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83244 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83245 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83246 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83247 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83248 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83249 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83250 echo $ECHO_N "(cached) $ECHO_C" >&6
83251 else
83252
83253 if test x$gcc_no_link = xyes; then
83254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83256 { (exit 1); exit 1; }; }
83257 fi
83258 cat >conftest.$ac_ext <<_ACEOF
83259 /* confdefs.h. */
83260 _ACEOF
83261 cat confdefs.h >>conftest.$ac_ext
83262 cat >>conftest.$ac_ext <<_ACEOF
83263 /* end confdefs.h. */
83264 #include <math.h>
83265 int
83266 main ()
83267 {
83268 __builtin_cosl(0);
83269 ;
83270 return 0;
83271 }
83272 _ACEOF
83273 rm -f conftest.$ac_objext conftest$ac_exeext
83274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83275 (eval $ac_link) 2>conftest.er1
83276 ac_status=$?
83277 grep -v '^ *+' conftest.er1 >conftest.err
83278 rm -f conftest.er1
83279 cat conftest.err >&5
83280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281 (exit $ac_status); } &&
83282 { ac_try='test -z "$ac_c_werror_flag"
83283 || test ! -s conftest.err'
83284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83285 (eval $ac_try) 2>&5
83286 ac_status=$?
83287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288 (exit $ac_status); }; } &&
83289 { ac_try='test -s conftest$ac_exeext'
83290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83291 (eval $ac_try) 2>&5
83292 ac_status=$?
83293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83294 (exit $ac_status); }; }; then
83295 glibcxx_cv_func___builtin_cosl_link=yes
83296 else
83297 echo "$as_me: failed program was:" >&5
83298 sed 's/^/| /' conftest.$ac_ext >&5
83299
83300 glibcxx_cv_func___builtin_cosl_link=no
83301 fi
83302 rm -f conftest.err conftest.$ac_objext \
83303 conftest$ac_exeext conftest.$ac_ext
83304
83305 fi
83306
83307 fi
83308 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83309 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83310
83311 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83312
83313 cat >>confdefs.h <<\_ACEOF
83314 #define HAVE___BUILTIN_COSL 1
83315 _ACEOF
83316
83317 fi
83318
83319 fi
83320
83321
83322
83323
83324 echo "$as_me:$LINENO: checking for main in -lm" >&5
83325 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83326 if test "${ac_cv_lib_m_main+set}" = set; then
83327 echo $ECHO_N "(cached) $ECHO_C" >&6
83328 else
83329 ac_check_lib_save_LIBS=$LIBS
83330 LIBS="-lm $LIBS"
83331 if test x$gcc_no_link = xyes; then
83332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83334 { (exit 1); exit 1; }; }
83335 fi
83336 cat >conftest.$ac_ext <<_ACEOF
83337 /* confdefs.h. */
83338 _ACEOF
83339 cat confdefs.h >>conftest.$ac_ext
83340 cat >>conftest.$ac_ext <<_ACEOF
83341 /* end confdefs.h. */
83342
83343
83344 int
83345 main ()
83346 {
83347 main ();
83348 ;
83349 return 0;
83350 }
83351 _ACEOF
83352 rm -f conftest.$ac_objext conftest$ac_exeext
83353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83354 (eval $ac_link) 2>conftest.er1
83355 ac_status=$?
83356 grep -v '^ *+' conftest.er1 >conftest.err
83357 rm -f conftest.er1
83358 cat conftest.err >&5
83359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83360 (exit $ac_status); } &&
83361 { ac_try='test -z "$ac_c_werror_flag"
83362 || test ! -s conftest.err'
83363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83364 (eval $ac_try) 2>&5
83365 ac_status=$?
83366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83367 (exit $ac_status); }; } &&
83368 { ac_try='test -s conftest$ac_exeext'
83369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83370 (eval $ac_try) 2>&5
83371 ac_status=$?
83372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83373 (exit $ac_status); }; }; then
83374 ac_cv_lib_m_main=yes
83375 else
83376 echo "$as_me: failed program was:" >&5
83377 sed 's/^/| /' conftest.$ac_ext >&5
83378
83379 ac_cv_lib_m_main=no
83380 fi
83381 rm -f conftest.err conftest.$ac_objext \
83382 conftest$ac_exeext conftest.$ac_ext
83383 LIBS=$ac_check_lib_save_LIBS
83384 fi
83385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83386 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83387 if test $ac_cv_lib_m_main = yes; then
83388 cat >>confdefs.h <<_ACEOF
83389 #define HAVE_LIBM 1
83390 _ACEOF
83391
83392 LIBS="-lm $LIBS"
83393
83394 fi
83395
83396
83397 for ac_func in copysignf
83398 do
83399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83400 echo "$as_me:$LINENO: checking for $ac_func" >&5
83401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83402 if eval "test \"\${$as_ac_var+set}\" = set"; then
83403 echo $ECHO_N "(cached) $ECHO_C" >&6
83404 else
83405 if test x$gcc_no_link = xyes; then
83406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83408 { (exit 1); exit 1; }; }
83409 fi
83410 cat >conftest.$ac_ext <<_ACEOF
83411 /* confdefs.h. */
83412 _ACEOF
83413 cat confdefs.h >>conftest.$ac_ext
83414 cat >>conftest.$ac_ext <<_ACEOF
83415 /* end confdefs.h. */
83416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83418 #define $ac_func innocuous_$ac_func
83419
83420 /* System header to define __stub macros and hopefully few prototypes,
83421 which can conflict with char $ac_func (); below.
83422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83423 <limits.h> exists even on freestanding compilers. */
83424
83425 #ifdef __STDC__
83426 # include <limits.h>
83427 #else
83428 # include <assert.h>
83429 #endif
83430
83431 #undef $ac_func
83432
83433 /* Override any gcc2 internal prototype to avoid an error. */
83434 #ifdef __cplusplus
83435 extern "C"
83436 {
83437 #endif
83438 /* We use char because int might match the return type of a gcc2
83439 builtin and then its argument prototype would still apply. */
83440 char $ac_func ();
83441 /* The GNU C library defines this for functions which it implements
83442 to always fail with ENOSYS. Some functions are actually named
83443 something starting with __ and the normal name is an alias. */
83444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83445 choke me
83446 #else
83447 char (*f) () = $ac_func;
83448 #endif
83449 #ifdef __cplusplus
83450 }
83451 #endif
83452
83453 int
83454 main ()
83455 {
83456 return f != $ac_func;
83457 ;
83458 return 0;
83459 }
83460 _ACEOF
83461 rm -f conftest.$ac_objext conftest$ac_exeext
83462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83463 (eval $ac_link) 2>conftest.er1
83464 ac_status=$?
83465 grep -v '^ *+' conftest.er1 >conftest.err
83466 rm -f conftest.er1
83467 cat conftest.err >&5
83468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469 (exit $ac_status); } &&
83470 { ac_try='test -z "$ac_c_werror_flag"
83471 || test ! -s conftest.err'
83472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83473 (eval $ac_try) 2>&5
83474 ac_status=$?
83475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83476 (exit $ac_status); }; } &&
83477 { ac_try='test -s conftest$ac_exeext'
83478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83479 (eval $ac_try) 2>&5
83480 ac_status=$?
83481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83482 (exit $ac_status); }; }; then
83483 eval "$as_ac_var=yes"
83484 else
83485 echo "$as_me: failed program was:" >&5
83486 sed 's/^/| /' conftest.$ac_ext >&5
83487
83488 eval "$as_ac_var=no"
83489 fi
83490 rm -f conftest.err conftest.$ac_objext \
83491 conftest$ac_exeext conftest.$ac_ext
83492 fi
83493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83495 if test `eval echo '${'$as_ac_var'}'` = yes; then
83496 cat >>confdefs.h <<_ACEOF
83497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83498 _ACEOF
83499
83500 else
83501 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83502 fi
83503 done
83504
83505
83506
83507 for ac_func in __signbit
83508 do
83509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83510 echo "$as_me:$LINENO: checking for $ac_func" >&5
83511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83512 if eval "test \"\${$as_ac_var+set}\" = set"; then
83513 echo $ECHO_N "(cached) $ECHO_C" >&6
83514 else
83515 if test x$gcc_no_link = xyes; then
83516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83518 { (exit 1); exit 1; }; }
83519 fi
83520 cat >conftest.$ac_ext <<_ACEOF
83521 /* confdefs.h. */
83522 _ACEOF
83523 cat confdefs.h >>conftest.$ac_ext
83524 cat >>conftest.$ac_ext <<_ACEOF
83525 /* end confdefs.h. */
83526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83528 #define $ac_func innocuous_$ac_func
83529
83530 /* System header to define __stub macros and hopefully few prototypes,
83531 which can conflict with char $ac_func (); below.
83532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83533 <limits.h> exists even on freestanding compilers. */
83534
83535 #ifdef __STDC__
83536 # include <limits.h>
83537 #else
83538 # include <assert.h>
83539 #endif
83540
83541 #undef $ac_func
83542
83543 /* Override any gcc2 internal prototype to avoid an error. */
83544 #ifdef __cplusplus
83545 extern "C"
83546 {
83547 #endif
83548 /* We use char because int might match the return type of a gcc2
83549 builtin and then its argument prototype would still apply. */
83550 char $ac_func ();
83551 /* The GNU C library defines this for functions which it implements
83552 to always fail with ENOSYS. Some functions are actually named
83553 something starting with __ and the normal name is an alias. */
83554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83555 choke me
83556 #else
83557 char (*f) () = $ac_func;
83558 #endif
83559 #ifdef __cplusplus
83560 }
83561 #endif
83562
83563 int
83564 main ()
83565 {
83566 return f != $ac_func;
83567 ;
83568 return 0;
83569 }
83570 _ACEOF
83571 rm -f conftest.$ac_objext conftest$ac_exeext
83572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83573 (eval $ac_link) 2>conftest.er1
83574 ac_status=$?
83575 grep -v '^ *+' conftest.er1 >conftest.err
83576 rm -f conftest.er1
83577 cat conftest.err >&5
83578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83579 (exit $ac_status); } &&
83580 { ac_try='test -z "$ac_c_werror_flag"
83581 || test ! -s conftest.err'
83582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83583 (eval $ac_try) 2>&5
83584 ac_status=$?
83585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83586 (exit $ac_status); }; } &&
83587 { ac_try='test -s conftest$ac_exeext'
83588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83589 (eval $ac_try) 2>&5
83590 ac_status=$?
83591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83592 (exit $ac_status); }; }; then
83593 eval "$as_ac_var=yes"
83594 else
83595 echo "$as_me: failed program was:" >&5
83596 sed 's/^/| /' conftest.$ac_ext >&5
83597
83598 eval "$as_ac_var=no"
83599 fi
83600 rm -f conftest.err conftest.$ac_objext \
83601 conftest$ac_exeext conftest.$ac_ext
83602 fi
83603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83605 if test `eval echo '${'$as_ac_var'}'` = yes; then
83606 cat >>confdefs.h <<_ACEOF
83607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83608 _ACEOF
83609
83610 else
83611 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83612 fi
83613 done
83614
83615
83616
83617 for ac_func in __signbitf
83618 do
83619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83620 echo "$as_me:$LINENO: checking for $ac_func" >&5
83621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83622 if eval "test \"\${$as_ac_var+set}\" = set"; then
83623 echo $ECHO_N "(cached) $ECHO_C" >&6
83624 else
83625 if test x$gcc_no_link = xyes; then
83626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83628 { (exit 1); exit 1; }; }
83629 fi
83630 cat >conftest.$ac_ext <<_ACEOF
83631 /* confdefs.h. */
83632 _ACEOF
83633 cat confdefs.h >>conftest.$ac_ext
83634 cat >>conftest.$ac_ext <<_ACEOF
83635 /* end confdefs.h. */
83636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83638 #define $ac_func innocuous_$ac_func
83639
83640 /* System header to define __stub macros and hopefully few prototypes,
83641 which can conflict with char $ac_func (); below.
83642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83643 <limits.h> exists even on freestanding compilers. */
83644
83645 #ifdef __STDC__
83646 # include <limits.h>
83647 #else
83648 # include <assert.h>
83649 #endif
83650
83651 #undef $ac_func
83652
83653 /* Override any gcc2 internal prototype to avoid an error. */
83654 #ifdef __cplusplus
83655 extern "C"
83656 {
83657 #endif
83658 /* We use char because int might match the return type of a gcc2
83659 builtin and then its argument prototype would still apply. */
83660 char $ac_func ();
83661 /* The GNU C library defines this for functions which it implements
83662 to always fail with ENOSYS. Some functions are actually named
83663 something starting with __ and the normal name is an alias. */
83664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83665 choke me
83666 #else
83667 char (*f) () = $ac_func;
83668 #endif
83669 #ifdef __cplusplus
83670 }
83671 #endif
83672
83673 int
83674 main ()
83675 {
83676 return f != $ac_func;
83677 ;
83678 return 0;
83679 }
83680 _ACEOF
83681 rm -f conftest.$ac_objext conftest$ac_exeext
83682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83683 (eval $ac_link) 2>conftest.er1
83684 ac_status=$?
83685 grep -v '^ *+' conftest.er1 >conftest.err
83686 rm -f conftest.er1
83687 cat conftest.err >&5
83688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83689 (exit $ac_status); } &&
83690 { ac_try='test -z "$ac_c_werror_flag"
83691 || test ! -s conftest.err'
83692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83693 (eval $ac_try) 2>&5
83694 ac_status=$?
83695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83696 (exit $ac_status); }; } &&
83697 { ac_try='test -s conftest$ac_exeext'
83698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83699 (eval $ac_try) 2>&5
83700 ac_status=$?
83701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83702 (exit $ac_status); }; }; then
83703 eval "$as_ac_var=yes"
83704 else
83705 echo "$as_me: failed program was:" >&5
83706 sed 's/^/| /' conftest.$ac_ext >&5
83707
83708 eval "$as_ac_var=no"
83709 fi
83710 rm -f conftest.err conftest.$ac_objext \
83711 conftest$ac_exeext conftest.$ac_ext
83712 fi
83713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83715 if test `eval echo '${'$as_ac_var'}'` = yes; then
83716 cat >>confdefs.h <<_ACEOF
83717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83718 _ACEOF
83719
83720 else
83721 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83722 fi
83723 done
83724
83725
83726 if test x$ac_cv_func_copysignl = x"yes"; then
83727
83728 for ac_func in __signbitl
83729 do
83730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83731 echo "$as_me:$LINENO: checking for $ac_func" >&5
83732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83733 if eval "test \"\${$as_ac_var+set}\" = set"; then
83734 echo $ECHO_N "(cached) $ECHO_C" >&6
83735 else
83736 if test x$gcc_no_link = xyes; then
83737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83739 { (exit 1); exit 1; }; }
83740 fi
83741 cat >conftest.$ac_ext <<_ACEOF
83742 /* confdefs.h. */
83743 _ACEOF
83744 cat confdefs.h >>conftest.$ac_ext
83745 cat >>conftest.$ac_ext <<_ACEOF
83746 /* end confdefs.h. */
83747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83749 #define $ac_func innocuous_$ac_func
83750
83751 /* System header to define __stub macros and hopefully few prototypes,
83752 which can conflict with char $ac_func (); below.
83753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83754 <limits.h> exists even on freestanding compilers. */
83755
83756 #ifdef __STDC__
83757 # include <limits.h>
83758 #else
83759 # include <assert.h>
83760 #endif
83761
83762 #undef $ac_func
83763
83764 /* Override any gcc2 internal prototype to avoid an error. */
83765 #ifdef __cplusplus
83766 extern "C"
83767 {
83768 #endif
83769 /* We use char because int might match the return type of a gcc2
83770 builtin and then its argument prototype would still apply. */
83771 char $ac_func ();
83772 /* The GNU C library defines this for functions which it implements
83773 to always fail with ENOSYS. Some functions are actually named
83774 something starting with __ and the normal name is an alias. */
83775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83776 choke me
83777 #else
83778 char (*f) () = $ac_func;
83779 #endif
83780 #ifdef __cplusplus
83781 }
83782 #endif
83783
83784 int
83785 main ()
83786 {
83787 return f != $ac_func;
83788 ;
83789 return 0;
83790 }
83791 _ACEOF
83792 rm -f conftest.$ac_objext conftest$ac_exeext
83793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83794 (eval $ac_link) 2>conftest.er1
83795 ac_status=$?
83796 grep -v '^ *+' conftest.er1 >conftest.err
83797 rm -f conftest.er1
83798 cat conftest.err >&5
83799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83800 (exit $ac_status); } &&
83801 { ac_try='test -z "$ac_c_werror_flag"
83802 || test ! -s conftest.err'
83803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83804 (eval $ac_try) 2>&5
83805 ac_status=$?
83806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83807 (exit $ac_status); }; } &&
83808 { ac_try='test -s conftest$ac_exeext'
83809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83810 (eval $ac_try) 2>&5
83811 ac_status=$?
83812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83813 (exit $ac_status); }; }; then
83814 eval "$as_ac_var=yes"
83815 else
83816 echo "$as_me: failed program was:" >&5
83817 sed 's/^/| /' conftest.$ac_ext >&5
83818
83819 eval "$as_ac_var=no"
83820 fi
83821 rm -f conftest.err conftest.$ac_objext \
83822 conftest$ac_exeext conftest.$ac_ext
83823 fi
83824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83826 if test `eval echo '${'$as_ac_var'}'` = yes; then
83827 cat >>confdefs.h <<_ACEOF
83828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83829 _ACEOF
83830
83831 else
83832 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83833 fi
83834 done
83835
83836 fi
83837
83838 # Used in libmath/Makefile.am.
83839 if test -n "$LIBMATHOBJS"; then
83840 need_libmath=yes
83841 fi
83842
83843
83844
83845 ac_test_CXXFLAGS="${CXXFLAGS+set}"
83846 ac_save_CXXFLAGS="$CXXFLAGS"
83847 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83848
83849
83850 echo "$as_me:$LINENO: checking for strtold declaration" >&5
83851 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83852 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83853 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83854 echo $ECHO_N "(cached) $ECHO_C" >&6
83855 else
83856
83857
83858
83859 ac_ext=cc
83860 ac_cpp='$CXXCPP $CPPFLAGS'
83861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83864
83865 cat >conftest.$ac_ext <<_ACEOF
83866 /* confdefs.h. */
83867 _ACEOF
83868 cat confdefs.h >>conftest.$ac_ext
83869 cat >>conftest.$ac_ext <<_ACEOF
83870 /* end confdefs.h. */
83871 #include <stdlib.h>
83872 int
83873 main ()
83874 {
83875 strtold(0, 0);
83876 ;
83877 return 0;
83878 }
83879 _ACEOF
83880 rm -f conftest.$ac_objext
83881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83882 (eval $ac_compile) 2>conftest.er1
83883 ac_status=$?
83884 grep -v '^ *+' conftest.er1 >conftest.err
83885 rm -f conftest.er1
83886 cat conftest.err >&5
83887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83888 (exit $ac_status); } &&
83889 { ac_try='test -z "$ac_cxx_werror_flag"
83890 || test ! -s conftest.err'
83891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83892 (eval $ac_try) 2>&5
83893 ac_status=$?
83894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83895 (exit $ac_status); }; } &&
83896 { ac_try='test -s conftest.$ac_objext'
83897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83898 (eval $ac_try) 2>&5
83899 ac_status=$?
83900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83901 (exit $ac_status); }; }; then
83902 glibcxx_cv_func_strtold_use=yes
83903 else
83904 echo "$as_me: failed program was:" >&5
83905 sed 's/^/| /' conftest.$ac_ext >&5
83906
83907 glibcxx_cv_func_strtold_use=no
83908 fi
83909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83910 ac_ext=c
83911 ac_cpp='$CPP $CPPFLAGS'
83912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83915
83916
83917 fi
83918
83919 fi
83920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83921 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83922 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83923
83924 for ac_func in strtold
83925 do
83926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83927 echo "$as_me:$LINENO: checking for $ac_func" >&5
83928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83929 if eval "test \"\${$as_ac_var+set}\" = set"; then
83930 echo $ECHO_N "(cached) $ECHO_C" >&6
83931 else
83932 if test x$gcc_no_link = xyes; then
83933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83935 { (exit 1); exit 1; }; }
83936 fi
83937 cat >conftest.$ac_ext <<_ACEOF
83938 /* confdefs.h. */
83939 _ACEOF
83940 cat confdefs.h >>conftest.$ac_ext
83941 cat >>conftest.$ac_ext <<_ACEOF
83942 /* end confdefs.h. */
83943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83945 #define $ac_func innocuous_$ac_func
83946
83947 /* System header to define __stub macros and hopefully few prototypes,
83948 which can conflict with char $ac_func (); below.
83949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83950 <limits.h> exists even on freestanding compilers. */
83951
83952 #ifdef __STDC__
83953 # include <limits.h>
83954 #else
83955 # include <assert.h>
83956 #endif
83957
83958 #undef $ac_func
83959
83960 /* Override any gcc2 internal prototype to avoid an error. */
83961 #ifdef __cplusplus
83962 extern "C"
83963 {
83964 #endif
83965 /* We use char because int might match the return type of a gcc2
83966 builtin and then its argument prototype would still apply. */
83967 char $ac_func ();
83968 /* The GNU C library defines this for functions which it implements
83969 to always fail with ENOSYS. Some functions are actually named
83970 something starting with __ and the normal name is an alias. */
83971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83972 choke me
83973 #else
83974 char (*f) () = $ac_func;
83975 #endif
83976 #ifdef __cplusplus
83977 }
83978 #endif
83979
83980 int
83981 main ()
83982 {
83983 return f != $ac_func;
83984 ;
83985 return 0;
83986 }
83987 _ACEOF
83988 rm -f conftest.$ac_objext conftest$ac_exeext
83989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83990 (eval $ac_link) 2>conftest.er1
83991 ac_status=$?
83992 grep -v '^ *+' conftest.er1 >conftest.err
83993 rm -f conftest.er1
83994 cat conftest.err >&5
83995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83996 (exit $ac_status); } &&
83997 { ac_try='test -z "$ac_c_werror_flag"
83998 || test ! -s conftest.err'
83999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84000 (eval $ac_try) 2>&5
84001 ac_status=$?
84002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84003 (exit $ac_status); }; } &&
84004 { ac_try='test -s conftest$ac_exeext'
84005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84006 (eval $ac_try) 2>&5
84007 ac_status=$?
84008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84009 (exit $ac_status); }; }; then
84010 eval "$as_ac_var=yes"
84011 else
84012 echo "$as_me: failed program was:" >&5
84013 sed 's/^/| /' conftest.$ac_ext >&5
84014
84015 eval "$as_ac_var=no"
84016 fi
84017 rm -f conftest.err conftest.$ac_objext \
84018 conftest$ac_exeext conftest.$ac_ext
84019 fi
84020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84022 if test `eval echo '${'$as_ac_var'}'` = yes; then
84023 cat >>confdefs.h <<_ACEOF
84024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84025 _ACEOF
84026
84027 fi
84028 done
84029
84030 fi
84031
84032
84033
84034
84035
84036 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84037 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84038 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84039 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84040 echo $ECHO_N "(cached) $ECHO_C" >&6
84041 else
84042
84043
84044
84045 ac_ext=cc
84046 ac_cpp='$CXXCPP $CPPFLAGS'
84047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84050
84051 cat >conftest.$ac_ext <<_ACEOF
84052 /* confdefs.h. */
84053 _ACEOF
84054 cat confdefs.h >>conftest.$ac_ext
84055 cat >>conftest.$ac_ext <<_ACEOF
84056 /* end confdefs.h. */
84057 #include <stdlib.h>
84058 int
84059 main ()
84060 {
84061 strtof(0, 0);
84062 ;
84063 return 0;
84064 }
84065 _ACEOF
84066 rm -f conftest.$ac_objext
84067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84068 (eval $ac_compile) 2>conftest.er1
84069 ac_status=$?
84070 grep -v '^ *+' conftest.er1 >conftest.err
84071 rm -f conftest.er1
84072 cat conftest.err >&5
84073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84074 (exit $ac_status); } &&
84075 { ac_try='test -z "$ac_cxx_werror_flag"
84076 || test ! -s conftest.err'
84077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84078 (eval $ac_try) 2>&5
84079 ac_status=$?
84080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84081 (exit $ac_status); }; } &&
84082 { ac_try='test -s conftest.$ac_objext'
84083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84084 (eval $ac_try) 2>&5
84085 ac_status=$?
84086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84087 (exit $ac_status); }; }; then
84088 glibcxx_cv_func_strtof_use=yes
84089 else
84090 echo "$as_me: failed program was:" >&5
84091 sed 's/^/| /' conftest.$ac_ext >&5
84092
84093 glibcxx_cv_func_strtof_use=no
84094 fi
84095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84096 ac_ext=c
84097 ac_cpp='$CPP $CPPFLAGS'
84098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84101
84102
84103 fi
84104
84105 fi
84106 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84107 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84108 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84109
84110 for ac_func in strtof
84111 do
84112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84113 echo "$as_me:$LINENO: checking for $ac_func" >&5
84114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84115 if eval "test \"\${$as_ac_var+set}\" = set"; then
84116 echo $ECHO_N "(cached) $ECHO_C" >&6
84117 else
84118 if test x$gcc_no_link = xyes; then
84119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84121 { (exit 1); exit 1; }; }
84122 fi
84123 cat >conftest.$ac_ext <<_ACEOF
84124 /* confdefs.h. */
84125 _ACEOF
84126 cat confdefs.h >>conftest.$ac_ext
84127 cat >>conftest.$ac_ext <<_ACEOF
84128 /* end confdefs.h. */
84129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84131 #define $ac_func innocuous_$ac_func
84132
84133 /* System header to define __stub macros and hopefully few prototypes,
84134 which can conflict with char $ac_func (); below.
84135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84136 <limits.h> exists even on freestanding compilers. */
84137
84138 #ifdef __STDC__
84139 # include <limits.h>
84140 #else
84141 # include <assert.h>
84142 #endif
84143
84144 #undef $ac_func
84145
84146 /* Override any gcc2 internal prototype to avoid an error. */
84147 #ifdef __cplusplus
84148 extern "C"
84149 {
84150 #endif
84151 /* We use char because int might match the return type of a gcc2
84152 builtin and then its argument prototype would still apply. */
84153 char $ac_func ();
84154 /* The GNU C library defines this for functions which it implements
84155 to always fail with ENOSYS. Some functions are actually named
84156 something starting with __ and the normal name is an alias. */
84157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84158 choke me
84159 #else
84160 char (*f) () = $ac_func;
84161 #endif
84162 #ifdef __cplusplus
84163 }
84164 #endif
84165
84166 int
84167 main ()
84168 {
84169 return f != $ac_func;
84170 ;
84171 return 0;
84172 }
84173 _ACEOF
84174 rm -f conftest.$ac_objext conftest$ac_exeext
84175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84176 (eval $ac_link) 2>conftest.er1
84177 ac_status=$?
84178 grep -v '^ *+' conftest.er1 >conftest.err
84179 rm -f conftest.er1
84180 cat conftest.err >&5
84181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84182 (exit $ac_status); } &&
84183 { ac_try='test -z "$ac_c_werror_flag"
84184 || test ! -s conftest.err'
84185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84186 (eval $ac_try) 2>&5
84187 ac_status=$?
84188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84189 (exit $ac_status); }; } &&
84190 { ac_try='test -s conftest$ac_exeext'
84191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84192 (eval $ac_try) 2>&5
84193 ac_status=$?
84194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84195 (exit $ac_status); }; }; then
84196 eval "$as_ac_var=yes"
84197 else
84198 echo "$as_me: failed program was:" >&5
84199 sed 's/^/| /' conftest.$ac_ext >&5
84200
84201 eval "$as_ac_var=no"
84202 fi
84203 rm -f conftest.err conftest.$ac_objext \
84204 conftest$ac_exeext conftest.$ac_ext
84205 fi
84206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84208 if test `eval echo '${'$as_ac_var'}'` = yes; then
84209 cat >>confdefs.h <<_ACEOF
84210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84211 _ACEOF
84212
84213 fi
84214 done
84215
84216 fi
84217
84218
84219
84220
84221
84222 CXXFLAGS="$ac_save_CXXFLAGS"
84223
84224
84225 # For showmanyc_helper().
84226
84227
84228 for ac_header in sys/ioctl.h sys/filio.h
84229 do
84230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84232 echo "$as_me:$LINENO: checking for $ac_header" >&5
84233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84235 echo $ECHO_N "(cached) $ECHO_C" >&6
84236 fi
84237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84239 else
84240 # Is the header compilable?
84241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84243 cat >conftest.$ac_ext <<_ACEOF
84244 /* confdefs.h. */
84245 _ACEOF
84246 cat confdefs.h >>conftest.$ac_ext
84247 cat >>conftest.$ac_ext <<_ACEOF
84248 /* end confdefs.h. */
84249 $ac_includes_default
84250 #include <$ac_header>
84251 _ACEOF
84252 rm -f conftest.$ac_objext
84253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84254 (eval $ac_compile) 2>conftest.er1
84255 ac_status=$?
84256 grep -v '^ *+' conftest.er1 >conftest.err
84257 rm -f conftest.er1
84258 cat conftest.err >&5
84259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84260 (exit $ac_status); } &&
84261 { ac_try='test -z "$ac_c_werror_flag"
84262 || test ! -s conftest.err'
84263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84264 (eval $ac_try) 2>&5
84265 ac_status=$?
84266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84267 (exit $ac_status); }; } &&
84268 { ac_try='test -s conftest.$ac_objext'
84269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84270 (eval $ac_try) 2>&5
84271 ac_status=$?
84272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84273 (exit $ac_status); }; }; then
84274 ac_header_compiler=yes
84275 else
84276 echo "$as_me: failed program was:" >&5
84277 sed 's/^/| /' conftest.$ac_ext >&5
84278
84279 ac_header_compiler=no
84280 fi
84281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84283 echo "${ECHO_T}$ac_header_compiler" >&6
84284
84285 # Is the header present?
84286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84288 cat >conftest.$ac_ext <<_ACEOF
84289 /* confdefs.h. */
84290 _ACEOF
84291 cat confdefs.h >>conftest.$ac_ext
84292 cat >>conftest.$ac_ext <<_ACEOF
84293 /* end confdefs.h. */
84294 #include <$ac_header>
84295 _ACEOF
84296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84298 ac_status=$?
84299 grep -v '^ *+' conftest.er1 >conftest.err
84300 rm -f conftest.er1
84301 cat conftest.err >&5
84302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84303 (exit $ac_status); } >/dev/null; then
84304 if test -s conftest.err; then
84305 ac_cpp_err=$ac_c_preproc_warn_flag
84306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84307 else
84308 ac_cpp_err=
84309 fi
84310 else
84311 ac_cpp_err=yes
84312 fi
84313 if test -z "$ac_cpp_err"; then
84314 ac_header_preproc=yes
84315 else
84316 echo "$as_me: failed program was:" >&5
84317 sed 's/^/| /' conftest.$ac_ext >&5
84318
84319 ac_header_preproc=no
84320 fi
84321 rm -f conftest.err conftest.$ac_ext
84322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84323 echo "${ECHO_T}$ac_header_preproc" >&6
84324
84325 # So? What about this header?
84326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84327 yes:no: )
84328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84332 ac_header_preproc=yes
84333 ;;
84334 no:yes:* )
84335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84347 (
84348 cat <<\_ASBOX
84349 ## ----------------------------------------- ##
84350 ## Report this to the package-unused lists. ##
84351 ## ----------------------------------------- ##
84352 _ASBOX
84353 ) |
84354 sed "s/^/$as_me: WARNING: /" >&2
84355 ;;
84356 esac
84357 echo "$as_me:$LINENO: checking for $ac_header" >&5
84358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84360 echo $ECHO_N "(cached) $ECHO_C" >&6
84361 else
84362 eval "$as_ac_Header=\$ac_header_preproc"
84363 fi
84364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84366
84367 fi
84368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84369 cat >>confdefs.h <<_ACEOF
84370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84371 _ACEOF
84372
84373 fi
84374
84375 done
84376
84377
84378 echo "$as_me:$LINENO: checking for poll" >&5
84379 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84380 if test "${glibcxx_cv_POLL+set}" = set; then
84381 echo $ECHO_N "(cached) $ECHO_C" >&6
84382 else
84383
84384 if test x$gcc_no_link = xyes; then
84385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84387 { (exit 1); exit 1; }; }
84388 fi
84389 cat >conftest.$ac_ext <<_ACEOF
84390 /* confdefs.h. */
84391 _ACEOF
84392 cat confdefs.h >>conftest.$ac_ext
84393 cat >>conftest.$ac_ext <<_ACEOF
84394 /* end confdefs.h. */
84395 #include <poll.h>
84396 int
84397 main ()
84398 {
84399 struct pollfd pfd[1];
84400 pfd[0].events = POLLIN;
84401 poll(pfd, 1, 0);
84402 ;
84403 return 0;
84404 }
84405 _ACEOF
84406 rm -f conftest.$ac_objext conftest$ac_exeext
84407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84408 (eval $ac_link) 2>conftest.er1
84409 ac_status=$?
84410 grep -v '^ *+' conftest.er1 >conftest.err
84411 rm -f conftest.er1
84412 cat conftest.err >&5
84413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84414 (exit $ac_status); } &&
84415 { ac_try='test -z "$ac_c_werror_flag"
84416 || test ! -s conftest.err'
84417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84418 (eval $ac_try) 2>&5
84419 ac_status=$?
84420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84421 (exit $ac_status); }; } &&
84422 { ac_try='test -s conftest$ac_exeext'
84423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84424 (eval $ac_try) 2>&5
84425 ac_status=$?
84426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84427 (exit $ac_status); }; }; then
84428 glibcxx_cv_POLL=yes
84429 else
84430 echo "$as_me: failed program was:" >&5
84431 sed 's/^/| /' conftest.$ac_ext >&5
84432
84433 glibcxx_cv_POLL=no
84434 fi
84435 rm -f conftest.err conftest.$ac_objext \
84436 conftest$ac_exeext conftest.$ac_ext
84437
84438 fi
84439
84440 if test $glibcxx_cv_POLL = yes; then
84441
84442 cat >>confdefs.h <<\_ACEOF
84443 #define HAVE_POLL 1
84444 _ACEOF
84445
84446 fi
84447 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84448 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84449
84450
84451 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84452 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84453 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84454 echo $ECHO_N "(cached) $ECHO_C" >&6
84455 else
84456
84457 if test x$gcc_no_link = xyes; then
84458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84460 { (exit 1); exit 1; }; }
84461 fi
84462 cat >conftest.$ac_ext <<_ACEOF
84463 /* confdefs.h. */
84464 _ACEOF
84465 cat confdefs.h >>conftest.$ac_ext
84466 cat >>conftest.$ac_ext <<_ACEOF
84467 /* end confdefs.h. */
84468 #include <sys/stat.h>
84469 int
84470 main ()
84471 {
84472 struct stat buffer;
84473 fstat(0, &buffer);
84474 S_ISREG(buffer.st_mode);
84475 ;
84476 return 0;
84477 }
84478 _ACEOF
84479 rm -f conftest.$ac_objext conftest$ac_exeext
84480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84481 (eval $ac_link) 2>conftest.er1
84482 ac_status=$?
84483 grep -v '^ *+' conftest.er1 >conftest.err
84484 rm -f conftest.er1
84485 cat conftest.err >&5
84486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84487 (exit $ac_status); } &&
84488 { ac_try='test -z "$ac_c_werror_flag"
84489 || test ! -s conftest.err'
84490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84491 (eval $ac_try) 2>&5
84492 ac_status=$?
84493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84494 (exit $ac_status); }; } &&
84495 { ac_try='test -s conftest$ac_exeext'
84496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84497 (eval $ac_try) 2>&5
84498 ac_status=$?
84499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84500 (exit $ac_status); }; }; then
84501 glibcxx_cv_S_ISREG=yes
84502 else
84503 echo "$as_me: failed program was:" >&5
84504 sed 's/^/| /' conftest.$ac_ext >&5
84505
84506 glibcxx_cv_S_ISREG=no
84507 fi
84508 rm -f conftest.err conftest.$ac_objext \
84509 conftest$ac_exeext conftest.$ac_ext
84510
84511 fi
84512
84513 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84514 echo $ECHO_N "(cached) $ECHO_C" >&6
84515 else
84516
84517 if test x$gcc_no_link = xyes; then
84518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84520 { (exit 1); exit 1; }; }
84521 fi
84522 cat >conftest.$ac_ext <<_ACEOF
84523 /* confdefs.h. */
84524 _ACEOF
84525 cat confdefs.h >>conftest.$ac_ext
84526 cat >>conftest.$ac_ext <<_ACEOF
84527 /* end confdefs.h. */
84528 #include <sys/stat.h>
84529 int
84530 main ()
84531 {
84532 struct stat buffer;
84533 fstat(0, &buffer);
84534 S_IFREG & buffer.st_mode;
84535 ;
84536 return 0;
84537 }
84538 _ACEOF
84539 rm -f conftest.$ac_objext conftest$ac_exeext
84540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84541 (eval $ac_link) 2>conftest.er1
84542 ac_status=$?
84543 grep -v '^ *+' conftest.er1 >conftest.err
84544 rm -f conftest.er1
84545 cat conftest.err >&5
84546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84547 (exit $ac_status); } &&
84548 { ac_try='test -z "$ac_c_werror_flag"
84549 || test ! -s conftest.err'
84550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84551 (eval $ac_try) 2>&5
84552 ac_status=$?
84553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84554 (exit $ac_status); }; } &&
84555 { ac_try='test -s conftest$ac_exeext'
84556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84557 (eval $ac_try) 2>&5
84558 ac_status=$?
84559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84560 (exit $ac_status); }; }; then
84561 glibcxx_cv_S_IFREG=yes
84562 else
84563 echo "$as_me: failed program was:" >&5
84564 sed 's/^/| /' conftest.$ac_ext >&5
84565
84566 glibcxx_cv_S_IFREG=no
84567 fi
84568 rm -f conftest.err conftest.$ac_objext \
84569 conftest$ac_exeext conftest.$ac_ext
84570
84571 fi
84572
84573 res=no
84574 if test $glibcxx_cv_S_ISREG = yes; then
84575
84576 cat >>confdefs.h <<\_ACEOF
84577 #define HAVE_S_ISREG 1
84578 _ACEOF
84579
84580 res=S_ISREG
84581 elif test $glibcxx_cv_S_IFREG = yes; then
84582
84583 cat >>confdefs.h <<\_ACEOF
84584 #define HAVE_S_IFREG 1
84585 _ACEOF
84586
84587 res=S_IFREG
84588 fi
84589 echo "$as_me:$LINENO: result: $res" >&5
84590 echo "${ECHO_T}$res" >&6
84591
84592
84593 # For xsputn_2().
84594
84595 for ac_header in sys/uio.h
84596 do
84597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84599 echo "$as_me:$LINENO: checking for $ac_header" >&5
84600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84602 echo $ECHO_N "(cached) $ECHO_C" >&6
84603 fi
84604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84606 else
84607 # Is the header compilable?
84608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84610 cat >conftest.$ac_ext <<_ACEOF
84611 /* confdefs.h. */
84612 _ACEOF
84613 cat confdefs.h >>conftest.$ac_ext
84614 cat >>conftest.$ac_ext <<_ACEOF
84615 /* end confdefs.h. */
84616 $ac_includes_default
84617 #include <$ac_header>
84618 _ACEOF
84619 rm -f conftest.$ac_objext
84620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84621 (eval $ac_compile) 2>conftest.er1
84622 ac_status=$?
84623 grep -v '^ *+' conftest.er1 >conftest.err
84624 rm -f conftest.er1
84625 cat conftest.err >&5
84626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84627 (exit $ac_status); } &&
84628 { ac_try='test -z "$ac_c_werror_flag"
84629 || test ! -s conftest.err'
84630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84631 (eval $ac_try) 2>&5
84632 ac_status=$?
84633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84634 (exit $ac_status); }; } &&
84635 { ac_try='test -s conftest.$ac_objext'
84636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84637 (eval $ac_try) 2>&5
84638 ac_status=$?
84639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84640 (exit $ac_status); }; }; then
84641 ac_header_compiler=yes
84642 else
84643 echo "$as_me: failed program was:" >&5
84644 sed 's/^/| /' conftest.$ac_ext >&5
84645
84646 ac_header_compiler=no
84647 fi
84648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84650 echo "${ECHO_T}$ac_header_compiler" >&6
84651
84652 # Is the header present?
84653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84655 cat >conftest.$ac_ext <<_ACEOF
84656 /* confdefs.h. */
84657 _ACEOF
84658 cat confdefs.h >>conftest.$ac_ext
84659 cat >>conftest.$ac_ext <<_ACEOF
84660 /* end confdefs.h. */
84661 #include <$ac_header>
84662 _ACEOF
84663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84665 ac_status=$?
84666 grep -v '^ *+' conftest.er1 >conftest.err
84667 rm -f conftest.er1
84668 cat conftest.err >&5
84669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670 (exit $ac_status); } >/dev/null; then
84671 if test -s conftest.err; then
84672 ac_cpp_err=$ac_c_preproc_warn_flag
84673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84674 else
84675 ac_cpp_err=
84676 fi
84677 else
84678 ac_cpp_err=yes
84679 fi
84680 if test -z "$ac_cpp_err"; then
84681 ac_header_preproc=yes
84682 else
84683 echo "$as_me: failed program was:" >&5
84684 sed 's/^/| /' conftest.$ac_ext >&5
84685
84686 ac_header_preproc=no
84687 fi
84688 rm -f conftest.err conftest.$ac_ext
84689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84690 echo "${ECHO_T}$ac_header_preproc" >&6
84691
84692 # So? What about this header?
84693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84694 yes:no: )
84695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84699 ac_header_preproc=yes
84700 ;;
84701 no:yes:* )
84702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84714 (
84715 cat <<\_ASBOX
84716 ## ----------------------------------------- ##
84717 ## Report this to the package-unused lists. ##
84718 ## ----------------------------------------- ##
84719 _ASBOX
84720 ) |
84721 sed "s/^/$as_me: WARNING: /" >&2
84722 ;;
84723 esac
84724 echo "$as_me:$LINENO: checking for $ac_header" >&5
84725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84727 echo $ECHO_N "(cached) $ECHO_C" >&6
84728 else
84729 eval "$as_ac_Header=\$ac_header_preproc"
84730 fi
84731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84733
84734 fi
84735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84736 cat >>confdefs.h <<_ACEOF
84737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84738 _ACEOF
84739
84740 fi
84741
84742 done
84743
84744
84745 echo "$as_me:$LINENO: checking for writev" >&5
84746 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84747 if test "${glibcxx_cv_WRITEV+set}" = set; then
84748 echo $ECHO_N "(cached) $ECHO_C" >&6
84749 else
84750
84751 if test x$gcc_no_link = xyes; then
84752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84754 { (exit 1); exit 1; }; }
84755 fi
84756 cat >conftest.$ac_ext <<_ACEOF
84757 /* confdefs.h. */
84758 _ACEOF
84759 cat confdefs.h >>conftest.$ac_ext
84760 cat >>conftest.$ac_ext <<_ACEOF
84761 /* end confdefs.h. */
84762 #include <sys/uio.h>
84763 int
84764 main ()
84765 {
84766 struct iovec iov[2];
84767 writev(0, iov, 0);
84768 ;
84769 return 0;
84770 }
84771 _ACEOF
84772 rm -f conftest.$ac_objext conftest$ac_exeext
84773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84774 (eval $ac_link) 2>conftest.er1
84775 ac_status=$?
84776 grep -v '^ *+' conftest.er1 >conftest.err
84777 rm -f conftest.er1
84778 cat conftest.err >&5
84779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84780 (exit $ac_status); } &&
84781 { ac_try='test -z "$ac_c_werror_flag"
84782 || test ! -s conftest.err'
84783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84784 (eval $ac_try) 2>&5
84785 ac_status=$?
84786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84787 (exit $ac_status); }; } &&
84788 { ac_try='test -s conftest$ac_exeext'
84789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84790 (eval $ac_try) 2>&5
84791 ac_status=$?
84792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84793 (exit $ac_status); }; }; then
84794 glibcxx_cv_WRITEV=yes
84795 else
84796 echo "$as_me: failed program was:" >&5
84797 sed 's/^/| /' conftest.$ac_ext >&5
84798
84799 glibcxx_cv_WRITEV=no
84800 fi
84801 rm -f conftest.err conftest.$ac_objext \
84802 conftest$ac_exeext conftest.$ac_ext
84803
84804 fi
84805
84806 if test $glibcxx_cv_WRITEV = yes; then
84807
84808 cat >>confdefs.h <<\_ACEOF
84809 #define HAVE_WRITEV 1
84810 _ACEOF
84811
84812 fi
84813 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84814 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84815
84816
84817 cat >>confdefs.h <<\_ACEOF
84818 #define HAVE_LC_MESSAGES 1
84819 _ACEOF
84820
84821
84822 cat >conftest.$ac_ext <<_ACEOF
84823 /* confdefs.h. */
84824 _ACEOF
84825 cat confdefs.h >>conftest.$ac_ext
84826 cat >>conftest.$ac_ext <<_ACEOF
84827 /* end confdefs.h. */
84828 #include <setjmp.h>
84829 int
84830 main ()
84831 {
84832 sigjmp_buf env;
84833 while (! sigsetjmp (env, 1))
84834 siglongjmp (env, 1);
84835
84836 ;
84837 return 0;
84838 }
84839 _ACEOF
84840 rm -f conftest.$ac_objext
84841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84842 (eval $ac_compile) 2>conftest.er1
84843 ac_status=$?
84844 grep -v '^ *+' conftest.er1 >conftest.err
84845 rm -f conftest.er1
84846 cat conftest.err >&5
84847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84848 (exit $ac_status); } &&
84849 { ac_try='test -z "$ac_c_werror_flag"
84850 || test ! -s conftest.err'
84851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84852 (eval $ac_try) 2>&5
84853 ac_status=$?
84854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84855 (exit $ac_status); }; } &&
84856 { ac_try='test -s conftest.$ac_objext'
84857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84858 (eval $ac_try) 2>&5
84859 ac_status=$?
84860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84861 (exit $ac_status); }; }; then
84862
84863 cat >>confdefs.h <<\_ACEOF
84864 #define HAVE_SIGSETJMP 1
84865 _ACEOF
84866
84867 else
84868 echo "$as_me: failed program was:" >&5
84869 sed 's/^/| /' conftest.$ac_ext >&5
84870
84871 fi
84872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84873
84874 cat >>confdefs.h <<\_ACEOF
84875 #define HAVE_MMAP 1
84876 _ACEOF
84877
84878 ;;
84879
84880 *djgpp)
84881
84882
84883
84884
84885
84886
84887
84888
84889
84890
84891
84892
84893
84894
84895
84896
84897
84898
84899
84900
84901 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84902 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84903 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84904 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84905 do
84906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84908 echo "$as_me:$LINENO: checking for $ac_header" >&5
84909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84911 echo $ECHO_N "(cached) $ECHO_C" >&6
84912 fi
84913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84915 else
84916 # Is the header compilable?
84917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84919 cat >conftest.$ac_ext <<_ACEOF
84920 /* confdefs.h. */
84921 _ACEOF
84922 cat confdefs.h >>conftest.$ac_ext
84923 cat >>conftest.$ac_ext <<_ACEOF
84924 /* end confdefs.h. */
84925 $ac_includes_default
84926 #include <$ac_header>
84927 _ACEOF
84928 rm -f conftest.$ac_objext
84929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84930 (eval $ac_compile) 2>conftest.er1
84931 ac_status=$?
84932 grep -v '^ *+' conftest.er1 >conftest.err
84933 rm -f conftest.er1
84934 cat conftest.err >&5
84935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84936 (exit $ac_status); } &&
84937 { ac_try='test -z "$ac_c_werror_flag"
84938 || test ! -s conftest.err'
84939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84940 (eval $ac_try) 2>&5
84941 ac_status=$?
84942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84943 (exit $ac_status); }; } &&
84944 { ac_try='test -s conftest.$ac_objext'
84945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84946 (eval $ac_try) 2>&5
84947 ac_status=$?
84948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84949 (exit $ac_status); }; }; then
84950 ac_header_compiler=yes
84951 else
84952 echo "$as_me: failed program was:" >&5
84953 sed 's/^/| /' conftest.$ac_ext >&5
84954
84955 ac_header_compiler=no
84956 fi
84957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84959 echo "${ECHO_T}$ac_header_compiler" >&6
84960
84961 # Is the header present?
84962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84964 cat >conftest.$ac_ext <<_ACEOF
84965 /* confdefs.h. */
84966 _ACEOF
84967 cat confdefs.h >>conftest.$ac_ext
84968 cat >>conftest.$ac_ext <<_ACEOF
84969 /* end confdefs.h. */
84970 #include <$ac_header>
84971 _ACEOF
84972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84974 ac_status=$?
84975 grep -v '^ *+' conftest.er1 >conftest.err
84976 rm -f conftest.er1
84977 cat conftest.err >&5
84978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84979 (exit $ac_status); } >/dev/null; then
84980 if test -s conftest.err; then
84981 ac_cpp_err=$ac_c_preproc_warn_flag
84982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84983 else
84984 ac_cpp_err=
84985 fi
84986 else
84987 ac_cpp_err=yes
84988 fi
84989 if test -z "$ac_cpp_err"; then
84990 ac_header_preproc=yes
84991 else
84992 echo "$as_me: failed program was:" >&5
84993 sed 's/^/| /' conftest.$ac_ext >&5
84994
84995 ac_header_preproc=no
84996 fi
84997 rm -f conftest.err conftest.$ac_ext
84998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84999 echo "${ECHO_T}$ac_header_preproc" >&6
85000
85001 # So? What about this header?
85002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85003 yes:no: )
85004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85008 ac_header_preproc=yes
85009 ;;
85010 no:yes:* )
85011 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85013 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85014 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85015 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85017 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85018 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85021 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85023 (
85024 cat <<\_ASBOX
85025 ## ----------------------------------------- ##
85026 ## Report this to the package-unused lists. ##
85027 ## ----------------------------------------- ##
85028 _ASBOX
85029 ) |
85030 sed "s/^/$as_me: WARNING: /" >&2
85031 ;;
85032 esac
85033 echo "$as_me:$LINENO: checking for $ac_header" >&5
85034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85036 echo $ECHO_N "(cached) $ECHO_C" >&6
85037 else
85038 eval "$as_ac_Header=\$ac_header_preproc"
85039 fi
85040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85042
85043 fi
85044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85045 cat >>confdefs.h <<_ACEOF
85046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85047 _ACEOF
85048
85049 fi
85050
85051 done
85052
85053 # GLIBCXX_CHECK_MATH_SUPPORT
85054 cat >>confdefs.h <<\_ACEOF
85055 #define HAVE_LIBM 1
85056 _ACEOF
85057
85058 cat >>confdefs.h <<\_ACEOF
85059 #define HAVE_ISINF 1
85060 _ACEOF
85061
85062 cat >>confdefs.h <<\_ACEOF
85063 #define HAVE_ISNAN 1
85064 _ACEOF
85065
85066 cat >>confdefs.h <<\_ACEOF
85067 #define HAVE_FINITE 1
85068 _ACEOF
85069
85070 cat >>confdefs.h <<\_ACEOF
85071 #define HAVE_COPYSIGN 1
85072 _ACEOF
85073
85074 cat >>confdefs.h <<\_ACEOF
85075 #define HAVE_SINCOS 1
85076 _ACEOF
85077
85078 cat >>confdefs.h <<\_ACEOF
85079 #define HAVE_HYPOT 1
85080 _ACEOF
85081
85082 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85083 cat >>confdefs.h <<\_ACEOF
85084 #define HAVE___BUILTIN_ABS 1
85085 _ACEOF
85086
85087 cat >>confdefs.h <<\_ACEOF
85088 #define HAVE___BUILTIN_FABSF 1
85089 _ACEOF
85090
85091 cat >>confdefs.h <<\_ACEOF
85092 #define HAVE___BUILTIN_FABS 1
85093 _ACEOF
85094
85095 cat >>confdefs.h <<\_ACEOF
85096 #define HAVE___BUILTIN_FABSL 1
85097 _ACEOF
85098
85099 cat >>confdefs.h <<\_ACEOF
85100 #define HAVE___BUILTIN_LABS 1
85101 _ACEOF
85102
85103 cat >>confdefs.h <<\_ACEOF
85104 #define HAVE___BUILTIN_SQRTF 1
85105 _ACEOF
85106
85107 cat >>confdefs.h <<\_ACEOF
85108 #define HAVE___BUILTIN_SQRT 1
85109 _ACEOF
85110
85111 cat >>confdefs.h <<\_ACEOF
85112 #define HAVE___BUILTIN_SQRTL 1
85113 _ACEOF
85114
85115 cat >>confdefs.h <<\_ACEOF
85116 #define HAVE___BUILTIN_SINF 1
85117 _ACEOF
85118
85119 cat >>confdefs.h <<\_ACEOF
85120 #define HAVE___BUILTIN_SIN 1
85121 _ACEOF
85122
85123 cat >>confdefs.h <<\_ACEOF
85124 #define HAVE___BUILTIN_SINL 1
85125 _ACEOF
85126
85127 cat >>confdefs.h <<\_ACEOF
85128 #define HAVE___BUILTIN_COSF 1
85129 _ACEOF
85130
85131 cat >>confdefs.h <<\_ACEOF
85132 #define HAVE___BUILTIN_COS 1
85133 _ACEOF
85134
85135 cat >>confdefs.h <<\_ACEOF
85136 #define HAVE___BUILTIN_COSL 1
85137 _ACEOF
85138
85139 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85140 # GLIBCXX_CHECK_STDLIB_SUPPORT
85141 cat >>confdefs.h <<\_ACEOF
85142 #define HAVE_COPYSIGN 1
85143 _ACEOF
85144
85145 cat >>confdefs.h <<\_ACEOF
85146 #define HAVE_COPYSIGNF 1
85147 _ACEOF
85148
85149 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85150 cat >>confdefs.h <<\_ACEOF
85151 #define HAVE_S_ISREG 1
85152 _ACEOF
85153
85154 cat >>confdefs.h <<\_ACEOF
85155 #define HAVE_S_IFREG 1
85156 _ACEOF
85157
85158 cat >>confdefs.h <<\_ACEOF
85159 #define HAVE_WRITEV 1
85160 _ACEOF
85161
85162 ;;
85163
85164 *-freebsd*)
85165
85166
85167
85168
85169
85170
85171
85172
85173
85174
85175
85176
85177
85178
85179
85180
85181 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85182 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85183 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85184 sys/time.h unistd.h
85185 do
85186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85188 echo "$as_me:$LINENO: checking for $ac_header" >&5
85189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85191 echo $ECHO_N "(cached) $ECHO_C" >&6
85192 fi
85193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85195 else
85196 # Is the header compilable?
85197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85199 cat >conftest.$ac_ext <<_ACEOF
85200 /* confdefs.h. */
85201 _ACEOF
85202 cat confdefs.h >>conftest.$ac_ext
85203 cat >>conftest.$ac_ext <<_ACEOF
85204 /* end confdefs.h. */
85205 $ac_includes_default
85206 #include <$ac_header>
85207 _ACEOF
85208 rm -f conftest.$ac_objext
85209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85210 (eval $ac_compile) 2>conftest.er1
85211 ac_status=$?
85212 grep -v '^ *+' conftest.er1 >conftest.err
85213 rm -f conftest.er1
85214 cat conftest.err >&5
85215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216 (exit $ac_status); } &&
85217 { ac_try='test -z "$ac_c_werror_flag"
85218 || test ! -s conftest.err'
85219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85220 (eval $ac_try) 2>&5
85221 ac_status=$?
85222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85223 (exit $ac_status); }; } &&
85224 { ac_try='test -s conftest.$ac_objext'
85225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85226 (eval $ac_try) 2>&5
85227 ac_status=$?
85228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85229 (exit $ac_status); }; }; then
85230 ac_header_compiler=yes
85231 else
85232 echo "$as_me: failed program was:" >&5
85233 sed 's/^/| /' conftest.$ac_ext >&5
85234
85235 ac_header_compiler=no
85236 fi
85237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85239 echo "${ECHO_T}$ac_header_compiler" >&6
85240
85241 # Is the header present?
85242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85244 cat >conftest.$ac_ext <<_ACEOF
85245 /* confdefs.h. */
85246 _ACEOF
85247 cat confdefs.h >>conftest.$ac_ext
85248 cat >>conftest.$ac_ext <<_ACEOF
85249 /* end confdefs.h. */
85250 #include <$ac_header>
85251 _ACEOF
85252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85254 ac_status=$?
85255 grep -v '^ *+' conftest.er1 >conftest.err
85256 rm -f conftest.er1
85257 cat conftest.err >&5
85258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85259 (exit $ac_status); } >/dev/null; then
85260 if test -s conftest.err; then
85261 ac_cpp_err=$ac_c_preproc_warn_flag
85262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85263 else
85264 ac_cpp_err=
85265 fi
85266 else
85267 ac_cpp_err=yes
85268 fi
85269 if test -z "$ac_cpp_err"; then
85270 ac_header_preproc=yes
85271 else
85272 echo "$as_me: failed program was:" >&5
85273 sed 's/^/| /' conftest.$ac_ext >&5
85274
85275 ac_header_preproc=no
85276 fi
85277 rm -f conftest.err conftest.$ac_ext
85278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85279 echo "${ECHO_T}$ac_header_preproc" >&6
85280
85281 # So? What about this header?
85282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85283 yes:no: )
85284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85288 ac_header_preproc=yes
85289 ;;
85290 no:yes:* )
85291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85303 (
85304 cat <<\_ASBOX
85305 ## ----------------------------------------- ##
85306 ## Report this to the package-unused lists. ##
85307 ## ----------------------------------------- ##
85308 _ASBOX
85309 ) |
85310 sed "s/^/$as_me: WARNING: /" >&2
85311 ;;
85312 esac
85313 echo "$as_me:$LINENO: checking for $ac_header" >&5
85314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85316 echo $ECHO_N "(cached) $ECHO_C" >&6
85317 else
85318 eval "$as_ac_Header=\$ac_header_preproc"
85319 fi
85320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85322
85323 fi
85324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85325 cat >>confdefs.h <<_ACEOF
85326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85327 _ACEOF
85328
85329 fi
85330
85331 done
85332
85333 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85334
85335
85336 # If we're not using GNU ld, then there's no point in even trying these
85337 # tests. Check for that first. We should have already tested for gld
85338 # by now (in libtool), but require it now just to be safe...
85339 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85340 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85341
85342
85343
85344 # The name set by libtool depends on the version of libtool. Shame on us
85345 # for depending on an impl detail, but c'est la vie. Older versions used
85346 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85347 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85348 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85349 # set (hence we're using an older libtool), then set it.
85350 if test x${with_gnu_ld+set} != xset; then
85351 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85352 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85353 with_gnu_ld=no
85354 else
85355 with_gnu_ld=$ac_cv_prog_gnu_ld
85356 fi
85357 fi
85358
85359 # Start by getting the version number. I think the libtool test already
85360 # does some of this, but throws away the result.
85361 if test x"$with_gnu_ld" = x"yes"; then
85362 echo "$as_me:$LINENO: checking for ld version" >&5
85363 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85364
85365 ldver=`$LD --version 2>/dev/null | head -1 | \
85366 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85367
85368 glibcxx_gnu_ld_version=`echo $ldver | \
85369 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85370 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85371 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85372 fi
85373
85374 # Set --gc-sections.
85375 glibcxx_gcsections_min_ld=21602
85376 if test x"$with_gnu_ld" = x"yes" &&
85377 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85378
85379 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85380 # NB: This flag only works reliably after 2.16.1. Configure tests
85381 # for this are difficult, so hard wire a value that should work.
85382
85383 ac_test_CFLAGS="${CFLAGS+set}"
85384 ac_save_CFLAGS="$CFLAGS"
85385 CFLAGS='-Wl,--gc-sections'
85386
85387 # Check for -Wl,--gc-sections
85388 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85389 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85390 if test x$gcc_no_link = xyes; then
85391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85393 { (exit 1); exit 1; }; }
85394 fi
85395 cat >conftest.$ac_ext <<_ACEOF
85396 /* confdefs.h. */
85397 _ACEOF
85398 cat confdefs.h >>conftest.$ac_ext
85399 cat >>conftest.$ac_ext <<_ACEOF
85400 /* end confdefs.h. */
85401 int one(void) { return 1; }
85402 int two(void) { return 2; }
85403
85404 int
85405 main ()
85406 {
85407 two();
85408 ;
85409 return 0;
85410 }
85411 _ACEOF
85412 rm -f conftest.$ac_objext conftest$ac_exeext
85413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85414 (eval $ac_link) 2>conftest.er1
85415 ac_status=$?
85416 grep -v '^ *+' conftest.er1 >conftest.err
85417 rm -f conftest.er1
85418 cat conftest.err >&5
85419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85420 (exit $ac_status); } &&
85421 { ac_try='test -z "$ac_c_werror_flag"
85422 || test ! -s conftest.err'
85423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85424 (eval $ac_try) 2>&5
85425 ac_status=$?
85426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85427 (exit $ac_status); }; } &&
85428 { ac_try='test -s conftest$ac_exeext'
85429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85430 (eval $ac_try) 2>&5
85431 ac_status=$?
85432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85433 (exit $ac_status); }; }; then
85434 ac_gcsections=yes
85435 else
85436 echo "$as_me: failed program was:" >&5
85437 sed 's/^/| /' conftest.$ac_ext >&5
85438
85439 ac_gcsections=no
85440 fi
85441 rm -f conftest.err conftest.$ac_objext \
85442 conftest$ac_exeext conftest.$ac_ext
85443 if test "$ac_gcsections" = "yes"; then
85444 rm -f conftest.c
85445 touch conftest.c
85446 if $CC -c conftest.c; then
85447 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85448 grep "Warning: gc-sections option ignored" > /dev/null; then
85449 ac_gcsections=no
85450 fi
85451 fi
85452 rm -f conftest.c conftest.o conftest
85453 fi
85454 if test "$ac_gcsections" = "yes"; then
85455 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85456 fi
85457 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85458 echo "${ECHO_T}$ac_gcsections" >&6
85459
85460 if test "$ac_test_CFLAGS" = set; then
85461 CFLAGS="$ac_save_CFLAGS"
85462 else
85463 # this is the suspicious part
85464 CFLAGS=''
85465 fi
85466 fi
85467
85468 # Set -z,relro.
85469 # Note this is only for shared objects.
85470 ac_ld_relro=no
85471 if test x"$with_gnu_ld" = x"yes"; then
85472 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85473 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85474 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85475 if test -n "$cxx_z_relo"; then
85476 OPT_LDFLAGS="-Wl,-z,relro"
85477 ac_ld_relro=yes
85478 fi
85479 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85480 echo "${ECHO_T}$ac_ld_relro" >&6
85481 fi
85482
85483 # Set linker optimization flags.
85484 if test x"$with_gnu_ld" = x"yes"; then
85485 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85486 fi
85487
85488
85489
85490
85491
85492
85493 echo "$as_me:$LINENO: checking for main in -lm" >&5
85494 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85495 if test "${ac_cv_lib_m_main+set}" = set; then
85496 echo $ECHO_N "(cached) $ECHO_C" >&6
85497 else
85498 ac_check_lib_save_LIBS=$LIBS
85499 LIBS="-lm $LIBS"
85500 if test x$gcc_no_link = xyes; then
85501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85503 { (exit 1); exit 1; }; }
85504 fi
85505 cat >conftest.$ac_ext <<_ACEOF
85506 /* confdefs.h. */
85507 _ACEOF
85508 cat confdefs.h >>conftest.$ac_ext
85509 cat >>conftest.$ac_ext <<_ACEOF
85510 /* end confdefs.h. */
85511
85512
85513 int
85514 main ()
85515 {
85516 main ();
85517 ;
85518 return 0;
85519 }
85520 _ACEOF
85521 rm -f conftest.$ac_objext conftest$ac_exeext
85522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85523 (eval $ac_link) 2>conftest.er1
85524 ac_status=$?
85525 grep -v '^ *+' conftest.er1 >conftest.err
85526 rm -f conftest.er1
85527 cat conftest.err >&5
85528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85529 (exit $ac_status); } &&
85530 { ac_try='test -z "$ac_c_werror_flag"
85531 || test ! -s conftest.err'
85532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533 (eval $ac_try) 2>&5
85534 ac_status=$?
85535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536 (exit $ac_status); }; } &&
85537 { ac_try='test -s conftest$ac_exeext'
85538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85539 (eval $ac_try) 2>&5
85540 ac_status=$?
85541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85542 (exit $ac_status); }; }; then
85543 ac_cv_lib_m_main=yes
85544 else
85545 echo "$as_me: failed program was:" >&5
85546 sed 's/^/| /' conftest.$ac_ext >&5
85547
85548 ac_cv_lib_m_main=no
85549 fi
85550 rm -f conftest.err conftest.$ac_objext \
85551 conftest$ac_exeext conftest.$ac_ext
85552 LIBS=$ac_check_lib_save_LIBS
85553 fi
85554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85555 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85556 if test $ac_cv_lib_m_main = yes; then
85557 cat >>confdefs.h <<_ACEOF
85558 #define HAVE_LIBM 1
85559 _ACEOF
85560
85561 LIBS="-lm $LIBS"
85562
85563 fi
85564
85565
85566 for ac_func in copysignf
85567 do
85568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85569 echo "$as_me:$LINENO: checking for $ac_func" >&5
85570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85571 if eval "test \"\${$as_ac_var+set}\" = set"; then
85572 echo $ECHO_N "(cached) $ECHO_C" >&6
85573 else
85574 if test x$gcc_no_link = xyes; then
85575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85577 { (exit 1); exit 1; }; }
85578 fi
85579 cat >conftest.$ac_ext <<_ACEOF
85580 /* confdefs.h. */
85581 _ACEOF
85582 cat confdefs.h >>conftest.$ac_ext
85583 cat >>conftest.$ac_ext <<_ACEOF
85584 /* end confdefs.h. */
85585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85587 #define $ac_func innocuous_$ac_func
85588
85589 /* System header to define __stub macros and hopefully few prototypes,
85590 which can conflict with char $ac_func (); below.
85591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85592 <limits.h> exists even on freestanding compilers. */
85593
85594 #ifdef __STDC__
85595 # include <limits.h>
85596 #else
85597 # include <assert.h>
85598 #endif
85599
85600 #undef $ac_func
85601
85602 /* Override any gcc2 internal prototype to avoid an error. */
85603 #ifdef __cplusplus
85604 extern "C"
85605 {
85606 #endif
85607 /* We use char because int might match the return type of a gcc2
85608 builtin and then its argument prototype would still apply. */
85609 char $ac_func ();
85610 /* The GNU C library defines this for functions which it implements
85611 to always fail with ENOSYS. Some functions are actually named
85612 something starting with __ and the normal name is an alias. */
85613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85614 choke me
85615 #else
85616 char (*f) () = $ac_func;
85617 #endif
85618 #ifdef __cplusplus
85619 }
85620 #endif
85621
85622 int
85623 main ()
85624 {
85625 return f != $ac_func;
85626 ;
85627 return 0;
85628 }
85629 _ACEOF
85630 rm -f conftest.$ac_objext conftest$ac_exeext
85631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85632 (eval $ac_link) 2>conftest.er1
85633 ac_status=$?
85634 grep -v '^ *+' conftest.er1 >conftest.err
85635 rm -f conftest.er1
85636 cat conftest.err >&5
85637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85638 (exit $ac_status); } &&
85639 { ac_try='test -z "$ac_c_werror_flag"
85640 || test ! -s conftest.err'
85641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85642 (eval $ac_try) 2>&5
85643 ac_status=$?
85644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85645 (exit $ac_status); }; } &&
85646 { ac_try='test -s conftest$ac_exeext'
85647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85648 (eval $ac_try) 2>&5
85649 ac_status=$?
85650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85651 (exit $ac_status); }; }; then
85652 eval "$as_ac_var=yes"
85653 else
85654 echo "$as_me: failed program was:" >&5
85655 sed 's/^/| /' conftest.$ac_ext >&5
85656
85657 eval "$as_ac_var=no"
85658 fi
85659 rm -f conftest.err conftest.$ac_objext \
85660 conftest$ac_exeext conftest.$ac_ext
85661 fi
85662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85664 if test `eval echo '${'$as_ac_var'}'` = yes; then
85665 cat >>confdefs.h <<_ACEOF
85666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85667 _ACEOF
85668
85669 else
85670 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85671 fi
85672 done
85673
85674
85675
85676 for ac_func in __signbit
85677 do
85678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85679 echo "$as_me:$LINENO: checking for $ac_func" >&5
85680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85681 if eval "test \"\${$as_ac_var+set}\" = set"; then
85682 echo $ECHO_N "(cached) $ECHO_C" >&6
85683 else
85684 if test x$gcc_no_link = xyes; then
85685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85687 { (exit 1); exit 1; }; }
85688 fi
85689 cat >conftest.$ac_ext <<_ACEOF
85690 /* confdefs.h. */
85691 _ACEOF
85692 cat confdefs.h >>conftest.$ac_ext
85693 cat >>conftest.$ac_ext <<_ACEOF
85694 /* end confdefs.h. */
85695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85697 #define $ac_func innocuous_$ac_func
85698
85699 /* System header to define __stub macros and hopefully few prototypes,
85700 which can conflict with char $ac_func (); below.
85701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85702 <limits.h> exists even on freestanding compilers. */
85703
85704 #ifdef __STDC__
85705 # include <limits.h>
85706 #else
85707 # include <assert.h>
85708 #endif
85709
85710 #undef $ac_func
85711
85712 /* Override any gcc2 internal prototype to avoid an error. */
85713 #ifdef __cplusplus
85714 extern "C"
85715 {
85716 #endif
85717 /* We use char because int might match the return type of a gcc2
85718 builtin and then its argument prototype would still apply. */
85719 char $ac_func ();
85720 /* The GNU C library defines this for functions which it implements
85721 to always fail with ENOSYS. Some functions are actually named
85722 something starting with __ and the normal name is an alias. */
85723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85724 choke me
85725 #else
85726 char (*f) () = $ac_func;
85727 #endif
85728 #ifdef __cplusplus
85729 }
85730 #endif
85731
85732 int
85733 main ()
85734 {
85735 return f != $ac_func;
85736 ;
85737 return 0;
85738 }
85739 _ACEOF
85740 rm -f conftest.$ac_objext conftest$ac_exeext
85741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85742 (eval $ac_link) 2>conftest.er1
85743 ac_status=$?
85744 grep -v '^ *+' conftest.er1 >conftest.err
85745 rm -f conftest.er1
85746 cat conftest.err >&5
85747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85748 (exit $ac_status); } &&
85749 { ac_try='test -z "$ac_c_werror_flag"
85750 || test ! -s conftest.err'
85751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85752 (eval $ac_try) 2>&5
85753 ac_status=$?
85754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85755 (exit $ac_status); }; } &&
85756 { ac_try='test -s conftest$ac_exeext'
85757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85758 (eval $ac_try) 2>&5
85759 ac_status=$?
85760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85761 (exit $ac_status); }; }; then
85762 eval "$as_ac_var=yes"
85763 else
85764 echo "$as_me: failed program was:" >&5
85765 sed 's/^/| /' conftest.$ac_ext >&5
85766
85767 eval "$as_ac_var=no"
85768 fi
85769 rm -f conftest.err conftest.$ac_objext \
85770 conftest$ac_exeext conftest.$ac_ext
85771 fi
85772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85774 if test `eval echo '${'$as_ac_var'}'` = yes; then
85775 cat >>confdefs.h <<_ACEOF
85776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85777 _ACEOF
85778
85779 else
85780 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85781 fi
85782 done
85783
85784
85785
85786 for ac_func in __signbitf
85787 do
85788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85789 echo "$as_me:$LINENO: checking for $ac_func" >&5
85790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85791 if eval "test \"\${$as_ac_var+set}\" = set"; then
85792 echo $ECHO_N "(cached) $ECHO_C" >&6
85793 else
85794 if test x$gcc_no_link = xyes; then
85795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85797 { (exit 1); exit 1; }; }
85798 fi
85799 cat >conftest.$ac_ext <<_ACEOF
85800 /* confdefs.h. */
85801 _ACEOF
85802 cat confdefs.h >>conftest.$ac_ext
85803 cat >>conftest.$ac_ext <<_ACEOF
85804 /* end confdefs.h. */
85805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85807 #define $ac_func innocuous_$ac_func
85808
85809 /* System header to define __stub macros and hopefully few prototypes,
85810 which can conflict with char $ac_func (); below.
85811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85812 <limits.h> exists even on freestanding compilers. */
85813
85814 #ifdef __STDC__
85815 # include <limits.h>
85816 #else
85817 # include <assert.h>
85818 #endif
85819
85820 #undef $ac_func
85821
85822 /* Override any gcc2 internal prototype to avoid an error. */
85823 #ifdef __cplusplus
85824 extern "C"
85825 {
85826 #endif
85827 /* We use char because int might match the return type of a gcc2
85828 builtin and then its argument prototype would still apply. */
85829 char $ac_func ();
85830 /* The GNU C library defines this for functions which it implements
85831 to always fail with ENOSYS. Some functions are actually named
85832 something starting with __ and the normal name is an alias. */
85833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85834 choke me
85835 #else
85836 char (*f) () = $ac_func;
85837 #endif
85838 #ifdef __cplusplus
85839 }
85840 #endif
85841
85842 int
85843 main ()
85844 {
85845 return f != $ac_func;
85846 ;
85847 return 0;
85848 }
85849 _ACEOF
85850 rm -f conftest.$ac_objext conftest$ac_exeext
85851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85852 (eval $ac_link) 2>conftest.er1
85853 ac_status=$?
85854 grep -v '^ *+' conftest.er1 >conftest.err
85855 rm -f conftest.er1
85856 cat conftest.err >&5
85857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85858 (exit $ac_status); } &&
85859 { ac_try='test -z "$ac_c_werror_flag"
85860 || test ! -s conftest.err'
85861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85862 (eval $ac_try) 2>&5
85863 ac_status=$?
85864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85865 (exit $ac_status); }; } &&
85866 { ac_try='test -s conftest$ac_exeext'
85867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85868 (eval $ac_try) 2>&5
85869 ac_status=$?
85870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85871 (exit $ac_status); }; }; then
85872 eval "$as_ac_var=yes"
85873 else
85874 echo "$as_me: failed program was:" >&5
85875 sed 's/^/| /' conftest.$ac_ext >&5
85876
85877 eval "$as_ac_var=no"
85878 fi
85879 rm -f conftest.err conftest.$ac_objext \
85880 conftest$ac_exeext conftest.$ac_ext
85881 fi
85882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85884 if test `eval echo '${'$as_ac_var'}'` = yes; then
85885 cat >>confdefs.h <<_ACEOF
85886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85887 _ACEOF
85888
85889 else
85890 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85891 fi
85892 done
85893
85894
85895 if test x$ac_cv_func_copysignl = x"yes"; then
85896
85897 for ac_func in __signbitl
85898 do
85899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85900 echo "$as_me:$LINENO: checking for $ac_func" >&5
85901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85902 if eval "test \"\${$as_ac_var+set}\" = set"; then
85903 echo $ECHO_N "(cached) $ECHO_C" >&6
85904 else
85905 if test x$gcc_no_link = xyes; then
85906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85908 { (exit 1); exit 1; }; }
85909 fi
85910 cat >conftest.$ac_ext <<_ACEOF
85911 /* confdefs.h. */
85912 _ACEOF
85913 cat confdefs.h >>conftest.$ac_ext
85914 cat >>conftest.$ac_ext <<_ACEOF
85915 /* end confdefs.h. */
85916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85918 #define $ac_func innocuous_$ac_func
85919
85920 /* System header to define __stub macros and hopefully few prototypes,
85921 which can conflict with char $ac_func (); below.
85922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85923 <limits.h> exists even on freestanding compilers. */
85924
85925 #ifdef __STDC__
85926 # include <limits.h>
85927 #else
85928 # include <assert.h>
85929 #endif
85930
85931 #undef $ac_func
85932
85933 /* Override any gcc2 internal prototype to avoid an error. */
85934 #ifdef __cplusplus
85935 extern "C"
85936 {
85937 #endif
85938 /* We use char because int might match the return type of a gcc2
85939 builtin and then its argument prototype would still apply. */
85940 char $ac_func ();
85941 /* The GNU C library defines this for functions which it implements
85942 to always fail with ENOSYS. Some functions are actually named
85943 something starting with __ and the normal name is an alias. */
85944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85945 choke me
85946 #else
85947 char (*f) () = $ac_func;
85948 #endif
85949 #ifdef __cplusplus
85950 }
85951 #endif
85952
85953 int
85954 main ()
85955 {
85956 return f != $ac_func;
85957 ;
85958 return 0;
85959 }
85960 _ACEOF
85961 rm -f conftest.$ac_objext conftest$ac_exeext
85962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85963 (eval $ac_link) 2>conftest.er1
85964 ac_status=$?
85965 grep -v '^ *+' conftest.er1 >conftest.err
85966 rm -f conftest.er1
85967 cat conftest.err >&5
85968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85969 (exit $ac_status); } &&
85970 { ac_try='test -z "$ac_c_werror_flag"
85971 || test ! -s conftest.err'
85972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85973 (eval $ac_try) 2>&5
85974 ac_status=$?
85975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85976 (exit $ac_status); }; } &&
85977 { ac_try='test -s conftest$ac_exeext'
85978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85979 (eval $ac_try) 2>&5
85980 ac_status=$?
85981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85982 (exit $ac_status); }; }; then
85983 eval "$as_ac_var=yes"
85984 else
85985 echo "$as_me: failed program was:" >&5
85986 sed 's/^/| /' conftest.$ac_ext >&5
85987
85988 eval "$as_ac_var=no"
85989 fi
85990 rm -f conftest.err conftest.$ac_objext \
85991 conftest$ac_exeext conftest.$ac_ext
85992 fi
85993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85995 if test `eval echo '${'$as_ac_var'}'` = yes; then
85996 cat >>confdefs.h <<_ACEOF
85997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85998 _ACEOF
85999
86000 else
86001 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86002 fi
86003 done
86004
86005 fi
86006
86007 # Used in libmath/Makefile.am.
86008 if test -n "$LIBMATHOBJS"; then
86009 need_libmath=yes
86010 fi
86011
86012
86013 cat >>confdefs.h <<\_ACEOF
86014 #define HAVE_LC_MESSAGES 1
86015 _ACEOF
86016
86017 cat >>confdefs.h <<\_ACEOF
86018 #define HAVE_GETPAGESIZE 1
86019 _ACEOF
86020
86021 cat >>confdefs.h <<\_ACEOF
86022 #define HAVE_SETENV 1
86023 _ACEOF
86024
86025 cat >>confdefs.h <<\_ACEOF
86026 #define HAVE_SIGSETJMP 1
86027 _ACEOF
86028
86029 cat >>confdefs.h <<\_ACEOF
86030 #define HAVE_COPYSIGN 1
86031 _ACEOF
86032
86033 cat >>confdefs.h <<\_ACEOF
86034 #define HAVE_COPYSIGNF 1
86035 _ACEOF
86036
86037 cat >>confdefs.h <<\_ACEOF
86038 #define HAVE_FINITEF 1
86039 _ACEOF
86040
86041 cat >>confdefs.h <<\_ACEOF
86042 #define HAVE_FINITE 1
86043 _ACEOF
86044
86045 cat >>confdefs.h <<\_ACEOF
86046 #define HAVE_FREXPF 1
86047 _ACEOF
86048
86049 cat >>confdefs.h <<\_ACEOF
86050 #define HAVE_HYPOT 1
86051 _ACEOF
86052
86053 cat >>confdefs.h <<\_ACEOF
86054 #define HAVE_HYPOTF 1
86055 _ACEOF
86056
86057 cat >>confdefs.h <<\_ACEOF
86058 #define HAVE_ISINF 1
86059 _ACEOF
86060
86061 cat >>confdefs.h <<\_ACEOF
86062 #define HAVE_ISNAN 1
86063 _ACEOF
86064
86065 cat >>confdefs.h <<\_ACEOF
86066 #define HAVE_ISNANF 1
86067 _ACEOF
86068
86069
86070 cat >>confdefs.h <<\_ACEOF
86071 #define HAVE_MMAP 1
86072 _ACEOF
86073
86074 cat >>confdefs.h <<\_ACEOF
86075 #define HAVE_ACOSF 1
86076 _ACEOF
86077
86078 cat >>confdefs.h <<\_ACEOF
86079 #define HAVE_ASINF 1
86080 _ACEOF
86081
86082 cat >>confdefs.h <<\_ACEOF
86083 #define HAVE_ATAN2F 1
86084 _ACEOF
86085
86086 cat >>confdefs.h <<\_ACEOF
86087 #define HAVE_ATANF 1
86088 _ACEOF
86089
86090 cat >>confdefs.h <<\_ACEOF
86091 #define HAVE_CEILF 1
86092 _ACEOF
86093
86094 cat >>confdefs.h <<\_ACEOF
86095 #define HAVE_COPYSIGN 1
86096 _ACEOF
86097
86098 cat >>confdefs.h <<\_ACEOF
86099 #define HAVE_COPYSIGNF 1
86100 _ACEOF
86101
86102 cat >>confdefs.h <<\_ACEOF
86103 #define HAVE_COSF 1
86104 _ACEOF
86105
86106 cat >>confdefs.h <<\_ACEOF
86107 #define HAVE_COSHF 1
86108 _ACEOF
86109
86110 cat >>confdefs.h <<\_ACEOF
86111 #define HAVE_EXPF 1
86112 _ACEOF
86113
86114 cat >>confdefs.h <<\_ACEOF
86115 #define HAVE_FABSF 1
86116 _ACEOF
86117
86118 cat >>confdefs.h <<\_ACEOF
86119 #define HAVE_FLOORF 1
86120 _ACEOF
86121
86122 cat >>confdefs.h <<\_ACEOF
86123 #define HAVE_FMODF 1
86124 _ACEOF
86125
86126 cat >>confdefs.h <<\_ACEOF
86127 #define HAVE_FREXPF 1
86128 _ACEOF
86129
86130 cat >>confdefs.h <<\_ACEOF
86131 #define HAVE_LDEXPF 1
86132 _ACEOF
86133
86134 cat >>confdefs.h <<\_ACEOF
86135 #define HAVE_LOG10F 1
86136 _ACEOF
86137
86138 cat >>confdefs.h <<\_ACEOF
86139 #define HAVE_LOGF 1
86140 _ACEOF
86141
86142 cat >>confdefs.h <<\_ACEOF
86143 #define HAVE_MODFF 1
86144 _ACEOF
86145
86146 cat >>confdefs.h <<\_ACEOF
86147 #define HAVE_POWF 1
86148 _ACEOF
86149
86150 cat >>confdefs.h <<\_ACEOF
86151 #define HAVE_SINF 1
86152 _ACEOF
86153
86154 cat >>confdefs.h <<\_ACEOF
86155 #define HAVE_SINHF 1
86156 _ACEOF
86157
86158 cat >>confdefs.h <<\_ACEOF
86159 #define HAVE_SQRTF 1
86160 _ACEOF
86161
86162 cat >>confdefs.h <<\_ACEOF
86163 #define HAVE_TANF 1
86164 _ACEOF
86165
86166 cat >>confdefs.h <<\_ACEOF
86167 #define HAVE_TANHF 1
86168 _ACEOF
86169
86170 if test x"long_double_math_on_this_cpu" = x"yes"; then
86171 cat >>confdefs.h <<\_ACEOF
86172 #define HAVE_FINITEL 1
86173 _ACEOF
86174
86175 cat >>confdefs.h <<\_ACEOF
86176 #define HAVE_ISINFL 1
86177 _ACEOF
86178
86179 cat >>confdefs.h <<\_ACEOF
86180 #define HAVE_ISNANL 1
86181 _ACEOF
86182
86183 fi
86184 ;;
86185 *-hpux*)
86186
86187
86188
86189
86190
86191
86192
86193
86194
86195
86196
86197
86198 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86199 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86200 fp.h locale.h float.h inttypes.h
86201 do
86202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86204 echo "$as_me:$LINENO: checking for $ac_header" >&5
86205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86207 echo $ECHO_N "(cached) $ECHO_C" >&6
86208 fi
86209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86211 else
86212 # Is the header compilable?
86213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86215 cat >conftest.$ac_ext <<_ACEOF
86216 /* confdefs.h. */
86217 _ACEOF
86218 cat confdefs.h >>conftest.$ac_ext
86219 cat >>conftest.$ac_ext <<_ACEOF
86220 /* end confdefs.h. */
86221 $ac_includes_default
86222 #include <$ac_header>
86223 _ACEOF
86224 rm -f conftest.$ac_objext
86225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86226 (eval $ac_compile) 2>conftest.er1
86227 ac_status=$?
86228 grep -v '^ *+' conftest.er1 >conftest.err
86229 rm -f conftest.er1
86230 cat conftest.err >&5
86231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86232 (exit $ac_status); } &&
86233 { ac_try='test -z "$ac_c_werror_flag"
86234 || test ! -s conftest.err'
86235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86236 (eval $ac_try) 2>&5
86237 ac_status=$?
86238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86239 (exit $ac_status); }; } &&
86240 { ac_try='test -s conftest.$ac_objext'
86241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86242 (eval $ac_try) 2>&5
86243 ac_status=$?
86244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86245 (exit $ac_status); }; }; then
86246 ac_header_compiler=yes
86247 else
86248 echo "$as_me: failed program was:" >&5
86249 sed 's/^/| /' conftest.$ac_ext >&5
86250
86251 ac_header_compiler=no
86252 fi
86253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86255 echo "${ECHO_T}$ac_header_compiler" >&6
86256
86257 # Is the header present?
86258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86260 cat >conftest.$ac_ext <<_ACEOF
86261 /* confdefs.h. */
86262 _ACEOF
86263 cat confdefs.h >>conftest.$ac_ext
86264 cat >>conftest.$ac_ext <<_ACEOF
86265 /* end confdefs.h. */
86266 #include <$ac_header>
86267 _ACEOF
86268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86270 ac_status=$?
86271 grep -v '^ *+' conftest.er1 >conftest.err
86272 rm -f conftest.er1
86273 cat conftest.err >&5
86274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86275 (exit $ac_status); } >/dev/null; then
86276 if test -s conftest.err; then
86277 ac_cpp_err=$ac_c_preproc_warn_flag
86278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86279 else
86280 ac_cpp_err=
86281 fi
86282 else
86283 ac_cpp_err=yes
86284 fi
86285 if test -z "$ac_cpp_err"; then
86286 ac_header_preproc=yes
86287 else
86288 echo "$as_me: failed program was:" >&5
86289 sed 's/^/| /' conftest.$ac_ext >&5
86290
86291 ac_header_preproc=no
86292 fi
86293 rm -f conftest.err conftest.$ac_ext
86294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86295 echo "${ECHO_T}$ac_header_preproc" >&6
86296
86297 # So? What about this header?
86298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86299 yes:no: )
86300 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86304 ac_header_preproc=yes
86305 ;;
86306 no:yes:* )
86307 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86309 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86311 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86313 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86314 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86317 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86319 (
86320 cat <<\_ASBOX
86321 ## ----------------------------------------- ##
86322 ## Report this to the package-unused lists. ##
86323 ## ----------------------------------------- ##
86324 _ASBOX
86325 ) |
86326 sed "s/^/$as_me: WARNING: /" >&2
86327 ;;
86328 esac
86329 echo "$as_me:$LINENO: checking for $ac_header" >&5
86330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86332 echo $ECHO_N "(cached) $ECHO_C" >&6
86333 else
86334 eval "$as_ac_Header=\$ac_header_preproc"
86335 fi
86336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86338
86339 fi
86340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86341 cat >>confdefs.h <<_ACEOF
86342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86343 _ACEOF
86344
86345 fi
86346
86347 done
86348
86349 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86350
86351
86352 # If we're not using GNU ld, then there's no point in even trying these
86353 # tests. Check for that first. We should have already tested for gld
86354 # by now (in libtool), but require it now just to be safe...
86355 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86356 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86357
86358
86359
86360 # The name set by libtool depends on the version of libtool. Shame on us
86361 # for depending on an impl detail, but c'est la vie. Older versions used
86362 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86363 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86364 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86365 # set (hence we're using an older libtool), then set it.
86366 if test x${with_gnu_ld+set} != xset; then
86367 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86368 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86369 with_gnu_ld=no
86370 else
86371 with_gnu_ld=$ac_cv_prog_gnu_ld
86372 fi
86373 fi
86374
86375 # Start by getting the version number. I think the libtool test already
86376 # does some of this, but throws away the result.
86377 if test x"$with_gnu_ld" = x"yes"; then
86378 echo "$as_me:$LINENO: checking for ld version" >&5
86379 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86380
86381 ldver=`$LD --version 2>/dev/null | head -1 | \
86382 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86383
86384 glibcxx_gnu_ld_version=`echo $ldver | \
86385 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86386 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86387 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86388 fi
86389
86390 # Set --gc-sections.
86391 glibcxx_gcsections_min_ld=21602
86392 if test x"$with_gnu_ld" = x"yes" &&
86393 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86394
86395 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86396 # NB: This flag only works reliably after 2.16.1. Configure tests
86397 # for this are difficult, so hard wire a value that should work.
86398
86399 ac_test_CFLAGS="${CFLAGS+set}"
86400 ac_save_CFLAGS="$CFLAGS"
86401 CFLAGS='-Wl,--gc-sections'
86402
86403 # Check for -Wl,--gc-sections
86404 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86405 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86406 if test x$gcc_no_link = xyes; then
86407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86409 { (exit 1); exit 1; }; }
86410 fi
86411 cat >conftest.$ac_ext <<_ACEOF
86412 /* confdefs.h. */
86413 _ACEOF
86414 cat confdefs.h >>conftest.$ac_ext
86415 cat >>conftest.$ac_ext <<_ACEOF
86416 /* end confdefs.h. */
86417 int one(void) { return 1; }
86418 int two(void) { return 2; }
86419
86420 int
86421 main ()
86422 {
86423 two();
86424 ;
86425 return 0;
86426 }
86427 _ACEOF
86428 rm -f conftest.$ac_objext conftest$ac_exeext
86429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86430 (eval $ac_link) 2>conftest.er1
86431 ac_status=$?
86432 grep -v '^ *+' conftest.er1 >conftest.err
86433 rm -f conftest.er1
86434 cat conftest.err >&5
86435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86436 (exit $ac_status); } &&
86437 { ac_try='test -z "$ac_c_werror_flag"
86438 || test ! -s conftest.err'
86439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86440 (eval $ac_try) 2>&5
86441 ac_status=$?
86442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86443 (exit $ac_status); }; } &&
86444 { ac_try='test -s conftest$ac_exeext'
86445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86446 (eval $ac_try) 2>&5
86447 ac_status=$?
86448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86449 (exit $ac_status); }; }; then
86450 ac_gcsections=yes
86451 else
86452 echo "$as_me: failed program was:" >&5
86453 sed 's/^/| /' conftest.$ac_ext >&5
86454
86455 ac_gcsections=no
86456 fi
86457 rm -f conftest.err conftest.$ac_objext \
86458 conftest$ac_exeext conftest.$ac_ext
86459 if test "$ac_gcsections" = "yes"; then
86460 rm -f conftest.c
86461 touch conftest.c
86462 if $CC -c conftest.c; then
86463 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86464 grep "Warning: gc-sections option ignored" > /dev/null; then
86465 ac_gcsections=no
86466 fi
86467 fi
86468 rm -f conftest.c conftest.o conftest
86469 fi
86470 if test "$ac_gcsections" = "yes"; then
86471 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86472 fi
86473 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86474 echo "${ECHO_T}$ac_gcsections" >&6
86475
86476 if test "$ac_test_CFLAGS" = set; then
86477 CFLAGS="$ac_save_CFLAGS"
86478 else
86479 # this is the suspicious part
86480 CFLAGS=''
86481 fi
86482 fi
86483
86484 # Set -z,relro.
86485 # Note this is only for shared objects.
86486 ac_ld_relro=no
86487 if test x"$with_gnu_ld" = x"yes"; then
86488 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86489 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86490 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86491 if test -n "$cxx_z_relo"; then
86492 OPT_LDFLAGS="-Wl,-z,relro"
86493 ac_ld_relro=yes
86494 fi
86495 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86496 echo "${ECHO_T}$ac_ld_relro" >&6
86497 fi
86498
86499 # Set linker optimization flags.
86500 if test x"$with_gnu_ld" = x"yes"; then
86501 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86502 fi
86503
86504
86505
86506
86507
86508
86509 echo "$as_me:$LINENO: checking for main in -lm" >&5
86510 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86511 if test "${ac_cv_lib_m_main+set}" = set; then
86512 echo $ECHO_N "(cached) $ECHO_C" >&6
86513 else
86514 ac_check_lib_save_LIBS=$LIBS
86515 LIBS="-lm $LIBS"
86516 if test x$gcc_no_link = xyes; then
86517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86519 { (exit 1); exit 1; }; }
86520 fi
86521 cat >conftest.$ac_ext <<_ACEOF
86522 /* confdefs.h. */
86523 _ACEOF
86524 cat confdefs.h >>conftest.$ac_ext
86525 cat >>conftest.$ac_ext <<_ACEOF
86526 /* end confdefs.h. */
86527
86528
86529 int
86530 main ()
86531 {
86532 main ();
86533 ;
86534 return 0;
86535 }
86536 _ACEOF
86537 rm -f conftest.$ac_objext conftest$ac_exeext
86538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86539 (eval $ac_link) 2>conftest.er1
86540 ac_status=$?
86541 grep -v '^ *+' conftest.er1 >conftest.err
86542 rm -f conftest.er1
86543 cat conftest.err >&5
86544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86545 (exit $ac_status); } &&
86546 { ac_try='test -z "$ac_c_werror_flag"
86547 || test ! -s conftest.err'
86548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86549 (eval $ac_try) 2>&5
86550 ac_status=$?
86551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86552 (exit $ac_status); }; } &&
86553 { ac_try='test -s conftest$ac_exeext'
86554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86555 (eval $ac_try) 2>&5
86556 ac_status=$?
86557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86558 (exit $ac_status); }; }; then
86559 ac_cv_lib_m_main=yes
86560 else
86561 echo "$as_me: failed program was:" >&5
86562 sed 's/^/| /' conftest.$ac_ext >&5
86563
86564 ac_cv_lib_m_main=no
86565 fi
86566 rm -f conftest.err conftest.$ac_objext \
86567 conftest$ac_exeext conftest.$ac_ext
86568 LIBS=$ac_check_lib_save_LIBS
86569 fi
86570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86571 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86572 if test $ac_cv_lib_m_main = yes; then
86573 cat >>confdefs.h <<_ACEOF
86574 #define HAVE_LIBM 1
86575 _ACEOF
86576
86577 LIBS="-lm $LIBS"
86578
86579 fi
86580
86581
86582 for ac_func in copysignf
86583 do
86584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86585 echo "$as_me:$LINENO: checking for $ac_func" >&5
86586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86587 if eval "test \"\${$as_ac_var+set}\" = set"; then
86588 echo $ECHO_N "(cached) $ECHO_C" >&6
86589 else
86590 if test x$gcc_no_link = xyes; then
86591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86593 { (exit 1); exit 1; }; }
86594 fi
86595 cat >conftest.$ac_ext <<_ACEOF
86596 /* confdefs.h. */
86597 _ACEOF
86598 cat confdefs.h >>conftest.$ac_ext
86599 cat >>conftest.$ac_ext <<_ACEOF
86600 /* end confdefs.h. */
86601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86603 #define $ac_func innocuous_$ac_func
86604
86605 /* System header to define __stub macros and hopefully few prototypes,
86606 which can conflict with char $ac_func (); below.
86607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86608 <limits.h> exists even on freestanding compilers. */
86609
86610 #ifdef __STDC__
86611 # include <limits.h>
86612 #else
86613 # include <assert.h>
86614 #endif
86615
86616 #undef $ac_func
86617
86618 /* Override any gcc2 internal prototype to avoid an error. */
86619 #ifdef __cplusplus
86620 extern "C"
86621 {
86622 #endif
86623 /* We use char because int might match the return type of a gcc2
86624 builtin and then its argument prototype would still apply. */
86625 char $ac_func ();
86626 /* The GNU C library defines this for functions which it implements
86627 to always fail with ENOSYS. Some functions are actually named
86628 something starting with __ and the normal name is an alias. */
86629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86630 choke me
86631 #else
86632 char (*f) () = $ac_func;
86633 #endif
86634 #ifdef __cplusplus
86635 }
86636 #endif
86637
86638 int
86639 main ()
86640 {
86641 return f != $ac_func;
86642 ;
86643 return 0;
86644 }
86645 _ACEOF
86646 rm -f conftest.$ac_objext conftest$ac_exeext
86647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86648 (eval $ac_link) 2>conftest.er1
86649 ac_status=$?
86650 grep -v '^ *+' conftest.er1 >conftest.err
86651 rm -f conftest.er1
86652 cat conftest.err >&5
86653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86654 (exit $ac_status); } &&
86655 { ac_try='test -z "$ac_c_werror_flag"
86656 || test ! -s conftest.err'
86657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86658 (eval $ac_try) 2>&5
86659 ac_status=$?
86660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86661 (exit $ac_status); }; } &&
86662 { ac_try='test -s conftest$ac_exeext'
86663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86664 (eval $ac_try) 2>&5
86665 ac_status=$?
86666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86667 (exit $ac_status); }; }; then
86668 eval "$as_ac_var=yes"
86669 else
86670 echo "$as_me: failed program was:" >&5
86671 sed 's/^/| /' conftest.$ac_ext >&5
86672
86673 eval "$as_ac_var=no"
86674 fi
86675 rm -f conftest.err conftest.$ac_objext \
86676 conftest$ac_exeext conftest.$ac_ext
86677 fi
86678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86680 if test `eval echo '${'$as_ac_var'}'` = yes; then
86681 cat >>confdefs.h <<_ACEOF
86682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86683 _ACEOF
86684
86685 else
86686 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86687 fi
86688 done
86689
86690
86691
86692 for ac_func in __signbit
86693 do
86694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86695 echo "$as_me:$LINENO: checking for $ac_func" >&5
86696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86697 if eval "test \"\${$as_ac_var+set}\" = set"; then
86698 echo $ECHO_N "(cached) $ECHO_C" >&6
86699 else
86700 if test x$gcc_no_link = xyes; then
86701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86703 { (exit 1); exit 1; }; }
86704 fi
86705 cat >conftest.$ac_ext <<_ACEOF
86706 /* confdefs.h. */
86707 _ACEOF
86708 cat confdefs.h >>conftest.$ac_ext
86709 cat >>conftest.$ac_ext <<_ACEOF
86710 /* end confdefs.h. */
86711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86713 #define $ac_func innocuous_$ac_func
86714
86715 /* System header to define __stub macros and hopefully few prototypes,
86716 which can conflict with char $ac_func (); below.
86717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86718 <limits.h> exists even on freestanding compilers. */
86719
86720 #ifdef __STDC__
86721 # include <limits.h>
86722 #else
86723 # include <assert.h>
86724 #endif
86725
86726 #undef $ac_func
86727
86728 /* Override any gcc2 internal prototype to avoid an error. */
86729 #ifdef __cplusplus
86730 extern "C"
86731 {
86732 #endif
86733 /* We use char because int might match the return type of a gcc2
86734 builtin and then its argument prototype would still apply. */
86735 char $ac_func ();
86736 /* The GNU C library defines this for functions which it implements
86737 to always fail with ENOSYS. Some functions are actually named
86738 something starting with __ and the normal name is an alias. */
86739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86740 choke me
86741 #else
86742 char (*f) () = $ac_func;
86743 #endif
86744 #ifdef __cplusplus
86745 }
86746 #endif
86747
86748 int
86749 main ()
86750 {
86751 return f != $ac_func;
86752 ;
86753 return 0;
86754 }
86755 _ACEOF
86756 rm -f conftest.$ac_objext conftest$ac_exeext
86757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86758 (eval $ac_link) 2>conftest.er1
86759 ac_status=$?
86760 grep -v '^ *+' conftest.er1 >conftest.err
86761 rm -f conftest.er1
86762 cat conftest.err >&5
86763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86764 (exit $ac_status); } &&
86765 { ac_try='test -z "$ac_c_werror_flag"
86766 || test ! -s conftest.err'
86767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86768 (eval $ac_try) 2>&5
86769 ac_status=$?
86770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86771 (exit $ac_status); }; } &&
86772 { ac_try='test -s conftest$ac_exeext'
86773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86774 (eval $ac_try) 2>&5
86775 ac_status=$?
86776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86777 (exit $ac_status); }; }; then
86778 eval "$as_ac_var=yes"
86779 else
86780 echo "$as_me: failed program was:" >&5
86781 sed 's/^/| /' conftest.$ac_ext >&5
86782
86783 eval "$as_ac_var=no"
86784 fi
86785 rm -f conftest.err conftest.$ac_objext \
86786 conftest$ac_exeext conftest.$ac_ext
86787 fi
86788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86790 if test `eval echo '${'$as_ac_var'}'` = yes; then
86791 cat >>confdefs.h <<_ACEOF
86792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86793 _ACEOF
86794
86795 else
86796 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86797 fi
86798 done
86799
86800
86801
86802 for ac_func in __signbitf
86803 do
86804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86805 echo "$as_me:$LINENO: checking for $ac_func" >&5
86806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86807 if eval "test \"\${$as_ac_var+set}\" = set"; then
86808 echo $ECHO_N "(cached) $ECHO_C" >&6
86809 else
86810 if test x$gcc_no_link = xyes; then
86811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86813 { (exit 1); exit 1; }; }
86814 fi
86815 cat >conftest.$ac_ext <<_ACEOF
86816 /* confdefs.h. */
86817 _ACEOF
86818 cat confdefs.h >>conftest.$ac_ext
86819 cat >>conftest.$ac_ext <<_ACEOF
86820 /* end confdefs.h. */
86821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86823 #define $ac_func innocuous_$ac_func
86824
86825 /* System header to define __stub macros and hopefully few prototypes,
86826 which can conflict with char $ac_func (); below.
86827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86828 <limits.h> exists even on freestanding compilers. */
86829
86830 #ifdef __STDC__
86831 # include <limits.h>
86832 #else
86833 # include <assert.h>
86834 #endif
86835
86836 #undef $ac_func
86837
86838 /* Override any gcc2 internal prototype to avoid an error. */
86839 #ifdef __cplusplus
86840 extern "C"
86841 {
86842 #endif
86843 /* We use char because int might match the return type of a gcc2
86844 builtin and then its argument prototype would still apply. */
86845 char $ac_func ();
86846 /* The GNU C library defines this for functions which it implements
86847 to always fail with ENOSYS. Some functions are actually named
86848 something starting with __ and the normal name is an alias. */
86849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86850 choke me
86851 #else
86852 char (*f) () = $ac_func;
86853 #endif
86854 #ifdef __cplusplus
86855 }
86856 #endif
86857
86858 int
86859 main ()
86860 {
86861 return f != $ac_func;
86862 ;
86863 return 0;
86864 }
86865 _ACEOF
86866 rm -f conftest.$ac_objext conftest$ac_exeext
86867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86868 (eval $ac_link) 2>conftest.er1
86869 ac_status=$?
86870 grep -v '^ *+' conftest.er1 >conftest.err
86871 rm -f conftest.er1
86872 cat conftest.err >&5
86873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86874 (exit $ac_status); } &&
86875 { ac_try='test -z "$ac_c_werror_flag"
86876 || test ! -s conftest.err'
86877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86878 (eval $ac_try) 2>&5
86879 ac_status=$?
86880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86881 (exit $ac_status); }; } &&
86882 { ac_try='test -s conftest$ac_exeext'
86883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86884 (eval $ac_try) 2>&5
86885 ac_status=$?
86886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86887 (exit $ac_status); }; }; then
86888 eval "$as_ac_var=yes"
86889 else
86890 echo "$as_me: failed program was:" >&5
86891 sed 's/^/| /' conftest.$ac_ext >&5
86892
86893 eval "$as_ac_var=no"
86894 fi
86895 rm -f conftest.err conftest.$ac_objext \
86896 conftest$ac_exeext conftest.$ac_ext
86897 fi
86898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86900 if test `eval echo '${'$as_ac_var'}'` = yes; then
86901 cat >>confdefs.h <<_ACEOF
86902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86903 _ACEOF
86904
86905 else
86906 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86907 fi
86908 done
86909
86910
86911 if test x$ac_cv_func_copysignl = x"yes"; then
86912
86913 for ac_func in __signbitl
86914 do
86915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86916 echo "$as_me:$LINENO: checking for $ac_func" >&5
86917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86918 if eval "test \"\${$as_ac_var+set}\" = set"; then
86919 echo $ECHO_N "(cached) $ECHO_C" >&6
86920 else
86921 if test x$gcc_no_link = xyes; then
86922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86924 { (exit 1); exit 1; }; }
86925 fi
86926 cat >conftest.$ac_ext <<_ACEOF
86927 /* confdefs.h. */
86928 _ACEOF
86929 cat confdefs.h >>conftest.$ac_ext
86930 cat >>conftest.$ac_ext <<_ACEOF
86931 /* end confdefs.h. */
86932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86934 #define $ac_func innocuous_$ac_func
86935
86936 /* System header to define __stub macros and hopefully few prototypes,
86937 which can conflict with char $ac_func (); below.
86938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86939 <limits.h> exists even on freestanding compilers. */
86940
86941 #ifdef __STDC__
86942 # include <limits.h>
86943 #else
86944 # include <assert.h>
86945 #endif
86946
86947 #undef $ac_func
86948
86949 /* Override any gcc2 internal prototype to avoid an error. */
86950 #ifdef __cplusplus
86951 extern "C"
86952 {
86953 #endif
86954 /* We use char because int might match the return type of a gcc2
86955 builtin and then its argument prototype would still apply. */
86956 char $ac_func ();
86957 /* The GNU C library defines this for functions which it implements
86958 to always fail with ENOSYS. Some functions are actually named
86959 something starting with __ and the normal name is an alias. */
86960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86961 choke me
86962 #else
86963 char (*f) () = $ac_func;
86964 #endif
86965 #ifdef __cplusplus
86966 }
86967 #endif
86968
86969 int
86970 main ()
86971 {
86972 return f != $ac_func;
86973 ;
86974 return 0;
86975 }
86976 _ACEOF
86977 rm -f conftest.$ac_objext conftest$ac_exeext
86978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86979 (eval $ac_link) 2>conftest.er1
86980 ac_status=$?
86981 grep -v '^ *+' conftest.er1 >conftest.err
86982 rm -f conftest.er1
86983 cat conftest.err >&5
86984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86985 (exit $ac_status); } &&
86986 { ac_try='test -z "$ac_c_werror_flag"
86987 || test ! -s conftest.err'
86988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86989 (eval $ac_try) 2>&5
86990 ac_status=$?
86991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86992 (exit $ac_status); }; } &&
86993 { ac_try='test -s conftest$ac_exeext'
86994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86995 (eval $ac_try) 2>&5
86996 ac_status=$?
86997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86998 (exit $ac_status); }; }; then
86999 eval "$as_ac_var=yes"
87000 else
87001 echo "$as_me: failed program was:" >&5
87002 sed 's/^/| /' conftest.$ac_ext >&5
87003
87004 eval "$as_ac_var=no"
87005 fi
87006 rm -f conftest.err conftest.$ac_objext \
87007 conftest$ac_exeext conftest.$ac_ext
87008 fi
87009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87011 if test `eval echo '${'$as_ac_var'}'` = yes; then
87012 cat >>confdefs.h <<_ACEOF
87013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87014 _ACEOF
87015
87016 else
87017 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87018 fi
87019 done
87020
87021 fi
87022
87023 # Used in libmath/Makefile.am.
87024 if test -n "$LIBMATHOBJS"; then
87025 need_libmath=yes
87026 fi
87027
87028
87029 cat >>confdefs.h <<\_ACEOF
87030 #define HAVE_COPYSIGN 1
87031 _ACEOF
87032
87033 cat >>confdefs.h <<\_ACEOF
87034 #define HAVE_COPYSIGNF 1
87035 _ACEOF
87036
87037 cat >>confdefs.h <<\_ACEOF
87038 #define HAVE_FREXPF 1
87039 _ACEOF
87040
87041 cat >>confdefs.h <<\_ACEOF
87042 #define HAVE_HYPOT 1
87043 _ACEOF
87044
87045 case "$target" in
87046 *-hpux10*)
87047 cat >>confdefs.h <<\_ACEOF
87048 #define HAVE_FINITE 1
87049 _ACEOF
87050
87051 cat >>confdefs.h <<\_ACEOF
87052 #define HAVE_FINITEF 1
87053 _ACEOF
87054
87055 cat >>confdefs.h <<\_ACEOF
87056 #define HAVE_ISINF 1
87057 _ACEOF
87058
87059 cat >>confdefs.h <<\_ACEOF
87060 #define HAVE_ISINFF 1
87061 _ACEOF
87062
87063 cat >>confdefs.h <<\_ACEOF
87064 #define HAVE_ISNAN 1
87065 _ACEOF
87066
87067 cat >>confdefs.h <<\_ACEOF
87068 #define HAVE_ISNANF 1
87069 _ACEOF
87070
87071 ;;
87072 esac
87073 ;;
87074 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87075
87076
87077
87078
87079
87080
87081
87082
87083
87084
87085
87086
87087
87088
87089
87090 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87091 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87092 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
87093 do
87094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87096 echo "$as_me:$LINENO: checking for $ac_header" >&5
87097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87099 echo $ECHO_N "(cached) $ECHO_C" >&6
87100 fi
87101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87103 else
87104 # Is the header compilable?
87105 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87107 cat >conftest.$ac_ext <<_ACEOF
87108 /* confdefs.h. */
87109 _ACEOF
87110 cat confdefs.h >>conftest.$ac_ext
87111 cat >>conftest.$ac_ext <<_ACEOF
87112 /* end confdefs.h. */
87113 $ac_includes_default
87114 #include <$ac_header>
87115 _ACEOF
87116 rm -f conftest.$ac_objext
87117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87118 (eval $ac_compile) 2>conftest.er1
87119 ac_status=$?
87120 grep -v '^ *+' conftest.er1 >conftest.err
87121 rm -f conftest.er1
87122 cat conftest.err >&5
87123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87124 (exit $ac_status); } &&
87125 { ac_try='test -z "$ac_c_werror_flag"
87126 || test ! -s conftest.err'
87127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87128 (eval $ac_try) 2>&5
87129 ac_status=$?
87130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87131 (exit $ac_status); }; } &&
87132 { ac_try='test -s conftest.$ac_objext'
87133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87134 (eval $ac_try) 2>&5
87135 ac_status=$?
87136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87137 (exit $ac_status); }; }; then
87138 ac_header_compiler=yes
87139 else
87140 echo "$as_me: failed program was:" >&5
87141 sed 's/^/| /' conftest.$ac_ext >&5
87142
87143 ac_header_compiler=no
87144 fi
87145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87147 echo "${ECHO_T}$ac_header_compiler" >&6
87148
87149 # Is the header present?
87150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87152 cat >conftest.$ac_ext <<_ACEOF
87153 /* confdefs.h. */
87154 _ACEOF
87155 cat confdefs.h >>conftest.$ac_ext
87156 cat >>conftest.$ac_ext <<_ACEOF
87157 /* end confdefs.h. */
87158 #include <$ac_header>
87159 _ACEOF
87160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87162 ac_status=$?
87163 grep -v '^ *+' conftest.er1 >conftest.err
87164 rm -f conftest.er1
87165 cat conftest.err >&5
87166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87167 (exit $ac_status); } >/dev/null; then
87168 if test -s conftest.err; then
87169 ac_cpp_err=$ac_c_preproc_warn_flag
87170 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87171 else
87172 ac_cpp_err=
87173 fi
87174 else
87175 ac_cpp_err=yes
87176 fi
87177 if test -z "$ac_cpp_err"; then
87178 ac_header_preproc=yes
87179 else
87180 echo "$as_me: failed program was:" >&5
87181 sed 's/^/| /' conftest.$ac_ext >&5
87182
87183 ac_header_preproc=no
87184 fi
87185 rm -f conftest.err conftest.$ac_ext
87186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87187 echo "${ECHO_T}$ac_header_preproc" >&6
87188
87189 # So? What about this header?
87190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87191 yes:no: )
87192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87196 ac_header_preproc=yes
87197 ;;
87198 no:yes:* )
87199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87211 (
87212 cat <<\_ASBOX
87213 ## ----------------------------------------- ##
87214 ## Report this to the package-unused lists. ##
87215 ## ----------------------------------------- ##
87216 _ASBOX
87217 ) |
87218 sed "s/^/$as_me: WARNING: /" >&2
87219 ;;
87220 esac
87221 echo "$as_me:$LINENO: checking for $ac_header" >&5
87222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87224 echo $ECHO_N "(cached) $ECHO_C" >&6
87225 else
87226 eval "$as_ac_Header=\$ac_header_preproc"
87227 fi
87228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87230
87231 fi
87232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87233 cat >>confdefs.h <<_ACEOF
87234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87235 _ACEOF
87236
87237 fi
87238
87239 done
87240
87241 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87242
87243
87244 # All these tests are for C++; save the language and the compiler flags.
87245 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87246 # found in GLIBCXX_CONFIGURE.
87247
87248
87249 ac_ext=cc
87250 ac_cpp='$CXXCPP $CPPFLAGS'
87251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87254
87255 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87256 ac_save_CXXFLAGS="$CXXFLAGS"
87257
87258 # Check for maintainer-mode bits.
87259 if test x"$USE_MAINTAINER_MODE" = xno; then
87260 WERROR=''
87261 else
87262 WERROR='-Werror'
87263 fi
87264
87265 # Check for -ffunction-sections -fdata-sections
87266 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87267 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87268 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87269 cat >conftest.$ac_ext <<_ACEOF
87270 /* confdefs.h. */
87271 _ACEOF
87272 cat confdefs.h >>conftest.$ac_ext
87273 cat >>conftest.$ac_ext <<_ACEOF
87274 /* end confdefs.h. */
87275 int foo; void bar() { };
87276 int
87277 main ()
87278 {
87279
87280 ;
87281 return 0;
87282 }
87283 _ACEOF
87284 rm -f conftest.$ac_objext
87285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87286 (eval $ac_compile) 2>conftest.er1
87287 ac_status=$?
87288 grep -v '^ *+' conftest.er1 >conftest.err
87289 rm -f conftest.er1
87290 cat conftest.err >&5
87291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87292 (exit $ac_status); } &&
87293 { ac_try='test -z "$ac_cxx_werror_flag"
87294 || test ! -s conftest.err'
87295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87296 (eval $ac_try) 2>&5
87297 ac_status=$?
87298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87299 (exit $ac_status); }; } &&
87300 { ac_try='test -s conftest.$ac_objext'
87301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87302 (eval $ac_try) 2>&5
87303 ac_status=$?
87304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87305 (exit $ac_status); }; }; then
87306 ac_fdsections=yes
87307 else
87308 echo "$as_me: failed program was:" >&5
87309 sed 's/^/| /' conftest.$ac_ext >&5
87310
87311 ac_fdsections=no
87312 fi
87313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87314 if test "$ac_test_CXXFLAGS" = set; then
87315 CXXFLAGS="$ac_save_CXXFLAGS"
87316 else
87317 # this is the suspicious part
87318 CXXFLAGS=''
87319 fi
87320 if test x"$ac_fdsections" = x"yes"; then
87321 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87322 fi
87323 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87324 echo "${ECHO_T}$ac_fdsections" >&6
87325
87326 ac_ext=c
87327 ac_cpp='$CPP $CPPFLAGS'
87328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87331
87332
87333
87334
87335
87336 # If we're not using GNU ld, then there's no point in even trying these
87337 # tests. Check for that first. We should have already tested for gld
87338 # by now (in libtool), but require it now just to be safe...
87339 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87340 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87341
87342
87343
87344 # The name set by libtool depends on the version of libtool. Shame on us
87345 # for depending on an impl detail, but c'est la vie. Older versions used
87346 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87347 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87348 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87349 # set (hence we're using an older libtool), then set it.
87350 if test x${with_gnu_ld+set} != xset; then
87351 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87352 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87353 with_gnu_ld=no
87354 else
87355 with_gnu_ld=$ac_cv_prog_gnu_ld
87356 fi
87357 fi
87358
87359 # Start by getting the version number. I think the libtool test already
87360 # does some of this, but throws away the result.
87361 if test x"$with_gnu_ld" = x"yes"; then
87362 echo "$as_me:$LINENO: checking for ld version" >&5
87363 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87364
87365 ldver=`$LD --version 2>/dev/null | head -1 | \
87366 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87367
87368 glibcxx_gnu_ld_version=`echo $ldver | \
87369 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87370 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87371 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87372 fi
87373
87374 # Set --gc-sections.
87375 glibcxx_gcsections_min_ld=21602
87376 if test x"$with_gnu_ld" = x"yes" &&
87377 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87378
87379 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87380 # NB: This flag only works reliably after 2.16.1. Configure tests
87381 # for this are difficult, so hard wire a value that should work.
87382
87383 ac_test_CFLAGS="${CFLAGS+set}"
87384 ac_save_CFLAGS="$CFLAGS"
87385 CFLAGS='-Wl,--gc-sections'
87386
87387 # Check for -Wl,--gc-sections
87388 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87389 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87390 if test x$gcc_no_link = xyes; then
87391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87393 { (exit 1); exit 1; }; }
87394 fi
87395 cat >conftest.$ac_ext <<_ACEOF
87396 /* confdefs.h. */
87397 _ACEOF
87398 cat confdefs.h >>conftest.$ac_ext
87399 cat >>conftest.$ac_ext <<_ACEOF
87400 /* end confdefs.h. */
87401 int one(void) { return 1; }
87402 int two(void) { return 2; }
87403
87404 int
87405 main ()
87406 {
87407 two();
87408 ;
87409 return 0;
87410 }
87411 _ACEOF
87412 rm -f conftest.$ac_objext conftest$ac_exeext
87413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87414 (eval $ac_link) 2>conftest.er1
87415 ac_status=$?
87416 grep -v '^ *+' conftest.er1 >conftest.err
87417 rm -f conftest.er1
87418 cat conftest.err >&5
87419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87420 (exit $ac_status); } &&
87421 { ac_try='test -z "$ac_c_werror_flag"
87422 || test ! -s conftest.err'
87423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87424 (eval $ac_try) 2>&5
87425 ac_status=$?
87426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87427 (exit $ac_status); }; } &&
87428 { ac_try='test -s conftest$ac_exeext'
87429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87430 (eval $ac_try) 2>&5
87431 ac_status=$?
87432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87433 (exit $ac_status); }; }; then
87434 ac_gcsections=yes
87435 else
87436 echo "$as_me: failed program was:" >&5
87437 sed 's/^/| /' conftest.$ac_ext >&5
87438
87439 ac_gcsections=no
87440 fi
87441 rm -f conftest.err conftest.$ac_objext \
87442 conftest$ac_exeext conftest.$ac_ext
87443 if test "$ac_gcsections" = "yes"; then
87444 rm -f conftest.c
87445 touch conftest.c
87446 if $CC -c conftest.c; then
87447 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87448 grep "Warning: gc-sections option ignored" > /dev/null; then
87449 ac_gcsections=no
87450 fi
87451 fi
87452 rm -f conftest.c conftest.o conftest
87453 fi
87454 if test "$ac_gcsections" = "yes"; then
87455 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87456 fi
87457 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87458 echo "${ECHO_T}$ac_gcsections" >&6
87459
87460 if test "$ac_test_CFLAGS" = set; then
87461 CFLAGS="$ac_save_CFLAGS"
87462 else
87463 # this is the suspicious part
87464 CFLAGS=''
87465 fi
87466 fi
87467
87468 # Set -z,relro.
87469 # Note this is only for shared objects.
87470 ac_ld_relro=no
87471 if test x"$with_gnu_ld" = x"yes"; then
87472 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87473 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87474 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87475 if test -n "$cxx_z_relo"; then
87476 OPT_LDFLAGS="-Wl,-z,relro"
87477 ac_ld_relro=yes
87478 fi
87479 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87480 echo "${ECHO_T}$ac_ld_relro" >&6
87481 fi
87482
87483 # Set linker optimization flags.
87484 if test x"$with_gnu_ld" = x"yes"; then
87485 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87486 fi
87487
87488
87489
87490
87491
87492 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87493 ac_save_CXXFLAGS="$CXXFLAGS"
87494 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87495
87496 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87497 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87498 if test "${ac_cv_lib_m_sin+set}" = set; then
87499 echo $ECHO_N "(cached) $ECHO_C" >&6
87500 else
87501 ac_check_lib_save_LIBS=$LIBS
87502 LIBS="-lm $LIBS"
87503 if test x$gcc_no_link = xyes; then
87504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87506 { (exit 1); exit 1; }; }
87507 fi
87508 cat >conftest.$ac_ext <<_ACEOF
87509 /* confdefs.h. */
87510 _ACEOF
87511 cat confdefs.h >>conftest.$ac_ext
87512 cat >>conftest.$ac_ext <<_ACEOF
87513 /* end confdefs.h. */
87514
87515 /* Override any gcc2 internal prototype to avoid an error. */
87516 #ifdef __cplusplus
87517 extern "C"
87518 #endif
87519 /* We use char because int might match the return type of a gcc2
87520 builtin and then its argument prototype would still apply. */
87521 char sin ();
87522 int
87523 main ()
87524 {
87525 sin ();
87526 ;
87527 return 0;
87528 }
87529 _ACEOF
87530 rm -f conftest.$ac_objext conftest$ac_exeext
87531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87532 (eval $ac_link) 2>conftest.er1
87533 ac_status=$?
87534 grep -v '^ *+' conftest.er1 >conftest.err
87535 rm -f conftest.er1
87536 cat conftest.err >&5
87537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87538 (exit $ac_status); } &&
87539 { ac_try='test -z "$ac_c_werror_flag"
87540 || test ! -s conftest.err'
87541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87542 (eval $ac_try) 2>&5
87543 ac_status=$?
87544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87545 (exit $ac_status); }; } &&
87546 { ac_try='test -s conftest$ac_exeext'
87547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87548 (eval $ac_try) 2>&5
87549 ac_status=$?
87550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87551 (exit $ac_status); }; }; then
87552 ac_cv_lib_m_sin=yes
87553 else
87554 echo "$as_me: failed program was:" >&5
87555 sed 's/^/| /' conftest.$ac_ext >&5
87556
87557 ac_cv_lib_m_sin=no
87558 fi
87559 rm -f conftest.err conftest.$ac_objext \
87560 conftest$ac_exeext conftest.$ac_ext
87561 LIBS=$ac_check_lib_save_LIBS
87562 fi
87563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87564 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87565 if test $ac_cv_lib_m_sin = yes; then
87566 libm="-lm"
87567 fi
87568
87569 ac_save_LIBS="$LIBS"
87570 LIBS="$LIBS $libm"
87571
87572
87573
87574 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87575 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87576 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87577 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87578 echo $ECHO_N "(cached) $ECHO_C" >&6
87579 else
87580
87581
87582
87583 ac_ext=cc
87584 ac_cpp='$CXXCPP $CPPFLAGS'
87585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87588
87589 cat >conftest.$ac_ext <<_ACEOF
87590 /* confdefs.h. */
87591 _ACEOF
87592 cat confdefs.h >>conftest.$ac_ext
87593 cat >>conftest.$ac_ext <<_ACEOF
87594 /* end confdefs.h. */
87595 #include <math.h>
87596 #ifdef HAVE_IEEEFP_H
87597 #include <ieeefp.h>
87598 #endif
87599
87600 int
87601 main ()
87602 {
87603 isinf(0);
87604 ;
87605 return 0;
87606 }
87607 _ACEOF
87608 rm -f conftest.$ac_objext
87609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87610 (eval $ac_compile) 2>conftest.er1
87611 ac_status=$?
87612 grep -v '^ *+' conftest.er1 >conftest.err
87613 rm -f conftest.er1
87614 cat conftest.err >&5
87615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87616 (exit $ac_status); } &&
87617 { ac_try='test -z "$ac_cxx_werror_flag"
87618 || test ! -s conftest.err'
87619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87620 (eval $ac_try) 2>&5
87621 ac_status=$?
87622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87623 (exit $ac_status); }; } &&
87624 { ac_try='test -s conftest.$ac_objext'
87625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87626 (eval $ac_try) 2>&5
87627 ac_status=$?
87628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87629 (exit $ac_status); }; }; then
87630 glibcxx_cv_func_isinf_use=yes
87631 else
87632 echo "$as_me: failed program was:" >&5
87633 sed 's/^/| /' conftest.$ac_ext >&5
87634
87635 glibcxx_cv_func_isinf_use=no
87636 fi
87637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87638 ac_ext=c
87639 ac_cpp='$CPP $CPPFLAGS'
87640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87643
87644
87645 fi
87646
87647 fi
87648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87649 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87650
87651 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87652
87653 for ac_func in isinf
87654 do
87655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87656 echo "$as_me:$LINENO: checking for $ac_func" >&5
87657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87658 if eval "test \"\${$as_ac_var+set}\" = set"; then
87659 echo $ECHO_N "(cached) $ECHO_C" >&6
87660 else
87661 if test x$gcc_no_link = xyes; then
87662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87664 { (exit 1); exit 1; }; }
87665 fi
87666 cat >conftest.$ac_ext <<_ACEOF
87667 /* confdefs.h. */
87668 _ACEOF
87669 cat confdefs.h >>conftest.$ac_ext
87670 cat >>conftest.$ac_ext <<_ACEOF
87671 /* end confdefs.h. */
87672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87674 #define $ac_func innocuous_$ac_func
87675
87676 /* System header to define __stub macros and hopefully few prototypes,
87677 which can conflict with char $ac_func (); below.
87678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87679 <limits.h> exists even on freestanding compilers. */
87680
87681 #ifdef __STDC__
87682 # include <limits.h>
87683 #else
87684 # include <assert.h>
87685 #endif
87686
87687 #undef $ac_func
87688
87689 /* Override any gcc2 internal prototype to avoid an error. */
87690 #ifdef __cplusplus
87691 extern "C"
87692 {
87693 #endif
87694 /* We use char because int might match the return type of a gcc2
87695 builtin and then its argument prototype would still apply. */
87696 char $ac_func ();
87697 /* The GNU C library defines this for functions which it implements
87698 to always fail with ENOSYS. Some functions are actually named
87699 something starting with __ and the normal name is an alias. */
87700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87701 choke me
87702 #else
87703 char (*f) () = $ac_func;
87704 #endif
87705 #ifdef __cplusplus
87706 }
87707 #endif
87708
87709 int
87710 main ()
87711 {
87712 return f != $ac_func;
87713 ;
87714 return 0;
87715 }
87716 _ACEOF
87717 rm -f conftest.$ac_objext conftest$ac_exeext
87718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87719 (eval $ac_link) 2>conftest.er1
87720 ac_status=$?
87721 grep -v '^ *+' conftest.er1 >conftest.err
87722 rm -f conftest.er1
87723 cat conftest.err >&5
87724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87725 (exit $ac_status); } &&
87726 { ac_try='test -z "$ac_c_werror_flag"
87727 || test ! -s conftest.err'
87728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87729 (eval $ac_try) 2>&5
87730 ac_status=$?
87731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87732 (exit $ac_status); }; } &&
87733 { ac_try='test -s conftest$ac_exeext'
87734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87735 (eval $ac_try) 2>&5
87736 ac_status=$?
87737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87738 (exit $ac_status); }; }; then
87739 eval "$as_ac_var=yes"
87740 else
87741 echo "$as_me: failed program was:" >&5
87742 sed 's/^/| /' conftest.$ac_ext >&5
87743
87744 eval "$as_ac_var=no"
87745 fi
87746 rm -f conftest.err conftest.$ac_objext \
87747 conftest$ac_exeext conftest.$ac_ext
87748 fi
87749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87751 if test `eval echo '${'$as_ac_var'}'` = yes; then
87752 cat >>confdefs.h <<_ACEOF
87753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87754 _ACEOF
87755
87756 fi
87757 done
87758
87759 else
87760
87761 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87762 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87763 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87764 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87765 echo $ECHO_N "(cached) $ECHO_C" >&6
87766 else
87767
87768
87769
87770 ac_ext=cc
87771 ac_cpp='$CXXCPP $CPPFLAGS'
87772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87775
87776 cat >conftest.$ac_ext <<_ACEOF
87777 /* confdefs.h. */
87778 _ACEOF
87779 cat confdefs.h >>conftest.$ac_ext
87780 cat >>conftest.$ac_ext <<_ACEOF
87781 /* end confdefs.h. */
87782 #include <math.h>
87783 #ifdef HAVE_IEEEFP_H
87784 #include <ieeefp.h>
87785 #endif
87786
87787 int
87788 main ()
87789 {
87790 _isinf(0);
87791 ;
87792 return 0;
87793 }
87794 _ACEOF
87795 rm -f conftest.$ac_objext
87796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87797 (eval $ac_compile) 2>conftest.er1
87798 ac_status=$?
87799 grep -v '^ *+' conftest.er1 >conftest.err
87800 rm -f conftest.er1
87801 cat conftest.err >&5
87802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87803 (exit $ac_status); } &&
87804 { ac_try='test -z "$ac_cxx_werror_flag"
87805 || test ! -s conftest.err'
87806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87807 (eval $ac_try) 2>&5
87808 ac_status=$?
87809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87810 (exit $ac_status); }; } &&
87811 { ac_try='test -s conftest.$ac_objext'
87812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87813 (eval $ac_try) 2>&5
87814 ac_status=$?
87815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87816 (exit $ac_status); }; }; then
87817 glibcxx_cv_func__isinf_use=yes
87818 else
87819 echo "$as_me: failed program was:" >&5
87820 sed 's/^/| /' conftest.$ac_ext >&5
87821
87822 glibcxx_cv_func__isinf_use=no
87823 fi
87824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87825 ac_ext=c
87826 ac_cpp='$CPP $CPPFLAGS'
87827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87830
87831
87832 fi
87833
87834 fi
87835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87836 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87837
87838 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87839
87840 for ac_func in _isinf
87841 do
87842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87843 echo "$as_me:$LINENO: checking for $ac_func" >&5
87844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87845 if eval "test \"\${$as_ac_var+set}\" = set"; then
87846 echo $ECHO_N "(cached) $ECHO_C" >&6
87847 else
87848 if test x$gcc_no_link = xyes; then
87849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87851 { (exit 1); exit 1; }; }
87852 fi
87853 cat >conftest.$ac_ext <<_ACEOF
87854 /* confdefs.h. */
87855 _ACEOF
87856 cat confdefs.h >>conftest.$ac_ext
87857 cat >>conftest.$ac_ext <<_ACEOF
87858 /* end confdefs.h. */
87859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87861 #define $ac_func innocuous_$ac_func
87862
87863 /* System header to define __stub macros and hopefully few prototypes,
87864 which can conflict with char $ac_func (); below.
87865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87866 <limits.h> exists even on freestanding compilers. */
87867
87868 #ifdef __STDC__
87869 # include <limits.h>
87870 #else
87871 # include <assert.h>
87872 #endif
87873
87874 #undef $ac_func
87875
87876 /* Override any gcc2 internal prototype to avoid an error. */
87877 #ifdef __cplusplus
87878 extern "C"
87879 {
87880 #endif
87881 /* We use char because int might match the return type of a gcc2
87882 builtin and then its argument prototype would still apply. */
87883 char $ac_func ();
87884 /* The GNU C library defines this for functions which it implements
87885 to always fail with ENOSYS. Some functions are actually named
87886 something starting with __ and the normal name is an alias. */
87887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87888 choke me
87889 #else
87890 char (*f) () = $ac_func;
87891 #endif
87892 #ifdef __cplusplus
87893 }
87894 #endif
87895
87896 int
87897 main ()
87898 {
87899 return f != $ac_func;
87900 ;
87901 return 0;
87902 }
87903 _ACEOF
87904 rm -f conftest.$ac_objext conftest$ac_exeext
87905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87906 (eval $ac_link) 2>conftest.er1
87907 ac_status=$?
87908 grep -v '^ *+' conftest.er1 >conftest.err
87909 rm -f conftest.er1
87910 cat conftest.err >&5
87911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87912 (exit $ac_status); } &&
87913 { ac_try='test -z "$ac_c_werror_flag"
87914 || test ! -s conftest.err'
87915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87916 (eval $ac_try) 2>&5
87917 ac_status=$?
87918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87919 (exit $ac_status); }; } &&
87920 { ac_try='test -s conftest$ac_exeext'
87921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87922 (eval $ac_try) 2>&5
87923 ac_status=$?
87924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87925 (exit $ac_status); }; }; then
87926 eval "$as_ac_var=yes"
87927 else
87928 echo "$as_me: failed program was:" >&5
87929 sed 's/^/| /' conftest.$ac_ext >&5
87930
87931 eval "$as_ac_var=no"
87932 fi
87933 rm -f conftest.err conftest.$ac_objext \
87934 conftest$ac_exeext conftest.$ac_ext
87935 fi
87936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87938 if test `eval echo '${'$as_ac_var'}'` = yes; then
87939 cat >>confdefs.h <<_ACEOF
87940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87941 _ACEOF
87942
87943 fi
87944 done
87945
87946 fi
87947 fi
87948
87949
87950
87951
87952
87953
87954 echo "$as_me:$LINENO: checking for isnan declaration" >&5
87955 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87956 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87957 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87958 echo $ECHO_N "(cached) $ECHO_C" >&6
87959 else
87960
87961
87962
87963 ac_ext=cc
87964 ac_cpp='$CXXCPP $CPPFLAGS'
87965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87968
87969 cat >conftest.$ac_ext <<_ACEOF
87970 /* confdefs.h. */
87971 _ACEOF
87972 cat confdefs.h >>conftest.$ac_ext
87973 cat >>conftest.$ac_ext <<_ACEOF
87974 /* end confdefs.h. */
87975 #include <math.h>
87976 #ifdef HAVE_IEEEFP_H
87977 #include <ieeefp.h>
87978 #endif
87979
87980 int
87981 main ()
87982 {
87983 isnan(0);
87984 ;
87985 return 0;
87986 }
87987 _ACEOF
87988 rm -f conftest.$ac_objext
87989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87990 (eval $ac_compile) 2>conftest.er1
87991 ac_status=$?
87992 grep -v '^ *+' conftest.er1 >conftest.err
87993 rm -f conftest.er1
87994 cat conftest.err >&5
87995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87996 (exit $ac_status); } &&
87997 { ac_try='test -z "$ac_cxx_werror_flag"
87998 || test ! -s conftest.err'
87999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88000 (eval $ac_try) 2>&5
88001 ac_status=$?
88002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88003 (exit $ac_status); }; } &&
88004 { ac_try='test -s conftest.$ac_objext'
88005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88006 (eval $ac_try) 2>&5
88007 ac_status=$?
88008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88009 (exit $ac_status); }; }; then
88010 glibcxx_cv_func_isnan_use=yes
88011 else
88012 echo "$as_me: failed program was:" >&5
88013 sed 's/^/| /' conftest.$ac_ext >&5
88014
88015 glibcxx_cv_func_isnan_use=no
88016 fi
88017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88018 ac_ext=c
88019 ac_cpp='$CPP $CPPFLAGS'
88020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88023
88024
88025 fi
88026
88027 fi
88028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88029 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88030
88031 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88032
88033 for ac_func in isnan
88034 do
88035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88036 echo "$as_me:$LINENO: checking for $ac_func" >&5
88037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88038 if eval "test \"\${$as_ac_var+set}\" = set"; then
88039 echo $ECHO_N "(cached) $ECHO_C" >&6
88040 else
88041 if test x$gcc_no_link = xyes; then
88042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88044 { (exit 1); exit 1; }; }
88045 fi
88046 cat >conftest.$ac_ext <<_ACEOF
88047 /* confdefs.h. */
88048 _ACEOF
88049 cat confdefs.h >>conftest.$ac_ext
88050 cat >>conftest.$ac_ext <<_ACEOF
88051 /* end confdefs.h. */
88052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88054 #define $ac_func innocuous_$ac_func
88055
88056 /* System header to define __stub macros and hopefully few prototypes,
88057 which can conflict with char $ac_func (); below.
88058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88059 <limits.h> exists even on freestanding compilers. */
88060
88061 #ifdef __STDC__
88062 # include <limits.h>
88063 #else
88064 # include <assert.h>
88065 #endif
88066
88067 #undef $ac_func
88068
88069 /* Override any gcc2 internal prototype to avoid an error. */
88070 #ifdef __cplusplus
88071 extern "C"
88072 {
88073 #endif
88074 /* We use char because int might match the return type of a gcc2
88075 builtin and then its argument prototype would still apply. */
88076 char $ac_func ();
88077 /* The GNU C library defines this for functions which it implements
88078 to always fail with ENOSYS. Some functions are actually named
88079 something starting with __ and the normal name is an alias. */
88080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88081 choke me
88082 #else
88083 char (*f) () = $ac_func;
88084 #endif
88085 #ifdef __cplusplus
88086 }
88087 #endif
88088
88089 int
88090 main ()
88091 {
88092 return f != $ac_func;
88093 ;
88094 return 0;
88095 }
88096 _ACEOF
88097 rm -f conftest.$ac_objext conftest$ac_exeext
88098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88099 (eval $ac_link) 2>conftest.er1
88100 ac_status=$?
88101 grep -v '^ *+' conftest.er1 >conftest.err
88102 rm -f conftest.er1
88103 cat conftest.err >&5
88104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88105 (exit $ac_status); } &&
88106 { ac_try='test -z "$ac_c_werror_flag"
88107 || test ! -s conftest.err'
88108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88109 (eval $ac_try) 2>&5
88110 ac_status=$?
88111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88112 (exit $ac_status); }; } &&
88113 { ac_try='test -s conftest$ac_exeext'
88114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88115 (eval $ac_try) 2>&5
88116 ac_status=$?
88117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88118 (exit $ac_status); }; }; then
88119 eval "$as_ac_var=yes"
88120 else
88121 echo "$as_me: failed program was:" >&5
88122 sed 's/^/| /' conftest.$ac_ext >&5
88123
88124 eval "$as_ac_var=no"
88125 fi
88126 rm -f conftest.err conftest.$ac_objext \
88127 conftest$ac_exeext conftest.$ac_ext
88128 fi
88129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88131 if test `eval echo '${'$as_ac_var'}'` = yes; then
88132 cat >>confdefs.h <<_ACEOF
88133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88134 _ACEOF
88135
88136 fi
88137 done
88138
88139 else
88140
88141 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88142 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88143 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88144 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88145 echo $ECHO_N "(cached) $ECHO_C" >&6
88146 else
88147
88148
88149
88150 ac_ext=cc
88151 ac_cpp='$CXXCPP $CPPFLAGS'
88152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88155
88156 cat >conftest.$ac_ext <<_ACEOF
88157 /* confdefs.h. */
88158 _ACEOF
88159 cat confdefs.h >>conftest.$ac_ext
88160 cat >>conftest.$ac_ext <<_ACEOF
88161 /* end confdefs.h. */
88162 #include <math.h>
88163 #ifdef HAVE_IEEEFP_H
88164 #include <ieeefp.h>
88165 #endif
88166
88167 int
88168 main ()
88169 {
88170 _isnan(0);
88171 ;
88172 return 0;
88173 }
88174 _ACEOF
88175 rm -f conftest.$ac_objext
88176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88177 (eval $ac_compile) 2>conftest.er1
88178 ac_status=$?
88179 grep -v '^ *+' conftest.er1 >conftest.err
88180 rm -f conftest.er1
88181 cat conftest.err >&5
88182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88183 (exit $ac_status); } &&
88184 { ac_try='test -z "$ac_cxx_werror_flag"
88185 || test ! -s conftest.err'
88186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88187 (eval $ac_try) 2>&5
88188 ac_status=$?
88189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88190 (exit $ac_status); }; } &&
88191 { ac_try='test -s conftest.$ac_objext'
88192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88193 (eval $ac_try) 2>&5
88194 ac_status=$?
88195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88196 (exit $ac_status); }; }; then
88197 glibcxx_cv_func__isnan_use=yes
88198 else
88199 echo "$as_me: failed program was:" >&5
88200 sed 's/^/| /' conftest.$ac_ext >&5
88201
88202 glibcxx_cv_func__isnan_use=no
88203 fi
88204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88205 ac_ext=c
88206 ac_cpp='$CPP $CPPFLAGS'
88207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88210
88211
88212 fi
88213
88214 fi
88215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88216 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88217
88218 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88219
88220 for ac_func in _isnan
88221 do
88222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88223 echo "$as_me:$LINENO: checking for $ac_func" >&5
88224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88225 if eval "test \"\${$as_ac_var+set}\" = set"; then
88226 echo $ECHO_N "(cached) $ECHO_C" >&6
88227 else
88228 if test x$gcc_no_link = xyes; then
88229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88231 { (exit 1); exit 1; }; }
88232 fi
88233 cat >conftest.$ac_ext <<_ACEOF
88234 /* confdefs.h. */
88235 _ACEOF
88236 cat confdefs.h >>conftest.$ac_ext
88237 cat >>conftest.$ac_ext <<_ACEOF
88238 /* end confdefs.h. */
88239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88241 #define $ac_func innocuous_$ac_func
88242
88243 /* System header to define __stub macros and hopefully few prototypes,
88244 which can conflict with char $ac_func (); below.
88245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88246 <limits.h> exists even on freestanding compilers. */
88247
88248 #ifdef __STDC__
88249 # include <limits.h>
88250 #else
88251 # include <assert.h>
88252 #endif
88253
88254 #undef $ac_func
88255
88256 /* Override any gcc2 internal prototype to avoid an error. */
88257 #ifdef __cplusplus
88258 extern "C"
88259 {
88260 #endif
88261 /* We use char because int might match the return type of a gcc2
88262 builtin and then its argument prototype would still apply. */
88263 char $ac_func ();
88264 /* The GNU C library defines this for functions which it implements
88265 to always fail with ENOSYS. Some functions are actually named
88266 something starting with __ and the normal name is an alias. */
88267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88268 choke me
88269 #else
88270 char (*f) () = $ac_func;
88271 #endif
88272 #ifdef __cplusplus
88273 }
88274 #endif
88275
88276 int
88277 main ()
88278 {
88279 return f != $ac_func;
88280 ;
88281 return 0;
88282 }
88283 _ACEOF
88284 rm -f conftest.$ac_objext conftest$ac_exeext
88285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88286 (eval $ac_link) 2>conftest.er1
88287 ac_status=$?
88288 grep -v '^ *+' conftest.er1 >conftest.err
88289 rm -f conftest.er1
88290 cat conftest.err >&5
88291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292 (exit $ac_status); } &&
88293 { ac_try='test -z "$ac_c_werror_flag"
88294 || test ! -s conftest.err'
88295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88296 (eval $ac_try) 2>&5
88297 ac_status=$?
88298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88299 (exit $ac_status); }; } &&
88300 { ac_try='test -s conftest$ac_exeext'
88301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88302 (eval $ac_try) 2>&5
88303 ac_status=$?
88304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88305 (exit $ac_status); }; }; then
88306 eval "$as_ac_var=yes"
88307 else
88308 echo "$as_me: failed program was:" >&5
88309 sed 's/^/| /' conftest.$ac_ext >&5
88310
88311 eval "$as_ac_var=no"
88312 fi
88313 rm -f conftest.err conftest.$ac_objext \
88314 conftest$ac_exeext conftest.$ac_ext
88315 fi
88316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88318 if test `eval echo '${'$as_ac_var'}'` = yes; then
88319 cat >>confdefs.h <<_ACEOF
88320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88321 _ACEOF
88322
88323 fi
88324 done
88325
88326 fi
88327 fi
88328
88329
88330
88331
88332
88333
88334 echo "$as_me:$LINENO: checking for finite declaration" >&5
88335 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88336 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88337 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88338 echo $ECHO_N "(cached) $ECHO_C" >&6
88339 else
88340
88341
88342
88343 ac_ext=cc
88344 ac_cpp='$CXXCPP $CPPFLAGS'
88345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88348
88349 cat >conftest.$ac_ext <<_ACEOF
88350 /* confdefs.h. */
88351 _ACEOF
88352 cat confdefs.h >>conftest.$ac_ext
88353 cat >>conftest.$ac_ext <<_ACEOF
88354 /* end confdefs.h. */
88355 #include <math.h>
88356 #ifdef HAVE_IEEEFP_H
88357 #include <ieeefp.h>
88358 #endif
88359
88360 int
88361 main ()
88362 {
88363 finite(0);
88364 ;
88365 return 0;
88366 }
88367 _ACEOF
88368 rm -f conftest.$ac_objext
88369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88370 (eval $ac_compile) 2>conftest.er1
88371 ac_status=$?
88372 grep -v '^ *+' conftest.er1 >conftest.err
88373 rm -f conftest.er1
88374 cat conftest.err >&5
88375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88376 (exit $ac_status); } &&
88377 { ac_try='test -z "$ac_cxx_werror_flag"
88378 || test ! -s conftest.err'
88379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88380 (eval $ac_try) 2>&5
88381 ac_status=$?
88382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88383 (exit $ac_status); }; } &&
88384 { ac_try='test -s conftest.$ac_objext'
88385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88386 (eval $ac_try) 2>&5
88387 ac_status=$?
88388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88389 (exit $ac_status); }; }; then
88390 glibcxx_cv_func_finite_use=yes
88391 else
88392 echo "$as_me: failed program was:" >&5
88393 sed 's/^/| /' conftest.$ac_ext >&5
88394
88395 glibcxx_cv_func_finite_use=no
88396 fi
88397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88398 ac_ext=c
88399 ac_cpp='$CPP $CPPFLAGS'
88400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88403
88404
88405 fi
88406
88407 fi
88408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88409 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88410
88411 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88412
88413 for ac_func in finite
88414 do
88415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88416 echo "$as_me:$LINENO: checking for $ac_func" >&5
88417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88418 if eval "test \"\${$as_ac_var+set}\" = set"; then
88419 echo $ECHO_N "(cached) $ECHO_C" >&6
88420 else
88421 if test x$gcc_no_link = xyes; then
88422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88424 { (exit 1); exit 1; }; }
88425 fi
88426 cat >conftest.$ac_ext <<_ACEOF
88427 /* confdefs.h. */
88428 _ACEOF
88429 cat confdefs.h >>conftest.$ac_ext
88430 cat >>conftest.$ac_ext <<_ACEOF
88431 /* end confdefs.h. */
88432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88434 #define $ac_func innocuous_$ac_func
88435
88436 /* System header to define __stub macros and hopefully few prototypes,
88437 which can conflict with char $ac_func (); below.
88438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88439 <limits.h> exists even on freestanding compilers. */
88440
88441 #ifdef __STDC__
88442 # include <limits.h>
88443 #else
88444 # include <assert.h>
88445 #endif
88446
88447 #undef $ac_func
88448
88449 /* Override any gcc2 internal prototype to avoid an error. */
88450 #ifdef __cplusplus
88451 extern "C"
88452 {
88453 #endif
88454 /* We use char because int might match the return type of a gcc2
88455 builtin and then its argument prototype would still apply. */
88456 char $ac_func ();
88457 /* The GNU C library defines this for functions which it implements
88458 to always fail with ENOSYS. Some functions are actually named
88459 something starting with __ and the normal name is an alias. */
88460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88461 choke me
88462 #else
88463 char (*f) () = $ac_func;
88464 #endif
88465 #ifdef __cplusplus
88466 }
88467 #endif
88468
88469 int
88470 main ()
88471 {
88472 return f != $ac_func;
88473 ;
88474 return 0;
88475 }
88476 _ACEOF
88477 rm -f conftest.$ac_objext conftest$ac_exeext
88478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88479 (eval $ac_link) 2>conftest.er1
88480 ac_status=$?
88481 grep -v '^ *+' conftest.er1 >conftest.err
88482 rm -f conftest.er1
88483 cat conftest.err >&5
88484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88485 (exit $ac_status); } &&
88486 { ac_try='test -z "$ac_c_werror_flag"
88487 || test ! -s conftest.err'
88488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88489 (eval $ac_try) 2>&5
88490 ac_status=$?
88491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88492 (exit $ac_status); }; } &&
88493 { ac_try='test -s conftest$ac_exeext'
88494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88495 (eval $ac_try) 2>&5
88496 ac_status=$?
88497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88498 (exit $ac_status); }; }; then
88499 eval "$as_ac_var=yes"
88500 else
88501 echo "$as_me: failed program was:" >&5
88502 sed 's/^/| /' conftest.$ac_ext >&5
88503
88504 eval "$as_ac_var=no"
88505 fi
88506 rm -f conftest.err conftest.$ac_objext \
88507 conftest$ac_exeext conftest.$ac_ext
88508 fi
88509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88511 if test `eval echo '${'$as_ac_var'}'` = yes; then
88512 cat >>confdefs.h <<_ACEOF
88513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88514 _ACEOF
88515
88516 fi
88517 done
88518
88519 else
88520
88521 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88522 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88523 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88524 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88525 echo $ECHO_N "(cached) $ECHO_C" >&6
88526 else
88527
88528
88529
88530 ac_ext=cc
88531 ac_cpp='$CXXCPP $CPPFLAGS'
88532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88535
88536 cat >conftest.$ac_ext <<_ACEOF
88537 /* confdefs.h. */
88538 _ACEOF
88539 cat confdefs.h >>conftest.$ac_ext
88540 cat >>conftest.$ac_ext <<_ACEOF
88541 /* end confdefs.h. */
88542 #include <math.h>
88543 #ifdef HAVE_IEEEFP_H
88544 #include <ieeefp.h>
88545 #endif
88546
88547 int
88548 main ()
88549 {
88550 _finite(0);
88551 ;
88552 return 0;
88553 }
88554 _ACEOF
88555 rm -f conftest.$ac_objext
88556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88557 (eval $ac_compile) 2>conftest.er1
88558 ac_status=$?
88559 grep -v '^ *+' conftest.er1 >conftest.err
88560 rm -f conftest.er1
88561 cat conftest.err >&5
88562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88563 (exit $ac_status); } &&
88564 { ac_try='test -z "$ac_cxx_werror_flag"
88565 || test ! -s conftest.err'
88566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88567 (eval $ac_try) 2>&5
88568 ac_status=$?
88569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88570 (exit $ac_status); }; } &&
88571 { ac_try='test -s conftest.$ac_objext'
88572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88573 (eval $ac_try) 2>&5
88574 ac_status=$?
88575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88576 (exit $ac_status); }; }; then
88577 glibcxx_cv_func__finite_use=yes
88578 else
88579 echo "$as_me: failed program was:" >&5
88580 sed 's/^/| /' conftest.$ac_ext >&5
88581
88582 glibcxx_cv_func__finite_use=no
88583 fi
88584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88585 ac_ext=c
88586 ac_cpp='$CPP $CPPFLAGS'
88587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88590
88591
88592 fi
88593
88594 fi
88595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88596 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88597
88598 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88599
88600 for ac_func in _finite
88601 do
88602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88603 echo "$as_me:$LINENO: checking for $ac_func" >&5
88604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88605 if eval "test \"\${$as_ac_var+set}\" = set"; then
88606 echo $ECHO_N "(cached) $ECHO_C" >&6
88607 else
88608 if test x$gcc_no_link = xyes; then
88609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88611 { (exit 1); exit 1; }; }
88612 fi
88613 cat >conftest.$ac_ext <<_ACEOF
88614 /* confdefs.h. */
88615 _ACEOF
88616 cat confdefs.h >>conftest.$ac_ext
88617 cat >>conftest.$ac_ext <<_ACEOF
88618 /* end confdefs.h. */
88619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88621 #define $ac_func innocuous_$ac_func
88622
88623 /* System header to define __stub macros and hopefully few prototypes,
88624 which can conflict with char $ac_func (); below.
88625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88626 <limits.h> exists even on freestanding compilers. */
88627
88628 #ifdef __STDC__
88629 # include <limits.h>
88630 #else
88631 # include <assert.h>
88632 #endif
88633
88634 #undef $ac_func
88635
88636 /* Override any gcc2 internal prototype to avoid an error. */
88637 #ifdef __cplusplus
88638 extern "C"
88639 {
88640 #endif
88641 /* We use char because int might match the return type of a gcc2
88642 builtin and then its argument prototype would still apply. */
88643 char $ac_func ();
88644 /* The GNU C library defines this for functions which it implements
88645 to always fail with ENOSYS. Some functions are actually named
88646 something starting with __ and the normal name is an alias. */
88647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88648 choke me
88649 #else
88650 char (*f) () = $ac_func;
88651 #endif
88652 #ifdef __cplusplus
88653 }
88654 #endif
88655
88656 int
88657 main ()
88658 {
88659 return f != $ac_func;
88660 ;
88661 return 0;
88662 }
88663 _ACEOF
88664 rm -f conftest.$ac_objext conftest$ac_exeext
88665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88666 (eval $ac_link) 2>conftest.er1
88667 ac_status=$?
88668 grep -v '^ *+' conftest.er1 >conftest.err
88669 rm -f conftest.er1
88670 cat conftest.err >&5
88671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88672 (exit $ac_status); } &&
88673 { ac_try='test -z "$ac_c_werror_flag"
88674 || test ! -s conftest.err'
88675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88676 (eval $ac_try) 2>&5
88677 ac_status=$?
88678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88679 (exit $ac_status); }; } &&
88680 { ac_try='test -s conftest$ac_exeext'
88681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88682 (eval $ac_try) 2>&5
88683 ac_status=$?
88684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88685 (exit $ac_status); }; }; then
88686 eval "$as_ac_var=yes"
88687 else
88688 echo "$as_me: failed program was:" >&5
88689 sed 's/^/| /' conftest.$ac_ext >&5
88690
88691 eval "$as_ac_var=no"
88692 fi
88693 rm -f conftest.err conftest.$ac_objext \
88694 conftest$ac_exeext conftest.$ac_ext
88695 fi
88696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88698 if test `eval echo '${'$as_ac_var'}'` = yes; then
88699 cat >>confdefs.h <<_ACEOF
88700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88701 _ACEOF
88702
88703 fi
88704 done
88705
88706 fi
88707 fi
88708
88709
88710
88711
88712
88713
88714 echo "$as_me:$LINENO: checking for copysign declaration" >&5
88715 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88716 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88717 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88718 echo $ECHO_N "(cached) $ECHO_C" >&6
88719 else
88720
88721
88722
88723 ac_ext=cc
88724 ac_cpp='$CXXCPP $CPPFLAGS'
88725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88728
88729 cat >conftest.$ac_ext <<_ACEOF
88730 /* confdefs.h. */
88731 _ACEOF
88732 cat confdefs.h >>conftest.$ac_ext
88733 cat >>conftest.$ac_ext <<_ACEOF
88734 /* end confdefs.h. */
88735 #include <math.h>
88736 int
88737 main ()
88738 {
88739 copysign(0, 0);
88740 ;
88741 return 0;
88742 }
88743 _ACEOF
88744 rm -f conftest.$ac_objext
88745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88746 (eval $ac_compile) 2>conftest.er1
88747 ac_status=$?
88748 grep -v '^ *+' conftest.er1 >conftest.err
88749 rm -f conftest.er1
88750 cat conftest.err >&5
88751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88752 (exit $ac_status); } &&
88753 { ac_try='test -z "$ac_cxx_werror_flag"
88754 || test ! -s conftest.err'
88755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88756 (eval $ac_try) 2>&5
88757 ac_status=$?
88758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88759 (exit $ac_status); }; } &&
88760 { ac_try='test -s conftest.$ac_objext'
88761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88762 (eval $ac_try) 2>&5
88763 ac_status=$?
88764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765 (exit $ac_status); }; }; then
88766 glibcxx_cv_func_copysign_use=yes
88767 else
88768 echo "$as_me: failed program was:" >&5
88769 sed 's/^/| /' conftest.$ac_ext >&5
88770
88771 glibcxx_cv_func_copysign_use=no
88772 fi
88773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88774 ac_ext=c
88775 ac_cpp='$CPP $CPPFLAGS'
88776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88779
88780
88781 fi
88782
88783 fi
88784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88785 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88786
88787 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88788
88789 for ac_func in copysign
88790 do
88791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88792 echo "$as_me:$LINENO: checking for $ac_func" >&5
88793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88794 if eval "test \"\${$as_ac_var+set}\" = set"; then
88795 echo $ECHO_N "(cached) $ECHO_C" >&6
88796 else
88797 if test x$gcc_no_link = xyes; then
88798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88800 { (exit 1); exit 1; }; }
88801 fi
88802 cat >conftest.$ac_ext <<_ACEOF
88803 /* confdefs.h. */
88804 _ACEOF
88805 cat confdefs.h >>conftest.$ac_ext
88806 cat >>conftest.$ac_ext <<_ACEOF
88807 /* end confdefs.h. */
88808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88810 #define $ac_func innocuous_$ac_func
88811
88812 /* System header to define __stub macros and hopefully few prototypes,
88813 which can conflict with char $ac_func (); below.
88814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88815 <limits.h> exists even on freestanding compilers. */
88816
88817 #ifdef __STDC__
88818 # include <limits.h>
88819 #else
88820 # include <assert.h>
88821 #endif
88822
88823 #undef $ac_func
88824
88825 /* Override any gcc2 internal prototype to avoid an error. */
88826 #ifdef __cplusplus
88827 extern "C"
88828 {
88829 #endif
88830 /* We use char because int might match the return type of a gcc2
88831 builtin and then its argument prototype would still apply. */
88832 char $ac_func ();
88833 /* The GNU C library defines this for functions which it implements
88834 to always fail with ENOSYS. Some functions are actually named
88835 something starting with __ and the normal name is an alias. */
88836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88837 choke me
88838 #else
88839 char (*f) () = $ac_func;
88840 #endif
88841 #ifdef __cplusplus
88842 }
88843 #endif
88844
88845 int
88846 main ()
88847 {
88848 return f != $ac_func;
88849 ;
88850 return 0;
88851 }
88852 _ACEOF
88853 rm -f conftest.$ac_objext conftest$ac_exeext
88854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88855 (eval $ac_link) 2>conftest.er1
88856 ac_status=$?
88857 grep -v '^ *+' conftest.er1 >conftest.err
88858 rm -f conftest.er1
88859 cat conftest.err >&5
88860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88861 (exit $ac_status); } &&
88862 { ac_try='test -z "$ac_c_werror_flag"
88863 || test ! -s conftest.err'
88864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88865 (eval $ac_try) 2>&5
88866 ac_status=$?
88867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88868 (exit $ac_status); }; } &&
88869 { ac_try='test -s conftest$ac_exeext'
88870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88871 (eval $ac_try) 2>&5
88872 ac_status=$?
88873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88874 (exit $ac_status); }; }; then
88875 eval "$as_ac_var=yes"
88876 else
88877 echo "$as_me: failed program was:" >&5
88878 sed 's/^/| /' conftest.$ac_ext >&5
88879
88880 eval "$as_ac_var=no"
88881 fi
88882 rm -f conftest.err conftest.$ac_objext \
88883 conftest$ac_exeext conftest.$ac_ext
88884 fi
88885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88887 if test `eval echo '${'$as_ac_var'}'` = yes; then
88888 cat >>confdefs.h <<_ACEOF
88889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88890 _ACEOF
88891
88892 fi
88893 done
88894
88895 else
88896
88897 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88898 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88899 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88900 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88901 echo $ECHO_N "(cached) $ECHO_C" >&6
88902 else
88903
88904
88905
88906 ac_ext=cc
88907 ac_cpp='$CXXCPP $CPPFLAGS'
88908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88911
88912 cat >conftest.$ac_ext <<_ACEOF
88913 /* confdefs.h. */
88914 _ACEOF
88915 cat confdefs.h >>conftest.$ac_ext
88916 cat >>conftest.$ac_ext <<_ACEOF
88917 /* end confdefs.h. */
88918 #include <math.h>
88919 int
88920 main ()
88921 {
88922 _copysign(0, 0);
88923 ;
88924 return 0;
88925 }
88926 _ACEOF
88927 rm -f conftest.$ac_objext
88928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88929 (eval $ac_compile) 2>conftest.er1
88930 ac_status=$?
88931 grep -v '^ *+' conftest.er1 >conftest.err
88932 rm -f conftest.er1
88933 cat conftest.err >&5
88934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88935 (exit $ac_status); } &&
88936 { ac_try='test -z "$ac_cxx_werror_flag"
88937 || test ! -s conftest.err'
88938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88939 (eval $ac_try) 2>&5
88940 ac_status=$?
88941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88942 (exit $ac_status); }; } &&
88943 { ac_try='test -s conftest.$ac_objext'
88944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88945 (eval $ac_try) 2>&5
88946 ac_status=$?
88947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88948 (exit $ac_status); }; }; then
88949 glibcxx_cv_func__copysign_use=yes
88950 else
88951 echo "$as_me: failed program was:" >&5
88952 sed 's/^/| /' conftest.$ac_ext >&5
88953
88954 glibcxx_cv_func__copysign_use=no
88955 fi
88956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88957 ac_ext=c
88958 ac_cpp='$CPP $CPPFLAGS'
88959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88962
88963
88964 fi
88965
88966 fi
88967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88968 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88969
88970 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88971
88972 for ac_func in _copysign
88973 do
88974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88975 echo "$as_me:$LINENO: checking for $ac_func" >&5
88976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88977 if eval "test \"\${$as_ac_var+set}\" = set"; then
88978 echo $ECHO_N "(cached) $ECHO_C" >&6
88979 else
88980 if test x$gcc_no_link = xyes; then
88981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88983 { (exit 1); exit 1; }; }
88984 fi
88985 cat >conftest.$ac_ext <<_ACEOF
88986 /* confdefs.h. */
88987 _ACEOF
88988 cat confdefs.h >>conftest.$ac_ext
88989 cat >>conftest.$ac_ext <<_ACEOF
88990 /* end confdefs.h. */
88991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88993 #define $ac_func innocuous_$ac_func
88994
88995 /* System header to define __stub macros and hopefully few prototypes,
88996 which can conflict with char $ac_func (); below.
88997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88998 <limits.h> exists even on freestanding compilers. */
88999
89000 #ifdef __STDC__
89001 # include <limits.h>
89002 #else
89003 # include <assert.h>
89004 #endif
89005
89006 #undef $ac_func
89007
89008 /* Override any gcc2 internal prototype to avoid an error. */
89009 #ifdef __cplusplus
89010 extern "C"
89011 {
89012 #endif
89013 /* We use char because int might match the return type of a gcc2
89014 builtin and then its argument prototype would still apply. */
89015 char $ac_func ();
89016 /* The GNU C library defines this for functions which it implements
89017 to always fail with ENOSYS. Some functions are actually named
89018 something starting with __ and the normal name is an alias. */
89019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89020 choke me
89021 #else
89022 char (*f) () = $ac_func;
89023 #endif
89024 #ifdef __cplusplus
89025 }
89026 #endif
89027
89028 int
89029 main ()
89030 {
89031 return f != $ac_func;
89032 ;
89033 return 0;
89034 }
89035 _ACEOF
89036 rm -f conftest.$ac_objext conftest$ac_exeext
89037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89038 (eval $ac_link) 2>conftest.er1
89039 ac_status=$?
89040 grep -v '^ *+' conftest.er1 >conftest.err
89041 rm -f conftest.er1
89042 cat conftest.err >&5
89043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89044 (exit $ac_status); } &&
89045 { ac_try='test -z "$ac_c_werror_flag"
89046 || test ! -s conftest.err'
89047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048 (eval $ac_try) 2>&5
89049 ac_status=$?
89050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051 (exit $ac_status); }; } &&
89052 { ac_try='test -s conftest$ac_exeext'
89053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89054 (eval $ac_try) 2>&5
89055 ac_status=$?
89056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89057 (exit $ac_status); }; }; then
89058 eval "$as_ac_var=yes"
89059 else
89060 echo "$as_me: failed program was:" >&5
89061 sed 's/^/| /' conftest.$ac_ext >&5
89062
89063 eval "$as_ac_var=no"
89064 fi
89065 rm -f conftest.err conftest.$ac_objext \
89066 conftest$ac_exeext conftest.$ac_ext
89067 fi
89068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89070 if test `eval echo '${'$as_ac_var'}'` = yes; then
89071 cat >>confdefs.h <<_ACEOF
89072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89073 _ACEOF
89074
89075 fi
89076 done
89077
89078 fi
89079 fi
89080
89081
89082
89083
89084
89085
89086 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89087 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89088 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89089 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89090 echo $ECHO_N "(cached) $ECHO_C" >&6
89091 else
89092
89093
89094
89095 ac_ext=cc
89096 ac_cpp='$CXXCPP $CPPFLAGS'
89097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89100
89101 cat >conftest.$ac_ext <<_ACEOF
89102 /* confdefs.h. */
89103 _ACEOF
89104 cat confdefs.h >>conftest.$ac_ext
89105 cat >>conftest.$ac_ext <<_ACEOF
89106 /* end confdefs.h. */
89107 #include <math.h>
89108 int
89109 main ()
89110 {
89111 sincos(0, 0, 0);
89112 ;
89113 return 0;
89114 }
89115 _ACEOF
89116 rm -f conftest.$ac_objext
89117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89118 (eval $ac_compile) 2>conftest.er1
89119 ac_status=$?
89120 grep -v '^ *+' conftest.er1 >conftest.err
89121 rm -f conftest.er1
89122 cat conftest.err >&5
89123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89124 (exit $ac_status); } &&
89125 { ac_try='test -z "$ac_cxx_werror_flag"
89126 || test ! -s conftest.err'
89127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89128 (eval $ac_try) 2>&5
89129 ac_status=$?
89130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89131 (exit $ac_status); }; } &&
89132 { ac_try='test -s conftest.$ac_objext'
89133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89134 (eval $ac_try) 2>&5
89135 ac_status=$?
89136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89137 (exit $ac_status); }; }; then
89138 glibcxx_cv_func_sincos_use=yes
89139 else
89140 echo "$as_me: failed program was:" >&5
89141 sed 's/^/| /' conftest.$ac_ext >&5
89142
89143 glibcxx_cv_func_sincos_use=no
89144 fi
89145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89146 ac_ext=c
89147 ac_cpp='$CPP $CPPFLAGS'
89148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89151
89152
89153 fi
89154
89155 fi
89156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89157 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89158
89159 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89160
89161 for ac_func in sincos
89162 do
89163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89164 echo "$as_me:$LINENO: checking for $ac_func" >&5
89165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89166 if eval "test \"\${$as_ac_var+set}\" = set"; then
89167 echo $ECHO_N "(cached) $ECHO_C" >&6
89168 else
89169 if test x$gcc_no_link = xyes; then
89170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89172 { (exit 1); exit 1; }; }
89173 fi
89174 cat >conftest.$ac_ext <<_ACEOF
89175 /* confdefs.h. */
89176 _ACEOF
89177 cat confdefs.h >>conftest.$ac_ext
89178 cat >>conftest.$ac_ext <<_ACEOF
89179 /* end confdefs.h. */
89180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89182 #define $ac_func innocuous_$ac_func
89183
89184 /* System header to define __stub macros and hopefully few prototypes,
89185 which can conflict with char $ac_func (); below.
89186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89187 <limits.h> exists even on freestanding compilers. */
89188
89189 #ifdef __STDC__
89190 # include <limits.h>
89191 #else
89192 # include <assert.h>
89193 #endif
89194
89195 #undef $ac_func
89196
89197 /* Override any gcc2 internal prototype to avoid an error. */
89198 #ifdef __cplusplus
89199 extern "C"
89200 {
89201 #endif
89202 /* We use char because int might match the return type of a gcc2
89203 builtin and then its argument prototype would still apply. */
89204 char $ac_func ();
89205 /* The GNU C library defines this for functions which it implements
89206 to always fail with ENOSYS. Some functions are actually named
89207 something starting with __ and the normal name is an alias. */
89208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89209 choke me
89210 #else
89211 char (*f) () = $ac_func;
89212 #endif
89213 #ifdef __cplusplus
89214 }
89215 #endif
89216
89217 int
89218 main ()
89219 {
89220 return f != $ac_func;
89221 ;
89222 return 0;
89223 }
89224 _ACEOF
89225 rm -f conftest.$ac_objext conftest$ac_exeext
89226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89227 (eval $ac_link) 2>conftest.er1
89228 ac_status=$?
89229 grep -v '^ *+' conftest.er1 >conftest.err
89230 rm -f conftest.er1
89231 cat conftest.err >&5
89232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89233 (exit $ac_status); } &&
89234 { ac_try='test -z "$ac_c_werror_flag"
89235 || test ! -s conftest.err'
89236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89237 (eval $ac_try) 2>&5
89238 ac_status=$?
89239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89240 (exit $ac_status); }; } &&
89241 { ac_try='test -s conftest$ac_exeext'
89242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89243 (eval $ac_try) 2>&5
89244 ac_status=$?
89245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89246 (exit $ac_status); }; }; then
89247 eval "$as_ac_var=yes"
89248 else
89249 echo "$as_me: failed program was:" >&5
89250 sed 's/^/| /' conftest.$ac_ext >&5
89251
89252 eval "$as_ac_var=no"
89253 fi
89254 rm -f conftest.err conftest.$ac_objext \
89255 conftest$ac_exeext conftest.$ac_ext
89256 fi
89257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89259 if test `eval echo '${'$as_ac_var'}'` = yes; then
89260 cat >>confdefs.h <<_ACEOF
89261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89262 _ACEOF
89263
89264 fi
89265 done
89266
89267 else
89268
89269 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89270 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89271 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89272 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89273 echo $ECHO_N "(cached) $ECHO_C" >&6
89274 else
89275
89276
89277
89278 ac_ext=cc
89279 ac_cpp='$CXXCPP $CPPFLAGS'
89280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89283
89284 cat >conftest.$ac_ext <<_ACEOF
89285 /* confdefs.h. */
89286 _ACEOF
89287 cat confdefs.h >>conftest.$ac_ext
89288 cat >>conftest.$ac_ext <<_ACEOF
89289 /* end confdefs.h. */
89290 #include <math.h>
89291 int
89292 main ()
89293 {
89294 _sincos(0, 0, 0);
89295 ;
89296 return 0;
89297 }
89298 _ACEOF
89299 rm -f conftest.$ac_objext
89300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89301 (eval $ac_compile) 2>conftest.er1
89302 ac_status=$?
89303 grep -v '^ *+' conftest.er1 >conftest.err
89304 rm -f conftest.er1
89305 cat conftest.err >&5
89306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89307 (exit $ac_status); } &&
89308 { ac_try='test -z "$ac_cxx_werror_flag"
89309 || test ! -s conftest.err'
89310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89311 (eval $ac_try) 2>&5
89312 ac_status=$?
89313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89314 (exit $ac_status); }; } &&
89315 { ac_try='test -s conftest.$ac_objext'
89316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89317 (eval $ac_try) 2>&5
89318 ac_status=$?
89319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89320 (exit $ac_status); }; }; then
89321 glibcxx_cv_func__sincos_use=yes
89322 else
89323 echo "$as_me: failed program was:" >&5
89324 sed 's/^/| /' conftest.$ac_ext >&5
89325
89326 glibcxx_cv_func__sincos_use=no
89327 fi
89328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89329 ac_ext=c
89330 ac_cpp='$CPP $CPPFLAGS'
89331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89334
89335
89336 fi
89337
89338 fi
89339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89340 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89341
89342 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89343
89344 for ac_func in _sincos
89345 do
89346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89347 echo "$as_me:$LINENO: checking for $ac_func" >&5
89348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89349 if eval "test \"\${$as_ac_var+set}\" = set"; then
89350 echo $ECHO_N "(cached) $ECHO_C" >&6
89351 else
89352 if test x$gcc_no_link = xyes; then
89353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89355 { (exit 1); exit 1; }; }
89356 fi
89357 cat >conftest.$ac_ext <<_ACEOF
89358 /* confdefs.h. */
89359 _ACEOF
89360 cat confdefs.h >>conftest.$ac_ext
89361 cat >>conftest.$ac_ext <<_ACEOF
89362 /* end confdefs.h. */
89363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89365 #define $ac_func innocuous_$ac_func
89366
89367 /* System header to define __stub macros and hopefully few prototypes,
89368 which can conflict with char $ac_func (); below.
89369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89370 <limits.h> exists even on freestanding compilers. */
89371
89372 #ifdef __STDC__
89373 # include <limits.h>
89374 #else
89375 # include <assert.h>
89376 #endif
89377
89378 #undef $ac_func
89379
89380 /* Override any gcc2 internal prototype to avoid an error. */
89381 #ifdef __cplusplus
89382 extern "C"
89383 {
89384 #endif
89385 /* We use char because int might match the return type of a gcc2
89386 builtin and then its argument prototype would still apply. */
89387 char $ac_func ();
89388 /* The GNU C library defines this for functions which it implements
89389 to always fail with ENOSYS. Some functions are actually named
89390 something starting with __ and the normal name is an alias. */
89391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89392 choke me
89393 #else
89394 char (*f) () = $ac_func;
89395 #endif
89396 #ifdef __cplusplus
89397 }
89398 #endif
89399
89400 int
89401 main ()
89402 {
89403 return f != $ac_func;
89404 ;
89405 return 0;
89406 }
89407 _ACEOF
89408 rm -f conftest.$ac_objext conftest$ac_exeext
89409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89410 (eval $ac_link) 2>conftest.er1
89411 ac_status=$?
89412 grep -v '^ *+' conftest.er1 >conftest.err
89413 rm -f conftest.er1
89414 cat conftest.err >&5
89415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89416 (exit $ac_status); } &&
89417 { ac_try='test -z "$ac_c_werror_flag"
89418 || test ! -s conftest.err'
89419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89420 (eval $ac_try) 2>&5
89421 ac_status=$?
89422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89423 (exit $ac_status); }; } &&
89424 { ac_try='test -s conftest$ac_exeext'
89425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89426 (eval $ac_try) 2>&5
89427 ac_status=$?
89428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89429 (exit $ac_status); }; }; then
89430 eval "$as_ac_var=yes"
89431 else
89432 echo "$as_me: failed program was:" >&5
89433 sed 's/^/| /' conftest.$ac_ext >&5
89434
89435 eval "$as_ac_var=no"
89436 fi
89437 rm -f conftest.err conftest.$ac_objext \
89438 conftest$ac_exeext conftest.$ac_ext
89439 fi
89440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89442 if test `eval echo '${'$as_ac_var'}'` = yes; then
89443 cat >>confdefs.h <<_ACEOF
89444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89445 _ACEOF
89446
89447 fi
89448 done
89449
89450 fi
89451 fi
89452
89453
89454
89455
89456
89457
89458 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89459 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89460 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89461 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89462 echo $ECHO_N "(cached) $ECHO_C" >&6
89463 else
89464
89465
89466
89467 ac_ext=cc
89468 ac_cpp='$CXXCPP $CPPFLAGS'
89469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89472
89473 cat >conftest.$ac_ext <<_ACEOF
89474 /* confdefs.h. */
89475 _ACEOF
89476 cat confdefs.h >>conftest.$ac_ext
89477 cat >>conftest.$ac_ext <<_ACEOF
89478 /* end confdefs.h. */
89479 #include <math.h>
89480 #ifdef HAVE_IEEEFP_H
89481 #include <ieeefp.h>
89482 #endif
89483
89484 int
89485 main ()
89486 {
89487 fpclass(0);
89488 ;
89489 return 0;
89490 }
89491 _ACEOF
89492 rm -f conftest.$ac_objext
89493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89494 (eval $ac_compile) 2>conftest.er1
89495 ac_status=$?
89496 grep -v '^ *+' conftest.er1 >conftest.err
89497 rm -f conftest.er1
89498 cat conftest.err >&5
89499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89500 (exit $ac_status); } &&
89501 { ac_try='test -z "$ac_cxx_werror_flag"
89502 || test ! -s conftest.err'
89503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89504 (eval $ac_try) 2>&5
89505 ac_status=$?
89506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89507 (exit $ac_status); }; } &&
89508 { ac_try='test -s conftest.$ac_objext'
89509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89510 (eval $ac_try) 2>&5
89511 ac_status=$?
89512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89513 (exit $ac_status); }; }; then
89514 glibcxx_cv_func_fpclass_use=yes
89515 else
89516 echo "$as_me: failed program was:" >&5
89517 sed 's/^/| /' conftest.$ac_ext >&5
89518
89519 glibcxx_cv_func_fpclass_use=no
89520 fi
89521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89522 ac_ext=c
89523 ac_cpp='$CPP $CPPFLAGS'
89524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89527
89528
89529 fi
89530
89531 fi
89532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89533 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89534
89535 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89536
89537 for ac_func in fpclass
89538 do
89539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89540 echo "$as_me:$LINENO: checking for $ac_func" >&5
89541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89542 if eval "test \"\${$as_ac_var+set}\" = set"; then
89543 echo $ECHO_N "(cached) $ECHO_C" >&6
89544 else
89545 if test x$gcc_no_link = xyes; then
89546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89548 { (exit 1); exit 1; }; }
89549 fi
89550 cat >conftest.$ac_ext <<_ACEOF
89551 /* confdefs.h. */
89552 _ACEOF
89553 cat confdefs.h >>conftest.$ac_ext
89554 cat >>conftest.$ac_ext <<_ACEOF
89555 /* end confdefs.h. */
89556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89558 #define $ac_func innocuous_$ac_func
89559
89560 /* System header to define __stub macros and hopefully few prototypes,
89561 which can conflict with char $ac_func (); below.
89562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89563 <limits.h> exists even on freestanding compilers. */
89564
89565 #ifdef __STDC__
89566 # include <limits.h>
89567 #else
89568 # include <assert.h>
89569 #endif
89570
89571 #undef $ac_func
89572
89573 /* Override any gcc2 internal prototype to avoid an error. */
89574 #ifdef __cplusplus
89575 extern "C"
89576 {
89577 #endif
89578 /* We use char because int might match the return type of a gcc2
89579 builtin and then its argument prototype would still apply. */
89580 char $ac_func ();
89581 /* The GNU C library defines this for functions which it implements
89582 to always fail with ENOSYS. Some functions are actually named
89583 something starting with __ and the normal name is an alias. */
89584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89585 choke me
89586 #else
89587 char (*f) () = $ac_func;
89588 #endif
89589 #ifdef __cplusplus
89590 }
89591 #endif
89592
89593 int
89594 main ()
89595 {
89596 return f != $ac_func;
89597 ;
89598 return 0;
89599 }
89600 _ACEOF
89601 rm -f conftest.$ac_objext conftest$ac_exeext
89602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89603 (eval $ac_link) 2>conftest.er1
89604 ac_status=$?
89605 grep -v '^ *+' conftest.er1 >conftest.err
89606 rm -f conftest.er1
89607 cat conftest.err >&5
89608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89609 (exit $ac_status); } &&
89610 { ac_try='test -z "$ac_c_werror_flag"
89611 || test ! -s conftest.err'
89612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89613 (eval $ac_try) 2>&5
89614 ac_status=$?
89615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89616 (exit $ac_status); }; } &&
89617 { ac_try='test -s conftest$ac_exeext'
89618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89619 (eval $ac_try) 2>&5
89620 ac_status=$?
89621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89622 (exit $ac_status); }; }; then
89623 eval "$as_ac_var=yes"
89624 else
89625 echo "$as_me: failed program was:" >&5
89626 sed 's/^/| /' conftest.$ac_ext >&5
89627
89628 eval "$as_ac_var=no"
89629 fi
89630 rm -f conftest.err conftest.$ac_objext \
89631 conftest$ac_exeext conftest.$ac_ext
89632 fi
89633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89635 if test `eval echo '${'$as_ac_var'}'` = yes; then
89636 cat >>confdefs.h <<_ACEOF
89637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89638 _ACEOF
89639
89640 fi
89641 done
89642
89643 else
89644
89645 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89646 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89647 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89648 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89649 echo $ECHO_N "(cached) $ECHO_C" >&6
89650 else
89651
89652
89653
89654 ac_ext=cc
89655 ac_cpp='$CXXCPP $CPPFLAGS'
89656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89659
89660 cat >conftest.$ac_ext <<_ACEOF
89661 /* confdefs.h. */
89662 _ACEOF
89663 cat confdefs.h >>conftest.$ac_ext
89664 cat >>conftest.$ac_ext <<_ACEOF
89665 /* end confdefs.h. */
89666 #include <math.h>
89667 #ifdef HAVE_IEEEFP_H
89668 #include <ieeefp.h>
89669 #endif
89670
89671 int
89672 main ()
89673 {
89674 _fpclass(0);
89675 ;
89676 return 0;
89677 }
89678 _ACEOF
89679 rm -f conftest.$ac_objext
89680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89681 (eval $ac_compile) 2>conftest.er1
89682 ac_status=$?
89683 grep -v '^ *+' conftest.er1 >conftest.err
89684 rm -f conftest.er1
89685 cat conftest.err >&5
89686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89687 (exit $ac_status); } &&
89688 { ac_try='test -z "$ac_cxx_werror_flag"
89689 || test ! -s conftest.err'
89690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89691 (eval $ac_try) 2>&5
89692 ac_status=$?
89693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89694 (exit $ac_status); }; } &&
89695 { ac_try='test -s conftest.$ac_objext'
89696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89697 (eval $ac_try) 2>&5
89698 ac_status=$?
89699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89700 (exit $ac_status); }; }; then
89701 glibcxx_cv_func__fpclass_use=yes
89702 else
89703 echo "$as_me: failed program was:" >&5
89704 sed 's/^/| /' conftest.$ac_ext >&5
89705
89706 glibcxx_cv_func__fpclass_use=no
89707 fi
89708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89709 ac_ext=c
89710 ac_cpp='$CPP $CPPFLAGS'
89711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89714
89715
89716 fi
89717
89718 fi
89719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89720 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89721
89722 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89723
89724 for ac_func in _fpclass
89725 do
89726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89727 echo "$as_me:$LINENO: checking for $ac_func" >&5
89728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89729 if eval "test \"\${$as_ac_var+set}\" = set"; then
89730 echo $ECHO_N "(cached) $ECHO_C" >&6
89731 else
89732 if test x$gcc_no_link = xyes; then
89733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89735 { (exit 1); exit 1; }; }
89736 fi
89737 cat >conftest.$ac_ext <<_ACEOF
89738 /* confdefs.h. */
89739 _ACEOF
89740 cat confdefs.h >>conftest.$ac_ext
89741 cat >>conftest.$ac_ext <<_ACEOF
89742 /* end confdefs.h. */
89743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89745 #define $ac_func innocuous_$ac_func
89746
89747 /* System header to define __stub macros and hopefully few prototypes,
89748 which can conflict with char $ac_func (); below.
89749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89750 <limits.h> exists even on freestanding compilers. */
89751
89752 #ifdef __STDC__
89753 # include <limits.h>
89754 #else
89755 # include <assert.h>
89756 #endif
89757
89758 #undef $ac_func
89759
89760 /* Override any gcc2 internal prototype to avoid an error. */
89761 #ifdef __cplusplus
89762 extern "C"
89763 {
89764 #endif
89765 /* We use char because int might match the return type of a gcc2
89766 builtin and then its argument prototype would still apply. */
89767 char $ac_func ();
89768 /* The GNU C library defines this for functions which it implements
89769 to always fail with ENOSYS. Some functions are actually named
89770 something starting with __ and the normal name is an alias. */
89771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89772 choke me
89773 #else
89774 char (*f) () = $ac_func;
89775 #endif
89776 #ifdef __cplusplus
89777 }
89778 #endif
89779
89780 int
89781 main ()
89782 {
89783 return f != $ac_func;
89784 ;
89785 return 0;
89786 }
89787 _ACEOF
89788 rm -f conftest.$ac_objext conftest$ac_exeext
89789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89790 (eval $ac_link) 2>conftest.er1
89791 ac_status=$?
89792 grep -v '^ *+' conftest.er1 >conftest.err
89793 rm -f conftest.er1
89794 cat conftest.err >&5
89795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89796 (exit $ac_status); } &&
89797 { ac_try='test -z "$ac_c_werror_flag"
89798 || test ! -s conftest.err'
89799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89800 (eval $ac_try) 2>&5
89801 ac_status=$?
89802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89803 (exit $ac_status); }; } &&
89804 { ac_try='test -s conftest$ac_exeext'
89805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89806 (eval $ac_try) 2>&5
89807 ac_status=$?
89808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89809 (exit $ac_status); }; }; then
89810 eval "$as_ac_var=yes"
89811 else
89812 echo "$as_me: failed program was:" >&5
89813 sed 's/^/| /' conftest.$ac_ext >&5
89814
89815 eval "$as_ac_var=no"
89816 fi
89817 rm -f conftest.err conftest.$ac_objext \
89818 conftest$ac_exeext conftest.$ac_ext
89819 fi
89820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89822 if test `eval echo '${'$as_ac_var'}'` = yes; then
89823 cat >>confdefs.h <<_ACEOF
89824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89825 _ACEOF
89826
89827 fi
89828 done
89829
89830 fi
89831 fi
89832
89833
89834
89835
89836
89837
89838 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89839 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89840 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89841 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89842 echo $ECHO_N "(cached) $ECHO_C" >&6
89843 else
89844
89845
89846
89847 ac_ext=cc
89848 ac_cpp='$CXXCPP $CPPFLAGS'
89849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89852
89853 cat >conftest.$ac_ext <<_ACEOF
89854 /* confdefs.h. */
89855 _ACEOF
89856 cat confdefs.h >>conftest.$ac_ext
89857 cat >>conftest.$ac_ext <<_ACEOF
89858 /* end confdefs.h. */
89859 #include <math.h>
89860 #ifdef HAVE_IEEEFP_H
89861 #include <ieeefp.h>
89862 #endif
89863
89864 int
89865 main ()
89866 {
89867 qfpclass(0);
89868 ;
89869 return 0;
89870 }
89871 _ACEOF
89872 rm -f conftest.$ac_objext
89873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89874 (eval $ac_compile) 2>conftest.er1
89875 ac_status=$?
89876 grep -v '^ *+' conftest.er1 >conftest.err
89877 rm -f conftest.er1
89878 cat conftest.err >&5
89879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89880 (exit $ac_status); } &&
89881 { ac_try='test -z "$ac_cxx_werror_flag"
89882 || test ! -s conftest.err'
89883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89884 (eval $ac_try) 2>&5
89885 ac_status=$?
89886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89887 (exit $ac_status); }; } &&
89888 { ac_try='test -s conftest.$ac_objext'
89889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89890 (eval $ac_try) 2>&5
89891 ac_status=$?
89892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89893 (exit $ac_status); }; }; then
89894 glibcxx_cv_func_qfpclass_use=yes
89895 else
89896 echo "$as_me: failed program was:" >&5
89897 sed 's/^/| /' conftest.$ac_ext >&5
89898
89899 glibcxx_cv_func_qfpclass_use=no
89900 fi
89901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89902 ac_ext=c
89903 ac_cpp='$CPP $CPPFLAGS'
89904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89907
89908
89909 fi
89910
89911 fi
89912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89913 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89914
89915 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89916
89917 for ac_func in qfpclass
89918 do
89919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89920 echo "$as_me:$LINENO: checking for $ac_func" >&5
89921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89922 if eval "test \"\${$as_ac_var+set}\" = set"; then
89923 echo $ECHO_N "(cached) $ECHO_C" >&6
89924 else
89925 if test x$gcc_no_link = xyes; then
89926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89928 { (exit 1); exit 1; }; }
89929 fi
89930 cat >conftest.$ac_ext <<_ACEOF
89931 /* confdefs.h. */
89932 _ACEOF
89933 cat confdefs.h >>conftest.$ac_ext
89934 cat >>conftest.$ac_ext <<_ACEOF
89935 /* end confdefs.h. */
89936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89938 #define $ac_func innocuous_$ac_func
89939
89940 /* System header to define __stub macros and hopefully few prototypes,
89941 which can conflict with char $ac_func (); below.
89942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89943 <limits.h> exists even on freestanding compilers. */
89944
89945 #ifdef __STDC__
89946 # include <limits.h>
89947 #else
89948 # include <assert.h>
89949 #endif
89950
89951 #undef $ac_func
89952
89953 /* Override any gcc2 internal prototype to avoid an error. */
89954 #ifdef __cplusplus
89955 extern "C"
89956 {
89957 #endif
89958 /* We use char because int might match the return type of a gcc2
89959 builtin and then its argument prototype would still apply. */
89960 char $ac_func ();
89961 /* The GNU C library defines this for functions which it implements
89962 to always fail with ENOSYS. Some functions are actually named
89963 something starting with __ and the normal name is an alias. */
89964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89965 choke me
89966 #else
89967 char (*f) () = $ac_func;
89968 #endif
89969 #ifdef __cplusplus
89970 }
89971 #endif
89972
89973 int
89974 main ()
89975 {
89976 return f != $ac_func;
89977 ;
89978 return 0;
89979 }
89980 _ACEOF
89981 rm -f conftest.$ac_objext conftest$ac_exeext
89982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89983 (eval $ac_link) 2>conftest.er1
89984 ac_status=$?
89985 grep -v '^ *+' conftest.er1 >conftest.err
89986 rm -f conftest.er1
89987 cat conftest.err >&5
89988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89989 (exit $ac_status); } &&
89990 { ac_try='test -z "$ac_c_werror_flag"
89991 || test ! -s conftest.err'
89992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89993 (eval $ac_try) 2>&5
89994 ac_status=$?
89995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89996 (exit $ac_status); }; } &&
89997 { ac_try='test -s conftest$ac_exeext'
89998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89999 (eval $ac_try) 2>&5
90000 ac_status=$?
90001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90002 (exit $ac_status); }; }; then
90003 eval "$as_ac_var=yes"
90004 else
90005 echo "$as_me: failed program was:" >&5
90006 sed 's/^/| /' conftest.$ac_ext >&5
90007
90008 eval "$as_ac_var=no"
90009 fi
90010 rm -f conftest.err conftest.$ac_objext \
90011 conftest$ac_exeext conftest.$ac_ext
90012 fi
90013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90015 if test `eval echo '${'$as_ac_var'}'` = yes; then
90016 cat >>confdefs.h <<_ACEOF
90017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90018 _ACEOF
90019
90020 fi
90021 done
90022
90023 else
90024
90025 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90026 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90027 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90028 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90029 echo $ECHO_N "(cached) $ECHO_C" >&6
90030 else
90031
90032
90033
90034 ac_ext=cc
90035 ac_cpp='$CXXCPP $CPPFLAGS'
90036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90039
90040 cat >conftest.$ac_ext <<_ACEOF
90041 /* confdefs.h. */
90042 _ACEOF
90043 cat confdefs.h >>conftest.$ac_ext
90044 cat >>conftest.$ac_ext <<_ACEOF
90045 /* end confdefs.h. */
90046 #include <math.h>
90047 #ifdef HAVE_IEEEFP_H
90048 #include <ieeefp.h>
90049 #endif
90050
90051 int
90052 main ()
90053 {
90054 _qfpclass(0);
90055 ;
90056 return 0;
90057 }
90058 _ACEOF
90059 rm -f conftest.$ac_objext
90060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90061 (eval $ac_compile) 2>conftest.er1
90062 ac_status=$?
90063 grep -v '^ *+' conftest.er1 >conftest.err
90064 rm -f conftest.er1
90065 cat conftest.err >&5
90066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90067 (exit $ac_status); } &&
90068 { ac_try='test -z "$ac_cxx_werror_flag"
90069 || test ! -s conftest.err'
90070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90071 (eval $ac_try) 2>&5
90072 ac_status=$?
90073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90074 (exit $ac_status); }; } &&
90075 { ac_try='test -s conftest.$ac_objext'
90076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90077 (eval $ac_try) 2>&5
90078 ac_status=$?
90079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90080 (exit $ac_status); }; }; then
90081 glibcxx_cv_func__qfpclass_use=yes
90082 else
90083 echo "$as_me: failed program was:" >&5
90084 sed 's/^/| /' conftest.$ac_ext >&5
90085
90086 glibcxx_cv_func__qfpclass_use=no
90087 fi
90088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90089 ac_ext=c
90090 ac_cpp='$CPP $CPPFLAGS'
90091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90094
90095
90096 fi
90097
90098 fi
90099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90100 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90101
90102 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90103
90104 for ac_func in _qfpclass
90105 do
90106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90107 echo "$as_me:$LINENO: checking for $ac_func" >&5
90108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90109 if eval "test \"\${$as_ac_var+set}\" = set"; then
90110 echo $ECHO_N "(cached) $ECHO_C" >&6
90111 else
90112 if test x$gcc_no_link = xyes; then
90113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90115 { (exit 1); exit 1; }; }
90116 fi
90117 cat >conftest.$ac_ext <<_ACEOF
90118 /* confdefs.h. */
90119 _ACEOF
90120 cat confdefs.h >>conftest.$ac_ext
90121 cat >>conftest.$ac_ext <<_ACEOF
90122 /* end confdefs.h. */
90123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90125 #define $ac_func innocuous_$ac_func
90126
90127 /* System header to define __stub macros and hopefully few prototypes,
90128 which can conflict with char $ac_func (); below.
90129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90130 <limits.h> exists even on freestanding compilers. */
90131
90132 #ifdef __STDC__
90133 # include <limits.h>
90134 #else
90135 # include <assert.h>
90136 #endif
90137
90138 #undef $ac_func
90139
90140 /* Override any gcc2 internal prototype to avoid an error. */
90141 #ifdef __cplusplus
90142 extern "C"
90143 {
90144 #endif
90145 /* We use char because int might match the return type of a gcc2
90146 builtin and then its argument prototype would still apply. */
90147 char $ac_func ();
90148 /* The GNU C library defines this for functions which it implements
90149 to always fail with ENOSYS. Some functions are actually named
90150 something starting with __ and the normal name is an alias. */
90151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90152 choke me
90153 #else
90154 char (*f) () = $ac_func;
90155 #endif
90156 #ifdef __cplusplus
90157 }
90158 #endif
90159
90160 int
90161 main ()
90162 {
90163 return f != $ac_func;
90164 ;
90165 return 0;
90166 }
90167 _ACEOF
90168 rm -f conftest.$ac_objext conftest$ac_exeext
90169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90170 (eval $ac_link) 2>conftest.er1
90171 ac_status=$?
90172 grep -v '^ *+' conftest.er1 >conftest.err
90173 rm -f conftest.er1
90174 cat conftest.err >&5
90175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90176 (exit $ac_status); } &&
90177 { ac_try='test -z "$ac_c_werror_flag"
90178 || test ! -s conftest.err'
90179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90180 (eval $ac_try) 2>&5
90181 ac_status=$?
90182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90183 (exit $ac_status); }; } &&
90184 { ac_try='test -s conftest$ac_exeext'
90185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90186 (eval $ac_try) 2>&5
90187 ac_status=$?
90188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90189 (exit $ac_status); }; }; then
90190 eval "$as_ac_var=yes"
90191 else
90192 echo "$as_me: failed program was:" >&5
90193 sed 's/^/| /' conftest.$ac_ext >&5
90194
90195 eval "$as_ac_var=no"
90196 fi
90197 rm -f conftest.err conftest.$ac_objext \
90198 conftest$ac_exeext conftest.$ac_ext
90199 fi
90200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90202 if test `eval echo '${'$as_ac_var'}'` = yes; then
90203 cat >>confdefs.h <<_ACEOF
90204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90205 _ACEOF
90206
90207 fi
90208 done
90209
90210 fi
90211 fi
90212
90213
90214
90215
90216
90217
90218 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90219 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90220 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90221 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90222 echo $ECHO_N "(cached) $ECHO_C" >&6
90223 else
90224
90225
90226
90227 ac_ext=cc
90228 ac_cpp='$CXXCPP $CPPFLAGS'
90229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90232
90233 cat >conftest.$ac_ext <<_ACEOF
90234 /* confdefs.h. */
90235 _ACEOF
90236 cat confdefs.h >>conftest.$ac_ext
90237 cat >>conftest.$ac_ext <<_ACEOF
90238 /* end confdefs.h. */
90239 #include <math.h>
90240 int
90241 main ()
90242 {
90243 hypot(0, 0);
90244 ;
90245 return 0;
90246 }
90247 _ACEOF
90248 rm -f conftest.$ac_objext
90249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90250 (eval $ac_compile) 2>conftest.er1
90251 ac_status=$?
90252 grep -v '^ *+' conftest.er1 >conftest.err
90253 rm -f conftest.er1
90254 cat conftest.err >&5
90255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90256 (exit $ac_status); } &&
90257 { ac_try='test -z "$ac_cxx_werror_flag"
90258 || test ! -s conftest.err'
90259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90260 (eval $ac_try) 2>&5
90261 ac_status=$?
90262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90263 (exit $ac_status); }; } &&
90264 { ac_try='test -s conftest.$ac_objext'
90265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90266 (eval $ac_try) 2>&5
90267 ac_status=$?
90268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90269 (exit $ac_status); }; }; then
90270 glibcxx_cv_func_hypot_use=yes
90271 else
90272 echo "$as_me: failed program was:" >&5
90273 sed 's/^/| /' conftest.$ac_ext >&5
90274
90275 glibcxx_cv_func_hypot_use=no
90276 fi
90277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90278 ac_ext=c
90279 ac_cpp='$CPP $CPPFLAGS'
90280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90283
90284
90285 fi
90286
90287 fi
90288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90289 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90290
90291 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90292
90293 for ac_func in hypot
90294 do
90295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90296 echo "$as_me:$LINENO: checking for $ac_func" >&5
90297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90298 if eval "test \"\${$as_ac_var+set}\" = set"; then
90299 echo $ECHO_N "(cached) $ECHO_C" >&6
90300 else
90301 if test x$gcc_no_link = xyes; then
90302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90304 { (exit 1); exit 1; }; }
90305 fi
90306 cat >conftest.$ac_ext <<_ACEOF
90307 /* confdefs.h. */
90308 _ACEOF
90309 cat confdefs.h >>conftest.$ac_ext
90310 cat >>conftest.$ac_ext <<_ACEOF
90311 /* end confdefs.h. */
90312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90314 #define $ac_func innocuous_$ac_func
90315
90316 /* System header to define __stub macros and hopefully few prototypes,
90317 which can conflict with char $ac_func (); below.
90318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90319 <limits.h> exists even on freestanding compilers. */
90320
90321 #ifdef __STDC__
90322 # include <limits.h>
90323 #else
90324 # include <assert.h>
90325 #endif
90326
90327 #undef $ac_func
90328
90329 /* Override any gcc2 internal prototype to avoid an error. */
90330 #ifdef __cplusplus
90331 extern "C"
90332 {
90333 #endif
90334 /* We use char because int might match the return type of a gcc2
90335 builtin and then its argument prototype would still apply. */
90336 char $ac_func ();
90337 /* The GNU C library defines this for functions which it implements
90338 to always fail with ENOSYS. Some functions are actually named
90339 something starting with __ and the normal name is an alias. */
90340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90341 choke me
90342 #else
90343 char (*f) () = $ac_func;
90344 #endif
90345 #ifdef __cplusplus
90346 }
90347 #endif
90348
90349 int
90350 main ()
90351 {
90352 return f != $ac_func;
90353 ;
90354 return 0;
90355 }
90356 _ACEOF
90357 rm -f conftest.$ac_objext conftest$ac_exeext
90358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90359 (eval $ac_link) 2>conftest.er1
90360 ac_status=$?
90361 grep -v '^ *+' conftest.er1 >conftest.err
90362 rm -f conftest.er1
90363 cat conftest.err >&5
90364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90365 (exit $ac_status); } &&
90366 { ac_try='test -z "$ac_c_werror_flag"
90367 || test ! -s conftest.err'
90368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90369 (eval $ac_try) 2>&5
90370 ac_status=$?
90371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90372 (exit $ac_status); }; } &&
90373 { ac_try='test -s conftest$ac_exeext'
90374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90375 (eval $ac_try) 2>&5
90376 ac_status=$?
90377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378 (exit $ac_status); }; }; then
90379 eval "$as_ac_var=yes"
90380 else
90381 echo "$as_me: failed program was:" >&5
90382 sed 's/^/| /' conftest.$ac_ext >&5
90383
90384 eval "$as_ac_var=no"
90385 fi
90386 rm -f conftest.err conftest.$ac_objext \
90387 conftest$ac_exeext conftest.$ac_ext
90388 fi
90389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90391 if test `eval echo '${'$as_ac_var'}'` = yes; then
90392 cat >>confdefs.h <<_ACEOF
90393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90394 _ACEOF
90395
90396 fi
90397 done
90398
90399 else
90400
90401 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90402 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90403 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90404 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90405 echo $ECHO_N "(cached) $ECHO_C" >&6
90406 else
90407
90408
90409
90410 ac_ext=cc
90411 ac_cpp='$CXXCPP $CPPFLAGS'
90412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90415
90416 cat >conftest.$ac_ext <<_ACEOF
90417 /* confdefs.h. */
90418 _ACEOF
90419 cat confdefs.h >>conftest.$ac_ext
90420 cat >>conftest.$ac_ext <<_ACEOF
90421 /* end confdefs.h. */
90422 #include <math.h>
90423 int
90424 main ()
90425 {
90426 _hypot(0, 0);
90427 ;
90428 return 0;
90429 }
90430 _ACEOF
90431 rm -f conftest.$ac_objext
90432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90433 (eval $ac_compile) 2>conftest.er1
90434 ac_status=$?
90435 grep -v '^ *+' conftest.er1 >conftest.err
90436 rm -f conftest.er1
90437 cat conftest.err >&5
90438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90439 (exit $ac_status); } &&
90440 { ac_try='test -z "$ac_cxx_werror_flag"
90441 || test ! -s conftest.err'
90442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90443 (eval $ac_try) 2>&5
90444 ac_status=$?
90445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90446 (exit $ac_status); }; } &&
90447 { ac_try='test -s conftest.$ac_objext'
90448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90449 (eval $ac_try) 2>&5
90450 ac_status=$?
90451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90452 (exit $ac_status); }; }; then
90453 glibcxx_cv_func__hypot_use=yes
90454 else
90455 echo "$as_me: failed program was:" >&5
90456 sed 's/^/| /' conftest.$ac_ext >&5
90457
90458 glibcxx_cv_func__hypot_use=no
90459 fi
90460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90461 ac_ext=c
90462 ac_cpp='$CPP $CPPFLAGS'
90463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90466
90467
90468 fi
90469
90470 fi
90471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90472 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90473
90474 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90475
90476 for ac_func in _hypot
90477 do
90478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90479 echo "$as_me:$LINENO: checking for $ac_func" >&5
90480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90481 if eval "test \"\${$as_ac_var+set}\" = set"; then
90482 echo $ECHO_N "(cached) $ECHO_C" >&6
90483 else
90484 if test x$gcc_no_link = xyes; then
90485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90487 { (exit 1); exit 1; }; }
90488 fi
90489 cat >conftest.$ac_ext <<_ACEOF
90490 /* confdefs.h. */
90491 _ACEOF
90492 cat confdefs.h >>conftest.$ac_ext
90493 cat >>conftest.$ac_ext <<_ACEOF
90494 /* end confdefs.h. */
90495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90497 #define $ac_func innocuous_$ac_func
90498
90499 /* System header to define __stub macros and hopefully few prototypes,
90500 which can conflict with char $ac_func (); below.
90501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90502 <limits.h> exists even on freestanding compilers. */
90503
90504 #ifdef __STDC__
90505 # include <limits.h>
90506 #else
90507 # include <assert.h>
90508 #endif
90509
90510 #undef $ac_func
90511
90512 /* Override any gcc2 internal prototype to avoid an error. */
90513 #ifdef __cplusplus
90514 extern "C"
90515 {
90516 #endif
90517 /* We use char because int might match the return type of a gcc2
90518 builtin and then its argument prototype would still apply. */
90519 char $ac_func ();
90520 /* The GNU C library defines this for functions which it implements
90521 to always fail with ENOSYS. Some functions are actually named
90522 something starting with __ and the normal name is an alias. */
90523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90524 choke me
90525 #else
90526 char (*f) () = $ac_func;
90527 #endif
90528 #ifdef __cplusplus
90529 }
90530 #endif
90531
90532 int
90533 main ()
90534 {
90535 return f != $ac_func;
90536 ;
90537 return 0;
90538 }
90539 _ACEOF
90540 rm -f conftest.$ac_objext conftest$ac_exeext
90541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90542 (eval $ac_link) 2>conftest.er1
90543 ac_status=$?
90544 grep -v '^ *+' conftest.er1 >conftest.err
90545 rm -f conftest.er1
90546 cat conftest.err >&5
90547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90548 (exit $ac_status); } &&
90549 { ac_try='test -z "$ac_c_werror_flag"
90550 || test ! -s conftest.err'
90551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90552 (eval $ac_try) 2>&5
90553 ac_status=$?
90554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90555 (exit $ac_status); }; } &&
90556 { ac_try='test -s conftest$ac_exeext'
90557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90558 (eval $ac_try) 2>&5
90559 ac_status=$?
90560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90561 (exit $ac_status); }; }; then
90562 eval "$as_ac_var=yes"
90563 else
90564 echo "$as_me: failed program was:" >&5
90565 sed 's/^/| /' conftest.$ac_ext >&5
90566
90567 eval "$as_ac_var=no"
90568 fi
90569 rm -f conftest.err conftest.$ac_objext \
90570 conftest$ac_exeext conftest.$ac_ext
90571 fi
90572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90574 if test `eval echo '${'$as_ac_var'}'` = yes; then
90575 cat >>confdefs.h <<_ACEOF
90576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90577 _ACEOF
90578
90579 fi
90580 done
90581
90582 fi
90583 fi
90584
90585
90586
90587
90588
90589
90590 echo "$as_me:$LINENO: checking for float trig functions" >&5
90591 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90592 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90593 echo $ECHO_N "(cached) $ECHO_C" >&6
90594 else
90595
90596
90597
90598 ac_ext=cc
90599 ac_cpp='$CXXCPP $CPPFLAGS'
90600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90603
90604 cat >conftest.$ac_ext <<_ACEOF
90605 /* confdefs.h. */
90606 _ACEOF
90607 cat confdefs.h >>conftest.$ac_ext
90608 cat >>conftest.$ac_ext <<_ACEOF
90609 /* end confdefs.h. */
90610 #include <math.h>
90611 int
90612 main ()
90613 {
90614 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90615 ;
90616 return 0;
90617 }
90618 _ACEOF
90619 rm -f conftest.$ac_objext
90620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90621 (eval $ac_compile) 2>conftest.er1
90622 ac_status=$?
90623 grep -v '^ *+' conftest.er1 >conftest.err
90624 rm -f conftest.er1
90625 cat conftest.err >&5
90626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90627 (exit $ac_status); } &&
90628 { ac_try='test -z "$ac_cxx_werror_flag"
90629 || test ! -s conftest.err'
90630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90631 (eval $ac_try) 2>&5
90632 ac_status=$?
90633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90634 (exit $ac_status); }; } &&
90635 { ac_try='test -s conftest.$ac_objext'
90636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90637 (eval $ac_try) 2>&5
90638 ac_status=$?
90639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90640 (exit $ac_status); }; }; then
90641 glibcxx_cv_func_float_trig_use=yes
90642 else
90643 echo "$as_me: failed program was:" >&5
90644 sed 's/^/| /' conftest.$ac_ext >&5
90645
90646 glibcxx_cv_func_float_trig_use=no
90647 fi
90648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90649 ac_ext=c
90650 ac_cpp='$CPP $CPPFLAGS'
90651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90654
90655 fi
90656
90657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90658 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90659 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90660
90661
90662
90663
90664
90665
90666
90667
90668
90669 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90670 do
90671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90672 echo "$as_me:$LINENO: checking for $ac_func" >&5
90673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90674 if eval "test \"\${$as_ac_var+set}\" = set"; then
90675 echo $ECHO_N "(cached) $ECHO_C" >&6
90676 else
90677 if test x$gcc_no_link = xyes; then
90678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90680 { (exit 1); exit 1; }; }
90681 fi
90682 cat >conftest.$ac_ext <<_ACEOF
90683 /* confdefs.h. */
90684 _ACEOF
90685 cat confdefs.h >>conftest.$ac_ext
90686 cat >>conftest.$ac_ext <<_ACEOF
90687 /* end confdefs.h. */
90688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90690 #define $ac_func innocuous_$ac_func
90691
90692 /* System header to define __stub macros and hopefully few prototypes,
90693 which can conflict with char $ac_func (); below.
90694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90695 <limits.h> exists even on freestanding compilers. */
90696
90697 #ifdef __STDC__
90698 # include <limits.h>
90699 #else
90700 # include <assert.h>
90701 #endif
90702
90703 #undef $ac_func
90704
90705 /* Override any gcc2 internal prototype to avoid an error. */
90706 #ifdef __cplusplus
90707 extern "C"
90708 {
90709 #endif
90710 /* We use char because int might match the return type of a gcc2
90711 builtin and then its argument prototype would still apply. */
90712 char $ac_func ();
90713 /* The GNU C library defines this for functions which it implements
90714 to always fail with ENOSYS. Some functions are actually named
90715 something starting with __ and the normal name is an alias. */
90716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90717 choke me
90718 #else
90719 char (*f) () = $ac_func;
90720 #endif
90721 #ifdef __cplusplus
90722 }
90723 #endif
90724
90725 int
90726 main ()
90727 {
90728 return f != $ac_func;
90729 ;
90730 return 0;
90731 }
90732 _ACEOF
90733 rm -f conftest.$ac_objext conftest$ac_exeext
90734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90735 (eval $ac_link) 2>conftest.er1
90736 ac_status=$?
90737 grep -v '^ *+' conftest.er1 >conftest.err
90738 rm -f conftest.er1
90739 cat conftest.err >&5
90740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90741 (exit $ac_status); } &&
90742 { ac_try='test -z "$ac_c_werror_flag"
90743 || test ! -s conftest.err'
90744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90745 (eval $ac_try) 2>&5
90746 ac_status=$?
90747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90748 (exit $ac_status); }; } &&
90749 { ac_try='test -s conftest$ac_exeext'
90750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90751 (eval $ac_try) 2>&5
90752 ac_status=$?
90753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90754 (exit $ac_status); }; }; then
90755 eval "$as_ac_var=yes"
90756 else
90757 echo "$as_me: failed program was:" >&5
90758 sed 's/^/| /' conftest.$ac_ext >&5
90759
90760 eval "$as_ac_var=no"
90761 fi
90762 rm -f conftest.err conftest.$ac_objext \
90763 conftest$ac_exeext conftest.$ac_ext
90764 fi
90765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90767 if test `eval echo '${'$as_ac_var'}'` = yes; then
90768 cat >>confdefs.h <<_ACEOF
90769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90770 _ACEOF
90771
90772 fi
90773 done
90774
90775 else
90776 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90777 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90778 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90779 echo $ECHO_N "(cached) $ECHO_C" >&6
90780 else
90781
90782
90783
90784 ac_ext=cc
90785 ac_cpp='$CXXCPP $CPPFLAGS'
90786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90789
90790 cat >conftest.$ac_ext <<_ACEOF
90791 /* confdefs.h. */
90792 _ACEOF
90793 cat confdefs.h >>conftest.$ac_ext
90794 cat >>conftest.$ac_ext <<_ACEOF
90795 /* end confdefs.h. */
90796 #include <math.h>
90797 int
90798 main ()
90799 {
90800 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90801 ;
90802 return 0;
90803 }
90804 _ACEOF
90805 rm -f conftest.$ac_objext
90806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90807 (eval $ac_compile) 2>conftest.er1
90808 ac_status=$?
90809 grep -v '^ *+' conftest.er1 >conftest.err
90810 rm -f conftest.er1
90811 cat conftest.err >&5
90812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90813 (exit $ac_status); } &&
90814 { ac_try='test -z "$ac_cxx_werror_flag"
90815 || test ! -s conftest.err'
90816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90817 (eval $ac_try) 2>&5
90818 ac_status=$?
90819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90820 (exit $ac_status); }; } &&
90821 { ac_try='test -s conftest.$ac_objext'
90822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90823 (eval $ac_try) 2>&5
90824 ac_status=$?
90825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90826 (exit $ac_status); }; }; then
90827 glibcxx_cv_func__float_trig_use=yes
90828 else
90829 echo "$as_me: failed program was:" >&5
90830 sed 's/^/| /' conftest.$ac_ext >&5
90831
90832 glibcxx_cv_func__float_trig_use=no
90833 fi
90834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90835 ac_ext=c
90836 ac_cpp='$CPP $CPPFLAGS'
90837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90840
90841 fi
90842
90843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90844 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90845 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90846
90847
90848
90849
90850
90851
90852
90853
90854
90855 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90856 do
90857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90858 echo "$as_me:$LINENO: checking for $ac_func" >&5
90859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90860 if eval "test \"\${$as_ac_var+set}\" = set"; then
90861 echo $ECHO_N "(cached) $ECHO_C" >&6
90862 else
90863 if test x$gcc_no_link = xyes; then
90864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90866 { (exit 1); exit 1; }; }
90867 fi
90868 cat >conftest.$ac_ext <<_ACEOF
90869 /* confdefs.h. */
90870 _ACEOF
90871 cat confdefs.h >>conftest.$ac_ext
90872 cat >>conftest.$ac_ext <<_ACEOF
90873 /* end confdefs.h. */
90874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90876 #define $ac_func innocuous_$ac_func
90877
90878 /* System header to define __stub macros and hopefully few prototypes,
90879 which can conflict with char $ac_func (); below.
90880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90881 <limits.h> exists even on freestanding compilers. */
90882
90883 #ifdef __STDC__
90884 # include <limits.h>
90885 #else
90886 # include <assert.h>
90887 #endif
90888
90889 #undef $ac_func
90890
90891 /* Override any gcc2 internal prototype to avoid an error. */
90892 #ifdef __cplusplus
90893 extern "C"
90894 {
90895 #endif
90896 /* We use char because int might match the return type of a gcc2
90897 builtin and then its argument prototype would still apply. */
90898 char $ac_func ();
90899 /* The GNU C library defines this for functions which it implements
90900 to always fail with ENOSYS. Some functions are actually named
90901 something starting with __ and the normal name is an alias. */
90902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90903 choke me
90904 #else
90905 char (*f) () = $ac_func;
90906 #endif
90907 #ifdef __cplusplus
90908 }
90909 #endif
90910
90911 int
90912 main ()
90913 {
90914 return f != $ac_func;
90915 ;
90916 return 0;
90917 }
90918 _ACEOF
90919 rm -f conftest.$ac_objext conftest$ac_exeext
90920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90921 (eval $ac_link) 2>conftest.er1
90922 ac_status=$?
90923 grep -v '^ *+' conftest.er1 >conftest.err
90924 rm -f conftest.er1
90925 cat conftest.err >&5
90926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90927 (exit $ac_status); } &&
90928 { ac_try='test -z "$ac_c_werror_flag"
90929 || test ! -s conftest.err'
90930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90931 (eval $ac_try) 2>&5
90932 ac_status=$?
90933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90934 (exit $ac_status); }; } &&
90935 { ac_try='test -s conftest$ac_exeext'
90936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90937 (eval $ac_try) 2>&5
90938 ac_status=$?
90939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90940 (exit $ac_status); }; }; then
90941 eval "$as_ac_var=yes"
90942 else
90943 echo "$as_me: failed program was:" >&5
90944 sed 's/^/| /' conftest.$ac_ext >&5
90945
90946 eval "$as_ac_var=no"
90947 fi
90948 rm -f conftest.err conftest.$ac_objext \
90949 conftest$ac_exeext conftest.$ac_ext
90950 fi
90951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90953 if test `eval echo '${'$as_ac_var'}'` = yes; then
90954 cat >>confdefs.h <<_ACEOF
90955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90956 _ACEOF
90957
90958 fi
90959 done
90960
90961 fi
90962 fi
90963
90964
90965
90966
90967
90968
90969
90970
90971
90972
90973
90974
90975
90976
90977 echo "$as_me:$LINENO: checking for float round functions" >&5
90978 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90979 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90980 echo $ECHO_N "(cached) $ECHO_C" >&6
90981 else
90982
90983
90984
90985 ac_ext=cc
90986 ac_cpp='$CXXCPP $CPPFLAGS'
90987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90990
90991 cat >conftest.$ac_ext <<_ACEOF
90992 /* confdefs.h. */
90993 _ACEOF
90994 cat confdefs.h >>conftest.$ac_ext
90995 cat >>conftest.$ac_ext <<_ACEOF
90996 /* end confdefs.h. */
90997 #include <math.h>
90998 int
90999 main ()
91000 {
91001 ceilf (0); floorf (0);
91002 ;
91003 return 0;
91004 }
91005 _ACEOF
91006 rm -f conftest.$ac_objext
91007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91008 (eval $ac_compile) 2>conftest.er1
91009 ac_status=$?
91010 grep -v '^ *+' conftest.er1 >conftest.err
91011 rm -f conftest.er1
91012 cat conftest.err >&5
91013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91014 (exit $ac_status); } &&
91015 { ac_try='test -z "$ac_cxx_werror_flag"
91016 || test ! -s conftest.err'
91017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91018 (eval $ac_try) 2>&5
91019 ac_status=$?
91020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91021 (exit $ac_status); }; } &&
91022 { ac_try='test -s conftest.$ac_objext'
91023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91024 (eval $ac_try) 2>&5
91025 ac_status=$?
91026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91027 (exit $ac_status); }; }; then
91028 glibcxx_cv_func_float_round_use=yes
91029 else
91030 echo "$as_me: failed program was:" >&5
91031 sed 's/^/| /' conftest.$ac_ext >&5
91032
91033 glibcxx_cv_func_float_round_use=no
91034 fi
91035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91036 ac_ext=c
91037 ac_cpp='$CPP $CPPFLAGS'
91038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91041
91042 fi
91043
91044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91045 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91046 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91047
91048
91049 for ac_func in ceilf floorf
91050 do
91051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91052 echo "$as_me:$LINENO: checking for $ac_func" >&5
91053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91054 if eval "test \"\${$as_ac_var+set}\" = set"; then
91055 echo $ECHO_N "(cached) $ECHO_C" >&6
91056 else
91057 if test x$gcc_no_link = xyes; then
91058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91060 { (exit 1); exit 1; }; }
91061 fi
91062 cat >conftest.$ac_ext <<_ACEOF
91063 /* confdefs.h. */
91064 _ACEOF
91065 cat confdefs.h >>conftest.$ac_ext
91066 cat >>conftest.$ac_ext <<_ACEOF
91067 /* end confdefs.h. */
91068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91070 #define $ac_func innocuous_$ac_func
91071
91072 /* System header to define __stub macros and hopefully few prototypes,
91073 which can conflict with char $ac_func (); below.
91074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91075 <limits.h> exists even on freestanding compilers. */
91076
91077 #ifdef __STDC__
91078 # include <limits.h>
91079 #else
91080 # include <assert.h>
91081 #endif
91082
91083 #undef $ac_func
91084
91085 /* Override any gcc2 internal prototype to avoid an error. */
91086 #ifdef __cplusplus
91087 extern "C"
91088 {
91089 #endif
91090 /* We use char because int might match the return type of a gcc2
91091 builtin and then its argument prototype would still apply. */
91092 char $ac_func ();
91093 /* The GNU C library defines this for functions which it implements
91094 to always fail with ENOSYS. Some functions are actually named
91095 something starting with __ and the normal name is an alias. */
91096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91097 choke me
91098 #else
91099 char (*f) () = $ac_func;
91100 #endif
91101 #ifdef __cplusplus
91102 }
91103 #endif
91104
91105 int
91106 main ()
91107 {
91108 return f != $ac_func;
91109 ;
91110 return 0;
91111 }
91112 _ACEOF
91113 rm -f conftest.$ac_objext conftest$ac_exeext
91114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91115 (eval $ac_link) 2>conftest.er1
91116 ac_status=$?
91117 grep -v '^ *+' conftest.er1 >conftest.err
91118 rm -f conftest.er1
91119 cat conftest.err >&5
91120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91121 (exit $ac_status); } &&
91122 { ac_try='test -z "$ac_c_werror_flag"
91123 || test ! -s conftest.err'
91124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91125 (eval $ac_try) 2>&5
91126 ac_status=$?
91127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91128 (exit $ac_status); }; } &&
91129 { ac_try='test -s conftest$ac_exeext'
91130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91131 (eval $ac_try) 2>&5
91132 ac_status=$?
91133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91134 (exit $ac_status); }; }; then
91135 eval "$as_ac_var=yes"
91136 else
91137 echo "$as_me: failed program was:" >&5
91138 sed 's/^/| /' conftest.$ac_ext >&5
91139
91140 eval "$as_ac_var=no"
91141 fi
91142 rm -f conftest.err conftest.$ac_objext \
91143 conftest$ac_exeext conftest.$ac_ext
91144 fi
91145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91147 if test `eval echo '${'$as_ac_var'}'` = yes; then
91148 cat >>confdefs.h <<_ACEOF
91149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91150 _ACEOF
91151
91152 fi
91153 done
91154
91155 else
91156 echo "$as_me:$LINENO: checking for _float round functions" >&5
91157 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91158 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91159 echo $ECHO_N "(cached) $ECHO_C" >&6
91160 else
91161
91162
91163
91164 ac_ext=cc
91165 ac_cpp='$CXXCPP $CPPFLAGS'
91166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91169
91170 cat >conftest.$ac_ext <<_ACEOF
91171 /* confdefs.h. */
91172 _ACEOF
91173 cat confdefs.h >>conftest.$ac_ext
91174 cat >>conftest.$ac_ext <<_ACEOF
91175 /* end confdefs.h. */
91176 #include <math.h>
91177 int
91178 main ()
91179 {
91180 _ceilf (0); _floorf (0);
91181 ;
91182 return 0;
91183 }
91184 _ACEOF
91185 rm -f conftest.$ac_objext
91186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91187 (eval $ac_compile) 2>conftest.er1
91188 ac_status=$?
91189 grep -v '^ *+' conftest.er1 >conftest.err
91190 rm -f conftest.er1
91191 cat conftest.err >&5
91192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91193 (exit $ac_status); } &&
91194 { ac_try='test -z "$ac_cxx_werror_flag"
91195 || test ! -s conftest.err'
91196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91197 (eval $ac_try) 2>&5
91198 ac_status=$?
91199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91200 (exit $ac_status); }; } &&
91201 { ac_try='test -s conftest.$ac_objext'
91202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91203 (eval $ac_try) 2>&5
91204 ac_status=$?
91205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91206 (exit $ac_status); }; }; then
91207 glibcxx_cv_func__float_round_use=yes
91208 else
91209 echo "$as_me: failed program was:" >&5
91210 sed 's/^/| /' conftest.$ac_ext >&5
91211
91212 glibcxx_cv_func__float_round_use=no
91213 fi
91214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91215 ac_ext=c
91216 ac_cpp='$CPP $CPPFLAGS'
91217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91220
91221 fi
91222
91223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91224 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91225 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91226
91227
91228 for ac_func in _ceilf _floorf
91229 do
91230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91231 echo "$as_me:$LINENO: checking for $ac_func" >&5
91232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91233 if eval "test \"\${$as_ac_var+set}\" = set"; then
91234 echo $ECHO_N "(cached) $ECHO_C" >&6
91235 else
91236 if test x$gcc_no_link = xyes; then
91237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91239 { (exit 1); exit 1; }; }
91240 fi
91241 cat >conftest.$ac_ext <<_ACEOF
91242 /* confdefs.h. */
91243 _ACEOF
91244 cat confdefs.h >>conftest.$ac_ext
91245 cat >>conftest.$ac_ext <<_ACEOF
91246 /* end confdefs.h. */
91247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91249 #define $ac_func innocuous_$ac_func
91250
91251 /* System header to define __stub macros and hopefully few prototypes,
91252 which can conflict with char $ac_func (); below.
91253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91254 <limits.h> exists even on freestanding compilers. */
91255
91256 #ifdef __STDC__
91257 # include <limits.h>
91258 #else
91259 # include <assert.h>
91260 #endif
91261
91262 #undef $ac_func
91263
91264 /* Override any gcc2 internal prototype to avoid an error. */
91265 #ifdef __cplusplus
91266 extern "C"
91267 {
91268 #endif
91269 /* We use char because int might match the return type of a gcc2
91270 builtin and then its argument prototype would still apply. */
91271 char $ac_func ();
91272 /* The GNU C library defines this for functions which it implements
91273 to always fail with ENOSYS. Some functions are actually named
91274 something starting with __ and the normal name is an alias. */
91275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91276 choke me
91277 #else
91278 char (*f) () = $ac_func;
91279 #endif
91280 #ifdef __cplusplus
91281 }
91282 #endif
91283
91284 int
91285 main ()
91286 {
91287 return f != $ac_func;
91288 ;
91289 return 0;
91290 }
91291 _ACEOF
91292 rm -f conftest.$ac_objext conftest$ac_exeext
91293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91294 (eval $ac_link) 2>conftest.er1
91295 ac_status=$?
91296 grep -v '^ *+' conftest.er1 >conftest.err
91297 rm -f conftest.er1
91298 cat conftest.err >&5
91299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91300 (exit $ac_status); } &&
91301 { ac_try='test -z "$ac_c_werror_flag"
91302 || test ! -s conftest.err'
91303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91304 (eval $ac_try) 2>&5
91305 ac_status=$?
91306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91307 (exit $ac_status); }; } &&
91308 { ac_try='test -s conftest$ac_exeext'
91309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91310 (eval $ac_try) 2>&5
91311 ac_status=$?
91312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91313 (exit $ac_status); }; }; then
91314 eval "$as_ac_var=yes"
91315 else
91316 echo "$as_me: failed program was:" >&5
91317 sed 's/^/| /' conftest.$ac_ext >&5
91318
91319 eval "$as_ac_var=no"
91320 fi
91321 rm -f conftest.err conftest.$ac_objext \
91322 conftest$ac_exeext conftest.$ac_ext
91323 fi
91324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91326 if test `eval echo '${'$as_ac_var'}'` = yes; then
91327 cat >>confdefs.h <<_ACEOF
91328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91329 _ACEOF
91330
91331 fi
91332 done
91333
91334 fi
91335 fi
91336
91337
91338
91339
91340
91341
91342
91343
91344 echo "$as_me:$LINENO: checking for expf declaration" >&5
91345 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91346 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91347 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91348 echo $ECHO_N "(cached) $ECHO_C" >&6
91349 else
91350
91351
91352
91353 ac_ext=cc
91354 ac_cpp='$CXXCPP $CPPFLAGS'
91355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91358
91359 cat >conftest.$ac_ext <<_ACEOF
91360 /* confdefs.h. */
91361 _ACEOF
91362 cat confdefs.h >>conftest.$ac_ext
91363 cat >>conftest.$ac_ext <<_ACEOF
91364 /* end confdefs.h. */
91365 #include <math.h>
91366 #ifdef HAVE_IEEEFP_H
91367 #include <ieeefp.h>
91368 #endif
91369
91370 int
91371 main ()
91372 {
91373 expf(0);
91374 ;
91375 return 0;
91376 }
91377 _ACEOF
91378 rm -f conftest.$ac_objext
91379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91380 (eval $ac_compile) 2>conftest.er1
91381 ac_status=$?
91382 grep -v '^ *+' conftest.er1 >conftest.err
91383 rm -f conftest.er1
91384 cat conftest.err >&5
91385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91386 (exit $ac_status); } &&
91387 { ac_try='test -z "$ac_cxx_werror_flag"
91388 || test ! -s conftest.err'
91389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91390 (eval $ac_try) 2>&5
91391 ac_status=$?
91392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91393 (exit $ac_status); }; } &&
91394 { ac_try='test -s conftest.$ac_objext'
91395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91396 (eval $ac_try) 2>&5
91397 ac_status=$?
91398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91399 (exit $ac_status); }; }; then
91400 glibcxx_cv_func_expf_use=yes
91401 else
91402 echo "$as_me: failed program was:" >&5
91403 sed 's/^/| /' conftest.$ac_ext >&5
91404
91405 glibcxx_cv_func_expf_use=no
91406 fi
91407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91408 ac_ext=c
91409 ac_cpp='$CPP $CPPFLAGS'
91410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91413
91414
91415 fi
91416
91417 fi
91418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91419 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91420
91421 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91422
91423 for ac_func in expf
91424 do
91425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91426 echo "$as_me:$LINENO: checking for $ac_func" >&5
91427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91428 if eval "test \"\${$as_ac_var+set}\" = set"; then
91429 echo $ECHO_N "(cached) $ECHO_C" >&6
91430 else
91431 if test x$gcc_no_link = xyes; then
91432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91434 { (exit 1); exit 1; }; }
91435 fi
91436 cat >conftest.$ac_ext <<_ACEOF
91437 /* confdefs.h. */
91438 _ACEOF
91439 cat confdefs.h >>conftest.$ac_ext
91440 cat >>conftest.$ac_ext <<_ACEOF
91441 /* end confdefs.h. */
91442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91444 #define $ac_func innocuous_$ac_func
91445
91446 /* System header to define __stub macros and hopefully few prototypes,
91447 which can conflict with char $ac_func (); below.
91448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91449 <limits.h> exists even on freestanding compilers. */
91450
91451 #ifdef __STDC__
91452 # include <limits.h>
91453 #else
91454 # include <assert.h>
91455 #endif
91456
91457 #undef $ac_func
91458
91459 /* Override any gcc2 internal prototype to avoid an error. */
91460 #ifdef __cplusplus
91461 extern "C"
91462 {
91463 #endif
91464 /* We use char because int might match the return type of a gcc2
91465 builtin and then its argument prototype would still apply. */
91466 char $ac_func ();
91467 /* The GNU C library defines this for functions which it implements
91468 to always fail with ENOSYS. Some functions are actually named
91469 something starting with __ and the normal name is an alias. */
91470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91471 choke me
91472 #else
91473 char (*f) () = $ac_func;
91474 #endif
91475 #ifdef __cplusplus
91476 }
91477 #endif
91478
91479 int
91480 main ()
91481 {
91482 return f != $ac_func;
91483 ;
91484 return 0;
91485 }
91486 _ACEOF
91487 rm -f conftest.$ac_objext conftest$ac_exeext
91488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91489 (eval $ac_link) 2>conftest.er1
91490 ac_status=$?
91491 grep -v '^ *+' conftest.er1 >conftest.err
91492 rm -f conftest.er1
91493 cat conftest.err >&5
91494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495 (exit $ac_status); } &&
91496 { ac_try='test -z "$ac_c_werror_flag"
91497 || test ! -s conftest.err'
91498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91499 (eval $ac_try) 2>&5
91500 ac_status=$?
91501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91502 (exit $ac_status); }; } &&
91503 { ac_try='test -s conftest$ac_exeext'
91504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91505 (eval $ac_try) 2>&5
91506 ac_status=$?
91507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91508 (exit $ac_status); }; }; then
91509 eval "$as_ac_var=yes"
91510 else
91511 echo "$as_me: failed program was:" >&5
91512 sed 's/^/| /' conftest.$ac_ext >&5
91513
91514 eval "$as_ac_var=no"
91515 fi
91516 rm -f conftest.err conftest.$ac_objext \
91517 conftest$ac_exeext conftest.$ac_ext
91518 fi
91519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91521 if test `eval echo '${'$as_ac_var'}'` = yes; then
91522 cat >>confdefs.h <<_ACEOF
91523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91524 _ACEOF
91525
91526 fi
91527 done
91528
91529 else
91530
91531 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91532 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91533 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91534 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91535 echo $ECHO_N "(cached) $ECHO_C" >&6
91536 else
91537
91538
91539
91540 ac_ext=cc
91541 ac_cpp='$CXXCPP $CPPFLAGS'
91542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91545
91546 cat >conftest.$ac_ext <<_ACEOF
91547 /* confdefs.h. */
91548 _ACEOF
91549 cat confdefs.h >>conftest.$ac_ext
91550 cat >>conftest.$ac_ext <<_ACEOF
91551 /* end confdefs.h. */
91552 #include <math.h>
91553 #ifdef HAVE_IEEEFP_H
91554 #include <ieeefp.h>
91555 #endif
91556
91557 int
91558 main ()
91559 {
91560 _expf(0);
91561 ;
91562 return 0;
91563 }
91564 _ACEOF
91565 rm -f conftest.$ac_objext
91566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91567 (eval $ac_compile) 2>conftest.er1
91568 ac_status=$?
91569 grep -v '^ *+' conftest.er1 >conftest.err
91570 rm -f conftest.er1
91571 cat conftest.err >&5
91572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91573 (exit $ac_status); } &&
91574 { ac_try='test -z "$ac_cxx_werror_flag"
91575 || test ! -s conftest.err'
91576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91577 (eval $ac_try) 2>&5
91578 ac_status=$?
91579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91580 (exit $ac_status); }; } &&
91581 { ac_try='test -s conftest.$ac_objext'
91582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91583 (eval $ac_try) 2>&5
91584 ac_status=$?
91585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91586 (exit $ac_status); }; }; then
91587 glibcxx_cv_func__expf_use=yes
91588 else
91589 echo "$as_me: failed program was:" >&5
91590 sed 's/^/| /' conftest.$ac_ext >&5
91591
91592 glibcxx_cv_func__expf_use=no
91593 fi
91594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91595 ac_ext=c
91596 ac_cpp='$CPP $CPPFLAGS'
91597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91600
91601
91602 fi
91603
91604 fi
91605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91606 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91607
91608 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91609
91610 for ac_func in _expf
91611 do
91612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91613 echo "$as_me:$LINENO: checking for $ac_func" >&5
91614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91615 if eval "test \"\${$as_ac_var+set}\" = set"; then
91616 echo $ECHO_N "(cached) $ECHO_C" >&6
91617 else
91618 if test x$gcc_no_link = xyes; then
91619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91621 { (exit 1); exit 1; }; }
91622 fi
91623 cat >conftest.$ac_ext <<_ACEOF
91624 /* confdefs.h. */
91625 _ACEOF
91626 cat confdefs.h >>conftest.$ac_ext
91627 cat >>conftest.$ac_ext <<_ACEOF
91628 /* end confdefs.h. */
91629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91631 #define $ac_func innocuous_$ac_func
91632
91633 /* System header to define __stub macros and hopefully few prototypes,
91634 which can conflict with char $ac_func (); below.
91635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91636 <limits.h> exists even on freestanding compilers. */
91637
91638 #ifdef __STDC__
91639 # include <limits.h>
91640 #else
91641 # include <assert.h>
91642 #endif
91643
91644 #undef $ac_func
91645
91646 /* Override any gcc2 internal prototype to avoid an error. */
91647 #ifdef __cplusplus
91648 extern "C"
91649 {
91650 #endif
91651 /* We use char because int might match the return type of a gcc2
91652 builtin and then its argument prototype would still apply. */
91653 char $ac_func ();
91654 /* The GNU C library defines this for functions which it implements
91655 to always fail with ENOSYS. Some functions are actually named
91656 something starting with __ and the normal name is an alias. */
91657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91658 choke me
91659 #else
91660 char (*f) () = $ac_func;
91661 #endif
91662 #ifdef __cplusplus
91663 }
91664 #endif
91665
91666 int
91667 main ()
91668 {
91669 return f != $ac_func;
91670 ;
91671 return 0;
91672 }
91673 _ACEOF
91674 rm -f conftest.$ac_objext conftest$ac_exeext
91675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91676 (eval $ac_link) 2>conftest.er1
91677 ac_status=$?
91678 grep -v '^ *+' conftest.er1 >conftest.err
91679 rm -f conftest.er1
91680 cat conftest.err >&5
91681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91682 (exit $ac_status); } &&
91683 { ac_try='test -z "$ac_c_werror_flag"
91684 || test ! -s conftest.err'
91685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91686 (eval $ac_try) 2>&5
91687 ac_status=$?
91688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91689 (exit $ac_status); }; } &&
91690 { ac_try='test -s conftest$ac_exeext'
91691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91692 (eval $ac_try) 2>&5
91693 ac_status=$?
91694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91695 (exit $ac_status); }; }; then
91696 eval "$as_ac_var=yes"
91697 else
91698 echo "$as_me: failed program was:" >&5
91699 sed 's/^/| /' conftest.$ac_ext >&5
91700
91701 eval "$as_ac_var=no"
91702 fi
91703 rm -f conftest.err conftest.$ac_objext \
91704 conftest$ac_exeext conftest.$ac_ext
91705 fi
91706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91708 if test `eval echo '${'$as_ac_var'}'` = yes; then
91709 cat >>confdefs.h <<_ACEOF
91710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91711 _ACEOF
91712
91713 fi
91714 done
91715
91716 fi
91717 fi
91718
91719
91720
91721
91722
91723
91724 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91725 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91726 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91727 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91728 echo $ECHO_N "(cached) $ECHO_C" >&6
91729 else
91730
91731
91732
91733 ac_ext=cc
91734 ac_cpp='$CXXCPP $CPPFLAGS'
91735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91738
91739 cat >conftest.$ac_ext <<_ACEOF
91740 /* confdefs.h. */
91741 _ACEOF
91742 cat confdefs.h >>conftest.$ac_ext
91743 cat >>conftest.$ac_ext <<_ACEOF
91744 /* end confdefs.h. */
91745 #include <math.h>
91746 #ifdef HAVE_IEEEFP_H
91747 #include <ieeefp.h>
91748 #endif
91749
91750 int
91751 main ()
91752 {
91753 isnanf(0);
91754 ;
91755 return 0;
91756 }
91757 _ACEOF
91758 rm -f conftest.$ac_objext
91759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91760 (eval $ac_compile) 2>conftest.er1
91761 ac_status=$?
91762 grep -v '^ *+' conftest.er1 >conftest.err
91763 rm -f conftest.er1
91764 cat conftest.err >&5
91765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91766 (exit $ac_status); } &&
91767 { ac_try='test -z "$ac_cxx_werror_flag"
91768 || test ! -s conftest.err'
91769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91770 (eval $ac_try) 2>&5
91771 ac_status=$?
91772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91773 (exit $ac_status); }; } &&
91774 { ac_try='test -s conftest.$ac_objext'
91775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91776 (eval $ac_try) 2>&5
91777 ac_status=$?
91778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91779 (exit $ac_status); }; }; then
91780 glibcxx_cv_func_isnanf_use=yes
91781 else
91782 echo "$as_me: failed program was:" >&5
91783 sed 's/^/| /' conftest.$ac_ext >&5
91784
91785 glibcxx_cv_func_isnanf_use=no
91786 fi
91787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91788 ac_ext=c
91789 ac_cpp='$CPP $CPPFLAGS'
91790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91793
91794
91795 fi
91796
91797 fi
91798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91799 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91800
91801 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91802
91803 for ac_func in isnanf
91804 do
91805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91806 echo "$as_me:$LINENO: checking for $ac_func" >&5
91807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91808 if eval "test \"\${$as_ac_var+set}\" = set"; then
91809 echo $ECHO_N "(cached) $ECHO_C" >&6
91810 else
91811 if test x$gcc_no_link = xyes; then
91812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91814 { (exit 1); exit 1; }; }
91815 fi
91816 cat >conftest.$ac_ext <<_ACEOF
91817 /* confdefs.h. */
91818 _ACEOF
91819 cat confdefs.h >>conftest.$ac_ext
91820 cat >>conftest.$ac_ext <<_ACEOF
91821 /* end confdefs.h. */
91822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91824 #define $ac_func innocuous_$ac_func
91825
91826 /* System header to define __stub macros and hopefully few prototypes,
91827 which can conflict with char $ac_func (); below.
91828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91829 <limits.h> exists even on freestanding compilers. */
91830
91831 #ifdef __STDC__
91832 # include <limits.h>
91833 #else
91834 # include <assert.h>
91835 #endif
91836
91837 #undef $ac_func
91838
91839 /* Override any gcc2 internal prototype to avoid an error. */
91840 #ifdef __cplusplus
91841 extern "C"
91842 {
91843 #endif
91844 /* We use char because int might match the return type of a gcc2
91845 builtin and then its argument prototype would still apply. */
91846 char $ac_func ();
91847 /* The GNU C library defines this for functions which it implements
91848 to always fail with ENOSYS. Some functions are actually named
91849 something starting with __ and the normal name is an alias. */
91850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91851 choke me
91852 #else
91853 char (*f) () = $ac_func;
91854 #endif
91855 #ifdef __cplusplus
91856 }
91857 #endif
91858
91859 int
91860 main ()
91861 {
91862 return f != $ac_func;
91863 ;
91864 return 0;
91865 }
91866 _ACEOF
91867 rm -f conftest.$ac_objext conftest$ac_exeext
91868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91869 (eval $ac_link) 2>conftest.er1
91870 ac_status=$?
91871 grep -v '^ *+' conftest.er1 >conftest.err
91872 rm -f conftest.er1
91873 cat conftest.err >&5
91874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91875 (exit $ac_status); } &&
91876 { ac_try='test -z "$ac_c_werror_flag"
91877 || test ! -s conftest.err'
91878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91879 (eval $ac_try) 2>&5
91880 ac_status=$?
91881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882 (exit $ac_status); }; } &&
91883 { ac_try='test -s conftest$ac_exeext'
91884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91885 (eval $ac_try) 2>&5
91886 ac_status=$?
91887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91888 (exit $ac_status); }; }; then
91889 eval "$as_ac_var=yes"
91890 else
91891 echo "$as_me: failed program was:" >&5
91892 sed 's/^/| /' conftest.$ac_ext >&5
91893
91894 eval "$as_ac_var=no"
91895 fi
91896 rm -f conftest.err conftest.$ac_objext \
91897 conftest$ac_exeext conftest.$ac_ext
91898 fi
91899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91901 if test `eval echo '${'$as_ac_var'}'` = yes; then
91902 cat >>confdefs.h <<_ACEOF
91903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91904 _ACEOF
91905
91906 fi
91907 done
91908
91909 else
91910
91911 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91912 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91913 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91914 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91915 echo $ECHO_N "(cached) $ECHO_C" >&6
91916 else
91917
91918
91919
91920 ac_ext=cc
91921 ac_cpp='$CXXCPP $CPPFLAGS'
91922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91925
91926 cat >conftest.$ac_ext <<_ACEOF
91927 /* confdefs.h. */
91928 _ACEOF
91929 cat confdefs.h >>conftest.$ac_ext
91930 cat >>conftest.$ac_ext <<_ACEOF
91931 /* end confdefs.h. */
91932 #include <math.h>
91933 #ifdef HAVE_IEEEFP_H
91934 #include <ieeefp.h>
91935 #endif
91936
91937 int
91938 main ()
91939 {
91940 _isnanf(0);
91941 ;
91942 return 0;
91943 }
91944 _ACEOF
91945 rm -f conftest.$ac_objext
91946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91947 (eval $ac_compile) 2>conftest.er1
91948 ac_status=$?
91949 grep -v '^ *+' conftest.er1 >conftest.err
91950 rm -f conftest.er1
91951 cat conftest.err >&5
91952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91953 (exit $ac_status); } &&
91954 { ac_try='test -z "$ac_cxx_werror_flag"
91955 || test ! -s conftest.err'
91956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91957 (eval $ac_try) 2>&5
91958 ac_status=$?
91959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91960 (exit $ac_status); }; } &&
91961 { ac_try='test -s conftest.$ac_objext'
91962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91963 (eval $ac_try) 2>&5
91964 ac_status=$?
91965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91966 (exit $ac_status); }; }; then
91967 glibcxx_cv_func__isnanf_use=yes
91968 else
91969 echo "$as_me: failed program was:" >&5
91970 sed 's/^/| /' conftest.$ac_ext >&5
91971
91972 glibcxx_cv_func__isnanf_use=no
91973 fi
91974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91975 ac_ext=c
91976 ac_cpp='$CPP $CPPFLAGS'
91977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91980
91981
91982 fi
91983
91984 fi
91985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
91986 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
91987
91988 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
91989
91990 for ac_func in _isnanf
91991 do
91992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91993 echo "$as_me:$LINENO: checking for $ac_func" >&5
91994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91995 if eval "test \"\${$as_ac_var+set}\" = set"; then
91996 echo $ECHO_N "(cached) $ECHO_C" >&6
91997 else
91998 if test x$gcc_no_link = xyes; then
91999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92001 { (exit 1); exit 1; }; }
92002 fi
92003 cat >conftest.$ac_ext <<_ACEOF
92004 /* confdefs.h. */
92005 _ACEOF
92006 cat confdefs.h >>conftest.$ac_ext
92007 cat >>conftest.$ac_ext <<_ACEOF
92008 /* end confdefs.h. */
92009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92011 #define $ac_func innocuous_$ac_func
92012
92013 /* System header to define __stub macros and hopefully few prototypes,
92014 which can conflict with char $ac_func (); below.
92015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92016 <limits.h> exists even on freestanding compilers. */
92017
92018 #ifdef __STDC__
92019 # include <limits.h>
92020 #else
92021 # include <assert.h>
92022 #endif
92023
92024 #undef $ac_func
92025
92026 /* Override any gcc2 internal prototype to avoid an error. */
92027 #ifdef __cplusplus
92028 extern "C"
92029 {
92030 #endif
92031 /* We use char because int might match the return type of a gcc2
92032 builtin and then its argument prototype would still apply. */
92033 char $ac_func ();
92034 /* The GNU C library defines this for functions which it implements
92035 to always fail with ENOSYS. Some functions are actually named
92036 something starting with __ and the normal name is an alias. */
92037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92038 choke me
92039 #else
92040 char (*f) () = $ac_func;
92041 #endif
92042 #ifdef __cplusplus
92043 }
92044 #endif
92045
92046 int
92047 main ()
92048 {
92049 return f != $ac_func;
92050 ;
92051 return 0;
92052 }
92053 _ACEOF
92054 rm -f conftest.$ac_objext conftest$ac_exeext
92055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92056 (eval $ac_link) 2>conftest.er1
92057 ac_status=$?
92058 grep -v '^ *+' conftest.er1 >conftest.err
92059 rm -f conftest.er1
92060 cat conftest.err >&5
92061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062 (exit $ac_status); } &&
92063 { ac_try='test -z "$ac_c_werror_flag"
92064 || test ! -s conftest.err'
92065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066 (eval $ac_try) 2>&5
92067 ac_status=$?
92068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069 (exit $ac_status); }; } &&
92070 { ac_try='test -s conftest$ac_exeext'
92071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92072 (eval $ac_try) 2>&5
92073 ac_status=$?
92074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92075 (exit $ac_status); }; }; then
92076 eval "$as_ac_var=yes"
92077 else
92078 echo "$as_me: failed program was:" >&5
92079 sed 's/^/| /' conftest.$ac_ext >&5
92080
92081 eval "$as_ac_var=no"
92082 fi
92083 rm -f conftest.err conftest.$ac_objext \
92084 conftest$ac_exeext conftest.$ac_ext
92085 fi
92086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92088 if test `eval echo '${'$as_ac_var'}'` = yes; then
92089 cat >>confdefs.h <<_ACEOF
92090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92091 _ACEOF
92092
92093 fi
92094 done
92095
92096 fi
92097 fi
92098
92099
92100
92101
92102
92103
92104 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92105 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92106 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92107 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92108 echo $ECHO_N "(cached) $ECHO_C" >&6
92109 else
92110
92111
92112
92113 ac_ext=cc
92114 ac_cpp='$CXXCPP $CPPFLAGS'
92115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92118
92119 cat >conftest.$ac_ext <<_ACEOF
92120 /* confdefs.h. */
92121 _ACEOF
92122 cat confdefs.h >>conftest.$ac_ext
92123 cat >>conftest.$ac_ext <<_ACEOF
92124 /* end confdefs.h. */
92125 #include <math.h>
92126 #ifdef HAVE_IEEEFP_H
92127 #include <ieeefp.h>
92128 #endif
92129
92130 int
92131 main ()
92132 {
92133 isinff(0);
92134 ;
92135 return 0;
92136 }
92137 _ACEOF
92138 rm -f conftest.$ac_objext
92139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92140 (eval $ac_compile) 2>conftest.er1
92141 ac_status=$?
92142 grep -v '^ *+' conftest.er1 >conftest.err
92143 rm -f conftest.er1
92144 cat conftest.err >&5
92145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92146 (exit $ac_status); } &&
92147 { ac_try='test -z "$ac_cxx_werror_flag"
92148 || test ! -s conftest.err'
92149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92150 (eval $ac_try) 2>&5
92151 ac_status=$?
92152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92153 (exit $ac_status); }; } &&
92154 { ac_try='test -s conftest.$ac_objext'
92155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92156 (eval $ac_try) 2>&5
92157 ac_status=$?
92158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92159 (exit $ac_status); }; }; then
92160 glibcxx_cv_func_isinff_use=yes
92161 else
92162 echo "$as_me: failed program was:" >&5
92163 sed 's/^/| /' conftest.$ac_ext >&5
92164
92165 glibcxx_cv_func_isinff_use=no
92166 fi
92167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92168 ac_ext=c
92169 ac_cpp='$CPP $CPPFLAGS'
92170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92173
92174
92175 fi
92176
92177 fi
92178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92179 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92180
92181 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92182
92183 for ac_func in isinff
92184 do
92185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92186 echo "$as_me:$LINENO: checking for $ac_func" >&5
92187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92188 if eval "test \"\${$as_ac_var+set}\" = set"; then
92189 echo $ECHO_N "(cached) $ECHO_C" >&6
92190 else
92191 if test x$gcc_no_link = xyes; then
92192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92194 { (exit 1); exit 1; }; }
92195 fi
92196 cat >conftest.$ac_ext <<_ACEOF
92197 /* confdefs.h. */
92198 _ACEOF
92199 cat confdefs.h >>conftest.$ac_ext
92200 cat >>conftest.$ac_ext <<_ACEOF
92201 /* end confdefs.h. */
92202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92204 #define $ac_func innocuous_$ac_func
92205
92206 /* System header to define __stub macros and hopefully few prototypes,
92207 which can conflict with char $ac_func (); below.
92208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92209 <limits.h> exists even on freestanding compilers. */
92210
92211 #ifdef __STDC__
92212 # include <limits.h>
92213 #else
92214 # include <assert.h>
92215 #endif
92216
92217 #undef $ac_func
92218
92219 /* Override any gcc2 internal prototype to avoid an error. */
92220 #ifdef __cplusplus
92221 extern "C"
92222 {
92223 #endif
92224 /* We use char because int might match the return type of a gcc2
92225 builtin and then its argument prototype would still apply. */
92226 char $ac_func ();
92227 /* The GNU C library defines this for functions which it implements
92228 to always fail with ENOSYS. Some functions are actually named
92229 something starting with __ and the normal name is an alias. */
92230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92231 choke me
92232 #else
92233 char (*f) () = $ac_func;
92234 #endif
92235 #ifdef __cplusplus
92236 }
92237 #endif
92238
92239 int
92240 main ()
92241 {
92242 return f != $ac_func;
92243 ;
92244 return 0;
92245 }
92246 _ACEOF
92247 rm -f conftest.$ac_objext conftest$ac_exeext
92248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92249 (eval $ac_link) 2>conftest.er1
92250 ac_status=$?
92251 grep -v '^ *+' conftest.er1 >conftest.err
92252 rm -f conftest.er1
92253 cat conftest.err >&5
92254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92255 (exit $ac_status); } &&
92256 { ac_try='test -z "$ac_c_werror_flag"
92257 || test ! -s conftest.err'
92258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92259 (eval $ac_try) 2>&5
92260 ac_status=$?
92261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92262 (exit $ac_status); }; } &&
92263 { ac_try='test -s conftest$ac_exeext'
92264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92265 (eval $ac_try) 2>&5
92266 ac_status=$?
92267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92268 (exit $ac_status); }; }; then
92269 eval "$as_ac_var=yes"
92270 else
92271 echo "$as_me: failed program was:" >&5
92272 sed 's/^/| /' conftest.$ac_ext >&5
92273
92274 eval "$as_ac_var=no"
92275 fi
92276 rm -f conftest.err conftest.$ac_objext \
92277 conftest$ac_exeext conftest.$ac_ext
92278 fi
92279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92281 if test `eval echo '${'$as_ac_var'}'` = yes; then
92282 cat >>confdefs.h <<_ACEOF
92283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92284 _ACEOF
92285
92286 fi
92287 done
92288
92289 else
92290
92291 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92292 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92293 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92294 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92295 echo $ECHO_N "(cached) $ECHO_C" >&6
92296 else
92297
92298
92299
92300 ac_ext=cc
92301 ac_cpp='$CXXCPP $CPPFLAGS'
92302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92305
92306 cat >conftest.$ac_ext <<_ACEOF
92307 /* confdefs.h. */
92308 _ACEOF
92309 cat confdefs.h >>conftest.$ac_ext
92310 cat >>conftest.$ac_ext <<_ACEOF
92311 /* end confdefs.h. */
92312 #include <math.h>
92313 #ifdef HAVE_IEEEFP_H
92314 #include <ieeefp.h>
92315 #endif
92316
92317 int
92318 main ()
92319 {
92320 _isinff(0);
92321 ;
92322 return 0;
92323 }
92324 _ACEOF
92325 rm -f conftest.$ac_objext
92326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92327 (eval $ac_compile) 2>conftest.er1
92328 ac_status=$?
92329 grep -v '^ *+' conftest.er1 >conftest.err
92330 rm -f conftest.er1
92331 cat conftest.err >&5
92332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92333 (exit $ac_status); } &&
92334 { ac_try='test -z "$ac_cxx_werror_flag"
92335 || test ! -s conftest.err'
92336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92337 (eval $ac_try) 2>&5
92338 ac_status=$?
92339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92340 (exit $ac_status); }; } &&
92341 { ac_try='test -s conftest.$ac_objext'
92342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92343 (eval $ac_try) 2>&5
92344 ac_status=$?
92345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92346 (exit $ac_status); }; }; then
92347 glibcxx_cv_func__isinff_use=yes
92348 else
92349 echo "$as_me: failed program was:" >&5
92350 sed 's/^/| /' conftest.$ac_ext >&5
92351
92352 glibcxx_cv_func__isinff_use=no
92353 fi
92354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92355 ac_ext=c
92356 ac_cpp='$CPP $CPPFLAGS'
92357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92360
92361
92362 fi
92363
92364 fi
92365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92366 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92367
92368 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92369
92370 for ac_func in _isinff
92371 do
92372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92373 echo "$as_me:$LINENO: checking for $ac_func" >&5
92374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92375 if eval "test \"\${$as_ac_var+set}\" = set"; then
92376 echo $ECHO_N "(cached) $ECHO_C" >&6
92377 else
92378 if test x$gcc_no_link = xyes; then
92379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92381 { (exit 1); exit 1; }; }
92382 fi
92383 cat >conftest.$ac_ext <<_ACEOF
92384 /* confdefs.h. */
92385 _ACEOF
92386 cat confdefs.h >>conftest.$ac_ext
92387 cat >>conftest.$ac_ext <<_ACEOF
92388 /* end confdefs.h. */
92389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92391 #define $ac_func innocuous_$ac_func
92392
92393 /* System header to define __stub macros and hopefully few prototypes,
92394 which can conflict with char $ac_func (); below.
92395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92396 <limits.h> exists even on freestanding compilers. */
92397
92398 #ifdef __STDC__
92399 # include <limits.h>
92400 #else
92401 # include <assert.h>
92402 #endif
92403
92404 #undef $ac_func
92405
92406 /* Override any gcc2 internal prototype to avoid an error. */
92407 #ifdef __cplusplus
92408 extern "C"
92409 {
92410 #endif
92411 /* We use char because int might match the return type of a gcc2
92412 builtin and then its argument prototype would still apply. */
92413 char $ac_func ();
92414 /* The GNU C library defines this for functions which it implements
92415 to always fail with ENOSYS. Some functions are actually named
92416 something starting with __ and the normal name is an alias. */
92417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92418 choke me
92419 #else
92420 char (*f) () = $ac_func;
92421 #endif
92422 #ifdef __cplusplus
92423 }
92424 #endif
92425
92426 int
92427 main ()
92428 {
92429 return f != $ac_func;
92430 ;
92431 return 0;
92432 }
92433 _ACEOF
92434 rm -f conftest.$ac_objext conftest$ac_exeext
92435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92436 (eval $ac_link) 2>conftest.er1
92437 ac_status=$?
92438 grep -v '^ *+' conftest.er1 >conftest.err
92439 rm -f conftest.er1
92440 cat conftest.err >&5
92441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92442 (exit $ac_status); } &&
92443 { ac_try='test -z "$ac_c_werror_flag"
92444 || test ! -s conftest.err'
92445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92446 (eval $ac_try) 2>&5
92447 ac_status=$?
92448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92449 (exit $ac_status); }; } &&
92450 { ac_try='test -s conftest$ac_exeext'
92451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92452 (eval $ac_try) 2>&5
92453 ac_status=$?
92454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92455 (exit $ac_status); }; }; then
92456 eval "$as_ac_var=yes"
92457 else
92458 echo "$as_me: failed program was:" >&5
92459 sed 's/^/| /' conftest.$ac_ext >&5
92460
92461 eval "$as_ac_var=no"
92462 fi
92463 rm -f conftest.err conftest.$ac_objext \
92464 conftest$ac_exeext conftest.$ac_ext
92465 fi
92466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92468 if test `eval echo '${'$as_ac_var'}'` = yes; then
92469 cat >>confdefs.h <<_ACEOF
92470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92471 _ACEOF
92472
92473 fi
92474 done
92475
92476 fi
92477 fi
92478
92479
92480
92481
92482
92483
92484 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92485 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92486 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92487 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92488 echo $ECHO_N "(cached) $ECHO_C" >&6
92489 else
92490
92491
92492
92493 ac_ext=cc
92494 ac_cpp='$CXXCPP $CPPFLAGS'
92495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92498
92499 cat >conftest.$ac_ext <<_ACEOF
92500 /* confdefs.h. */
92501 _ACEOF
92502 cat confdefs.h >>conftest.$ac_ext
92503 cat >>conftest.$ac_ext <<_ACEOF
92504 /* end confdefs.h. */
92505 #include <math.h>
92506 int
92507 main ()
92508 {
92509 atan2f(0, 0);
92510 ;
92511 return 0;
92512 }
92513 _ACEOF
92514 rm -f conftest.$ac_objext
92515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92516 (eval $ac_compile) 2>conftest.er1
92517 ac_status=$?
92518 grep -v '^ *+' conftest.er1 >conftest.err
92519 rm -f conftest.er1
92520 cat conftest.err >&5
92521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92522 (exit $ac_status); } &&
92523 { ac_try='test -z "$ac_cxx_werror_flag"
92524 || test ! -s conftest.err'
92525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92526 (eval $ac_try) 2>&5
92527 ac_status=$?
92528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92529 (exit $ac_status); }; } &&
92530 { ac_try='test -s conftest.$ac_objext'
92531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92532 (eval $ac_try) 2>&5
92533 ac_status=$?
92534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92535 (exit $ac_status); }; }; then
92536 glibcxx_cv_func_atan2f_use=yes
92537 else
92538 echo "$as_me: failed program was:" >&5
92539 sed 's/^/| /' conftest.$ac_ext >&5
92540
92541 glibcxx_cv_func_atan2f_use=no
92542 fi
92543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92544 ac_ext=c
92545 ac_cpp='$CPP $CPPFLAGS'
92546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92549
92550
92551 fi
92552
92553 fi
92554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92555 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92556
92557 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92558
92559 for ac_func in atan2f
92560 do
92561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92562 echo "$as_me:$LINENO: checking for $ac_func" >&5
92563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92564 if eval "test \"\${$as_ac_var+set}\" = set"; then
92565 echo $ECHO_N "(cached) $ECHO_C" >&6
92566 else
92567 if test x$gcc_no_link = xyes; then
92568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92570 { (exit 1); exit 1; }; }
92571 fi
92572 cat >conftest.$ac_ext <<_ACEOF
92573 /* confdefs.h. */
92574 _ACEOF
92575 cat confdefs.h >>conftest.$ac_ext
92576 cat >>conftest.$ac_ext <<_ACEOF
92577 /* end confdefs.h. */
92578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92580 #define $ac_func innocuous_$ac_func
92581
92582 /* System header to define __stub macros and hopefully few prototypes,
92583 which can conflict with char $ac_func (); below.
92584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92585 <limits.h> exists even on freestanding compilers. */
92586
92587 #ifdef __STDC__
92588 # include <limits.h>
92589 #else
92590 # include <assert.h>
92591 #endif
92592
92593 #undef $ac_func
92594
92595 /* Override any gcc2 internal prototype to avoid an error. */
92596 #ifdef __cplusplus
92597 extern "C"
92598 {
92599 #endif
92600 /* We use char because int might match the return type of a gcc2
92601 builtin and then its argument prototype would still apply. */
92602 char $ac_func ();
92603 /* The GNU C library defines this for functions which it implements
92604 to always fail with ENOSYS. Some functions are actually named
92605 something starting with __ and the normal name is an alias. */
92606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92607 choke me
92608 #else
92609 char (*f) () = $ac_func;
92610 #endif
92611 #ifdef __cplusplus
92612 }
92613 #endif
92614
92615 int
92616 main ()
92617 {
92618 return f != $ac_func;
92619 ;
92620 return 0;
92621 }
92622 _ACEOF
92623 rm -f conftest.$ac_objext conftest$ac_exeext
92624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92625 (eval $ac_link) 2>conftest.er1
92626 ac_status=$?
92627 grep -v '^ *+' conftest.er1 >conftest.err
92628 rm -f conftest.er1
92629 cat conftest.err >&5
92630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92631 (exit $ac_status); } &&
92632 { ac_try='test -z "$ac_c_werror_flag"
92633 || test ! -s conftest.err'
92634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92635 (eval $ac_try) 2>&5
92636 ac_status=$?
92637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92638 (exit $ac_status); }; } &&
92639 { ac_try='test -s conftest$ac_exeext'
92640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92641 (eval $ac_try) 2>&5
92642 ac_status=$?
92643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92644 (exit $ac_status); }; }; then
92645 eval "$as_ac_var=yes"
92646 else
92647 echo "$as_me: failed program was:" >&5
92648 sed 's/^/| /' conftest.$ac_ext >&5
92649
92650 eval "$as_ac_var=no"
92651 fi
92652 rm -f conftest.err conftest.$ac_objext \
92653 conftest$ac_exeext conftest.$ac_ext
92654 fi
92655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92657 if test `eval echo '${'$as_ac_var'}'` = yes; then
92658 cat >>confdefs.h <<_ACEOF
92659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92660 _ACEOF
92661
92662 fi
92663 done
92664
92665 else
92666
92667 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92668 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92669 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92670 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92671 echo $ECHO_N "(cached) $ECHO_C" >&6
92672 else
92673
92674
92675
92676 ac_ext=cc
92677 ac_cpp='$CXXCPP $CPPFLAGS'
92678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92681
92682 cat >conftest.$ac_ext <<_ACEOF
92683 /* confdefs.h. */
92684 _ACEOF
92685 cat confdefs.h >>conftest.$ac_ext
92686 cat >>conftest.$ac_ext <<_ACEOF
92687 /* end confdefs.h. */
92688 #include <math.h>
92689 int
92690 main ()
92691 {
92692 _atan2f(0, 0);
92693 ;
92694 return 0;
92695 }
92696 _ACEOF
92697 rm -f conftest.$ac_objext
92698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92699 (eval $ac_compile) 2>conftest.er1
92700 ac_status=$?
92701 grep -v '^ *+' conftest.er1 >conftest.err
92702 rm -f conftest.er1
92703 cat conftest.err >&5
92704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92705 (exit $ac_status); } &&
92706 { ac_try='test -z "$ac_cxx_werror_flag"
92707 || test ! -s conftest.err'
92708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92709 (eval $ac_try) 2>&5
92710 ac_status=$?
92711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712 (exit $ac_status); }; } &&
92713 { ac_try='test -s conftest.$ac_objext'
92714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92715 (eval $ac_try) 2>&5
92716 ac_status=$?
92717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92718 (exit $ac_status); }; }; then
92719 glibcxx_cv_func__atan2f_use=yes
92720 else
92721 echo "$as_me: failed program was:" >&5
92722 sed 's/^/| /' conftest.$ac_ext >&5
92723
92724 glibcxx_cv_func__atan2f_use=no
92725 fi
92726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92727 ac_ext=c
92728 ac_cpp='$CPP $CPPFLAGS'
92729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92732
92733
92734 fi
92735
92736 fi
92737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92738 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92739
92740 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92741
92742 for ac_func in _atan2f
92743 do
92744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92745 echo "$as_me:$LINENO: checking for $ac_func" >&5
92746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92747 if eval "test \"\${$as_ac_var+set}\" = set"; then
92748 echo $ECHO_N "(cached) $ECHO_C" >&6
92749 else
92750 if test x$gcc_no_link = xyes; then
92751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92753 { (exit 1); exit 1; }; }
92754 fi
92755 cat >conftest.$ac_ext <<_ACEOF
92756 /* confdefs.h. */
92757 _ACEOF
92758 cat confdefs.h >>conftest.$ac_ext
92759 cat >>conftest.$ac_ext <<_ACEOF
92760 /* end confdefs.h. */
92761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92763 #define $ac_func innocuous_$ac_func
92764
92765 /* System header to define __stub macros and hopefully few prototypes,
92766 which can conflict with char $ac_func (); below.
92767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92768 <limits.h> exists even on freestanding compilers. */
92769
92770 #ifdef __STDC__
92771 # include <limits.h>
92772 #else
92773 # include <assert.h>
92774 #endif
92775
92776 #undef $ac_func
92777
92778 /* Override any gcc2 internal prototype to avoid an error. */
92779 #ifdef __cplusplus
92780 extern "C"
92781 {
92782 #endif
92783 /* We use char because int might match the return type of a gcc2
92784 builtin and then its argument prototype would still apply. */
92785 char $ac_func ();
92786 /* The GNU C library defines this for functions which it implements
92787 to always fail with ENOSYS. Some functions are actually named
92788 something starting with __ and the normal name is an alias. */
92789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92790 choke me
92791 #else
92792 char (*f) () = $ac_func;
92793 #endif
92794 #ifdef __cplusplus
92795 }
92796 #endif
92797
92798 int
92799 main ()
92800 {
92801 return f != $ac_func;
92802 ;
92803 return 0;
92804 }
92805 _ACEOF
92806 rm -f conftest.$ac_objext conftest$ac_exeext
92807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92808 (eval $ac_link) 2>conftest.er1
92809 ac_status=$?
92810 grep -v '^ *+' conftest.er1 >conftest.err
92811 rm -f conftest.er1
92812 cat conftest.err >&5
92813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92814 (exit $ac_status); } &&
92815 { ac_try='test -z "$ac_c_werror_flag"
92816 || test ! -s conftest.err'
92817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92818 (eval $ac_try) 2>&5
92819 ac_status=$?
92820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92821 (exit $ac_status); }; } &&
92822 { ac_try='test -s conftest$ac_exeext'
92823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92824 (eval $ac_try) 2>&5
92825 ac_status=$?
92826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92827 (exit $ac_status); }; }; then
92828 eval "$as_ac_var=yes"
92829 else
92830 echo "$as_me: failed program was:" >&5
92831 sed 's/^/| /' conftest.$ac_ext >&5
92832
92833 eval "$as_ac_var=no"
92834 fi
92835 rm -f conftest.err conftest.$ac_objext \
92836 conftest$ac_exeext conftest.$ac_ext
92837 fi
92838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92840 if test `eval echo '${'$as_ac_var'}'` = yes; then
92841 cat >>confdefs.h <<_ACEOF
92842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92843 _ACEOF
92844
92845 fi
92846 done
92847
92848 fi
92849 fi
92850
92851
92852
92853
92854
92855
92856 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92857 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92858 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92859 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92860 echo $ECHO_N "(cached) $ECHO_C" >&6
92861 else
92862
92863
92864
92865 ac_ext=cc
92866 ac_cpp='$CXXCPP $CPPFLAGS'
92867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92870
92871 cat >conftest.$ac_ext <<_ACEOF
92872 /* confdefs.h. */
92873 _ACEOF
92874 cat confdefs.h >>conftest.$ac_ext
92875 cat >>conftest.$ac_ext <<_ACEOF
92876 /* end confdefs.h. */
92877 #include <math.h>
92878 #ifdef HAVE_IEEEFP_H
92879 #include <ieeefp.h>
92880 #endif
92881
92882 int
92883 main ()
92884 {
92885 fabsf(0);
92886 ;
92887 return 0;
92888 }
92889 _ACEOF
92890 rm -f conftest.$ac_objext
92891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92892 (eval $ac_compile) 2>conftest.er1
92893 ac_status=$?
92894 grep -v '^ *+' conftest.er1 >conftest.err
92895 rm -f conftest.er1
92896 cat conftest.err >&5
92897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92898 (exit $ac_status); } &&
92899 { ac_try='test -z "$ac_cxx_werror_flag"
92900 || test ! -s conftest.err'
92901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92902 (eval $ac_try) 2>&5
92903 ac_status=$?
92904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92905 (exit $ac_status); }; } &&
92906 { ac_try='test -s conftest.$ac_objext'
92907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92908 (eval $ac_try) 2>&5
92909 ac_status=$?
92910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92911 (exit $ac_status); }; }; then
92912 glibcxx_cv_func_fabsf_use=yes
92913 else
92914 echo "$as_me: failed program was:" >&5
92915 sed 's/^/| /' conftest.$ac_ext >&5
92916
92917 glibcxx_cv_func_fabsf_use=no
92918 fi
92919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92920 ac_ext=c
92921 ac_cpp='$CPP $CPPFLAGS'
92922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92925
92926
92927 fi
92928
92929 fi
92930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92931 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92932
92933 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92934
92935 for ac_func in fabsf
92936 do
92937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92938 echo "$as_me:$LINENO: checking for $ac_func" >&5
92939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92940 if eval "test \"\${$as_ac_var+set}\" = set"; then
92941 echo $ECHO_N "(cached) $ECHO_C" >&6
92942 else
92943 if test x$gcc_no_link = xyes; then
92944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92946 { (exit 1); exit 1; }; }
92947 fi
92948 cat >conftest.$ac_ext <<_ACEOF
92949 /* confdefs.h. */
92950 _ACEOF
92951 cat confdefs.h >>conftest.$ac_ext
92952 cat >>conftest.$ac_ext <<_ACEOF
92953 /* end confdefs.h. */
92954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92956 #define $ac_func innocuous_$ac_func
92957
92958 /* System header to define __stub macros and hopefully few prototypes,
92959 which can conflict with char $ac_func (); below.
92960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92961 <limits.h> exists even on freestanding compilers. */
92962
92963 #ifdef __STDC__
92964 # include <limits.h>
92965 #else
92966 # include <assert.h>
92967 #endif
92968
92969 #undef $ac_func
92970
92971 /* Override any gcc2 internal prototype to avoid an error. */
92972 #ifdef __cplusplus
92973 extern "C"
92974 {
92975 #endif
92976 /* We use char because int might match the return type of a gcc2
92977 builtin and then its argument prototype would still apply. */
92978 char $ac_func ();
92979 /* The GNU C library defines this for functions which it implements
92980 to always fail with ENOSYS. Some functions are actually named
92981 something starting with __ and the normal name is an alias. */
92982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92983 choke me
92984 #else
92985 char (*f) () = $ac_func;
92986 #endif
92987 #ifdef __cplusplus
92988 }
92989 #endif
92990
92991 int
92992 main ()
92993 {
92994 return f != $ac_func;
92995 ;
92996 return 0;
92997 }
92998 _ACEOF
92999 rm -f conftest.$ac_objext conftest$ac_exeext
93000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93001 (eval $ac_link) 2>conftest.er1
93002 ac_status=$?
93003 grep -v '^ *+' conftest.er1 >conftest.err
93004 rm -f conftest.er1
93005 cat conftest.err >&5
93006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93007 (exit $ac_status); } &&
93008 { ac_try='test -z "$ac_c_werror_flag"
93009 || test ! -s conftest.err'
93010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93011 (eval $ac_try) 2>&5
93012 ac_status=$?
93013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93014 (exit $ac_status); }; } &&
93015 { ac_try='test -s conftest$ac_exeext'
93016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93017 (eval $ac_try) 2>&5
93018 ac_status=$?
93019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93020 (exit $ac_status); }; }; then
93021 eval "$as_ac_var=yes"
93022 else
93023 echo "$as_me: failed program was:" >&5
93024 sed 's/^/| /' conftest.$ac_ext >&5
93025
93026 eval "$as_ac_var=no"
93027 fi
93028 rm -f conftest.err conftest.$ac_objext \
93029 conftest$ac_exeext conftest.$ac_ext
93030 fi
93031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93033 if test `eval echo '${'$as_ac_var'}'` = yes; then
93034 cat >>confdefs.h <<_ACEOF
93035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93036 _ACEOF
93037
93038 fi
93039 done
93040
93041 else
93042
93043 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93044 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93045 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93046 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93047 echo $ECHO_N "(cached) $ECHO_C" >&6
93048 else
93049
93050
93051
93052 ac_ext=cc
93053 ac_cpp='$CXXCPP $CPPFLAGS'
93054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93057
93058 cat >conftest.$ac_ext <<_ACEOF
93059 /* confdefs.h. */
93060 _ACEOF
93061 cat confdefs.h >>conftest.$ac_ext
93062 cat >>conftest.$ac_ext <<_ACEOF
93063 /* end confdefs.h. */
93064 #include <math.h>
93065 #ifdef HAVE_IEEEFP_H
93066 #include <ieeefp.h>
93067 #endif
93068
93069 int
93070 main ()
93071 {
93072 _fabsf(0);
93073 ;
93074 return 0;
93075 }
93076 _ACEOF
93077 rm -f conftest.$ac_objext
93078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93079 (eval $ac_compile) 2>conftest.er1
93080 ac_status=$?
93081 grep -v '^ *+' conftest.er1 >conftest.err
93082 rm -f conftest.er1
93083 cat conftest.err >&5
93084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93085 (exit $ac_status); } &&
93086 { ac_try='test -z "$ac_cxx_werror_flag"
93087 || test ! -s conftest.err'
93088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93089 (eval $ac_try) 2>&5
93090 ac_status=$?
93091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93092 (exit $ac_status); }; } &&
93093 { ac_try='test -s conftest.$ac_objext'
93094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93095 (eval $ac_try) 2>&5
93096 ac_status=$?
93097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93098 (exit $ac_status); }; }; then
93099 glibcxx_cv_func__fabsf_use=yes
93100 else
93101 echo "$as_me: failed program was:" >&5
93102 sed 's/^/| /' conftest.$ac_ext >&5
93103
93104 glibcxx_cv_func__fabsf_use=no
93105 fi
93106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93107 ac_ext=c
93108 ac_cpp='$CPP $CPPFLAGS'
93109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93112
93113
93114 fi
93115
93116 fi
93117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93118 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93119
93120 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93121
93122 for ac_func in _fabsf
93123 do
93124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93125 echo "$as_me:$LINENO: checking for $ac_func" >&5
93126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93127 if eval "test \"\${$as_ac_var+set}\" = set"; then
93128 echo $ECHO_N "(cached) $ECHO_C" >&6
93129 else
93130 if test x$gcc_no_link = xyes; then
93131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93133 { (exit 1); exit 1; }; }
93134 fi
93135 cat >conftest.$ac_ext <<_ACEOF
93136 /* confdefs.h. */
93137 _ACEOF
93138 cat confdefs.h >>conftest.$ac_ext
93139 cat >>conftest.$ac_ext <<_ACEOF
93140 /* end confdefs.h. */
93141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93143 #define $ac_func innocuous_$ac_func
93144
93145 /* System header to define __stub macros and hopefully few prototypes,
93146 which can conflict with char $ac_func (); below.
93147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93148 <limits.h> exists even on freestanding compilers. */
93149
93150 #ifdef __STDC__
93151 # include <limits.h>
93152 #else
93153 # include <assert.h>
93154 #endif
93155
93156 #undef $ac_func
93157
93158 /* Override any gcc2 internal prototype to avoid an error. */
93159 #ifdef __cplusplus
93160 extern "C"
93161 {
93162 #endif
93163 /* We use char because int might match the return type of a gcc2
93164 builtin and then its argument prototype would still apply. */
93165 char $ac_func ();
93166 /* The GNU C library defines this for functions which it implements
93167 to always fail with ENOSYS. Some functions are actually named
93168 something starting with __ and the normal name is an alias. */
93169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93170 choke me
93171 #else
93172 char (*f) () = $ac_func;
93173 #endif
93174 #ifdef __cplusplus
93175 }
93176 #endif
93177
93178 int
93179 main ()
93180 {
93181 return f != $ac_func;
93182 ;
93183 return 0;
93184 }
93185 _ACEOF
93186 rm -f conftest.$ac_objext conftest$ac_exeext
93187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93188 (eval $ac_link) 2>conftest.er1
93189 ac_status=$?
93190 grep -v '^ *+' conftest.er1 >conftest.err
93191 rm -f conftest.er1
93192 cat conftest.err >&5
93193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93194 (exit $ac_status); } &&
93195 { ac_try='test -z "$ac_c_werror_flag"
93196 || test ! -s conftest.err'
93197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93198 (eval $ac_try) 2>&5
93199 ac_status=$?
93200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93201 (exit $ac_status); }; } &&
93202 { ac_try='test -s conftest$ac_exeext'
93203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93204 (eval $ac_try) 2>&5
93205 ac_status=$?
93206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93207 (exit $ac_status); }; }; then
93208 eval "$as_ac_var=yes"
93209 else
93210 echo "$as_me: failed program was:" >&5
93211 sed 's/^/| /' conftest.$ac_ext >&5
93212
93213 eval "$as_ac_var=no"
93214 fi
93215 rm -f conftest.err conftest.$ac_objext \
93216 conftest$ac_exeext conftest.$ac_ext
93217 fi
93218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93220 if test `eval echo '${'$as_ac_var'}'` = yes; then
93221 cat >>confdefs.h <<_ACEOF
93222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93223 _ACEOF
93224
93225 fi
93226 done
93227
93228 fi
93229 fi
93230
93231
93232
93233
93234
93235
93236 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93237 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93238 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93239 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93240 echo $ECHO_N "(cached) $ECHO_C" >&6
93241 else
93242
93243
93244
93245 ac_ext=cc
93246 ac_cpp='$CXXCPP $CPPFLAGS'
93247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93250
93251 cat >conftest.$ac_ext <<_ACEOF
93252 /* confdefs.h. */
93253 _ACEOF
93254 cat confdefs.h >>conftest.$ac_ext
93255 cat >>conftest.$ac_ext <<_ACEOF
93256 /* end confdefs.h. */
93257 #include <math.h>
93258 int
93259 main ()
93260 {
93261 fmodf(0, 0);
93262 ;
93263 return 0;
93264 }
93265 _ACEOF
93266 rm -f conftest.$ac_objext
93267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93268 (eval $ac_compile) 2>conftest.er1
93269 ac_status=$?
93270 grep -v '^ *+' conftest.er1 >conftest.err
93271 rm -f conftest.er1
93272 cat conftest.err >&5
93273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93274 (exit $ac_status); } &&
93275 { ac_try='test -z "$ac_cxx_werror_flag"
93276 || test ! -s conftest.err'
93277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93278 (eval $ac_try) 2>&5
93279 ac_status=$?
93280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93281 (exit $ac_status); }; } &&
93282 { ac_try='test -s conftest.$ac_objext'
93283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93284 (eval $ac_try) 2>&5
93285 ac_status=$?
93286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93287 (exit $ac_status); }; }; then
93288 glibcxx_cv_func_fmodf_use=yes
93289 else
93290 echo "$as_me: failed program was:" >&5
93291 sed 's/^/| /' conftest.$ac_ext >&5
93292
93293 glibcxx_cv_func_fmodf_use=no
93294 fi
93295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93296 ac_ext=c
93297 ac_cpp='$CPP $CPPFLAGS'
93298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93301
93302
93303 fi
93304
93305 fi
93306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93307 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93308
93309 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93310
93311 for ac_func in fmodf
93312 do
93313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93314 echo "$as_me:$LINENO: checking for $ac_func" >&5
93315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93316 if eval "test \"\${$as_ac_var+set}\" = set"; then
93317 echo $ECHO_N "(cached) $ECHO_C" >&6
93318 else
93319 if test x$gcc_no_link = xyes; then
93320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93322 { (exit 1); exit 1; }; }
93323 fi
93324 cat >conftest.$ac_ext <<_ACEOF
93325 /* confdefs.h. */
93326 _ACEOF
93327 cat confdefs.h >>conftest.$ac_ext
93328 cat >>conftest.$ac_ext <<_ACEOF
93329 /* end confdefs.h. */
93330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93332 #define $ac_func innocuous_$ac_func
93333
93334 /* System header to define __stub macros and hopefully few prototypes,
93335 which can conflict with char $ac_func (); below.
93336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93337 <limits.h> exists even on freestanding compilers. */
93338
93339 #ifdef __STDC__
93340 # include <limits.h>
93341 #else
93342 # include <assert.h>
93343 #endif
93344
93345 #undef $ac_func
93346
93347 /* Override any gcc2 internal prototype to avoid an error. */
93348 #ifdef __cplusplus
93349 extern "C"
93350 {
93351 #endif
93352 /* We use char because int might match the return type of a gcc2
93353 builtin and then its argument prototype would still apply. */
93354 char $ac_func ();
93355 /* The GNU C library defines this for functions which it implements
93356 to always fail with ENOSYS. Some functions are actually named
93357 something starting with __ and the normal name is an alias. */
93358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93359 choke me
93360 #else
93361 char (*f) () = $ac_func;
93362 #endif
93363 #ifdef __cplusplus
93364 }
93365 #endif
93366
93367 int
93368 main ()
93369 {
93370 return f != $ac_func;
93371 ;
93372 return 0;
93373 }
93374 _ACEOF
93375 rm -f conftest.$ac_objext conftest$ac_exeext
93376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93377 (eval $ac_link) 2>conftest.er1
93378 ac_status=$?
93379 grep -v '^ *+' conftest.er1 >conftest.err
93380 rm -f conftest.er1
93381 cat conftest.err >&5
93382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93383 (exit $ac_status); } &&
93384 { ac_try='test -z "$ac_c_werror_flag"
93385 || test ! -s conftest.err'
93386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93387 (eval $ac_try) 2>&5
93388 ac_status=$?
93389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93390 (exit $ac_status); }; } &&
93391 { ac_try='test -s conftest$ac_exeext'
93392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93393 (eval $ac_try) 2>&5
93394 ac_status=$?
93395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93396 (exit $ac_status); }; }; then
93397 eval "$as_ac_var=yes"
93398 else
93399 echo "$as_me: failed program was:" >&5
93400 sed 's/^/| /' conftest.$ac_ext >&5
93401
93402 eval "$as_ac_var=no"
93403 fi
93404 rm -f conftest.err conftest.$ac_objext \
93405 conftest$ac_exeext conftest.$ac_ext
93406 fi
93407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93409 if test `eval echo '${'$as_ac_var'}'` = yes; then
93410 cat >>confdefs.h <<_ACEOF
93411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93412 _ACEOF
93413
93414 fi
93415 done
93416
93417 else
93418
93419 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93420 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93421 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93422 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93423 echo $ECHO_N "(cached) $ECHO_C" >&6
93424 else
93425
93426
93427
93428 ac_ext=cc
93429 ac_cpp='$CXXCPP $CPPFLAGS'
93430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93433
93434 cat >conftest.$ac_ext <<_ACEOF
93435 /* confdefs.h. */
93436 _ACEOF
93437 cat confdefs.h >>conftest.$ac_ext
93438 cat >>conftest.$ac_ext <<_ACEOF
93439 /* end confdefs.h. */
93440 #include <math.h>
93441 int
93442 main ()
93443 {
93444 _fmodf(0, 0);
93445 ;
93446 return 0;
93447 }
93448 _ACEOF
93449 rm -f conftest.$ac_objext
93450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93451 (eval $ac_compile) 2>conftest.er1
93452 ac_status=$?
93453 grep -v '^ *+' conftest.er1 >conftest.err
93454 rm -f conftest.er1
93455 cat conftest.err >&5
93456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93457 (exit $ac_status); } &&
93458 { ac_try='test -z "$ac_cxx_werror_flag"
93459 || test ! -s conftest.err'
93460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93461 (eval $ac_try) 2>&5
93462 ac_status=$?
93463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93464 (exit $ac_status); }; } &&
93465 { ac_try='test -s conftest.$ac_objext'
93466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93467 (eval $ac_try) 2>&5
93468 ac_status=$?
93469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93470 (exit $ac_status); }; }; then
93471 glibcxx_cv_func__fmodf_use=yes
93472 else
93473 echo "$as_me: failed program was:" >&5
93474 sed 's/^/| /' conftest.$ac_ext >&5
93475
93476 glibcxx_cv_func__fmodf_use=no
93477 fi
93478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93479 ac_ext=c
93480 ac_cpp='$CPP $CPPFLAGS'
93481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93484
93485
93486 fi
93487
93488 fi
93489 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93490 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93491
93492 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93493
93494 for ac_func in _fmodf
93495 do
93496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93497 echo "$as_me:$LINENO: checking for $ac_func" >&5
93498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93499 if eval "test \"\${$as_ac_var+set}\" = set"; then
93500 echo $ECHO_N "(cached) $ECHO_C" >&6
93501 else
93502 if test x$gcc_no_link = xyes; then
93503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93505 { (exit 1); exit 1; }; }
93506 fi
93507 cat >conftest.$ac_ext <<_ACEOF
93508 /* confdefs.h. */
93509 _ACEOF
93510 cat confdefs.h >>conftest.$ac_ext
93511 cat >>conftest.$ac_ext <<_ACEOF
93512 /* end confdefs.h. */
93513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93515 #define $ac_func innocuous_$ac_func
93516
93517 /* System header to define __stub macros and hopefully few prototypes,
93518 which can conflict with char $ac_func (); below.
93519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93520 <limits.h> exists even on freestanding compilers. */
93521
93522 #ifdef __STDC__
93523 # include <limits.h>
93524 #else
93525 # include <assert.h>
93526 #endif
93527
93528 #undef $ac_func
93529
93530 /* Override any gcc2 internal prototype to avoid an error. */
93531 #ifdef __cplusplus
93532 extern "C"
93533 {
93534 #endif
93535 /* We use char because int might match the return type of a gcc2
93536 builtin and then its argument prototype would still apply. */
93537 char $ac_func ();
93538 /* The GNU C library defines this for functions which it implements
93539 to always fail with ENOSYS. Some functions are actually named
93540 something starting with __ and the normal name is an alias. */
93541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93542 choke me
93543 #else
93544 char (*f) () = $ac_func;
93545 #endif
93546 #ifdef __cplusplus
93547 }
93548 #endif
93549
93550 int
93551 main ()
93552 {
93553 return f != $ac_func;
93554 ;
93555 return 0;
93556 }
93557 _ACEOF
93558 rm -f conftest.$ac_objext conftest$ac_exeext
93559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93560 (eval $ac_link) 2>conftest.er1
93561 ac_status=$?
93562 grep -v '^ *+' conftest.er1 >conftest.err
93563 rm -f conftest.er1
93564 cat conftest.err >&5
93565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93566 (exit $ac_status); } &&
93567 { ac_try='test -z "$ac_c_werror_flag"
93568 || test ! -s conftest.err'
93569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93570 (eval $ac_try) 2>&5
93571 ac_status=$?
93572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93573 (exit $ac_status); }; } &&
93574 { ac_try='test -s conftest$ac_exeext'
93575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93576 (eval $ac_try) 2>&5
93577 ac_status=$?
93578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93579 (exit $ac_status); }; }; then
93580 eval "$as_ac_var=yes"
93581 else
93582 echo "$as_me: failed program was:" >&5
93583 sed 's/^/| /' conftest.$ac_ext >&5
93584
93585 eval "$as_ac_var=no"
93586 fi
93587 rm -f conftest.err conftest.$ac_objext \
93588 conftest$ac_exeext conftest.$ac_ext
93589 fi
93590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93592 if test `eval echo '${'$as_ac_var'}'` = yes; then
93593 cat >>confdefs.h <<_ACEOF
93594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93595 _ACEOF
93596
93597 fi
93598 done
93599
93600 fi
93601 fi
93602
93603
93604
93605
93606
93607
93608 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93609 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93610 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93611 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93612 echo $ECHO_N "(cached) $ECHO_C" >&6
93613 else
93614
93615
93616
93617 ac_ext=cc
93618 ac_cpp='$CXXCPP $CPPFLAGS'
93619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93622
93623 cat >conftest.$ac_ext <<_ACEOF
93624 /* confdefs.h. */
93625 _ACEOF
93626 cat confdefs.h >>conftest.$ac_ext
93627 cat >>conftest.$ac_ext <<_ACEOF
93628 /* end confdefs.h. */
93629 #include <math.h>
93630 int
93631 main ()
93632 {
93633 frexpf(0, 0);
93634 ;
93635 return 0;
93636 }
93637 _ACEOF
93638 rm -f conftest.$ac_objext
93639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93640 (eval $ac_compile) 2>conftest.er1
93641 ac_status=$?
93642 grep -v '^ *+' conftest.er1 >conftest.err
93643 rm -f conftest.er1
93644 cat conftest.err >&5
93645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93646 (exit $ac_status); } &&
93647 { ac_try='test -z "$ac_cxx_werror_flag"
93648 || test ! -s conftest.err'
93649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93650 (eval $ac_try) 2>&5
93651 ac_status=$?
93652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93653 (exit $ac_status); }; } &&
93654 { ac_try='test -s conftest.$ac_objext'
93655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93656 (eval $ac_try) 2>&5
93657 ac_status=$?
93658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659 (exit $ac_status); }; }; then
93660 glibcxx_cv_func_frexpf_use=yes
93661 else
93662 echo "$as_me: failed program was:" >&5
93663 sed 's/^/| /' conftest.$ac_ext >&5
93664
93665 glibcxx_cv_func_frexpf_use=no
93666 fi
93667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93668 ac_ext=c
93669 ac_cpp='$CPP $CPPFLAGS'
93670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93673
93674
93675 fi
93676
93677 fi
93678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93679 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93680
93681 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93682
93683 for ac_func in frexpf
93684 do
93685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93686 echo "$as_me:$LINENO: checking for $ac_func" >&5
93687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93688 if eval "test \"\${$as_ac_var+set}\" = set"; then
93689 echo $ECHO_N "(cached) $ECHO_C" >&6
93690 else
93691 if test x$gcc_no_link = xyes; then
93692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93694 { (exit 1); exit 1; }; }
93695 fi
93696 cat >conftest.$ac_ext <<_ACEOF
93697 /* confdefs.h. */
93698 _ACEOF
93699 cat confdefs.h >>conftest.$ac_ext
93700 cat >>conftest.$ac_ext <<_ACEOF
93701 /* end confdefs.h. */
93702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93704 #define $ac_func innocuous_$ac_func
93705
93706 /* System header to define __stub macros and hopefully few prototypes,
93707 which can conflict with char $ac_func (); below.
93708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93709 <limits.h> exists even on freestanding compilers. */
93710
93711 #ifdef __STDC__
93712 # include <limits.h>
93713 #else
93714 # include <assert.h>
93715 #endif
93716
93717 #undef $ac_func
93718
93719 /* Override any gcc2 internal prototype to avoid an error. */
93720 #ifdef __cplusplus
93721 extern "C"
93722 {
93723 #endif
93724 /* We use char because int might match the return type of a gcc2
93725 builtin and then its argument prototype would still apply. */
93726 char $ac_func ();
93727 /* The GNU C library defines this for functions which it implements
93728 to always fail with ENOSYS. Some functions are actually named
93729 something starting with __ and the normal name is an alias. */
93730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93731 choke me
93732 #else
93733 char (*f) () = $ac_func;
93734 #endif
93735 #ifdef __cplusplus
93736 }
93737 #endif
93738
93739 int
93740 main ()
93741 {
93742 return f != $ac_func;
93743 ;
93744 return 0;
93745 }
93746 _ACEOF
93747 rm -f conftest.$ac_objext conftest$ac_exeext
93748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93749 (eval $ac_link) 2>conftest.er1
93750 ac_status=$?
93751 grep -v '^ *+' conftest.er1 >conftest.err
93752 rm -f conftest.er1
93753 cat conftest.err >&5
93754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93755 (exit $ac_status); } &&
93756 { ac_try='test -z "$ac_c_werror_flag"
93757 || test ! -s conftest.err'
93758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93759 (eval $ac_try) 2>&5
93760 ac_status=$?
93761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93762 (exit $ac_status); }; } &&
93763 { ac_try='test -s conftest$ac_exeext'
93764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93765 (eval $ac_try) 2>&5
93766 ac_status=$?
93767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93768 (exit $ac_status); }; }; then
93769 eval "$as_ac_var=yes"
93770 else
93771 echo "$as_me: failed program was:" >&5
93772 sed 's/^/| /' conftest.$ac_ext >&5
93773
93774 eval "$as_ac_var=no"
93775 fi
93776 rm -f conftest.err conftest.$ac_objext \
93777 conftest$ac_exeext conftest.$ac_ext
93778 fi
93779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93781 if test `eval echo '${'$as_ac_var'}'` = yes; then
93782 cat >>confdefs.h <<_ACEOF
93783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93784 _ACEOF
93785
93786 fi
93787 done
93788
93789 else
93790
93791 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93792 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93793 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93794 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93795 echo $ECHO_N "(cached) $ECHO_C" >&6
93796 else
93797
93798
93799
93800 ac_ext=cc
93801 ac_cpp='$CXXCPP $CPPFLAGS'
93802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93805
93806 cat >conftest.$ac_ext <<_ACEOF
93807 /* confdefs.h. */
93808 _ACEOF
93809 cat confdefs.h >>conftest.$ac_ext
93810 cat >>conftest.$ac_ext <<_ACEOF
93811 /* end confdefs.h. */
93812 #include <math.h>
93813 int
93814 main ()
93815 {
93816 _frexpf(0, 0);
93817 ;
93818 return 0;
93819 }
93820 _ACEOF
93821 rm -f conftest.$ac_objext
93822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93823 (eval $ac_compile) 2>conftest.er1
93824 ac_status=$?
93825 grep -v '^ *+' conftest.er1 >conftest.err
93826 rm -f conftest.er1
93827 cat conftest.err >&5
93828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93829 (exit $ac_status); } &&
93830 { ac_try='test -z "$ac_cxx_werror_flag"
93831 || test ! -s conftest.err'
93832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93833 (eval $ac_try) 2>&5
93834 ac_status=$?
93835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93836 (exit $ac_status); }; } &&
93837 { ac_try='test -s conftest.$ac_objext'
93838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93839 (eval $ac_try) 2>&5
93840 ac_status=$?
93841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93842 (exit $ac_status); }; }; then
93843 glibcxx_cv_func__frexpf_use=yes
93844 else
93845 echo "$as_me: failed program was:" >&5
93846 sed 's/^/| /' conftest.$ac_ext >&5
93847
93848 glibcxx_cv_func__frexpf_use=no
93849 fi
93850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93851 ac_ext=c
93852 ac_cpp='$CPP $CPPFLAGS'
93853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93856
93857
93858 fi
93859
93860 fi
93861 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93862 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93863
93864 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93865
93866 for ac_func in _frexpf
93867 do
93868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93869 echo "$as_me:$LINENO: checking for $ac_func" >&5
93870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93871 if eval "test \"\${$as_ac_var+set}\" = set"; then
93872 echo $ECHO_N "(cached) $ECHO_C" >&6
93873 else
93874 if test x$gcc_no_link = xyes; then
93875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93877 { (exit 1); exit 1; }; }
93878 fi
93879 cat >conftest.$ac_ext <<_ACEOF
93880 /* confdefs.h. */
93881 _ACEOF
93882 cat confdefs.h >>conftest.$ac_ext
93883 cat >>conftest.$ac_ext <<_ACEOF
93884 /* end confdefs.h. */
93885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93887 #define $ac_func innocuous_$ac_func
93888
93889 /* System header to define __stub macros and hopefully few prototypes,
93890 which can conflict with char $ac_func (); below.
93891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93892 <limits.h> exists even on freestanding compilers. */
93893
93894 #ifdef __STDC__
93895 # include <limits.h>
93896 #else
93897 # include <assert.h>
93898 #endif
93899
93900 #undef $ac_func
93901
93902 /* Override any gcc2 internal prototype to avoid an error. */
93903 #ifdef __cplusplus
93904 extern "C"
93905 {
93906 #endif
93907 /* We use char because int might match the return type of a gcc2
93908 builtin and then its argument prototype would still apply. */
93909 char $ac_func ();
93910 /* The GNU C library defines this for functions which it implements
93911 to always fail with ENOSYS. Some functions are actually named
93912 something starting with __ and the normal name is an alias. */
93913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93914 choke me
93915 #else
93916 char (*f) () = $ac_func;
93917 #endif
93918 #ifdef __cplusplus
93919 }
93920 #endif
93921
93922 int
93923 main ()
93924 {
93925 return f != $ac_func;
93926 ;
93927 return 0;
93928 }
93929 _ACEOF
93930 rm -f conftest.$ac_objext conftest$ac_exeext
93931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93932 (eval $ac_link) 2>conftest.er1
93933 ac_status=$?
93934 grep -v '^ *+' conftest.er1 >conftest.err
93935 rm -f conftest.er1
93936 cat conftest.err >&5
93937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93938 (exit $ac_status); } &&
93939 { ac_try='test -z "$ac_c_werror_flag"
93940 || test ! -s conftest.err'
93941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93942 (eval $ac_try) 2>&5
93943 ac_status=$?
93944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93945 (exit $ac_status); }; } &&
93946 { ac_try='test -s conftest$ac_exeext'
93947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93948 (eval $ac_try) 2>&5
93949 ac_status=$?
93950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93951 (exit $ac_status); }; }; then
93952 eval "$as_ac_var=yes"
93953 else
93954 echo "$as_me: failed program was:" >&5
93955 sed 's/^/| /' conftest.$ac_ext >&5
93956
93957 eval "$as_ac_var=no"
93958 fi
93959 rm -f conftest.err conftest.$ac_objext \
93960 conftest$ac_exeext conftest.$ac_ext
93961 fi
93962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93964 if test `eval echo '${'$as_ac_var'}'` = yes; then
93965 cat >>confdefs.h <<_ACEOF
93966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93967 _ACEOF
93968
93969 fi
93970 done
93971
93972 fi
93973 fi
93974
93975
93976
93977
93978
93979
93980 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93981 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93982 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93983 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
93984 echo $ECHO_N "(cached) $ECHO_C" >&6
93985 else
93986
93987
93988
93989 ac_ext=cc
93990 ac_cpp='$CXXCPP $CPPFLAGS'
93991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93994
93995 cat >conftest.$ac_ext <<_ACEOF
93996 /* confdefs.h. */
93997 _ACEOF
93998 cat confdefs.h >>conftest.$ac_ext
93999 cat >>conftest.$ac_ext <<_ACEOF
94000 /* end confdefs.h. */
94001 #include <math.h>
94002 int
94003 main ()
94004 {
94005 hypotf(0, 0);
94006 ;
94007 return 0;
94008 }
94009 _ACEOF
94010 rm -f conftest.$ac_objext
94011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94012 (eval $ac_compile) 2>conftest.er1
94013 ac_status=$?
94014 grep -v '^ *+' conftest.er1 >conftest.err
94015 rm -f conftest.er1
94016 cat conftest.err >&5
94017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94018 (exit $ac_status); } &&
94019 { ac_try='test -z "$ac_cxx_werror_flag"
94020 || test ! -s conftest.err'
94021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94022 (eval $ac_try) 2>&5
94023 ac_status=$?
94024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94025 (exit $ac_status); }; } &&
94026 { ac_try='test -s conftest.$ac_objext'
94027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94028 (eval $ac_try) 2>&5
94029 ac_status=$?
94030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031 (exit $ac_status); }; }; then
94032 glibcxx_cv_func_hypotf_use=yes
94033 else
94034 echo "$as_me: failed program was:" >&5
94035 sed 's/^/| /' conftest.$ac_ext >&5
94036
94037 glibcxx_cv_func_hypotf_use=no
94038 fi
94039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94040 ac_ext=c
94041 ac_cpp='$CPP $CPPFLAGS'
94042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94045
94046
94047 fi
94048
94049 fi
94050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94051 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94052
94053 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94054
94055 for ac_func in hypotf
94056 do
94057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94058 echo "$as_me:$LINENO: checking for $ac_func" >&5
94059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94060 if eval "test \"\${$as_ac_var+set}\" = set"; then
94061 echo $ECHO_N "(cached) $ECHO_C" >&6
94062 else
94063 if test x$gcc_no_link = xyes; then
94064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94066 { (exit 1); exit 1; }; }
94067 fi
94068 cat >conftest.$ac_ext <<_ACEOF
94069 /* confdefs.h. */
94070 _ACEOF
94071 cat confdefs.h >>conftest.$ac_ext
94072 cat >>conftest.$ac_ext <<_ACEOF
94073 /* end confdefs.h. */
94074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94076 #define $ac_func innocuous_$ac_func
94077
94078 /* System header to define __stub macros and hopefully few prototypes,
94079 which can conflict with char $ac_func (); below.
94080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94081 <limits.h> exists even on freestanding compilers. */
94082
94083 #ifdef __STDC__
94084 # include <limits.h>
94085 #else
94086 # include <assert.h>
94087 #endif
94088
94089 #undef $ac_func
94090
94091 /* Override any gcc2 internal prototype to avoid an error. */
94092 #ifdef __cplusplus
94093 extern "C"
94094 {
94095 #endif
94096 /* We use char because int might match the return type of a gcc2
94097 builtin and then its argument prototype would still apply. */
94098 char $ac_func ();
94099 /* The GNU C library defines this for functions which it implements
94100 to always fail with ENOSYS. Some functions are actually named
94101 something starting with __ and the normal name is an alias. */
94102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94103 choke me
94104 #else
94105 char (*f) () = $ac_func;
94106 #endif
94107 #ifdef __cplusplus
94108 }
94109 #endif
94110
94111 int
94112 main ()
94113 {
94114 return f != $ac_func;
94115 ;
94116 return 0;
94117 }
94118 _ACEOF
94119 rm -f conftest.$ac_objext conftest$ac_exeext
94120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94121 (eval $ac_link) 2>conftest.er1
94122 ac_status=$?
94123 grep -v '^ *+' conftest.er1 >conftest.err
94124 rm -f conftest.er1
94125 cat conftest.err >&5
94126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94127 (exit $ac_status); } &&
94128 { ac_try='test -z "$ac_c_werror_flag"
94129 || test ! -s conftest.err'
94130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94131 (eval $ac_try) 2>&5
94132 ac_status=$?
94133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94134 (exit $ac_status); }; } &&
94135 { ac_try='test -s conftest$ac_exeext'
94136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94137 (eval $ac_try) 2>&5
94138 ac_status=$?
94139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94140 (exit $ac_status); }; }; then
94141 eval "$as_ac_var=yes"
94142 else
94143 echo "$as_me: failed program was:" >&5
94144 sed 's/^/| /' conftest.$ac_ext >&5
94145
94146 eval "$as_ac_var=no"
94147 fi
94148 rm -f conftest.err conftest.$ac_objext \
94149 conftest$ac_exeext conftest.$ac_ext
94150 fi
94151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94153 if test `eval echo '${'$as_ac_var'}'` = yes; then
94154 cat >>confdefs.h <<_ACEOF
94155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94156 _ACEOF
94157
94158 fi
94159 done
94160
94161 else
94162
94163 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94164 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94165 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94166 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94167 echo $ECHO_N "(cached) $ECHO_C" >&6
94168 else
94169
94170
94171
94172 ac_ext=cc
94173 ac_cpp='$CXXCPP $CPPFLAGS'
94174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94177
94178 cat >conftest.$ac_ext <<_ACEOF
94179 /* confdefs.h. */
94180 _ACEOF
94181 cat confdefs.h >>conftest.$ac_ext
94182 cat >>conftest.$ac_ext <<_ACEOF
94183 /* end confdefs.h. */
94184 #include <math.h>
94185 int
94186 main ()
94187 {
94188 _hypotf(0, 0);
94189 ;
94190 return 0;
94191 }
94192 _ACEOF
94193 rm -f conftest.$ac_objext
94194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94195 (eval $ac_compile) 2>conftest.er1
94196 ac_status=$?
94197 grep -v '^ *+' conftest.er1 >conftest.err
94198 rm -f conftest.er1
94199 cat conftest.err >&5
94200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94201 (exit $ac_status); } &&
94202 { ac_try='test -z "$ac_cxx_werror_flag"
94203 || test ! -s conftest.err'
94204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94205 (eval $ac_try) 2>&5
94206 ac_status=$?
94207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94208 (exit $ac_status); }; } &&
94209 { ac_try='test -s conftest.$ac_objext'
94210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94211 (eval $ac_try) 2>&5
94212 ac_status=$?
94213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94214 (exit $ac_status); }; }; then
94215 glibcxx_cv_func__hypotf_use=yes
94216 else
94217 echo "$as_me: failed program was:" >&5
94218 sed 's/^/| /' conftest.$ac_ext >&5
94219
94220 glibcxx_cv_func__hypotf_use=no
94221 fi
94222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94223 ac_ext=c
94224 ac_cpp='$CPP $CPPFLAGS'
94225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94228
94229
94230 fi
94231
94232 fi
94233 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94234 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94235
94236 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94237
94238 for ac_func in _hypotf
94239 do
94240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94241 echo "$as_me:$LINENO: checking for $ac_func" >&5
94242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94243 if eval "test \"\${$as_ac_var+set}\" = set"; then
94244 echo $ECHO_N "(cached) $ECHO_C" >&6
94245 else
94246 if test x$gcc_no_link = xyes; then
94247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94249 { (exit 1); exit 1; }; }
94250 fi
94251 cat >conftest.$ac_ext <<_ACEOF
94252 /* confdefs.h. */
94253 _ACEOF
94254 cat confdefs.h >>conftest.$ac_ext
94255 cat >>conftest.$ac_ext <<_ACEOF
94256 /* end confdefs.h. */
94257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94259 #define $ac_func innocuous_$ac_func
94260
94261 /* System header to define __stub macros and hopefully few prototypes,
94262 which can conflict with char $ac_func (); below.
94263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94264 <limits.h> exists even on freestanding compilers. */
94265
94266 #ifdef __STDC__
94267 # include <limits.h>
94268 #else
94269 # include <assert.h>
94270 #endif
94271
94272 #undef $ac_func
94273
94274 /* Override any gcc2 internal prototype to avoid an error. */
94275 #ifdef __cplusplus
94276 extern "C"
94277 {
94278 #endif
94279 /* We use char because int might match the return type of a gcc2
94280 builtin and then its argument prototype would still apply. */
94281 char $ac_func ();
94282 /* The GNU C library defines this for functions which it implements
94283 to always fail with ENOSYS. Some functions are actually named
94284 something starting with __ and the normal name is an alias. */
94285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94286 choke me
94287 #else
94288 char (*f) () = $ac_func;
94289 #endif
94290 #ifdef __cplusplus
94291 }
94292 #endif
94293
94294 int
94295 main ()
94296 {
94297 return f != $ac_func;
94298 ;
94299 return 0;
94300 }
94301 _ACEOF
94302 rm -f conftest.$ac_objext conftest$ac_exeext
94303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94304 (eval $ac_link) 2>conftest.er1
94305 ac_status=$?
94306 grep -v '^ *+' conftest.er1 >conftest.err
94307 rm -f conftest.er1
94308 cat conftest.err >&5
94309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310 (exit $ac_status); } &&
94311 { ac_try='test -z "$ac_c_werror_flag"
94312 || test ! -s conftest.err'
94313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314 (eval $ac_try) 2>&5
94315 ac_status=$?
94316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317 (exit $ac_status); }; } &&
94318 { ac_try='test -s conftest$ac_exeext'
94319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94320 (eval $ac_try) 2>&5
94321 ac_status=$?
94322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323 (exit $ac_status); }; }; then
94324 eval "$as_ac_var=yes"
94325 else
94326 echo "$as_me: failed program was:" >&5
94327 sed 's/^/| /' conftest.$ac_ext >&5
94328
94329 eval "$as_ac_var=no"
94330 fi
94331 rm -f conftest.err conftest.$ac_objext \
94332 conftest$ac_exeext conftest.$ac_ext
94333 fi
94334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94336 if test `eval echo '${'$as_ac_var'}'` = yes; then
94337 cat >>confdefs.h <<_ACEOF
94338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94339 _ACEOF
94340
94341 fi
94342 done
94343
94344 fi
94345 fi
94346
94347
94348
94349
94350
94351
94352 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94353 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94354 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94355 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94356 echo $ECHO_N "(cached) $ECHO_C" >&6
94357 else
94358
94359
94360
94361 ac_ext=cc
94362 ac_cpp='$CXXCPP $CPPFLAGS'
94363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94366
94367 cat >conftest.$ac_ext <<_ACEOF
94368 /* confdefs.h. */
94369 _ACEOF
94370 cat confdefs.h >>conftest.$ac_ext
94371 cat >>conftest.$ac_ext <<_ACEOF
94372 /* end confdefs.h. */
94373 #include <math.h>
94374 int
94375 main ()
94376 {
94377 ldexpf(0, 0);
94378 ;
94379 return 0;
94380 }
94381 _ACEOF
94382 rm -f conftest.$ac_objext
94383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94384 (eval $ac_compile) 2>conftest.er1
94385 ac_status=$?
94386 grep -v '^ *+' conftest.er1 >conftest.err
94387 rm -f conftest.er1
94388 cat conftest.err >&5
94389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94390 (exit $ac_status); } &&
94391 { ac_try='test -z "$ac_cxx_werror_flag"
94392 || test ! -s conftest.err'
94393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94394 (eval $ac_try) 2>&5
94395 ac_status=$?
94396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94397 (exit $ac_status); }; } &&
94398 { ac_try='test -s conftest.$ac_objext'
94399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94400 (eval $ac_try) 2>&5
94401 ac_status=$?
94402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94403 (exit $ac_status); }; }; then
94404 glibcxx_cv_func_ldexpf_use=yes
94405 else
94406 echo "$as_me: failed program was:" >&5
94407 sed 's/^/| /' conftest.$ac_ext >&5
94408
94409 glibcxx_cv_func_ldexpf_use=no
94410 fi
94411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94412 ac_ext=c
94413 ac_cpp='$CPP $CPPFLAGS'
94414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94417
94418
94419 fi
94420
94421 fi
94422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94423 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94424
94425 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94426
94427 for ac_func in ldexpf
94428 do
94429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94430 echo "$as_me:$LINENO: checking for $ac_func" >&5
94431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94432 if eval "test \"\${$as_ac_var+set}\" = set"; then
94433 echo $ECHO_N "(cached) $ECHO_C" >&6
94434 else
94435 if test x$gcc_no_link = xyes; then
94436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94438 { (exit 1); exit 1; }; }
94439 fi
94440 cat >conftest.$ac_ext <<_ACEOF
94441 /* confdefs.h. */
94442 _ACEOF
94443 cat confdefs.h >>conftest.$ac_ext
94444 cat >>conftest.$ac_ext <<_ACEOF
94445 /* end confdefs.h. */
94446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94448 #define $ac_func innocuous_$ac_func
94449
94450 /* System header to define __stub macros and hopefully few prototypes,
94451 which can conflict with char $ac_func (); below.
94452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94453 <limits.h> exists even on freestanding compilers. */
94454
94455 #ifdef __STDC__
94456 # include <limits.h>
94457 #else
94458 # include <assert.h>
94459 #endif
94460
94461 #undef $ac_func
94462
94463 /* Override any gcc2 internal prototype to avoid an error. */
94464 #ifdef __cplusplus
94465 extern "C"
94466 {
94467 #endif
94468 /* We use char because int might match the return type of a gcc2
94469 builtin and then its argument prototype would still apply. */
94470 char $ac_func ();
94471 /* The GNU C library defines this for functions which it implements
94472 to always fail with ENOSYS. Some functions are actually named
94473 something starting with __ and the normal name is an alias. */
94474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94475 choke me
94476 #else
94477 char (*f) () = $ac_func;
94478 #endif
94479 #ifdef __cplusplus
94480 }
94481 #endif
94482
94483 int
94484 main ()
94485 {
94486 return f != $ac_func;
94487 ;
94488 return 0;
94489 }
94490 _ACEOF
94491 rm -f conftest.$ac_objext conftest$ac_exeext
94492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94493 (eval $ac_link) 2>conftest.er1
94494 ac_status=$?
94495 grep -v '^ *+' conftest.er1 >conftest.err
94496 rm -f conftest.er1
94497 cat conftest.err >&5
94498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94499 (exit $ac_status); } &&
94500 { ac_try='test -z "$ac_c_werror_flag"
94501 || test ! -s conftest.err'
94502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94503 (eval $ac_try) 2>&5
94504 ac_status=$?
94505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94506 (exit $ac_status); }; } &&
94507 { ac_try='test -s conftest$ac_exeext'
94508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94509 (eval $ac_try) 2>&5
94510 ac_status=$?
94511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94512 (exit $ac_status); }; }; then
94513 eval "$as_ac_var=yes"
94514 else
94515 echo "$as_me: failed program was:" >&5
94516 sed 's/^/| /' conftest.$ac_ext >&5
94517
94518 eval "$as_ac_var=no"
94519 fi
94520 rm -f conftest.err conftest.$ac_objext \
94521 conftest$ac_exeext conftest.$ac_ext
94522 fi
94523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94525 if test `eval echo '${'$as_ac_var'}'` = yes; then
94526 cat >>confdefs.h <<_ACEOF
94527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94528 _ACEOF
94529
94530 fi
94531 done
94532
94533 else
94534
94535 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94536 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94537 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94538 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94539 echo $ECHO_N "(cached) $ECHO_C" >&6
94540 else
94541
94542
94543
94544 ac_ext=cc
94545 ac_cpp='$CXXCPP $CPPFLAGS'
94546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94549
94550 cat >conftest.$ac_ext <<_ACEOF
94551 /* confdefs.h. */
94552 _ACEOF
94553 cat confdefs.h >>conftest.$ac_ext
94554 cat >>conftest.$ac_ext <<_ACEOF
94555 /* end confdefs.h. */
94556 #include <math.h>
94557 int
94558 main ()
94559 {
94560 _ldexpf(0, 0);
94561 ;
94562 return 0;
94563 }
94564 _ACEOF
94565 rm -f conftest.$ac_objext
94566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94567 (eval $ac_compile) 2>conftest.er1
94568 ac_status=$?
94569 grep -v '^ *+' conftest.er1 >conftest.err
94570 rm -f conftest.er1
94571 cat conftest.err >&5
94572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94573 (exit $ac_status); } &&
94574 { ac_try='test -z "$ac_cxx_werror_flag"
94575 || test ! -s conftest.err'
94576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94577 (eval $ac_try) 2>&5
94578 ac_status=$?
94579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94580 (exit $ac_status); }; } &&
94581 { ac_try='test -s conftest.$ac_objext'
94582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94583 (eval $ac_try) 2>&5
94584 ac_status=$?
94585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94586 (exit $ac_status); }; }; then
94587 glibcxx_cv_func__ldexpf_use=yes
94588 else
94589 echo "$as_me: failed program was:" >&5
94590 sed 's/^/| /' conftest.$ac_ext >&5
94591
94592 glibcxx_cv_func__ldexpf_use=no
94593 fi
94594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94595 ac_ext=c
94596 ac_cpp='$CPP $CPPFLAGS'
94597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94600
94601
94602 fi
94603
94604 fi
94605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94606 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94607
94608 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94609
94610 for ac_func in _ldexpf
94611 do
94612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94613 echo "$as_me:$LINENO: checking for $ac_func" >&5
94614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94615 if eval "test \"\${$as_ac_var+set}\" = set"; then
94616 echo $ECHO_N "(cached) $ECHO_C" >&6
94617 else
94618 if test x$gcc_no_link = xyes; then
94619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94621 { (exit 1); exit 1; }; }
94622 fi
94623 cat >conftest.$ac_ext <<_ACEOF
94624 /* confdefs.h. */
94625 _ACEOF
94626 cat confdefs.h >>conftest.$ac_ext
94627 cat >>conftest.$ac_ext <<_ACEOF
94628 /* end confdefs.h. */
94629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94631 #define $ac_func innocuous_$ac_func
94632
94633 /* System header to define __stub macros and hopefully few prototypes,
94634 which can conflict with char $ac_func (); below.
94635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94636 <limits.h> exists even on freestanding compilers. */
94637
94638 #ifdef __STDC__
94639 # include <limits.h>
94640 #else
94641 # include <assert.h>
94642 #endif
94643
94644 #undef $ac_func
94645
94646 /* Override any gcc2 internal prototype to avoid an error. */
94647 #ifdef __cplusplus
94648 extern "C"
94649 {
94650 #endif
94651 /* We use char because int might match the return type of a gcc2
94652 builtin and then its argument prototype would still apply. */
94653 char $ac_func ();
94654 /* The GNU C library defines this for functions which it implements
94655 to always fail with ENOSYS. Some functions are actually named
94656 something starting with __ and the normal name is an alias. */
94657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94658 choke me
94659 #else
94660 char (*f) () = $ac_func;
94661 #endif
94662 #ifdef __cplusplus
94663 }
94664 #endif
94665
94666 int
94667 main ()
94668 {
94669 return f != $ac_func;
94670 ;
94671 return 0;
94672 }
94673 _ACEOF
94674 rm -f conftest.$ac_objext conftest$ac_exeext
94675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94676 (eval $ac_link) 2>conftest.er1
94677 ac_status=$?
94678 grep -v '^ *+' conftest.er1 >conftest.err
94679 rm -f conftest.er1
94680 cat conftest.err >&5
94681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94682 (exit $ac_status); } &&
94683 { ac_try='test -z "$ac_c_werror_flag"
94684 || test ! -s conftest.err'
94685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94686 (eval $ac_try) 2>&5
94687 ac_status=$?
94688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94689 (exit $ac_status); }; } &&
94690 { ac_try='test -s conftest$ac_exeext'
94691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94692 (eval $ac_try) 2>&5
94693 ac_status=$?
94694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94695 (exit $ac_status); }; }; then
94696 eval "$as_ac_var=yes"
94697 else
94698 echo "$as_me: failed program was:" >&5
94699 sed 's/^/| /' conftest.$ac_ext >&5
94700
94701 eval "$as_ac_var=no"
94702 fi
94703 rm -f conftest.err conftest.$ac_objext \
94704 conftest$ac_exeext conftest.$ac_ext
94705 fi
94706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94708 if test `eval echo '${'$as_ac_var'}'` = yes; then
94709 cat >>confdefs.h <<_ACEOF
94710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94711 _ACEOF
94712
94713 fi
94714 done
94715
94716 fi
94717 fi
94718
94719
94720
94721
94722
94723
94724 echo "$as_me:$LINENO: checking for logf declaration" >&5
94725 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94726 if test x${glibcxx_cv_func_logf_use+set} != xset; then
94727 if test "${glibcxx_cv_func_logf_use+set}" = set; then
94728 echo $ECHO_N "(cached) $ECHO_C" >&6
94729 else
94730
94731
94732
94733 ac_ext=cc
94734 ac_cpp='$CXXCPP $CPPFLAGS'
94735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94738
94739 cat >conftest.$ac_ext <<_ACEOF
94740 /* confdefs.h. */
94741 _ACEOF
94742 cat confdefs.h >>conftest.$ac_ext
94743 cat >>conftest.$ac_ext <<_ACEOF
94744 /* end confdefs.h. */
94745 #include <math.h>
94746 #ifdef HAVE_IEEEFP_H
94747 #include <ieeefp.h>
94748 #endif
94749
94750 int
94751 main ()
94752 {
94753 logf(0);
94754 ;
94755 return 0;
94756 }
94757 _ACEOF
94758 rm -f conftest.$ac_objext
94759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94760 (eval $ac_compile) 2>conftest.er1
94761 ac_status=$?
94762 grep -v '^ *+' conftest.er1 >conftest.err
94763 rm -f conftest.er1
94764 cat conftest.err >&5
94765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94766 (exit $ac_status); } &&
94767 { ac_try='test -z "$ac_cxx_werror_flag"
94768 || test ! -s conftest.err'
94769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94770 (eval $ac_try) 2>&5
94771 ac_status=$?
94772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94773 (exit $ac_status); }; } &&
94774 { ac_try='test -s conftest.$ac_objext'
94775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94776 (eval $ac_try) 2>&5
94777 ac_status=$?
94778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94779 (exit $ac_status); }; }; then
94780 glibcxx_cv_func_logf_use=yes
94781 else
94782 echo "$as_me: failed program was:" >&5
94783 sed 's/^/| /' conftest.$ac_ext >&5
94784
94785 glibcxx_cv_func_logf_use=no
94786 fi
94787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94788 ac_ext=c
94789 ac_cpp='$CPP $CPPFLAGS'
94790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94793
94794
94795 fi
94796
94797 fi
94798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94799 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94800
94801 if test x$glibcxx_cv_func_logf_use = x"yes"; then
94802
94803 for ac_func in logf
94804 do
94805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94806 echo "$as_me:$LINENO: checking for $ac_func" >&5
94807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94808 if eval "test \"\${$as_ac_var+set}\" = set"; then
94809 echo $ECHO_N "(cached) $ECHO_C" >&6
94810 else
94811 if test x$gcc_no_link = xyes; then
94812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94814 { (exit 1); exit 1; }; }
94815 fi
94816 cat >conftest.$ac_ext <<_ACEOF
94817 /* confdefs.h. */
94818 _ACEOF
94819 cat confdefs.h >>conftest.$ac_ext
94820 cat >>conftest.$ac_ext <<_ACEOF
94821 /* end confdefs.h. */
94822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94824 #define $ac_func innocuous_$ac_func
94825
94826 /* System header to define __stub macros and hopefully few prototypes,
94827 which can conflict with char $ac_func (); below.
94828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94829 <limits.h> exists even on freestanding compilers. */
94830
94831 #ifdef __STDC__
94832 # include <limits.h>
94833 #else
94834 # include <assert.h>
94835 #endif
94836
94837 #undef $ac_func
94838
94839 /* Override any gcc2 internal prototype to avoid an error. */
94840 #ifdef __cplusplus
94841 extern "C"
94842 {
94843 #endif
94844 /* We use char because int might match the return type of a gcc2
94845 builtin and then its argument prototype would still apply. */
94846 char $ac_func ();
94847 /* The GNU C library defines this for functions which it implements
94848 to always fail with ENOSYS. Some functions are actually named
94849 something starting with __ and the normal name is an alias. */
94850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94851 choke me
94852 #else
94853 char (*f) () = $ac_func;
94854 #endif
94855 #ifdef __cplusplus
94856 }
94857 #endif
94858
94859 int
94860 main ()
94861 {
94862 return f != $ac_func;
94863 ;
94864 return 0;
94865 }
94866 _ACEOF
94867 rm -f conftest.$ac_objext conftest$ac_exeext
94868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94869 (eval $ac_link) 2>conftest.er1
94870 ac_status=$?
94871 grep -v '^ *+' conftest.er1 >conftest.err
94872 rm -f conftest.er1
94873 cat conftest.err >&5
94874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94875 (exit $ac_status); } &&
94876 { ac_try='test -z "$ac_c_werror_flag"
94877 || test ! -s conftest.err'
94878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94879 (eval $ac_try) 2>&5
94880 ac_status=$?
94881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94882 (exit $ac_status); }; } &&
94883 { ac_try='test -s conftest$ac_exeext'
94884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94885 (eval $ac_try) 2>&5
94886 ac_status=$?
94887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94888 (exit $ac_status); }; }; then
94889 eval "$as_ac_var=yes"
94890 else
94891 echo "$as_me: failed program was:" >&5
94892 sed 's/^/| /' conftest.$ac_ext >&5
94893
94894 eval "$as_ac_var=no"
94895 fi
94896 rm -f conftest.err conftest.$ac_objext \
94897 conftest$ac_exeext conftest.$ac_ext
94898 fi
94899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94901 if test `eval echo '${'$as_ac_var'}'` = yes; then
94902 cat >>confdefs.h <<_ACEOF
94903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94904 _ACEOF
94905
94906 fi
94907 done
94908
94909 else
94910
94911 echo "$as_me:$LINENO: checking for _logf declaration" >&5
94912 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94913 if test x${glibcxx_cv_func__logf_use+set} != xset; then
94914 if test "${glibcxx_cv_func__logf_use+set}" = set; then
94915 echo $ECHO_N "(cached) $ECHO_C" >&6
94916 else
94917
94918
94919
94920 ac_ext=cc
94921 ac_cpp='$CXXCPP $CPPFLAGS'
94922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94925
94926 cat >conftest.$ac_ext <<_ACEOF
94927 /* confdefs.h. */
94928 _ACEOF
94929 cat confdefs.h >>conftest.$ac_ext
94930 cat >>conftest.$ac_ext <<_ACEOF
94931 /* end confdefs.h. */
94932 #include <math.h>
94933 #ifdef HAVE_IEEEFP_H
94934 #include <ieeefp.h>
94935 #endif
94936
94937 int
94938 main ()
94939 {
94940 _logf(0);
94941 ;
94942 return 0;
94943 }
94944 _ACEOF
94945 rm -f conftest.$ac_objext
94946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94947 (eval $ac_compile) 2>conftest.er1
94948 ac_status=$?
94949 grep -v '^ *+' conftest.er1 >conftest.err
94950 rm -f conftest.er1
94951 cat conftest.err >&5
94952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94953 (exit $ac_status); } &&
94954 { ac_try='test -z "$ac_cxx_werror_flag"
94955 || test ! -s conftest.err'
94956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94957 (eval $ac_try) 2>&5
94958 ac_status=$?
94959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94960 (exit $ac_status); }; } &&
94961 { ac_try='test -s conftest.$ac_objext'
94962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94963 (eval $ac_try) 2>&5
94964 ac_status=$?
94965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94966 (exit $ac_status); }; }; then
94967 glibcxx_cv_func__logf_use=yes
94968 else
94969 echo "$as_me: failed program was:" >&5
94970 sed 's/^/| /' conftest.$ac_ext >&5
94971
94972 glibcxx_cv_func__logf_use=no
94973 fi
94974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94975 ac_ext=c
94976 ac_cpp='$CPP $CPPFLAGS'
94977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94980
94981
94982 fi
94983
94984 fi
94985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
94986 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
94987
94988 if test x$glibcxx_cv_func__logf_use = x"yes"; then
94989
94990 for ac_func in _logf
94991 do
94992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94993 echo "$as_me:$LINENO: checking for $ac_func" >&5
94994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94995 if eval "test \"\${$as_ac_var+set}\" = set"; then
94996 echo $ECHO_N "(cached) $ECHO_C" >&6
94997 else
94998 if test x$gcc_no_link = xyes; then
94999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95001 { (exit 1); exit 1; }; }
95002 fi
95003 cat >conftest.$ac_ext <<_ACEOF
95004 /* confdefs.h. */
95005 _ACEOF
95006 cat confdefs.h >>conftest.$ac_ext
95007 cat >>conftest.$ac_ext <<_ACEOF
95008 /* end confdefs.h. */
95009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95011 #define $ac_func innocuous_$ac_func
95012
95013 /* System header to define __stub macros and hopefully few prototypes,
95014 which can conflict with char $ac_func (); below.
95015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95016 <limits.h> exists even on freestanding compilers. */
95017
95018 #ifdef __STDC__
95019 # include <limits.h>
95020 #else
95021 # include <assert.h>
95022 #endif
95023
95024 #undef $ac_func
95025
95026 /* Override any gcc2 internal prototype to avoid an error. */
95027 #ifdef __cplusplus
95028 extern "C"
95029 {
95030 #endif
95031 /* We use char because int might match the return type of a gcc2
95032 builtin and then its argument prototype would still apply. */
95033 char $ac_func ();
95034 /* The GNU C library defines this for functions which it implements
95035 to always fail with ENOSYS. Some functions are actually named
95036 something starting with __ and the normal name is an alias. */
95037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95038 choke me
95039 #else
95040 char (*f) () = $ac_func;
95041 #endif
95042 #ifdef __cplusplus
95043 }
95044 #endif
95045
95046 int
95047 main ()
95048 {
95049 return f != $ac_func;
95050 ;
95051 return 0;
95052 }
95053 _ACEOF
95054 rm -f conftest.$ac_objext conftest$ac_exeext
95055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95056 (eval $ac_link) 2>conftest.er1
95057 ac_status=$?
95058 grep -v '^ *+' conftest.er1 >conftest.err
95059 rm -f conftest.er1
95060 cat conftest.err >&5
95061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95062 (exit $ac_status); } &&
95063 { ac_try='test -z "$ac_c_werror_flag"
95064 || test ! -s conftest.err'
95065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95066 (eval $ac_try) 2>&5
95067 ac_status=$?
95068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95069 (exit $ac_status); }; } &&
95070 { ac_try='test -s conftest$ac_exeext'
95071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95072 (eval $ac_try) 2>&5
95073 ac_status=$?
95074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95075 (exit $ac_status); }; }; then
95076 eval "$as_ac_var=yes"
95077 else
95078 echo "$as_me: failed program was:" >&5
95079 sed 's/^/| /' conftest.$ac_ext >&5
95080
95081 eval "$as_ac_var=no"
95082 fi
95083 rm -f conftest.err conftest.$ac_objext \
95084 conftest$ac_exeext conftest.$ac_ext
95085 fi
95086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95088 if test `eval echo '${'$as_ac_var'}'` = yes; then
95089 cat >>confdefs.h <<_ACEOF
95090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95091 _ACEOF
95092
95093 fi
95094 done
95095
95096 fi
95097 fi
95098
95099
95100
95101
95102
95103
95104 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95105 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95106 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95107 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95108 echo $ECHO_N "(cached) $ECHO_C" >&6
95109 else
95110
95111
95112
95113 ac_ext=cc
95114 ac_cpp='$CXXCPP $CPPFLAGS'
95115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95118
95119 cat >conftest.$ac_ext <<_ACEOF
95120 /* confdefs.h. */
95121 _ACEOF
95122 cat confdefs.h >>conftest.$ac_ext
95123 cat >>conftest.$ac_ext <<_ACEOF
95124 /* end confdefs.h. */
95125 #include <math.h>
95126 #ifdef HAVE_IEEEFP_H
95127 #include <ieeefp.h>
95128 #endif
95129
95130 int
95131 main ()
95132 {
95133 log10f(0);
95134 ;
95135 return 0;
95136 }
95137 _ACEOF
95138 rm -f conftest.$ac_objext
95139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95140 (eval $ac_compile) 2>conftest.er1
95141 ac_status=$?
95142 grep -v '^ *+' conftest.er1 >conftest.err
95143 rm -f conftest.er1
95144 cat conftest.err >&5
95145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95146 (exit $ac_status); } &&
95147 { ac_try='test -z "$ac_cxx_werror_flag"
95148 || test ! -s conftest.err'
95149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95150 (eval $ac_try) 2>&5
95151 ac_status=$?
95152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95153 (exit $ac_status); }; } &&
95154 { ac_try='test -s conftest.$ac_objext'
95155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95156 (eval $ac_try) 2>&5
95157 ac_status=$?
95158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95159 (exit $ac_status); }; }; then
95160 glibcxx_cv_func_log10f_use=yes
95161 else
95162 echo "$as_me: failed program was:" >&5
95163 sed 's/^/| /' conftest.$ac_ext >&5
95164
95165 glibcxx_cv_func_log10f_use=no
95166 fi
95167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95168 ac_ext=c
95169 ac_cpp='$CPP $CPPFLAGS'
95170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95173
95174
95175 fi
95176
95177 fi
95178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95179 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95180
95181 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95182
95183 for ac_func in log10f
95184 do
95185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95186 echo "$as_me:$LINENO: checking for $ac_func" >&5
95187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95188 if eval "test \"\${$as_ac_var+set}\" = set"; then
95189 echo $ECHO_N "(cached) $ECHO_C" >&6
95190 else
95191 if test x$gcc_no_link = xyes; then
95192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95194 { (exit 1); exit 1; }; }
95195 fi
95196 cat >conftest.$ac_ext <<_ACEOF
95197 /* confdefs.h. */
95198 _ACEOF
95199 cat confdefs.h >>conftest.$ac_ext
95200 cat >>conftest.$ac_ext <<_ACEOF
95201 /* end confdefs.h. */
95202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95204 #define $ac_func innocuous_$ac_func
95205
95206 /* System header to define __stub macros and hopefully few prototypes,
95207 which can conflict with char $ac_func (); below.
95208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95209 <limits.h> exists even on freestanding compilers. */
95210
95211 #ifdef __STDC__
95212 # include <limits.h>
95213 #else
95214 # include <assert.h>
95215 #endif
95216
95217 #undef $ac_func
95218
95219 /* Override any gcc2 internal prototype to avoid an error. */
95220 #ifdef __cplusplus
95221 extern "C"
95222 {
95223 #endif
95224 /* We use char because int might match the return type of a gcc2
95225 builtin and then its argument prototype would still apply. */
95226 char $ac_func ();
95227 /* The GNU C library defines this for functions which it implements
95228 to always fail with ENOSYS. Some functions are actually named
95229 something starting with __ and the normal name is an alias. */
95230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95231 choke me
95232 #else
95233 char (*f) () = $ac_func;
95234 #endif
95235 #ifdef __cplusplus
95236 }
95237 #endif
95238
95239 int
95240 main ()
95241 {
95242 return f != $ac_func;
95243 ;
95244 return 0;
95245 }
95246 _ACEOF
95247 rm -f conftest.$ac_objext conftest$ac_exeext
95248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95249 (eval $ac_link) 2>conftest.er1
95250 ac_status=$?
95251 grep -v '^ *+' conftest.er1 >conftest.err
95252 rm -f conftest.er1
95253 cat conftest.err >&5
95254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95255 (exit $ac_status); } &&
95256 { ac_try='test -z "$ac_c_werror_flag"
95257 || test ! -s conftest.err'
95258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95259 (eval $ac_try) 2>&5
95260 ac_status=$?
95261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95262 (exit $ac_status); }; } &&
95263 { ac_try='test -s conftest$ac_exeext'
95264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95265 (eval $ac_try) 2>&5
95266 ac_status=$?
95267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95268 (exit $ac_status); }; }; then
95269 eval "$as_ac_var=yes"
95270 else
95271 echo "$as_me: failed program was:" >&5
95272 sed 's/^/| /' conftest.$ac_ext >&5
95273
95274 eval "$as_ac_var=no"
95275 fi
95276 rm -f conftest.err conftest.$ac_objext \
95277 conftest$ac_exeext conftest.$ac_ext
95278 fi
95279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95281 if test `eval echo '${'$as_ac_var'}'` = yes; then
95282 cat >>confdefs.h <<_ACEOF
95283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95284 _ACEOF
95285
95286 fi
95287 done
95288
95289 else
95290
95291 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95292 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95293 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95294 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95295 echo $ECHO_N "(cached) $ECHO_C" >&6
95296 else
95297
95298
95299
95300 ac_ext=cc
95301 ac_cpp='$CXXCPP $CPPFLAGS'
95302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95305
95306 cat >conftest.$ac_ext <<_ACEOF
95307 /* confdefs.h. */
95308 _ACEOF
95309 cat confdefs.h >>conftest.$ac_ext
95310 cat >>conftest.$ac_ext <<_ACEOF
95311 /* end confdefs.h. */
95312 #include <math.h>
95313 #ifdef HAVE_IEEEFP_H
95314 #include <ieeefp.h>
95315 #endif
95316
95317 int
95318 main ()
95319 {
95320 _log10f(0);
95321 ;
95322 return 0;
95323 }
95324 _ACEOF
95325 rm -f conftest.$ac_objext
95326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95327 (eval $ac_compile) 2>conftest.er1
95328 ac_status=$?
95329 grep -v '^ *+' conftest.er1 >conftest.err
95330 rm -f conftest.er1
95331 cat conftest.err >&5
95332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95333 (exit $ac_status); } &&
95334 { ac_try='test -z "$ac_cxx_werror_flag"
95335 || test ! -s conftest.err'
95336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95337 (eval $ac_try) 2>&5
95338 ac_status=$?
95339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95340 (exit $ac_status); }; } &&
95341 { ac_try='test -s conftest.$ac_objext'
95342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95343 (eval $ac_try) 2>&5
95344 ac_status=$?
95345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95346 (exit $ac_status); }; }; then
95347 glibcxx_cv_func__log10f_use=yes
95348 else
95349 echo "$as_me: failed program was:" >&5
95350 sed 's/^/| /' conftest.$ac_ext >&5
95351
95352 glibcxx_cv_func__log10f_use=no
95353 fi
95354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95355 ac_ext=c
95356 ac_cpp='$CPP $CPPFLAGS'
95357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95360
95361
95362 fi
95363
95364 fi
95365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95366 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95367
95368 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95369
95370 for ac_func in _log10f
95371 do
95372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95373 echo "$as_me:$LINENO: checking for $ac_func" >&5
95374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95375 if eval "test \"\${$as_ac_var+set}\" = set"; then
95376 echo $ECHO_N "(cached) $ECHO_C" >&6
95377 else
95378 if test x$gcc_no_link = xyes; then
95379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95381 { (exit 1); exit 1; }; }
95382 fi
95383 cat >conftest.$ac_ext <<_ACEOF
95384 /* confdefs.h. */
95385 _ACEOF
95386 cat confdefs.h >>conftest.$ac_ext
95387 cat >>conftest.$ac_ext <<_ACEOF
95388 /* end confdefs.h. */
95389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95391 #define $ac_func innocuous_$ac_func
95392
95393 /* System header to define __stub macros and hopefully few prototypes,
95394 which can conflict with char $ac_func (); below.
95395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95396 <limits.h> exists even on freestanding compilers. */
95397
95398 #ifdef __STDC__
95399 # include <limits.h>
95400 #else
95401 # include <assert.h>
95402 #endif
95403
95404 #undef $ac_func
95405
95406 /* Override any gcc2 internal prototype to avoid an error. */
95407 #ifdef __cplusplus
95408 extern "C"
95409 {
95410 #endif
95411 /* We use char because int might match the return type of a gcc2
95412 builtin and then its argument prototype would still apply. */
95413 char $ac_func ();
95414 /* The GNU C library defines this for functions which it implements
95415 to always fail with ENOSYS. Some functions are actually named
95416 something starting with __ and the normal name is an alias. */
95417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95418 choke me
95419 #else
95420 char (*f) () = $ac_func;
95421 #endif
95422 #ifdef __cplusplus
95423 }
95424 #endif
95425
95426 int
95427 main ()
95428 {
95429 return f != $ac_func;
95430 ;
95431 return 0;
95432 }
95433 _ACEOF
95434 rm -f conftest.$ac_objext conftest$ac_exeext
95435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95436 (eval $ac_link) 2>conftest.er1
95437 ac_status=$?
95438 grep -v '^ *+' conftest.er1 >conftest.err
95439 rm -f conftest.er1
95440 cat conftest.err >&5
95441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95442 (exit $ac_status); } &&
95443 { ac_try='test -z "$ac_c_werror_flag"
95444 || test ! -s conftest.err'
95445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95446 (eval $ac_try) 2>&5
95447 ac_status=$?
95448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95449 (exit $ac_status); }; } &&
95450 { ac_try='test -s conftest$ac_exeext'
95451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95452 (eval $ac_try) 2>&5
95453 ac_status=$?
95454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95455 (exit $ac_status); }; }; then
95456 eval "$as_ac_var=yes"
95457 else
95458 echo "$as_me: failed program was:" >&5
95459 sed 's/^/| /' conftest.$ac_ext >&5
95460
95461 eval "$as_ac_var=no"
95462 fi
95463 rm -f conftest.err conftest.$ac_objext \
95464 conftest$ac_exeext conftest.$ac_ext
95465 fi
95466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95468 if test `eval echo '${'$as_ac_var'}'` = yes; then
95469 cat >>confdefs.h <<_ACEOF
95470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95471 _ACEOF
95472
95473 fi
95474 done
95475
95476 fi
95477 fi
95478
95479
95480
95481
95482
95483
95484 echo "$as_me:$LINENO: checking for modff declaration" >&5
95485 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95486 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95487 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95488 echo $ECHO_N "(cached) $ECHO_C" >&6
95489 else
95490
95491
95492
95493 ac_ext=cc
95494 ac_cpp='$CXXCPP $CPPFLAGS'
95495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95498
95499 cat >conftest.$ac_ext <<_ACEOF
95500 /* confdefs.h. */
95501 _ACEOF
95502 cat confdefs.h >>conftest.$ac_ext
95503 cat >>conftest.$ac_ext <<_ACEOF
95504 /* end confdefs.h. */
95505 #include <math.h>
95506 int
95507 main ()
95508 {
95509 modff(0, 0);
95510 ;
95511 return 0;
95512 }
95513 _ACEOF
95514 rm -f conftest.$ac_objext
95515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95516 (eval $ac_compile) 2>conftest.er1
95517 ac_status=$?
95518 grep -v '^ *+' conftest.er1 >conftest.err
95519 rm -f conftest.er1
95520 cat conftest.err >&5
95521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95522 (exit $ac_status); } &&
95523 { ac_try='test -z "$ac_cxx_werror_flag"
95524 || test ! -s conftest.err'
95525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95526 (eval $ac_try) 2>&5
95527 ac_status=$?
95528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95529 (exit $ac_status); }; } &&
95530 { ac_try='test -s conftest.$ac_objext'
95531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95532 (eval $ac_try) 2>&5
95533 ac_status=$?
95534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95535 (exit $ac_status); }; }; then
95536 glibcxx_cv_func_modff_use=yes
95537 else
95538 echo "$as_me: failed program was:" >&5
95539 sed 's/^/| /' conftest.$ac_ext >&5
95540
95541 glibcxx_cv_func_modff_use=no
95542 fi
95543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95544 ac_ext=c
95545 ac_cpp='$CPP $CPPFLAGS'
95546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95549
95550
95551 fi
95552
95553 fi
95554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95555 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95556
95557 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95558
95559 for ac_func in modff
95560 do
95561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95562 echo "$as_me:$LINENO: checking for $ac_func" >&5
95563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95564 if eval "test \"\${$as_ac_var+set}\" = set"; then
95565 echo $ECHO_N "(cached) $ECHO_C" >&6
95566 else
95567 if test x$gcc_no_link = xyes; then
95568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95570 { (exit 1); exit 1; }; }
95571 fi
95572 cat >conftest.$ac_ext <<_ACEOF
95573 /* confdefs.h. */
95574 _ACEOF
95575 cat confdefs.h >>conftest.$ac_ext
95576 cat >>conftest.$ac_ext <<_ACEOF
95577 /* end confdefs.h. */
95578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95580 #define $ac_func innocuous_$ac_func
95581
95582 /* System header to define __stub macros and hopefully few prototypes,
95583 which can conflict with char $ac_func (); below.
95584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95585 <limits.h> exists even on freestanding compilers. */
95586
95587 #ifdef __STDC__
95588 # include <limits.h>
95589 #else
95590 # include <assert.h>
95591 #endif
95592
95593 #undef $ac_func
95594
95595 /* Override any gcc2 internal prototype to avoid an error. */
95596 #ifdef __cplusplus
95597 extern "C"
95598 {
95599 #endif
95600 /* We use char because int might match the return type of a gcc2
95601 builtin and then its argument prototype would still apply. */
95602 char $ac_func ();
95603 /* The GNU C library defines this for functions which it implements
95604 to always fail with ENOSYS. Some functions are actually named
95605 something starting with __ and the normal name is an alias. */
95606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95607 choke me
95608 #else
95609 char (*f) () = $ac_func;
95610 #endif
95611 #ifdef __cplusplus
95612 }
95613 #endif
95614
95615 int
95616 main ()
95617 {
95618 return f != $ac_func;
95619 ;
95620 return 0;
95621 }
95622 _ACEOF
95623 rm -f conftest.$ac_objext conftest$ac_exeext
95624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95625 (eval $ac_link) 2>conftest.er1
95626 ac_status=$?
95627 grep -v '^ *+' conftest.er1 >conftest.err
95628 rm -f conftest.er1
95629 cat conftest.err >&5
95630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95631 (exit $ac_status); } &&
95632 { ac_try='test -z "$ac_c_werror_flag"
95633 || test ! -s conftest.err'
95634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95635 (eval $ac_try) 2>&5
95636 ac_status=$?
95637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95638 (exit $ac_status); }; } &&
95639 { ac_try='test -s conftest$ac_exeext'
95640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95641 (eval $ac_try) 2>&5
95642 ac_status=$?
95643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95644 (exit $ac_status); }; }; then
95645 eval "$as_ac_var=yes"
95646 else
95647 echo "$as_me: failed program was:" >&5
95648 sed 's/^/| /' conftest.$ac_ext >&5
95649
95650 eval "$as_ac_var=no"
95651 fi
95652 rm -f conftest.err conftest.$ac_objext \
95653 conftest$ac_exeext conftest.$ac_ext
95654 fi
95655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95657 if test `eval echo '${'$as_ac_var'}'` = yes; then
95658 cat >>confdefs.h <<_ACEOF
95659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95660 _ACEOF
95661
95662 fi
95663 done
95664
95665 else
95666
95667 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95668 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95669 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95670 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95671 echo $ECHO_N "(cached) $ECHO_C" >&6
95672 else
95673
95674
95675
95676 ac_ext=cc
95677 ac_cpp='$CXXCPP $CPPFLAGS'
95678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95681
95682 cat >conftest.$ac_ext <<_ACEOF
95683 /* confdefs.h. */
95684 _ACEOF
95685 cat confdefs.h >>conftest.$ac_ext
95686 cat >>conftest.$ac_ext <<_ACEOF
95687 /* end confdefs.h. */
95688 #include <math.h>
95689 int
95690 main ()
95691 {
95692 _modff(0, 0);
95693 ;
95694 return 0;
95695 }
95696 _ACEOF
95697 rm -f conftest.$ac_objext
95698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95699 (eval $ac_compile) 2>conftest.er1
95700 ac_status=$?
95701 grep -v '^ *+' conftest.er1 >conftest.err
95702 rm -f conftest.er1
95703 cat conftest.err >&5
95704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95705 (exit $ac_status); } &&
95706 { ac_try='test -z "$ac_cxx_werror_flag"
95707 || test ! -s conftest.err'
95708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95709 (eval $ac_try) 2>&5
95710 ac_status=$?
95711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95712 (exit $ac_status); }; } &&
95713 { ac_try='test -s conftest.$ac_objext'
95714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95715 (eval $ac_try) 2>&5
95716 ac_status=$?
95717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95718 (exit $ac_status); }; }; then
95719 glibcxx_cv_func__modff_use=yes
95720 else
95721 echo "$as_me: failed program was:" >&5
95722 sed 's/^/| /' conftest.$ac_ext >&5
95723
95724 glibcxx_cv_func__modff_use=no
95725 fi
95726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95727 ac_ext=c
95728 ac_cpp='$CPP $CPPFLAGS'
95729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95732
95733
95734 fi
95735
95736 fi
95737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95738 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95739
95740 if test x$glibcxx_cv_func__modff_use = x"yes"; then
95741
95742 for ac_func in _modff
95743 do
95744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95745 echo "$as_me:$LINENO: checking for $ac_func" >&5
95746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95747 if eval "test \"\${$as_ac_var+set}\" = set"; then
95748 echo $ECHO_N "(cached) $ECHO_C" >&6
95749 else
95750 if test x$gcc_no_link = xyes; then
95751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95753 { (exit 1); exit 1; }; }
95754 fi
95755 cat >conftest.$ac_ext <<_ACEOF
95756 /* confdefs.h. */
95757 _ACEOF
95758 cat confdefs.h >>conftest.$ac_ext
95759 cat >>conftest.$ac_ext <<_ACEOF
95760 /* end confdefs.h. */
95761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95763 #define $ac_func innocuous_$ac_func
95764
95765 /* System header to define __stub macros and hopefully few prototypes,
95766 which can conflict with char $ac_func (); below.
95767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95768 <limits.h> exists even on freestanding compilers. */
95769
95770 #ifdef __STDC__
95771 # include <limits.h>
95772 #else
95773 # include <assert.h>
95774 #endif
95775
95776 #undef $ac_func
95777
95778 /* Override any gcc2 internal prototype to avoid an error. */
95779 #ifdef __cplusplus
95780 extern "C"
95781 {
95782 #endif
95783 /* We use char because int might match the return type of a gcc2
95784 builtin and then its argument prototype would still apply. */
95785 char $ac_func ();
95786 /* The GNU C library defines this for functions which it implements
95787 to always fail with ENOSYS. Some functions are actually named
95788 something starting with __ and the normal name is an alias. */
95789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95790 choke me
95791 #else
95792 char (*f) () = $ac_func;
95793 #endif
95794 #ifdef __cplusplus
95795 }
95796 #endif
95797
95798 int
95799 main ()
95800 {
95801 return f != $ac_func;
95802 ;
95803 return 0;
95804 }
95805 _ACEOF
95806 rm -f conftest.$ac_objext conftest$ac_exeext
95807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95808 (eval $ac_link) 2>conftest.er1
95809 ac_status=$?
95810 grep -v '^ *+' conftest.er1 >conftest.err
95811 rm -f conftest.er1
95812 cat conftest.err >&5
95813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95814 (exit $ac_status); } &&
95815 { ac_try='test -z "$ac_c_werror_flag"
95816 || test ! -s conftest.err'
95817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95818 (eval $ac_try) 2>&5
95819 ac_status=$?
95820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95821 (exit $ac_status); }; } &&
95822 { ac_try='test -s conftest$ac_exeext'
95823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95824 (eval $ac_try) 2>&5
95825 ac_status=$?
95826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95827 (exit $ac_status); }; }; then
95828 eval "$as_ac_var=yes"
95829 else
95830 echo "$as_me: failed program was:" >&5
95831 sed 's/^/| /' conftest.$ac_ext >&5
95832
95833 eval "$as_ac_var=no"
95834 fi
95835 rm -f conftest.err conftest.$ac_objext \
95836 conftest$ac_exeext conftest.$ac_ext
95837 fi
95838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95840 if test `eval echo '${'$as_ac_var'}'` = yes; then
95841 cat >>confdefs.h <<_ACEOF
95842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95843 _ACEOF
95844
95845 fi
95846 done
95847
95848 fi
95849 fi
95850
95851
95852
95853
95854
95855
95856 echo "$as_me:$LINENO: checking for modf declaration" >&5
95857 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95858 if test x${glibcxx_cv_func_modf_use+set} != xset; then
95859 if test "${glibcxx_cv_func_modf_use+set}" = set; then
95860 echo $ECHO_N "(cached) $ECHO_C" >&6
95861 else
95862
95863
95864
95865 ac_ext=cc
95866 ac_cpp='$CXXCPP $CPPFLAGS'
95867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95870
95871 cat >conftest.$ac_ext <<_ACEOF
95872 /* confdefs.h. */
95873 _ACEOF
95874 cat confdefs.h >>conftest.$ac_ext
95875 cat >>conftest.$ac_ext <<_ACEOF
95876 /* end confdefs.h. */
95877 #include <math.h>
95878 int
95879 main ()
95880 {
95881 modf(0, 0);
95882 ;
95883 return 0;
95884 }
95885 _ACEOF
95886 rm -f conftest.$ac_objext
95887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95888 (eval $ac_compile) 2>conftest.er1
95889 ac_status=$?
95890 grep -v '^ *+' conftest.er1 >conftest.err
95891 rm -f conftest.er1
95892 cat conftest.err >&5
95893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95894 (exit $ac_status); } &&
95895 { ac_try='test -z "$ac_cxx_werror_flag"
95896 || test ! -s conftest.err'
95897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95898 (eval $ac_try) 2>&5
95899 ac_status=$?
95900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95901 (exit $ac_status); }; } &&
95902 { ac_try='test -s conftest.$ac_objext'
95903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95904 (eval $ac_try) 2>&5
95905 ac_status=$?
95906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95907 (exit $ac_status); }; }; then
95908 glibcxx_cv_func_modf_use=yes
95909 else
95910 echo "$as_me: failed program was:" >&5
95911 sed 's/^/| /' conftest.$ac_ext >&5
95912
95913 glibcxx_cv_func_modf_use=no
95914 fi
95915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95916 ac_ext=c
95917 ac_cpp='$CPP $CPPFLAGS'
95918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95921
95922
95923 fi
95924
95925 fi
95926 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95927 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95928
95929 if test x$glibcxx_cv_func_modf_use = x"yes"; then
95930
95931 for ac_func in modf
95932 do
95933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95934 echo "$as_me:$LINENO: checking for $ac_func" >&5
95935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95936 if eval "test \"\${$as_ac_var+set}\" = set"; then
95937 echo $ECHO_N "(cached) $ECHO_C" >&6
95938 else
95939 if test x$gcc_no_link = xyes; then
95940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95942 { (exit 1); exit 1; }; }
95943 fi
95944 cat >conftest.$ac_ext <<_ACEOF
95945 /* confdefs.h. */
95946 _ACEOF
95947 cat confdefs.h >>conftest.$ac_ext
95948 cat >>conftest.$ac_ext <<_ACEOF
95949 /* end confdefs.h. */
95950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95952 #define $ac_func innocuous_$ac_func
95953
95954 /* System header to define __stub macros and hopefully few prototypes,
95955 which can conflict with char $ac_func (); below.
95956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95957 <limits.h> exists even on freestanding compilers. */
95958
95959 #ifdef __STDC__
95960 # include <limits.h>
95961 #else
95962 # include <assert.h>
95963 #endif
95964
95965 #undef $ac_func
95966
95967 /* Override any gcc2 internal prototype to avoid an error. */
95968 #ifdef __cplusplus
95969 extern "C"
95970 {
95971 #endif
95972 /* We use char because int might match the return type of a gcc2
95973 builtin and then its argument prototype would still apply. */
95974 char $ac_func ();
95975 /* The GNU C library defines this for functions which it implements
95976 to always fail with ENOSYS. Some functions are actually named
95977 something starting with __ and the normal name is an alias. */
95978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95979 choke me
95980 #else
95981 char (*f) () = $ac_func;
95982 #endif
95983 #ifdef __cplusplus
95984 }
95985 #endif
95986
95987 int
95988 main ()
95989 {
95990 return f != $ac_func;
95991 ;
95992 return 0;
95993 }
95994 _ACEOF
95995 rm -f conftest.$ac_objext conftest$ac_exeext
95996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95997 (eval $ac_link) 2>conftest.er1
95998 ac_status=$?
95999 grep -v '^ *+' conftest.er1 >conftest.err
96000 rm -f conftest.er1
96001 cat conftest.err >&5
96002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96003 (exit $ac_status); } &&
96004 { ac_try='test -z "$ac_c_werror_flag"
96005 || test ! -s conftest.err'
96006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96007 (eval $ac_try) 2>&5
96008 ac_status=$?
96009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96010 (exit $ac_status); }; } &&
96011 { ac_try='test -s conftest$ac_exeext'
96012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96013 (eval $ac_try) 2>&5
96014 ac_status=$?
96015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96016 (exit $ac_status); }; }; then
96017 eval "$as_ac_var=yes"
96018 else
96019 echo "$as_me: failed program was:" >&5
96020 sed 's/^/| /' conftest.$ac_ext >&5
96021
96022 eval "$as_ac_var=no"
96023 fi
96024 rm -f conftest.err conftest.$ac_objext \
96025 conftest$ac_exeext conftest.$ac_ext
96026 fi
96027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96029 if test `eval echo '${'$as_ac_var'}'` = yes; then
96030 cat >>confdefs.h <<_ACEOF
96031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96032 _ACEOF
96033
96034 fi
96035 done
96036
96037 else
96038
96039 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96040 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96041 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96042 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96043 echo $ECHO_N "(cached) $ECHO_C" >&6
96044 else
96045
96046
96047
96048 ac_ext=cc
96049 ac_cpp='$CXXCPP $CPPFLAGS'
96050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96053
96054 cat >conftest.$ac_ext <<_ACEOF
96055 /* confdefs.h. */
96056 _ACEOF
96057 cat confdefs.h >>conftest.$ac_ext
96058 cat >>conftest.$ac_ext <<_ACEOF
96059 /* end confdefs.h. */
96060 #include <math.h>
96061 int
96062 main ()
96063 {
96064 _modf(0, 0);
96065 ;
96066 return 0;
96067 }
96068 _ACEOF
96069 rm -f conftest.$ac_objext
96070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96071 (eval $ac_compile) 2>conftest.er1
96072 ac_status=$?
96073 grep -v '^ *+' conftest.er1 >conftest.err
96074 rm -f conftest.er1
96075 cat conftest.err >&5
96076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96077 (exit $ac_status); } &&
96078 { ac_try='test -z "$ac_cxx_werror_flag"
96079 || test ! -s conftest.err'
96080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96081 (eval $ac_try) 2>&5
96082 ac_status=$?
96083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96084 (exit $ac_status); }; } &&
96085 { ac_try='test -s conftest.$ac_objext'
96086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96087 (eval $ac_try) 2>&5
96088 ac_status=$?
96089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96090 (exit $ac_status); }; }; then
96091 glibcxx_cv_func__modf_use=yes
96092 else
96093 echo "$as_me: failed program was:" >&5
96094 sed 's/^/| /' conftest.$ac_ext >&5
96095
96096 glibcxx_cv_func__modf_use=no
96097 fi
96098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96099 ac_ext=c
96100 ac_cpp='$CPP $CPPFLAGS'
96101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96104
96105
96106 fi
96107
96108 fi
96109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96110 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96111
96112 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96113
96114 for ac_func in _modf
96115 do
96116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96117 echo "$as_me:$LINENO: checking for $ac_func" >&5
96118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96119 if eval "test \"\${$as_ac_var+set}\" = set"; then
96120 echo $ECHO_N "(cached) $ECHO_C" >&6
96121 else
96122 if test x$gcc_no_link = xyes; then
96123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96125 { (exit 1); exit 1; }; }
96126 fi
96127 cat >conftest.$ac_ext <<_ACEOF
96128 /* confdefs.h. */
96129 _ACEOF
96130 cat confdefs.h >>conftest.$ac_ext
96131 cat >>conftest.$ac_ext <<_ACEOF
96132 /* end confdefs.h. */
96133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96135 #define $ac_func innocuous_$ac_func
96136
96137 /* System header to define __stub macros and hopefully few prototypes,
96138 which can conflict with char $ac_func (); below.
96139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96140 <limits.h> exists even on freestanding compilers. */
96141
96142 #ifdef __STDC__
96143 # include <limits.h>
96144 #else
96145 # include <assert.h>
96146 #endif
96147
96148 #undef $ac_func
96149
96150 /* Override any gcc2 internal prototype to avoid an error. */
96151 #ifdef __cplusplus
96152 extern "C"
96153 {
96154 #endif
96155 /* We use char because int might match the return type of a gcc2
96156 builtin and then its argument prototype would still apply. */
96157 char $ac_func ();
96158 /* The GNU C library defines this for functions which it implements
96159 to always fail with ENOSYS. Some functions are actually named
96160 something starting with __ and the normal name is an alias. */
96161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96162 choke me
96163 #else
96164 char (*f) () = $ac_func;
96165 #endif
96166 #ifdef __cplusplus
96167 }
96168 #endif
96169
96170 int
96171 main ()
96172 {
96173 return f != $ac_func;
96174 ;
96175 return 0;
96176 }
96177 _ACEOF
96178 rm -f conftest.$ac_objext conftest$ac_exeext
96179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96180 (eval $ac_link) 2>conftest.er1
96181 ac_status=$?
96182 grep -v '^ *+' conftest.er1 >conftest.err
96183 rm -f conftest.er1
96184 cat conftest.err >&5
96185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96186 (exit $ac_status); } &&
96187 { ac_try='test -z "$ac_c_werror_flag"
96188 || test ! -s conftest.err'
96189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96190 (eval $ac_try) 2>&5
96191 ac_status=$?
96192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96193 (exit $ac_status); }; } &&
96194 { ac_try='test -s conftest$ac_exeext'
96195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96196 (eval $ac_try) 2>&5
96197 ac_status=$?
96198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199 (exit $ac_status); }; }; then
96200 eval "$as_ac_var=yes"
96201 else
96202 echo "$as_me: failed program was:" >&5
96203 sed 's/^/| /' conftest.$ac_ext >&5
96204
96205 eval "$as_ac_var=no"
96206 fi
96207 rm -f conftest.err conftest.$ac_objext \
96208 conftest$ac_exeext conftest.$ac_ext
96209 fi
96210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96212 if test `eval echo '${'$as_ac_var'}'` = yes; then
96213 cat >>confdefs.h <<_ACEOF
96214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96215 _ACEOF
96216
96217 fi
96218 done
96219
96220 fi
96221 fi
96222
96223
96224
96225
96226
96227
96228 echo "$as_me:$LINENO: checking for powf declaration" >&5
96229 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96230 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96231 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96232 echo $ECHO_N "(cached) $ECHO_C" >&6
96233 else
96234
96235
96236
96237 ac_ext=cc
96238 ac_cpp='$CXXCPP $CPPFLAGS'
96239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96242
96243 cat >conftest.$ac_ext <<_ACEOF
96244 /* confdefs.h. */
96245 _ACEOF
96246 cat confdefs.h >>conftest.$ac_ext
96247 cat >>conftest.$ac_ext <<_ACEOF
96248 /* end confdefs.h. */
96249 #include <math.h>
96250 int
96251 main ()
96252 {
96253 powf(0, 0);
96254 ;
96255 return 0;
96256 }
96257 _ACEOF
96258 rm -f conftest.$ac_objext
96259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96260 (eval $ac_compile) 2>conftest.er1
96261 ac_status=$?
96262 grep -v '^ *+' conftest.er1 >conftest.err
96263 rm -f conftest.er1
96264 cat conftest.err >&5
96265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96266 (exit $ac_status); } &&
96267 { ac_try='test -z "$ac_cxx_werror_flag"
96268 || test ! -s conftest.err'
96269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96270 (eval $ac_try) 2>&5
96271 ac_status=$?
96272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96273 (exit $ac_status); }; } &&
96274 { ac_try='test -s conftest.$ac_objext'
96275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96276 (eval $ac_try) 2>&5
96277 ac_status=$?
96278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279 (exit $ac_status); }; }; then
96280 glibcxx_cv_func_powf_use=yes
96281 else
96282 echo "$as_me: failed program was:" >&5
96283 sed 's/^/| /' conftest.$ac_ext >&5
96284
96285 glibcxx_cv_func_powf_use=no
96286 fi
96287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96288 ac_ext=c
96289 ac_cpp='$CPP $CPPFLAGS'
96290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96293
96294
96295 fi
96296
96297 fi
96298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96299 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96300
96301 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96302
96303 for ac_func in powf
96304 do
96305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96306 echo "$as_me:$LINENO: checking for $ac_func" >&5
96307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96308 if eval "test \"\${$as_ac_var+set}\" = set"; then
96309 echo $ECHO_N "(cached) $ECHO_C" >&6
96310 else
96311 if test x$gcc_no_link = xyes; then
96312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96314 { (exit 1); exit 1; }; }
96315 fi
96316 cat >conftest.$ac_ext <<_ACEOF
96317 /* confdefs.h. */
96318 _ACEOF
96319 cat confdefs.h >>conftest.$ac_ext
96320 cat >>conftest.$ac_ext <<_ACEOF
96321 /* end confdefs.h. */
96322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96324 #define $ac_func innocuous_$ac_func
96325
96326 /* System header to define __stub macros and hopefully few prototypes,
96327 which can conflict with char $ac_func (); below.
96328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96329 <limits.h> exists even on freestanding compilers. */
96330
96331 #ifdef __STDC__
96332 # include <limits.h>
96333 #else
96334 # include <assert.h>
96335 #endif
96336
96337 #undef $ac_func
96338
96339 /* Override any gcc2 internal prototype to avoid an error. */
96340 #ifdef __cplusplus
96341 extern "C"
96342 {
96343 #endif
96344 /* We use char because int might match the return type of a gcc2
96345 builtin and then its argument prototype would still apply. */
96346 char $ac_func ();
96347 /* The GNU C library defines this for functions which it implements
96348 to always fail with ENOSYS. Some functions are actually named
96349 something starting with __ and the normal name is an alias. */
96350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96351 choke me
96352 #else
96353 char (*f) () = $ac_func;
96354 #endif
96355 #ifdef __cplusplus
96356 }
96357 #endif
96358
96359 int
96360 main ()
96361 {
96362 return f != $ac_func;
96363 ;
96364 return 0;
96365 }
96366 _ACEOF
96367 rm -f conftest.$ac_objext conftest$ac_exeext
96368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96369 (eval $ac_link) 2>conftest.er1
96370 ac_status=$?
96371 grep -v '^ *+' conftest.er1 >conftest.err
96372 rm -f conftest.er1
96373 cat conftest.err >&5
96374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96375 (exit $ac_status); } &&
96376 { ac_try='test -z "$ac_c_werror_flag"
96377 || test ! -s conftest.err'
96378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96379 (eval $ac_try) 2>&5
96380 ac_status=$?
96381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96382 (exit $ac_status); }; } &&
96383 { ac_try='test -s conftest$ac_exeext'
96384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96385 (eval $ac_try) 2>&5
96386 ac_status=$?
96387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96388 (exit $ac_status); }; }; then
96389 eval "$as_ac_var=yes"
96390 else
96391 echo "$as_me: failed program was:" >&5
96392 sed 's/^/| /' conftest.$ac_ext >&5
96393
96394 eval "$as_ac_var=no"
96395 fi
96396 rm -f conftest.err conftest.$ac_objext \
96397 conftest$ac_exeext conftest.$ac_ext
96398 fi
96399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96401 if test `eval echo '${'$as_ac_var'}'` = yes; then
96402 cat >>confdefs.h <<_ACEOF
96403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96404 _ACEOF
96405
96406 fi
96407 done
96408
96409 else
96410
96411 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96412 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96413 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96414 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96415 echo $ECHO_N "(cached) $ECHO_C" >&6
96416 else
96417
96418
96419
96420 ac_ext=cc
96421 ac_cpp='$CXXCPP $CPPFLAGS'
96422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96425
96426 cat >conftest.$ac_ext <<_ACEOF
96427 /* confdefs.h. */
96428 _ACEOF
96429 cat confdefs.h >>conftest.$ac_ext
96430 cat >>conftest.$ac_ext <<_ACEOF
96431 /* end confdefs.h. */
96432 #include <math.h>
96433 int
96434 main ()
96435 {
96436 _powf(0, 0);
96437 ;
96438 return 0;
96439 }
96440 _ACEOF
96441 rm -f conftest.$ac_objext
96442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96443 (eval $ac_compile) 2>conftest.er1
96444 ac_status=$?
96445 grep -v '^ *+' conftest.er1 >conftest.err
96446 rm -f conftest.er1
96447 cat conftest.err >&5
96448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96449 (exit $ac_status); } &&
96450 { ac_try='test -z "$ac_cxx_werror_flag"
96451 || test ! -s conftest.err'
96452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96453 (eval $ac_try) 2>&5
96454 ac_status=$?
96455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96456 (exit $ac_status); }; } &&
96457 { ac_try='test -s conftest.$ac_objext'
96458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96459 (eval $ac_try) 2>&5
96460 ac_status=$?
96461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462 (exit $ac_status); }; }; then
96463 glibcxx_cv_func__powf_use=yes
96464 else
96465 echo "$as_me: failed program was:" >&5
96466 sed 's/^/| /' conftest.$ac_ext >&5
96467
96468 glibcxx_cv_func__powf_use=no
96469 fi
96470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96471 ac_ext=c
96472 ac_cpp='$CPP $CPPFLAGS'
96473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96476
96477
96478 fi
96479
96480 fi
96481 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96482 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96483
96484 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96485
96486 for ac_func in _powf
96487 do
96488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96489 echo "$as_me:$LINENO: checking for $ac_func" >&5
96490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96491 if eval "test \"\${$as_ac_var+set}\" = set"; then
96492 echo $ECHO_N "(cached) $ECHO_C" >&6
96493 else
96494 if test x$gcc_no_link = xyes; then
96495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96497 { (exit 1); exit 1; }; }
96498 fi
96499 cat >conftest.$ac_ext <<_ACEOF
96500 /* confdefs.h. */
96501 _ACEOF
96502 cat confdefs.h >>conftest.$ac_ext
96503 cat >>conftest.$ac_ext <<_ACEOF
96504 /* end confdefs.h. */
96505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96507 #define $ac_func innocuous_$ac_func
96508
96509 /* System header to define __stub macros and hopefully few prototypes,
96510 which can conflict with char $ac_func (); below.
96511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96512 <limits.h> exists even on freestanding compilers. */
96513
96514 #ifdef __STDC__
96515 # include <limits.h>
96516 #else
96517 # include <assert.h>
96518 #endif
96519
96520 #undef $ac_func
96521
96522 /* Override any gcc2 internal prototype to avoid an error. */
96523 #ifdef __cplusplus
96524 extern "C"
96525 {
96526 #endif
96527 /* We use char because int might match the return type of a gcc2
96528 builtin and then its argument prototype would still apply. */
96529 char $ac_func ();
96530 /* The GNU C library defines this for functions which it implements
96531 to always fail with ENOSYS. Some functions are actually named
96532 something starting with __ and the normal name is an alias. */
96533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96534 choke me
96535 #else
96536 char (*f) () = $ac_func;
96537 #endif
96538 #ifdef __cplusplus
96539 }
96540 #endif
96541
96542 int
96543 main ()
96544 {
96545 return f != $ac_func;
96546 ;
96547 return 0;
96548 }
96549 _ACEOF
96550 rm -f conftest.$ac_objext conftest$ac_exeext
96551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96552 (eval $ac_link) 2>conftest.er1
96553 ac_status=$?
96554 grep -v '^ *+' conftest.er1 >conftest.err
96555 rm -f conftest.er1
96556 cat conftest.err >&5
96557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96558 (exit $ac_status); } &&
96559 { ac_try='test -z "$ac_c_werror_flag"
96560 || test ! -s conftest.err'
96561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96562 (eval $ac_try) 2>&5
96563 ac_status=$?
96564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96565 (exit $ac_status); }; } &&
96566 { ac_try='test -s conftest$ac_exeext'
96567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96568 (eval $ac_try) 2>&5
96569 ac_status=$?
96570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96571 (exit $ac_status); }; }; then
96572 eval "$as_ac_var=yes"
96573 else
96574 echo "$as_me: failed program was:" >&5
96575 sed 's/^/| /' conftest.$ac_ext >&5
96576
96577 eval "$as_ac_var=no"
96578 fi
96579 rm -f conftest.err conftest.$ac_objext \
96580 conftest$ac_exeext conftest.$ac_ext
96581 fi
96582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96584 if test `eval echo '${'$as_ac_var'}'` = yes; then
96585 cat >>confdefs.h <<_ACEOF
96586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96587 _ACEOF
96588
96589 fi
96590 done
96591
96592 fi
96593 fi
96594
96595
96596
96597
96598
96599
96600 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96601 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96602 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96603 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96604 echo $ECHO_N "(cached) $ECHO_C" >&6
96605 else
96606
96607
96608
96609 ac_ext=cc
96610 ac_cpp='$CXXCPP $CPPFLAGS'
96611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96614
96615 cat >conftest.$ac_ext <<_ACEOF
96616 /* confdefs.h. */
96617 _ACEOF
96618 cat confdefs.h >>conftest.$ac_ext
96619 cat >>conftest.$ac_ext <<_ACEOF
96620 /* end confdefs.h. */
96621 #include <math.h>
96622 #ifdef HAVE_IEEEFP_H
96623 #include <ieeefp.h>
96624 #endif
96625
96626 int
96627 main ()
96628 {
96629 sqrtf(0);
96630 ;
96631 return 0;
96632 }
96633 _ACEOF
96634 rm -f conftest.$ac_objext
96635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96636 (eval $ac_compile) 2>conftest.er1
96637 ac_status=$?
96638 grep -v '^ *+' conftest.er1 >conftest.err
96639 rm -f conftest.er1
96640 cat conftest.err >&5
96641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96642 (exit $ac_status); } &&
96643 { ac_try='test -z "$ac_cxx_werror_flag"
96644 || test ! -s conftest.err'
96645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96646 (eval $ac_try) 2>&5
96647 ac_status=$?
96648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96649 (exit $ac_status); }; } &&
96650 { ac_try='test -s conftest.$ac_objext'
96651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96652 (eval $ac_try) 2>&5
96653 ac_status=$?
96654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96655 (exit $ac_status); }; }; then
96656 glibcxx_cv_func_sqrtf_use=yes
96657 else
96658 echo "$as_me: failed program was:" >&5
96659 sed 's/^/| /' conftest.$ac_ext >&5
96660
96661 glibcxx_cv_func_sqrtf_use=no
96662 fi
96663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96664 ac_ext=c
96665 ac_cpp='$CPP $CPPFLAGS'
96666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96669
96670
96671 fi
96672
96673 fi
96674 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96675 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96676
96677 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96678
96679 for ac_func in sqrtf
96680 do
96681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96682 echo "$as_me:$LINENO: checking for $ac_func" >&5
96683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96684 if eval "test \"\${$as_ac_var+set}\" = set"; then
96685 echo $ECHO_N "(cached) $ECHO_C" >&6
96686 else
96687 if test x$gcc_no_link = xyes; then
96688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96690 { (exit 1); exit 1; }; }
96691 fi
96692 cat >conftest.$ac_ext <<_ACEOF
96693 /* confdefs.h. */
96694 _ACEOF
96695 cat confdefs.h >>conftest.$ac_ext
96696 cat >>conftest.$ac_ext <<_ACEOF
96697 /* end confdefs.h. */
96698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96700 #define $ac_func innocuous_$ac_func
96701
96702 /* System header to define __stub macros and hopefully few prototypes,
96703 which can conflict with char $ac_func (); below.
96704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96705 <limits.h> exists even on freestanding compilers. */
96706
96707 #ifdef __STDC__
96708 # include <limits.h>
96709 #else
96710 # include <assert.h>
96711 #endif
96712
96713 #undef $ac_func
96714
96715 /* Override any gcc2 internal prototype to avoid an error. */
96716 #ifdef __cplusplus
96717 extern "C"
96718 {
96719 #endif
96720 /* We use char because int might match the return type of a gcc2
96721 builtin and then its argument prototype would still apply. */
96722 char $ac_func ();
96723 /* The GNU C library defines this for functions which it implements
96724 to always fail with ENOSYS. Some functions are actually named
96725 something starting with __ and the normal name is an alias. */
96726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96727 choke me
96728 #else
96729 char (*f) () = $ac_func;
96730 #endif
96731 #ifdef __cplusplus
96732 }
96733 #endif
96734
96735 int
96736 main ()
96737 {
96738 return f != $ac_func;
96739 ;
96740 return 0;
96741 }
96742 _ACEOF
96743 rm -f conftest.$ac_objext conftest$ac_exeext
96744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96745 (eval $ac_link) 2>conftest.er1
96746 ac_status=$?
96747 grep -v '^ *+' conftest.er1 >conftest.err
96748 rm -f conftest.er1
96749 cat conftest.err >&5
96750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96751 (exit $ac_status); } &&
96752 { ac_try='test -z "$ac_c_werror_flag"
96753 || test ! -s conftest.err'
96754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96755 (eval $ac_try) 2>&5
96756 ac_status=$?
96757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96758 (exit $ac_status); }; } &&
96759 { ac_try='test -s conftest$ac_exeext'
96760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96761 (eval $ac_try) 2>&5
96762 ac_status=$?
96763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96764 (exit $ac_status); }; }; then
96765 eval "$as_ac_var=yes"
96766 else
96767 echo "$as_me: failed program was:" >&5
96768 sed 's/^/| /' conftest.$ac_ext >&5
96769
96770 eval "$as_ac_var=no"
96771 fi
96772 rm -f conftest.err conftest.$ac_objext \
96773 conftest$ac_exeext conftest.$ac_ext
96774 fi
96775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96777 if test `eval echo '${'$as_ac_var'}'` = yes; then
96778 cat >>confdefs.h <<_ACEOF
96779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96780 _ACEOF
96781
96782 fi
96783 done
96784
96785 else
96786
96787 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96788 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96789 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96790 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96791 echo $ECHO_N "(cached) $ECHO_C" >&6
96792 else
96793
96794
96795
96796 ac_ext=cc
96797 ac_cpp='$CXXCPP $CPPFLAGS'
96798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96801
96802 cat >conftest.$ac_ext <<_ACEOF
96803 /* confdefs.h. */
96804 _ACEOF
96805 cat confdefs.h >>conftest.$ac_ext
96806 cat >>conftest.$ac_ext <<_ACEOF
96807 /* end confdefs.h. */
96808 #include <math.h>
96809 #ifdef HAVE_IEEEFP_H
96810 #include <ieeefp.h>
96811 #endif
96812
96813 int
96814 main ()
96815 {
96816 _sqrtf(0);
96817 ;
96818 return 0;
96819 }
96820 _ACEOF
96821 rm -f conftest.$ac_objext
96822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96823 (eval $ac_compile) 2>conftest.er1
96824 ac_status=$?
96825 grep -v '^ *+' conftest.er1 >conftest.err
96826 rm -f conftest.er1
96827 cat conftest.err >&5
96828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96829 (exit $ac_status); } &&
96830 { ac_try='test -z "$ac_cxx_werror_flag"
96831 || test ! -s conftest.err'
96832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96833 (eval $ac_try) 2>&5
96834 ac_status=$?
96835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96836 (exit $ac_status); }; } &&
96837 { ac_try='test -s conftest.$ac_objext'
96838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96839 (eval $ac_try) 2>&5
96840 ac_status=$?
96841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96842 (exit $ac_status); }; }; then
96843 glibcxx_cv_func__sqrtf_use=yes
96844 else
96845 echo "$as_me: failed program was:" >&5
96846 sed 's/^/| /' conftest.$ac_ext >&5
96847
96848 glibcxx_cv_func__sqrtf_use=no
96849 fi
96850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96851 ac_ext=c
96852 ac_cpp='$CPP $CPPFLAGS'
96853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96856
96857
96858 fi
96859
96860 fi
96861 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96862 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96863
96864 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96865
96866 for ac_func in _sqrtf
96867 do
96868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96869 echo "$as_me:$LINENO: checking for $ac_func" >&5
96870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96871 if eval "test \"\${$as_ac_var+set}\" = set"; then
96872 echo $ECHO_N "(cached) $ECHO_C" >&6
96873 else
96874 if test x$gcc_no_link = xyes; then
96875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96877 { (exit 1); exit 1; }; }
96878 fi
96879 cat >conftest.$ac_ext <<_ACEOF
96880 /* confdefs.h. */
96881 _ACEOF
96882 cat confdefs.h >>conftest.$ac_ext
96883 cat >>conftest.$ac_ext <<_ACEOF
96884 /* end confdefs.h. */
96885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96887 #define $ac_func innocuous_$ac_func
96888
96889 /* System header to define __stub macros and hopefully few prototypes,
96890 which can conflict with char $ac_func (); below.
96891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96892 <limits.h> exists even on freestanding compilers. */
96893
96894 #ifdef __STDC__
96895 # include <limits.h>
96896 #else
96897 # include <assert.h>
96898 #endif
96899
96900 #undef $ac_func
96901
96902 /* Override any gcc2 internal prototype to avoid an error. */
96903 #ifdef __cplusplus
96904 extern "C"
96905 {
96906 #endif
96907 /* We use char because int might match the return type of a gcc2
96908 builtin and then its argument prototype would still apply. */
96909 char $ac_func ();
96910 /* The GNU C library defines this for functions which it implements
96911 to always fail with ENOSYS. Some functions are actually named
96912 something starting with __ and the normal name is an alias. */
96913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96914 choke me
96915 #else
96916 char (*f) () = $ac_func;
96917 #endif
96918 #ifdef __cplusplus
96919 }
96920 #endif
96921
96922 int
96923 main ()
96924 {
96925 return f != $ac_func;
96926 ;
96927 return 0;
96928 }
96929 _ACEOF
96930 rm -f conftest.$ac_objext conftest$ac_exeext
96931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96932 (eval $ac_link) 2>conftest.er1
96933 ac_status=$?
96934 grep -v '^ *+' conftest.er1 >conftest.err
96935 rm -f conftest.er1
96936 cat conftest.err >&5
96937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96938 (exit $ac_status); } &&
96939 { ac_try='test -z "$ac_c_werror_flag"
96940 || test ! -s conftest.err'
96941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96942 (eval $ac_try) 2>&5
96943 ac_status=$?
96944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96945 (exit $ac_status); }; } &&
96946 { ac_try='test -s conftest$ac_exeext'
96947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96948 (eval $ac_try) 2>&5
96949 ac_status=$?
96950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96951 (exit $ac_status); }; }; then
96952 eval "$as_ac_var=yes"
96953 else
96954 echo "$as_me: failed program was:" >&5
96955 sed 's/^/| /' conftest.$ac_ext >&5
96956
96957 eval "$as_ac_var=no"
96958 fi
96959 rm -f conftest.err conftest.$ac_objext \
96960 conftest$ac_exeext conftest.$ac_ext
96961 fi
96962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96964 if test `eval echo '${'$as_ac_var'}'` = yes; then
96965 cat >>confdefs.h <<_ACEOF
96966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96967 _ACEOF
96968
96969 fi
96970 done
96971
96972 fi
96973 fi
96974
96975
96976
96977
96978
96979
96980 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96981 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96982 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96983 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
96984 echo $ECHO_N "(cached) $ECHO_C" >&6
96985 else
96986
96987
96988
96989 ac_ext=cc
96990 ac_cpp='$CXXCPP $CPPFLAGS'
96991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96994
96995 cat >conftest.$ac_ext <<_ACEOF
96996 /* confdefs.h. */
96997 _ACEOF
96998 cat confdefs.h >>conftest.$ac_ext
96999 cat >>conftest.$ac_ext <<_ACEOF
97000 /* end confdefs.h. */
97001 #include <math.h>
97002 int
97003 main ()
97004 {
97005 sincosf(0, 0, 0);
97006 ;
97007 return 0;
97008 }
97009 _ACEOF
97010 rm -f conftest.$ac_objext
97011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97012 (eval $ac_compile) 2>conftest.er1
97013 ac_status=$?
97014 grep -v '^ *+' conftest.er1 >conftest.err
97015 rm -f conftest.er1
97016 cat conftest.err >&5
97017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97018 (exit $ac_status); } &&
97019 { ac_try='test -z "$ac_cxx_werror_flag"
97020 || test ! -s conftest.err'
97021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97022 (eval $ac_try) 2>&5
97023 ac_status=$?
97024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97025 (exit $ac_status); }; } &&
97026 { ac_try='test -s conftest.$ac_objext'
97027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97028 (eval $ac_try) 2>&5
97029 ac_status=$?
97030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97031 (exit $ac_status); }; }; then
97032 glibcxx_cv_func_sincosf_use=yes
97033 else
97034 echo "$as_me: failed program was:" >&5
97035 sed 's/^/| /' conftest.$ac_ext >&5
97036
97037 glibcxx_cv_func_sincosf_use=no
97038 fi
97039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97040 ac_ext=c
97041 ac_cpp='$CPP $CPPFLAGS'
97042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97045
97046
97047 fi
97048
97049 fi
97050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97051 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97052
97053 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97054
97055 for ac_func in sincosf
97056 do
97057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97058 echo "$as_me:$LINENO: checking for $ac_func" >&5
97059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97060 if eval "test \"\${$as_ac_var+set}\" = set"; then
97061 echo $ECHO_N "(cached) $ECHO_C" >&6
97062 else
97063 if test x$gcc_no_link = xyes; then
97064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97066 { (exit 1); exit 1; }; }
97067 fi
97068 cat >conftest.$ac_ext <<_ACEOF
97069 /* confdefs.h. */
97070 _ACEOF
97071 cat confdefs.h >>conftest.$ac_ext
97072 cat >>conftest.$ac_ext <<_ACEOF
97073 /* end confdefs.h. */
97074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97076 #define $ac_func innocuous_$ac_func
97077
97078 /* System header to define __stub macros and hopefully few prototypes,
97079 which can conflict with char $ac_func (); below.
97080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97081 <limits.h> exists even on freestanding compilers. */
97082
97083 #ifdef __STDC__
97084 # include <limits.h>
97085 #else
97086 # include <assert.h>
97087 #endif
97088
97089 #undef $ac_func
97090
97091 /* Override any gcc2 internal prototype to avoid an error. */
97092 #ifdef __cplusplus
97093 extern "C"
97094 {
97095 #endif
97096 /* We use char because int might match the return type of a gcc2
97097 builtin and then its argument prototype would still apply. */
97098 char $ac_func ();
97099 /* The GNU C library defines this for functions which it implements
97100 to always fail with ENOSYS. Some functions are actually named
97101 something starting with __ and the normal name is an alias. */
97102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97103 choke me
97104 #else
97105 char (*f) () = $ac_func;
97106 #endif
97107 #ifdef __cplusplus
97108 }
97109 #endif
97110
97111 int
97112 main ()
97113 {
97114 return f != $ac_func;
97115 ;
97116 return 0;
97117 }
97118 _ACEOF
97119 rm -f conftest.$ac_objext conftest$ac_exeext
97120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97121 (eval $ac_link) 2>conftest.er1
97122 ac_status=$?
97123 grep -v '^ *+' conftest.er1 >conftest.err
97124 rm -f conftest.er1
97125 cat conftest.err >&5
97126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97127 (exit $ac_status); } &&
97128 { ac_try='test -z "$ac_c_werror_flag"
97129 || test ! -s conftest.err'
97130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97131 (eval $ac_try) 2>&5
97132 ac_status=$?
97133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97134 (exit $ac_status); }; } &&
97135 { ac_try='test -s conftest$ac_exeext'
97136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97137 (eval $ac_try) 2>&5
97138 ac_status=$?
97139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97140 (exit $ac_status); }; }; then
97141 eval "$as_ac_var=yes"
97142 else
97143 echo "$as_me: failed program was:" >&5
97144 sed 's/^/| /' conftest.$ac_ext >&5
97145
97146 eval "$as_ac_var=no"
97147 fi
97148 rm -f conftest.err conftest.$ac_objext \
97149 conftest$ac_exeext conftest.$ac_ext
97150 fi
97151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97153 if test `eval echo '${'$as_ac_var'}'` = yes; then
97154 cat >>confdefs.h <<_ACEOF
97155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97156 _ACEOF
97157
97158 fi
97159 done
97160
97161 else
97162
97163 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97164 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97165 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97166 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97167 echo $ECHO_N "(cached) $ECHO_C" >&6
97168 else
97169
97170
97171
97172 ac_ext=cc
97173 ac_cpp='$CXXCPP $CPPFLAGS'
97174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97177
97178 cat >conftest.$ac_ext <<_ACEOF
97179 /* confdefs.h. */
97180 _ACEOF
97181 cat confdefs.h >>conftest.$ac_ext
97182 cat >>conftest.$ac_ext <<_ACEOF
97183 /* end confdefs.h. */
97184 #include <math.h>
97185 int
97186 main ()
97187 {
97188 _sincosf(0, 0, 0);
97189 ;
97190 return 0;
97191 }
97192 _ACEOF
97193 rm -f conftest.$ac_objext
97194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97195 (eval $ac_compile) 2>conftest.er1
97196 ac_status=$?
97197 grep -v '^ *+' conftest.er1 >conftest.err
97198 rm -f conftest.er1
97199 cat conftest.err >&5
97200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97201 (exit $ac_status); } &&
97202 { ac_try='test -z "$ac_cxx_werror_flag"
97203 || test ! -s conftest.err'
97204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97205 (eval $ac_try) 2>&5
97206 ac_status=$?
97207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97208 (exit $ac_status); }; } &&
97209 { ac_try='test -s conftest.$ac_objext'
97210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97211 (eval $ac_try) 2>&5
97212 ac_status=$?
97213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97214 (exit $ac_status); }; }; then
97215 glibcxx_cv_func__sincosf_use=yes
97216 else
97217 echo "$as_me: failed program was:" >&5
97218 sed 's/^/| /' conftest.$ac_ext >&5
97219
97220 glibcxx_cv_func__sincosf_use=no
97221 fi
97222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97223 ac_ext=c
97224 ac_cpp='$CPP $CPPFLAGS'
97225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97228
97229
97230 fi
97231
97232 fi
97233 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97234 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97235
97236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97237
97238 for ac_func in _sincosf
97239 do
97240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97241 echo "$as_me:$LINENO: checking for $ac_func" >&5
97242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97243 if eval "test \"\${$as_ac_var+set}\" = set"; then
97244 echo $ECHO_N "(cached) $ECHO_C" >&6
97245 else
97246 if test x$gcc_no_link = xyes; then
97247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97249 { (exit 1); exit 1; }; }
97250 fi
97251 cat >conftest.$ac_ext <<_ACEOF
97252 /* confdefs.h. */
97253 _ACEOF
97254 cat confdefs.h >>conftest.$ac_ext
97255 cat >>conftest.$ac_ext <<_ACEOF
97256 /* end confdefs.h. */
97257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97259 #define $ac_func innocuous_$ac_func
97260
97261 /* System header to define __stub macros and hopefully few prototypes,
97262 which can conflict with char $ac_func (); below.
97263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97264 <limits.h> exists even on freestanding compilers. */
97265
97266 #ifdef __STDC__
97267 # include <limits.h>
97268 #else
97269 # include <assert.h>
97270 #endif
97271
97272 #undef $ac_func
97273
97274 /* Override any gcc2 internal prototype to avoid an error. */
97275 #ifdef __cplusplus
97276 extern "C"
97277 {
97278 #endif
97279 /* We use char because int might match the return type of a gcc2
97280 builtin and then its argument prototype would still apply. */
97281 char $ac_func ();
97282 /* The GNU C library defines this for functions which it implements
97283 to always fail with ENOSYS. Some functions are actually named
97284 something starting with __ and the normal name is an alias. */
97285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97286 choke me
97287 #else
97288 char (*f) () = $ac_func;
97289 #endif
97290 #ifdef __cplusplus
97291 }
97292 #endif
97293
97294 int
97295 main ()
97296 {
97297 return f != $ac_func;
97298 ;
97299 return 0;
97300 }
97301 _ACEOF
97302 rm -f conftest.$ac_objext conftest$ac_exeext
97303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97304 (eval $ac_link) 2>conftest.er1
97305 ac_status=$?
97306 grep -v '^ *+' conftest.er1 >conftest.err
97307 rm -f conftest.er1
97308 cat conftest.err >&5
97309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97310 (exit $ac_status); } &&
97311 { ac_try='test -z "$ac_c_werror_flag"
97312 || test ! -s conftest.err'
97313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97314 (eval $ac_try) 2>&5
97315 ac_status=$?
97316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97317 (exit $ac_status); }; } &&
97318 { ac_try='test -s conftest$ac_exeext'
97319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97320 (eval $ac_try) 2>&5
97321 ac_status=$?
97322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323 (exit $ac_status); }; }; then
97324 eval "$as_ac_var=yes"
97325 else
97326 echo "$as_me: failed program was:" >&5
97327 sed 's/^/| /' conftest.$ac_ext >&5
97328
97329 eval "$as_ac_var=no"
97330 fi
97331 rm -f conftest.err conftest.$ac_objext \
97332 conftest$ac_exeext conftest.$ac_ext
97333 fi
97334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97336 if test `eval echo '${'$as_ac_var'}'` = yes; then
97337 cat >>confdefs.h <<_ACEOF
97338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97339 _ACEOF
97340
97341 fi
97342 done
97343
97344 fi
97345 fi
97346
97347
97348
97349
97350
97351
97352 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97353 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97354 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97355 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97356 echo $ECHO_N "(cached) $ECHO_C" >&6
97357 else
97358
97359
97360
97361 ac_ext=cc
97362 ac_cpp='$CXXCPP $CPPFLAGS'
97363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97366
97367 cat >conftest.$ac_ext <<_ACEOF
97368 /* confdefs.h. */
97369 _ACEOF
97370 cat confdefs.h >>conftest.$ac_ext
97371 cat >>conftest.$ac_ext <<_ACEOF
97372 /* end confdefs.h. */
97373 #include <math.h>
97374 #ifdef HAVE_IEEEFP_H
97375 #include <ieeefp.h>
97376 #endif
97377
97378 int
97379 main ()
97380 {
97381 finitef(0);
97382 ;
97383 return 0;
97384 }
97385 _ACEOF
97386 rm -f conftest.$ac_objext
97387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97388 (eval $ac_compile) 2>conftest.er1
97389 ac_status=$?
97390 grep -v '^ *+' conftest.er1 >conftest.err
97391 rm -f conftest.er1
97392 cat conftest.err >&5
97393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97394 (exit $ac_status); } &&
97395 { ac_try='test -z "$ac_cxx_werror_flag"
97396 || test ! -s conftest.err'
97397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97398 (eval $ac_try) 2>&5
97399 ac_status=$?
97400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97401 (exit $ac_status); }; } &&
97402 { ac_try='test -s conftest.$ac_objext'
97403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97404 (eval $ac_try) 2>&5
97405 ac_status=$?
97406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97407 (exit $ac_status); }; }; then
97408 glibcxx_cv_func_finitef_use=yes
97409 else
97410 echo "$as_me: failed program was:" >&5
97411 sed 's/^/| /' conftest.$ac_ext >&5
97412
97413 glibcxx_cv_func_finitef_use=no
97414 fi
97415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97416 ac_ext=c
97417 ac_cpp='$CPP $CPPFLAGS'
97418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97421
97422
97423 fi
97424
97425 fi
97426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97427 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97428
97429 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97430
97431 for ac_func in finitef
97432 do
97433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97434 echo "$as_me:$LINENO: checking for $ac_func" >&5
97435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97436 if eval "test \"\${$as_ac_var+set}\" = set"; then
97437 echo $ECHO_N "(cached) $ECHO_C" >&6
97438 else
97439 if test x$gcc_no_link = xyes; then
97440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97442 { (exit 1); exit 1; }; }
97443 fi
97444 cat >conftest.$ac_ext <<_ACEOF
97445 /* confdefs.h. */
97446 _ACEOF
97447 cat confdefs.h >>conftest.$ac_ext
97448 cat >>conftest.$ac_ext <<_ACEOF
97449 /* end confdefs.h. */
97450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97452 #define $ac_func innocuous_$ac_func
97453
97454 /* System header to define __stub macros and hopefully few prototypes,
97455 which can conflict with char $ac_func (); below.
97456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97457 <limits.h> exists even on freestanding compilers. */
97458
97459 #ifdef __STDC__
97460 # include <limits.h>
97461 #else
97462 # include <assert.h>
97463 #endif
97464
97465 #undef $ac_func
97466
97467 /* Override any gcc2 internal prototype to avoid an error. */
97468 #ifdef __cplusplus
97469 extern "C"
97470 {
97471 #endif
97472 /* We use char because int might match the return type of a gcc2
97473 builtin and then its argument prototype would still apply. */
97474 char $ac_func ();
97475 /* The GNU C library defines this for functions which it implements
97476 to always fail with ENOSYS. Some functions are actually named
97477 something starting with __ and the normal name is an alias. */
97478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97479 choke me
97480 #else
97481 char (*f) () = $ac_func;
97482 #endif
97483 #ifdef __cplusplus
97484 }
97485 #endif
97486
97487 int
97488 main ()
97489 {
97490 return f != $ac_func;
97491 ;
97492 return 0;
97493 }
97494 _ACEOF
97495 rm -f conftest.$ac_objext conftest$ac_exeext
97496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97497 (eval $ac_link) 2>conftest.er1
97498 ac_status=$?
97499 grep -v '^ *+' conftest.er1 >conftest.err
97500 rm -f conftest.er1
97501 cat conftest.err >&5
97502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97503 (exit $ac_status); } &&
97504 { ac_try='test -z "$ac_c_werror_flag"
97505 || test ! -s conftest.err'
97506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97507 (eval $ac_try) 2>&5
97508 ac_status=$?
97509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97510 (exit $ac_status); }; } &&
97511 { ac_try='test -s conftest$ac_exeext'
97512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97513 (eval $ac_try) 2>&5
97514 ac_status=$?
97515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97516 (exit $ac_status); }; }; then
97517 eval "$as_ac_var=yes"
97518 else
97519 echo "$as_me: failed program was:" >&5
97520 sed 's/^/| /' conftest.$ac_ext >&5
97521
97522 eval "$as_ac_var=no"
97523 fi
97524 rm -f conftest.err conftest.$ac_objext \
97525 conftest$ac_exeext conftest.$ac_ext
97526 fi
97527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97529 if test `eval echo '${'$as_ac_var'}'` = yes; then
97530 cat >>confdefs.h <<_ACEOF
97531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97532 _ACEOF
97533
97534 fi
97535 done
97536
97537 else
97538
97539 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97540 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97541 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97542 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97543 echo $ECHO_N "(cached) $ECHO_C" >&6
97544 else
97545
97546
97547
97548 ac_ext=cc
97549 ac_cpp='$CXXCPP $CPPFLAGS'
97550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97553
97554 cat >conftest.$ac_ext <<_ACEOF
97555 /* confdefs.h. */
97556 _ACEOF
97557 cat confdefs.h >>conftest.$ac_ext
97558 cat >>conftest.$ac_ext <<_ACEOF
97559 /* end confdefs.h. */
97560 #include <math.h>
97561 #ifdef HAVE_IEEEFP_H
97562 #include <ieeefp.h>
97563 #endif
97564
97565 int
97566 main ()
97567 {
97568 _finitef(0);
97569 ;
97570 return 0;
97571 }
97572 _ACEOF
97573 rm -f conftest.$ac_objext
97574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97575 (eval $ac_compile) 2>conftest.er1
97576 ac_status=$?
97577 grep -v '^ *+' conftest.er1 >conftest.err
97578 rm -f conftest.er1
97579 cat conftest.err >&5
97580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97581 (exit $ac_status); } &&
97582 { ac_try='test -z "$ac_cxx_werror_flag"
97583 || test ! -s conftest.err'
97584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97585 (eval $ac_try) 2>&5
97586 ac_status=$?
97587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97588 (exit $ac_status); }; } &&
97589 { ac_try='test -s conftest.$ac_objext'
97590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97591 (eval $ac_try) 2>&5
97592 ac_status=$?
97593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97594 (exit $ac_status); }; }; then
97595 glibcxx_cv_func__finitef_use=yes
97596 else
97597 echo "$as_me: failed program was:" >&5
97598 sed 's/^/| /' conftest.$ac_ext >&5
97599
97600 glibcxx_cv_func__finitef_use=no
97601 fi
97602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97603 ac_ext=c
97604 ac_cpp='$CPP $CPPFLAGS'
97605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97608
97609
97610 fi
97611
97612 fi
97613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97614 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97615
97616 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97617
97618 for ac_func in _finitef
97619 do
97620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97621 echo "$as_me:$LINENO: checking for $ac_func" >&5
97622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97623 if eval "test \"\${$as_ac_var+set}\" = set"; then
97624 echo $ECHO_N "(cached) $ECHO_C" >&6
97625 else
97626 if test x$gcc_no_link = xyes; then
97627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97629 { (exit 1); exit 1; }; }
97630 fi
97631 cat >conftest.$ac_ext <<_ACEOF
97632 /* confdefs.h. */
97633 _ACEOF
97634 cat confdefs.h >>conftest.$ac_ext
97635 cat >>conftest.$ac_ext <<_ACEOF
97636 /* end confdefs.h. */
97637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97639 #define $ac_func innocuous_$ac_func
97640
97641 /* System header to define __stub macros and hopefully few prototypes,
97642 which can conflict with char $ac_func (); below.
97643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97644 <limits.h> exists even on freestanding compilers. */
97645
97646 #ifdef __STDC__
97647 # include <limits.h>
97648 #else
97649 # include <assert.h>
97650 #endif
97651
97652 #undef $ac_func
97653
97654 /* Override any gcc2 internal prototype to avoid an error. */
97655 #ifdef __cplusplus
97656 extern "C"
97657 {
97658 #endif
97659 /* We use char because int might match the return type of a gcc2
97660 builtin and then its argument prototype would still apply. */
97661 char $ac_func ();
97662 /* The GNU C library defines this for functions which it implements
97663 to always fail with ENOSYS. Some functions are actually named
97664 something starting with __ and the normal name is an alias. */
97665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97666 choke me
97667 #else
97668 char (*f) () = $ac_func;
97669 #endif
97670 #ifdef __cplusplus
97671 }
97672 #endif
97673
97674 int
97675 main ()
97676 {
97677 return f != $ac_func;
97678 ;
97679 return 0;
97680 }
97681 _ACEOF
97682 rm -f conftest.$ac_objext conftest$ac_exeext
97683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97684 (eval $ac_link) 2>conftest.er1
97685 ac_status=$?
97686 grep -v '^ *+' conftest.er1 >conftest.err
97687 rm -f conftest.er1
97688 cat conftest.err >&5
97689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97690 (exit $ac_status); } &&
97691 { ac_try='test -z "$ac_c_werror_flag"
97692 || test ! -s conftest.err'
97693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97694 (eval $ac_try) 2>&5
97695 ac_status=$?
97696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97697 (exit $ac_status); }; } &&
97698 { ac_try='test -s conftest$ac_exeext'
97699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97700 (eval $ac_try) 2>&5
97701 ac_status=$?
97702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97703 (exit $ac_status); }; }; then
97704 eval "$as_ac_var=yes"
97705 else
97706 echo "$as_me: failed program was:" >&5
97707 sed 's/^/| /' conftest.$ac_ext >&5
97708
97709 eval "$as_ac_var=no"
97710 fi
97711 rm -f conftest.err conftest.$ac_objext \
97712 conftest$ac_exeext conftest.$ac_ext
97713 fi
97714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97716 if test `eval echo '${'$as_ac_var'}'` = yes; then
97717 cat >>confdefs.h <<_ACEOF
97718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97719 _ACEOF
97720
97721 fi
97722 done
97723
97724 fi
97725 fi
97726
97727
97728
97729
97730
97731
97732 echo "$as_me:$LINENO: checking for long double trig functions" >&5
97733 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97734 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
97735 echo $ECHO_N "(cached) $ECHO_C" >&6
97736 else
97737
97738
97739
97740 ac_ext=cc
97741 ac_cpp='$CXXCPP $CPPFLAGS'
97742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97745
97746 cat >conftest.$ac_ext <<_ACEOF
97747 /* confdefs.h. */
97748 _ACEOF
97749 cat confdefs.h >>conftest.$ac_ext
97750 cat >>conftest.$ac_ext <<_ACEOF
97751 /* end confdefs.h. */
97752 #include <math.h>
97753 int
97754 main ()
97755 {
97756 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97757 ;
97758 return 0;
97759 }
97760 _ACEOF
97761 rm -f conftest.$ac_objext
97762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97763 (eval $ac_compile) 2>conftest.er1
97764 ac_status=$?
97765 grep -v '^ *+' conftest.er1 >conftest.err
97766 rm -f conftest.er1
97767 cat conftest.err >&5
97768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97769 (exit $ac_status); } &&
97770 { ac_try='test -z "$ac_cxx_werror_flag"
97771 || test ! -s conftest.err'
97772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97773 (eval $ac_try) 2>&5
97774 ac_status=$?
97775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97776 (exit $ac_status); }; } &&
97777 { ac_try='test -s conftest.$ac_objext'
97778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97779 (eval $ac_try) 2>&5
97780 ac_status=$?
97781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97782 (exit $ac_status); }; }; then
97783 glibcxx_cv_func_long_double_trig_use=yes
97784 else
97785 echo "$as_me: failed program was:" >&5
97786 sed 's/^/| /' conftest.$ac_ext >&5
97787
97788 glibcxx_cv_func_long_double_trig_use=no
97789 fi
97790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97791 ac_ext=c
97792 ac_cpp='$CPP $CPPFLAGS'
97793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97796
97797 fi
97798
97799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97800 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97801 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97802
97803
97804
97805
97806
97807
97808
97809
97810
97811 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97812 do
97813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97814 echo "$as_me:$LINENO: checking for $ac_func" >&5
97815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97816 if eval "test \"\${$as_ac_var+set}\" = set"; then
97817 echo $ECHO_N "(cached) $ECHO_C" >&6
97818 else
97819 if test x$gcc_no_link = xyes; then
97820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97822 { (exit 1); exit 1; }; }
97823 fi
97824 cat >conftest.$ac_ext <<_ACEOF
97825 /* confdefs.h. */
97826 _ACEOF
97827 cat confdefs.h >>conftest.$ac_ext
97828 cat >>conftest.$ac_ext <<_ACEOF
97829 /* end confdefs.h. */
97830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97832 #define $ac_func innocuous_$ac_func
97833
97834 /* System header to define __stub macros and hopefully few prototypes,
97835 which can conflict with char $ac_func (); below.
97836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97837 <limits.h> exists even on freestanding compilers. */
97838
97839 #ifdef __STDC__
97840 # include <limits.h>
97841 #else
97842 # include <assert.h>
97843 #endif
97844
97845 #undef $ac_func
97846
97847 /* Override any gcc2 internal prototype to avoid an error. */
97848 #ifdef __cplusplus
97849 extern "C"
97850 {
97851 #endif
97852 /* We use char because int might match the return type of a gcc2
97853 builtin and then its argument prototype would still apply. */
97854 char $ac_func ();
97855 /* The GNU C library defines this for functions which it implements
97856 to always fail with ENOSYS. Some functions are actually named
97857 something starting with __ and the normal name is an alias. */
97858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97859 choke me
97860 #else
97861 char (*f) () = $ac_func;
97862 #endif
97863 #ifdef __cplusplus
97864 }
97865 #endif
97866
97867 int
97868 main ()
97869 {
97870 return f != $ac_func;
97871 ;
97872 return 0;
97873 }
97874 _ACEOF
97875 rm -f conftest.$ac_objext conftest$ac_exeext
97876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97877 (eval $ac_link) 2>conftest.er1
97878 ac_status=$?
97879 grep -v '^ *+' conftest.er1 >conftest.err
97880 rm -f conftest.er1
97881 cat conftest.err >&5
97882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97883 (exit $ac_status); } &&
97884 { ac_try='test -z "$ac_c_werror_flag"
97885 || test ! -s conftest.err'
97886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97887 (eval $ac_try) 2>&5
97888 ac_status=$?
97889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97890 (exit $ac_status); }; } &&
97891 { ac_try='test -s conftest$ac_exeext'
97892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97893 (eval $ac_try) 2>&5
97894 ac_status=$?
97895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97896 (exit $ac_status); }; }; then
97897 eval "$as_ac_var=yes"
97898 else
97899 echo "$as_me: failed program was:" >&5
97900 sed 's/^/| /' conftest.$ac_ext >&5
97901
97902 eval "$as_ac_var=no"
97903 fi
97904 rm -f conftest.err conftest.$ac_objext \
97905 conftest$ac_exeext conftest.$ac_ext
97906 fi
97907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97909 if test `eval echo '${'$as_ac_var'}'` = yes; then
97910 cat >>confdefs.h <<_ACEOF
97911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97912 _ACEOF
97913
97914 fi
97915 done
97916
97917 else
97918 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97919 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97920 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97921 echo $ECHO_N "(cached) $ECHO_C" >&6
97922 else
97923
97924
97925
97926 ac_ext=cc
97927 ac_cpp='$CXXCPP $CPPFLAGS'
97928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97931
97932 cat >conftest.$ac_ext <<_ACEOF
97933 /* confdefs.h. */
97934 _ACEOF
97935 cat confdefs.h >>conftest.$ac_ext
97936 cat >>conftest.$ac_ext <<_ACEOF
97937 /* end confdefs.h. */
97938 #include <math.h>
97939 int
97940 main ()
97941 {
97942 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97943 ;
97944 return 0;
97945 }
97946 _ACEOF
97947 rm -f conftest.$ac_objext
97948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97949 (eval $ac_compile) 2>conftest.er1
97950 ac_status=$?
97951 grep -v '^ *+' conftest.er1 >conftest.err
97952 rm -f conftest.er1
97953 cat conftest.err >&5
97954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97955 (exit $ac_status); } &&
97956 { ac_try='test -z "$ac_cxx_werror_flag"
97957 || test ! -s conftest.err'
97958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97959 (eval $ac_try) 2>&5
97960 ac_status=$?
97961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97962 (exit $ac_status); }; } &&
97963 { ac_try='test -s conftest.$ac_objext'
97964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97965 (eval $ac_try) 2>&5
97966 ac_status=$?
97967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97968 (exit $ac_status); }; }; then
97969 glibcxx_cv_func__long_double_trig_use=yes
97970 else
97971 echo "$as_me: failed program was:" >&5
97972 sed 's/^/| /' conftest.$ac_ext >&5
97973
97974 glibcxx_cv_func__long_double_trig_use=no
97975 fi
97976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97977 ac_ext=c
97978 ac_cpp='$CPP $CPPFLAGS'
97979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97982
97983 fi
97984
97985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
97986 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
97987 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
97988
97989
97990
97991
97992
97993
97994
97995
97996
97997 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
97998 do
97999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98000 echo "$as_me:$LINENO: checking for $ac_func" >&5
98001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98002 if eval "test \"\${$as_ac_var+set}\" = set"; then
98003 echo $ECHO_N "(cached) $ECHO_C" >&6
98004 else
98005 if test x$gcc_no_link = xyes; then
98006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98008 { (exit 1); exit 1; }; }
98009 fi
98010 cat >conftest.$ac_ext <<_ACEOF
98011 /* confdefs.h. */
98012 _ACEOF
98013 cat confdefs.h >>conftest.$ac_ext
98014 cat >>conftest.$ac_ext <<_ACEOF
98015 /* end confdefs.h. */
98016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98018 #define $ac_func innocuous_$ac_func
98019
98020 /* System header to define __stub macros and hopefully few prototypes,
98021 which can conflict with char $ac_func (); below.
98022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98023 <limits.h> exists even on freestanding compilers. */
98024
98025 #ifdef __STDC__
98026 # include <limits.h>
98027 #else
98028 # include <assert.h>
98029 #endif
98030
98031 #undef $ac_func
98032
98033 /* Override any gcc2 internal prototype to avoid an error. */
98034 #ifdef __cplusplus
98035 extern "C"
98036 {
98037 #endif
98038 /* We use char because int might match the return type of a gcc2
98039 builtin and then its argument prototype would still apply. */
98040 char $ac_func ();
98041 /* The GNU C library defines this for functions which it implements
98042 to always fail with ENOSYS. Some functions are actually named
98043 something starting with __ and the normal name is an alias. */
98044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98045 choke me
98046 #else
98047 char (*f) () = $ac_func;
98048 #endif
98049 #ifdef __cplusplus
98050 }
98051 #endif
98052
98053 int
98054 main ()
98055 {
98056 return f != $ac_func;
98057 ;
98058 return 0;
98059 }
98060 _ACEOF
98061 rm -f conftest.$ac_objext conftest$ac_exeext
98062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98063 (eval $ac_link) 2>conftest.er1
98064 ac_status=$?
98065 grep -v '^ *+' conftest.er1 >conftest.err
98066 rm -f conftest.er1
98067 cat conftest.err >&5
98068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98069 (exit $ac_status); } &&
98070 { ac_try='test -z "$ac_c_werror_flag"
98071 || test ! -s conftest.err'
98072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98073 (eval $ac_try) 2>&5
98074 ac_status=$?
98075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98076 (exit $ac_status); }; } &&
98077 { ac_try='test -s conftest$ac_exeext'
98078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98079 (eval $ac_try) 2>&5
98080 ac_status=$?
98081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98082 (exit $ac_status); }; }; then
98083 eval "$as_ac_var=yes"
98084 else
98085 echo "$as_me: failed program was:" >&5
98086 sed 's/^/| /' conftest.$ac_ext >&5
98087
98088 eval "$as_ac_var=no"
98089 fi
98090 rm -f conftest.err conftest.$ac_objext \
98091 conftest$ac_exeext conftest.$ac_ext
98092 fi
98093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98095 if test `eval echo '${'$as_ac_var'}'` = yes; then
98096 cat >>confdefs.h <<_ACEOF
98097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98098 _ACEOF
98099
98100 fi
98101 done
98102
98103 fi
98104 fi
98105
98106
98107
98108
98109
98110
98111
98112
98113
98114
98115
98116
98117
98118
98119 echo "$as_me:$LINENO: checking for long double round functions" >&5
98120 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98121 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98122 echo $ECHO_N "(cached) $ECHO_C" >&6
98123 else
98124
98125
98126
98127 ac_ext=cc
98128 ac_cpp='$CXXCPP $CPPFLAGS'
98129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98132
98133 cat >conftest.$ac_ext <<_ACEOF
98134 /* confdefs.h. */
98135 _ACEOF
98136 cat confdefs.h >>conftest.$ac_ext
98137 cat >>conftest.$ac_ext <<_ACEOF
98138 /* end confdefs.h. */
98139 #include <math.h>
98140 int
98141 main ()
98142 {
98143 ceill (0); floorl (0);
98144 ;
98145 return 0;
98146 }
98147 _ACEOF
98148 rm -f conftest.$ac_objext
98149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98150 (eval $ac_compile) 2>conftest.er1
98151 ac_status=$?
98152 grep -v '^ *+' conftest.er1 >conftest.err
98153 rm -f conftest.er1
98154 cat conftest.err >&5
98155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98156 (exit $ac_status); } &&
98157 { ac_try='test -z "$ac_cxx_werror_flag"
98158 || test ! -s conftest.err'
98159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98160 (eval $ac_try) 2>&5
98161 ac_status=$?
98162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163 (exit $ac_status); }; } &&
98164 { ac_try='test -s conftest.$ac_objext'
98165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98166 (eval $ac_try) 2>&5
98167 ac_status=$?
98168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98169 (exit $ac_status); }; }; then
98170 glibcxx_cv_func_long_double_round_use=yes
98171 else
98172 echo "$as_me: failed program was:" >&5
98173 sed 's/^/| /' conftest.$ac_ext >&5
98174
98175 glibcxx_cv_func_long_double_round_use=no
98176 fi
98177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98178 ac_ext=c
98179 ac_cpp='$CPP $CPPFLAGS'
98180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98183
98184 fi
98185
98186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98187 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98188 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98189
98190
98191 for ac_func in ceill floorl
98192 do
98193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98194 echo "$as_me:$LINENO: checking for $ac_func" >&5
98195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98196 if eval "test \"\${$as_ac_var+set}\" = set"; then
98197 echo $ECHO_N "(cached) $ECHO_C" >&6
98198 else
98199 if test x$gcc_no_link = xyes; then
98200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98202 { (exit 1); exit 1; }; }
98203 fi
98204 cat >conftest.$ac_ext <<_ACEOF
98205 /* confdefs.h. */
98206 _ACEOF
98207 cat confdefs.h >>conftest.$ac_ext
98208 cat >>conftest.$ac_ext <<_ACEOF
98209 /* end confdefs.h. */
98210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98212 #define $ac_func innocuous_$ac_func
98213
98214 /* System header to define __stub macros and hopefully few prototypes,
98215 which can conflict with char $ac_func (); below.
98216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98217 <limits.h> exists even on freestanding compilers. */
98218
98219 #ifdef __STDC__
98220 # include <limits.h>
98221 #else
98222 # include <assert.h>
98223 #endif
98224
98225 #undef $ac_func
98226
98227 /* Override any gcc2 internal prototype to avoid an error. */
98228 #ifdef __cplusplus
98229 extern "C"
98230 {
98231 #endif
98232 /* We use char because int might match the return type of a gcc2
98233 builtin and then its argument prototype would still apply. */
98234 char $ac_func ();
98235 /* The GNU C library defines this for functions which it implements
98236 to always fail with ENOSYS. Some functions are actually named
98237 something starting with __ and the normal name is an alias. */
98238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98239 choke me
98240 #else
98241 char (*f) () = $ac_func;
98242 #endif
98243 #ifdef __cplusplus
98244 }
98245 #endif
98246
98247 int
98248 main ()
98249 {
98250 return f != $ac_func;
98251 ;
98252 return 0;
98253 }
98254 _ACEOF
98255 rm -f conftest.$ac_objext conftest$ac_exeext
98256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98257 (eval $ac_link) 2>conftest.er1
98258 ac_status=$?
98259 grep -v '^ *+' conftest.er1 >conftest.err
98260 rm -f conftest.er1
98261 cat conftest.err >&5
98262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98263 (exit $ac_status); } &&
98264 { ac_try='test -z "$ac_c_werror_flag"
98265 || test ! -s conftest.err'
98266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98267 (eval $ac_try) 2>&5
98268 ac_status=$?
98269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98270 (exit $ac_status); }; } &&
98271 { ac_try='test -s conftest$ac_exeext'
98272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98273 (eval $ac_try) 2>&5
98274 ac_status=$?
98275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98276 (exit $ac_status); }; }; then
98277 eval "$as_ac_var=yes"
98278 else
98279 echo "$as_me: failed program was:" >&5
98280 sed 's/^/| /' conftest.$ac_ext >&5
98281
98282 eval "$as_ac_var=no"
98283 fi
98284 rm -f conftest.err conftest.$ac_objext \
98285 conftest$ac_exeext conftest.$ac_ext
98286 fi
98287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98289 if test `eval echo '${'$as_ac_var'}'` = yes; then
98290 cat >>confdefs.h <<_ACEOF
98291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98292 _ACEOF
98293
98294 fi
98295 done
98296
98297 else
98298 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98299 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98300 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98301 echo $ECHO_N "(cached) $ECHO_C" >&6
98302 else
98303
98304
98305
98306 ac_ext=cc
98307 ac_cpp='$CXXCPP $CPPFLAGS'
98308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98311
98312 cat >conftest.$ac_ext <<_ACEOF
98313 /* confdefs.h. */
98314 _ACEOF
98315 cat confdefs.h >>conftest.$ac_ext
98316 cat >>conftest.$ac_ext <<_ACEOF
98317 /* end confdefs.h. */
98318 #include <math.h>
98319 int
98320 main ()
98321 {
98322 _ceill (0); _floorl (0);
98323 ;
98324 return 0;
98325 }
98326 _ACEOF
98327 rm -f conftest.$ac_objext
98328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98329 (eval $ac_compile) 2>conftest.er1
98330 ac_status=$?
98331 grep -v '^ *+' conftest.er1 >conftest.err
98332 rm -f conftest.er1
98333 cat conftest.err >&5
98334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98335 (exit $ac_status); } &&
98336 { ac_try='test -z "$ac_cxx_werror_flag"
98337 || test ! -s conftest.err'
98338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98339 (eval $ac_try) 2>&5
98340 ac_status=$?
98341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98342 (exit $ac_status); }; } &&
98343 { ac_try='test -s conftest.$ac_objext'
98344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98345 (eval $ac_try) 2>&5
98346 ac_status=$?
98347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98348 (exit $ac_status); }; }; then
98349 glibcxx_cv_func__long_double_round_use=yes
98350 else
98351 echo "$as_me: failed program was:" >&5
98352 sed 's/^/| /' conftest.$ac_ext >&5
98353
98354 glibcxx_cv_func__long_double_round_use=no
98355 fi
98356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98357 ac_ext=c
98358 ac_cpp='$CPP $CPPFLAGS'
98359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98362
98363 fi
98364
98365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98366 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98367 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98368
98369
98370 for ac_func in _ceill _floorl
98371 do
98372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98373 echo "$as_me:$LINENO: checking for $ac_func" >&5
98374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98375 if eval "test \"\${$as_ac_var+set}\" = set"; then
98376 echo $ECHO_N "(cached) $ECHO_C" >&6
98377 else
98378 if test x$gcc_no_link = xyes; then
98379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98381 { (exit 1); exit 1; }; }
98382 fi
98383 cat >conftest.$ac_ext <<_ACEOF
98384 /* confdefs.h. */
98385 _ACEOF
98386 cat confdefs.h >>conftest.$ac_ext
98387 cat >>conftest.$ac_ext <<_ACEOF
98388 /* end confdefs.h. */
98389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98391 #define $ac_func innocuous_$ac_func
98392
98393 /* System header to define __stub macros and hopefully few prototypes,
98394 which can conflict with char $ac_func (); below.
98395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98396 <limits.h> exists even on freestanding compilers. */
98397
98398 #ifdef __STDC__
98399 # include <limits.h>
98400 #else
98401 # include <assert.h>
98402 #endif
98403
98404 #undef $ac_func
98405
98406 /* Override any gcc2 internal prototype to avoid an error. */
98407 #ifdef __cplusplus
98408 extern "C"
98409 {
98410 #endif
98411 /* We use char because int might match the return type of a gcc2
98412 builtin and then its argument prototype would still apply. */
98413 char $ac_func ();
98414 /* The GNU C library defines this for functions which it implements
98415 to always fail with ENOSYS. Some functions are actually named
98416 something starting with __ and the normal name is an alias. */
98417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98418 choke me
98419 #else
98420 char (*f) () = $ac_func;
98421 #endif
98422 #ifdef __cplusplus
98423 }
98424 #endif
98425
98426 int
98427 main ()
98428 {
98429 return f != $ac_func;
98430 ;
98431 return 0;
98432 }
98433 _ACEOF
98434 rm -f conftest.$ac_objext conftest$ac_exeext
98435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98436 (eval $ac_link) 2>conftest.er1
98437 ac_status=$?
98438 grep -v '^ *+' conftest.er1 >conftest.err
98439 rm -f conftest.er1
98440 cat conftest.err >&5
98441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98442 (exit $ac_status); } &&
98443 { ac_try='test -z "$ac_c_werror_flag"
98444 || test ! -s conftest.err'
98445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98446 (eval $ac_try) 2>&5
98447 ac_status=$?
98448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98449 (exit $ac_status); }; } &&
98450 { ac_try='test -s conftest$ac_exeext'
98451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98452 (eval $ac_try) 2>&5
98453 ac_status=$?
98454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98455 (exit $ac_status); }; }; then
98456 eval "$as_ac_var=yes"
98457 else
98458 echo "$as_me: failed program was:" >&5
98459 sed 's/^/| /' conftest.$ac_ext >&5
98460
98461 eval "$as_ac_var=no"
98462 fi
98463 rm -f conftest.err conftest.$ac_objext \
98464 conftest$ac_exeext conftest.$ac_ext
98465 fi
98466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98468 if test `eval echo '${'$as_ac_var'}'` = yes; then
98469 cat >>confdefs.h <<_ACEOF
98470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98471 _ACEOF
98472
98473 fi
98474 done
98475
98476 fi
98477 fi
98478
98479
98480
98481
98482
98483
98484
98485
98486 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98487 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98488 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98489 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98490 echo $ECHO_N "(cached) $ECHO_C" >&6
98491 else
98492
98493
98494
98495 ac_ext=cc
98496 ac_cpp='$CXXCPP $CPPFLAGS'
98497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98500
98501 cat >conftest.$ac_ext <<_ACEOF
98502 /* confdefs.h. */
98503 _ACEOF
98504 cat confdefs.h >>conftest.$ac_ext
98505 cat >>conftest.$ac_ext <<_ACEOF
98506 /* end confdefs.h. */
98507 #include <math.h>
98508 #ifdef HAVE_IEEEFP_H
98509 #include <ieeefp.h>
98510 #endif
98511
98512 int
98513 main ()
98514 {
98515 isnanl(0);
98516 ;
98517 return 0;
98518 }
98519 _ACEOF
98520 rm -f conftest.$ac_objext
98521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98522 (eval $ac_compile) 2>conftest.er1
98523 ac_status=$?
98524 grep -v '^ *+' conftest.er1 >conftest.err
98525 rm -f conftest.er1
98526 cat conftest.err >&5
98527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98528 (exit $ac_status); } &&
98529 { ac_try='test -z "$ac_cxx_werror_flag"
98530 || test ! -s conftest.err'
98531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98532 (eval $ac_try) 2>&5
98533 ac_status=$?
98534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98535 (exit $ac_status); }; } &&
98536 { ac_try='test -s conftest.$ac_objext'
98537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98538 (eval $ac_try) 2>&5
98539 ac_status=$?
98540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98541 (exit $ac_status); }; }; then
98542 glibcxx_cv_func_isnanl_use=yes
98543 else
98544 echo "$as_me: failed program was:" >&5
98545 sed 's/^/| /' conftest.$ac_ext >&5
98546
98547 glibcxx_cv_func_isnanl_use=no
98548 fi
98549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98550 ac_ext=c
98551 ac_cpp='$CPP $CPPFLAGS'
98552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98555
98556
98557 fi
98558
98559 fi
98560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98561 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98562
98563 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98564
98565 for ac_func in isnanl
98566 do
98567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98568 echo "$as_me:$LINENO: checking for $ac_func" >&5
98569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98570 if eval "test \"\${$as_ac_var+set}\" = set"; then
98571 echo $ECHO_N "(cached) $ECHO_C" >&6
98572 else
98573 if test x$gcc_no_link = xyes; then
98574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98576 { (exit 1); exit 1; }; }
98577 fi
98578 cat >conftest.$ac_ext <<_ACEOF
98579 /* confdefs.h. */
98580 _ACEOF
98581 cat confdefs.h >>conftest.$ac_ext
98582 cat >>conftest.$ac_ext <<_ACEOF
98583 /* end confdefs.h. */
98584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98586 #define $ac_func innocuous_$ac_func
98587
98588 /* System header to define __stub macros and hopefully few prototypes,
98589 which can conflict with char $ac_func (); below.
98590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98591 <limits.h> exists even on freestanding compilers. */
98592
98593 #ifdef __STDC__
98594 # include <limits.h>
98595 #else
98596 # include <assert.h>
98597 #endif
98598
98599 #undef $ac_func
98600
98601 /* Override any gcc2 internal prototype to avoid an error. */
98602 #ifdef __cplusplus
98603 extern "C"
98604 {
98605 #endif
98606 /* We use char because int might match the return type of a gcc2
98607 builtin and then its argument prototype would still apply. */
98608 char $ac_func ();
98609 /* The GNU C library defines this for functions which it implements
98610 to always fail with ENOSYS. Some functions are actually named
98611 something starting with __ and the normal name is an alias. */
98612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98613 choke me
98614 #else
98615 char (*f) () = $ac_func;
98616 #endif
98617 #ifdef __cplusplus
98618 }
98619 #endif
98620
98621 int
98622 main ()
98623 {
98624 return f != $ac_func;
98625 ;
98626 return 0;
98627 }
98628 _ACEOF
98629 rm -f conftest.$ac_objext conftest$ac_exeext
98630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98631 (eval $ac_link) 2>conftest.er1
98632 ac_status=$?
98633 grep -v '^ *+' conftest.er1 >conftest.err
98634 rm -f conftest.er1
98635 cat conftest.err >&5
98636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98637 (exit $ac_status); } &&
98638 { ac_try='test -z "$ac_c_werror_flag"
98639 || test ! -s conftest.err'
98640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98641 (eval $ac_try) 2>&5
98642 ac_status=$?
98643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98644 (exit $ac_status); }; } &&
98645 { ac_try='test -s conftest$ac_exeext'
98646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98647 (eval $ac_try) 2>&5
98648 ac_status=$?
98649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98650 (exit $ac_status); }; }; then
98651 eval "$as_ac_var=yes"
98652 else
98653 echo "$as_me: failed program was:" >&5
98654 sed 's/^/| /' conftest.$ac_ext >&5
98655
98656 eval "$as_ac_var=no"
98657 fi
98658 rm -f conftest.err conftest.$ac_objext \
98659 conftest$ac_exeext conftest.$ac_ext
98660 fi
98661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98663 if test `eval echo '${'$as_ac_var'}'` = yes; then
98664 cat >>confdefs.h <<_ACEOF
98665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98666 _ACEOF
98667
98668 fi
98669 done
98670
98671 else
98672
98673 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98674 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98675 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98676 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98677 echo $ECHO_N "(cached) $ECHO_C" >&6
98678 else
98679
98680
98681
98682 ac_ext=cc
98683 ac_cpp='$CXXCPP $CPPFLAGS'
98684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98687
98688 cat >conftest.$ac_ext <<_ACEOF
98689 /* confdefs.h. */
98690 _ACEOF
98691 cat confdefs.h >>conftest.$ac_ext
98692 cat >>conftest.$ac_ext <<_ACEOF
98693 /* end confdefs.h. */
98694 #include <math.h>
98695 #ifdef HAVE_IEEEFP_H
98696 #include <ieeefp.h>
98697 #endif
98698
98699 int
98700 main ()
98701 {
98702 _isnanl(0);
98703 ;
98704 return 0;
98705 }
98706 _ACEOF
98707 rm -f conftest.$ac_objext
98708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98709 (eval $ac_compile) 2>conftest.er1
98710 ac_status=$?
98711 grep -v '^ *+' conftest.er1 >conftest.err
98712 rm -f conftest.er1
98713 cat conftest.err >&5
98714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98715 (exit $ac_status); } &&
98716 { ac_try='test -z "$ac_cxx_werror_flag"
98717 || test ! -s conftest.err'
98718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98719 (eval $ac_try) 2>&5
98720 ac_status=$?
98721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98722 (exit $ac_status); }; } &&
98723 { ac_try='test -s conftest.$ac_objext'
98724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98725 (eval $ac_try) 2>&5
98726 ac_status=$?
98727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98728 (exit $ac_status); }; }; then
98729 glibcxx_cv_func__isnanl_use=yes
98730 else
98731 echo "$as_me: failed program was:" >&5
98732 sed 's/^/| /' conftest.$ac_ext >&5
98733
98734 glibcxx_cv_func__isnanl_use=no
98735 fi
98736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98737 ac_ext=c
98738 ac_cpp='$CPP $CPPFLAGS'
98739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98742
98743
98744 fi
98745
98746 fi
98747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98748 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98749
98750 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98751
98752 for ac_func in _isnanl
98753 do
98754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98755 echo "$as_me:$LINENO: checking for $ac_func" >&5
98756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98757 if eval "test \"\${$as_ac_var+set}\" = set"; then
98758 echo $ECHO_N "(cached) $ECHO_C" >&6
98759 else
98760 if test x$gcc_no_link = xyes; then
98761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98763 { (exit 1); exit 1; }; }
98764 fi
98765 cat >conftest.$ac_ext <<_ACEOF
98766 /* confdefs.h. */
98767 _ACEOF
98768 cat confdefs.h >>conftest.$ac_ext
98769 cat >>conftest.$ac_ext <<_ACEOF
98770 /* end confdefs.h. */
98771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98773 #define $ac_func innocuous_$ac_func
98774
98775 /* System header to define __stub macros and hopefully few prototypes,
98776 which can conflict with char $ac_func (); below.
98777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98778 <limits.h> exists even on freestanding compilers. */
98779
98780 #ifdef __STDC__
98781 # include <limits.h>
98782 #else
98783 # include <assert.h>
98784 #endif
98785
98786 #undef $ac_func
98787
98788 /* Override any gcc2 internal prototype to avoid an error. */
98789 #ifdef __cplusplus
98790 extern "C"
98791 {
98792 #endif
98793 /* We use char because int might match the return type of a gcc2
98794 builtin and then its argument prototype would still apply. */
98795 char $ac_func ();
98796 /* The GNU C library defines this for functions which it implements
98797 to always fail with ENOSYS. Some functions are actually named
98798 something starting with __ and the normal name is an alias. */
98799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98800 choke me
98801 #else
98802 char (*f) () = $ac_func;
98803 #endif
98804 #ifdef __cplusplus
98805 }
98806 #endif
98807
98808 int
98809 main ()
98810 {
98811 return f != $ac_func;
98812 ;
98813 return 0;
98814 }
98815 _ACEOF
98816 rm -f conftest.$ac_objext conftest$ac_exeext
98817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98818 (eval $ac_link) 2>conftest.er1
98819 ac_status=$?
98820 grep -v '^ *+' conftest.er1 >conftest.err
98821 rm -f conftest.er1
98822 cat conftest.err >&5
98823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98824 (exit $ac_status); } &&
98825 { ac_try='test -z "$ac_c_werror_flag"
98826 || test ! -s conftest.err'
98827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98828 (eval $ac_try) 2>&5
98829 ac_status=$?
98830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98831 (exit $ac_status); }; } &&
98832 { ac_try='test -s conftest$ac_exeext'
98833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98834 (eval $ac_try) 2>&5
98835 ac_status=$?
98836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98837 (exit $ac_status); }; }; then
98838 eval "$as_ac_var=yes"
98839 else
98840 echo "$as_me: failed program was:" >&5
98841 sed 's/^/| /' conftest.$ac_ext >&5
98842
98843 eval "$as_ac_var=no"
98844 fi
98845 rm -f conftest.err conftest.$ac_objext \
98846 conftest$ac_exeext conftest.$ac_ext
98847 fi
98848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98850 if test `eval echo '${'$as_ac_var'}'` = yes; then
98851 cat >>confdefs.h <<_ACEOF
98852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98853 _ACEOF
98854
98855 fi
98856 done
98857
98858 fi
98859 fi
98860
98861
98862
98863
98864
98865
98866 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98867 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98868 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98869 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98870 echo $ECHO_N "(cached) $ECHO_C" >&6
98871 else
98872
98873
98874
98875 ac_ext=cc
98876 ac_cpp='$CXXCPP $CPPFLAGS'
98877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98880
98881 cat >conftest.$ac_ext <<_ACEOF
98882 /* confdefs.h. */
98883 _ACEOF
98884 cat confdefs.h >>conftest.$ac_ext
98885 cat >>conftest.$ac_ext <<_ACEOF
98886 /* end confdefs.h. */
98887 #include <math.h>
98888 #ifdef HAVE_IEEEFP_H
98889 #include <ieeefp.h>
98890 #endif
98891
98892 int
98893 main ()
98894 {
98895 isinfl(0);
98896 ;
98897 return 0;
98898 }
98899 _ACEOF
98900 rm -f conftest.$ac_objext
98901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98902 (eval $ac_compile) 2>conftest.er1
98903 ac_status=$?
98904 grep -v '^ *+' conftest.er1 >conftest.err
98905 rm -f conftest.er1
98906 cat conftest.err >&5
98907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98908 (exit $ac_status); } &&
98909 { ac_try='test -z "$ac_cxx_werror_flag"
98910 || test ! -s conftest.err'
98911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98912 (eval $ac_try) 2>&5
98913 ac_status=$?
98914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98915 (exit $ac_status); }; } &&
98916 { ac_try='test -s conftest.$ac_objext'
98917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98918 (eval $ac_try) 2>&5
98919 ac_status=$?
98920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98921 (exit $ac_status); }; }; then
98922 glibcxx_cv_func_isinfl_use=yes
98923 else
98924 echo "$as_me: failed program was:" >&5
98925 sed 's/^/| /' conftest.$ac_ext >&5
98926
98927 glibcxx_cv_func_isinfl_use=no
98928 fi
98929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98930 ac_ext=c
98931 ac_cpp='$CPP $CPPFLAGS'
98932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98935
98936
98937 fi
98938
98939 fi
98940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98941 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98942
98943 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98944
98945 for ac_func in isinfl
98946 do
98947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98948 echo "$as_me:$LINENO: checking for $ac_func" >&5
98949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98950 if eval "test \"\${$as_ac_var+set}\" = set"; then
98951 echo $ECHO_N "(cached) $ECHO_C" >&6
98952 else
98953 if test x$gcc_no_link = xyes; then
98954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98956 { (exit 1); exit 1; }; }
98957 fi
98958 cat >conftest.$ac_ext <<_ACEOF
98959 /* confdefs.h. */
98960 _ACEOF
98961 cat confdefs.h >>conftest.$ac_ext
98962 cat >>conftest.$ac_ext <<_ACEOF
98963 /* end confdefs.h. */
98964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98966 #define $ac_func innocuous_$ac_func
98967
98968 /* System header to define __stub macros and hopefully few prototypes,
98969 which can conflict with char $ac_func (); below.
98970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98971 <limits.h> exists even on freestanding compilers. */
98972
98973 #ifdef __STDC__
98974 # include <limits.h>
98975 #else
98976 # include <assert.h>
98977 #endif
98978
98979 #undef $ac_func
98980
98981 /* Override any gcc2 internal prototype to avoid an error. */
98982 #ifdef __cplusplus
98983 extern "C"
98984 {
98985 #endif
98986 /* We use char because int might match the return type of a gcc2
98987 builtin and then its argument prototype would still apply. */
98988 char $ac_func ();
98989 /* The GNU C library defines this for functions which it implements
98990 to always fail with ENOSYS. Some functions are actually named
98991 something starting with __ and the normal name is an alias. */
98992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98993 choke me
98994 #else
98995 char (*f) () = $ac_func;
98996 #endif
98997 #ifdef __cplusplus
98998 }
98999 #endif
99000
99001 int
99002 main ()
99003 {
99004 return f != $ac_func;
99005 ;
99006 return 0;
99007 }
99008 _ACEOF
99009 rm -f conftest.$ac_objext conftest$ac_exeext
99010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99011 (eval $ac_link) 2>conftest.er1
99012 ac_status=$?
99013 grep -v '^ *+' conftest.er1 >conftest.err
99014 rm -f conftest.er1
99015 cat conftest.err >&5
99016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99017 (exit $ac_status); } &&
99018 { ac_try='test -z "$ac_c_werror_flag"
99019 || test ! -s conftest.err'
99020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99021 (eval $ac_try) 2>&5
99022 ac_status=$?
99023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99024 (exit $ac_status); }; } &&
99025 { ac_try='test -s conftest$ac_exeext'
99026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99027 (eval $ac_try) 2>&5
99028 ac_status=$?
99029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99030 (exit $ac_status); }; }; then
99031 eval "$as_ac_var=yes"
99032 else
99033 echo "$as_me: failed program was:" >&5
99034 sed 's/^/| /' conftest.$ac_ext >&5
99035
99036 eval "$as_ac_var=no"
99037 fi
99038 rm -f conftest.err conftest.$ac_objext \
99039 conftest$ac_exeext conftest.$ac_ext
99040 fi
99041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99043 if test `eval echo '${'$as_ac_var'}'` = yes; then
99044 cat >>confdefs.h <<_ACEOF
99045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99046 _ACEOF
99047
99048 fi
99049 done
99050
99051 else
99052
99053 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99054 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99055 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99056 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99057 echo $ECHO_N "(cached) $ECHO_C" >&6
99058 else
99059
99060
99061
99062 ac_ext=cc
99063 ac_cpp='$CXXCPP $CPPFLAGS'
99064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99067
99068 cat >conftest.$ac_ext <<_ACEOF
99069 /* confdefs.h. */
99070 _ACEOF
99071 cat confdefs.h >>conftest.$ac_ext
99072 cat >>conftest.$ac_ext <<_ACEOF
99073 /* end confdefs.h. */
99074 #include <math.h>
99075 #ifdef HAVE_IEEEFP_H
99076 #include <ieeefp.h>
99077 #endif
99078
99079 int
99080 main ()
99081 {
99082 _isinfl(0);
99083 ;
99084 return 0;
99085 }
99086 _ACEOF
99087 rm -f conftest.$ac_objext
99088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99089 (eval $ac_compile) 2>conftest.er1
99090 ac_status=$?
99091 grep -v '^ *+' conftest.er1 >conftest.err
99092 rm -f conftest.er1
99093 cat conftest.err >&5
99094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99095 (exit $ac_status); } &&
99096 { ac_try='test -z "$ac_cxx_werror_flag"
99097 || test ! -s conftest.err'
99098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99099 (eval $ac_try) 2>&5
99100 ac_status=$?
99101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99102 (exit $ac_status); }; } &&
99103 { ac_try='test -s conftest.$ac_objext'
99104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99105 (eval $ac_try) 2>&5
99106 ac_status=$?
99107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99108 (exit $ac_status); }; }; then
99109 glibcxx_cv_func__isinfl_use=yes
99110 else
99111 echo "$as_me: failed program was:" >&5
99112 sed 's/^/| /' conftest.$ac_ext >&5
99113
99114 glibcxx_cv_func__isinfl_use=no
99115 fi
99116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99117 ac_ext=c
99118 ac_cpp='$CPP $CPPFLAGS'
99119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99122
99123
99124 fi
99125
99126 fi
99127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99128 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99129
99130 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99131
99132 for ac_func in _isinfl
99133 do
99134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99135 echo "$as_me:$LINENO: checking for $ac_func" >&5
99136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99137 if eval "test \"\${$as_ac_var+set}\" = set"; then
99138 echo $ECHO_N "(cached) $ECHO_C" >&6
99139 else
99140 if test x$gcc_no_link = xyes; then
99141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99143 { (exit 1); exit 1; }; }
99144 fi
99145 cat >conftest.$ac_ext <<_ACEOF
99146 /* confdefs.h. */
99147 _ACEOF
99148 cat confdefs.h >>conftest.$ac_ext
99149 cat >>conftest.$ac_ext <<_ACEOF
99150 /* end confdefs.h. */
99151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99153 #define $ac_func innocuous_$ac_func
99154
99155 /* System header to define __stub macros and hopefully few prototypes,
99156 which can conflict with char $ac_func (); below.
99157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99158 <limits.h> exists even on freestanding compilers. */
99159
99160 #ifdef __STDC__
99161 # include <limits.h>
99162 #else
99163 # include <assert.h>
99164 #endif
99165
99166 #undef $ac_func
99167
99168 /* Override any gcc2 internal prototype to avoid an error. */
99169 #ifdef __cplusplus
99170 extern "C"
99171 {
99172 #endif
99173 /* We use char because int might match the return type of a gcc2
99174 builtin and then its argument prototype would still apply. */
99175 char $ac_func ();
99176 /* The GNU C library defines this for functions which it implements
99177 to always fail with ENOSYS. Some functions are actually named
99178 something starting with __ and the normal name is an alias. */
99179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99180 choke me
99181 #else
99182 char (*f) () = $ac_func;
99183 #endif
99184 #ifdef __cplusplus
99185 }
99186 #endif
99187
99188 int
99189 main ()
99190 {
99191 return f != $ac_func;
99192 ;
99193 return 0;
99194 }
99195 _ACEOF
99196 rm -f conftest.$ac_objext conftest$ac_exeext
99197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99198 (eval $ac_link) 2>conftest.er1
99199 ac_status=$?
99200 grep -v '^ *+' conftest.er1 >conftest.err
99201 rm -f conftest.er1
99202 cat conftest.err >&5
99203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99204 (exit $ac_status); } &&
99205 { ac_try='test -z "$ac_c_werror_flag"
99206 || test ! -s conftest.err'
99207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99208 (eval $ac_try) 2>&5
99209 ac_status=$?
99210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99211 (exit $ac_status); }; } &&
99212 { ac_try='test -s conftest$ac_exeext'
99213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99214 (eval $ac_try) 2>&5
99215 ac_status=$?
99216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99217 (exit $ac_status); }; }; then
99218 eval "$as_ac_var=yes"
99219 else
99220 echo "$as_me: failed program was:" >&5
99221 sed 's/^/| /' conftest.$ac_ext >&5
99222
99223 eval "$as_ac_var=no"
99224 fi
99225 rm -f conftest.err conftest.$ac_objext \
99226 conftest$ac_exeext conftest.$ac_ext
99227 fi
99228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99230 if test `eval echo '${'$as_ac_var'}'` = yes; then
99231 cat >>confdefs.h <<_ACEOF
99232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99233 _ACEOF
99234
99235 fi
99236 done
99237
99238 fi
99239 fi
99240
99241
99242
99243
99244
99245
99246 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99247 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99248 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99249 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99250 echo $ECHO_N "(cached) $ECHO_C" >&6
99251 else
99252
99253
99254
99255 ac_ext=cc
99256 ac_cpp='$CXXCPP $CPPFLAGS'
99257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99260
99261 cat >conftest.$ac_ext <<_ACEOF
99262 /* confdefs.h. */
99263 _ACEOF
99264 cat confdefs.h >>conftest.$ac_ext
99265 cat >>conftest.$ac_ext <<_ACEOF
99266 /* end confdefs.h. */
99267 #include <math.h>
99268 int
99269 main ()
99270 {
99271 copysignl(0, 0);
99272 ;
99273 return 0;
99274 }
99275 _ACEOF
99276 rm -f conftest.$ac_objext
99277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99278 (eval $ac_compile) 2>conftest.er1
99279 ac_status=$?
99280 grep -v '^ *+' conftest.er1 >conftest.err
99281 rm -f conftest.er1
99282 cat conftest.err >&5
99283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99284 (exit $ac_status); } &&
99285 { ac_try='test -z "$ac_cxx_werror_flag"
99286 || test ! -s conftest.err'
99287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99288 (eval $ac_try) 2>&5
99289 ac_status=$?
99290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99291 (exit $ac_status); }; } &&
99292 { ac_try='test -s conftest.$ac_objext'
99293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99294 (eval $ac_try) 2>&5
99295 ac_status=$?
99296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99297 (exit $ac_status); }; }; then
99298 glibcxx_cv_func_copysignl_use=yes
99299 else
99300 echo "$as_me: failed program was:" >&5
99301 sed 's/^/| /' conftest.$ac_ext >&5
99302
99303 glibcxx_cv_func_copysignl_use=no
99304 fi
99305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99306 ac_ext=c
99307 ac_cpp='$CPP $CPPFLAGS'
99308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99311
99312
99313 fi
99314
99315 fi
99316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99317 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99318
99319 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99320
99321 for ac_func in copysignl
99322 do
99323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99324 echo "$as_me:$LINENO: checking for $ac_func" >&5
99325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99326 if eval "test \"\${$as_ac_var+set}\" = set"; then
99327 echo $ECHO_N "(cached) $ECHO_C" >&6
99328 else
99329 if test x$gcc_no_link = xyes; then
99330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99332 { (exit 1); exit 1; }; }
99333 fi
99334 cat >conftest.$ac_ext <<_ACEOF
99335 /* confdefs.h. */
99336 _ACEOF
99337 cat confdefs.h >>conftest.$ac_ext
99338 cat >>conftest.$ac_ext <<_ACEOF
99339 /* end confdefs.h. */
99340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99342 #define $ac_func innocuous_$ac_func
99343
99344 /* System header to define __stub macros and hopefully few prototypes,
99345 which can conflict with char $ac_func (); below.
99346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99347 <limits.h> exists even on freestanding compilers. */
99348
99349 #ifdef __STDC__
99350 # include <limits.h>
99351 #else
99352 # include <assert.h>
99353 #endif
99354
99355 #undef $ac_func
99356
99357 /* Override any gcc2 internal prototype to avoid an error. */
99358 #ifdef __cplusplus
99359 extern "C"
99360 {
99361 #endif
99362 /* We use char because int might match the return type of a gcc2
99363 builtin and then its argument prototype would still apply. */
99364 char $ac_func ();
99365 /* The GNU C library defines this for functions which it implements
99366 to always fail with ENOSYS. Some functions are actually named
99367 something starting with __ and the normal name is an alias. */
99368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99369 choke me
99370 #else
99371 char (*f) () = $ac_func;
99372 #endif
99373 #ifdef __cplusplus
99374 }
99375 #endif
99376
99377 int
99378 main ()
99379 {
99380 return f != $ac_func;
99381 ;
99382 return 0;
99383 }
99384 _ACEOF
99385 rm -f conftest.$ac_objext conftest$ac_exeext
99386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99387 (eval $ac_link) 2>conftest.er1
99388 ac_status=$?
99389 grep -v '^ *+' conftest.er1 >conftest.err
99390 rm -f conftest.er1
99391 cat conftest.err >&5
99392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99393 (exit $ac_status); } &&
99394 { ac_try='test -z "$ac_c_werror_flag"
99395 || test ! -s conftest.err'
99396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99397 (eval $ac_try) 2>&5
99398 ac_status=$?
99399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99400 (exit $ac_status); }; } &&
99401 { ac_try='test -s conftest$ac_exeext'
99402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99403 (eval $ac_try) 2>&5
99404 ac_status=$?
99405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99406 (exit $ac_status); }; }; then
99407 eval "$as_ac_var=yes"
99408 else
99409 echo "$as_me: failed program was:" >&5
99410 sed 's/^/| /' conftest.$ac_ext >&5
99411
99412 eval "$as_ac_var=no"
99413 fi
99414 rm -f conftest.err conftest.$ac_objext \
99415 conftest$ac_exeext conftest.$ac_ext
99416 fi
99417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99419 if test `eval echo '${'$as_ac_var'}'` = yes; then
99420 cat >>confdefs.h <<_ACEOF
99421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99422 _ACEOF
99423
99424 fi
99425 done
99426
99427 else
99428
99429 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99430 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99431 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99432 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99433 echo $ECHO_N "(cached) $ECHO_C" >&6
99434 else
99435
99436
99437
99438 ac_ext=cc
99439 ac_cpp='$CXXCPP $CPPFLAGS'
99440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99443
99444 cat >conftest.$ac_ext <<_ACEOF
99445 /* confdefs.h. */
99446 _ACEOF
99447 cat confdefs.h >>conftest.$ac_ext
99448 cat >>conftest.$ac_ext <<_ACEOF
99449 /* end confdefs.h. */
99450 #include <math.h>
99451 int
99452 main ()
99453 {
99454 _copysignl(0, 0);
99455 ;
99456 return 0;
99457 }
99458 _ACEOF
99459 rm -f conftest.$ac_objext
99460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99461 (eval $ac_compile) 2>conftest.er1
99462 ac_status=$?
99463 grep -v '^ *+' conftest.er1 >conftest.err
99464 rm -f conftest.er1
99465 cat conftest.err >&5
99466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99467 (exit $ac_status); } &&
99468 { ac_try='test -z "$ac_cxx_werror_flag"
99469 || test ! -s conftest.err'
99470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99471 (eval $ac_try) 2>&5
99472 ac_status=$?
99473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99474 (exit $ac_status); }; } &&
99475 { ac_try='test -s conftest.$ac_objext'
99476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99477 (eval $ac_try) 2>&5
99478 ac_status=$?
99479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99480 (exit $ac_status); }; }; then
99481 glibcxx_cv_func__copysignl_use=yes
99482 else
99483 echo "$as_me: failed program was:" >&5
99484 sed 's/^/| /' conftest.$ac_ext >&5
99485
99486 glibcxx_cv_func__copysignl_use=no
99487 fi
99488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99489 ac_ext=c
99490 ac_cpp='$CPP $CPPFLAGS'
99491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99494
99495
99496 fi
99497
99498 fi
99499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99500 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99501
99502 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99503
99504 for ac_func in _copysignl
99505 do
99506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99507 echo "$as_me:$LINENO: checking for $ac_func" >&5
99508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99509 if eval "test \"\${$as_ac_var+set}\" = set"; then
99510 echo $ECHO_N "(cached) $ECHO_C" >&6
99511 else
99512 if test x$gcc_no_link = xyes; then
99513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99515 { (exit 1); exit 1; }; }
99516 fi
99517 cat >conftest.$ac_ext <<_ACEOF
99518 /* confdefs.h. */
99519 _ACEOF
99520 cat confdefs.h >>conftest.$ac_ext
99521 cat >>conftest.$ac_ext <<_ACEOF
99522 /* end confdefs.h. */
99523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99525 #define $ac_func innocuous_$ac_func
99526
99527 /* System header to define __stub macros and hopefully few prototypes,
99528 which can conflict with char $ac_func (); below.
99529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99530 <limits.h> exists even on freestanding compilers. */
99531
99532 #ifdef __STDC__
99533 # include <limits.h>
99534 #else
99535 # include <assert.h>
99536 #endif
99537
99538 #undef $ac_func
99539
99540 /* Override any gcc2 internal prototype to avoid an error. */
99541 #ifdef __cplusplus
99542 extern "C"
99543 {
99544 #endif
99545 /* We use char because int might match the return type of a gcc2
99546 builtin and then its argument prototype would still apply. */
99547 char $ac_func ();
99548 /* The GNU C library defines this for functions which it implements
99549 to always fail with ENOSYS. Some functions are actually named
99550 something starting with __ and the normal name is an alias. */
99551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99552 choke me
99553 #else
99554 char (*f) () = $ac_func;
99555 #endif
99556 #ifdef __cplusplus
99557 }
99558 #endif
99559
99560 int
99561 main ()
99562 {
99563 return f != $ac_func;
99564 ;
99565 return 0;
99566 }
99567 _ACEOF
99568 rm -f conftest.$ac_objext conftest$ac_exeext
99569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99570 (eval $ac_link) 2>conftest.er1
99571 ac_status=$?
99572 grep -v '^ *+' conftest.er1 >conftest.err
99573 rm -f conftest.er1
99574 cat conftest.err >&5
99575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99576 (exit $ac_status); } &&
99577 { ac_try='test -z "$ac_c_werror_flag"
99578 || test ! -s conftest.err'
99579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99580 (eval $ac_try) 2>&5
99581 ac_status=$?
99582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99583 (exit $ac_status); }; } &&
99584 { ac_try='test -s conftest$ac_exeext'
99585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99586 (eval $ac_try) 2>&5
99587 ac_status=$?
99588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99589 (exit $ac_status); }; }; then
99590 eval "$as_ac_var=yes"
99591 else
99592 echo "$as_me: failed program was:" >&5
99593 sed 's/^/| /' conftest.$ac_ext >&5
99594
99595 eval "$as_ac_var=no"
99596 fi
99597 rm -f conftest.err conftest.$ac_objext \
99598 conftest$ac_exeext conftest.$ac_ext
99599 fi
99600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99602 if test `eval echo '${'$as_ac_var'}'` = yes; then
99603 cat >>confdefs.h <<_ACEOF
99604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99605 _ACEOF
99606
99607 fi
99608 done
99609
99610 fi
99611 fi
99612
99613
99614
99615
99616
99617
99618 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99619 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99620 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99621 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99622 echo $ECHO_N "(cached) $ECHO_C" >&6
99623 else
99624
99625
99626
99627 ac_ext=cc
99628 ac_cpp='$CXXCPP $CPPFLAGS'
99629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99632
99633 cat >conftest.$ac_ext <<_ACEOF
99634 /* confdefs.h. */
99635 _ACEOF
99636 cat confdefs.h >>conftest.$ac_ext
99637 cat >>conftest.$ac_ext <<_ACEOF
99638 /* end confdefs.h. */
99639 #include <math.h>
99640 int
99641 main ()
99642 {
99643 atan2l(0, 0);
99644 ;
99645 return 0;
99646 }
99647 _ACEOF
99648 rm -f conftest.$ac_objext
99649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99650 (eval $ac_compile) 2>conftest.er1
99651 ac_status=$?
99652 grep -v '^ *+' conftest.er1 >conftest.err
99653 rm -f conftest.er1
99654 cat conftest.err >&5
99655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99656 (exit $ac_status); } &&
99657 { ac_try='test -z "$ac_cxx_werror_flag"
99658 || test ! -s conftest.err'
99659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99660 (eval $ac_try) 2>&5
99661 ac_status=$?
99662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99663 (exit $ac_status); }; } &&
99664 { ac_try='test -s conftest.$ac_objext'
99665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99666 (eval $ac_try) 2>&5
99667 ac_status=$?
99668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99669 (exit $ac_status); }; }; then
99670 glibcxx_cv_func_atan2l_use=yes
99671 else
99672 echo "$as_me: failed program was:" >&5
99673 sed 's/^/| /' conftest.$ac_ext >&5
99674
99675 glibcxx_cv_func_atan2l_use=no
99676 fi
99677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99678 ac_ext=c
99679 ac_cpp='$CPP $CPPFLAGS'
99680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99683
99684
99685 fi
99686
99687 fi
99688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99689 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99690
99691 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99692
99693 for ac_func in atan2l
99694 do
99695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99696 echo "$as_me:$LINENO: checking for $ac_func" >&5
99697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99698 if eval "test \"\${$as_ac_var+set}\" = set"; then
99699 echo $ECHO_N "(cached) $ECHO_C" >&6
99700 else
99701 if test x$gcc_no_link = xyes; then
99702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99704 { (exit 1); exit 1; }; }
99705 fi
99706 cat >conftest.$ac_ext <<_ACEOF
99707 /* confdefs.h. */
99708 _ACEOF
99709 cat confdefs.h >>conftest.$ac_ext
99710 cat >>conftest.$ac_ext <<_ACEOF
99711 /* end confdefs.h. */
99712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99714 #define $ac_func innocuous_$ac_func
99715
99716 /* System header to define __stub macros and hopefully few prototypes,
99717 which can conflict with char $ac_func (); below.
99718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99719 <limits.h> exists even on freestanding compilers. */
99720
99721 #ifdef __STDC__
99722 # include <limits.h>
99723 #else
99724 # include <assert.h>
99725 #endif
99726
99727 #undef $ac_func
99728
99729 /* Override any gcc2 internal prototype to avoid an error. */
99730 #ifdef __cplusplus
99731 extern "C"
99732 {
99733 #endif
99734 /* We use char because int might match the return type of a gcc2
99735 builtin and then its argument prototype would still apply. */
99736 char $ac_func ();
99737 /* The GNU C library defines this for functions which it implements
99738 to always fail with ENOSYS. Some functions are actually named
99739 something starting with __ and the normal name is an alias. */
99740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99741 choke me
99742 #else
99743 char (*f) () = $ac_func;
99744 #endif
99745 #ifdef __cplusplus
99746 }
99747 #endif
99748
99749 int
99750 main ()
99751 {
99752 return f != $ac_func;
99753 ;
99754 return 0;
99755 }
99756 _ACEOF
99757 rm -f conftest.$ac_objext conftest$ac_exeext
99758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99759 (eval $ac_link) 2>conftest.er1
99760 ac_status=$?
99761 grep -v '^ *+' conftest.er1 >conftest.err
99762 rm -f conftest.er1
99763 cat conftest.err >&5
99764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99765 (exit $ac_status); } &&
99766 { ac_try='test -z "$ac_c_werror_flag"
99767 || test ! -s conftest.err'
99768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99769 (eval $ac_try) 2>&5
99770 ac_status=$?
99771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99772 (exit $ac_status); }; } &&
99773 { ac_try='test -s conftest$ac_exeext'
99774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99775 (eval $ac_try) 2>&5
99776 ac_status=$?
99777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99778 (exit $ac_status); }; }; then
99779 eval "$as_ac_var=yes"
99780 else
99781 echo "$as_me: failed program was:" >&5
99782 sed 's/^/| /' conftest.$ac_ext >&5
99783
99784 eval "$as_ac_var=no"
99785 fi
99786 rm -f conftest.err conftest.$ac_objext \
99787 conftest$ac_exeext conftest.$ac_ext
99788 fi
99789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99791 if test `eval echo '${'$as_ac_var'}'` = yes; then
99792 cat >>confdefs.h <<_ACEOF
99793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99794 _ACEOF
99795
99796 fi
99797 done
99798
99799 else
99800
99801 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99802 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99803 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99804 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99805 echo $ECHO_N "(cached) $ECHO_C" >&6
99806 else
99807
99808
99809
99810 ac_ext=cc
99811 ac_cpp='$CXXCPP $CPPFLAGS'
99812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99815
99816 cat >conftest.$ac_ext <<_ACEOF
99817 /* confdefs.h. */
99818 _ACEOF
99819 cat confdefs.h >>conftest.$ac_ext
99820 cat >>conftest.$ac_ext <<_ACEOF
99821 /* end confdefs.h. */
99822 #include <math.h>
99823 int
99824 main ()
99825 {
99826 _atan2l(0, 0);
99827 ;
99828 return 0;
99829 }
99830 _ACEOF
99831 rm -f conftest.$ac_objext
99832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99833 (eval $ac_compile) 2>conftest.er1
99834 ac_status=$?
99835 grep -v '^ *+' conftest.er1 >conftest.err
99836 rm -f conftest.er1
99837 cat conftest.err >&5
99838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99839 (exit $ac_status); } &&
99840 { ac_try='test -z "$ac_cxx_werror_flag"
99841 || test ! -s conftest.err'
99842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99843 (eval $ac_try) 2>&5
99844 ac_status=$?
99845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99846 (exit $ac_status); }; } &&
99847 { ac_try='test -s conftest.$ac_objext'
99848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99849 (eval $ac_try) 2>&5
99850 ac_status=$?
99851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99852 (exit $ac_status); }; }; then
99853 glibcxx_cv_func__atan2l_use=yes
99854 else
99855 echo "$as_me: failed program was:" >&5
99856 sed 's/^/| /' conftest.$ac_ext >&5
99857
99858 glibcxx_cv_func__atan2l_use=no
99859 fi
99860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99861 ac_ext=c
99862 ac_cpp='$CPP $CPPFLAGS'
99863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99866
99867
99868 fi
99869
99870 fi
99871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99872 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99873
99874 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99875
99876 for ac_func in _atan2l
99877 do
99878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99879 echo "$as_me:$LINENO: checking for $ac_func" >&5
99880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99881 if eval "test \"\${$as_ac_var+set}\" = set"; then
99882 echo $ECHO_N "(cached) $ECHO_C" >&6
99883 else
99884 if test x$gcc_no_link = xyes; then
99885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99887 { (exit 1); exit 1; }; }
99888 fi
99889 cat >conftest.$ac_ext <<_ACEOF
99890 /* confdefs.h. */
99891 _ACEOF
99892 cat confdefs.h >>conftest.$ac_ext
99893 cat >>conftest.$ac_ext <<_ACEOF
99894 /* end confdefs.h. */
99895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99897 #define $ac_func innocuous_$ac_func
99898
99899 /* System header to define __stub macros and hopefully few prototypes,
99900 which can conflict with char $ac_func (); below.
99901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99902 <limits.h> exists even on freestanding compilers. */
99903
99904 #ifdef __STDC__
99905 # include <limits.h>
99906 #else
99907 # include <assert.h>
99908 #endif
99909
99910 #undef $ac_func
99911
99912 /* Override any gcc2 internal prototype to avoid an error. */
99913 #ifdef __cplusplus
99914 extern "C"
99915 {
99916 #endif
99917 /* We use char because int might match the return type of a gcc2
99918 builtin and then its argument prototype would still apply. */
99919 char $ac_func ();
99920 /* The GNU C library defines this for functions which it implements
99921 to always fail with ENOSYS. Some functions are actually named
99922 something starting with __ and the normal name is an alias. */
99923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99924 choke me
99925 #else
99926 char (*f) () = $ac_func;
99927 #endif
99928 #ifdef __cplusplus
99929 }
99930 #endif
99931
99932 int
99933 main ()
99934 {
99935 return f != $ac_func;
99936 ;
99937 return 0;
99938 }
99939 _ACEOF
99940 rm -f conftest.$ac_objext conftest$ac_exeext
99941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99942 (eval $ac_link) 2>conftest.er1
99943 ac_status=$?
99944 grep -v '^ *+' conftest.er1 >conftest.err
99945 rm -f conftest.er1
99946 cat conftest.err >&5
99947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99948 (exit $ac_status); } &&
99949 { ac_try='test -z "$ac_c_werror_flag"
99950 || test ! -s conftest.err'
99951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99952 (eval $ac_try) 2>&5
99953 ac_status=$?
99954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99955 (exit $ac_status); }; } &&
99956 { ac_try='test -s conftest$ac_exeext'
99957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99958 (eval $ac_try) 2>&5
99959 ac_status=$?
99960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99961 (exit $ac_status); }; }; then
99962 eval "$as_ac_var=yes"
99963 else
99964 echo "$as_me: failed program was:" >&5
99965 sed 's/^/| /' conftest.$ac_ext >&5
99966
99967 eval "$as_ac_var=no"
99968 fi
99969 rm -f conftest.err conftest.$ac_objext \
99970 conftest$ac_exeext conftest.$ac_ext
99971 fi
99972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99974 if test `eval echo '${'$as_ac_var'}'` = yes; then
99975 cat >>confdefs.h <<_ACEOF
99976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99977 _ACEOF
99978
99979 fi
99980 done
99981
99982 fi
99983 fi
99984
99985
99986
99987
99988
99989
99990 echo "$as_me:$LINENO: checking for expl declaration" >&5
99991 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
99992 if test x${glibcxx_cv_func_expl_use+set} != xset; then
99993 if test "${glibcxx_cv_func_expl_use+set}" = set; then
99994 echo $ECHO_N "(cached) $ECHO_C" >&6
99995 else
99996
99997
99998
99999 ac_ext=cc
100000 ac_cpp='$CXXCPP $CPPFLAGS'
100001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100004
100005 cat >conftest.$ac_ext <<_ACEOF
100006 /* confdefs.h. */
100007 _ACEOF
100008 cat confdefs.h >>conftest.$ac_ext
100009 cat >>conftest.$ac_ext <<_ACEOF
100010 /* end confdefs.h. */
100011 #include <math.h>
100012 #ifdef HAVE_IEEEFP_H
100013 #include <ieeefp.h>
100014 #endif
100015
100016 int
100017 main ()
100018 {
100019 expl(0);
100020 ;
100021 return 0;
100022 }
100023 _ACEOF
100024 rm -f conftest.$ac_objext
100025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100026 (eval $ac_compile) 2>conftest.er1
100027 ac_status=$?
100028 grep -v '^ *+' conftest.er1 >conftest.err
100029 rm -f conftest.er1
100030 cat conftest.err >&5
100031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100032 (exit $ac_status); } &&
100033 { ac_try='test -z "$ac_cxx_werror_flag"
100034 || test ! -s conftest.err'
100035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100036 (eval $ac_try) 2>&5
100037 ac_status=$?
100038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100039 (exit $ac_status); }; } &&
100040 { ac_try='test -s conftest.$ac_objext'
100041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100042 (eval $ac_try) 2>&5
100043 ac_status=$?
100044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100045 (exit $ac_status); }; }; then
100046 glibcxx_cv_func_expl_use=yes
100047 else
100048 echo "$as_me: failed program was:" >&5
100049 sed 's/^/| /' conftest.$ac_ext >&5
100050
100051 glibcxx_cv_func_expl_use=no
100052 fi
100053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100054 ac_ext=c
100055 ac_cpp='$CPP $CPPFLAGS'
100056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100059
100060
100061 fi
100062
100063 fi
100064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100065 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100066
100067 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100068
100069 for ac_func in expl
100070 do
100071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100072 echo "$as_me:$LINENO: checking for $ac_func" >&5
100073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100074 if eval "test \"\${$as_ac_var+set}\" = set"; then
100075 echo $ECHO_N "(cached) $ECHO_C" >&6
100076 else
100077 if test x$gcc_no_link = xyes; then
100078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100080 { (exit 1); exit 1; }; }
100081 fi
100082 cat >conftest.$ac_ext <<_ACEOF
100083 /* confdefs.h. */
100084 _ACEOF
100085 cat confdefs.h >>conftest.$ac_ext
100086 cat >>conftest.$ac_ext <<_ACEOF
100087 /* end confdefs.h. */
100088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100090 #define $ac_func innocuous_$ac_func
100091
100092 /* System header to define __stub macros and hopefully few prototypes,
100093 which can conflict with char $ac_func (); below.
100094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100095 <limits.h> exists even on freestanding compilers. */
100096
100097 #ifdef __STDC__
100098 # include <limits.h>
100099 #else
100100 # include <assert.h>
100101 #endif
100102
100103 #undef $ac_func
100104
100105 /* Override any gcc2 internal prototype to avoid an error. */
100106 #ifdef __cplusplus
100107 extern "C"
100108 {
100109 #endif
100110 /* We use char because int might match the return type of a gcc2
100111 builtin and then its argument prototype would still apply. */
100112 char $ac_func ();
100113 /* The GNU C library defines this for functions which it implements
100114 to always fail with ENOSYS. Some functions are actually named
100115 something starting with __ and the normal name is an alias. */
100116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100117 choke me
100118 #else
100119 char (*f) () = $ac_func;
100120 #endif
100121 #ifdef __cplusplus
100122 }
100123 #endif
100124
100125 int
100126 main ()
100127 {
100128 return f != $ac_func;
100129 ;
100130 return 0;
100131 }
100132 _ACEOF
100133 rm -f conftest.$ac_objext conftest$ac_exeext
100134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100135 (eval $ac_link) 2>conftest.er1
100136 ac_status=$?
100137 grep -v '^ *+' conftest.er1 >conftest.err
100138 rm -f conftest.er1
100139 cat conftest.err >&5
100140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100141 (exit $ac_status); } &&
100142 { ac_try='test -z "$ac_c_werror_flag"
100143 || test ! -s conftest.err'
100144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100145 (eval $ac_try) 2>&5
100146 ac_status=$?
100147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100148 (exit $ac_status); }; } &&
100149 { ac_try='test -s conftest$ac_exeext'
100150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100151 (eval $ac_try) 2>&5
100152 ac_status=$?
100153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100154 (exit $ac_status); }; }; then
100155 eval "$as_ac_var=yes"
100156 else
100157 echo "$as_me: failed program was:" >&5
100158 sed 's/^/| /' conftest.$ac_ext >&5
100159
100160 eval "$as_ac_var=no"
100161 fi
100162 rm -f conftest.err conftest.$ac_objext \
100163 conftest$ac_exeext conftest.$ac_ext
100164 fi
100165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100167 if test `eval echo '${'$as_ac_var'}'` = yes; then
100168 cat >>confdefs.h <<_ACEOF
100169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100170 _ACEOF
100171
100172 fi
100173 done
100174
100175 else
100176
100177 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100178 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100179 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100180 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100181 echo $ECHO_N "(cached) $ECHO_C" >&6
100182 else
100183
100184
100185
100186 ac_ext=cc
100187 ac_cpp='$CXXCPP $CPPFLAGS'
100188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100191
100192 cat >conftest.$ac_ext <<_ACEOF
100193 /* confdefs.h. */
100194 _ACEOF
100195 cat confdefs.h >>conftest.$ac_ext
100196 cat >>conftest.$ac_ext <<_ACEOF
100197 /* end confdefs.h. */
100198 #include <math.h>
100199 #ifdef HAVE_IEEEFP_H
100200 #include <ieeefp.h>
100201 #endif
100202
100203 int
100204 main ()
100205 {
100206 _expl(0);
100207 ;
100208 return 0;
100209 }
100210 _ACEOF
100211 rm -f conftest.$ac_objext
100212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100213 (eval $ac_compile) 2>conftest.er1
100214 ac_status=$?
100215 grep -v '^ *+' conftest.er1 >conftest.err
100216 rm -f conftest.er1
100217 cat conftest.err >&5
100218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100219 (exit $ac_status); } &&
100220 { ac_try='test -z "$ac_cxx_werror_flag"
100221 || test ! -s conftest.err'
100222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100223 (eval $ac_try) 2>&5
100224 ac_status=$?
100225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100226 (exit $ac_status); }; } &&
100227 { ac_try='test -s conftest.$ac_objext'
100228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100229 (eval $ac_try) 2>&5
100230 ac_status=$?
100231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100232 (exit $ac_status); }; }; then
100233 glibcxx_cv_func__expl_use=yes
100234 else
100235 echo "$as_me: failed program was:" >&5
100236 sed 's/^/| /' conftest.$ac_ext >&5
100237
100238 glibcxx_cv_func__expl_use=no
100239 fi
100240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100241 ac_ext=c
100242 ac_cpp='$CPP $CPPFLAGS'
100243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100246
100247
100248 fi
100249
100250 fi
100251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100252 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100253
100254 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100255
100256 for ac_func in _expl
100257 do
100258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100259 echo "$as_me:$LINENO: checking for $ac_func" >&5
100260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100261 if eval "test \"\${$as_ac_var+set}\" = set"; then
100262 echo $ECHO_N "(cached) $ECHO_C" >&6
100263 else
100264 if test x$gcc_no_link = xyes; then
100265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100267 { (exit 1); exit 1; }; }
100268 fi
100269 cat >conftest.$ac_ext <<_ACEOF
100270 /* confdefs.h. */
100271 _ACEOF
100272 cat confdefs.h >>conftest.$ac_ext
100273 cat >>conftest.$ac_ext <<_ACEOF
100274 /* end confdefs.h. */
100275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100277 #define $ac_func innocuous_$ac_func
100278
100279 /* System header to define __stub macros and hopefully few prototypes,
100280 which can conflict with char $ac_func (); below.
100281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100282 <limits.h> exists even on freestanding compilers. */
100283
100284 #ifdef __STDC__
100285 # include <limits.h>
100286 #else
100287 # include <assert.h>
100288 #endif
100289
100290 #undef $ac_func
100291
100292 /* Override any gcc2 internal prototype to avoid an error. */
100293 #ifdef __cplusplus
100294 extern "C"
100295 {
100296 #endif
100297 /* We use char because int might match the return type of a gcc2
100298 builtin and then its argument prototype would still apply. */
100299 char $ac_func ();
100300 /* The GNU C library defines this for functions which it implements
100301 to always fail with ENOSYS. Some functions are actually named
100302 something starting with __ and the normal name is an alias. */
100303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100304 choke me
100305 #else
100306 char (*f) () = $ac_func;
100307 #endif
100308 #ifdef __cplusplus
100309 }
100310 #endif
100311
100312 int
100313 main ()
100314 {
100315 return f != $ac_func;
100316 ;
100317 return 0;
100318 }
100319 _ACEOF
100320 rm -f conftest.$ac_objext conftest$ac_exeext
100321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100322 (eval $ac_link) 2>conftest.er1
100323 ac_status=$?
100324 grep -v '^ *+' conftest.er1 >conftest.err
100325 rm -f conftest.er1
100326 cat conftest.err >&5
100327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100328 (exit $ac_status); } &&
100329 { ac_try='test -z "$ac_c_werror_flag"
100330 || test ! -s conftest.err'
100331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100332 (eval $ac_try) 2>&5
100333 ac_status=$?
100334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100335 (exit $ac_status); }; } &&
100336 { ac_try='test -s conftest$ac_exeext'
100337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100338 (eval $ac_try) 2>&5
100339 ac_status=$?
100340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100341 (exit $ac_status); }; }; then
100342 eval "$as_ac_var=yes"
100343 else
100344 echo "$as_me: failed program was:" >&5
100345 sed 's/^/| /' conftest.$ac_ext >&5
100346
100347 eval "$as_ac_var=no"
100348 fi
100349 rm -f conftest.err conftest.$ac_objext \
100350 conftest$ac_exeext conftest.$ac_ext
100351 fi
100352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100354 if test `eval echo '${'$as_ac_var'}'` = yes; then
100355 cat >>confdefs.h <<_ACEOF
100356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100357 _ACEOF
100358
100359 fi
100360 done
100361
100362 fi
100363 fi
100364
100365
100366
100367
100368
100369
100370 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100371 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100372 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100373 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100374 echo $ECHO_N "(cached) $ECHO_C" >&6
100375 else
100376
100377
100378
100379 ac_ext=cc
100380 ac_cpp='$CXXCPP $CPPFLAGS'
100381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100384
100385 cat >conftest.$ac_ext <<_ACEOF
100386 /* confdefs.h. */
100387 _ACEOF
100388 cat confdefs.h >>conftest.$ac_ext
100389 cat >>conftest.$ac_ext <<_ACEOF
100390 /* end confdefs.h. */
100391 #include <math.h>
100392 #ifdef HAVE_IEEEFP_H
100393 #include <ieeefp.h>
100394 #endif
100395
100396 int
100397 main ()
100398 {
100399 fabsl(0);
100400 ;
100401 return 0;
100402 }
100403 _ACEOF
100404 rm -f conftest.$ac_objext
100405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100406 (eval $ac_compile) 2>conftest.er1
100407 ac_status=$?
100408 grep -v '^ *+' conftest.er1 >conftest.err
100409 rm -f conftest.er1
100410 cat conftest.err >&5
100411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100412 (exit $ac_status); } &&
100413 { ac_try='test -z "$ac_cxx_werror_flag"
100414 || test ! -s conftest.err'
100415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100416 (eval $ac_try) 2>&5
100417 ac_status=$?
100418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100419 (exit $ac_status); }; } &&
100420 { ac_try='test -s conftest.$ac_objext'
100421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100422 (eval $ac_try) 2>&5
100423 ac_status=$?
100424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100425 (exit $ac_status); }; }; then
100426 glibcxx_cv_func_fabsl_use=yes
100427 else
100428 echo "$as_me: failed program was:" >&5
100429 sed 's/^/| /' conftest.$ac_ext >&5
100430
100431 glibcxx_cv_func_fabsl_use=no
100432 fi
100433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100434 ac_ext=c
100435 ac_cpp='$CPP $CPPFLAGS'
100436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100439
100440
100441 fi
100442
100443 fi
100444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100445 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100446
100447 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100448
100449 for ac_func in fabsl
100450 do
100451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100452 echo "$as_me:$LINENO: checking for $ac_func" >&5
100453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100454 if eval "test \"\${$as_ac_var+set}\" = set"; then
100455 echo $ECHO_N "(cached) $ECHO_C" >&6
100456 else
100457 if test x$gcc_no_link = xyes; then
100458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100460 { (exit 1); exit 1; }; }
100461 fi
100462 cat >conftest.$ac_ext <<_ACEOF
100463 /* confdefs.h. */
100464 _ACEOF
100465 cat confdefs.h >>conftest.$ac_ext
100466 cat >>conftest.$ac_ext <<_ACEOF
100467 /* end confdefs.h. */
100468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100470 #define $ac_func innocuous_$ac_func
100471
100472 /* System header to define __stub macros and hopefully few prototypes,
100473 which can conflict with char $ac_func (); below.
100474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100475 <limits.h> exists even on freestanding compilers. */
100476
100477 #ifdef __STDC__
100478 # include <limits.h>
100479 #else
100480 # include <assert.h>
100481 #endif
100482
100483 #undef $ac_func
100484
100485 /* Override any gcc2 internal prototype to avoid an error. */
100486 #ifdef __cplusplus
100487 extern "C"
100488 {
100489 #endif
100490 /* We use char because int might match the return type of a gcc2
100491 builtin and then its argument prototype would still apply. */
100492 char $ac_func ();
100493 /* The GNU C library defines this for functions which it implements
100494 to always fail with ENOSYS. Some functions are actually named
100495 something starting with __ and the normal name is an alias. */
100496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100497 choke me
100498 #else
100499 char (*f) () = $ac_func;
100500 #endif
100501 #ifdef __cplusplus
100502 }
100503 #endif
100504
100505 int
100506 main ()
100507 {
100508 return f != $ac_func;
100509 ;
100510 return 0;
100511 }
100512 _ACEOF
100513 rm -f conftest.$ac_objext conftest$ac_exeext
100514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100515 (eval $ac_link) 2>conftest.er1
100516 ac_status=$?
100517 grep -v '^ *+' conftest.er1 >conftest.err
100518 rm -f conftest.er1
100519 cat conftest.err >&5
100520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100521 (exit $ac_status); } &&
100522 { ac_try='test -z "$ac_c_werror_flag"
100523 || test ! -s conftest.err'
100524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100525 (eval $ac_try) 2>&5
100526 ac_status=$?
100527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100528 (exit $ac_status); }; } &&
100529 { ac_try='test -s conftest$ac_exeext'
100530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100531 (eval $ac_try) 2>&5
100532 ac_status=$?
100533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100534 (exit $ac_status); }; }; then
100535 eval "$as_ac_var=yes"
100536 else
100537 echo "$as_me: failed program was:" >&5
100538 sed 's/^/| /' conftest.$ac_ext >&5
100539
100540 eval "$as_ac_var=no"
100541 fi
100542 rm -f conftest.err conftest.$ac_objext \
100543 conftest$ac_exeext conftest.$ac_ext
100544 fi
100545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100547 if test `eval echo '${'$as_ac_var'}'` = yes; then
100548 cat >>confdefs.h <<_ACEOF
100549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100550 _ACEOF
100551
100552 fi
100553 done
100554
100555 else
100556
100557 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100558 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100559 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100560 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100561 echo $ECHO_N "(cached) $ECHO_C" >&6
100562 else
100563
100564
100565
100566 ac_ext=cc
100567 ac_cpp='$CXXCPP $CPPFLAGS'
100568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100571
100572 cat >conftest.$ac_ext <<_ACEOF
100573 /* confdefs.h. */
100574 _ACEOF
100575 cat confdefs.h >>conftest.$ac_ext
100576 cat >>conftest.$ac_ext <<_ACEOF
100577 /* end confdefs.h. */
100578 #include <math.h>
100579 #ifdef HAVE_IEEEFP_H
100580 #include <ieeefp.h>
100581 #endif
100582
100583 int
100584 main ()
100585 {
100586 _fabsl(0);
100587 ;
100588 return 0;
100589 }
100590 _ACEOF
100591 rm -f conftest.$ac_objext
100592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100593 (eval $ac_compile) 2>conftest.er1
100594 ac_status=$?
100595 grep -v '^ *+' conftest.er1 >conftest.err
100596 rm -f conftest.er1
100597 cat conftest.err >&5
100598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100599 (exit $ac_status); } &&
100600 { ac_try='test -z "$ac_cxx_werror_flag"
100601 || test ! -s conftest.err'
100602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100603 (eval $ac_try) 2>&5
100604 ac_status=$?
100605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100606 (exit $ac_status); }; } &&
100607 { ac_try='test -s conftest.$ac_objext'
100608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100609 (eval $ac_try) 2>&5
100610 ac_status=$?
100611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100612 (exit $ac_status); }; }; then
100613 glibcxx_cv_func__fabsl_use=yes
100614 else
100615 echo "$as_me: failed program was:" >&5
100616 sed 's/^/| /' conftest.$ac_ext >&5
100617
100618 glibcxx_cv_func__fabsl_use=no
100619 fi
100620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100621 ac_ext=c
100622 ac_cpp='$CPP $CPPFLAGS'
100623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100626
100627
100628 fi
100629
100630 fi
100631 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100632 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100633
100634 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100635
100636 for ac_func in _fabsl
100637 do
100638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100639 echo "$as_me:$LINENO: checking for $ac_func" >&5
100640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100641 if eval "test \"\${$as_ac_var+set}\" = set"; then
100642 echo $ECHO_N "(cached) $ECHO_C" >&6
100643 else
100644 if test x$gcc_no_link = xyes; then
100645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100647 { (exit 1); exit 1; }; }
100648 fi
100649 cat >conftest.$ac_ext <<_ACEOF
100650 /* confdefs.h. */
100651 _ACEOF
100652 cat confdefs.h >>conftest.$ac_ext
100653 cat >>conftest.$ac_ext <<_ACEOF
100654 /* end confdefs.h. */
100655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100657 #define $ac_func innocuous_$ac_func
100658
100659 /* System header to define __stub macros and hopefully few prototypes,
100660 which can conflict with char $ac_func (); below.
100661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100662 <limits.h> exists even on freestanding compilers. */
100663
100664 #ifdef __STDC__
100665 # include <limits.h>
100666 #else
100667 # include <assert.h>
100668 #endif
100669
100670 #undef $ac_func
100671
100672 /* Override any gcc2 internal prototype to avoid an error. */
100673 #ifdef __cplusplus
100674 extern "C"
100675 {
100676 #endif
100677 /* We use char because int might match the return type of a gcc2
100678 builtin and then its argument prototype would still apply. */
100679 char $ac_func ();
100680 /* The GNU C library defines this for functions which it implements
100681 to always fail with ENOSYS. Some functions are actually named
100682 something starting with __ and the normal name is an alias. */
100683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100684 choke me
100685 #else
100686 char (*f) () = $ac_func;
100687 #endif
100688 #ifdef __cplusplus
100689 }
100690 #endif
100691
100692 int
100693 main ()
100694 {
100695 return f != $ac_func;
100696 ;
100697 return 0;
100698 }
100699 _ACEOF
100700 rm -f conftest.$ac_objext conftest$ac_exeext
100701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100702 (eval $ac_link) 2>conftest.er1
100703 ac_status=$?
100704 grep -v '^ *+' conftest.er1 >conftest.err
100705 rm -f conftest.er1
100706 cat conftest.err >&5
100707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100708 (exit $ac_status); } &&
100709 { ac_try='test -z "$ac_c_werror_flag"
100710 || test ! -s conftest.err'
100711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100712 (eval $ac_try) 2>&5
100713 ac_status=$?
100714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100715 (exit $ac_status); }; } &&
100716 { ac_try='test -s conftest$ac_exeext'
100717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100718 (eval $ac_try) 2>&5
100719 ac_status=$?
100720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100721 (exit $ac_status); }; }; then
100722 eval "$as_ac_var=yes"
100723 else
100724 echo "$as_me: failed program was:" >&5
100725 sed 's/^/| /' conftest.$ac_ext >&5
100726
100727 eval "$as_ac_var=no"
100728 fi
100729 rm -f conftest.err conftest.$ac_objext \
100730 conftest$ac_exeext conftest.$ac_ext
100731 fi
100732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100734 if test `eval echo '${'$as_ac_var'}'` = yes; then
100735 cat >>confdefs.h <<_ACEOF
100736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100737 _ACEOF
100738
100739 fi
100740 done
100741
100742 fi
100743 fi
100744
100745
100746
100747
100748
100749
100750 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100751 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100752 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100753 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100754 echo $ECHO_N "(cached) $ECHO_C" >&6
100755 else
100756
100757
100758
100759 ac_ext=cc
100760 ac_cpp='$CXXCPP $CPPFLAGS'
100761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100764
100765 cat >conftest.$ac_ext <<_ACEOF
100766 /* confdefs.h. */
100767 _ACEOF
100768 cat confdefs.h >>conftest.$ac_ext
100769 cat >>conftest.$ac_ext <<_ACEOF
100770 /* end confdefs.h. */
100771 #include <math.h>
100772 int
100773 main ()
100774 {
100775 fmodl(0, 0);
100776 ;
100777 return 0;
100778 }
100779 _ACEOF
100780 rm -f conftest.$ac_objext
100781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100782 (eval $ac_compile) 2>conftest.er1
100783 ac_status=$?
100784 grep -v '^ *+' conftest.er1 >conftest.err
100785 rm -f conftest.er1
100786 cat conftest.err >&5
100787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100788 (exit $ac_status); } &&
100789 { ac_try='test -z "$ac_cxx_werror_flag"
100790 || test ! -s conftest.err'
100791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100792 (eval $ac_try) 2>&5
100793 ac_status=$?
100794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100795 (exit $ac_status); }; } &&
100796 { ac_try='test -s conftest.$ac_objext'
100797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100798 (eval $ac_try) 2>&5
100799 ac_status=$?
100800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100801 (exit $ac_status); }; }; then
100802 glibcxx_cv_func_fmodl_use=yes
100803 else
100804 echo "$as_me: failed program was:" >&5
100805 sed 's/^/| /' conftest.$ac_ext >&5
100806
100807 glibcxx_cv_func_fmodl_use=no
100808 fi
100809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100810 ac_ext=c
100811 ac_cpp='$CPP $CPPFLAGS'
100812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100815
100816
100817 fi
100818
100819 fi
100820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100821 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100822
100823 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100824
100825 for ac_func in fmodl
100826 do
100827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100828 echo "$as_me:$LINENO: checking for $ac_func" >&5
100829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100830 if eval "test \"\${$as_ac_var+set}\" = set"; then
100831 echo $ECHO_N "(cached) $ECHO_C" >&6
100832 else
100833 if test x$gcc_no_link = xyes; then
100834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100836 { (exit 1); exit 1; }; }
100837 fi
100838 cat >conftest.$ac_ext <<_ACEOF
100839 /* confdefs.h. */
100840 _ACEOF
100841 cat confdefs.h >>conftest.$ac_ext
100842 cat >>conftest.$ac_ext <<_ACEOF
100843 /* end confdefs.h. */
100844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100846 #define $ac_func innocuous_$ac_func
100847
100848 /* System header to define __stub macros and hopefully few prototypes,
100849 which can conflict with char $ac_func (); below.
100850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100851 <limits.h> exists even on freestanding compilers. */
100852
100853 #ifdef __STDC__
100854 # include <limits.h>
100855 #else
100856 # include <assert.h>
100857 #endif
100858
100859 #undef $ac_func
100860
100861 /* Override any gcc2 internal prototype to avoid an error. */
100862 #ifdef __cplusplus
100863 extern "C"
100864 {
100865 #endif
100866 /* We use char because int might match the return type of a gcc2
100867 builtin and then its argument prototype would still apply. */
100868 char $ac_func ();
100869 /* The GNU C library defines this for functions which it implements
100870 to always fail with ENOSYS. Some functions are actually named
100871 something starting with __ and the normal name is an alias. */
100872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100873 choke me
100874 #else
100875 char (*f) () = $ac_func;
100876 #endif
100877 #ifdef __cplusplus
100878 }
100879 #endif
100880
100881 int
100882 main ()
100883 {
100884 return f != $ac_func;
100885 ;
100886 return 0;
100887 }
100888 _ACEOF
100889 rm -f conftest.$ac_objext conftest$ac_exeext
100890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100891 (eval $ac_link) 2>conftest.er1
100892 ac_status=$?
100893 grep -v '^ *+' conftest.er1 >conftest.err
100894 rm -f conftest.er1
100895 cat conftest.err >&5
100896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100897 (exit $ac_status); } &&
100898 { ac_try='test -z "$ac_c_werror_flag"
100899 || test ! -s conftest.err'
100900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100901 (eval $ac_try) 2>&5
100902 ac_status=$?
100903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100904 (exit $ac_status); }; } &&
100905 { ac_try='test -s conftest$ac_exeext'
100906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100907 (eval $ac_try) 2>&5
100908 ac_status=$?
100909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100910 (exit $ac_status); }; }; then
100911 eval "$as_ac_var=yes"
100912 else
100913 echo "$as_me: failed program was:" >&5
100914 sed 's/^/| /' conftest.$ac_ext >&5
100915
100916 eval "$as_ac_var=no"
100917 fi
100918 rm -f conftest.err conftest.$ac_objext \
100919 conftest$ac_exeext conftest.$ac_ext
100920 fi
100921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100923 if test `eval echo '${'$as_ac_var'}'` = yes; then
100924 cat >>confdefs.h <<_ACEOF
100925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100926 _ACEOF
100927
100928 fi
100929 done
100930
100931 else
100932
100933 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100934 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100935 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100936 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100937 echo $ECHO_N "(cached) $ECHO_C" >&6
100938 else
100939
100940
100941
100942 ac_ext=cc
100943 ac_cpp='$CXXCPP $CPPFLAGS'
100944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100947
100948 cat >conftest.$ac_ext <<_ACEOF
100949 /* confdefs.h. */
100950 _ACEOF
100951 cat confdefs.h >>conftest.$ac_ext
100952 cat >>conftest.$ac_ext <<_ACEOF
100953 /* end confdefs.h. */
100954 #include <math.h>
100955 int
100956 main ()
100957 {
100958 _fmodl(0, 0);
100959 ;
100960 return 0;
100961 }
100962 _ACEOF
100963 rm -f conftest.$ac_objext
100964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100965 (eval $ac_compile) 2>conftest.er1
100966 ac_status=$?
100967 grep -v '^ *+' conftest.er1 >conftest.err
100968 rm -f conftest.er1
100969 cat conftest.err >&5
100970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100971 (exit $ac_status); } &&
100972 { ac_try='test -z "$ac_cxx_werror_flag"
100973 || test ! -s conftest.err'
100974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100975 (eval $ac_try) 2>&5
100976 ac_status=$?
100977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100978 (exit $ac_status); }; } &&
100979 { ac_try='test -s conftest.$ac_objext'
100980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100981 (eval $ac_try) 2>&5
100982 ac_status=$?
100983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100984 (exit $ac_status); }; }; then
100985 glibcxx_cv_func__fmodl_use=yes
100986 else
100987 echo "$as_me: failed program was:" >&5
100988 sed 's/^/| /' conftest.$ac_ext >&5
100989
100990 glibcxx_cv_func__fmodl_use=no
100991 fi
100992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100993 ac_ext=c
100994 ac_cpp='$CPP $CPPFLAGS'
100995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100998
100999
101000 fi
101001
101002 fi
101003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101004 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101005
101006 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101007
101008 for ac_func in _fmodl
101009 do
101010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101011 echo "$as_me:$LINENO: checking for $ac_func" >&5
101012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101013 if eval "test \"\${$as_ac_var+set}\" = set"; then
101014 echo $ECHO_N "(cached) $ECHO_C" >&6
101015 else
101016 if test x$gcc_no_link = xyes; then
101017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101019 { (exit 1); exit 1; }; }
101020 fi
101021 cat >conftest.$ac_ext <<_ACEOF
101022 /* confdefs.h. */
101023 _ACEOF
101024 cat confdefs.h >>conftest.$ac_ext
101025 cat >>conftest.$ac_ext <<_ACEOF
101026 /* end confdefs.h. */
101027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101029 #define $ac_func innocuous_$ac_func
101030
101031 /* System header to define __stub macros and hopefully few prototypes,
101032 which can conflict with char $ac_func (); below.
101033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101034 <limits.h> exists even on freestanding compilers. */
101035
101036 #ifdef __STDC__
101037 # include <limits.h>
101038 #else
101039 # include <assert.h>
101040 #endif
101041
101042 #undef $ac_func
101043
101044 /* Override any gcc2 internal prototype to avoid an error. */
101045 #ifdef __cplusplus
101046 extern "C"
101047 {
101048 #endif
101049 /* We use char because int might match the return type of a gcc2
101050 builtin and then its argument prototype would still apply. */
101051 char $ac_func ();
101052 /* The GNU C library defines this for functions which it implements
101053 to always fail with ENOSYS. Some functions are actually named
101054 something starting with __ and the normal name is an alias. */
101055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101056 choke me
101057 #else
101058 char (*f) () = $ac_func;
101059 #endif
101060 #ifdef __cplusplus
101061 }
101062 #endif
101063
101064 int
101065 main ()
101066 {
101067 return f != $ac_func;
101068 ;
101069 return 0;
101070 }
101071 _ACEOF
101072 rm -f conftest.$ac_objext conftest$ac_exeext
101073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101074 (eval $ac_link) 2>conftest.er1
101075 ac_status=$?
101076 grep -v '^ *+' conftest.er1 >conftest.err
101077 rm -f conftest.er1
101078 cat conftest.err >&5
101079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101080 (exit $ac_status); } &&
101081 { ac_try='test -z "$ac_c_werror_flag"
101082 || test ! -s conftest.err'
101083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101084 (eval $ac_try) 2>&5
101085 ac_status=$?
101086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101087 (exit $ac_status); }; } &&
101088 { ac_try='test -s conftest$ac_exeext'
101089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101090 (eval $ac_try) 2>&5
101091 ac_status=$?
101092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101093 (exit $ac_status); }; }; then
101094 eval "$as_ac_var=yes"
101095 else
101096 echo "$as_me: failed program was:" >&5
101097 sed 's/^/| /' conftest.$ac_ext >&5
101098
101099 eval "$as_ac_var=no"
101100 fi
101101 rm -f conftest.err conftest.$ac_objext \
101102 conftest$ac_exeext conftest.$ac_ext
101103 fi
101104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101106 if test `eval echo '${'$as_ac_var'}'` = yes; then
101107 cat >>confdefs.h <<_ACEOF
101108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101109 _ACEOF
101110
101111 fi
101112 done
101113
101114 fi
101115 fi
101116
101117
101118
101119
101120
101121
101122 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101123 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101124 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101125 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101126 echo $ECHO_N "(cached) $ECHO_C" >&6
101127 else
101128
101129
101130
101131 ac_ext=cc
101132 ac_cpp='$CXXCPP $CPPFLAGS'
101133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101136
101137 cat >conftest.$ac_ext <<_ACEOF
101138 /* confdefs.h. */
101139 _ACEOF
101140 cat confdefs.h >>conftest.$ac_ext
101141 cat >>conftest.$ac_ext <<_ACEOF
101142 /* end confdefs.h. */
101143 #include <math.h>
101144 int
101145 main ()
101146 {
101147 frexpl(0, 0);
101148 ;
101149 return 0;
101150 }
101151 _ACEOF
101152 rm -f conftest.$ac_objext
101153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101154 (eval $ac_compile) 2>conftest.er1
101155 ac_status=$?
101156 grep -v '^ *+' conftest.er1 >conftest.err
101157 rm -f conftest.er1
101158 cat conftest.err >&5
101159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101160 (exit $ac_status); } &&
101161 { ac_try='test -z "$ac_cxx_werror_flag"
101162 || test ! -s conftest.err'
101163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101164 (eval $ac_try) 2>&5
101165 ac_status=$?
101166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101167 (exit $ac_status); }; } &&
101168 { ac_try='test -s conftest.$ac_objext'
101169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101170 (eval $ac_try) 2>&5
101171 ac_status=$?
101172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101173 (exit $ac_status); }; }; then
101174 glibcxx_cv_func_frexpl_use=yes
101175 else
101176 echo "$as_me: failed program was:" >&5
101177 sed 's/^/| /' conftest.$ac_ext >&5
101178
101179 glibcxx_cv_func_frexpl_use=no
101180 fi
101181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101182 ac_ext=c
101183 ac_cpp='$CPP $CPPFLAGS'
101184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101187
101188
101189 fi
101190
101191 fi
101192 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101193 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101194
101195 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101196
101197 for ac_func in frexpl
101198 do
101199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101200 echo "$as_me:$LINENO: checking for $ac_func" >&5
101201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101202 if eval "test \"\${$as_ac_var+set}\" = set"; then
101203 echo $ECHO_N "(cached) $ECHO_C" >&6
101204 else
101205 if test x$gcc_no_link = xyes; then
101206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101208 { (exit 1); exit 1; }; }
101209 fi
101210 cat >conftest.$ac_ext <<_ACEOF
101211 /* confdefs.h. */
101212 _ACEOF
101213 cat confdefs.h >>conftest.$ac_ext
101214 cat >>conftest.$ac_ext <<_ACEOF
101215 /* end confdefs.h. */
101216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101218 #define $ac_func innocuous_$ac_func
101219
101220 /* System header to define __stub macros and hopefully few prototypes,
101221 which can conflict with char $ac_func (); below.
101222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101223 <limits.h> exists even on freestanding compilers. */
101224
101225 #ifdef __STDC__
101226 # include <limits.h>
101227 #else
101228 # include <assert.h>
101229 #endif
101230
101231 #undef $ac_func
101232
101233 /* Override any gcc2 internal prototype to avoid an error. */
101234 #ifdef __cplusplus
101235 extern "C"
101236 {
101237 #endif
101238 /* We use char because int might match the return type of a gcc2
101239 builtin and then its argument prototype would still apply. */
101240 char $ac_func ();
101241 /* The GNU C library defines this for functions which it implements
101242 to always fail with ENOSYS. Some functions are actually named
101243 something starting with __ and the normal name is an alias. */
101244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101245 choke me
101246 #else
101247 char (*f) () = $ac_func;
101248 #endif
101249 #ifdef __cplusplus
101250 }
101251 #endif
101252
101253 int
101254 main ()
101255 {
101256 return f != $ac_func;
101257 ;
101258 return 0;
101259 }
101260 _ACEOF
101261 rm -f conftest.$ac_objext conftest$ac_exeext
101262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101263 (eval $ac_link) 2>conftest.er1
101264 ac_status=$?
101265 grep -v '^ *+' conftest.er1 >conftest.err
101266 rm -f conftest.er1
101267 cat conftest.err >&5
101268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101269 (exit $ac_status); } &&
101270 { ac_try='test -z "$ac_c_werror_flag"
101271 || test ! -s conftest.err'
101272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101273 (eval $ac_try) 2>&5
101274 ac_status=$?
101275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101276 (exit $ac_status); }; } &&
101277 { ac_try='test -s conftest$ac_exeext'
101278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101279 (eval $ac_try) 2>&5
101280 ac_status=$?
101281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282 (exit $ac_status); }; }; then
101283 eval "$as_ac_var=yes"
101284 else
101285 echo "$as_me: failed program was:" >&5
101286 sed 's/^/| /' conftest.$ac_ext >&5
101287
101288 eval "$as_ac_var=no"
101289 fi
101290 rm -f conftest.err conftest.$ac_objext \
101291 conftest$ac_exeext conftest.$ac_ext
101292 fi
101293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101295 if test `eval echo '${'$as_ac_var'}'` = yes; then
101296 cat >>confdefs.h <<_ACEOF
101297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101298 _ACEOF
101299
101300 fi
101301 done
101302
101303 else
101304
101305 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101306 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101307 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101308 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101309 echo $ECHO_N "(cached) $ECHO_C" >&6
101310 else
101311
101312
101313
101314 ac_ext=cc
101315 ac_cpp='$CXXCPP $CPPFLAGS'
101316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101319
101320 cat >conftest.$ac_ext <<_ACEOF
101321 /* confdefs.h. */
101322 _ACEOF
101323 cat confdefs.h >>conftest.$ac_ext
101324 cat >>conftest.$ac_ext <<_ACEOF
101325 /* end confdefs.h. */
101326 #include <math.h>
101327 int
101328 main ()
101329 {
101330 _frexpl(0, 0);
101331 ;
101332 return 0;
101333 }
101334 _ACEOF
101335 rm -f conftest.$ac_objext
101336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101337 (eval $ac_compile) 2>conftest.er1
101338 ac_status=$?
101339 grep -v '^ *+' conftest.er1 >conftest.err
101340 rm -f conftest.er1
101341 cat conftest.err >&5
101342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101343 (exit $ac_status); } &&
101344 { ac_try='test -z "$ac_cxx_werror_flag"
101345 || test ! -s conftest.err'
101346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101347 (eval $ac_try) 2>&5
101348 ac_status=$?
101349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101350 (exit $ac_status); }; } &&
101351 { ac_try='test -s conftest.$ac_objext'
101352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101353 (eval $ac_try) 2>&5
101354 ac_status=$?
101355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101356 (exit $ac_status); }; }; then
101357 glibcxx_cv_func__frexpl_use=yes
101358 else
101359 echo "$as_me: failed program was:" >&5
101360 sed 's/^/| /' conftest.$ac_ext >&5
101361
101362 glibcxx_cv_func__frexpl_use=no
101363 fi
101364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101365 ac_ext=c
101366 ac_cpp='$CPP $CPPFLAGS'
101367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101370
101371
101372 fi
101373
101374 fi
101375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101376 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101377
101378 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101379
101380 for ac_func in _frexpl
101381 do
101382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101383 echo "$as_me:$LINENO: checking for $ac_func" >&5
101384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101385 if eval "test \"\${$as_ac_var+set}\" = set"; then
101386 echo $ECHO_N "(cached) $ECHO_C" >&6
101387 else
101388 if test x$gcc_no_link = xyes; then
101389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101391 { (exit 1); exit 1; }; }
101392 fi
101393 cat >conftest.$ac_ext <<_ACEOF
101394 /* confdefs.h. */
101395 _ACEOF
101396 cat confdefs.h >>conftest.$ac_ext
101397 cat >>conftest.$ac_ext <<_ACEOF
101398 /* end confdefs.h. */
101399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101401 #define $ac_func innocuous_$ac_func
101402
101403 /* System header to define __stub macros and hopefully few prototypes,
101404 which can conflict with char $ac_func (); below.
101405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101406 <limits.h> exists even on freestanding compilers. */
101407
101408 #ifdef __STDC__
101409 # include <limits.h>
101410 #else
101411 # include <assert.h>
101412 #endif
101413
101414 #undef $ac_func
101415
101416 /* Override any gcc2 internal prototype to avoid an error. */
101417 #ifdef __cplusplus
101418 extern "C"
101419 {
101420 #endif
101421 /* We use char because int might match the return type of a gcc2
101422 builtin and then its argument prototype would still apply. */
101423 char $ac_func ();
101424 /* The GNU C library defines this for functions which it implements
101425 to always fail with ENOSYS. Some functions are actually named
101426 something starting with __ and the normal name is an alias. */
101427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101428 choke me
101429 #else
101430 char (*f) () = $ac_func;
101431 #endif
101432 #ifdef __cplusplus
101433 }
101434 #endif
101435
101436 int
101437 main ()
101438 {
101439 return f != $ac_func;
101440 ;
101441 return 0;
101442 }
101443 _ACEOF
101444 rm -f conftest.$ac_objext conftest$ac_exeext
101445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101446 (eval $ac_link) 2>conftest.er1
101447 ac_status=$?
101448 grep -v '^ *+' conftest.er1 >conftest.err
101449 rm -f conftest.er1
101450 cat conftest.err >&5
101451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101452 (exit $ac_status); } &&
101453 { ac_try='test -z "$ac_c_werror_flag"
101454 || test ! -s conftest.err'
101455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101456 (eval $ac_try) 2>&5
101457 ac_status=$?
101458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101459 (exit $ac_status); }; } &&
101460 { ac_try='test -s conftest$ac_exeext'
101461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101462 (eval $ac_try) 2>&5
101463 ac_status=$?
101464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101465 (exit $ac_status); }; }; then
101466 eval "$as_ac_var=yes"
101467 else
101468 echo "$as_me: failed program was:" >&5
101469 sed 's/^/| /' conftest.$ac_ext >&5
101470
101471 eval "$as_ac_var=no"
101472 fi
101473 rm -f conftest.err conftest.$ac_objext \
101474 conftest$ac_exeext conftest.$ac_ext
101475 fi
101476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101478 if test `eval echo '${'$as_ac_var'}'` = yes; then
101479 cat >>confdefs.h <<_ACEOF
101480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101481 _ACEOF
101482
101483 fi
101484 done
101485
101486 fi
101487 fi
101488
101489
101490
101491
101492
101493
101494 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101495 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101496 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101497 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101498 echo $ECHO_N "(cached) $ECHO_C" >&6
101499 else
101500
101501
101502
101503 ac_ext=cc
101504 ac_cpp='$CXXCPP $CPPFLAGS'
101505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101508
101509 cat >conftest.$ac_ext <<_ACEOF
101510 /* confdefs.h. */
101511 _ACEOF
101512 cat confdefs.h >>conftest.$ac_ext
101513 cat >>conftest.$ac_ext <<_ACEOF
101514 /* end confdefs.h. */
101515 #include <math.h>
101516 int
101517 main ()
101518 {
101519 hypotl(0, 0);
101520 ;
101521 return 0;
101522 }
101523 _ACEOF
101524 rm -f conftest.$ac_objext
101525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101526 (eval $ac_compile) 2>conftest.er1
101527 ac_status=$?
101528 grep -v '^ *+' conftest.er1 >conftest.err
101529 rm -f conftest.er1
101530 cat conftest.err >&5
101531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101532 (exit $ac_status); } &&
101533 { ac_try='test -z "$ac_cxx_werror_flag"
101534 || test ! -s conftest.err'
101535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101536 (eval $ac_try) 2>&5
101537 ac_status=$?
101538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101539 (exit $ac_status); }; } &&
101540 { ac_try='test -s conftest.$ac_objext'
101541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101542 (eval $ac_try) 2>&5
101543 ac_status=$?
101544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101545 (exit $ac_status); }; }; then
101546 glibcxx_cv_func_hypotl_use=yes
101547 else
101548 echo "$as_me: failed program was:" >&5
101549 sed 's/^/| /' conftest.$ac_ext >&5
101550
101551 glibcxx_cv_func_hypotl_use=no
101552 fi
101553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101554 ac_ext=c
101555 ac_cpp='$CPP $CPPFLAGS'
101556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101559
101560
101561 fi
101562
101563 fi
101564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101565 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101566
101567 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101568
101569 for ac_func in hypotl
101570 do
101571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101572 echo "$as_me:$LINENO: checking for $ac_func" >&5
101573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101574 if eval "test \"\${$as_ac_var+set}\" = set"; then
101575 echo $ECHO_N "(cached) $ECHO_C" >&6
101576 else
101577 if test x$gcc_no_link = xyes; then
101578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101580 { (exit 1); exit 1; }; }
101581 fi
101582 cat >conftest.$ac_ext <<_ACEOF
101583 /* confdefs.h. */
101584 _ACEOF
101585 cat confdefs.h >>conftest.$ac_ext
101586 cat >>conftest.$ac_ext <<_ACEOF
101587 /* end confdefs.h. */
101588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101590 #define $ac_func innocuous_$ac_func
101591
101592 /* System header to define __stub macros and hopefully few prototypes,
101593 which can conflict with char $ac_func (); below.
101594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101595 <limits.h> exists even on freestanding compilers. */
101596
101597 #ifdef __STDC__
101598 # include <limits.h>
101599 #else
101600 # include <assert.h>
101601 #endif
101602
101603 #undef $ac_func
101604
101605 /* Override any gcc2 internal prototype to avoid an error. */
101606 #ifdef __cplusplus
101607 extern "C"
101608 {
101609 #endif
101610 /* We use char because int might match the return type of a gcc2
101611 builtin and then its argument prototype would still apply. */
101612 char $ac_func ();
101613 /* The GNU C library defines this for functions which it implements
101614 to always fail with ENOSYS. Some functions are actually named
101615 something starting with __ and the normal name is an alias. */
101616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101617 choke me
101618 #else
101619 char (*f) () = $ac_func;
101620 #endif
101621 #ifdef __cplusplus
101622 }
101623 #endif
101624
101625 int
101626 main ()
101627 {
101628 return f != $ac_func;
101629 ;
101630 return 0;
101631 }
101632 _ACEOF
101633 rm -f conftest.$ac_objext conftest$ac_exeext
101634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101635 (eval $ac_link) 2>conftest.er1
101636 ac_status=$?
101637 grep -v '^ *+' conftest.er1 >conftest.err
101638 rm -f conftest.er1
101639 cat conftest.err >&5
101640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101641 (exit $ac_status); } &&
101642 { ac_try='test -z "$ac_c_werror_flag"
101643 || test ! -s conftest.err'
101644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101645 (eval $ac_try) 2>&5
101646 ac_status=$?
101647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101648 (exit $ac_status); }; } &&
101649 { ac_try='test -s conftest$ac_exeext'
101650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101651 (eval $ac_try) 2>&5
101652 ac_status=$?
101653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101654 (exit $ac_status); }; }; then
101655 eval "$as_ac_var=yes"
101656 else
101657 echo "$as_me: failed program was:" >&5
101658 sed 's/^/| /' conftest.$ac_ext >&5
101659
101660 eval "$as_ac_var=no"
101661 fi
101662 rm -f conftest.err conftest.$ac_objext \
101663 conftest$ac_exeext conftest.$ac_ext
101664 fi
101665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101667 if test `eval echo '${'$as_ac_var'}'` = yes; then
101668 cat >>confdefs.h <<_ACEOF
101669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101670 _ACEOF
101671
101672 fi
101673 done
101674
101675 else
101676
101677 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101678 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101679 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101680 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101681 echo $ECHO_N "(cached) $ECHO_C" >&6
101682 else
101683
101684
101685
101686 ac_ext=cc
101687 ac_cpp='$CXXCPP $CPPFLAGS'
101688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101691
101692 cat >conftest.$ac_ext <<_ACEOF
101693 /* confdefs.h. */
101694 _ACEOF
101695 cat confdefs.h >>conftest.$ac_ext
101696 cat >>conftest.$ac_ext <<_ACEOF
101697 /* end confdefs.h. */
101698 #include <math.h>
101699 int
101700 main ()
101701 {
101702 _hypotl(0, 0);
101703 ;
101704 return 0;
101705 }
101706 _ACEOF
101707 rm -f conftest.$ac_objext
101708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101709 (eval $ac_compile) 2>conftest.er1
101710 ac_status=$?
101711 grep -v '^ *+' conftest.er1 >conftest.err
101712 rm -f conftest.er1
101713 cat conftest.err >&5
101714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101715 (exit $ac_status); } &&
101716 { ac_try='test -z "$ac_cxx_werror_flag"
101717 || test ! -s conftest.err'
101718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101719 (eval $ac_try) 2>&5
101720 ac_status=$?
101721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101722 (exit $ac_status); }; } &&
101723 { ac_try='test -s conftest.$ac_objext'
101724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101725 (eval $ac_try) 2>&5
101726 ac_status=$?
101727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101728 (exit $ac_status); }; }; then
101729 glibcxx_cv_func__hypotl_use=yes
101730 else
101731 echo "$as_me: failed program was:" >&5
101732 sed 's/^/| /' conftest.$ac_ext >&5
101733
101734 glibcxx_cv_func__hypotl_use=no
101735 fi
101736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101737 ac_ext=c
101738 ac_cpp='$CPP $CPPFLAGS'
101739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101742
101743
101744 fi
101745
101746 fi
101747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101748 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101749
101750 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101751
101752 for ac_func in _hypotl
101753 do
101754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101755 echo "$as_me:$LINENO: checking for $ac_func" >&5
101756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101757 if eval "test \"\${$as_ac_var+set}\" = set"; then
101758 echo $ECHO_N "(cached) $ECHO_C" >&6
101759 else
101760 if test x$gcc_no_link = xyes; then
101761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101763 { (exit 1); exit 1; }; }
101764 fi
101765 cat >conftest.$ac_ext <<_ACEOF
101766 /* confdefs.h. */
101767 _ACEOF
101768 cat confdefs.h >>conftest.$ac_ext
101769 cat >>conftest.$ac_ext <<_ACEOF
101770 /* end confdefs.h. */
101771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101773 #define $ac_func innocuous_$ac_func
101774
101775 /* System header to define __stub macros and hopefully few prototypes,
101776 which can conflict with char $ac_func (); below.
101777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101778 <limits.h> exists even on freestanding compilers. */
101779
101780 #ifdef __STDC__
101781 # include <limits.h>
101782 #else
101783 # include <assert.h>
101784 #endif
101785
101786 #undef $ac_func
101787
101788 /* Override any gcc2 internal prototype to avoid an error. */
101789 #ifdef __cplusplus
101790 extern "C"
101791 {
101792 #endif
101793 /* We use char because int might match the return type of a gcc2
101794 builtin and then its argument prototype would still apply. */
101795 char $ac_func ();
101796 /* The GNU C library defines this for functions which it implements
101797 to always fail with ENOSYS. Some functions are actually named
101798 something starting with __ and the normal name is an alias. */
101799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101800 choke me
101801 #else
101802 char (*f) () = $ac_func;
101803 #endif
101804 #ifdef __cplusplus
101805 }
101806 #endif
101807
101808 int
101809 main ()
101810 {
101811 return f != $ac_func;
101812 ;
101813 return 0;
101814 }
101815 _ACEOF
101816 rm -f conftest.$ac_objext conftest$ac_exeext
101817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101818 (eval $ac_link) 2>conftest.er1
101819 ac_status=$?
101820 grep -v '^ *+' conftest.er1 >conftest.err
101821 rm -f conftest.er1
101822 cat conftest.err >&5
101823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101824 (exit $ac_status); } &&
101825 { ac_try='test -z "$ac_c_werror_flag"
101826 || test ! -s conftest.err'
101827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101828 (eval $ac_try) 2>&5
101829 ac_status=$?
101830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101831 (exit $ac_status); }; } &&
101832 { ac_try='test -s conftest$ac_exeext'
101833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101834 (eval $ac_try) 2>&5
101835 ac_status=$?
101836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101837 (exit $ac_status); }; }; then
101838 eval "$as_ac_var=yes"
101839 else
101840 echo "$as_me: failed program was:" >&5
101841 sed 's/^/| /' conftest.$ac_ext >&5
101842
101843 eval "$as_ac_var=no"
101844 fi
101845 rm -f conftest.err conftest.$ac_objext \
101846 conftest$ac_exeext conftest.$ac_ext
101847 fi
101848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101850 if test `eval echo '${'$as_ac_var'}'` = yes; then
101851 cat >>confdefs.h <<_ACEOF
101852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101853 _ACEOF
101854
101855 fi
101856 done
101857
101858 fi
101859 fi
101860
101861
101862
101863
101864
101865
101866 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101867 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101868 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101869 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101870 echo $ECHO_N "(cached) $ECHO_C" >&6
101871 else
101872
101873
101874
101875 ac_ext=cc
101876 ac_cpp='$CXXCPP $CPPFLAGS'
101877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101880
101881 cat >conftest.$ac_ext <<_ACEOF
101882 /* confdefs.h. */
101883 _ACEOF
101884 cat confdefs.h >>conftest.$ac_ext
101885 cat >>conftest.$ac_ext <<_ACEOF
101886 /* end confdefs.h. */
101887 #include <math.h>
101888 int
101889 main ()
101890 {
101891 ldexpl(0, 0);
101892 ;
101893 return 0;
101894 }
101895 _ACEOF
101896 rm -f conftest.$ac_objext
101897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101898 (eval $ac_compile) 2>conftest.er1
101899 ac_status=$?
101900 grep -v '^ *+' conftest.er1 >conftest.err
101901 rm -f conftest.er1
101902 cat conftest.err >&5
101903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101904 (exit $ac_status); } &&
101905 { ac_try='test -z "$ac_cxx_werror_flag"
101906 || test ! -s conftest.err'
101907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101908 (eval $ac_try) 2>&5
101909 ac_status=$?
101910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101911 (exit $ac_status); }; } &&
101912 { ac_try='test -s conftest.$ac_objext'
101913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101914 (eval $ac_try) 2>&5
101915 ac_status=$?
101916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101917 (exit $ac_status); }; }; then
101918 glibcxx_cv_func_ldexpl_use=yes
101919 else
101920 echo "$as_me: failed program was:" >&5
101921 sed 's/^/| /' conftest.$ac_ext >&5
101922
101923 glibcxx_cv_func_ldexpl_use=no
101924 fi
101925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101926 ac_ext=c
101927 ac_cpp='$CPP $CPPFLAGS'
101928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101931
101932
101933 fi
101934
101935 fi
101936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101937 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101938
101939 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101940
101941 for ac_func in ldexpl
101942 do
101943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101944 echo "$as_me:$LINENO: checking for $ac_func" >&5
101945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101946 if eval "test \"\${$as_ac_var+set}\" = set"; then
101947 echo $ECHO_N "(cached) $ECHO_C" >&6
101948 else
101949 if test x$gcc_no_link = xyes; then
101950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101952 { (exit 1); exit 1; }; }
101953 fi
101954 cat >conftest.$ac_ext <<_ACEOF
101955 /* confdefs.h. */
101956 _ACEOF
101957 cat confdefs.h >>conftest.$ac_ext
101958 cat >>conftest.$ac_ext <<_ACEOF
101959 /* end confdefs.h. */
101960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101962 #define $ac_func innocuous_$ac_func
101963
101964 /* System header to define __stub macros and hopefully few prototypes,
101965 which can conflict with char $ac_func (); below.
101966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101967 <limits.h> exists even on freestanding compilers. */
101968
101969 #ifdef __STDC__
101970 # include <limits.h>
101971 #else
101972 # include <assert.h>
101973 #endif
101974
101975 #undef $ac_func
101976
101977 /* Override any gcc2 internal prototype to avoid an error. */
101978 #ifdef __cplusplus
101979 extern "C"
101980 {
101981 #endif
101982 /* We use char because int might match the return type of a gcc2
101983 builtin and then its argument prototype would still apply. */
101984 char $ac_func ();
101985 /* The GNU C library defines this for functions which it implements
101986 to always fail with ENOSYS. Some functions are actually named
101987 something starting with __ and the normal name is an alias. */
101988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101989 choke me
101990 #else
101991 char (*f) () = $ac_func;
101992 #endif
101993 #ifdef __cplusplus
101994 }
101995 #endif
101996
101997 int
101998 main ()
101999 {
102000 return f != $ac_func;
102001 ;
102002 return 0;
102003 }
102004 _ACEOF
102005 rm -f conftest.$ac_objext conftest$ac_exeext
102006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102007 (eval $ac_link) 2>conftest.er1
102008 ac_status=$?
102009 grep -v '^ *+' conftest.er1 >conftest.err
102010 rm -f conftest.er1
102011 cat conftest.err >&5
102012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102013 (exit $ac_status); } &&
102014 { ac_try='test -z "$ac_c_werror_flag"
102015 || test ! -s conftest.err'
102016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102017 (eval $ac_try) 2>&5
102018 ac_status=$?
102019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102020 (exit $ac_status); }; } &&
102021 { ac_try='test -s conftest$ac_exeext'
102022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102023 (eval $ac_try) 2>&5
102024 ac_status=$?
102025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102026 (exit $ac_status); }; }; then
102027 eval "$as_ac_var=yes"
102028 else
102029 echo "$as_me: failed program was:" >&5
102030 sed 's/^/| /' conftest.$ac_ext >&5
102031
102032 eval "$as_ac_var=no"
102033 fi
102034 rm -f conftest.err conftest.$ac_objext \
102035 conftest$ac_exeext conftest.$ac_ext
102036 fi
102037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102039 if test `eval echo '${'$as_ac_var'}'` = yes; then
102040 cat >>confdefs.h <<_ACEOF
102041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102042 _ACEOF
102043
102044 fi
102045 done
102046
102047 else
102048
102049 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102050 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102051 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102052 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102053 echo $ECHO_N "(cached) $ECHO_C" >&6
102054 else
102055
102056
102057
102058 ac_ext=cc
102059 ac_cpp='$CXXCPP $CPPFLAGS'
102060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102063
102064 cat >conftest.$ac_ext <<_ACEOF
102065 /* confdefs.h. */
102066 _ACEOF
102067 cat confdefs.h >>conftest.$ac_ext
102068 cat >>conftest.$ac_ext <<_ACEOF
102069 /* end confdefs.h. */
102070 #include <math.h>
102071 int
102072 main ()
102073 {
102074 _ldexpl(0, 0);
102075 ;
102076 return 0;
102077 }
102078 _ACEOF
102079 rm -f conftest.$ac_objext
102080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102081 (eval $ac_compile) 2>conftest.er1
102082 ac_status=$?
102083 grep -v '^ *+' conftest.er1 >conftest.err
102084 rm -f conftest.er1
102085 cat conftest.err >&5
102086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102087 (exit $ac_status); } &&
102088 { ac_try='test -z "$ac_cxx_werror_flag"
102089 || test ! -s conftest.err'
102090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102091 (eval $ac_try) 2>&5
102092 ac_status=$?
102093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102094 (exit $ac_status); }; } &&
102095 { ac_try='test -s conftest.$ac_objext'
102096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102097 (eval $ac_try) 2>&5
102098 ac_status=$?
102099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102100 (exit $ac_status); }; }; then
102101 glibcxx_cv_func__ldexpl_use=yes
102102 else
102103 echo "$as_me: failed program was:" >&5
102104 sed 's/^/| /' conftest.$ac_ext >&5
102105
102106 glibcxx_cv_func__ldexpl_use=no
102107 fi
102108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102109 ac_ext=c
102110 ac_cpp='$CPP $CPPFLAGS'
102111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102114
102115
102116 fi
102117
102118 fi
102119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102120 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102121
102122 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102123
102124 for ac_func in _ldexpl
102125 do
102126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102127 echo "$as_me:$LINENO: checking for $ac_func" >&5
102128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102129 if eval "test \"\${$as_ac_var+set}\" = set"; then
102130 echo $ECHO_N "(cached) $ECHO_C" >&6
102131 else
102132 if test x$gcc_no_link = xyes; then
102133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102135 { (exit 1); exit 1; }; }
102136 fi
102137 cat >conftest.$ac_ext <<_ACEOF
102138 /* confdefs.h. */
102139 _ACEOF
102140 cat confdefs.h >>conftest.$ac_ext
102141 cat >>conftest.$ac_ext <<_ACEOF
102142 /* end confdefs.h. */
102143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102145 #define $ac_func innocuous_$ac_func
102146
102147 /* System header to define __stub macros and hopefully few prototypes,
102148 which can conflict with char $ac_func (); below.
102149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102150 <limits.h> exists even on freestanding compilers. */
102151
102152 #ifdef __STDC__
102153 # include <limits.h>
102154 #else
102155 # include <assert.h>
102156 #endif
102157
102158 #undef $ac_func
102159
102160 /* Override any gcc2 internal prototype to avoid an error. */
102161 #ifdef __cplusplus
102162 extern "C"
102163 {
102164 #endif
102165 /* We use char because int might match the return type of a gcc2
102166 builtin and then its argument prototype would still apply. */
102167 char $ac_func ();
102168 /* The GNU C library defines this for functions which it implements
102169 to always fail with ENOSYS. Some functions are actually named
102170 something starting with __ and the normal name is an alias. */
102171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102172 choke me
102173 #else
102174 char (*f) () = $ac_func;
102175 #endif
102176 #ifdef __cplusplus
102177 }
102178 #endif
102179
102180 int
102181 main ()
102182 {
102183 return f != $ac_func;
102184 ;
102185 return 0;
102186 }
102187 _ACEOF
102188 rm -f conftest.$ac_objext conftest$ac_exeext
102189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102190 (eval $ac_link) 2>conftest.er1
102191 ac_status=$?
102192 grep -v '^ *+' conftest.er1 >conftest.err
102193 rm -f conftest.er1
102194 cat conftest.err >&5
102195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102196 (exit $ac_status); } &&
102197 { ac_try='test -z "$ac_c_werror_flag"
102198 || test ! -s conftest.err'
102199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102200 (eval $ac_try) 2>&5
102201 ac_status=$?
102202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102203 (exit $ac_status); }; } &&
102204 { ac_try='test -s conftest$ac_exeext'
102205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102206 (eval $ac_try) 2>&5
102207 ac_status=$?
102208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102209 (exit $ac_status); }; }; then
102210 eval "$as_ac_var=yes"
102211 else
102212 echo "$as_me: failed program was:" >&5
102213 sed 's/^/| /' conftest.$ac_ext >&5
102214
102215 eval "$as_ac_var=no"
102216 fi
102217 rm -f conftest.err conftest.$ac_objext \
102218 conftest$ac_exeext conftest.$ac_ext
102219 fi
102220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102222 if test `eval echo '${'$as_ac_var'}'` = yes; then
102223 cat >>confdefs.h <<_ACEOF
102224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102225 _ACEOF
102226
102227 fi
102228 done
102229
102230 fi
102231 fi
102232
102233
102234
102235
102236
102237
102238 echo "$as_me:$LINENO: checking for logl declaration" >&5
102239 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102240 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102241 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102242 echo $ECHO_N "(cached) $ECHO_C" >&6
102243 else
102244
102245
102246
102247 ac_ext=cc
102248 ac_cpp='$CXXCPP $CPPFLAGS'
102249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102252
102253 cat >conftest.$ac_ext <<_ACEOF
102254 /* confdefs.h. */
102255 _ACEOF
102256 cat confdefs.h >>conftest.$ac_ext
102257 cat >>conftest.$ac_ext <<_ACEOF
102258 /* end confdefs.h. */
102259 #include <math.h>
102260 #ifdef HAVE_IEEEFP_H
102261 #include <ieeefp.h>
102262 #endif
102263
102264 int
102265 main ()
102266 {
102267 logl(0);
102268 ;
102269 return 0;
102270 }
102271 _ACEOF
102272 rm -f conftest.$ac_objext
102273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102274 (eval $ac_compile) 2>conftest.er1
102275 ac_status=$?
102276 grep -v '^ *+' conftest.er1 >conftest.err
102277 rm -f conftest.er1
102278 cat conftest.err >&5
102279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102280 (exit $ac_status); } &&
102281 { ac_try='test -z "$ac_cxx_werror_flag"
102282 || test ! -s conftest.err'
102283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102284 (eval $ac_try) 2>&5
102285 ac_status=$?
102286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102287 (exit $ac_status); }; } &&
102288 { ac_try='test -s conftest.$ac_objext'
102289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102290 (eval $ac_try) 2>&5
102291 ac_status=$?
102292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102293 (exit $ac_status); }; }; then
102294 glibcxx_cv_func_logl_use=yes
102295 else
102296 echo "$as_me: failed program was:" >&5
102297 sed 's/^/| /' conftest.$ac_ext >&5
102298
102299 glibcxx_cv_func_logl_use=no
102300 fi
102301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102302 ac_ext=c
102303 ac_cpp='$CPP $CPPFLAGS'
102304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102307
102308
102309 fi
102310
102311 fi
102312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102313 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102314
102315 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102316
102317 for ac_func in logl
102318 do
102319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102320 echo "$as_me:$LINENO: checking for $ac_func" >&5
102321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102322 if eval "test \"\${$as_ac_var+set}\" = set"; then
102323 echo $ECHO_N "(cached) $ECHO_C" >&6
102324 else
102325 if test x$gcc_no_link = xyes; then
102326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102328 { (exit 1); exit 1; }; }
102329 fi
102330 cat >conftest.$ac_ext <<_ACEOF
102331 /* confdefs.h. */
102332 _ACEOF
102333 cat confdefs.h >>conftest.$ac_ext
102334 cat >>conftest.$ac_ext <<_ACEOF
102335 /* end confdefs.h. */
102336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102338 #define $ac_func innocuous_$ac_func
102339
102340 /* System header to define __stub macros and hopefully few prototypes,
102341 which can conflict with char $ac_func (); below.
102342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102343 <limits.h> exists even on freestanding compilers. */
102344
102345 #ifdef __STDC__
102346 # include <limits.h>
102347 #else
102348 # include <assert.h>
102349 #endif
102350
102351 #undef $ac_func
102352
102353 /* Override any gcc2 internal prototype to avoid an error. */
102354 #ifdef __cplusplus
102355 extern "C"
102356 {
102357 #endif
102358 /* We use char because int might match the return type of a gcc2
102359 builtin and then its argument prototype would still apply. */
102360 char $ac_func ();
102361 /* The GNU C library defines this for functions which it implements
102362 to always fail with ENOSYS. Some functions are actually named
102363 something starting with __ and the normal name is an alias. */
102364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102365 choke me
102366 #else
102367 char (*f) () = $ac_func;
102368 #endif
102369 #ifdef __cplusplus
102370 }
102371 #endif
102372
102373 int
102374 main ()
102375 {
102376 return f != $ac_func;
102377 ;
102378 return 0;
102379 }
102380 _ACEOF
102381 rm -f conftest.$ac_objext conftest$ac_exeext
102382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102383 (eval $ac_link) 2>conftest.er1
102384 ac_status=$?
102385 grep -v '^ *+' conftest.er1 >conftest.err
102386 rm -f conftest.er1
102387 cat conftest.err >&5
102388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102389 (exit $ac_status); } &&
102390 { ac_try='test -z "$ac_c_werror_flag"
102391 || test ! -s conftest.err'
102392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102393 (eval $ac_try) 2>&5
102394 ac_status=$?
102395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102396 (exit $ac_status); }; } &&
102397 { ac_try='test -s conftest$ac_exeext'
102398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102399 (eval $ac_try) 2>&5
102400 ac_status=$?
102401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102402 (exit $ac_status); }; }; then
102403 eval "$as_ac_var=yes"
102404 else
102405 echo "$as_me: failed program was:" >&5
102406 sed 's/^/| /' conftest.$ac_ext >&5
102407
102408 eval "$as_ac_var=no"
102409 fi
102410 rm -f conftest.err conftest.$ac_objext \
102411 conftest$ac_exeext conftest.$ac_ext
102412 fi
102413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102415 if test `eval echo '${'$as_ac_var'}'` = yes; then
102416 cat >>confdefs.h <<_ACEOF
102417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102418 _ACEOF
102419
102420 fi
102421 done
102422
102423 else
102424
102425 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102426 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102427 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102428 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102429 echo $ECHO_N "(cached) $ECHO_C" >&6
102430 else
102431
102432
102433
102434 ac_ext=cc
102435 ac_cpp='$CXXCPP $CPPFLAGS'
102436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102439
102440 cat >conftest.$ac_ext <<_ACEOF
102441 /* confdefs.h. */
102442 _ACEOF
102443 cat confdefs.h >>conftest.$ac_ext
102444 cat >>conftest.$ac_ext <<_ACEOF
102445 /* end confdefs.h. */
102446 #include <math.h>
102447 #ifdef HAVE_IEEEFP_H
102448 #include <ieeefp.h>
102449 #endif
102450
102451 int
102452 main ()
102453 {
102454 _logl(0);
102455 ;
102456 return 0;
102457 }
102458 _ACEOF
102459 rm -f conftest.$ac_objext
102460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102461 (eval $ac_compile) 2>conftest.er1
102462 ac_status=$?
102463 grep -v '^ *+' conftest.er1 >conftest.err
102464 rm -f conftest.er1
102465 cat conftest.err >&5
102466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102467 (exit $ac_status); } &&
102468 { ac_try='test -z "$ac_cxx_werror_flag"
102469 || test ! -s conftest.err'
102470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102471 (eval $ac_try) 2>&5
102472 ac_status=$?
102473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102474 (exit $ac_status); }; } &&
102475 { ac_try='test -s conftest.$ac_objext'
102476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102477 (eval $ac_try) 2>&5
102478 ac_status=$?
102479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102480 (exit $ac_status); }; }; then
102481 glibcxx_cv_func__logl_use=yes
102482 else
102483 echo "$as_me: failed program was:" >&5
102484 sed 's/^/| /' conftest.$ac_ext >&5
102485
102486 glibcxx_cv_func__logl_use=no
102487 fi
102488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102489 ac_ext=c
102490 ac_cpp='$CPP $CPPFLAGS'
102491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102494
102495
102496 fi
102497
102498 fi
102499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102500 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102501
102502 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102503
102504 for ac_func in _logl
102505 do
102506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102507 echo "$as_me:$LINENO: checking for $ac_func" >&5
102508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102509 if eval "test \"\${$as_ac_var+set}\" = set"; then
102510 echo $ECHO_N "(cached) $ECHO_C" >&6
102511 else
102512 if test x$gcc_no_link = xyes; then
102513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102515 { (exit 1); exit 1; }; }
102516 fi
102517 cat >conftest.$ac_ext <<_ACEOF
102518 /* confdefs.h. */
102519 _ACEOF
102520 cat confdefs.h >>conftest.$ac_ext
102521 cat >>conftest.$ac_ext <<_ACEOF
102522 /* end confdefs.h. */
102523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102525 #define $ac_func innocuous_$ac_func
102526
102527 /* System header to define __stub macros and hopefully few prototypes,
102528 which can conflict with char $ac_func (); below.
102529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102530 <limits.h> exists even on freestanding compilers. */
102531
102532 #ifdef __STDC__
102533 # include <limits.h>
102534 #else
102535 # include <assert.h>
102536 #endif
102537
102538 #undef $ac_func
102539
102540 /* Override any gcc2 internal prototype to avoid an error. */
102541 #ifdef __cplusplus
102542 extern "C"
102543 {
102544 #endif
102545 /* We use char because int might match the return type of a gcc2
102546 builtin and then its argument prototype would still apply. */
102547 char $ac_func ();
102548 /* The GNU C library defines this for functions which it implements
102549 to always fail with ENOSYS. Some functions are actually named
102550 something starting with __ and the normal name is an alias. */
102551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102552 choke me
102553 #else
102554 char (*f) () = $ac_func;
102555 #endif
102556 #ifdef __cplusplus
102557 }
102558 #endif
102559
102560 int
102561 main ()
102562 {
102563 return f != $ac_func;
102564 ;
102565 return 0;
102566 }
102567 _ACEOF
102568 rm -f conftest.$ac_objext conftest$ac_exeext
102569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102570 (eval $ac_link) 2>conftest.er1
102571 ac_status=$?
102572 grep -v '^ *+' conftest.er1 >conftest.err
102573 rm -f conftest.er1
102574 cat conftest.err >&5
102575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102576 (exit $ac_status); } &&
102577 { ac_try='test -z "$ac_c_werror_flag"
102578 || test ! -s conftest.err'
102579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102580 (eval $ac_try) 2>&5
102581 ac_status=$?
102582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102583 (exit $ac_status); }; } &&
102584 { ac_try='test -s conftest$ac_exeext'
102585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102586 (eval $ac_try) 2>&5
102587 ac_status=$?
102588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102589 (exit $ac_status); }; }; then
102590 eval "$as_ac_var=yes"
102591 else
102592 echo "$as_me: failed program was:" >&5
102593 sed 's/^/| /' conftest.$ac_ext >&5
102594
102595 eval "$as_ac_var=no"
102596 fi
102597 rm -f conftest.err conftest.$ac_objext \
102598 conftest$ac_exeext conftest.$ac_ext
102599 fi
102600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102602 if test `eval echo '${'$as_ac_var'}'` = yes; then
102603 cat >>confdefs.h <<_ACEOF
102604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102605 _ACEOF
102606
102607 fi
102608 done
102609
102610 fi
102611 fi
102612
102613
102614
102615
102616
102617
102618 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102619 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102620 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102621 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102622 echo $ECHO_N "(cached) $ECHO_C" >&6
102623 else
102624
102625
102626
102627 ac_ext=cc
102628 ac_cpp='$CXXCPP $CPPFLAGS'
102629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102632
102633 cat >conftest.$ac_ext <<_ACEOF
102634 /* confdefs.h. */
102635 _ACEOF
102636 cat confdefs.h >>conftest.$ac_ext
102637 cat >>conftest.$ac_ext <<_ACEOF
102638 /* end confdefs.h. */
102639 #include <math.h>
102640 #ifdef HAVE_IEEEFP_H
102641 #include <ieeefp.h>
102642 #endif
102643
102644 int
102645 main ()
102646 {
102647 log10l(0);
102648 ;
102649 return 0;
102650 }
102651 _ACEOF
102652 rm -f conftest.$ac_objext
102653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102654 (eval $ac_compile) 2>conftest.er1
102655 ac_status=$?
102656 grep -v '^ *+' conftest.er1 >conftest.err
102657 rm -f conftest.er1
102658 cat conftest.err >&5
102659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102660 (exit $ac_status); } &&
102661 { ac_try='test -z "$ac_cxx_werror_flag"
102662 || test ! -s conftest.err'
102663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102664 (eval $ac_try) 2>&5
102665 ac_status=$?
102666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102667 (exit $ac_status); }; } &&
102668 { ac_try='test -s conftest.$ac_objext'
102669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102670 (eval $ac_try) 2>&5
102671 ac_status=$?
102672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102673 (exit $ac_status); }; }; then
102674 glibcxx_cv_func_log10l_use=yes
102675 else
102676 echo "$as_me: failed program was:" >&5
102677 sed 's/^/| /' conftest.$ac_ext >&5
102678
102679 glibcxx_cv_func_log10l_use=no
102680 fi
102681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102682 ac_ext=c
102683 ac_cpp='$CPP $CPPFLAGS'
102684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102687
102688
102689 fi
102690
102691 fi
102692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102693 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102694
102695 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102696
102697 for ac_func in log10l
102698 do
102699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102700 echo "$as_me:$LINENO: checking for $ac_func" >&5
102701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102702 if eval "test \"\${$as_ac_var+set}\" = set"; then
102703 echo $ECHO_N "(cached) $ECHO_C" >&6
102704 else
102705 if test x$gcc_no_link = xyes; then
102706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102708 { (exit 1); exit 1; }; }
102709 fi
102710 cat >conftest.$ac_ext <<_ACEOF
102711 /* confdefs.h. */
102712 _ACEOF
102713 cat confdefs.h >>conftest.$ac_ext
102714 cat >>conftest.$ac_ext <<_ACEOF
102715 /* end confdefs.h. */
102716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102718 #define $ac_func innocuous_$ac_func
102719
102720 /* System header to define __stub macros and hopefully few prototypes,
102721 which can conflict with char $ac_func (); below.
102722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102723 <limits.h> exists even on freestanding compilers. */
102724
102725 #ifdef __STDC__
102726 # include <limits.h>
102727 #else
102728 # include <assert.h>
102729 #endif
102730
102731 #undef $ac_func
102732
102733 /* Override any gcc2 internal prototype to avoid an error. */
102734 #ifdef __cplusplus
102735 extern "C"
102736 {
102737 #endif
102738 /* We use char because int might match the return type of a gcc2
102739 builtin and then its argument prototype would still apply. */
102740 char $ac_func ();
102741 /* The GNU C library defines this for functions which it implements
102742 to always fail with ENOSYS. Some functions are actually named
102743 something starting with __ and the normal name is an alias. */
102744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102745 choke me
102746 #else
102747 char (*f) () = $ac_func;
102748 #endif
102749 #ifdef __cplusplus
102750 }
102751 #endif
102752
102753 int
102754 main ()
102755 {
102756 return f != $ac_func;
102757 ;
102758 return 0;
102759 }
102760 _ACEOF
102761 rm -f conftest.$ac_objext conftest$ac_exeext
102762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102763 (eval $ac_link) 2>conftest.er1
102764 ac_status=$?
102765 grep -v '^ *+' conftest.er1 >conftest.err
102766 rm -f conftest.er1
102767 cat conftest.err >&5
102768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102769 (exit $ac_status); } &&
102770 { ac_try='test -z "$ac_c_werror_flag"
102771 || test ! -s conftest.err'
102772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102773 (eval $ac_try) 2>&5
102774 ac_status=$?
102775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102776 (exit $ac_status); }; } &&
102777 { ac_try='test -s conftest$ac_exeext'
102778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102779 (eval $ac_try) 2>&5
102780 ac_status=$?
102781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102782 (exit $ac_status); }; }; then
102783 eval "$as_ac_var=yes"
102784 else
102785 echo "$as_me: failed program was:" >&5
102786 sed 's/^/| /' conftest.$ac_ext >&5
102787
102788 eval "$as_ac_var=no"
102789 fi
102790 rm -f conftest.err conftest.$ac_objext \
102791 conftest$ac_exeext conftest.$ac_ext
102792 fi
102793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102795 if test `eval echo '${'$as_ac_var'}'` = yes; then
102796 cat >>confdefs.h <<_ACEOF
102797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102798 _ACEOF
102799
102800 fi
102801 done
102802
102803 else
102804
102805 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102806 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102807 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102808 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102809 echo $ECHO_N "(cached) $ECHO_C" >&6
102810 else
102811
102812
102813
102814 ac_ext=cc
102815 ac_cpp='$CXXCPP $CPPFLAGS'
102816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102819
102820 cat >conftest.$ac_ext <<_ACEOF
102821 /* confdefs.h. */
102822 _ACEOF
102823 cat confdefs.h >>conftest.$ac_ext
102824 cat >>conftest.$ac_ext <<_ACEOF
102825 /* end confdefs.h. */
102826 #include <math.h>
102827 #ifdef HAVE_IEEEFP_H
102828 #include <ieeefp.h>
102829 #endif
102830
102831 int
102832 main ()
102833 {
102834 _log10l(0);
102835 ;
102836 return 0;
102837 }
102838 _ACEOF
102839 rm -f conftest.$ac_objext
102840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102841 (eval $ac_compile) 2>conftest.er1
102842 ac_status=$?
102843 grep -v '^ *+' conftest.er1 >conftest.err
102844 rm -f conftest.er1
102845 cat conftest.err >&5
102846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102847 (exit $ac_status); } &&
102848 { ac_try='test -z "$ac_cxx_werror_flag"
102849 || test ! -s conftest.err'
102850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102851 (eval $ac_try) 2>&5
102852 ac_status=$?
102853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102854 (exit $ac_status); }; } &&
102855 { ac_try='test -s conftest.$ac_objext'
102856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102857 (eval $ac_try) 2>&5
102858 ac_status=$?
102859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102860 (exit $ac_status); }; }; then
102861 glibcxx_cv_func__log10l_use=yes
102862 else
102863 echo "$as_me: failed program was:" >&5
102864 sed 's/^/| /' conftest.$ac_ext >&5
102865
102866 glibcxx_cv_func__log10l_use=no
102867 fi
102868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102869 ac_ext=c
102870 ac_cpp='$CPP $CPPFLAGS'
102871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102874
102875
102876 fi
102877
102878 fi
102879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102880 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102881
102882 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102883
102884 for ac_func in _log10l
102885 do
102886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102887 echo "$as_me:$LINENO: checking for $ac_func" >&5
102888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102889 if eval "test \"\${$as_ac_var+set}\" = set"; then
102890 echo $ECHO_N "(cached) $ECHO_C" >&6
102891 else
102892 if test x$gcc_no_link = xyes; then
102893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102895 { (exit 1); exit 1; }; }
102896 fi
102897 cat >conftest.$ac_ext <<_ACEOF
102898 /* confdefs.h. */
102899 _ACEOF
102900 cat confdefs.h >>conftest.$ac_ext
102901 cat >>conftest.$ac_ext <<_ACEOF
102902 /* end confdefs.h. */
102903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102905 #define $ac_func innocuous_$ac_func
102906
102907 /* System header to define __stub macros and hopefully few prototypes,
102908 which can conflict with char $ac_func (); below.
102909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102910 <limits.h> exists even on freestanding compilers. */
102911
102912 #ifdef __STDC__
102913 # include <limits.h>
102914 #else
102915 # include <assert.h>
102916 #endif
102917
102918 #undef $ac_func
102919
102920 /* Override any gcc2 internal prototype to avoid an error. */
102921 #ifdef __cplusplus
102922 extern "C"
102923 {
102924 #endif
102925 /* We use char because int might match the return type of a gcc2
102926 builtin and then its argument prototype would still apply. */
102927 char $ac_func ();
102928 /* The GNU C library defines this for functions which it implements
102929 to always fail with ENOSYS. Some functions are actually named
102930 something starting with __ and the normal name is an alias. */
102931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102932 choke me
102933 #else
102934 char (*f) () = $ac_func;
102935 #endif
102936 #ifdef __cplusplus
102937 }
102938 #endif
102939
102940 int
102941 main ()
102942 {
102943 return f != $ac_func;
102944 ;
102945 return 0;
102946 }
102947 _ACEOF
102948 rm -f conftest.$ac_objext conftest$ac_exeext
102949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102950 (eval $ac_link) 2>conftest.er1
102951 ac_status=$?
102952 grep -v '^ *+' conftest.er1 >conftest.err
102953 rm -f conftest.er1
102954 cat conftest.err >&5
102955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102956 (exit $ac_status); } &&
102957 { ac_try='test -z "$ac_c_werror_flag"
102958 || test ! -s conftest.err'
102959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102960 (eval $ac_try) 2>&5
102961 ac_status=$?
102962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102963 (exit $ac_status); }; } &&
102964 { ac_try='test -s conftest$ac_exeext'
102965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102966 (eval $ac_try) 2>&5
102967 ac_status=$?
102968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102969 (exit $ac_status); }; }; then
102970 eval "$as_ac_var=yes"
102971 else
102972 echo "$as_me: failed program was:" >&5
102973 sed 's/^/| /' conftest.$ac_ext >&5
102974
102975 eval "$as_ac_var=no"
102976 fi
102977 rm -f conftest.err conftest.$ac_objext \
102978 conftest$ac_exeext conftest.$ac_ext
102979 fi
102980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102982 if test `eval echo '${'$as_ac_var'}'` = yes; then
102983 cat >>confdefs.h <<_ACEOF
102984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102985 _ACEOF
102986
102987 fi
102988 done
102989
102990 fi
102991 fi
102992
102993
102994
102995
102996
102997
102998 echo "$as_me:$LINENO: checking for modfl declaration" >&5
102999 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103000 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103001 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103002 echo $ECHO_N "(cached) $ECHO_C" >&6
103003 else
103004
103005
103006
103007 ac_ext=cc
103008 ac_cpp='$CXXCPP $CPPFLAGS'
103009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103012
103013 cat >conftest.$ac_ext <<_ACEOF
103014 /* confdefs.h. */
103015 _ACEOF
103016 cat confdefs.h >>conftest.$ac_ext
103017 cat >>conftest.$ac_ext <<_ACEOF
103018 /* end confdefs.h. */
103019 #include <math.h>
103020 int
103021 main ()
103022 {
103023 modfl(0, 0);
103024 ;
103025 return 0;
103026 }
103027 _ACEOF
103028 rm -f conftest.$ac_objext
103029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103030 (eval $ac_compile) 2>conftest.er1
103031 ac_status=$?
103032 grep -v '^ *+' conftest.er1 >conftest.err
103033 rm -f conftest.er1
103034 cat conftest.err >&5
103035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103036 (exit $ac_status); } &&
103037 { ac_try='test -z "$ac_cxx_werror_flag"
103038 || test ! -s conftest.err'
103039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103040 (eval $ac_try) 2>&5
103041 ac_status=$?
103042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103043 (exit $ac_status); }; } &&
103044 { ac_try='test -s conftest.$ac_objext'
103045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103046 (eval $ac_try) 2>&5
103047 ac_status=$?
103048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103049 (exit $ac_status); }; }; then
103050 glibcxx_cv_func_modfl_use=yes
103051 else
103052 echo "$as_me: failed program was:" >&5
103053 sed 's/^/| /' conftest.$ac_ext >&5
103054
103055 glibcxx_cv_func_modfl_use=no
103056 fi
103057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103058 ac_ext=c
103059 ac_cpp='$CPP $CPPFLAGS'
103060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103063
103064
103065 fi
103066
103067 fi
103068 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103069 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103070
103071 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103072
103073 for ac_func in modfl
103074 do
103075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103076 echo "$as_me:$LINENO: checking for $ac_func" >&5
103077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103078 if eval "test \"\${$as_ac_var+set}\" = set"; then
103079 echo $ECHO_N "(cached) $ECHO_C" >&6
103080 else
103081 if test x$gcc_no_link = xyes; then
103082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103084 { (exit 1); exit 1; }; }
103085 fi
103086 cat >conftest.$ac_ext <<_ACEOF
103087 /* confdefs.h. */
103088 _ACEOF
103089 cat confdefs.h >>conftest.$ac_ext
103090 cat >>conftest.$ac_ext <<_ACEOF
103091 /* end confdefs.h. */
103092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103094 #define $ac_func innocuous_$ac_func
103095
103096 /* System header to define __stub macros and hopefully few prototypes,
103097 which can conflict with char $ac_func (); below.
103098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103099 <limits.h> exists even on freestanding compilers. */
103100
103101 #ifdef __STDC__
103102 # include <limits.h>
103103 #else
103104 # include <assert.h>
103105 #endif
103106
103107 #undef $ac_func
103108
103109 /* Override any gcc2 internal prototype to avoid an error. */
103110 #ifdef __cplusplus
103111 extern "C"
103112 {
103113 #endif
103114 /* We use char because int might match the return type of a gcc2
103115 builtin and then its argument prototype would still apply. */
103116 char $ac_func ();
103117 /* The GNU C library defines this for functions which it implements
103118 to always fail with ENOSYS. Some functions are actually named
103119 something starting with __ and the normal name is an alias. */
103120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103121 choke me
103122 #else
103123 char (*f) () = $ac_func;
103124 #endif
103125 #ifdef __cplusplus
103126 }
103127 #endif
103128
103129 int
103130 main ()
103131 {
103132 return f != $ac_func;
103133 ;
103134 return 0;
103135 }
103136 _ACEOF
103137 rm -f conftest.$ac_objext conftest$ac_exeext
103138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103139 (eval $ac_link) 2>conftest.er1
103140 ac_status=$?
103141 grep -v '^ *+' conftest.er1 >conftest.err
103142 rm -f conftest.er1
103143 cat conftest.err >&5
103144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103145 (exit $ac_status); } &&
103146 { ac_try='test -z "$ac_c_werror_flag"
103147 || test ! -s conftest.err'
103148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103149 (eval $ac_try) 2>&5
103150 ac_status=$?
103151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103152 (exit $ac_status); }; } &&
103153 { ac_try='test -s conftest$ac_exeext'
103154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103155 (eval $ac_try) 2>&5
103156 ac_status=$?
103157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103158 (exit $ac_status); }; }; then
103159 eval "$as_ac_var=yes"
103160 else
103161 echo "$as_me: failed program was:" >&5
103162 sed 's/^/| /' conftest.$ac_ext >&5
103163
103164 eval "$as_ac_var=no"
103165 fi
103166 rm -f conftest.err conftest.$ac_objext \
103167 conftest$ac_exeext conftest.$ac_ext
103168 fi
103169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103171 if test `eval echo '${'$as_ac_var'}'` = yes; then
103172 cat >>confdefs.h <<_ACEOF
103173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103174 _ACEOF
103175
103176 fi
103177 done
103178
103179 else
103180
103181 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103182 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103183 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103184 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103185 echo $ECHO_N "(cached) $ECHO_C" >&6
103186 else
103187
103188
103189
103190 ac_ext=cc
103191 ac_cpp='$CXXCPP $CPPFLAGS'
103192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103195
103196 cat >conftest.$ac_ext <<_ACEOF
103197 /* confdefs.h. */
103198 _ACEOF
103199 cat confdefs.h >>conftest.$ac_ext
103200 cat >>conftest.$ac_ext <<_ACEOF
103201 /* end confdefs.h. */
103202 #include <math.h>
103203 int
103204 main ()
103205 {
103206 _modfl(0, 0);
103207 ;
103208 return 0;
103209 }
103210 _ACEOF
103211 rm -f conftest.$ac_objext
103212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103213 (eval $ac_compile) 2>conftest.er1
103214 ac_status=$?
103215 grep -v '^ *+' conftest.er1 >conftest.err
103216 rm -f conftest.er1
103217 cat conftest.err >&5
103218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103219 (exit $ac_status); } &&
103220 { ac_try='test -z "$ac_cxx_werror_flag"
103221 || test ! -s conftest.err'
103222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103223 (eval $ac_try) 2>&5
103224 ac_status=$?
103225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103226 (exit $ac_status); }; } &&
103227 { ac_try='test -s conftest.$ac_objext'
103228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103229 (eval $ac_try) 2>&5
103230 ac_status=$?
103231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103232 (exit $ac_status); }; }; then
103233 glibcxx_cv_func__modfl_use=yes
103234 else
103235 echo "$as_me: failed program was:" >&5
103236 sed 's/^/| /' conftest.$ac_ext >&5
103237
103238 glibcxx_cv_func__modfl_use=no
103239 fi
103240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103241 ac_ext=c
103242 ac_cpp='$CPP $CPPFLAGS'
103243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103246
103247
103248 fi
103249
103250 fi
103251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103252 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103253
103254 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103255
103256 for ac_func in _modfl
103257 do
103258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103259 echo "$as_me:$LINENO: checking for $ac_func" >&5
103260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103261 if eval "test \"\${$as_ac_var+set}\" = set"; then
103262 echo $ECHO_N "(cached) $ECHO_C" >&6
103263 else
103264 if test x$gcc_no_link = xyes; then
103265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103267 { (exit 1); exit 1; }; }
103268 fi
103269 cat >conftest.$ac_ext <<_ACEOF
103270 /* confdefs.h. */
103271 _ACEOF
103272 cat confdefs.h >>conftest.$ac_ext
103273 cat >>conftest.$ac_ext <<_ACEOF
103274 /* end confdefs.h. */
103275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103277 #define $ac_func innocuous_$ac_func
103278
103279 /* System header to define __stub macros and hopefully few prototypes,
103280 which can conflict with char $ac_func (); below.
103281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103282 <limits.h> exists even on freestanding compilers. */
103283
103284 #ifdef __STDC__
103285 # include <limits.h>
103286 #else
103287 # include <assert.h>
103288 #endif
103289
103290 #undef $ac_func
103291
103292 /* Override any gcc2 internal prototype to avoid an error. */
103293 #ifdef __cplusplus
103294 extern "C"
103295 {
103296 #endif
103297 /* We use char because int might match the return type of a gcc2
103298 builtin and then its argument prototype would still apply. */
103299 char $ac_func ();
103300 /* The GNU C library defines this for functions which it implements
103301 to always fail with ENOSYS. Some functions are actually named
103302 something starting with __ and the normal name is an alias. */
103303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103304 choke me
103305 #else
103306 char (*f) () = $ac_func;
103307 #endif
103308 #ifdef __cplusplus
103309 }
103310 #endif
103311
103312 int
103313 main ()
103314 {
103315 return f != $ac_func;
103316 ;
103317 return 0;
103318 }
103319 _ACEOF
103320 rm -f conftest.$ac_objext conftest$ac_exeext
103321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103322 (eval $ac_link) 2>conftest.er1
103323 ac_status=$?
103324 grep -v '^ *+' conftest.er1 >conftest.err
103325 rm -f conftest.er1
103326 cat conftest.err >&5
103327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103328 (exit $ac_status); } &&
103329 { ac_try='test -z "$ac_c_werror_flag"
103330 || test ! -s conftest.err'
103331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103332 (eval $ac_try) 2>&5
103333 ac_status=$?
103334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103335 (exit $ac_status); }; } &&
103336 { ac_try='test -s conftest$ac_exeext'
103337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103338 (eval $ac_try) 2>&5
103339 ac_status=$?
103340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103341 (exit $ac_status); }; }; then
103342 eval "$as_ac_var=yes"
103343 else
103344 echo "$as_me: failed program was:" >&5
103345 sed 's/^/| /' conftest.$ac_ext >&5
103346
103347 eval "$as_ac_var=no"
103348 fi
103349 rm -f conftest.err conftest.$ac_objext \
103350 conftest$ac_exeext conftest.$ac_ext
103351 fi
103352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103354 if test `eval echo '${'$as_ac_var'}'` = yes; then
103355 cat >>confdefs.h <<_ACEOF
103356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103357 _ACEOF
103358
103359 fi
103360 done
103361
103362 fi
103363 fi
103364
103365
103366
103367
103368
103369
103370 echo "$as_me:$LINENO: checking for powl declaration" >&5
103371 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103372 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103373 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103374 echo $ECHO_N "(cached) $ECHO_C" >&6
103375 else
103376
103377
103378
103379 ac_ext=cc
103380 ac_cpp='$CXXCPP $CPPFLAGS'
103381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103384
103385 cat >conftest.$ac_ext <<_ACEOF
103386 /* confdefs.h. */
103387 _ACEOF
103388 cat confdefs.h >>conftest.$ac_ext
103389 cat >>conftest.$ac_ext <<_ACEOF
103390 /* end confdefs.h. */
103391 #include <math.h>
103392 int
103393 main ()
103394 {
103395 powl(0, 0);
103396 ;
103397 return 0;
103398 }
103399 _ACEOF
103400 rm -f conftest.$ac_objext
103401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103402 (eval $ac_compile) 2>conftest.er1
103403 ac_status=$?
103404 grep -v '^ *+' conftest.er1 >conftest.err
103405 rm -f conftest.er1
103406 cat conftest.err >&5
103407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103408 (exit $ac_status); } &&
103409 { ac_try='test -z "$ac_cxx_werror_flag"
103410 || test ! -s conftest.err'
103411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103412 (eval $ac_try) 2>&5
103413 ac_status=$?
103414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103415 (exit $ac_status); }; } &&
103416 { ac_try='test -s conftest.$ac_objext'
103417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103418 (eval $ac_try) 2>&5
103419 ac_status=$?
103420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103421 (exit $ac_status); }; }; then
103422 glibcxx_cv_func_powl_use=yes
103423 else
103424 echo "$as_me: failed program was:" >&5
103425 sed 's/^/| /' conftest.$ac_ext >&5
103426
103427 glibcxx_cv_func_powl_use=no
103428 fi
103429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103430 ac_ext=c
103431 ac_cpp='$CPP $CPPFLAGS'
103432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103435
103436
103437 fi
103438
103439 fi
103440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103441 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103442
103443 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103444
103445 for ac_func in powl
103446 do
103447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103448 echo "$as_me:$LINENO: checking for $ac_func" >&5
103449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103450 if eval "test \"\${$as_ac_var+set}\" = set"; then
103451 echo $ECHO_N "(cached) $ECHO_C" >&6
103452 else
103453 if test x$gcc_no_link = xyes; then
103454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103456 { (exit 1); exit 1; }; }
103457 fi
103458 cat >conftest.$ac_ext <<_ACEOF
103459 /* confdefs.h. */
103460 _ACEOF
103461 cat confdefs.h >>conftest.$ac_ext
103462 cat >>conftest.$ac_ext <<_ACEOF
103463 /* end confdefs.h. */
103464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103466 #define $ac_func innocuous_$ac_func
103467
103468 /* System header to define __stub macros and hopefully few prototypes,
103469 which can conflict with char $ac_func (); below.
103470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103471 <limits.h> exists even on freestanding compilers. */
103472
103473 #ifdef __STDC__
103474 # include <limits.h>
103475 #else
103476 # include <assert.h>
103477 #endif
103478
103479 #undef $ac_func
103480
103481 /* Override any gcc2 internal prototype to avoid an error. */
103482 #ifdef __cplusplus
103483 extern "C"
103484 {
103485 #endif
103486 /* We use char because int might match the return type of a gcc2
103487 builtin and then its argument prototype would still apply. */
103488 char $ac_func ();
103489 /* The GNU C library defines this for functions which it implements
103490 to always fail with ENOSYS. Some functions are actually named
103491 something starting with __ and the normal name is an alias. */
103492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103493 choke me
103494 #else
103495 char (*f) () = $ac_func;
103496 #endif
103497 #ifdef __cplusplus
103498 }
103499 #endif
103500
103501 int
103502 main ()
103503 {
103504 return f != $ac_func;
103505 ;
103506 return 0;
103507 }
103508 _ACEOF
103509 rm -f conftest.$ac_objext conftest$ac_exeext
103510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103511 (eval $ac_link) 2>conftest.er1
103512 ac_status=$?
103513 grep -v '^ *+' conftest.er1 >conftest.err
103514 rm -f conftest.er1
103515 cat conftest.err >&5
103516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103517 (exit $ac_status); } &&
103518 { ac_try='test -z "$ac_c_werror_flag"
103519 || test ! -s conftest.err'
103520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103521 (eval $ac_try) 2>&5
103522 ac_status=$?
103523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103524 (exit $ac_status); }; } &&
103525 { ac_try='test -s conftest$ac_exeext'
103526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103527 (eval $ac_try) 2>&5
103528 ac_status=$?
103529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103530 (exit $ac_status); }; }; then
103531 eval "$as_ac_var=yes"
103532 else
103533 echo "$as_me: failed program was:" >&5
103534 sed 's/^/| /' conftest.$ac_ext >&5
103535
103536 eval "$as_ac_var=no"
103537 fi
103538 rm -f conftest.err conftest.$ac_objext \
103539 conftest$ac_exeext conftest.$ac_ext
103540 fi
103541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103543 if test `eval echo '${'$as_ac_var'}'` = yes; then
103544 cat >>confdefs.h <<_ACEOF
103545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103546 _ACEOF
103547
103548 fi
103549 done
103550
103551 else
103552
103553 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103554 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103555 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103556 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103557 echo $ECHO_N "(cached) $ECHO_C" >&6
103558 else
103559
103560
103561
103562 ac_ext=cc
103563 ac_cpp='$CXXCPP $CPPFLAGS'
103564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103567
103568 cat >conftest.$ac_ext <<_ACEOF
103569 /* confdefs.h. */
103570 _ACEOF
103571 cat confdefs.h >>conftest.$ac_ext
103572 cat >>conftest.$ac_ext <<_ACEOF
103573 /* end confdefs.h. */
103574 #include <math.h>
103575 int
103576 main ()
103577 {
103578 _powl(0, 0);
103579 ;
103580 return 0;
103581 }
103582 _ACEOF
103583 rm -f conftest.$ac_objext
103584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103585 (eval $ac_compile) 2>conftest.er1
103586 ac_status=$?
103587 grep -v '^ *+' conftest.er1 >conftest.err
103588 rm -f conftest.er1
103589 cat conftest.err >&5
103590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103591 (exit $ac_status); } &&
103592 { ac_try='test -z "$ac_cxx_werror_flag"
103593 || test ! -s conftest.err'
103594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103595 (eval $ac_try) 2>&5
103596 ac_status=$?
103597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103598 (exit $ac_status); }; } &&
103599 { ac_try='test -s conftest.$ac_objext'
103600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103601 (eval $ac_try) 2>&5
103602 ac_status=$?
103603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103604 (exit $ac_status); }; }; then
103605 glibcxx_cv_func__powl_use=yes
103606 else
103607 echo "$as_me: failed program was:" >&5
103608 sed 's/^/| /' conftest.$ac_ext >&5
103609
103610 glibcxx_cv_func__powl_use=no
103611 fi
103612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103613 ac_ext=c
103614 ac_cpp='$CPP $CPPFLAGS'
103615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103618
103619
103620 fi
103621
103622 fi
103623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103624 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103625
103626 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103627
103628 for ac_func in _powl
103629 do
103630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103631 echo "$as_me:$LINENO: checking for $ac_func" >&5
103632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103633 if eval "test \"\${$as_ac_var+set}\" = set"; then
103634 echo $ECHO_N "(cached) $ECHO_C" >&6
103635 else
103636 if test x$gcc_no_link = xyes; then
103637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103639 { (exit 1); exit 1; }; }
103640 fi
103641 cat >conftest.$ac_ext <<_ACEOF
103642 /* confdefs.h. */
103643 _ACEOF
103644 cat confdefs.h >>conftest.$ac_ext
103645 cat >>conftest.$ac_ext <<_ACEOF
103646 /* end confdefs.h. */
103647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103649 #define $ac_func innocuous_$ac_func
103650
103651 /* System header to define __stub macros and hopefully few prototypes,
103652 which can conflict with char $ac_func (); below.
103653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103654 <limits.h> exists even on freestanding compilers. */
103655
103656 #ifdef __STDC__
103657 # include <limits.h>
103658 #else
103659 # include <assert.h>
103660 #endif
103661
103662 #undef $ac_func
103663
103664 /* Override any gcc2 internal prototype to avoid an error. */
103665 #ifdef __cplusplus
103666 extern "C"
103667 {
103668 #endif
103669 /* We use char because int might match the return type of a gcc2
103670 builtin and then its argument prototype would still apply. */
103671 char $ac_func ();
103672 /* The GNU C library defines this for functions which it implements
103673 to always fail with ENOSYS. Some functions are actually named
103674 something starting with __ and the normal name is an alias. */
103675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103676 choke me
103677 #else
103678 char (*f) () = $ac_func;
103679 #endif
103680 #ifdef __cplusplus
103681 }
103682 #endif
103683
103684 int
103685 main ()
103686 {
103687 return f != $ac_func;
103688 ;
103689 return 0;
103690 }
103691 _ACEOF
103692 rm -f conftest.$ac_objext conftest$ac_exeext
103693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103694 (eval $ac_link) 2>conftest.er1
103695 ac_status=$?
103696 grep -v '^ *+' conftest.er1 >conftest.err
103697 rm -f conftest.er1
103698 cat conftest.err >&5
103699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103700 (exit $ac_status); } &&
103701 { ac_try='test -z "$ac_c_werror_flag"
103702 || test ! -s conftest.err'
103703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103704 (eval $ac_try) 2>&5
103705 ac_status=$?
103706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103707 (exit $ac_status); }; } &&
103708 { ac_try='test -s conftest$ac_exeext'
103709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103710 (eval $ac_try) 2>&5
103711 ac_status=$?
103712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103713 (exit $ac_status); }; }; then
103714 eval "$as_ac_var=yes"
103715 else
103716 echo "$as_me: failed program was:" >&5
103717 sed 's/^/| /' conftest.$ac_ext >&5
103718
103719 eval "$as_ac_var=no"
103720 fi
103721 rm -f conftest.err conftest.$ac_objext \
103722 conftest$ac_exeext conftest.$ac_ext
103723 fi
103724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103726 if test `eval echo '${'$as_ac_var'}'` = yes; then
103727 cat >>confdefs.h <<_ACEOF
103728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103729 _ACEOF
103730
103731 fi
103732 done
103733
103734 fi
103735 fi
103736
103737
103738
103739
103740
103741
103742 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103743 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103744 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103745 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103746 echo $ECHO_N "(cached) $ECHO_C" >&6
103747 else
103748
103749
103750
103751 ac_ext=cc
103752 ac_cpp='$CXXCPP $CPPFLAGS'
103753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103756
103757 cat >conftest.$ac_ext <<_ACEOF
103758 /* confdefs.h. */
103759 _ACEOF
103760 cat confdefs.h >>conftest.$ac_ext
103761 cat >>conftest.$ac_ext <<_ACEOF
103762 /* end confdefs.h. */
103763 #include <math.h>
103764 #ifdef HAVE_IEEEFP_H
103765 #include <ieeefp.h>
103766 #endif
103767
103768 int
103769 main ()
103770 {
103771 sqrtl(0);
103772 ;
103773 return 0;
103774 }
103775 _ACEOF
103776 rm -f conftest.$ac_objext
103777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103778 (eval $ac_compile) 2>conftest.er1
103779 ac_status=$?
103780 grep -v '^ *+' conftest.er1 >conftest.err
103781 rm -f conftest.er1
103782 cat conftest.err >&5
103783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103784 (exit $ac_status); } &&
103785 { ac_try='test -z "$ac_cxx_werror_flag"
103786 || test ! -s conftest.err'
103787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103788 (eval $ac_try) 2>&5
103789 ac_status=$?
103790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103791 (exit $ac_status); }; } &&
103792 { ac_try='test -s conftest.$ac_objext'
103793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103794 (eval $ac_try) 2>&5
103795 ac_status=$?
103796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103797 (exit $ac_status); }; }; then
103798 glibcxx_cv_func_sqrtl_use=yes
103799 else
103800 echo "$as_me: failed program was:" >&5
103801 sed 's/^/| /' conftest.$ac_ext >&5
103802
103803 glibcxx_cv_func_sqrtl_use=no
103804 fi
103805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103806 ac_ext=c
103807 ac_cpp='$CPP $CPPFLAGS'
103808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103811
103812
103813 fi
103814
103815 fi
103816 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103817 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103818
103819 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103820
103821 for ac_func in sqrtl
103822 do
103823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103824 echo "$as_me:$LINENO: checking for $ac_func" >&5
103825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103826 if eval "test \"\${$as_ac_var+set}\" = set"; then
103827 echo $ECHO_N "(cached) $ECHO_C" >&6
103828 else
103829 if test x$gcc_no_link = xyes; then
103830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103832 { (exit 1); exit 1; }; }
103833 fi
103834 cat >conftest.$ac_ext <<_ACEOF
103835 /* confdefs.h. */
103836 _ACEOF
103837 cat confdefs.h >>conftest.$ac_ext
103838 cat >>conftest.$ac_ext <<_ACEOF
103839 /* end confdefs.h. */
103840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103842 #define $ac_func innocuous_$ac_func
103843
103844 /* System header to define __stub macros and hopefully few prototypes,
103845 which can conflict with char $ac_func (); below.
103846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103847 <limits.h> exists even on freestanding compilers. */
103848
103849 #ifdef __STDC__
103850 # include <limits.h>
103851 #else
103852 # include <assert.h>
103853 #endif
103854
103855 #undef $ac_func
103856
103857 /* Override any gcc2 internal prototype to avoid an error. */
103858 #ifdef __cplusplus
103859 extern "C"
103860 {
103861 #endif
103862 /* We use char because int might match the return type of a gcc2
103863 builtin and then its argument prototype would still apply. */
103864 char $ac_func ();
103865 /* The GNU C library defines this for functions which it implements
103866 to always fail with ENOSYS. Some functions are actually named
103867 something starting with __ and the normal name is an alias. */
103868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103869 choke me
103870 #else
103871 char (*f) () = $ac_func;
103872 #endif
103873 #ifdef __cplusplus
103874 }
103875 #endif
103876
103877 int
103878 main ()
103879 {
103880 return f != $ac_func;
103881 ;
103882 return 0;
103883 }
103884 _ACEOF
103885 rm -f conftest.$ac_objext conftest$ac_exeext
103886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103887 (eval $ac_link) 2>conftest.er1
103888 ac_status=$?
103889 grep -v '^ *+' conftest.er1 >conftest.err
103890 rm -f conftest.er1
103891 cat conftest.err >&5
103892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103893 (exit $ac_status); } &&
103894 { ac_try='test -z "$ac_c_werror_flag"
103895 || test ! -s conftest.err'
103896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103897 (eval $ac_try) 2>&5
103898 ac_status=$?
103899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103900 (exit $ac_status); }; } &&
103901 { ac_try='test -s conftest$ac_exeext'
103902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103903 (eval $ac_try) 2>&5
103904 ac_status=$?
103905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103906 (exit $ac_status); }; }; then
103907 eval "$as_ac_var=yes"
103908 else
103909 echo "$as_me: failed program was:" >&5
103910 sed 's/^/| /' conftest.$ac_ext >&5
103911
103912 eval "$as_ac_var=no"
103913 fi
103914 rm -f conftest.err conftest.$ac_objext \
103915 conftest$ac_exeext conftest.$ac_ext
103916 fi
103917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103919 if test `eval echo '${'$as_ac_var'}'` = yes; then
103920 cat >>confdefs.h <<_ACEOF
103921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103922 _ACEOF
103923
103924 fi
103925 done
103926
103927 else
103928
103929 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103930 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103931 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103932 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103933 echo $ECHO_N "(cached) $ECHO_C" >&6
103934 else
103935
103936
103937
103938 ac_ext=cc
103939 ac_cpp='$CXXCPP $CPPFLAGS'
103940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103943
103944 cat >conftest.$ac_ext <<_ACEOF
103945 /* confdefs.h. */
103946 _ACEOF
103947 cat confdefs.h >>conftest.$ac_ext
103948 cat >>conftest.$ac_ext <<_ACEOF
103949 /* end confdefs.h. */
103950 #include <math.h>
103951 #ifdef HAVE_IEEEFP_H
103952 #include <ieeefp.h>
103953 #endif
103954
103955 int
103956 main ()
103957 {
103958 _sqrtl(0);
103959 ;
103960 return 0;
103961 }
103962 _ACEOF
103963 rm -f conftest.$ac_objext
103964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103965 (eval $ac_compile) 2>conftest.er1
103966 ac_status=$?
103967 grep -v '^ *+' conftest.er1 >conftest.err
103968 rm -f conftest.er1
103969 cat conftest.err >&5
103970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103971 (exit $ac_status); } &&
103972 { ac_try='test -z "$ac_cxx_werror_flag"
103973 || test ! -s conftest.err'
103974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103975 (eval $ac_try) 2>&5
103976 ac_status=$?
103977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103978 (exit $ac_status); }; } &&
103979 { ac_try='test -s conftest.$ac_objext'
103980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103981 (eval $ac_try) 2>&5
103982 ac_status=$?
103983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103984 (exit $ac_status); }; }; then
103985 glibcxx_cv_func__sqrtl_use=yes
103986 else
103987 echo "$as_me: failed program was:" >&5
103988 sed 's/^/| /' conftest.$ac_ext >&5
103989
103990 glibcxx_cv_func__sqrtl_use=no
103991 fi
103992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103993 ac_ext=c
103994 ac_cpp='$CPP $CPPFLAGS'
103995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103998
103999
104000 fi
104001
104002 fi
104003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104004 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104005
104006 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104007
104008 for ac_func in _sqrtl
104009 do
104010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104011 echo "$as_me:$LINENO: checking for $ac_func" >&5
104012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104013 if eval "test \"\${$as_ac_var+set}\" = set"; then
104014 echo $ECHO_N "(cached) $ECHO_C" >&6
104015 else
104016 if test x$gcc_no_link = xyes; then
104017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104019 { (exit 1); exit 1; }; }
104020 fi
104021 cat >conftest.$ac_ext <<_ACEOF
104022 /* confdefs.h. */
104023 _ACEOF
104024 cat confdefs.h >>conftest.$ac_ext
104025 cat >>conftest.$ac_ext <<_ACEOF
104026 /* end confdefs.h. */
104027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104029 #define $ac_func innocuous_$ac_func
104030
104031 /* System header to define __stub macros and hopefully few prototypes,
104032 which can conflict with char $ac_func (); below.
104033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104034 <limits.h> exists even on freestanding compilers. */
104035
104036 #ifdef __STDC__
104037 # include <limits.h>
104038 #else
104039 # include <assert.h>
104040 #endif
104041
104042 #undef $ac_func
104043
104044 /* Override any gcc2 internal prototype to avoid an error. */
104045 #ifdef __cplusplus
104046 extern "C"
104047 {
104048 #endif
104049 /* We use char because int might match the return type of a gcc2
104050 builtin and then its argument prototype would still apply. */
104051 char $ac_func ();
104052 /* The GNU C library defines this for functions which it implements
104053 to always fail with ENOSYS. Some functions are actually named
104054 something starting with __ and the normal name is an alias. */
104055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104056 choke me
104057 #else
104058 char (*f) () = $ac_func;
104059 #endif
104060 #ifdef __cplusplus
104061 }
104062 #endif
104063
104064 int
104065 main ()
104066 {
104067 return f != $ac_func;
104068 ;
104069 return 0;
104070 }
104071 _ACEOF
104072 rm -f conftest.$ac_objext conftest$ac_exeext
104073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104074 (eval $ac_link) 2>conftest.er1
104075 ac_status=$?
104076 grep -v '^ *+' conftest.er1 >conftest.err
104077 rm -f conftest.er1
104078 cat conftest.err >&5
104079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104080 (exit $ac_status); } &&
104081 { ac_try='test -z "$ac_c_werror_flag"
104082 || test ! -s conftest.err'
104083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104084 (eval $ac_try) 2>&5
104085 ac_status=$?
104086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104087 (exit $ac_status); }; } &&
104088 { ac_try='test -s conftest$ac_exeext'
104089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104090 (eval $ac_try) 2>&5
104091 ac_status=$?
104092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104093 (exit $ac_status); }; }; then
104094 eval "$as_ac_var=yes"
104095 else
104096 echo "$as_me: failed program was:" >&5
104097 sed 's/^/| /' conftest.$ac_ext >&5
104098
104099 eval "$as_ac_var=no"
104100 fi
104101 rm -f conftest.err conftest.$ac_objext \
104102 conftest$ac_exeext conftest.$ac_ext
104103 fi
104104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104106 if test `eval echo '${'$as_ac_var'}'` = yes; then
104107 cat >>confdefs.h <<_ACEOF
104108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104109 _ACEOF
104110
104111 fi
104112 done
104113
104114 fi
104115 fi
104116
104117
104118
104119
104120
104121
104122 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104123 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104124 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104125 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104126 echo $ECHO_N "(cached) $ECHO_C" >&6
104127 else
104128
104129
104130
104131 ac_ext=cc
104132 ac_cpp='$CXXCPP $CPPFLAGS'
104133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104136
104137 cat >conftest.$ac_ext <<_ACEOF
104138 /* confdefs.h. */
104139 _ACEOF
104140 cat confdefs.h >>conftest.$ac_ext
104141 cat >>conftest.$ac_ext <<_ACEOF
104142 /* end confdefs.h. */
104143 #include <math.h>
104144 int
104145 main ()
104146 {
104147 sincosl(0, 0, 0);
104148 ;
104149 return 0;
104150 }
104151 _ACEOF
104152 rm -f conftest.$ac_objext
104153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104154 (eval $ac_compile) 2>conftest.er1
104155 ac_status=$?
104156 grep -v '^ *+' conftest.er1 >conftest.err
104157 rm -f conftest.er1
104158 cat conftest.err >&5
104159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104160 (exit $ac_status); } &&
104161 { ac_try='test -z "$ac_cxx_werror_flag"
104162 || test ! -s conftest.err'
104163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104164 (eval $ac_try) 2>&5
104165 ac_status=$?
104166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104167 (exit $ac_status); }; } &&
104168 { ac_try='test -s conftest.$ac_objext'
104169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104170 (eval $ac_try) 2>&5
104171 ac_status=$?
104172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104173 (exit $ac_status); }; }; then
104174 glibcxx_cv_func_sincosl_use=yes
104175 else
104176 echo "$as_me: failed program was:" >&5
104177 sed 's/^/| /' conftest.$ac_ext >&5
104178
104179 glibcxx_cv_func_sincosl_use=no
104180 fi
104181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104182 ac_ext=c
104183 ac_cpp='$CPP $CPPFLAGS'
104184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104187
104188
104189 fi
104190
104191 fi
104192 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104193 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104194
104195 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104196
104197 for ac_func in sincosl
104198 do
104199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104200 echo "$as_me:$LINENO: checking for $ac_func" >&5
104201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104202 if eval "test \"\${$as_ac_var+set}\" = set"; then
104203 echo $ECHO_N "(cached) $ECHO_C" >&6
104204 else
104205 if test x$gcc_no_link = xyes; then
104206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104208 { (exit 1); exit 1; }; }
104209 fi
104210 cat >conftest.$ac_ext <<_ACEOF
104211 /* confdefs.h. */
104212 _ACEOF
104213 cat confdefs.h >>conftest.$ac_ext
104214 cat >>conftest.$ac_ext <<_ACEOF
104215 /* end confdefs.h. */
104216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104218 #define $ac_func innocuous_$ac_func
104219
104220 /* System header to define __stub macros and hopefully few prototypes,
104221 which can conflict with char $ac_func (); below.
104222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104223 <limits.h> exists even on freestanding compilers. */
104224
104225 #ifdef __STDC__
104226 # include <limits.h>
104227 #else
104228 # include <assert.h>
104229 #endif
104230
104231 #undef $ac_func
104232
104233 /* Override any gcc2 internal prototype to avoid an error. */
104234 #ifdef __cplusplus
104235 extern "C"
104236 {
104237 #endif
104238 /* We use char because int might match the return type of a gcc2
104239 builtin and then its argument prototype would still apply. */
104240 char $ac_func ();
104241 /* The GNU C library defines this for functions which it implements
104242 to always fail with ENOSYS. Some functions are actually named
104243 something starting with __ and the normal name is an alias. */
104244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104245 choke me
104246 #else
104247 char (*f) () = $ac_func;
104248 #endif
104249 #ifdef __cplusplus
104250 }
104251 #endif
104252
104253 int
104254 main ()
104255 {
104256 return f != $ac_func;
104257 ;
104258 return 0;
104259 }
104260 _ACEOF
104261 rm -f conftest.$ac_objext conftest$ac_exeext
104262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104263 (eval $ac_link) 2>conftest.er1
104264 ac_status=$?
104265 grep -v '^ *+' conftest.er1 >conftest.err
104266 rm -f conftest.er1
104267 cat conftest.err >&5
104268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104269 (exit $ac_status); } &&
104270 { ac_try='test -z "$ac_c_werror_flag"
104271 || test ! -s conftest.err'
104272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104273 (eval $ac_try) 2>&5
104274 ac_status=$?
104275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104276 (exit $ac_status); }; } &&
104277 { ac_try='test -s conftest$ac_exeext'
104278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104279 (eval $ac_try) 2>&5
104280 ac_status=$?
104281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104282 (exit $ac_status); }; }; then
104283 eval "$as_ac_var=yes"
104284 else
104285 echo "$as_me: failed program was:" >&5
104286 sed 's/^/| /' conftest.$ac_ext >&5
104287
104288 eval "$as_ac_var=no"
104289 fi
104290 rm -f conftest.err conftest.$ac_objext \
104291 conftest$ac_exeext conftest.$ac_ext
104292 fi
104293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104295 if test `eval echo '${'$as_ac_var'}'` = yes; then
104296 cat >>confdefs.h <<_ACEOF
104297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104298 _ACEOF
104299
104300 fi
104301 done
104302
104303 else
104304
104305 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104306 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104307 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104308 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104309 echo $ECHO_N "(cached) $ECHO_C" >&6
104310 else
104311
104312
104313
104314 ac_ext=cc
104315 ac_cpp='$CXXCPP $CPPFLAGS'
104316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104319
104320 cat >conftest.$ac_ext <<_ACEOF
104321 /* confdefs.h. */
104322 _ACEOF
104323 cat confdefs.h >>conftest.$ac_ext
104324 cat >>conftest.$ac_ext <<_ACEOF
104325 /* end confdefs.h. */
104326 #include <math.h>
104327 int
104328 main ()
104329 {
104330 _sincosl(0, 0, 0);
104331 ;
104332 return 0;
104333 }
104334 _ACEOF
104335 rm -f conftest.$ac_objext
104336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104337 (eval $ac_compile) 2>conftest.er1
104338 ac_status=$?
104339 grep -v '^ *+' conftest.er1 >conftest.err
104340 rm -f conftest.er1
104341 cat conftest.err >&5
104342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104343 (exit $ac_status); } &&
104344 { ac_try='test -z "$ac_cxx_werror_flag"
104345 || test ! -s conftest.err'
104346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104347 (eval $ac_try) 2>&5
104348 ac_status=$?
104349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104350 (exit $ac_status); }; } &&
104351 { ac_try='test -s conftest.$ac_objext'
104352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104353 (eval $ac_try) 2>&5
104354 ac_status=$?
104355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104356 (exit $ac_status); }; }; then
104357 glibcxx_cv_func__sincosl_use=yes
104358 else
104359 echo "$as_me: failed program was:" >&5
104360 sed 's/^/| /' conftest.$ac_ext >&5
104361
104362 glibcxx_cv_func__sincosl_use=no
104363 fi
104364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104365 ac_ext=c
104366 ac_cpp='$CPP $CPPFLAGS'
104367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104370
104371
104372 fi
104373
104374 fi
104375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104376 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104377
104378 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104379
104380 for ac_func in _sincosl
104381 do
104382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104383 echo "$as_me:$LINENO: checking for $ac_func" >&5
104384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104385 if eval "test \"\${$as_ac_var+set}\" = set"; then
104386 echo $ECHO_N "(cached) $ECHO_C" >&6
104387 else
104388 if test x$gcc_no_link = xyes; then
104389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104391 { (exit 1); exit 1; }; }
104392 fi
104393 cat >conftest.$ac_ext <<_ACEOF
104394 /* confdefs.h. */
104395 _ACEOF
104396 cat confdefs.h >>conftest.$ac_ext
104397 cat >>conftest.$ac_ext <<_ACEOF
104398 /* end confdefs.h. */
104399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104401 #define $ac_func innocuous_$ac_func
104402
104403 /* System header to define __stub macros and hopefully few prototypes,
104404 which can conflict with char $ac_func (); below.
104405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104406 <limits.h> exists even on freestanding compilers. */
104407
104408 #ifdef __STDC__
104409 # include <limits.h>
104410 #else
104411 # include <assert.h>
104412 #endif
104413
104414 #undef $ac_func
104415
104416 /* Override any gcc2 internal prototype to avoid an error. */
104417 #ifdef __cplusplus
104418 extern "C"
104419 {
104420 #endif
104421 /* We use char because int might match the return type of a gcc2
104422 builtin and then its argument prototype would still apply. */
104423 char $ac_func ();
104424 /* The GNU C library defines this for functions which it implements
104425 to always fail with ENOSYS. Some functions are actually named
104426 something starting with __ and the normal name is an alias. */
104427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104428 choke me
104429 #else
104430 char (*f) () = $ac_func;
104431 #endif
104432 #ifdef __cplusplus
104433 }
104434 #endif
104435
104436 int
104437 main ()
104438 {
104439 return f != $ac_func;
104440 ;
104441 return 0;
104442 }
104443 _ACEOF
104444 rm -f conftest.$ac_objext conftest$ac_exeext
104445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104446 (eval $ac_link) 2>conftest.er1
104447 ac_status=$?
104448 grep -v '^ *+' conftest.er1 >conftest.err
104449 rm -f conftest.er1
104450 cat conftest.err >&5
104451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104452 (exit $ac_status); } &&
104453 { ac_try='test -z "$ac_c_werror_flag"
104454 || test ! -s conftest.err'
104455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104456 (eval $ac_try) 2>&5
104457 ac_status=$?
104458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104459 (exit $ac_status); }; } &&
104460 { ac_try='test -s conftest$ac_exeext'
104461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104462 (eval $ac_try) 2>&5
104463 ac_status=$?
104464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104465 (exit $ac_status); }; }; then
104466 eval "$as_ac_var=yes"
104467 else
104468 echo "$as_me: failed program was:" >&5
104469 sed 's/^/| /' conftest.$ac_ext >&5
104470
104471 eval "$as_ac_var=no"
104472 fi
104473 rm -f conftest.err conftest.$ac_objext \
104474 conftest$ac_exeext conftest.$ac_ext
104475 fi
104476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104478 if test `eval echo '${'$as_ac_var'}'` = yes; then
104479 cat >>confdefs.h <<_ACEOF
104480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104481 _ACEOF
104482
104483 fi
104484 done
104485
104486 fi
104487 fi
104488
104489
104490
104491
104492
104493
104494 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104495 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104496 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104497 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104498 echo $ECHO_N "(cached) $ECHO_C" >&6
104499 else
104500
104501
104502
104503 ac_ext=cc
104504 ac_cpp='$CXXCPP $CPPFLAGS'
104505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104508
104509 cat >conftest.$ac_ext <<_ACEOF
104510 /* confdefs.h. */
104511 _ACEOF
104512 cat confdefs.h >>conftest.$ac_ext
104513 cat >>conftest.$ac_ext <<_ACEOF
104514 /* end confdefs.h. */
104515 #include <math.h>
104516 #ifdef HAVE_IEEEFP_H
104517 #include <ieeefp.h>
104518 #endif
104519
104520 int
104521 main ()
104522 {
104523 finitel(0);
104524 ;
104525 return 0;
104526 }
104527 _ACEOF
104528 rm -f conftest.$ac_objext
104529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104530 (eval $ac_compile) 2>conftest.er1
104531 ac_status=$?
104532 grep -v '^ *+' conftest.er1 >conftest.err
104533 rm -f conftest.er1
104534 cat conftest.err >&5
104535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104536 (exit $ac_status); } &&
104537 { ac_try='test -z "$ac_cxx_werror_flag"
104538 || test ! -s conftest.err'
104539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104540 (eval $ac_try) 2>&5
104541 ac_status=$?
104542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104543 (exit $ac_status); }; } &&
104544 { ac_try='test -s conftest.$ac_objext'
104545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104546 (eval $ac_try) 2>&5
104547 ac_status=$?
104548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104549 (exit $ac_status); }; }; then
104550 glibcxx_cv_func_finitel_use=yes
104551 else
104552 echo "$as_me: failed program was:" >&5
104553 sed 's/^/| /' conftest.$ac_ext >&5
104554
104555 glibcxx_cv_func_finitel_use=no
104556 fi
104557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104558 ac_ext=c
104559 ac_cpp='$CPP $CPPFLAGS'
104560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104563
104564
104565 fi
104566
104567 fi
104568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104569 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104570
104571 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104572
104573 for ac_func in finitel
104574 do
104575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104576 echo "$as_me:$LINENO: checking for $ac_func" >&5
104577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104578 if eval "test \"\${$as_ac_var+set}\" = set"; then
104579 echo $ECHO_N "(cached) $ECHO_C" >&6
104580 else
104581 if test x$gcc_no_link = xyes; then
104582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104584 { (exit 1); exit 1; }; }
104585 fi
104586 cat >conftest.$ac_ext <<_ACEOF
104587 /* confdefs.h. */
104588 _ACEOF
104589 cat confdefs.h >>conftest.$ac_ext
104590 cat >>conftest.$ac_ext <<_ACEOF
104591 /* end confdefs.h. */
104592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104594 #define $ac_func innocuous_$ac_func
104595
104596 /* System header to define __stub macros and hopefully few prototypes,
104597 which can conflict with char $ac_func (); below.
104598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104599 <limits.h> exists even on freestanding compilers. */
104600
104601 #ifdef __STDC__
104602 # include <limits.h>
104603 #else
104604 # include <assert.h>
104605 #endif
104606
104607 #undef $ac_func
104608
104609 /* Override any gcc2 internal prototype to avoid an error. */
104610 #ifdef __cplusplus
104611 extern "C"
104612 {
104613 #endif
104614 /* We use char because int might match the return type of a gcc2
104615 builtin and then its argument prototype would still apply. */
104616 char $ac_func ();
104617 /* The GNU C library defines this for functions which it implements
104618 to always fail with ENOSYS. Some functions are actually named
104619 something starting with __ and the normal name is an alias. */
104620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104621 choke me
104622 #else
104623 char (*f) () = $ac_func;
104624 #endif
104625 #ifdef __cplusplus
104626 }
104627 #endif
104628
104629 int
104630 main ()
104631 {
104632 return f != $ac_func;
104633 ;
104634 return 0;
104635 }
104636 _ACEOF
104637 rm -f conftest.$ac_objext conftest$ac_exeext
104638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104639 (eval $ac_link) 2>conftest.er1
104640 ac_status=$?
104641 grep -v '^ *+' conftest.er1 >conftest.err
104642 rm -f conftest.er1
104643 cat conftest.err >&5
104644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104645 (exit $ac_status); } &&
104646 { ac_try='test -z "$ac_c_werror_flag"
104647 || test ! -s conftest.err'
104648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104649 (eval $ac_try) 2>&5
104650 ac_status=$?
104651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104652 (exit $ac_status); }; } &&
104653 { ac_try='test -s conftest$ac_exeext'
104654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104655 (eval $ac_try) 2>&5
104656 ac_status=$?
104657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104658 (exit $ac_status); }; }; then
104659 eval "$as_ac_var=yes"
104660 else
104661 echo "$as_me: failed program was:" >&5
104662 sed 's/^/| /' conftest.$ac_ext >&5
104663
104664 eval "$as_ac_var=no"
104665 fi
104666 rm -f conftest.err conftest.$ac_objext \
104667 conftest$ac_exeext conftest.$ac_ext
104668 fi
104669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104671 if test `eval echo '${'$as_ac_var'}'` = yes; then
104672 cat >>confdefs.h <<_ACEOF
104673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104674 _ACEOF
104675
104676 fi
104677 done
104678
104679 else
104680
104681 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104682 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104683 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104684 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104685 echo $ECHO_N "(cached) $ECHO_C" >&6
104686 else
104687
104688
104689
104690 ac_ext=cc
104691 ac_cpp='$CXXCPP $CPPFLAGS'
104692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104695
104696 cat >conftest.$ac_ext <<_ACEOF
104697 /* confdefs.h. */
104698 _ACEOF
104699 cat confdefs.h >>conftest.$ac_ext
104700 cat >>conftest.$ac_ext <<_ACEOF
104701 /* end confdefs.h. */
104702 #include <math.h>
104703 #ifdef HAVE_IEEEFP_H
104704 #include <ieeefp.h>
104705 #endif
104706
104707 int
104708 main ()
104709 {
104710 _finitel(0);
104711 ;
104712 return 0;
104713 }
104714 _ACEOF
104715 rm -f conftest.$ac_objext
104716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104717 (eval $ac_compile) 2>conftest.er1
104718 ac_status=$?
104719 grep -v '^ *+' conftest.er1 >conftest.err
104720 rm -f conftest.er1
104721 cat conftest.err >&5
104722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104723 (exit $ac_status); } &&
104724 { ac_try='test -z "$ac_cxx_werror_flag"
104725 || test ! -s conftest.err'
104726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104727 (eval $ac_try) 2>&5
104728 ac_status=$?
104729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104730 (exit $ac_status); }; } &&
104731 { ac_try='test -s conftest.$ac_objext'
104732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104733 (eval $ac_try) 2>&5
104734 ac_status=$?
104735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104736 (exit $ac_status); }; }; then
104737 glibcxx_cv_func__finitel_use=yes
104738 else
104739 echo "$as_me: failed program was:" >&5
104740 sed 's/^/| /' conftest.$ac_ext >&5
104741
104742 glibcxx_cv_func__finitel_use=no
104743 fi
104744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104745 ac_ext=c
104746 ac_cpp='$CPP $CPPFLAGS'
104747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104750
104751
104752 fi
104753
104754 fi
104755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104756 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104757
104758 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104759
104760 for ac_func in _finitel
104761 do
104762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104763 echo "$as_me:$LINENO: checking for $ac_func" >&5
104764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104765 if eval "test \"\${$as_ac_var+set}\" = set"; then
104766 echo $ECHO_N "(cached) $ECHO_C" >&6
104767 else
104768 if test x$gcc_no_link = xyes; then
104769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104771 { (exit 1); exit 1; }; }
104772 fi
104773 cat >conftest.$ac_ext <<_ACEOF
104774 /* confdefs.h. */
104775 _ACEOF
104776 cat confdefs.h >>conftest.$ac_ext
104777 cat >>conftest.$ac_ext <<_ACEOF
104778 /* end confdefs.h. */
104779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104781 #define $ac_func innocuous_$ac_func
104782
104783 /* System header to define __stub macros and hopefully few prototypes,
104784 which can conflict with char $ac_func (); below.
104785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104786 <limits.h> exists even on freestanding compilers. */
104787
104788 #ifdef __STDC__
104789 # include <limits.h>
104790 #else
104791 # include <assert.h>
104792 #endif
104793
104794 #undef $ac_func
104795
104796 /* Override any gcc2 internal prototype to avoid an error. */
104797 #ifdef __cplusplus
104798 extern "C"
104799 {
104800 #endif
104801 /* We use char because int might match the return type of a gcc2
104802 builtin and then its argument prototype would still apply. */
104803 char $ac_func ();
104804 /* The GNU C library defines this for functions which it implements
104805 to always fail with ENOSYS. Some functions are actually named
104806 something starting with __ and the normal name is an alias. */
104807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104808 choke me
104809 #else
104810 char (*f) () = $ac_func;
104811 #endif
104812 #ifdef __cplusplus
104813 }
104814 #endif
104815
104816 int
104817 main ()
104818 {
104819 return f != $ac_func;
104820 ;
104821 return 0;
104822 }
104823 _ACEOF
104824 rm -f conftest.$ac_objext conftest$ac_exeext
104825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104826 (eval $ac_link) 2>conftest.er1
104827 ac_status=$?
104828 grep -v '^ *+' conftest.er1 >conftest.err
104829 rm -f conftest.er1
104830 cat conftest.err >&5
104831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104832 (exit $ac_status); } &&
104833 { ac_try='test -z "$ac_c_werror_flag"
104834 || test ! -s conftest.err'
104835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104836 (eval $ac_try) 2>&5
104837 ac_status=$?
104838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104839 (exit $ac_status); }; } &&
104840 { ac_try='test -s conftest$ac_exeext'
104841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104842 (eval $ac_try) 2>&5
104843 ac_status=$?
104844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104845 (exit $ac_status); }; }; then
104846 eval "$as_ac_var=yes"
104847 else
104848 echo "$as_me: failed program was:" >&5
104849 sed 's/^/| /' conftest.$ac_ext >&5
104850
104851 eval "$as_ac_var=no"
104852 fi
104853 rm -f conftest.err conftest.$ac_objext \
104854 conftest$ac_exeext conftest.$ac_ext
104855 fi
104856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104858 if test `eval echo '${'$as_ac_var'}'` = yes; then
104859 cat >>confdefs.h <<_ACEOF
104860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104861 _ACEOF
104862
104863 fi
104864 done
104865
104866 fi
104867 fi
104868
104869
104870
104871
104872
104873 LIBS="$ac_save_LIBS"
104874 CXXFLAGS="$ac_save_CXXFLAGS"
104875
104876
104877
104878 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104879 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104880 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104881 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104882 echo $ECHO_N "(cached) $ECHO_C" >&6
104883 else
104884
104885
104886
104887 ac_ext=cc
104888 ac_cpp='$CXXCPP $CPPFLAGS'
104889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104892
104893 cat >conftest.$ac_ext <<_ACEOF
104894 /* confdefs.h. */
104895 _ACEOF
104896 cat confdefs.h >>conftest.$ac_ext
104897 cat >>conftest.$ac_ext <<_ACEOF
104898 /* end confdefs.h. */
104899 #include <math.h>
104900 int
104901 main ()
104902 {
104903 __builtin_abs(0);
104904 ;
104905 return 0;
104906 }
104907 _ACEOF
104908 rm -f conftest.$ac_objext
104909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104910 (eval $ac_compile) 2>conftest.er1
104911 ac_status=$?
104912 grep -v '^ *+' conftest.er1 >conftest.err
104913 rm -f conftest.er1
104914 cat conftest.err >&5
104915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104916 (exit $ac_status); } &&
104917 { ac_try='test -z "$ac_cxx_werror_flag"
104918 || test ! -s conftest.err'
104919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104920 (eval $ac_try) 2>&5
104921 ac_status=$?
104922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104923 (exit $ac_status); }; } &&
104924 { ac_try='test -s conftest.$ac_objext'
104925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104926 (eval $ac_try) 2>&5
104927 ac_status=$?
104928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104929 (exit $ac_status); }; }; then
104930 glibcxx_cv_func___builtin_abs_use=yes
104931 else
104932 echo "$as_me: failed program was:" >&5
104933 sed 's/^/| /' conftest.$ac_ext >&5
104934
104935 glibcxx_cv_func___builtin_abs_use=no
104936 fi
104937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104938 ac_ext=c
104939 ac_cpp='$CPP $CPPFLAGS'
104940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104943
104944
104945 fi
104946
104947 fi
104948 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104949 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104950 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104951 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104952 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104953 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104954 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104955 echo $ECHO_N "(cached) $ECHO_C" >&6
104956 else
104957
104958 if test x$gcc_no_link = xyes; then
104959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104961 { (exit 1); exit 1; }; }
104962 fi
104963 cat >conftest.$ac_ext <<_ACEOF
104964 /* confdefs.h. */
104965 _ACEOF
104966 cat confdefs.h >>conftest.$ac_ext
104967 cat >>conftest.$ac_ext <<_ACEOF
104968 /* end confdefs.h. */
104969 #include <math.h>
104970 int
104971 main ()
104972 {
104973 __builtin_abs(0);
104974 ;
104975 return 0;
104976 }
104977 _ACEOF
104978 rm -f conftest.$ac_objext conftest$ac_exeext
104979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104980 (eval $ac_link) 2>conftest.er1
104981 ac_status=$?
104982 grep -v '^ *+' conftest.er1 >conftest.err
104983 rm -f conftest.er1
104984 cat conftest.err >&5
104985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104986 (exit $ac_status); } &&
104987 { ac_try='test -z "$ac_c_werror_flag"
104988 || test ! -s conftest.err'
104989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104990 (eval $ac_try) 2>&5
104991 ac_status=$?
104992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104993 (exit $ac_status); }; } &&
104994 { ac_try='test -s conftest$ac_exeext'
104995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104996 (eval $ac_try) 2>&5
104997 ac_status=$?
104998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104999 (exit $ac_status); }; }; then
105000 glibcxx_cv_func___builtin_abs_link=yes
105001 else
105002 echo "$as_me: failed program was:" >&5
105003 sed 's/^/| /' conftest.$ac_ext >&5
105004
105005 glibcxx_cv_func___builtin_abs_link=no
105006 fi
105007 rm -f conftest.err conftest.$ac_objext \
105008 conftest$ac_exeext conftest.$ac_ext
105009
105010 fi
105011
105012 fi
105013 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105014 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105015
105016 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105017
105018 cat >>confdefs.h <<\_ACEOF
105019 #define HAVE___BUILTIN_ABS 1
105020 _ACEOF
105021
105022 fi
105023
105024 fi
105025
105026
105027 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105028 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105029 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105030 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105031 echo $ECHO_N "(cached) $ECHO_C" >&6
105032 else
105033
105034
105035
105036 ac_ext=cc
105037 ac_cpp='$CXXCPP $CPPFLAGS'
105038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105041
105042 cat >conftest.$ac_ext <<_ACEOF
105043 /* confdefs.h. */
105044 _ACEOF
105045 cat confdefs.h >>conftest.$ac_ext
105046 cat >>conftest.$ac_ext <<_ACEOF
105047 /* end confdefs.h. */
105048 #include <math.h>
105049 int
105050 main ()
105051 {
105052 __builtin_fabsf(0);
105053 ;
105054 return 0;
105055 }
105056 _ACEOF
105057 rm -f conftest.$ac_objext
105058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105059 (eval $ac_compile) 2>conftest.er1
105060 ac_status=$?
105061 grep -v '^ *+' conftest.er1 >conftest.err
105062 rm -f conftest.er1
105063 cat conftest.err >&5
105064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105065 (exit $ac_status); } &&
105066 { ac_try='test -z "$ac_cxx_werror_flag"
105067 || test ! -s conftest.err'
105068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105069 (eval $ac_try) 2>&5
105070 ac_status=$?
105071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105072 (exit $ac_status); }; } &&
105073 { ac_try='test -s conftest.$ac_objext'
105074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105075 (eval $ac_try) 2>&5
105076 ac_status=$?
105077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105078 (exit $ac_status); }; }; then
105079 glibcxx_cv_func___builtin_fabsf_use=yes
105080 else
105081 echo "$as_me: failed program was:" >&5
105082 sed 's/^/| /' conftest.$ac_ext >&5
105083
105084 glibcxx_cv_func___builtin_fabsf_use=no
105085 fi
105086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105087 ac_ext=c
105088 ac_cpp='$CPP $CPPFLAGS'
105089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105092
105093
105094 fi
105095
105096 fi
105097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105098 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105099 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105100 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105101 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105102 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105103 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105104 echo $ECHO_N "(cached) $ECHO_C" >&6
105105 else
105106
105107 if test x$gcc_no_link = xyes; then
105108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105110 { (exit 1); exit 1; }; }
105111 fi
105112 cat >conftest.$ac_ext <<_ACEOF
105113 /* confdefs.h. */
105114 _ACEOF
105115 cat confdefs.h >>conftest.$ac_ext
105116 cat >>conftest.$ac_ext <<_ACEOF
105117 /* end confdefs.h. */
105118 #include <math.h>
105119 int
105120 main ()
105121 {
105122 __builtin_fabsf(0);
105123 ;
105124 return 0;
105125 }
105126 _ACEOF
105127 rm -f conftest.$ac_objext conftest$ac_exeext
105128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105129 (eval $ac_link) 2>conftest.er1
105130 ac_status=$?
105131 grep -v '^ *+' conftest.er1 >conftest.err
105132 rm -f conftest.er1
105133 cat conftest.err >&5
105134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105135 (exit $ac_status); } &&
105136 { ac_try='test -z "$ac_c_werror_flag"
105137 || test ! -s conftest.err'
105138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105139 (eval $ac_try) 2>&5
105140 ac_status=$?
105141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105142 (exit $ac_status); }; } &&
105143 { ac_try='test -s conftest$ac_exeext'
105144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105145 (eval $ac_try) 2>&5
105146 ac_status=$?
105147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105148 (exit $ac_status); }; }; then
105149 glibcxx_cv_func___builtin_fabsf_link=yes
105150 else
105151 echo "$as_me: failed program was:" >&5
105152 sed 's/^/| /' conftest.$ac_ext >&5
105153
105154 glibcxx_cv_func___builtin_fabsf_link=no
105155 fi
105156 rm -f conftest.err conftest.$ac_objext \
105157 conftest$ac_exeext conftest.$ac_ext
105158
105159 fi
105160
105161 fi
105162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105163 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105164
105165 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105166
105167 cat >>confdefs.h <<\_ACEOF
105168 #define HAVE___BUILTIN_FABSF 1
105169 _ACEOF
105170
105171 fi
105172
105173 fi
105174
105175
105176 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105177 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105178 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105179 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105180 echo $ECHO_N "(cached) $ECHO_C" >&6
105181 else
105182
105183
105184
105185 ac_ext=cc
105186 ac_cpp='$CXXCPP $CPPFLAGS'
105187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105190
105191 cat >conftest.$ac_ext <<_ACEOF
105192 /* confdefs.h. */
105193 _ACEOF
105194 cat confdefs.h >>conftest.$ac_ext
105195 cat >>conftest.$ac_ext <<_ACEOF
105196 /* end confdefs.h. */
105197 #include <math.h>
105198 int
105199 main ()
105200 {
105201 __builtin_fabs(0);
105202 ;
105203 return 0;
105204 }
105205 _ACEOF
105206 rm -f conftest.$ac_objext
105207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105208 (eval $ac_compile) 2>conftest.er1
105209 ac_status=$?
105210 grep -v '^ *+' conftest.er1 >conftest.err
105211 rm -f conftest.er1
105212 cat conftest.err >&5
105213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105214 (exit $ac_status); } &&
105215 { ac_try='test -z "$ac_cxx_werror_flag"
105216 || test ! -s conftest.err'
105217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105218 (eval $ac_try) 2>&5
105219 ac_status=$?
105220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105221 (exit $ac_status); }; } &&
105222 { ac_try='test -s conftest.$ac_objext'
105223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105224 (eval $ac_try) 2>&5
105225 ac_status=$?
105226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105227 (exit $ac_status); }; }; then
105228 glibcxx_cv_func___builtin_fabs_use=yes
105229 else
105230 echo "$as_me: failed program was:" >&5
105231 sed 's/^/| /' conftest.$ac_ext >&5
105232
105233 glibcxx_cv_func___builtin_fabs_use=no
105234 fi
105235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105236 ac_ext=c
105237 ac_cpp='$CPP $CPPFLAGS'
105238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105241
105242
105243 fi
105244
105245 fi
105246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105247 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105248 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105249 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105250 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105251 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105252 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105253 echo $ECHO_N "(cached) $ECHO_C" >&6
105254 else
105255
105256 if test x$gcc_no_link = xyes; then
105257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105259 { (exit 1); exit 1; }; }
105260 fi
105261 cat >conftest.$ac_ext <<_ACEOF
105262 /* confdefs.h. */
105263 _ACEOF
105264 cat confdefs.h >>conftest.$ac_ext
105265 cat >>conftest.$ac_ext <<_ACEOF
105266 /* end confdefs.h. */
105267 #include <math.h>
105268 int
105269 main ()
105270 {
105271 __builtin_fabs(0);
105272 ;
105273 return 0;
105274 }
105275 _ACEOF
105276 rm -f conftest.$ac_objext conftest$ac_exeext
105277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105278 (eval $ac_link) 2>conftest.er1
105279 ac_status=$?
105280 grep -v '^ *+' conftest.er1 >conftest.err
105281 rm -f conftest.er1
105282 cat conftest.err >&5
105283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105284 (exit $ac_status); } &&
105285 { ac_try='test -z "$ac_c_werror_flag"
105286 || test ! -s conftest.err'
105287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105288 (eval $ac_try) 2>&5
105289 ac_status=$?
105290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105291 (exit $ac_status); }; } &&
105292 { ac_try='test -s conftest$ac_exeext'
105293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105294 (eval $ac_try) 2>&5
105295 ac_status=$?
105296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105297 (exit $ac_status); }; }; then
105298 glibcxx_cv_func___builtin_fabs_link=yes
105299 else
105300 echo "$as_me: failed program was:" >&5
105301 sed 's/^/| /' conftest.$ac_ext >&5
105302
105303 glibcxx_cv_func___builtin_fabs_link=no
105304 fi
105305 rm -f conftest.err conftest.$ac_objext \
105306 conftest$ac_exeext conftest.$ac_ext
105307
105308 fi
105309
105310 fi
105311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105312 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105313
105314 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105315
105316 cat >>confdefs.h <<\_ACEOF
105317 #define HAVE___BUILTIN_FABS 1
105318 _ACEOF
105319
105320 fi
105321
105322 fi
105323
105324
105325 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105326 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105327 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105328 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105329 echo $ECHO_N "(cached) $ECHO_C" >&6
105330 else
105331
105332
105333
105334 ac_ext=cc
105335 ac_cpp='$CXXCPP $CPPFLAGS'
105336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105339
105340 cat >conftest.$ac_ext <<_ACEOF
105341 /* confdefs.h. */
105342 _ACEOF
105343 cat confdefs.h >>conftest.$ac_ext
105344 cat >>conftest.$ac_ext <<_ACEOF
105345 /* end confdefs.h. */
105346 #include <math.h>
105347 int
105348 main ()
105349 {
105350 __builtin_fabsl(0);
105351 ;
105352 return 0;
105353 }
105354 _ACEOF
105355 rm -f conftest.$ac_objext
105356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105357 (eval $ac_compile) 2>conftest.er1
105358 ac_status=$?
105359 grep -v '^ *+' conftest.er1 >conftest.err
105360 rm -f conftest.er1
105361 cat conftest.err >&5
105362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105363 (exit $ac_status); } &&
105364 { ac_try='test -z "$ac_cxx_werror_flag"
105365 || test ! -s conftest.err'
105366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105367 (eval $ac_try) 2>&5
105368 ac_status=$?
105369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105370 (exit $ac_status); }; } &&
105371 { ac_try='test -s conftest.$ac_objext'
105372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105373 (eval $ac_try) 2>&5
105374 ac_status=$?
105375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105376 (exit $ac_status); }; }; then
105377 glibcxx_cv_func___builtin_fabsl_use=yes
105378 else
105379 echo "$as_me: failed program was:" >&5
105380 sed 's/^/| /' conftest.$ac_ext >&5
105381
105382 glibcxx_cv_func___builtin_fabsl_use=no
105383 fi
105384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105385 ac_ext=c
105386 ac_cpp='$CPP $CPPFLAGS'
105387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105390
105391
105392 fi
105393
105394 fi
105395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105396 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105397 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105398 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105399 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105400 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105401 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105402 echo $ECHO_N "(cached) $ECHO_C" >&6
105403 else
105404
105405 if test x$gcc_no_link = xyes; then
105406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105408 { (exit 1); exit 1; }; }
105409 fi
105410 cat >conftest.$ac_ext <<_ACEOF
105411 /* confdefs.h. */
105412 _ACEOF
105413 cat confdefs.h >>conftest.$ac_ext
105414 cat >>conftest.$ac_ext <<_ACEOF
105415 /* end confdefs.h. */
105416 #include <math.h>
105417 int
105418 main ()
105419 {
105420 __builtin_fabsl(0);
105421 ;
105422 return 0;
105423 }
105424 _ACEOF
105425 rm -f conftest.$ac_objext conftest$ac_exeext
105426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105427 (eval $ac_link) 2>conftest.er1
105428 ac_status=$?
105429 grep -v '^ *+' conftest.er1 >conftest.err
105430 rm -f conftest.er1
105431 cat conftest.err >&5
105432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105433 (exit $ac_status); } &&
105434 { ac_try='test -z "$ac_c_werror_flag"
105435 || test ! -s conftest.err'
105436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105437 (eval $ac_try) 2>&5
105438 ac_status=$?
105439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105440 (exit $ac_status); }; } &&
105441 { ac_try='test -s conftest$ac_exeext'
105442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105443 (eval $ac_try) 2>&5
105444 ac_status=$?
105445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105446 (exit $ac_status); }; }; then
105447 glibcxx_cv_func___builtin_fabsl_link=yes
105448 else
105449 echo "$as_me: failed program was:" >&5
105450 sed 's/^/| /' conftest.$ac_ext >&5
105451
105452 glibcxx_cv_func___builtin_fabsl_link=no
105453 fi
105454 rm -f conftest.err conftest.$ac_objext \
105455 conftest$ac_exeext conftest.$ac_ext
105456
105457 fi
105458
105459 fi
105460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105461 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105462
105463 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105464
105465 cat >>confdefs.h <<\_ACEOF
105466 #define HAVE___BUILTIN_FABSL 1
105467 _ACEOF
105468
105469 fi
105470
105471 fi
105472
105473
105474 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105475 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105476 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105477 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105478 echo $ECHO_N "(cached) $ECHO_C" >&6
105479 else
105480
105481
105482
105483 ac_ext=cc
105484 ac_cpp='$CXXCPP $CPPFLAGS'
105485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105488
105489 cat >conftest.$ac_ext <<_ACEOF
105490 /* confdefs.h. */
105491 _ACEOF
105492 cat confdefs.h >>conftest.$ac_ext
105493 cat >>conftest.$ac_ext <<_ACEOF
105494 /* end confdefs.h. */
105495 #include <math.h>
105496 int
105497 main ()
105498 {
105499 __builtin_labs(0);
105500 ;
105501 return 0;
105502 }
105503 _ACEOF
105504 rm -f conftest.$ac_objext
105505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105506 (eval $ac_compile) 2>conftest.er1
105507 ac_status=$?
105508 grep -v '^ *+' conftest.er1 >conftest.err
105509 rm -f conftest.er1
105510 cat conftest.err >&5
105511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105512 (exit $ac_status); } &&
105513 { ac_try='test -z "$ac_cxx_werror_flag"
105514 || test ! -s conftest.err'
105515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105516 (eval $ac_try) 2>&5
105517 ac_status=$?
105518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105519 (exit $ac_status); }; } &&
105520 { ac_try='test -s conftest.$ac_objext'
105521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105522 (eval $ac_try) 2>&5
105523 ac_status=$?
105524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105525 (exit $ac_status); }; }; then
105526 glibcxx_cv_func___builtin_labs_use=yes
105527 else
105528 echo "$as_me: failed program was:" >&5
105529 sed 's/^/| /' conftest.$ac_ext >&5
105530
105531 glibcxx_cv_func___builtin_labs_use=no
105532 fi
105533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105534 ac_ext=c
105535 ac_cpp='$CPP $CPPFLAGS'
105536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105539
105540
105541 fi
105542
105543 fi
105544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105545 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105546 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105547 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105548 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105549 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105550 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105551 echo $ECHO_N "(cached) $ECHO_C" >&6
105552 else
105553
105554 if test x$gcc_no_link = xyes; then
105555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105557 { (exit 1); exit 1; }; }
105558 fi
105559 cat >conftest.$ac_ext <<_ACEOF
105560 /* confdefs.h. */
105561 _ACEOF
105562 cat confdefs.h >>conftest.$ac_ext
105563 cat >>conftest.$ac_ext <<_ACEOF
105564 /* end confdefs.h. */
105565 #include <math.h>
105566 int
105567 main ()
105568 {
105569 __builtin_labs(0);
105570 ;
105571 return 0;
105572 }
105573 _ACEOF
105574 rm -f conftest.$ac_objext conftest$ac_exeext
105575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105576 (eval $ac_link) 2>conftest.er1
105577 ac_status=$?
105578 grep -v '^ *+' conftest.er1 >conftest.err
105579 rm -f conftest.er1
105580 cat conftest.err >&5
105581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105582 (exit $ac_status); } &&
105583 { ac_try='test -z "$ac_c_werror_flag"
105584 || test ! -s conftest.err'
105585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105586 (eval $ac_try) 2>&5
105587 ac_status=$?
105588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105589 (exit $ac_status); }; } &&
105590 { ac_try='test -s conftest$ac_exeext'
105591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105592 (eval $ac_try) 2>&5
105593 ac_status=$?
105594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105595 (exit $ac_status); }; }; then
105596 glibcxx_cv_func___builtin_labs_link=yes
105597 else
105598 echo "$as_me: failed program was:" >&5
105599 sed 's/^/| /' conftest.$ac_ext >&5
105600
105601 glibcxx_cv_func___builtin_labs_link=no
105602 fi
105603 rm -f conftest.err conftest.$ac_objext \
105604 conftest$ac_exeext conftest.$ac_ext
105605
105606 fi
105607
105608 fi
105609 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105610 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105611
105612 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105613
105614 cat >>confdefs.h <<\_ACEOF
105615 #define HAVE___BUILTIN_LABS 1
105616 _ACEOF
105617
105618 fi
105619
105620 fi
105621
105622
105623
105624 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105625 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105626 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105627 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105628 echo $ECHO_N "(cached) $ECHO_C" >&6
105629 else
105630
105631
105632
105633 ac_ext=cc
105634 ac_cpp='$CXXCPP $CPPFLAGS'
105635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105638
105639 cat >conftest.$ac_ext <<_ACEOF
105640 /* confdefs.h. */
105641 _ACEOF
105642 cat confdefs.h >>conftest.$ac_ext
105643 cat >>conftest.$ac_ext <<_ACEOF
105644 /* end confdefs.h. */
105645 #include <math.h>
105646 int
105647 main ()
105648 {
105649 __builtin_sqrtf(0);
105650 ;
105651 return 0;
105652 }
105653 _ACEOF
105654 rm -f conftest.$ac_objext
105655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105656 (eval $ac_compile) 2>conftest.er1
105657 ac_status=$?
105658 grep -v '^ *+' conftest.er1 >conftest.err
105659 rm -f conftest.er1
105660 cat conftest.err >&5
105661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105662 (exit $ac_status); } &&
105663 { ac_try='test -z "$ac_cxx_werror_flag"
105664 || test ! -s conftest.err'
105665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105666 (eval $ac_try) 2>&5
105667 ac_status=$?
105668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105669 (exit $ac_status); }; } &&
105670 { ac_try='test -s conftest.$ac_objext'
105671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105672 (eval $ac_try) 2>&5
105673 ac_status=$?
105674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105675 (exit $ac_status); }; }; then
105676 glibcxx_cv_func___builtin_sqrtf_use=yes
105677 else
105678 echo "$as_me: failed program was:" >&5
105679 sed 's/^/| /' conftest.$ac_ext >&5
105680
105681 glibcxx_cv_func___builtin_sqrtf_use=no
105682 fi
105683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105684 ac_ext=c
105685 ac_cpp='$CPP $CPPFLAGS'
105686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105689
105690
105691 fi
105692
105693 fi
105694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105695 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105696 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105697 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105698 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105699 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105700 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105701 echo $ECHO_N "(cached) $ECHO_C" >&6
105702 else
105703
105704 if test x$gcc_no_link = xyes; then
105705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105707 { (exit 1); exit 1; }; }
105708 fi
105709 cat >conftest.$ac_ext <<_ACEOF
105710 /* confdefs.h. */
105711 _ACEOF
105712 cat confdefs.h >>conftest.$ac_ext
105713 cat >>conftest.$ac_ext <<_ACEOF
105714 /* end confdefs.h. */
105715 #include <math.h>
105716 int
105717 main ()
105718 {
105719 __builtin_sqrtf(0);
105720 ;
105721 return 0;
105722 }
105723 _ACEOF
105724 rm -f conftest.$ac_objext conftest$ac_exeext
105725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105726 (eval $ac_link) 2>conftest.er1
105727 ac_status=$?
105728 grep -v '^ *+' conftest.er1 >conftest.err
105729 rm -f conftest.er1
105730 cat conftest.err >&5
105731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105732 (exit $ac_status); } &&
105733 { ac_try='test -z "$ac_c_werror_flag"
105734 || test ! -s conftest.err'
105735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105736 (eval $ac_try) 2>&5
105737 ac_status=$?
105738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105739 (exit $ac_status); }; } &&
105740 { ac_try='test -s conftest$ac_exeext'
105741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105742 (eval $ac_try) 2>&5
105743 ac_status=$?
105744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105745 (exit $ac_status); }; }; then
105746 glibcxx_cv_func___builtin_sqrtf_link=yes
105747 else
105748 echo "$as_me: failed program was:" >&5
105749 sed 's/^/| /' conftest.$ac_ext >&5
105750
105751 glibcxx_cv_func___builtin_sqrtf_link=no
105752 fi
105753 rm -f conftest.err conftest.$ac_objext \
105754 conftest$ac_exeext conftest.$ac_ext
105755
105756 fi
105757
105758 fi
105759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105760 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105761
105762 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105763
105764 cat >>confdefs.h <<\_ACEOF
105765 #define HAVE___BUILTIN_SQRTF 1
105766 _ACEOF
105767
105768 fi
105769
105770 fi
105771
105772
105773 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105774 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105775 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105776 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105777 echo $ECHO_N "(cached) $ECHO_C" >&6
105778 else
105779
105780
105781
105782 ac_ext=cc
105783 ac_cpp='$CXXCPP $CPPFLAGS'
105784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105787
105788 cat >conftest.$ac_ext <<_ACEOF
105789 /* confdefs.h. */
105790 _ACEOF
105791 cat confdefs.h >>conftest.$ac_ext
105792 cat >>conftest.$ac_ext <<_ACEOF
105793 /* end confdefs.h. */
105794 #include <math.h>
105795 int
105796 main ()
105797 {
105798 __builtin_sqrt(0);
105799 ;
105800 return 0;
105801 }
105802 _ACEOF
105803 rm -f conftest.$ac_objext
105804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105805 (eval $ac_compile) 2>conftest.er1
105806 ac_status=$?
105807 grep -v '^ *+' conftest.er1 >conftest.err
105808 rm -f conftest.er1
105809 cat conftest.err >&5
105810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105811 (exit $ac_status); } &&
105812 { ac_try='test -z "$ac_cxx_werror_flag"
105813 || test ! -s conftest.err'
105814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105815 (eval $ac_try) 2>&5
105816 ac_status=$?
105817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105818 (exit $ac_status); }; } &&
105819 { ac_try='test -s conftest.$ac_objext'
105820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105821 (eval $ac_try) 2>&5
105822 ac_status=$?
105823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105824 (exit $ac_status); }; }; then
105825 glibcxx_cv_func___builtin_sqrt_use=yes
105826 else
105827 echo "$as_me: failed program was:" >&5
105828 sed 's/^/| /' conftest.$ac_ext >&5
105829
105830 glibcxx_cv_func___builtin_sqrt_use=no
105831 fi
105832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105833 ac_ext=c
105834 ac_cpp='$CPP $CPPFLAGS'
105835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105838
105839
105840 fi
105841
105842 fi
105843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105844 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105845 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105846 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105847 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105848 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105849 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105850 echo $ECHO_N "(cached) $ECHO_C" >&6
105851 else
105852
105853 if test x$gcc_no_link = xyes; then
105854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105856 { (exit 1); exit 1; }; }
105857 fi
105858 cat >conftest.$ac_ext <<_ACEOF
105859 /* confdefs.h. */
105860 _ACEOF
105861 cat confdefs.h >>conftest.$ac_ext
105862 cat >>conftest.$ac_ext <<_ACEOF
105863 /* end confdefs.h. */
105864 #include <math.h>
105865 int
105866 main ()
105867 {
105868 __builtin_sqrt(0);
105869 ;
105870 return 0;
105871 }
105872 _ACEOF
105873 rm -f conftest.$ac_objext conftest$ac_exeext
105874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105875 (eval $ac_link) 2>conftest.er1
105876 ac_status=$?
105877 grep -v '^ *+' conftest.er1 >conftest.err
105878 rm -f conftest.er1
105879 cat conftest.err >&5
105880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105881 (exit $ac_status); } &&
105882 { ac_try='test -z "$ac_c_werror_flag"
105883 || test ! -s conftest.err'
105884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105885 (eval $ac_try) 2>&5
105886 ac_status=$?
105887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105888 (exit $ac_status); }; } &&
105889 { ac_try='test -s conftest$ac_exeext'
105890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105891 (eval $ac_try) 2>&5
105892 ac_status=$?
105893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105894 (exit $ac_status); }; }; then
105895 glibcxx_cv_func___builtin_sqrt_link=yes
105896 else
105897 echo "$as_me: failed program was:" >&5
105898 sed 's/^/| /' conftest.$ac_ext >&5
105899
105900 glibcxx_cv_func___builtin_sqrt_link=no
105901 fi
105902 rm -f conftest.err conftest.$ac_objext \
105903 conftest$ac_exeext conftest.$ac_ext
105904
105905 fi
105906
105907 fi
105908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105909 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105910
105911 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105912
105913 cat >>confdefs.h <<\_ACEOF
105914 #define HAVE___BUILTIN_SQRT 1
105915 _ACEOF
105916
105917 fi
105918
105919 fi
105920
105921
105922 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105923 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105924 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105925 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105926 echo $ECHO_N "(cached) $ECHO_C" >&6
105927 else
105928
105929
105930
105931 ac_ext=cc
105932 ac_cpp='$CXXCPP $CPPFLAGS'
105933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105936
105937 cat >conftest.$ac_ext <<_ACEOF
105938 /* confdefs.h. */
105939 _ACEOF
105940 cat confdefs.h >>conftest.$ac_ext
105941 cat >>conftest.$ac_ext <<_ACEOF
105942 /* end confdefs.h. */
105943 #include <math.h>
105944 int
105945 main ()
105946 {
105947 __builtin_sqrtl(0);
105948 ;
105949 return 0;
105950 }
105951 _ACEOF
105952 rm -f conftest.$ac_objext
105953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105954 (eval $ac_compile) 2>conftest.er1
105955 ac_status=$?
105956 grep -v '^ *+' conftest.er1 >conftest.err
105957 rm -f conftest.er1
105958 cat conftest.err >&5
105959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105960 (exit $ac_status); } &&
105961 { ac_try='test -z "$ac_cxx_werror_flag"
105962 || test ! -s conftest.err'
105963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105964 (eval $ac_try) 2>&5
105965 ac_status=$?
105966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105967 (exit $ac_status); }; } &&
105968 { ac_try='test -s conftest.$ac_objext'
105969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105970 (eval $ac_try) 2>&5
105971 ac_status=$?
105972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105973 (exit $ac_status); }; }; then
105974 glibcxx_cv_func___builtin_sqrtl_use=yes
105975 else
105976 echo "$as_me: failed program was:" >&5
105977 sed 's/^/| /' conftest.$ac_ext >&5
105978
105979 glibcxx_cv_func___builtin_sqrtl_use=no
105980 fi
105981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105982 ac_ext=c
105983 ac_cpp='$CPP $CPPFLAGS'
105984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105987
105988
105989 fi
105990
105991 fi
105992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
105993 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
105994 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
105995 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
105996 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
105997 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
105998 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
105999 echo $ECHO_N "(cached) $ECHO_C" >&6
106000 else
106001
106002 if test x$gcc_no_link = xyes; then
106003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106005 { (exit 1); exit 1; }; }
106006 fi
106007 cat >conftest.$ac_ext <<_ACEOF
106008 /* confdefs.h. */
106009 _ACEOF
106010 cat confdefs.h >>conftest.$ac_ext
106011 cat >>conftest.$ac_ext <<_ACEOF
106012 /* end confdefs.h. */
106013 #include <math.h>
106014 int
106015 main ()
106016 {
106017 __builtin_sqrtl(0);
106018 ;
106019 return 0;
106020 }
106021 _ACEOF
106022 rm -f conftest.$ac_objext conftest$ac_exeext
106023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106024 (eval $ac_link) 2>conftest.er1
106025 ac_status=$?
106026 grep -v '^ *+' conftest.er1 >conftest.err
106027 rm -f conftest.er1
106028 cat conftest.err >&5
106029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106030 (exit $ac_status); } &&
106031 { ac_try='test -z "$ac_c_werror_flag"
106032 || test ! -s conftest.err'
106033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106034 (eval $ac_try) 2>&5
106035 ac_status=$?
106036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106037 (exit $ac_status); }; } &&
106038 { ac_try='test -s conftest$ac_exeext'
106039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106040 (eval $ac_try) 2>&5
106041 ac_status=$?
106042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106043 (exit $ac_status); }; }; then
106044 glibcxx_cv_func___builtin_sqrtl_link=yes
106045 else
106046 echo "$as_me: failed program was:" >&5
106047 sed 's/^/| /' conftest.$ac_ext >&5
106048
106049 glibcxx_cv_func___builtin_sqrtl_link=no
106050 fi
106051 rm -f conftest.err conftest.$ac_objext \
106052 conftest$ac_exeext conftest.$ac_ext
106053
106054 fi
106055
106056 fi
106057 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106058 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106059
106060 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106061
106062 cat >>confdefs.h <<\_ACEOF
106063 #define HAVE___BUILTIN_SQRTL 1
106064 _ACEOF
106065
106066 fi
106067
106068 fi
106069
106070
106071
106072 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106073 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106074 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106075 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106076 echo $ECHO_N "(cached) $ECHO_C" >&6
106077 else
106078
106079
106080
106081 ac_ext=cc
106082 ac_cpp='$CXXCPP $CPPFLAGS'
106083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106086
106087 cat >conftest.$ac_ext <<_ACEOF
106088 /* confdefs.h. */
106089 _ACEOF
106090 cat confdefs.h >>conftest.$ac_ext
106091 cat >>conftest.$ac_ext <<_ACEOF
106092 /* end confdefs.h. */
106093 #include <math.h>
106094 int
106095 main ()
106096 {
106097 __builtin_sinf(0);
106098 ;
106099 return 0;
106100 }
106101 _ACEOF
106102 rm -f conftest.$ac_objext
106103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106104 (eval $ac_compile) 2>conftest.er1
106105 ac_status=$?
106106 grep -v '^ *+' conftest.er1 >conftest.err
106107 rm -f conftest.er1
106108 cat conftest.err >&5
106109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106110 (exit $ac_status); } &&
106111 { ac_try='test -z "$ac_cxx_werror_flag"
106112 || test ! -s conftest.err'
106113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106114 (eval $ac_try) 2>&5
106115 ac_status=$?
106116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106117 (exit $ac_status); }; } &&
106118 { ac_try='test -s conftest.$ac_objext'
106119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106120 (eval $ac_try) 2>&5
106121 ac_status=$?
106122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106123 (exit $ac_status); }; }; then
106124 glibcxx_cv_func___builtin_sinf_use=yes
106125 else
106126 echo "$as_me: failed program was:" >&5
106127 sed 's/^/| /' conftest.$ac_ext >&5
106128
106129 glibcxx_cv_func___builtin_sinf_use=no
106130 fi
106131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106132 ac_ext=c
106133 ac_cpp='$CPP $CPPFLAGS'
106134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106137
106138
106139 fi
106140
106141 fi
106142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106143 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106144 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106145 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106146 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106147 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106148 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106149 echo $ECHO_N "(cached) $ECHO_C" >&6
106150 else
106151
106152 if test x$gcc_no_link = xyes; then
106153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106155 { (exit 1); exit 1; }; }
106156 fi
106157 cat >conftest.$ac_ext <<_ACEOF
106158 /* confdefs.h. */
106159 _ACEOF
106160 cat confdefs.h >>conftest.$ac_ext
106161 cat >>conftest.$ac_ext <<_ACEOF
106162 /* end confdefs.h. */
106163 #include <math.h>
106164 int
106165 main ()
106166 {
106167 __builtin_sinf(0);
106168 ;
106169 return 0;
106170 }
106171 _ACEOF
106172 rm -f conftest.$ac_objext conftest$ac_exeext
106173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106174 (eval $ac_link) 2>conftest.er1
106175 ac_status=$?
106176 grep -v '^ *+' conftest.er1 >conftest.err
106177 rm -f conftest.er1
106178 cat conftest.err >&5
106179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106180 (exit $ac_status); } &&
106181 { ac_try='test -z "$ac_c_werror_flag"
106182 || test ! -s conftest.err'
106183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106184 (eval $ac_try) 2>&5
106185 ac_status=$?
106186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106187 (exit $ac_status); }; } &&
106188 { ac_try='test -s conftest$ac_exeext'
106189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106190 (eval $ac_try) 2>&5
106191 ac_status=$?
106192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106193 (exit $ac_status); }; }; then
106194 glibcxx_cv_func___builtin_sinf_link=yes
106195 else
106196 echo "$as_me: failed program was:" >&5
106197 sed 's/^/| /' conftest.$ac_ext >&5
106198
106199 glibcxx_cv_func___builtin_sinf_link=no
106200 fi
106201 rm -f conftest.err conftest.$ac_objext \
106202 conftest$ac_exeext conftest.$ac_ext
106203
106204 fi
106205
106206 fi
106207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106208 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106209
106210 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106211
106212 cat >>confdefs.h <<\_ACEOF
106213 #define HAVE___BUILTIN_SINF 1
106214 _ACEOF
106215
106216 fi
106217
106218 fi
106219
106220
106221 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106222 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106223 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106224 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106225 echo $ECHO_N "(cached) $ECHO_C" >&6
106226 else
106227
106228
106229
106230 ac_ext=cc
106231 ac_cpp='$CXXCPP $CPPFLAGS'
106232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106235
106236 cat >conftest.$ac_ext <<_ACEOF
106237 /* confdefs.h. */
106238 _ACEOF
106239 cat confdefs.h >>conftest.$ac_ext
106240 cat >>conftest.$ac_ext <<_ACEOF
106241 /* end confdefs.h. */
106242 #include <math.h>
106243 int
106244 main ()
106245 {
106246 __builtin_sin(0);
106247 ;
106248 return 0;
106249 }
106250 _ACEOF
106251 rm -f conftest.$ac_objext
106252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106253 (eval $ac_compile) 2>conftest.er1
106254 ac_status=$?
106255 grep -v '^ *+' conftest.er1 >conftest.err
106256 rm -f conftest.er1
106257 cat conftest.err >&5
106258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106259 (exit $ac_status); } &&
106260 { ac_try='test -z "$ac_cxx_werror_flag"
106261 || test ! -s conftest.err'
106262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106263 (eval $ac_try) 2>&5
106264 ac_status=$?
106265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106266 (exit $ac_status); }; } &&
106267 { ac_try='test -s conftest.$ac_objext'
106268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106269 (eval $ac_try) 2>&5
106270 ac_status=$?
106271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106272 (exit $ac_status); }; }; then
106273 glibcxx_cv_func___builtin_sin_use=yes
106274 else
106275 echo "$as_me: failed program was:" >&5
106276 sed 's/^/| /' conftest.$ac_ext >&5
106277
106278 glibcxx_cv_func___builtin_sin_use=no
106279 fi
106280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106281 ac_ext=c
106282 ac_cpp='$CPP $CPPFLAGS'
106283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106286
106287
106288 fi
106289
106290 fi
106291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106292 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106293 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106294 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106295 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106296 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106297 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106298 echo $ECHO_N "(cached) $ECHO_C" >&6
106299 else
106300
106301 if test x$gcc_no_link = xyes; then
106302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106304 { (exit 1); exit 1; }; }
106305 fi
106306 cat >conftest.$ac_ext <<_ACEOF
106307 /* confdefs.h. */
106308 _ACEOF
106309 cat confdefs.h >>conftest.$ac_ext
106310 cat >>conftest.$ac_ext <<_ACEOF
106311 /* end confdefs.h. */
106312 #include <math.h>
106313 int
106314 main ()
106315 {
106316 __builtin_sin(0);
106317 ;
106318 return 0;
106319 }
106320 _ACEOF
106321 rm -f conftest.$ac_objext conftest$ac_exeext
106322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106323 (eval $ac_link) 2>conftest.er1
106324 ac_status=$?
106325 grep -v '^ *+' conftest.er1 >conftest.err
106326 rm -f conftest.er1
106327 cat conftest.err >&5
106328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106329 (exit $ac_status); } &&
106330 { ac_try='test -z "$ac_c_werror_flag"
106331 || test ! -s conftest.err'
106332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106333 (eval $ac_try) 2>&5
106334 ac_status=$?
106335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106336 (exit $ac_status); }; } &&
106337 { ac_try='test -s conftest$ac_exeext'
106338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106339 (eval $ac_try) 2>&5
106340 ac_status=$?
106341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106342 (exit $ac_status); }; }; then
106343 glibcxx_cv_func___builtin_sin_link=yes
106344 else
106345 echo "$as_me: failed program was:" >&5
106346 sed 's/^/| /' conftest.$ac_ext >&5
106347
106348 glibcxx_cv_func___builtin_sin_link=no
106349 fi
106350 rm -f conftest.err conftest.$ac_objext \
106351 conftest$ac_exeext conftest.$ac_ext
106352
106353 fi
106354
106355 fi
106356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106358
106359 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106360
106361 cat >>confdefs.h <<\_ACEOF
106362 #define HAVE___BUILTIN_SIN 1
106363 _ACEOF
106364
106365 fi
106366
106367 fi
106368
106369
106370 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106371 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106372 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106373 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106374 echo $ECHO_N "(cached) $ECHO_C" >&6
106375 else
106376
106377
106378
106379 ac_ext=cc
106380 ac_cpp='$CXXCPP $CPPFLAGS'
106381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106384
106385 cat >conftest.$ac_ext <<_ACEOF
106386 /* confdefs.h. */
106387 _ACEOF
106388 cat confdefs.h >>conftest.$ac_ext
106389 cat >>conftest.$ac_ext <<_ACEOF
106390 /* end confdefs.h. */
106391 #include <math.h>
106392 int
106393 main ()
106394 {
106395 __builtin_sinl(0);
106396 ;
106397 return 0;
106398 }
106399 _ACEOF
106400 rm -f conftest.$ac_objext
106401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106402 (eval $ac_compile) 2>conftest.er1
106403 ac_status=$?
106404 grep -v '^ *+' conftest.er1 >conftest.err
106405 rm -f conftest.er1
106406 cat conftest.err >&5
106407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106408 (exit $ac_status); } &&
106409 { ac_try='test -z "$ac_cxx_werror_flag"
106410 || test ! -s conftest.err'
106411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106412 (eval $ac_try) 2>&5
106413 ac_status=$?
106414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106415 (exit $ac_status); }; } &&
106416 { ac_try='test -s conftest.$ac_objext'
106417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106418 (eval $ac_try) 2>&5
106419 ac_status=$?
106420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106421 (exit $ac_status); }; }; then
106422 glibcxx_cv_func___builtin_sinl_use=yes
106423 else
106424 echo "$as_me: failed program was:" >&5
106425 sed 's/^/| /' conftest.$ac_ext >&5
106426
106427 glibcxx_cv_func___builtin_sinl_use=no
106428 fi
106429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106430 ac_ext=c
106431 ac_cpp='$CPP $CPPFLAGS'
106432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106435
106436
106437 fi
106438
106439 fi
106440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106441 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106442 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106443 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106444 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106445 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106446 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106447 echo $ECHO_N "(cached) $ECHO_C" >&6
106448 else
106449
106450 if test x$gcc_no_link = xyes; then
106451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106453 { (exit 1); exit 1; }; }
106454 fi
106455 cat >conftest.$ac_ext <<_ACEOF
106456 /* confdefs.h. */
106457 _ACEOF
106458 cat confdefs.h >>conftest.$ac_ext
106459 cat >>conftest.$ac_ext <<_ACEOF
106460 /* end confdefs.h. */
106461 #include <math.h>
106462 int
106463 main ()
106464 {
106465 __builtin_sinl(0);
106466 ;
106467 return 0;
106468 }
106469 _ACEOF
106470 rm -f conftest.$ac_objext conftest$ac_exeext
106471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106472 (eval $ac_link) 2>conftest.er1
106473 ac_status=$?
106474 grep -v '^ *+' conftest.er1 >conftest.err
106475 rm -f conftest.er1
106476 cat conftest.err >&5
106477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106478 (exit $ac_status); } &&
106479 { ac_try='test -z "$ac_c_werror_flag"
106480 || test ! -s conftest.err'
106481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106482 (eval $ac_try) 2>&5
106483 ac_status=$?
106484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106485 (exit $ac_status); }; } &&
106486 { ac_try='test -s conftest$ac_exeext'
106487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106488 (eval $ac_try) 2>&5
106489 ac_status=$?
106490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106491 (exit $ac_status); }; }; then
106492 glibcxx_cv_func___builtin_sinl_link=yes
106493 else
106494 echo "$as_me: failed program was:" >&5
106495 sed 's/^/| /' conftest.$ac_ext >&5
106496
106497 glibcxx_cv_func___builtin_sinl_link=no
106498 fi
106499 rm -f conftest.err conftest.$ac_objext \
106500 conftest$ac_exeext conftest.$ac_ext
106501
106502 fi
106503
106504 fi
106505 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106506 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106507
106508 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106509
106510 cat >>confdefs.h <<\_ACEOF
106511 #define HAVE___BUILTIN_SINL 1
106512 _ACEOF
106513
106514 fi
106515
106516 fi
106517
106518
106519
106520 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106521 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106522 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106523 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106524 echo $ECHO_N "(cached) $ECHO_C" >&6
106525 else
106526
106527
106528
106529 ac_ext=cc
106530 ac_cpp='$CXXCPP $CPPFLAGS'
106531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106534
106535 cat >conftest.$ac_ext <<_ACEOF
106536 /* confdefs.h. */
106537 _ACEOF
106538 cat confdefs.h >>conftest.$ac_ext
106539 cat >>conftest.$ac_ext <<_ACEOF
106540 /* end confdefs.h. */
106541 #include <math.h>
106542 int
106543 main ()
106544 {
106545 __builtin_cosf(0);
106546 ;
106547 return 0;
106548 }
106549 _ACEOF
106550 rm -f conftest.$ac_objext
106551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106552 (eval $ac_compile) 2>conftest.er1
106553 ac_status=$?
106554 grep -v '^ *+' conftest.er1 >conftest.err
106555 rm -f conftest.er1
106556 cat conftest.err >&5
106557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106558 (exit $ac_status); } &&
106559 { ac_try='test -z "$ac_cxx_werror_flag"
106560 || test ! -s conftest.err'
106561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106562 (eval $ac_try) 2>&5
106563 ac_status=$?
106564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106565 (exit $ac_status); }; } &&
106566 { ac_try='test -s conftest.$ac_objext'
106567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106568 (eval $ac_try) 2>&5
106569 ac_status=$?
106570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106571 (exit $ac_status); }; }; then
106572 glibcxx_cv_func___builtin_cosf_use=yes
106573 else
106574 echo "$as_me: failed program was:" >&5
106575 sed 's/^/| /' conftest.$ac_ext >&5
106576
106577 glibcxx_cv_func___builtin_cosf_use=no
106578 fi
106579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106580 ac_ext=c
106581 ac_cpp='$CPP $CPPFLAGS'
106582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106585
106586
106587 fi
106588
106589 fi
106590 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106591 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106592 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106593 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106594 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106595 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106596 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106597 echo $ECHO_N "(cached) $ECHO_C" >&6
106598 else
106599
106600 if test x$gcc_no_link = xyes; then
106601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106603 { (exit 1); exit 1; }; }
106604 fi
106605 cat >conftest.$ac_ext <<_ACEOF
106606 /* confdefs.h. */
106607 _ACEOF
106608 cat confdefs.h >>conftest.$ac_ext
106609 cat >>conftest.$ac_ext <<_ACEOF
106610 /* end confdefs.h. */
106611 #include <math.h>
106612 int
106613 main ()
106614 {
106615 __builtin_cosf(0);
106616 ;
106617 return 0;
106618 }
106619 _ACEOF
106620 rm -f conftest.$ac_objext conftest$ac_exeext
106621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106622 (eval $ac_link) 2>conftest.er1
106623 ac_status=$?
106624 grep -v '^ *+' conftest.er1 >conftest.err
106625 rm -f conftest.er1
106626 cat conftest.err >&5
106627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106628 (exit $ac_status); } &&
106629 { ac_try='test -z "$ac_c_werror_flag"
106630 || test ! -s conftest.err'
106631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106632 (eval $ac_try) 2>&5
106633 ac_status=$?
106634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106635 (exit $ac_status); }; } &&
106636 { ac_try='test -s conftest$ac_exeext'
106637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106638 (eval $ac_try) 2>&5
106639 ac_status=$?
106640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106641 (exit $ac_status); }; }; then
106642 glibcxx_cv_func___builtin_cosf_link=yes
106643 else
106644 echo "$as_me: failed program was:" >&5
106645 sed 's/^/| /' conftest.$ac_ext >&5
106646
106647 glibcxx_cv_func___builtin_cosf_link=no
106648 fi
106649 rm -f conftest.err conftest.$ac_objext \
106650 conftest$ac_exeext conftest.$ac_ext
106651
106652 fi
106653
106654 fi
106655 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106656 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106657
106658 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106659
106660 cat >>confdefs.h <<\_ACEOF
106661 #define HAVE___BUILTIN_COSF 1
106662 _ACEOF
106663
106664 fi
106665
106666 fi
106667
106668
106669 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106670 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106671 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106672 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106673 echo $ECHO_N "(cached) $ECHO_C" >&6
106674 else
106675
106676
106677
106678 ac_ext=cc
106679 ac_cpp='$CXXCPP $CPPFLAGS'
106680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106683
106684 cat >conftest.$ac_ext <<_ACEOF
106685 /* confdefs.h. */
106686 _ACEOF
106687 cat confdefs.h >>conftest.$ac_ext
106688 cat >>conftest.$ac_ext <<_ACEOF
106689 /* end confdefs.h. */
106690 #include <math.h>
106691 int
106692 main ()
106693 {
106694 __builtin_cos(0);
106695 ;
106696 return 0;
106697 }
106698 _ACEOF
106699 rm -f conftest.$ac_objext
106700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106701 (eval $ac_compile) 2>conftest.er1
106702 ac_status=$?
106703 grep -v '^ *+' conftest.er1 >conftest.err
106704 rm -f conftest.er1
106705 cat conftest.err >&5
106706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106707 (exit $ac_status); } &&
106708 { ac_try='test -z "$ac_cxx_werror_flag"
106709 || test ! -s conftest.err'
106710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106711 (eval $ac_try) 2>&5
106712 ac_status=$?
106713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106714 (exit $ac_status); }; } &&
106715 { ac_try='test -s conftest.$ac_objext'
106716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106717 (eval $ac_try) 2>&5
106718 ac_status=$?
106719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106720 (exit $ac_status); }; }; then
106721 glibcxx_cv_func___builtin_cos_use=yes
106722 else
106723 echo "$as_me: failed program was:" >&5
106724 sed 's/^/| /' conftest.$ac_ext >&5
106725
106726 glibcxx_cv_func___builtin_cos_use=no
106727 fi
106728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106729 ac_ext=c
106730 ac_cpp='$CPP $CPPFLAGS'
106731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106734
106735
106736 fi
106737
106738 fi
106739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106740 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106741 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106742 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106743 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106744 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106745 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106746 echo $ECHO_N "(cached) $ECHO_C" >&6
106747 else
106748
106749 if test x$gcc_no_link = xyes; then
106750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106752 { (exit 1); exit 1; }; }
106753 fi
106754 cat >conftest.$ac_ext <<_ACEOF
106755 /* confdefs.h. */
106756 _ACEOF
106757 cat confdefs.h >>conftest.$ac_ext
106758 cat >>conftest.$ac_ext <<_ACEOF
106759 /* end confdefs.h. */
106760 #include <math.h>
106761 int
106762 main ()
106763 {
106764 __builtin_cos(0);
106765 ;
106766 return 0;
106767 }
106768 _ACEOF
106769 rm -f conftest.$ac_objext conftest$ac_exeext
106770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106771 (eval $ac_link) 2>conftest.er1
106772 ac_status=$?
106773 grep -v '^ *+' conftest.er1 >conftest.err
106774 rm -f conftest.er1
106775 cat conftest.err >&5
106776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106777 (exit $ac_status); } &&
106778 { ac_try='test -z "$ac_c_werror_flag"
106779 || test ! -s conftest.err'
106780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106781 (eval $ac_try) 2>&5
106782 ac_status=$?
106783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106784 (exit $ac_status); }; } &&
106785 { ac_try='test -s conftest$ac_exeext'
106786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106787 (eval $ac_try) 2>&5
106788 ac_status=$?
106789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106790 (exit $ac_status); }; }; then
106791 glibcxx_cv_func___builtin_cos_link=yes
106792 else
106793 echo "$as_me: failed program was:" >&5
106794 sed 's/^/| /' conftest.$ac_ext >&5
106795
106796 glibcxx_cv_func___builtin_cos_link=no
106797 fi
106798 rm -f conftest.err conftest.$ac_objext \
106799 conftest$ac_exeext conftest.$ac_ext
106800
106801 fi
106802
106803 fi
106804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106805 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106806
106807 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106808
106809 cat >>confdefs.h <<\_ACEOF
106810 #define HAVE___BUILTIN_COS 1
106811 _ACEOF
106812
106813 fi
106814
106815 fi
106816
106817
106818 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106819 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106820 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106821 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106822 echo $ECHO_N "(cached) $ECHO_C" >&6
106823 else
106824
106825
106826
106827 ac_ext=cc
106828 ac_cpp='$CXXCPP $CPPFLAGS'
106829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106832
106833 cat >conftest.$ac_ext <<_ACEOF
106834 /* confdefs.h. */
106835 _ACEOF
106836 cat confdefs.h >>conftest.$ac_ext
106837 cat >>conftest.$ac_ext <<_ACEOF
106838 /* end confdefs.h. */
106839 #include <math.h>
106840 int
106841 main ()
106842 {
106843 __builtin_cosl(0);
106844 ;
106845 return 0;
106846 }
106847 _ACEOF
106848 rm -f conftest.$ac_objext
106849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106850 (eval $ac_compile) 2>conftest.er1
106851 ac_status=$?
106852 grep -v '^ *+' conftest.er1 >conftest.err
106853 rm -f conftest.er1
106854 cat conftest.err >&5
106855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106856 (exit $ac_status); } &&
106857 { ac_try='test -z "$ac_cxx_werror_flag"
106858 || test ! -s conftest.err'
106859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106860 (eval $ac_try) 2>&5
106861 ac_status=$?
106862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106863 (exit $ac_status); }; } &&
106864 { ac_try='test -s conftest.$ac_objext'
106865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106866 (eval $ac_try) 2>&5
106867 ac_status=$?
106868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106869 (exit $ac_status); }; }; then
106870 glibcxx_cv_func___builtin_cosl_use=yes
106871 else
106872 echo "$as_me: failed program was:" >&5
106873 sed 's/^/| /' conftest.$ac_ext >&5
106874
106875 glibcxx_cv_func___builtin_cosl_use=no
106876 fi
106877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106878 ac_ext=c
106879 ac_cpp='$CPP $CPPFLAGS'
106880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106883
106884
106885 fi
106886
106887 fi
106888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106889 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106890 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106891 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106892 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106893 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106894 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106895 echo $ECHO_N "(cached) $ECHO_C" >&6
106896 else
106897
106898 if test x$gcc_no_link = xyes; then
106899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106901 { (exit 1); exit 1; }; }
106902 fi
106903 cat >conftest.$ac_ext <<_ACEOF
106904 /* confdefs.h. */
106905 _ACEOF
106906 cat confdefs.h >>conftest.$ac_ext
106907 cat >>conftest.$ac_ext <<_ACEOF
106908 /* end confdefs.h. */
106909 #include <math.h>
106910 int
106911 main ()
106912 {
106913 __builtin_cosl(0);
106914 ;
106915 return 0;
106916 }
106917 _ACEOF
106918 rm -f conftest.$ac_objext conftest$ac_exeext
106919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106920 (eval $ac_link) 2>conftest.er1
106921 ac_status=$?
106922 grep -v '^ *+' conftest.er1 >conftest.err
106923 rm -f conftest.er1
106924 cat conftest.err >&5
106925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106926 (exit $ac_status); } &&
106927 { ac_try='test -z "$ac_c_werror_flag"
106928 || test ! -s conftest.err'
106929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106930 (eval $ac_try) 2>&5
106931 ac_status=$?
106932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106933 (exit $ac_status); }; } &&
106934 { ac_try='test -s conftest$ac_exeext'
106935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106936 (eval $ac_try) 2>&5
106937 ac_status=$?
106938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106939 (exit $ac_status); }; }; then
106940 glibcxx_cv_func___builtin_cosl_link=yes
106941 else
106942 echo "$as_me: failed program was:" >&5
106943 sed 's/^/| /' conftest.$ac_ext >&5
106944
106945 glibcxx_cv_func___builtin_cosl_link=no
106946 fi
106947 rm -f conftest.err conftest.$ac_objext \
106948 conftest$ac_exeext conftest.$ac_ext
106949
106950 fi
106951
106952 fi
106953 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106954 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106955
106956 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106957
106958 cat >>confdefs.h <<\_ACEOF
106959 #define HAVE___BUILTIN_COSL 1
106960 _ACEOF
106961
106962 fi
106963
106964 fi
106965
106966
106967
106968
106969 echo "$as_me:$LINENO: checking for main in -lm" >&5
106970 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106971 if test "${ac_cv_lib_m_main+set}" = set; then
106972 echo $ECHO_N "(cached) $ECHO_C" >&6
106973 else
106974 ac_check_lib_save_LIBS=$LIBS
106975 LIBS="-lm $LIBS"
106976 if test x$gcc_no_link = xyes; then
106977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106979 { (exit 1); exit 1; }; }
106980 fi
106981 cat >conftest.$ac_ext <<_ACEOF
106982 /* confdefs.h. */
106983 _ACEOF
106984 cat confdefs.h >>conftest.$ac_ext
106985 cat >>conftest.$ac_ext <<_ACEOF
106986 /* end confdefs.h. */
106987
106988
106989 int
106990 main ()
106991 {
106992 main ();
106993 ;
106994 return 0;
106995 }
106996 _ACEOF
106997 rm -f conftest.$ac_objext conftest$ac_exeext
106998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106999 (eval $ac_link) 2>conftest.er1
107000 ac_status=$?
107001 grep -v '^ *+' conftest.er1 >conftest.err
107002 rm -f conftest.er1
107003 cat conftest.err >&5
107004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107005 (exit $ac_status); } &&
107006 { ac_try='test -z "$ac_c_werror_flag"
107007 || test ! -s conftest.err'
107008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107009 (eval $ac_try) 2>&5
107010 ac_status=$?
107011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107012 (exit $ac_status); }; } &&
107013 { ac_try='test -s conftest$ac_exeext'
107014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107015 (eval $ac_try) 2>&5
107016 ac_status=$?
107017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107018 (exit $ac_status); }; }; then
107019 ac_cv_lib_m_main=yes
107020 else
107021 echo "$as_me: failed program was:" >&5
107022 sed 's/^/| /' conftest.$ac_ext >&5
107023
107024 ac_cv_lib_m_main=no
107025 fi
107026 rm -f conftest.err conftest.$ac_objext \
107027 conftest$ac_exeext conftest.$ac_ext
107028 LIBS=$ac_check_lib_save_LIBS
107029 fi
107030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107031 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107032 if test $ac_cv_lib_m_main = yes; then
107033 cat >>confdefs.h <<_ACEOF
107034 #define HAVE_LIBM 1
107035 _ACEOF
107036
107037 LIBS="-lm $LIBS"
107038
107039 fi
107040
107041
107042 for ac_func in copysignf
107043 do
107044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107045 echo "$as_me:$LINENO: checking for $ac_func" >&5
107046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107047 if eval "test \"\${$as_ac_var+set}\" = set"; then
107048 echo $ECHO_N "(cached) $ECHO_C" >&6
107049 else
107050 if test x$gcc_no_link = xyes; then
107051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107053 { (exit 1); exit 1; }; }
107054 fi
107055 cat >conftest.$ac_ext <<_ACEOF
107056 /* confdefs.h. */
107057 _ACEOF
107058 cat confdefs.h >>conftest.$ac_ext
107059 cat >>conftest.$ac_ext <<_ACEOF
107060 /* end confdefs.h. */
107061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107063 #define $ac_func innocuous_$ac_func
107064
107065 /* System header to define __stub macros and hopefully few prototypes,
107066 which can conflict with char $ac_func (); below.
107067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107068 <limits.h> exists even on freestanding compilers. */
107069
107070 #ifdef __STDC__
107071 # include <limits.h>
107072 #else
107073 # include <assert.h>
107074 #endif
107075
107076 #undef $ac_func
107077
107078 /* Override any gcc2 internal prototype to avoid an error. */
107079 #ifdef __cplusplus
107080 extern "C"
107081 {
107082 #endif
107083 /* We use char because int might match the return type of a gcc2
107084 builtin and then its argument prototype would still apply. */
107085 char $ac_func ();
107086 /* The GNU C library defines this for functions which it implements
107087 to always fail with ENOSYS. Some functions are actually named
107088 something starting with __ and the normal name is an alias. */
107089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107090 choke me
107091 #else
107092 char (*f) () = $ac_func;
107093 #endif
107094 #ifdef __cplusplus
107095 }
107096 #endif
107097
107098 int
107099 main ()
107100 {
107101 return f != $ac_func;
107102 ;
107103 return 0;
107104 }
107105 _ACEOF
107106 rm -f conftest.$ac_objext conftest$ac_exeext
107107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107108 (eval $ac_link) 2>conftest.er1
107109 ac_status=$?
107110 grep -v '^ *+' conftest.er1 >conftest.err
107111 rm -f conftest.er1
107112 cat conftest.err >&5
107113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107114 (exit $ac_status); } &&
107115 { ac_try='test -z "$ac_c_werror_flag"
107116 || test ! -s conftest.err'
107117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107118 (eval $ac_try) 2>&5
107119 ac_status=$?
107120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107121 (exit $ac_status); }; } &&
107122 { ac_try='test -s conftest$ac_exeext'
107123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107124 (eval $ac_try) 2>&5
107125 ac_status=$?
107126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107127 (exit $ac_status); }; }; then
107128 eval "$as_ac_var=yes"
107129 else
107130 echo "$as_me: failed program was:" >&5
107131 sed 's/^/| /' conftest.$ac_ext >&5
107132
107133 eval "$as_ac_var=no"
107134 fi
107135 rm -f conftest.err conftest.$ac_objext \
107136 conftest$ac_exeext conftest.$ac_ext
107137 fi
107138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107140 if test `eval echo '${'$as_ac_var'}'` = yes; then
107141 cat >>confdefs.h <<_ACEOF
107142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107143 _ACEOF
107144
107145 else
107146 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107147 fi
107148 done
107149
107150
107151
107152 for ac_func in __signbit
107153 do
107154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107155 echo "$as_me:$LINENO: checking for $ac_func" >&5
107156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107157 if eval "test \"\${$as_ac_var+set}\" = set"; then
107158 echo $ECHO_N "(cached) $ECHO_C" >&6
107159 else
107160 if test x$gcc_no_link = xyes; then
107161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107163 { (exit 1); exit 1; }; }
107164 fi
107165 cat >conftest.$ac_ext <<_ACEOF
107166 /* confdefs.h. */
107167 _ACEOF
107168 cat confdefs.h >>conftest.$ac_ext
107169 cat >>conftest.$ac_ext <<_ACEOF
107170 /* end confdefs.h. */
107171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107173 #define $ac_func innocuous_$ac_func
107174
107175 /* System header to define __stub macros and hopefully few prototypes,
107176 which can conflict with char $ac_func (); below.
107177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107178 <limits.h> exists even on freestanding compilers. */
107179
107180 #ifdef __STDC__
107181 # include <limits.h>
107182 #else
107183 # include <assert.h>
107184 #endif
107185
107186 #undef $ac_func
107187
107188 /* Override any gcc2 internal prototype to avoid an error. */
107189 #ifdef __cplusplus
107190 extern "C"
107191 {
107192 #endif
107193 /* We use char because int might match the return type of a gcc2
107194 builtin and then its argument prototype would still apply. */
107195 char $ac_func ();
107196 /* The GNU C library defines this for functions which it implements
107197 to always fail with ENOSYS. Some functions are actually named
107198 something starting with __ and the normal name is an alias. */
107199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107200 choke me
107201 #else
107202 char (*f) () = $ac_func;
107203 #endif
107204 #ifdef __cplusplus
107205 }
107206 #endif
107207
107208 int
107209 main ()
107210 {
107211 return f != $ac_func;
107212 ;
107213 return 0;
107214 }
107215 _ACEOF
107216 rm -f conftest.$ac_objext conftest$ac_exeext
107217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107218 (eval $ac_link) 2>conftest.er1
107219 ac_status=$?
107220 grep -v '^ *+' conftest.er1 >conftest.err
107221 rm -f conftest.er1
107222 cat conftest.err >&5
107223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107224 (exit $ac_status); } &&
107225 { ac_try='test -z "$ac_c_werror_flag"
107226 || test ! -s conftest.err'
107227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107228 (eval $ac_try) 2>&5
107229 ac_status=$?
107230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107231 (exit $ac_status); }; } &&
107232 { ac_try='test -s conftest$ac_exeext'
107233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107234 (eval $ac_try) 2>&5
107235 ac_status=$?
107236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107237 (exit $ac_status); }; }; then
107238 eval "$as_ac_var=yes"
107239 else
107240 echo "$as_me: failed program was:" >&5
107241 sed 's/^/| /' conftest.$ac_ext >&5
107242
107243 eval "$as_ac_var=no"
107244 fi
107245 rm -f conftest.err conftest.$ac_objext \
107246 conftest$ac_exeext conftest.$ac_ext
107247 fi
107248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107250 if test `eval echo '${'$as_ac_var'}'` = yes; then
107251 cat >>confdefs.h <<_ACEOF
107252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107253 _ACEOF
107254
107255 else
107256 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107257 fi
107258 done
107259
107260
107261
107262 for ac_func in __signbitf
107263 do
107264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107265 echo "$as_me:$LINENO: checking for $ac_func" >&5
107266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107267 if eval "test \"\${$as_ac_var+set}\" = set"; then
107268 echo $ECHO_N "(cached) $ECHO_C" >&6
107269 else
107270 if test x$gcc_no_link = xyes; then
107271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107273 { (exit 1); exit 1; }; }
107274 fi
107275 cat >conftest.$ac_ext <<_ACEOF
107276 /* confdefs.h. */
107277 _ACEOF
107278 cat confdefs.h >>conftest.$ac_ext
107279 cat >>conftest.$ac_ext <<_ACEOF
107280 /* end confdefs.h. */
107281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107283 #define $ac_func innocuous_$ac_func
107284
107285 /* System header to define __stub macros and hopefully few prototypes,
107286 which can conflict with char $ac_func (); below.
107287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107288 <limits.h> exists even on freestanding compilers. */
107289
107290 #ifdef __STDC__
107291 # include <limits.h>
107292 #else
107293 # include <assert.h>
107294 #endif
107295
107296 #undef $ac_func
107297
107298 /* Override any gcc2 internal prototype to avoid an error. */
107299 #ifdef __cplusplus
107300 extern "C"
107301 {
107302 #endif
107303 /* We use char because int might match the return type of a gcc2
107304 builtin and then its argument prototype would still apply. */
107305 char $ac_func ();
107306 /* The GNU C library defines this for functions which it implements
107307 to always fail with ENOSYS. Some functions are actually named
107308 something starting with __ and the normal name is an alias. */
107309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107310 choke me
107311 #else
107312 char (*f) () = $ac_func;
107313 #endif
107314 #ifdef __cplusplus
107315 }
107316 #endif
107317
107318 int
107319 main ()
107320 {
107321 return f != $ac_func;
107322 ;
107323 return 0;
107324 }
107325 _ACEOF
107326 rm -f conftest.$ac_objext conftest$ac_exeext
107327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107328 (eval $ac_link) 2>conftest.er1
107329 ac_status=$?
107330 grep -v '^ *+' conftest.er1 >conftest.err
107331 rm -f conftest.er1
107332 cat conftest.err >&5
107333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107334 (exit $ac_status); } &&
107335 { ac_try='test -z "$ac_c_werror_flag"
107336 || test ! -s conftest.err'
107337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107338 (eval $ac_try) 2>&5
107339 ac_status=$?
107340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107341 (exit $ac_status); }; } &&
107342 { ac_try='test -s conftest$ac_exeext'
107343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107344 (eval $ac_try) 2>&5
107345 ac_status=$?
107346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107347 (exit $ac_status); }; }; then
107348 eval "$as_ac_var=yes"
107349 else
107350 echo "$as_me: failed program was:" >&5
107351 sed 's/^/| /' conftest.$ac_ext >&5
107352
107353 eval "$as_ac_var=no"
107354 fi
107355 rm -f conftest.err conftest.$ac_objext \
107356 conftest$ac_exeext conftest.$ac_ext
107357 fi
107358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107360 if test `eval echo '${'$as_ac_var'}'` = yes; then
107361 cat >>confdefs.h <<_ACEOF
107362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107363 _ACEOF
107364
107365 else
107366 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107367 fi
107368 done
107369
107370
107371 if test x$ac_cv_func_copysignl = x"yes"; then
107372
107373 for ac_func in __signbitl
107374 do
107375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107376 echo "$as_me:$LINENO: checking for $ac_func" >&5
107377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107378 if eval "test \"\${$as_ac_var+set}\" = set"; then
107379 echo $ECHO_N "(cached) $ECHO_C" >&6
107380 else
107381 if test x$gcc_no_link = xyes; then
107382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107384 { (exit 1); exit 1; }; }
107385 fi
107386 cat >conftest.$ac_ext <<_ACEOF
107387 /* confdefs.h. */
107388 _ACEOF
107389 cat confdefs.h >>conftest.$ac_ext
107390 cat >>conftest.$ac_ext <<_ACEOF
107391 /* end confdefs.h. */
107392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107394 #define $ac_func innocuous_$ac_func
107395
107396 /* System header to define __stub macros and hopefully few prototypes,
107397 which can conflict with char $ac_func (); below.
107398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107399 <limits.h> exists even on freestanding compilers. */
107400
107401 #ifdef __STDC__
107402 # include <limits.h>
107403 #else
107404 # include <assert.h>
107405 #endif
107406
107407 #undef $ac_func
107408
107409 /* Override any gcc2 internal prototype to avoid an error. */
107410 #ifdef __cplusplus
107411 extern "C"
107412 {
107413 #endif
107414 /* We use char because int might match the return type of a gcc2
107415 builtin and then its argument prototype would still apply. */
107416 char $ac_func ();
107417 /* The GNU C library defines this for functions which it implements
107418 to always fail with ENOSYS. Some functions are actually named
107419 something starting with __ and the normal name is an alias. */
107420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107421 choke me
107422 #else
107423 char (*f) () = $ac_func;
107424 #endif
107425 #ifdef __cplusplus
107426 }
107427 #endif
107428
107429 int
107430 main ()
107431 {
107432 return f != $ac_func;
107433 ;
107434 return 0;
107435 }
107436 _ACEOF
107437 rm -f conftest.$ac_objext conftest$ac_exeext
107438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107439 (eval $ac_link) 2>conftest.er1
107440 ac_status=$?
107441 grep -v '^ *+' conftest.er1 >conftest.err
107442 rm -f conftest.er1
107443 cat conftest.err >&5
107444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107445 (exit $ac_status); } &&
107446 { ac_try='test -z "$ac_c_werror_flag"
107447 || test ! -s conftest.err'
107448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107449 (eval $ac_try) 2>&5
107450 ac_status=$?
107451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107452 (exit $ac_status); }; } &&
107453 { ac_try='test -s conftest$ac_exeext'
107454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107455 (eval $ac_try) 2>&5
107456 ac_status=$?
107457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107458 (exit $ac_status); }; }; then
107459 eval "$as_ac_var=yes"
107460 else
107461 echo "$as_me: failed program was:" >&5
107462 sed 's/^/| /' conftest.$ac_ext >&5
107463
107464 eval "$as_ac_var=no"
107465 fi
107466 rm -f conftest.err conftest.$ac_objext \
107467 conftest$ac_exeext conftest.$ac_ext
107468 fi
107469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107471 if test `eval echo '${'$as_ac_var'}'` = yes; then
107472 cat >>confdefs.h <<_ACEOF
107473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107474 _ACEOF
107475
107476 else
107477 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107478 fi
107479 done
107480
107481 fi
107482
107483 # Used in libmath/Makefile.am.
107484 if test -n "$LIBMATHOBJS"; then
107485 need_libmath=yes
107486 fi
107487
107488
107489
107490 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107491 ac_save_CXXFLAGS="$CXXFLAGS"
107492 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107493
107494
107495 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107496 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107497 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107498 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107499 echo $ECHO_N "(cached) $ECHO_C" >&6
107500 else
107501
107502
107503
107504 ac_ext=cc
107505 ac_cpp='$CXXCPP $CPPFLAGS'
107506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107509
107510 cat >conftest.$ac_ext <<_ACEOF
107511 /* confdefs.h. */
107512 _ACEOF
107513 cat confdefs.h >>conftest.$ac_ext
107514 cat >>conftest.$ac_ext <<_ACEOF
107515 /* end confdefs.h. */
107516 #include <stdlib.h>
107517 int
107518 main ()
107519 {
107520 strtold(0, 0);
107521 ;
107522 return 0;
107523 }
107524 _ACEOF
107525 rm -f conftest.$ac_objext
107526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107527 (eval $ac_compile) 2>conftest.er1
107528 ac_status=$?
107529 grep -v '^ *+' conftest.er1 >conftest.err
107530 rm -f conftest.er1
107531 cat conftest.err >&5
107532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107533 (exit $ac_status); } &&
107534 { ac_try='test -z "$ac_cxx_werror_flag"
107535 || test ! -s conftest.err'
107536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107537 (eval $ac_try) 2>&5
107538 ac_status=$?
107539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107540 (exit $ac_status); }; } &&
107541 { ac_try='test -s conftest.$ac_objext'
107542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107543 (eval $ac_try) 2>&5
107544 ac_status=$?
107545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107546 (exit $ac_status); }; }; then
107547 glibcxx_cv_func_strtold_use=yes
107548 else
107549 echo "$as_me: failed program was:" >&5
107550 sed 's/^/| /' conftest.$ac_ext >&5
107551
107552 glibcxx_cv_func_strtold_use=no
107553 fi
107554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107555 ac_ext=c
107556 ac_cpp='$CPP $CPPFLAGS'
107557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107560
107561
107562 fi
107563
107564 fi
107565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107566 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107567 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107568
107569 for ac_func in strtold
107570 do
107571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107572 echo "$as_me:$LINENO: checking for $ac_func" >&5
107573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107574 if eval "test \"\${$as_ac_var+set}\" = set"; then
107575 echo $ECHO_N "(cached) $ECHO_C" >&6
107576 else
107577 if test x$gcc_no_link = xyes; then
107578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107580 { (exit 1); exit 1; }; }
107581 fi
107582 cat >conftest.$ac_ext <<_ACEOF
107583 /* confdefs.h. */
107584 _ACEOF
107585 cat confdefs.h >>conftest.$ac_ext
107586 cat >>conftest.$ac_ext <<_ACEOF
107587 /* end confdefs.h. */
107588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107590 #define $ac_func innocuous_$ac_func
107591
107592 /* System header to define __stub macros and hopefully few prototypes,
107593 which can conflict with char $ac_func (); below.
107594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107595 <limits.h> exists even on freestanding compilers. */
107596
107597 #ifdef __STDC__
107598 # include <limits.h>
107599 #else
107600 # include <assert.h>
107601 #endif
107602
107603 #undef $ac_func
107604
107605 /* Override any gcc2 internal prototype to avoid an error. */
107606 #ifdef __cplusplus
107607 extern "C"
107608 {
107609 #endif
107610 /* We use char because int might match the return type of a gcc2
107611 builtin and then its argument prototype would still apply. */
107612 char $ac_func ();
107613 /* The GNU C library defines this for functions which it implements
107614 to always fail with ENOSYS. Some functions are actually named
107615 something starting with __ and the normal name is an alias. */
107616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107617 choke me
107618 #else
107619 char (*f) () = $ac_func;
107620 #endif
107621 #ifdef __cplusplus
107622 }
107623 #endif
107624
107625 int
107626 main ()
107627 {
107628 return f != $ac_func;
107629 ;
107630 return 0;
107631 }
107632 _ACEOF
107633 rm -f conftest.$ac_objext conftest$ac_exeext
107634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107635 (eval $ac_link) 2>conftest.er1
107636 ac_status=$?
107637 grep -v '^ *+' conftest.er1 >conftest.err
107638 rm -f conftest.er1
107639 cat conftest.err >&5
107640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107641 (exit $ac_status); } &&
107642 { ac_try='test -z "$ac_c_werror_flag"
107643 || test ! -s conftest.err'
107644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107645 (eval $ac_try) 2>&5
107646 ac_status=$?
107647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107648 (exit $ac_status); }; } &&
107649 { ac_try='test -s conftest$ac_exeext'
107650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107651 (eval $ac_try) 2>&5
107652 ac_status=$?
107653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107654 (exit $ac_status); }; }; then
107655 eval "$as_ac_var=yes"
107656 else
107657 echo "$as_me: failed program was:" >&5
107658 sed 's/^/| /' conftest.$ac_ext >&5
107659
107660 eval "$as_ac_var=no"
107661 fi
107662 rm -f conftest.err conftest.$ac_objext \
107663 conftest$ac_exeext conftest.$ac_ext
107664 fi
107665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107667 if test `eval echo '${'$as_ac_var'}'` = yes; then
107668 cat >>confdefs.h <<_ACEOF
107669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107670 _ACEOF
107671
107672 fi
107673 done
107674
107675 fi
107676
107677
107678
107679
107680
107681 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107682 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107683 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107684 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107685 echo $ECHO_N "(cached) $ECHO_C" >&6
107686 else
107687
107688
107689
107690 ac_ext=cc
107691 ac_cpp='$CXXCPP $CPPFLAGS'
107692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107695
107696 cat >conftest.$ac_ext <<_ACEOF
107697 /* confdefs.h. */
107698 _ACEOF
107699 cat confdefs.h >>conftest.$ac_ext
107700 cat >>conftest.$ac_ext <<_ACEOF
107701 /* end confdefs.h. */
107702 #include <stdlib.h>
107703 int
107704 main ()
107705 {
107706 strtof(0, 0);
107707 ;
107708 return 0;
107709 }
107710 _ACEOF
107711 rm -f conftest.$ac_objext
107712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107713 (eval $ac_compile) 2>conftest.er1
107714 ac_status=$?
107715 grep -v '^ *+' conftest.er1 >conftest.err
107716 rm -f conftest.er1
107717 cat conftest.err >&5
107718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107719 (exit $ac_status); } &&
107720 { ac_try='test -z "$ac_cxx_werror_flag"
107721 || test ! -s conftest.err'
107722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107723 (eval $ac_try) 2>&5
107724 ac_status=$?
107725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107726 (exit $ac_status); }; } &&
107727 { ac_try='test -s conftest.$ac_objext'
107728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107729 (eval $ac_try) 2>&5
107730 ac_status=$?
107731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107732 (exit $ac_status); }; }; then
107733 glibcxx_cv_func_strtof_use=yes
107734 else
107735 echo "$as_me: failed program was:" >&5
107736 sed 's/^/| /' conftest.$ac_ext >&5
107737
107738 glibcxx_cv_func_strtof_use=no
107739 fi
107740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107741 ac_ext=c
107742 ac_cpp='$CPP $CPPFLAGS'
107743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107746
107747
107748 fi
107749
107750 fi
107751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107752 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107753 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107754
107755 for ac_func in strtof
107756 do
107757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107758 echo "$as_me:$LINENO: checking for $ac_func" >&5
107759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107760 if eval "test \"\${$as_ac_var+set}\" = set"; then
107761 echo $ECHO_N "(cached) $ECHO_C" >&6
107762 else
107763 if test x$gcc_no_link = xyes; then
107764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107766 { (exit 1); exit 1; }; }
107767 fi
107768 cat >conftest.$ac_ext <<_ACEOF
107769 /* confdefs.h. */
107770 _ACEOF
107771 cat confdefs.h >>conftest.$ac_ext
107772 cat >>conftest.$ac_ext <<_ACEOF
107773 /* end confdefs.h. */
107774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107776 #define $ac_func innocuous_$ac_func
107777
107778 /* System header to define __stub macros and hopefully few prototypes,
107779 which can conflict with char $ac_func (); below.
107780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107781 <limits.h> exists even on freestanding compilers. */
107782
107783 #ifdef __STDC__
107784 # include <limits.h>
107785 #else
107786 # include <assert.h>
107787 #endif
107788
107789 #undef $ac_func
107790
107791 /* Override any gcc2 internal prototype to avoid an error. */
107792 #ifdef __cplusplus
107793 extern "C"
107794 {
107795 #endif
107796 /* We use char because int might match the return type of a gcc2
107797 builtin and then its argument prototype would still apply. */
107798 char $ac_func ();
107799 /* The GNU C library defines this for functions which it implements
107800 to always fail with ENOSYS. Some functions are actually named
107801 something starting with __ and the normal name is an alias. */
107802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107803 choke me
107804 #else
107805 char (*f) () = $ac_func;
107806 #endif
107807 #ifdef __cplusplus
107808 }
107809 #endif
107810
107811 int
107812 main ()
107813 {
107814 return f != $ac_func;
107815 ;
107816 return 0;
107817 }
107818 _ACEOF
107819 rm -f conftest.$ac_objext conftest$ac_exeext
107820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107821 (eval $ac_link) 2>conftest.er1
107822 ac_status=$?
107823 grep -v '^ *+' conftest.er1 >conftest.err
107824 rm -f conftest.er1
107825 cat conftest.err >&5
107826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107827 (exit $ac_status); } &&
107828 { ac_try='test -z "$ac_c_werror_flag"
107829 || test ! -s conftest.err'
107830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107831 (eval $ac_try) 2>&5
107832 ac_status=$?
107833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107834 (exit $ac_status); }; } &&
107835 { ac_try='test -s conftest$ac_exeext'
107836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107837 (eval $ac_try) 2>&5
107838 ac_status=$?
107839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107840 (exit $ac_status); }; }; then
107841 eval "$as_ac_var=yes"
107842 else
107843 echo "$as_me: failed program was:" >&5
107844 sed 's/^/| /' conftest.$ac_ext >&5
107845
107846 eval "$as_ac_var=no"
107847 fi
107848 rm -f conftest.err conftest.$ac_objext \
107849 conftest$ac_exeext conftest.$ac_ext
107850 fi
107851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107853 if test `eval echo '${'$as_ac_var'}'` = yes; then
107854 cat >>confdefs.h <<_ACEOF
107855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107856 _ACEOF
107857
107858 fi
107859 done
107860
107861 fi
107862
107863
107864
107865
107866
107867 CXXFLAGS="$ac_save_CXXFLAGS"
107868
107869
107870 # For LFS.
107871 cat >>confdefs.h <<\_ACEOF
107872 #define HAVE_INT64_T 1
107873 _ACEOF
107874
107875
107876
107877
107878 ac_ext=cc
107879 ac_cpp='$CXXCPP $CPPFLAGS'
107880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107883
107884 ac_save_CXXFLAGS="$CXXFLAGS"
107885 CXXFLAGS="$CXXFLAGS -fno-exceptions"
107886 echo "$as_me:$LINENO: checking for LFS support" >&5
107887 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107888 if test "${glibcxx_cv_LFS+set}" = set; then
107889 echo $ECHO_N "(cached) $ECHO_C" >&6
107890 else
107891
107892 if test x$gcc_no_link = xyes; then
107893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107895 { (exit 1); exit 1; }; }
107896 fi
107897 cat >conftest.$ac_ext <<_ACEOF
107898 /* confdefs.h. */
107899 _ACEOF
107900 cat confdefs.h >>conftest.$ac_ext
107901 cat >>conftest.$ac_ext <<_ACEOF
107902 /* end confdefs.h. */
107903 #include <unistd.h>
107904 #include <stdio.h>
107905 #include <sys/stat.h>
107906
107907 int
107908 main ()
107909 {
107910 FILE* fp;
107911 fopen64("t", "w");
107912 fseeko64(fp, 0, SEEK_CUR);
107913 ftello64(fp);
107914 lseek64(1, 0, SEEK_CUR);
107915 struct stat64 buf;
107916 fstat64(1, &buf);
107917 ;
107918 return 0;
107919 }
107920 _ACEOF
107921 rm -f conftest.$ac_objext conftest$ac_exeext
107922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107923 (eval $ac_link) 2>conftest.er1
107924 ac_status=$?
107925 grep -v '^ *+' conftest.er1 >conftest.err
107926 rm -f conftest.er1
107927 cat conftest.err >&5
107928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107929 (exit $ac_status); } &&
107930 { ac_try='test -z "$ac_cxx_werror_flag"
107931 || test ! -s conftest.err'
107932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107933 (eval $ac_try) 2>&5
107934 ac_status=$?
107935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107936 (exit $ac_status); }; } &&
107937 { ac_try='test -s conftest$ac_exeext'
107938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107939 (eval $ac_try) 2>&5
107940 ac_status=$?
107941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107942 (exit $ac_status); }; }; then
107943 glibcxx_cv_LFS=yes
107944 else
107945 echo "$as_me: failed program was:" >&5
107946 sed 's/^/| /' conftest.$ac_ext >&5
107947
107948 glibcxx_cv_LFS=no
107949 fi
107950 rm -f conftest.err conftest.$ac_objext \
107951 conftest$ac_exeext conftest.$ac_ext
107952
107953 fi
107954
107955 if test $glibcxx_cv_LFS = yes; then
107956
107957 cat >>confdefs.h <<\_ACEOF
107958 #define _GLIBCXX_USE_LFS 1
107959 _ACEOF
107960
107961 fi
107962 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107963 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107964 CXXFLAGS="$ac_save_CXXFLAGS"
107965 ac_ext=c
107966 ac_cpp='$CPP $CPPFLAGS'
107967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107970
107971
107972
107973 # For showmanyc_helper().
107974
107975
107976 for ac_header in sys/ioctl.h sys/filio.h
107977 do
107978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107980 echo "$as_me:$LINENO: checking for $ac_header" >&5
107981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107983 echo $ECHO_N "(cached) $ECHO_C" >&6
107984 fi
107985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107987 else
107988 # Is the header compilable?
107989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107991 cat >conftest.$ac_ext <<_ACEOF
107992 /* confdefs.h. */
107993 _ACEOF
107994 cat confdefs.h >>conftest.$ac_ext
107995 cat >>conftest.$ac_ext <<_ACEOF
107996 /* end confdefs.h. */
107997 $ac_includes_default
107998 #include <$ac_header>
107999 _ACEOF
108000 rm -f conftest.$ac_objext
108001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108002 (eval $ac_compile) 2>conftest.er1
108003 ac_status=$?
108004 grep -v '^ *+' conftest.er1 >conftest.err
108005 rm -f conftest.er1
108006 cat conftest.err >&5
108007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108008 (exit $ac_status); } &&
108009 { ac_try='test -z "$ac_c_werror_flag"
108010 || test ! -s conftest.err'
108011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108012 (eval $ac_try) 2>&5
108013 ac_status=$?
108014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108015 (exit $ac_status); }; } &&
108016 { ac_try='test -s conftest.$ac_objext'
108017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108018 (eval $ac_try) 2>&5
108019 ac_status=$?
108020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108021 (exit $ac_status); }; }; then
108022 ac_header_compiler=yes
108023 else
108024 echo "$as_me: failed program was:" >&5
108025 sed 's/^/| /' conftest.$ac_ext >&5
108026
108027 ac_header_compiler=no
108028 fi
108029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108031 echo "${ECHO_T}$ac_header_compiler" >&6
108032
108033 # Is the header present?
108034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108036 cat >conftest.$ac_ext <<_ACEOF
108037 /* confdefs.h. */
108038 _ACEOF
108039 cat confdefs.h >>conftest.$ac_ext
108040 cat >>conftest.$ac_ext <<_ACEOF
108041 /* end confdefs.h. */
108042 #include <$ac_header>
108043 _ACEOF
108044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108046 ac_status=$?
108047 grep -v '^ *+' conftest.er1 >conftest.err
108048 rm -f conftest.er1
108049 cat conftest.err >&5
108050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108051 (exit $ac_status); } >/dev/null; then
108052 if test -s conftest.err; then
108053 ac_cpp_err=$ac_c_preproc_warn_flag
108054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108055 else
108056 ac_cpp_err=
108057 fi
108058 else
108059 ac_cpp_err=yes
108060 fi
108061 if test -z "$ac_cpp_err"; then
108062 ac_header_preproc=yes
108063 else
108064 echo "$as_me: failed program was:" >&5
108065 sed 's/^/| /' conftest.$ac_ext >&5
108066
108067 ac_header_preproc=no
108068 fi
108069 rm -f conftest.err conftest.$ac_ext
108070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108071 echo "${ECHO_T}$ac_header_preproc" >&6
108072
108073 # So? What about this header?
108074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108075 yes:no: )
108076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108080 ac_header_preproc=yes
108081 ;;
108082 no:yes:* )
108083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108095 (
108096 cat <<\_ASBOX
108097 ## ----------------------------------------- ##
108098 ## Report this to the package-unused lists. ##
108099 ## ----------------------------------------- ##
108100 _ASBOX
108101 ) |
108102 sed "s/^/$as_me: WARNING: /" >&2
108103 ;;
108104 esac
108105 echo "$as_me:$LINENO: checking for $ac_header" >&5
108106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108108 echo $ECHO_N "(cached) $ECHO_C" >&6
108109 else
108110 eval "$as_ac_Header=\$ac_header_preproc"
108111 fi
108112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108114
108115 fi
108116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108117 cat >>confdefs.h <<_ACEOF
108118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108119 _ACEOF
108120
108121 fi
108122
108123 done
108124
108125
108126 echo "$as_me:$LINENO: checking for poll" >&5
108127 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108128 if test "${glibcxx_cv_POLL+set}" = set; then
108129 echo $ECHO_N "(cached) $ECHO_C" >&6
108130 else
108131
108132 if test x$gcc_no_link = xyes; then
108133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108135 { (exit 1); exit 1; }; }
108136 fi
108137 cat >conftest.$ac_ext <<_ACEOF
108138 /* confdefs.h. */
108139 _ACEOF
108140 cat confdefs.h >>conftest.$ac_ext
108141 cat >>conftest.$ac_ext <<_ACEOF
108142 /* end confdefs.h. */
108143 #include <poll.h>
108144 int
108145 main ()
108146 {
108147 struct pollfd pfd[1];
108148 pfd[0].events = POLLIN;
108149 poll(pfd, 1, 0);
108150 ;
108151 return 0;
108152 }
108153 _ACEOF
108154 rm -f conftest.$ac_objext conftest$ac_exeext
108155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108156 (eval $ac_link) 2>conftest.er1
108157 ac_status=$?
108158 grep -v '^ *+' conftest.er1 >conftest.err
108159 rm -f conftest.er1
108160 cat conftest.err >&5
108161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108162 (exit $ac_status); } &&
108163 { ac_try='test -z "$ac_c_werror_flag"
108164 || test ! -s conftest.err'
108165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108166 (eval $ac_try) 2>&5
108167 ac_status=$?
108168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108169 (exit $ac_status); }; } &&
108170 { ac_try='test -s conftest$ac_exeext'
108171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108172 (eval $ac_try) 2>&5
108173 ac_status=$?
108174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108175 (exit $ac_status); }; }; then
108176 glibcxx_cv_POLL=yes
108177 else
108178 echo "$as_me: failed program was:" >&5
108179 sed 's/^/| /' conftest.$ac_ext >&5
108180
108181 glibcxx_cv_POLL=no
108182 fi
108183 rm -f conftest.err conftest.$ac_objext \
108184 conftest$ac_exeext conftest.$ac_ext
108185
108186 fi
108187
108188 if test $glibcxx_cv_POLL = yes; then
108189
108190 cat >>confdefs.h <<\_ACEOF
108191 #define HAVE_POLL 1
108192 _ACEOF
108193
108194 fi
108195 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108196 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108197
108198
108199 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108200 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108201 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108202 echo $ECHO_N "(cached) $ECHO_C" >&6
108203 else
108204
108205 if test x$gcc_no_link = xyes; then
108206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108208 { (exit 1); exit 1; }; }
108209 fi
108210 cat >conftest.$ac_ext <<_ACEOF
108211 /* confdefs.h. */
108212 _ACEOF
108213 cat confdefs.h >>conftest.$ac_ext
108214 cat >>conftest.$ac_ext <<_ACEOF
108215 /* end confdefs.h. */
108216 #include <sys/stat.h>
108217 int
108218 main ()
108219 {
108220 struct stat buffer;
108221 fstat(0, &buffer);
108222 S_ISREG(buffer.st_mode);
108223 ;
108224 return 0;
108225 }
108226 _ACEOF
108227 rm -f conftest.$ac_objext conftest$ac_exeext
108228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108229 (eval $ac_link) 2>conftest.er1
108230 ac_status=$?
108231 grep -v '^ *+' conftest.er1 >conftest.err
108232 rm -f conftest.er1
108233 cat conftest.err >&5
108234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108235 (exit $ac_status); } &&
108236 { ac_try='test -z "$ac_c_werror_flag"
108237 || test ! -s conftest.err'
108238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108239 (eval $ac_try) 2>&5
108240 ac_status=$?
108241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108242 (exit $ac_status); }; } &&
108243 { ac_try='test -s conftest$ac_exeext'
108244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108245 (eval $ac_try) 2>&5
108246 ac_status=$?
108247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108248 (exit $ac_status); }; }; then
108249 glibcxx_cv_S_ISREG=yes
108250 else
108251 echo "$as_me: failed program was:" >&5
108252 sed 's/^/| /' conftest.$ac_ext >&5
108253
108254 glibcxx_cv_S_ISREG=no
108255 fi
108256 rm -f conftest.err conftest.$ac_objext \
108257 conftest$ac_exeext conftest.$ac_ext
108258
108259 fi
108260
108261 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108262 echo $ECHO_N "(cached) $ECHO_C" >&6
108263 else
108264
108265 if test x$gcc_no_link = xyes; then
108266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108268 { (exit 1); exit 1; }; }
108269 fi
108270 cat >conftest.$ac_ext <<_ACEOF
108271 /* confdefs.h. */
108272 _ACEOF
108273 cat confdefs.h >>conftest.$ac_ext
108274 cat >>conftest.$ac_ext <<_ACEOF
108275 /* end confdefs.h. */
108276 #include <sys/stat.h>
108277 int
108278 main ()
108279 {
108280 struct stat buffer;
108281 fstat(0, &buffer);
108282 S_IFREG & buffer.st_mode;
108283 ;
108284 return 0;
108285 }
108286 _ACEOF
108287 rm -f conftest.$ac_objext conftest$ac_exeext
108288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108289 (eval $ac_link) 2>conftest.er1
108290 ac_status=$?
108291 grep -v '^ *+' conftest.er1 >conftest.err
108292 rm -f conftest.er1
108293 cat conftest.err >&5
108294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108295 (exit $ac_status); } &&
108296 { ac_try='test -z "$ac_c_werror_flag"
108297 || test ! -s conftest.err'
108298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108299 (eval $ac_try) 2>&5
108300 ac_status=$?
108301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108302 (exit $ac_status); }; } &&
108303 { ac_try='test -s conftest$ac_exeext'
108304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108305 (eval $ac_try) 2>&5
108306 ac_status=$?
108307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108308 (exit $ac_status); }; }; then
108309 glibcxx_cv_S_IFREG=yes
108310 else
108311 echo "$as_me: failed program was:" >&5
108312 sed 's/^/| /' conftest.$ac_ext >&5
108313
108314 glibcxx_cv_S_IFREG=no
108315 fi
108316 rm -f conftest.err conftest.$ac_objext \
108317 conftest$ac_exeext conftest.$ac_ext
108318
108319 fi
108320
108321 res=no
108322 if test $glibcxx_cv_S_ISREG = yes; then
108323
108324 cat >>confdefs.h <<\_ACEOF
108325 #define HAVE_S_ISREG 1
108326 _ACEOF
108327
108328 res=S_ISREG
108329 elif test $glibcxx_cv_S_IFREG = yes; then
108330
108331 cat >>confdefs.h <<\_ACEOF
108332 #define HAVE_S_IFREG 1
108333 _ACEOF
108334
108335 res=S_IFREG
108336 fi
108337 echo "$as_me:$LINENO: result: $res" >&5
108338 echo "${ECHO_T}$res" >&6
108339
108340
108341 # For xsputn_2().
108342
108343 for ac_header in sys/uio.h
108344 do
108345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108347 echo "$as_me:$LINENO: checking for $ac_header" >&5
108348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108350 echo $ECHO_N "(cached) $ECHO_C" >&6
108351 fi
108352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108354 else
108355 # Is the header compilable?
108356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108358 cat >conftest.$ac_ext <<_ACEOF
108359 /* confdefs.h. */
108360 _ACEOF
108361 cat confdefs.h >>conftest.$ac_ext
108362 cat >>conftest.$ac_ext <<_ACEOF
108363 /* end confdefs.h. */
108364 $ac_includes_default
108365 #include <$ac_header>
108366 _ACEOF
108367 rm -f conftest.$ac_objext
108368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108369 (eval $ac_compile) 2>conftest.er1
108370 ac_status=$?
108371 grep -v '^ *+' conftest.er1 >conftest.err
108372 rm -f conftest.er1
108373 cat conftest.err >&5
108374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108375 (exit $ac_status); } &&
108376 { ac_try='test -z "$ac_c_werror_flag"
108377 || test ! -s conftest.err'
108378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108379 (eval $ac_try) 2>&5
108380 ac_status=$?
108381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108382 (exit $ac_status); }; } &&
108383 { ac_try='test -s conftest.$ac_objext'
108384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108385 (eval $ac_try) 2>&5
108386 ac_status=$?
108387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108388 (exit $ac_status); }; }; then
108389 ac_header_compiler=yes
108390 else
108391 echo "$as_me: failed program was:" >&5
108392 sed 's/^/| /' conftest.$ac_ext >&5
108393
108394 ac_header_compiler=no
108395 fi
108396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108398 echo "${ECHO_T}$ac_header_compiler" >&6
108399
108400 # Is the header present?
108401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108403 cat >conftest.$ac_ext <<_ACEOF
108404 /* confdefs.h. */
108405 _ACEOF
108406 cat confdefs.h >>conftest.$ac_ext
108407 cat >>conftest.$ac_ext <<_ACEOF
108408 /* end confdefs.h. */
108409 #include <$ac_header>
108410 _ACEOF
108411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108413 ac_status=$?
108414 grep -v '^ *+' conftest.er1 >conftest.err
108415 rm -f conftest.er1
108416 cat conftest.err >&5
108417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108418 (exit $ac_status); } >/dev/null; then
108419 if test -s conftest.err; then
108420 ac_cpp_err=$ac_c_preproc_warn_flag
108421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108422 else
108423 ac_cpp_err=
108424 fi
108425 else
108426 ac_cpp_err=yes
108427 fi
108428 if test -z "$ac_cpp_err"; then
108429 ac_header_preproc=yes
108430 else
108431 echo "$as_me: failed program was:" >&5
108432 sed 's/^/| /' conftest.$ac_ext >&5
108433
108434 ac_header_preproc=no
108435 fi
108436 rm -f conftest.err conftest.$ac_ext
108437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108438 echo "${ECHO_T}$ac_header_preproc" >&6
108439
108440 # So? What about this header?
108441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108442 yes:no: )
108443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108447 ac_header_preproc=yes
108448 ;;
108449 no:yes:* )
108450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108462 (
108463 cat <<\_ASBOX
108464 ## ----------------------------------------- ##
108465 ## Report this to the package-unused lists. ##
108466 ## ----------------------------------------- ##
108467 _ASBOX
108468 ) |
108469 sed "s/^/$as_me: WARNING: /" >&2
108470 ;;
108471 esac
108472 echo "$as_me:$LINENO: checking for $ac_header" >&5
108473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108475 echo $ECHO_N "(cached) $ECHO_C" >&6
108476 else
108477 eval "$as_ac_Header=\$ac_header_preproc"
108478 fi
108479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108481
108482 fi
108483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108484 cat >>confdefs.h <<_ACEOF
108485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108486 _ACEOF
108487
108488 fi
108489
108490 done
108491
108492
108493 echo "$as_me:$LINENO: checking for writev" >&5
108494 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108495 if test "${glibcxx_cv_WRITEV+set}" = set; then
108496 echo $ECHO_N "(cached) $ECHO_C" >&6
108497 else
108498
108499 if test x$gcc_no_link = xyes; then
108500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108502 { (exit 1); exit 1; }; }
108503 fi
108504 cat >conftest.$ac_ext <<_ACEOF
108505 /* confdefs.h. */
108506 _ACEOF
108507 cat confdefs.h >>conftest.$ac_ext
108508 cat >>conftest.$ac_ext <<_ACEOF
108509 /* end confdefs.h. */
108510 #include <sys/uio.h>
108511 int
108512 main ()
108513 {
108514 struct iovec iov[2];
108515 writev(0, iov, 0);
108516 ;
108517 return 0;
108518 }
108519 _ACEOF
108520 rm -f conftest.$ac_objext conftest$ac_exeext
108521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108522 (eval $ac_link) 2>conftest.er1
108523 ac_status=$?
108524 grep -v '^ *+' conftest.er1 >conftest.err
108525 rm -f conftest.er1
108526 cat conftest.err >&5
108527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108528 (exit $ac_status); } &&
108529 { ac_try='test -z "$ac_c_werror_flag"
108530 || test ! -s conftest.err'
108531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108532 (eval $ac_try) 2>&5
108533 ac_status=$?
108534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108535 (exit $ac_status); }; } &&
108536 { ac_try='test -s conftest$ac_exeext'
108537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108538 (eval $ac_try) 2>&5
108539 ac_status=$?
108540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108541 (exit $ac_status); }; }; then
108542 glibcxx_cv_WRITEV=yes
108543 else
108544 echo "$as_me: failed program was:" >&5
108545 sed 's/^/| /' conftest.$ac_ext >&5
108546
108547 glibcxx_cv_WRITEV=no
108548 fi
108549 rm -f conftest.err conftest.$ac_objext \
108550 conftest$ac_exeext conftest.$ac_ext
108551
108552 fi
108553
108554 if test $glibcxx_cv_WRITEV = yes; then
108555
108556 cat >>confdefs.h <<\_ACEOF
108557 #define HAVE_WRITEV 1
108558 _ACEOF
108559
108560 fi
108561 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108562 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108563
108564 ;;
108565 *-mingw32*)
108566
108567
108568
108569 for ac_header in sys/types.h locale.h float.h
108570 do
108571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108573 echo "$as_me:$LINENO: checking for $ac_header" >&5
108574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108576 echo $ECHO_N "(cached) $ECHO_C" >&6
108577 fi
108578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108580 else
108581 # Is the header compilable?
108582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108584 cat >conftest.$ac_ext <<_ACEOF
108585 /* confdefs.h. */
108586 _ACEOF
108587 cat confdefs.h >>conftest.$ac_ext
108588 cat >>conftest.$ac_ext <<_ACEOF
108589 /* end confdefs.h. */
108590 $ac_includes_default
108591 #include <$ac_header>
108592 _ACEOF
108593 rm -f conftest.$ac_objext
108594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108595 (eval $ac_compile) 2>conftest.er1
108596 ac_status=$?
108597 grep -v '^ *+' conftest.er1 >conftest.err
108598 rm -f conftest.er1
108599 cat conftest.err >&5
108600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108601 (exit $ac_status); } &&
108602 { ac_try='test -z "$ac_c_werror_flag"
108603 || test ! -s conftest.err'
108604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108605 (eval $ac_try) 2>&5
108606 ac_status=$?
108607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108608 (exit $ac_status); }; } &&
108609 { ac_try='test -s conftest.$ac_objext'
108610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108611 (eval $ac_try) 2>&5
108612 ac_status=$?
108613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108614 (exit $ac_status); }; }; then
108615 ac_header_compiler=yes
108616 else
108617 echo "$as_me: failed program was:" >&5
108618 sed 's/^/| /' conftest.$ac_ext >&5
108619
108620 ac_header_compiler=no
108621 fi
108622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108624 echo "${ECHO_T}$ac_header_compiler" >&6
108625
108626 # Is the header present?
108627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108629 cat >conftest.$ac_ext <<_ACEOF
108630 /* confdefs.h. */
108631 _ACEOF
108632 cat confdefs.h >>conftest.$ac_ext
108633 cat >>conftest.$ac_ext <<_ACEOF
108634 /* end confdefs.h. */
108635 #include <$ac_header>
108636 _ACEOF
108637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108639 ac_status=$?
108640 grep -v '^ *+' conftest.er1 >conftest.err
108641 rm -f conftest.er1
108642 cat conftest.err >&5
108643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108644 (exit $ac_status); } >/dev/null; then
108645 if test -s conftest.err; then
108646 ac_cpp_err=$ac_c_preproc_warn_flag
108647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108648 else
108649 ac_cpp_err=
108650 fi
108651 else
108652 ac_cpp_err=yes
108653 fi
108654 if test -z "$ac_cpp_err"; then
108655 ac_header_preproc=yes
108656 else
108657 echo "$as_me: failed program was:" >&5
108658 sed 's/^/| /' conftest.$ac_ext >&5
108659
108660 ac_header_preproc=no
108661 fi
108662 rm -f conftest.err conftest.$ac_ext
108663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108664 echo "${ECHO_T}$ac_header_preproc" >&6
108665
108666 # So? What about this header?
108667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108668 yes:no: )
108669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108673 ac_header_preproc=yes
108674 ;;
108675 no:yes:* )
108676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108688 (
108689 cat <<\_ASBOX
108690 ## ----------------------------------------- ##
108691 ## Report this to the package-unused lists. ##
108692 ## ----------------------------------------- ##
108693 _ASBOX
108694 ) |
108695 sed "s/^/$as_me: WARNING: /" >&2
108696 ;;
108697 esac
108698 echo "$as_me:$LINENO: checking for $ac_header" >&5
108699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108701 echo $ECHO_N "(cached) $ECHO_C" >&6
108702 else
108703 eval "$as_ac_Header=\$ac_header_preproc"
108704 fi
108705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108707
108708 fi
108709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108710 cat >>confdefs.h <<_ACEOF
108711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108712 _ACEOF
108713
108714 fi
108715
108716 done
108717
108718
108719 # If we're not using GNU ld, then there's no point in even trying these
108720 # tests. Check for that first. We should have already tested for gld
108721 # by now (in libtool), but require it now just to be safe...
108722 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
108723 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
108724
108725
108726
108727 # The name set by libtool depends on the version of libtool. Shame on us
108728 # for depending on an impl detail, but c'est la vie. Older versions used
108729 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
108730 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
108731 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
108732 # set (hence we're using an older libtool), then set it.
108733 if test x${with_gnu_ld+set} != xset; then
108734 if test x${ac_cv_prog_gnu_ld+set} != xset; then
108735 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
108736 with_gnu_ld=no
108737 else
108738 with_gnu_ld=$ac_cv_prog_gnu_ld
108739 fi
108740 fi
108741
108742 # Start by getting the version number. I think the libtool test already
108743 # does some of this, but throws away the result.
108744 if test x"$with_gnu_ld" = x"yes"; then
108745 echo "$as_me:$LINENO: checking for ld version" >&5
108746 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
108747
108748 ldver=`$LD --version 2>/dev/null | head -1 | \
108749 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
108750
108751 glibcxx_gnu_ld_version=`echo $ldver | \
108752 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
108753 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
108754 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
108755 fi
108756
108757 # Set --gc-sections.
108758 glibcxx_gcsections_min_ld=21602
108759 if test x"$with_gnu_ld" = x"yes" &&
108760 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
108761
108762 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
108763 # NB: This flag only works reliably after 2.16.1. Configure tests
108764 # for this are difficult, so hard wire a value that should work.
108765
108766 ac_test_CFLAGS="${CFLAGS+set}"
108767 ac_save_CFLAGS="$CFLAGS"
108768 CFLAGS='-Wl,--gc-sections'
108769
108770 # Check for -Wl,--gc-sections
108771 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
108772 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
108773 if test x$gcc_no_link = xyes; then
108774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108776 { (exit 1); exit 1; }; }
108777 fi
108778 cat >conftest.$ac_ext <<_ACEOF
108779 /* confdefs.h. */
108780 _ACEOF
108781 cat confdefs.h >>conftest.$ac_ext
108782 cat >>conftest.$ac_ext <<_ACEOF
108783 /* end confdefs.h. */
108784 int one(void) { return 1; }
108785 int two(void) { return 2; }
108786
108787 int
108788 main ()
108789 {
108790 two();
108791 ;
108792 return 0;
108793 }
108794 _ACEOF
108795 rm -f conftest.$ac_objext conftest$ac_exeext
108796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108797 (eval $ac_link) 2>conftest.er1
108798 ac_status=$?
108799 grep -v '^ *+' conftest.er1 >conftest.err
108800 rm -f conftest.er1
108801 cat conftest.err >&5
108802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108803 (exit $ac_status); } &&
108804 { ac_try='test -z "$ac_c_werror_flag"
108805 || test ! -s conftest.err'
108806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108807 (eval $ac_try) 2>&5
108808 ac_status=$?
108809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108810 (exit $ac_status); }; } &&
108811 { ac_try='test -s conftest$ac_exeext'
108812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108813 (eval $ac_try) 2>&5
108814 ac_status=$?
108815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108816 (exit $ac_status); }; }; then
108817 ac_gcsections=yes
108818 else
108819 echo "$as_me: failed program was:" >&5
108820 sed 's/^/| /' conftest.$ac_ext >&5
108821
108822 ac_gcsections=no
108823 fi
108824 rm -f conftest.err conftest.$ac_objext \
108825 conftest$ac_exeext conftest.$ac_ext
108826 if test "$ac_gcsections" = "yes"; then
108827 rm -f conftest.c
108828 touch conftest.c
108829 if $CC -c conftest.c; then
108830 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
108831 grep "Warning: gc-sections option ignored" > /dev/null; then
108832 ac_gcsections=no
108833 fi
108834 fi
108835 rm -f conftest.c conftest.o conftest
108836 fi
108837 if test "$ac_gcsections" = "yes"; then
108838 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
108839 fi
108840 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
108841 echo "${ECHO_T}$ac_gcsections" >&6
108842
108843 if test "$ac_test_CFLAGS" = set; then
108844 CFLAGS="$ac_save_CFLAGS"
108845 else
108846 # this is the suspicious part
108847 CFLAGS=''
108848 fi
108849 fi
108850
108851 # Set -z,relro.
108852 # Note this is only for shared objects.
108853 ac_ld_relro=no
108854 if test x"$with_gnu_ld" = x"yes"; then
108855 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
108856 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
108857 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
108858 if test -n "$cxx_z_relo"; then
108859 OPT_LDFLAGS="-Wl,-z,relro"
108860 ac_ld_relro=yes
108861 fi
108862 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
108863 echo "${ECHO_T}$ac_ld_relro" >&6
108864 fi
108865
108866 # Set linker optimization flags.
108867 if test x"$with_gnu_ld" = x"yes"; then
108868 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
108869 fi
108870
108871
108872
108873
108874
108875
108876 echo "$as_me:$LINENO: checking for main in -lm" >&5
108877 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
108878 if test "${ac_cv_lib_m_main+set}" = set; then
108879 echo $ECHO_N "(cached) $ECHO_C" >&6
108880 else
108881 ac_check_lib_save_LIBS=$LIBS
108882 LIBS="-lm $LIBS"
108883 if test x$gcc_no_link = xyes; then
108884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108886 { (exit 1); exit 1; }; }
108887 fi
108888 cat >conftest.$ac_ext <<_ACEOF
108889 /* confdefs.h. */
108890 _ACEOF
108891 cat confdefs.h >>conftest.$ac_ext
108892 cat >>conftest.$ac_ext <<_ACEOF
108893 /* end confdefs.h. */
108894
108895
108896 int
108897 main ()
108898 {
108899 main ();
108900 ;
108901 return 0;
108902 }
108903 _ACEOF
108904 rm -f conftest.$ac_objext conftest$ac_exeext
108905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108906 (eval $ac_link) 2>conftest.er1
108907 ac_status=$?
108908 grep -v '^ *+' conftest.er1 >conftest.err
108909 rm -f conftest.er1
108910 cat conftest.err >&5
108911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108912 (exit $ac_status); } &&
108913 { ac_try='test -z "$ac_c_werror_flag"
108914 || test ! -s conftest.err'
108915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108916 (eval $ac_try) 2>&5
108917 ac_status=$?
108918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108919 (exit $ac_status); }; } &&
108920 { ac_try='test -s conftest$ac_exeext'
108921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108922 (eval $ac_try) 2>&5
108923 ac_status=$?
108924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108925 (exit $ac_status); }; }; then
108926 ac_cv_lib_m_main=yes
108927 else
108928 echo "$as_me: failed program was:" >&5
108929 sed 's/^/| /' conftest.$ac_ext >&5
108930
108931 ac_cv_lib_m_main=no
108932 fi
108933 rm -f conftest.err conftest.$ac_objext \
108934 conftest$ac_exeext conftest.$ac_ext
108935 LIBS=$ac_check_lib_save_LIBS
108936 fi
108937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108938 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
108939 if test $ac_cv_lib_m_main = yes; then
108940 cat >>confdefs.h <<_ACEOF
108941 #define HAVE_LIBM 1
108942 _ACEOF
108943
108944 LIBS="-lm $LIBS"
108945
108946 fi
108947
108948
108949 for ac_func in copysignf
108950 do
108951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108952 echo "$as_me:$LINENO: checking for $ac_func" >&5
108953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108954 if eval "test \"\${$as_ac_var+set}\" = set"; then
108955 echo $ECHO_N "(cached) $ECHO_C" >&6
108956 else
108957 if test x$gcc_no_link = xyes; then
108958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108960 { (exit 1); exit 1; }; }
108961 fi
108962 cat >conftest.$ac_ext <<_ACEOF
108963 /* confdefs.h. */
108964 _ACEOF
108965 cat confdefs.h >>conftest.$ac_ext
108966 cat >>conftest.$ac_ext <<_ACEOF
108967 /* end confdefs.h. */
108968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108970 #define $ac_func innocuous_$ac_func
108971
108972 /* System header to define __stub macros and hopefully few prototypes,
108973 which can conflict with char $ac_func (); below.
108974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108975 <limits.h> exists even on freestanding compilers. */
108976
108977 #ifdef __STDC__
108978 # include <limits.h>
108979 #else
108980 # include <assert.h>
108981 #endif
108982
108983 #undef $ac_func
108984
108985 /* Override any gcc2 internal prototype to avoid an error. */
108986 #ifdef __cplusplus
108987 extern "C"
108988 {
108989 #endif
108990 /* We use char because int might match the return type of a gcc2
108991 builtin and then its argument prototype would still apply. */
108992 char $ac_func ();
108993 /* The GNU C library defines this for functions which it implements
108994 to always fail with ENOSYS. Some functions are actually named
108995 something starting with __ and the normal name is an alias. */
108996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108997 choke me
108998 #else
108999 char (*f) () = $ac_func;
109000 #endif
109001 #ifdef __cplusplus
109002 }
109003 #endif
109004
109005 int
109006 main ()
109007 {
109008 return f != $ac_func;
109009 ;
109010 return 0;
109011 }
109012 _ACEOF
109013 rm -f conftest.$ac_objext conftest$ac_exeext
109014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109015 (eval $ac_link) 2>conftest.er1
109016 ac_status=$?
109017 grep -v '^ *+' conftest.er1 >conftest.err
109018 rm -f conftest.er1
109019 cat conftest.err >&5
109020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109021 (exit $ac_status); } &&
109022 { ac_try='test -z "$ac_c_werror_flag"
109023 || test ! -s conftest.err'
109024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109025 (eval $ac_try) 2>&5
109026 ac_status=$?
109027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109028 (exit $ac_status); }; } &&
109029 { ac_try='test -s conftest$ac_exeext'
109030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109031 (eval $ac_try) 2>&5
109032 ac_status=$?
109033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109034 (exit $ac_status); }; }; then
109035 eval "$as_ac_var=yes"
109036 else
109037 echo "$as_me: failed program was:" >&5
109038 sed 's/^/| /' conftest.$ac_ext >&5
109039
109040 eval "$as_ac_var=no"
109041 fi
109042 rm -f conftest.err conftest.$ac_objext \
109043 conftest$ac_exeext conftest.$ac_ext
109044 fi
109045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109047 if test `eval echo '${'$as_ac_var'}'` = yes; then
109048 cat >>confdefs.h <<_ACEOF
109049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109050 _ACEOF
109051
109052 else
109053 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109054 fi
109055 done
109056
109057
109058
109059 for ac_func in __signbit
109060 do
109061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109062 echo "$as_me:$LINENO: checking for $ac_func" >&5
109063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109064 if eval "test \"\${$as_ac_var+set}\" = set"; then
109065 echo $ECHO_N "(cached) $ECHO_C" >&6
109066 else
109067 if test x$gcc_no_link = xyes; then
109068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109070 { (exit 1); exit 1; }; }
109071 fi
109072 cat >conftest.$ac_ext <<_ACEOF
109073 /* confdefs.h. */
109074 _ACEOF
109075 cat confdefs.h >>conftest.$ac_ext
109076 cat >>conftest.$ac_ext <<_ACEOF
109077 /* end confdefs.h. */
109078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109080 #define $ac_func innocuous_$ac_func
109081
109082 /* System header to define __stub macros and hopefully few prototypes,
109083 which can conflict with char $ac_func (); below.
109084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109085 <limits.h> exists even on freestanding compilers. */
109086
109087 #ifdef __STDC__
109088 # include <limits.h>
109089 #else
109090 # include <assert.h>
109091 #endif
109092
109093 #undef $ac_func
109094
109095 /* Override any gcc2 internal prototype to avoid an error. */
109096 #ifdef __cplusplus
109097 extern "C"
109098 {
109099 #endif
109100 /* We use char because int might match the return type of a gcc2
109101 builtin and then its argument prototype would still apply. */
109102 char $ac_func ();
109103 /* The GNU C library defines this for functions which it implements
109104 to always fail with ENOSYS. Some functions are actually named
109105 something starting with __ and the normal name is an alias. */
109106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109107 choke me
109108 #else
109109 char (*f) () = $ac_func;
109110 #endif
109111 #ifdef __cplusplus
109112 }
109113 #endif
109114
109115 int
109116 main ()
109117 {
109118 return f != $ac_func;
109119 ;
109120 return 0;
109121 }
109122 _ACEOF
109123 rm -f conftest.$ac_objext conftest$ac_exeext
109124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109125 (eval $ac_link) 2>conftest.er1
109126 ac_status=$?
109127 grep -v '^ *+' conftest.er1 >conftest.err
109128 rm -f conftest.er1
109129 cat conftest.err >&5
109130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109131 (exit $ac_status); } &&
109132 { ac_try='test -z "$ac_c_werror_flag"
109133 || test ! -s conftest.err'
109134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109135 (eval $ac_try) 2>&5
109136 ac_status=$?
109137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109138 (exit $ac_status); }; } &&
109139 { ac_try='test -s conftest$ac_exeext'
109140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109141 (eval $ac_try) 2>&5
109142 ac_status=$?
109143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109144 (exit $ac_status); }; }; then
109145 eval "$as_ac_var=yes"
109146 else
109147 echo "$as_me: failed program was:" >&5
109148 sed 's/^/| /' conftest.$ac_ext >&5
109149
109150 eval "$as_ac_var=no"
109151 fi
109152 rm -f conftest.err conftest.$ac_objext \
109153 conftest$ac_exeext conftest.$ac_ext
109154 fi
109155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109157 if test `eval echo '${'$as_ac_var'}'` = yes; then
109158 cat >>confdefs.h <<_ACEOF
109159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109160 _ACEOF
109161
109162 else
109163 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109164 fi
109165 done
109166
109167
109168
109169 for ac_func in __signbitf
109170 do
109171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109172 echo "$as_me:$LINENO: checking for $ac_func" >&5
109173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109174 if eval "test \"\${$as_ac_var+set}\" = set"; then
109175 echo $ECHO_N "(cached) $ECHO_C" >&6
109176 else
109177 if test x$gcc_no_link = xyes; then
109178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109180 { (exit 1); exit 1; }; }
109181 fi
109182 cat >conftest.$ac_ext <<_ACEOF
109183 /* confdefs.h. */
109184 _ACEOF
109185 cat confdefs.h >>conftest.$ac_ext
109186 cat >>conftest.$ac_ext <<_ACEOF
109187 /* end confdefs.h. */
109188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109190 #define $ac_func innocuous_$ac_func
109191
109192 /* System header to define __stub macros and hopefully few prototypes,
109193 which can conflict with char $ac_func (); below.
109194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109195 <limits.h> exists even on freestanding compilers. */
109196
109197 #ifdef __STDC__
109198 # include <limits.h>
109199 #else
109200 # include <assert.h>
109201 #endif
109202
109203 #undef $ac_func
109204
109205 /* Override any gcc2 internal prototype to avoid an error. */
109206 #ifdef __cplusplus
109207 extern "C"
109208 {
109209 #endif
109210 /* We use char because int might match the return type of a gcc2
109211 builtin and then its argument prototype would still apply. */
109212 char $ac_func ();
109213 /* The GNU C library defines this for functions which it implements
109214 to always fail with ENOSYS. Some functions are actually named
109215 something starting with __ and the normal name is an alias. */
109216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109217 choke me
109218 #else
109219 char (*f) () = $ac_func;
109220 #endif
109221 #ifdef __cplusplus
109222 }
109223 #endif
109224
109225 int
109226 main ()
109227 {
109228 return f != $ac_func;
109229 ;
109230 return 0;
109231 }
109232 _ACEOF
109233 rm -f conftest.$ac_objext conftest$ac_exeext
109234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109235 (eval $ac_link) 2>conftest.er1
109236 ac_status=$?
109237 grep -v '^ *+' conftest.er1 >conftest.err
109238 rm -f conftest.er1
109239 cat conftest.err >&5
109240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109241 (exit $ac_status); } &&
109242 { ac_try='test -z "$ac_c_werror_flag"
109243 || test ! -s conftest.err'
109244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109245 (eval $ac_try) 2>&5
109246 ac_status=$?
109247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109248 (exit $ac_status); }; } &&
109249 { ac_try='test -s conftest$ac_exeext'
109250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109251 (eval $ac_try) 2>&5
109252 ac_status=$?
109253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109254 (exit $ac_status); }; }; then
109255 eval "$as_ac_var=yes"
109256 else
109257 echo "$as_me: failed program was:" >&5
109258 sed 's/^/| /' conftest.$ac_ext >&5
109259
109260 eval "$as_ac_var=no"
109261 fi
109262 rm -f conftest.err conftest.$ac_objext \
109263 conftest$ac_exeext conftest.$ac_ext
109264 fi
109265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109267 if test `eval echo '${'$as_ac_var'}'` = yes; then
109268 cat >>confdefs.h <<_ACEOF
109269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109270 _ACEOF
109271
109272 else
109273 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109274 fi
109275 done
109276
109277
109278 if test x$ac_cv_func_copysignl = x"yes"; then
109279
109280 for ac_func in __signbitl
109281 do
109282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109283 echo "$as_me:$LINENO: checking for $ac_func" >&5
109284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109285 if eval "test \"\${$as_ac_var+set}\" = set"; then
109286 echo $ECHO_N "(cached) $ECHO_C" >&6
109287 else
109288 if test x$gcc_no_link = xyes; then
109289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109291 { (exit 1); exit 1; }; }
109292 fi
109293 cat >conftest.$ac_ext <<_ACEOF
109294 /* confdefs.h. */
109295 _ACEOF
109296 cat confdefs.h >>conftest.$ac_ext
109297 cat >>conftest.$ac_ext <<_ACEOF
109298 /* end confdefs.h. */
109299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109301 #define $ac_func innocuous_$ac_func
109302
109303 /* System header to define __stub macros and hopefully few prototypes,
109304 which can conflict with char $ac_func (); below.
109305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109306 <limits.h> exists even on freestanding compilers. */
109307
109308 #ifdef __STDC__
109309 # include <limits.h>
109310 #else
109311 # include <assert.h>
109312 #endif
109313
109314 #undef $ac_func
109315
109316 /* Override any gcc2 internal prototype to avoid an error. */
109317 #ifdef __cplusplus
109318 extern "C"
109319 {
109320 #endif
109321 /* We use char because int might match the return type of a gcc2
109322 builtin and then its argument prototype would still apply. */
109323 char $ac_func ();
109324 /* The GNU C library defines this for functions which it implements
109325 to always fail with ENOSYS. Some functions are actually named
109326 something starting with __ and the normal name is an alias. */
109327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109328 choke me
109329 #else
109330 char (*f) () = $ac_func;
109331 #endif
109332 #ifdef __cplusplus
109333 }
109334 #endif
109335
109336 int
109337 main ()
109338 {
109339 return f != $ac_func;
109340 ;
109341 return 0;
109342 }
109343 _ACEOF
109344 rm -f conftest.$ac_objext conftest$ac_exeext
109345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109346 (eval $ac_link) 2>conftest.er1
109347 ac_status=$?
109348 grep -v '^ *+' conftest.er1 >conftest.err
109349 rm -f conftest.er1
109350 cat conftest.err >&5
109351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109352 (exit $ac_status); } &&
109353 { ac_try='test -z "$ac_c_werror_flag"
109354 || test ! -s conftest.err'
109355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109356 (eval $ac_try) 2>&5
109357 ac_status=$?
109358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109359 (exit $ac_status); }; } &&
109360 { ac_try='test -s conftest$ac_exeext'
109361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109362 (eval $ac_try) 2>&5
109363 ac_status=$?
109364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109365 (exit $ac_status); }; }; then
109366 eval "$as_ac_var=yes"
109367 else
109368 echo "$as_me: failed program was:" >&5
109369 sed 's/^/| /' conftest.$ac_ext >&5
109370
109371 eval "$as_ac_var=no"
109372 fi
109373 rm -f conftest.err conftest.$ac_objext \
109374 conftest$ac_exeext conftest.$ac_ext
109375 fi
109376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109378 if test `eval echo '${'$as_ac_var'}'` = yes; then
109379 cat >>confdefs.h <<_ACEOF
109380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109381 _ACEOF
109382
109383 else
109384 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109385 fi
109386 done
109387
109388 fi
109389
109390 # Used in libmath/Makefile.am.
109391 if test -n "$LIBMATHOBJS"; then
109392 need_libmath=yes
109393 fi
109394
109395
109396 ;;
109397 *-netbsd*)
109398
109399
109400
109401
109402
109403
109404
109405
109406
109407
109408
109409
109410 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
109411 machine/endian.h machine/param.h sys/machine.h sys/types.h \
109412 fp.h locale.h float.h inttypes.h
109413 do
109414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109416 echo "$as_me:$LINENO: checking for $ac_header" >&5
109417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109419 echo $ECHO_N "(cached) $ECHO_C" >&6
109420 fi
109421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109423 else
109424 # Is the header compilable?
109425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109427 cat >conftest.$ac_ext <<_ACEOF
109428 /* confdefs.h. */
109429 _ACEOF
109430 cat confdefs.h >>conftest.$ac_ext
109431 cat >>conftest.$ac_ext <<_ACEOF
109432 /* end confdefs.h. */
109433 $ac_includes_default
109434 #include <$ac_header>
109435 _ACEOF
109436 rm -f conftest.$ac_objext
109437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109438 (eval $ac_compile) 2>conftest.er1
109439 ac_status=$?
109440 grep -v '^ *+' conftest.er1 >conftest.err
109441 rm -f conftest.er1
109442 cat conftest.err >&5
109443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109444 (exit $ac_status); } &&
109445 { ac_try='test -z "$ac_c_werror_flag"
109446 || test ! -s conftest.err'
109447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109448 (eval $ac_try) 2>&5
109449 ac_status=$?
109450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109451 (exit $ac_status); }; } &&
109452 { ac_try='test -s conftest.$ac_objext'
109453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109454 (eval $ac_try) 2>&5
109455 ac_status=$?
109456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109457 (exit $ac_status); }; }; then
109458 ac_header_compiler=yes
109459 else
109460 echo "$as_me: failed program was:" >&5
109461 sed 's/^/| /' conftest.$ac_ext >&5
109462
109463 ac_header_compiler=no
109464 fi
109465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109467 echo "${ECHO_T}$ac_header_compiler" >&6
109468
109469 # Is the header present?
109470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109472 cat >conftest.$ac_ext <<_ACEOF
109473 /* confdefs.h. */
109474 _ACEOF
109475 cat confdefs.h >>conftest.$ac_ext
109476 cat >>conftest.$ac_ext <<_ACEOF
109477 /* end confdefs.h. */
109478 #include <$ac_header>
109479 _ACEOF
109480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109482 ac_status=$?
109483 grep -v '^ *+' conftest.er1 >conftest.err
109484 rm -f conftest.er1
109485 cat conftest.err >&5
109486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109487 (exit $ac_status); } >/dev/null; then
109488 if test -s conftest.err; then
109489 ac_cpp_err=$ac_c_preproc_warn_flag
109490 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109491 else
109492 ac_cpp_err=
109493 fi
109494 else
109495 ac_cpp_err=yes
109496 fi
109497 if test -z "$ac_cpp_err"; then
109498 ac_header_preproc=yes
109499 else
109500 echo "$as_me: failed program was:" >&5
109501 sed 's/^/| /' conftest.$ac_ext >&5
109502
109503 ac_header_preproc=no
109504 fi
109505 rm -f conftest.err conftest.$ac_ext
109506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109507 echo "${ECHO_T}$ac_header_preproc" >&6
109508
109509 # So? What about this header?
109510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109511 yes:no: )
109512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109516 ac_header_preproc=yes
109517 ;;
109518 no:yes:* )
109519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109531 (
109532 cat <<\_ASBOX
109533 ## ----------------------------------------- ##
109534 ## Report this to the package-unused lists. ##
109535 ## ----------------------------------------- ##
109536 _ASBOX
109537 ) |
109538 sed "s/^/$as_me: WARNING: /" >&2
109539 ;;
109540 esac
109541 echo "$as_me:$LINENO: checking for $ac_header" >&5
109542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109544 echo $ECHO_N "(cached) $ECHO_C" >&6
109545 else
109546 eval "$as_ac_Header=\$ac_header_preproc"
109547 fi
109548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109550
109551 fi
109552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109553 cat >>confdefs.h <<_ACEOF
109554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109555 _ACEOF
109556
109557 fi
109558
109559 done
109560
109561 SECTION_FLAGS='-ffunction-sections -fdata-sections'
109562
109563
109564 # If we're not using GNU ld, then there's no point in even trying these
109565 # tests. Check for that first. We should have already tested for gld
109566 # by now (in libtool), but require it now just to be safe...
109567 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109568 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109569
109570
109571
109572 # The name set by libtool depends on the version of libtool. Shame on us
109573 # for depending on an impl detail, but c'est la vie. Older versions used
109574 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109575 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109576 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109577 # set (hence we're using an older libtool), then set it.
109578 if test x${with_gnu_ld+set} != xset; then
109579 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109580 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109581 with_gnu_ld=no
109582 else
109583 with_gnu_ld=$ac_cv_prog_gnu_ld
109584 fi
109585 fi
109586
109587 # Start by getting the version number. I think the libtool test already
109588 # does some of this, but throws away the result.
109589 if test x"$with_gnu_ld" = x"yes"; then
109590 echo "$as_me:$LINENO: checking for ld version" >&5
109591 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109592
109593 ldver=`$LD --version 2>/dev/null | head -1 | \
109594 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109595
109596 glibcxx_gnu_ld_version=`echo $ldver | \
109597 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109598 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109599 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109600 fi
109601
109602 # Set --gc-sections.
109603 glibcxx_gcsections_min_ld=21602
109604 if test x"$with_gnu_ld" = x"yes" &&
109605 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109606
109607 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109608 # NB: This flag only works reliably after 2.16.1. Configure tests
109609 # for this are difficult, so hard wire a value that should work.
109610
109611 ac_test_CFLAGS="${CFLAGS+set}"
109612 ac_save_CFLAGS="$CFLAGS"
109613 CFLAGS='-Wl,--gc-sections'
109614
109615 # Check for -Wl,--gc-sections
109616 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109617 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109618 if test x$gcc_no_link = xyes; then
109619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109621 { (exit 1); exit 1; }; }
109622 fi
109623 cat >conftest.$ac_ext <<_ACEOF
109624 /* confdefs.h. */
109625 _ACEOF
109626 cat confdefs.h >>conftest.$ac_ext
109627 cat >>conftest.$ac_ext <<_ACEOF
109628 /* end confdefs.h. */
109629 int one(void) { return 1; }
109630 int two(void) { return 2; }
109631
109632 int
109633 main ()
109634 {
109635 two();
109636 ;
109637 return 0;
109638 }
109639 _ACEOF
109640 rm -f conftest.$ac_objext conftest$ac_exeext
109641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109642 (eval $ac_link) 2>conftest.er1
109643 ac_status=$?
109644 grep -v '^ *+' conftest.er1 >conftest.err
109645 rm -f conftest.er1
109646 cat conftest.err >&5
109647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109648 (exit $ac_status); } &&
109649 { ac_try='test -z "$ac_c_werror_flag"
109650 || test ! -s conftest.err'
109651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109652 (eval $ac_try) 2>&5
109653 ac_status=$?
109654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109655 (exit $ac_status); }; } &&
109656 { ac_try='test -s conftest$ac_exeext'
109657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109658 (eval $ac_try) 2>&5
109659 ac_status=$?
109660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109661 (exit $ac_status); }; }; then
109662 ac_gcsections=yes
109663 else
109664 echo "$as_me: failed program was:" >&5
109665 sed 's/^/| /' conftest.$ac_ext >&5
109666
109667 ac_gcsections=no
109668 fi
109669 rm -f conftest.err conftest.$ac_objext \
109670 conftest$ac_exeext conftest.$ac_ext
109671 if test "$ac_gcsections" = "yes"; then
109672 rm -f conftest.c
109673 touch conftest.c
109674 if $CC -c conftest.c; then
109675 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109676 grep "Warning: gc-sections option ignored" > /dev/null; then
109677 ac_gcsections=no
109678 fi
109679 fi
109680 rm -f conftest.c conftest.o conftest
109681 fi
109682 if test "$ac_gcsections" = "yes"; then
109683 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109684 fi
109685 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109686 echo "${ECHO_T}$ac_gcsections" >&6
109687
109688 if test "$ac_test_CFLAGS" = set; then
109689 CFLAGS="$ac_save_CFLAGS"
109690 else
109691 # this is the suspicious part
109692 CFLAGS=''
109693 fi
109694 fi
109695
109696 # Set -z,relro.
109697 # Note this is only for shared objects.
109698 ac_ld_relro=no
109699 if test x"$with_gnu_ld" = x"yes"; then
109700 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109701 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109702 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109703 if test -n "$cxx_z_relo"; then
109704 OPT_LDFLAGS="-Wl,-z,relro"
109705 ac_ld_relro=yes
109706 fi
109707 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109708 echo "${ECHO_T}$ac_ld_relro" >&6
109709 fi
109710
109711 # Set linker optimization flags.
109712 if test x"$with_gnu_ld" = x"yes"; then
109713 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109714 fi
109715
109716
109717
109718
109719
109720
109721 echo "$as_me:$LINENO: checking for main in -lm" >&5
109722 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109723 if test "${ac_cv_lib_m_main+set}" = set; then
109724 echo $ECHO_N "(cached) $ECHO_C" >&6
109725 else
109726 ac_check_lib_save_LIBS=$LIBS
109727 LIBS="-lm $LIBS"
109728 if test x$gcc_no_link = xyes; then
109729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109731 { (exit 1); exit 1; }; }
109732 fi
109733 cat >conftest.$ac_ext <<_ACEOF
109734 /* confdefs.h. */
109735 _ACEOF
109736 cat confdefs.h >>conftest.$ac_ext
109737 cat >>conftest.$ac_ext <<_ACEOF
109738 /* end confdefs.h. */
109739
109740
109741 int
109742 main ()
109743 {
109744 main ();
109745 ;
109746 return 0;
109747 }
109748 _ACEOF
109749 rm -f conftest.$ac_objext conftest$ac_exeext
109750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109751 (eval $ac_link) 2>conftest.er1
109752 ac_status=$?
109753 grep -v '^ *+' conftest.er1 >conftest.err
109754 rm -f conftest.er1
109755 cat conftest.err >&5
109756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109757 (exit $ac_status); } &&
109758 { ac_try='test -z "$ac_c_werror_flag"
109759 || test ! -s conftest.err'
109760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109761 (eval $ac_try) 2>&5
109762 ac_status=$?
109763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109764 (exit $ac_status); }; } &&
109765 { ac_try='test -s conftest$ac_exeext'
109766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109767 (eval $ac_try) 2>&5
109768 ac_status=$?
109769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109770 (exit $ac_status); }; }; then
109771 ac_cv_lib_m_main=yes
109772 else
109773 echo "$as_me: failed program was:" >&5
109774 sed 's/^/| /' conftest.$ac_ext >&5
109775
109776 ac_cv_lib_m_main=no
109777 fi
109778 rm -f conftest.err conftest.$ac_objext \
109779 conftest$ac_exeext conftest.$ac_ext
109780 LIBS=$ac_check_lib_save_LIBS
109781 fi
109782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
109783 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
109784 if test $ac_cv_lib_m_main = yes; then
109785 cat >>confdefs.h <<_ACEOF
109786 #define HAVE_LIBM 1
109787 _ACEOF
109788
109789 LIBS="-lm $LIBS"
109790
109791 fi
109792
109793
109794 for ac_func in copysignf
109795 do
109796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109797 echo "$as_me:$LINENO: checking for $ac_func" >&5
109798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109799 if eval "test \"\${$as_ac_var+set}\" = set"; then
109800 echo $ECHO_N "(cached) $ECHO_C" >&6
109801 else
109802 if test x$gcc_no_link = xyes; then
109803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109805 { (exit 1); exit 1; }; }
109806 fi
109807 cat >conftest.$ac_ext <<_ACEOF
109808 /* confdefs.h. */
109809 _ACEOF
109810 cat confdefs.h >>conftest.$ac_ext
109811 cat >>conftest.$ac_ext <<_ACEOF
109812 /* end confdefs.h. */
109813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109815 #define $ac_func innocuous_$ac_func
109816
109817 /* System header to define __stub macros and hopefully few prototypes,
109818 which can conflict with char $ac_func (); below.
109819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109820 <limits.h> exists even on freestanding compilers. */
109821
109822 #ifdef __STDC__
109823 # include <limits.h>
109824 #else
109825 # include <assert.h>
109826 #endif
109827
109828 #undef $ac_func
109829
109830 /* Override any gcc2 internal prototype to avoid an error. */
109831 #ifdef __cplusplus
109832 extern "C"
109833 {
109834 #endif
109835 /* We use char because int might match the return type of a gcc2
109836 builtin and then its argument prototype would still apply. */
109837 char $ac_func ();
109838 /* The GNU C library defines this for functions which it implements
109839 to always fail with ENOSYS. Some functions are actually named
109840 something starting with __ and the normal name is an alias. */
109841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109842 choke me
109843 #else
109844 char (*f) () = $ac_func;
109845 #endif
109846 #ifdef __cplusplus
109847 }
109848 #endif
109849
109850 int
109851 main ()
109852 {
109853 return f != $ac_func;
109854 ;
109855 return 0;
109856 }
109857 _ACEOF
109858 rm -f conftest.$ac_objext conftest$ac_exeext
109859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109860 (eval $ac_link) 2>conftest.er1
109861 ac_status=$?
109862 grep -v '^ *+' conftest.er1 >conftest.err
109863 rm -f conftest.er1
109864 cat conftest.err >&5
109865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109866 (exit $ac_status); } &&
109867 { ac_try='test -z "$ac_c_werror_flag"
109868 || test ! -s conftest.err'
109869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109870 (eval $ac_try) 2>&5
109871 ac_status=$?
109872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109873 (exit $ac_status); }; } &&
109874 { ac_try='test -s conftest$ac_exeext'
109875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109876 (eval $ac_try) 2>&5
109877 ac_status=$?
109878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109879 (exit $ac_status); }; }; then
109880 eval "$as_ac_var=yes"
109881 else
109882 echo "$as_me: failed program was:" >&5
109883 sed 's/^/| /' conftest.$ac_ext >&5
109884
109885 eval "$as_ac_var=no"
109886 fi
109887 rm -f conftest.err conftest.$ac_objext \
109888 conftest$ac_exeext conftest.$ac_ext
109889 fi
109890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109892 if test `eval echo '${'$as_ac_var'}'` = yes; then
109893 cat >>confdefs.h <<_ACEOF
109894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109895 _ACEOF
109896
109897 else
109898 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109899 fi
109900 done
109901
109902
109903
109904 for ac_func in __signbit
109905 do
109906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109907 echo "$as_me:$LINENO: checking for $ac_func" >&5
109908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109909 if eval "test \"\${$as_ac_var+set}\" = set"; then
109910 echo $ECHO_N "(cached) $ECHO_C" >&6
109911 else
109912 if test x$gcc_no_link = xyes; then
109913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109915 { (exit 1); exit 1; }; }
109916 fi
109917 cat >conftest.$ac_ext <<_ACEOF
109918 /* confdefs.h. */
109919 _ACEOF
109920 cat confdefs.h >>conftest.$ac_ext
109921 cat >>conftest.$ac_ext <<_ACEOF
109922 /* end confdefs.h. */
109923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109925 #define $ac_func innocuous_$ac_func
109926
109927 /* System header to define __stub macros and hopefully few prototypes,
109928 which can conflict with char $ac_func (); below.
109929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109930 <limits.h> exists even on freestanding compilers. */
109931
109932 #ifdef __STDC__
109933 # include <limits.h>
109934 #else
109935 # include <assert.h>
109936 #endif
109937
109938 #undef $ac_func
109939
109940 /* Override any gcc2 internal prototype to avoid an error. */
109941 #ifdef __cplusplus
109942 extern "C"
109943 {
109944 #endif
109945 /* We use char because int might match the return type of a gcc2
109946 builtin and then its argument prototype would still apply. */
109947 char $ac_func ();
109948 /* The GNU C library defines this for functions which it implements
109949 to always fail with ENOSYS. Some functions are actually named
109950 something starting with __ and the normal name is an alias. */
109951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109952 choke me
109953 #else
109954 char (*f) () = $ac_func;
109955 #endif
109956 #ifdef __cplusplus
109957 }
109958 #endif
109959
109960 int
109961 main ()
109962 {
109963 return f != $ac_func;
109964 ;
109965 return 0;
109966 }
109967 _ACEOF
109968 rm -f conftest.$ac_objext conftest$ac_exeext
109969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109970 (eval $ac_link) 2>conftest.er1
109971 ac_status=$?
109972 grep -v '^ *+' conftest.er1 >conftest.err
109973 rm -f conftest.er1
109974 cat conftest.err >&5
109975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109976 (exit $ac_status); } &&
109977 { ac_try='test -z "$ac_c_werror_flag"
109978 || test ! -s conftest.err'
109979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109980 (eval $ac_try) 2>&5
109981 ac_status=$?
109982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109983 (exit $ac_status); }; } &&
109984 { ac_try='test -s conftest$ac_exeext'
109985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109986 (eval $ac_try) 2>&5
109987 ac_status=$?
109988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109989 (exit $ac_status); }; }; then
109990 eval "$as_ac_var=yes"
109991 else
109992 echo "$as_me: failed program was:" >&5
109993 sed 's/^/| /' conftest.$ac_ext >&5
109994
109995 eval "$as_ac_var=no"
109996 fi
109997 rm -f conftest.err conftest.$ac_objext \
109998 conftest$ac_exeext conftest.$ac_ext
109999 fi
110000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110002 if test `eval echo '${'$as_ac_var'}'` = yes; then
110003 cat >>confdefs.h <<_ACEOF
110004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110005 _ACEOF
110006
110007 else
110008 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110009 fi
110010 done
110011
110012
110013
110014 for ac_func in __signbitf
110015 do
110016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110017 echo "$as_me:$LINENO: checking for $ac_func" >&5
110018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110019 if eval "test \"\${$as_ac_var+set}\" = set"; then
110020 echo $ECHO_N "(cached) $ECHO_C" >&6
110021 else
110022 if test x$gcc_no_link = xyes; then
110023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110025 { (exit 1); exit 1; }; }
110026 fi
110027 cat >conftest.$ac_ext <<_ACEOF
110028 /* confdefs.h. */
110029 _ACEOF
110030 cat confdefs.h >>conftest.$ac_ext
110031 cat >>conftest.$ac_ext <<_ACEOF
110032 /* end confdefs.h. */
110033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110035 #define $ac_func innocuous_$ac_func
110036
110037 /* System header to define __stub macros and hopefully few prototypes,
110038 which can conflict with char $ac_func (); below.
110039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110040 <limits.h> exists even on freestanding compilers. */
110041
110042 #ifdef __STDC__
110043 # include <limits.h>
110044 #else
110045 # include <assert.h>
110046 #endif
110047
110048 #undef $ac_func
110049
110050 /* Override any gcc2 internal prototype to avoid an error. */
110051 #ifdef __cplusplus
110052 extern "C"
110053 {
110054 #endif
110055 /* We use char because int might match the return type of a gcc2
110056 builtin and then its argument prototype would still apply. */
110057 char $ac_func ();
110058 /* The GNU C library defines this for functions which it implements
110059 to always fail with ENOSYS. Some functions are actually named
110060 something starting with __ and the normal name is an alias. */
110061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110062 choke me
110063 #else
110064 char (*f) () = $ac_func;
110065 #endif
110066 #ifdef __cplusplus
110067 }
110068 #endif
110069
110070 int
110071 main ()
110072 {
110073 return f != $ac_func;
110074 ;
110075 return 0;
110076 }
110077 _ACEOF
110078 rm -f conftest.$ac_objext conftest$ac_exeext
110079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110080 (eval $ac_link) 2>conftest.er1
110081 ac_status=$?
110082 grep -v '^ *+' conftest.er1 >conftest.err
110083 rm -f conftest.er1
110084 cat conftest.err >&5
110085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110086 (exit $ac_status); } &&
110087 { ac_try='test -z "$ac_c_werror_flag"
110088 || test ! -s conftest.err'
110089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110090 (eval $ac_try) 2>&5
110091 ac_status=$?
110092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110093 (exit $ac_status); }; } &&
110094 { ac_try='test -s conftest$ac_exeext'
110095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110096 (eval $ac_try) 2>&5
110097 ac_status=$?
110098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110099 (exit $ac_status); }; }; then
110100 eval "$as_ac_var=yes"
110101 else
110102 echo "$as_me: failed program was:" >&5
110103 sed 's/^/| /' conftest.$ac_ext >&5
110104
110105 eval "$as_ac_var=no"
110106 fi
110107 rm -f conftest.err conftest.$ac_objext \
110108 conftest$ac_exeext conftest.$ac_ext
110109 fi
110110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110112 if test `eval echo '${'$as_ac_var'}'` = yes; then
110113 cat >>confdefs.h <<_ACEOF
110114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110115 _ACEOF
110116
110117 else
110118 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110119 fi
110120 done
110121
110122
110123 if test x$ac_cv_func_copysignl = x"yes"; then
110124
110125 for ac_func in __signbitl
110126 do
110127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110128 echo "$as_me:$LINENO: checking for $ac_func" >&5
110129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110130 if eval "test \"\${$as_ac_var+set}\" = set"; then
110131 echo $ECHO_N "(cached) $ECHO_C" >&6
110132 else
110133 if test x$gcc_no_link = xyes; then
110134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110136 { (exit 1); exit 1; }; }
110137 fi
110138 cat >conftest.$ac_ext <<_ACEOF
110139 /* confdefs.h. */
110140 _ACEOF
110141 cat confdefs.h >>conftest.$ac_ext
110142 cat >>conftest.$ac_ext <<_ACEOF
110143 /* end confdefs.h. */
110144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110146 #define $ac_func innocuous_$ac_func
110147
110148 /* System header to define __stub macros and hopefully few prototypes,
110149 which can conflict with char $ac_func (); below.
110150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110151 <limits.h> exists even on freestanding compilers. */
110152
110153 #ifdef __STDC__
110154 # include <limits.h>
110155 #else
110156 # include <assert.h>
110157 #endif
110158
110159 #undef $ac_func
110160
110161 /* Override any gcc2 internal prototype to avoid an error. */
110162 #ifdef __cplusplus
110163 extern "C"
110164 {
110165 #endif
110166 /* We use char because int might match the return type of a gcc2
110167 builtin and then its argument prototype would still apply. */
110168 char $ac_func ();
110169 /* The GNU C library defines this for functions which it implements
110170 to always fail with ENOSYS. Some functions are actually named
110171 something starting with __ and the normal name is an alias. */
110172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110173 choke me
110174 #else
110175 char (*f) () = $ac_func;
110176 #endif
110177 #ifdef __cplusplus
110178 }
110179 #endif
110180
110181 int
110182 main ()
110183 {
110184 return f != $ac_func;
110185 ;
110186 return 0;
110187 }
110188 _ACEOF
110189 rm -f conftest.$ac_objext conftest$ac_exeext
110190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110191 (eval $ac_link) 2>conftest.er1
110192 ac_status=$?
110193 grep -v '^ *+' conftest.er1 >conftest.err
110194 rm -f conftest.er1
110195 cat conftest.err >&5
110196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110197 (exit $ac_status); } &&
110198 { ac_try='test -z "$ac_c_werror_flag"
110199 || test ! -s conftest.err'
110200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110201 (eval $ac_try) 2>&5
110202 ac_status=$?
110203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110204 (exit $ac_status); }; } &&
110205 { ac_try='test -s conftest$ac_exeext'
110206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110207 (eval $ac_try) 2>&5
110208 ac_status=$?
110209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110210 (exit $ac_status); }; }; then
110211 eval "$as_ac_var=yes"
110212 else
110213 echo "$as_me: failed program was:" >&5
110214 sed 's/^/| /' conftest.$ac_ext >&5
110215
110216 eval "$as_ac_var=no"
110217 fi
110218 rm -f conftest.err conftest.$ac_objext \
110219 conftest$ac_exeext conftest.$ac_ext
110220 fi
110221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110223 if test `eval echo '${'$as_ac_var'}'` = yes; then
110224 cat >>confdefs.h <<_ACEOF
110225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110226 _ACEOF
110227
110228 else
110229 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110230 fi
110231 done
110232
110233 fi
110234
110235 # Used in libmath/Makefile.am.
110236 if test -n "$LIBMATHOBJS"; then
110237 need_libmath=yes
110238 fi
110239
110240
110241 cat >>confdefs.h <<\_ACEOF
110242 #define HAVE_COPYSIGN 1
110243 _ACEOF
110244
110245 cat >>confdefs.h <<\_ACEOF
110246 #define HAVE_COPYSIGNF 1
110247 _ACEOF
110248
110249 cat >>confdefs.h <<\_ACEOF
110250 #define HAVE_FINITEF 1
110251 _ACEOF
110252
110253 cat >>confdefs.h <<\_ACEOF
110254 #define HAVE_FINITE 1
110255 _ACEOF
110256
110257 cat >>confdefs.h <<\_ACEOF
110258 #define HAVE_FREXPF 1
110259 _ACEOF
110260
110261 cat >>confdefs.h <<\_ACEOF
110262 #define HAVE_HYPOTF 1
110263 _ACEOF
110264
110265 cat >>confdefs.h <<\_ACEOF
110266 #define HAVE_ISINF 1
110267 _ACEOF
110268
110269 cat >>confdefs.h <<\_ACEOF
110270 #define HAVE_ISINFF 1
110271 _ACEOF
110272
110273 cat >>confdefs.h <<\_ACEOF
110274 #define HAVE_ISNAN 1
110275 _ACEOF
110276
110277 cat >>confdefs.h <<\_ACEOF
110278 #define HAVE_ISNANF 1
110279 _ACEOF
110280
110281 if test x"long_double_math_on_this_cpu" = x"yes"; then
110282 cat >>confdefs.h <<\_ACEOF
110283 #define HAVE_FINITEL 1
110284 _ACEOF
110285
110286 cat >>confdefs.h <<\_ACEOF
110287 #define HAVE_ISINFL 1
110288 _ACEOF
110289
110290 cat >>confdefs.h <<\_ACEOF
110291 #define HAVE_ISNANL 1
110292 _ACEOF
110293
110294 fi
110295 ;;
110296 *-netware)
110297
110298
110299
110300
110301
110302
110303
110304
110305 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
110306 sys/types.h locale.h float.h inttypes.h
110307 do
110308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110310 echo "$as_me:$LINENO: checking for $ac_header" >&5
110311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110313 echo $ECHO_N "(cached) $ECHO_C" >&6
110314 fi
110315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110317 else
110318 # Is the header compilable?
110319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110321 cat >conftest.$ac_ext <<_ACEOF
110322 /* confdefs.h. */
110323 _ACEOF
110324 cat confdefs.h >>conftest.$ac_ext
110325 cat >>conftest.$ac_ext <<_ACEOF
110326 /* end confdefs.h. */
110327 $ac_includes_default
110328 #include <$ac_header>
110329 _ACEOF
110330 rm -f conftest.$ac_objext
110331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110332 (eval $ac_compile) 2>conftest.er1
110333 ac_status=$?
110334 grep -v '^ *+' conftest.er1 >conftest.err
110335 rm -f conftest.er1
110336 cat conftest.err >&5
110337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110338 (exit $ac_status); } &&
110339 { ac_try='test -z "$ac_c_werror_flag"
110340 || test ! -s conftest.err'
110341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110342 (eval $ac_try) 2>&5
110343 ac_status=$?
110344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110345 (exit $ac_status); }; } &&
110346 { ac_try='test -s conftest.$ac_objext'
110347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110348 (eval $ac_try) 2>&5
110349 ac_status=$?
110350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110351 (exit $ac_status); }; }; then
110352 ac_header_compiler=yes
110353 else
110354 echo "$as_me: failed program was:" >&5
110355 sed 's/^/| /' conftest.$ac_ext >&5
110356
110357 ac_header_compiler=no
110358 fi
110359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110361 echo "${ECHO_T}$ac_header_compiler" >&6
110362
110363 # Is the header present?
110364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110366 cat >conftest.$ac_ext <<_ACEOF
110367 /* confdefs.h. */
110368 _ACEOF
110369 cat confdefs.h >>conftest.$ac_ext
110370 cat >>conftest.$ac_ext <<_ACEOF
110371 /* end confdefs.h. */
110372 #include <$ac_header>
110373 _ACEOF
110374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110376 ac_status=$?
110377 grep -v '^ *+' conftest.er1 >conftest.err
110378 rm -f conftest.er1
110379 cat conftest.err >&5
110380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110381 (exit $ac_status); } >/dev/null; then
110382 if test -s conftest.err; then
110383 ac_cpp_err=$ac_c_preproc_warn_flag
110384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110385 else
110386 ac_cpp_err=
110387 fi
110388 else
110389 ac_cpp_err=yes
110390 fi
110391 if test -z "$ac_cpp_err"; then
110392 ac_header_preproc=yes
110393 else
110394 echo "$as_me: failed program was:" >&5
110395 sed 's/^/| /' conftest.$ac_ext >&5
110396
110397 ac_header_preproc=no
110398 fi
110399 rm -f conftest.err conftest.$ac_ext
110400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110401 echo "${ECHO_T}$ac_header_preproc" >&6
110402
110403 # So? What about this header?
110404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110405 yes:no: )
110406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110410 ac_header_preproc=yes
110411 ;;
110412 no:yes:* )
110413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110425 (
110426 cat <<\_ASBOX
110427 ## ----------------------------------------- ##
110428 ## Report this to the package-unused lists. ##
110429 ## ----------------------------------------- ##
110430 _ASBOX
110431 ) |
110432 sed "s/^/$as_me: WARNING: /" >&2
110433 ;;
110434 esac
110435 echo "$as_me:$LINENO: checking for $ac_header" >&5
110436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110438 echo $ECHO_N "(cached) $ECHO_C" >&6
110439 else
110440 eval "$as_ac_Header=\$ac_header_preproc"
110441 fi
110442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110444
110445 fi
110446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110447 cat >>confdefs.h <<_ACEOF
110448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110449 _ACEOF
110450
110451 fi
110452
110453 done
110454
110455 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110456
110457
110458 # If we're not using GNU ld, then there's no point in even trying these
110459 # tests. Check for that first. We should have already tested for gld
110460 # by now (in libtool), but require it now just to be safe...
110461 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110462 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110463
110464
110465
110466 # The name set by libtool depends on the version of libtool. Shame on us
110467 # for depending on an impl detail, but c'est la vie. Older versions used
110468 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110469 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110470 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110471 # set (hence we're using an older libtool), then set it.
110472 if test x${with_gnu_ld+set} != xset; then
110473 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110474 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110475 with_gnu_ld=no
110476 else
110477 with_gnu_ld=$ac_cv_prog_gnu_ld
110478 fi
110479 fi
110480
110481 # Start by getting the version number. I think the libtool test already
110482 # does some of this, but throws away the result.
110483 if test x"$with_gnu_ld" = x"yes"; then
110484 echo "$as_me:$LINENO: checking for ld version" >&5
110485 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110486
110487 ldver=`$LD --version 2>/dev/null | head -1 | \
110488 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110489
110490 glibcxx_gnu_ld_version=`echo $ldver | \
110491 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110492 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110493 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110494 fi
110495
110496 # Set --gc-sections.
110497 glibcxx_gcsections_min_ld=21602
110498 if test x"$with_gnu_ld" = x"yes" &&
110499 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110500
110501 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110502 # NB: This flag only works reliably after 2.16.1. Configure tests
110503 # for this are difficult, so hard wire a value that should work.
110504
110505 ac_test_CFLAGS="${CFLAGS+set}"
110506 ac_save_CFLAGS="$CFLAGS"
110507 CFLAGS='-Wl,--gc-sections'
110508
110509 # Check for -Wl,--gc-sections
110510 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110511 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110512 if test x$gcc_no_link = xyes; then
110513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110515 { (exit 1); exit 1; }; }
110516 fi
110517 cat >conftest.$ac_ext <<_ACEOF
110518 /* confdefs.h. */
110519 _ACEOF
110520 cat confdefs.h >>conftest.$ac_ext
110521 cat >>conftest.$ac_ext <<_ACEOF
110522 /* end confdefs.h. */
110523 int one(void) { return 1; }
110524 int two(void) { return 2; }
110525
110526 int
110527 main ()
110528 {
110529 two();
110530 ;
110531 return 0;
110532 }
110533 _ACEOF
110534 rm -f conftest.$ac_objext conftest$ac_exeext
110535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110536 (eval $ac_link) 2>conftest.er1
110537 ac_status=$?
110538 grep -v '^ *+' conftest.er1 >conftest.err
110539 rm -f conftest.er1
110540 cat conftest.err >&5
110541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110542 (exit $ac_status); } &&
110543 { ac_try='test -z "$ac_c_werror_flag"
110544 || test ! -s conftest.err'
110545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110546 (eval $ac_try) 2>&5
110547 ac_status=$?
110548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110549 (exit $ac_status); }; } &&
110550 { ac_try='test -s conftest$ac_exeext'
110551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110552 (eval $ac_try) 2>&5
110553 ac_status=$?
110554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110555 (exit $ac_status); }; }; then
110556 ac_gcsections=yes
110557 else
110558 echo "$as_me: failed program was:" >&5
110559 sed 's/^/| /' conftest.$ac_ext >&5
110560
110561 ac_gcsections=no
110562 fi
110563 rm -f conftest.err conftest.$ac_objext \
110564 conftest$ac_exeext conftest.$ac_ext
110565 if test "$ac_gcsections" = "yes"; then
110566 rm -f conftest.c
110567 touch conftest.c
110568 if $CC -c conftest.c; then
110569 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110570 grep "Warning: gc-sections option ignored" > /dev/null; then
110571 ac_gcsections=no
110572 fi
110573 fi
110574 rm -f conftest.c conftest.o conftest
110575 fi
110576 if test "$ac_gcsections" = "yes"; then
110577 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110578 fi
110579 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110580 echo "${ECHO_T}$ac_gcsections" >&6
110581
110582 if test "$ac_test_CFLAGS" = set; then
110583 CFLAGS="$ac_save_CFLAGS"
110584 else
110585 # this is the suspicious part
110586 CFLAGS=''
110587 fi
110588 fi
110589
110590 # Set -z,relro.
110591 # Note this is only for shared objects.
110592 ac_ld_relro=no
110593 if test x"$with_gnu_ld" = x"yes"; then
110594 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110595 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110596 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110597 if test -n "$cxx_z_relo"; then
110598 OPT_LDFLAGS="-Wl,-z,relro"
110599 ac_ld_relro=yes
110600 fi
110601 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110602 echo "${ECHO_T}$ac_ld_relro" >&6
110603 fi
110604
110605 # Set linker optimization flags.
110606 if test x"$with_gnu_ld" = x"yes"; then
110607 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110608 fi
110609
110610
110611
110612
110613
110614
110615 echo "$as_me:$LINENO: checking for main in -lm" >&5
110616 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110617 if test "${ac_cv_lib_m_main+set}" = set; then
110618 echo $ECHO_N "(cached) $ECHO_C" >&6
110619 else
110620 ac_check_lib_save_LIBS=$LIBS
110621 LIBS="-lm $LIBS"
110622 if test x$gcc_no_link = xyes; then
110623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110625 { (exit 1); exit 1; }; }
110626 fi
110627 cat >conftest.$ac_ext <<_ACEOF
110628 /* confdefs.h. */
110629 _ACEOF
110630 cat confdefs.h >>conftest.$ac_ext
110631 cat >>conftest.$ac_ext <<_ACEOF
110632 /* end confdefs.h. */
110633
110634
110635 int
110636 main ()
110637 {
110638 main ();
110639 ;
110640 return 0;
110641 }
110642 _ACEOF
110643 rm -f conftest.$ac_objext conftest$ac_exeext
110644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110645 (eval $ac_link) 2>conftest.er1
110646 ac_status=$?
110647 grep -v '^ *+' conftest.er1 >conftest.err
110648 rm -f conftest.er1
110649 cat conftest.err >&5
110650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110651 (exit $ac_status); } &&
110652 { ac_try='test -z "$ac_c_werror_flag"
110653 || test ! -s conftest.err'
110654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110655 (eval $ac_try) 2>&5
110656 ac_status=$?
110657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110658 (exit $ac_status); }; } &&
110659 { ac_try='test -s conftest$ac_exeext'
110660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110661 (eval $ac_try) 2>&5
110662 ac_status=$?
110663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110664 (exit $ac_status); }; }; then
110665 ac_cv_lib_m_main=yes
110666 else
110667 echo "$as_me: failed program was:" >&5
110668 sed 's/^/| /' conftest.$ac_ext >&5
110669
110670 ac_cv_lib_m_main=no
110671 fi
110672 rm -f conftest.err conftest.$ac_objext \
110673 conftest$ac_exeext conftest.$ac_ext
110674 LIBS=$ac_check_lib_save_LIBS
110675 fi
110676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110677 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110678 if test $ac_cv_lib_m_main = yes; then
110679 cat >>confdefs.h <<_ACEOF
110680 #define HAVE_LIBM 1
110681 _ACEOF
110682
110683 LIBS="-lm $LIBS"
110684
110685 fi
110686
110687
110688 for ac_func in copysignf
110689 do
110690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110691 echo "$as_me:$LINENO: checking for $ac_func" >&5
110692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110693 if eval "test \"\${$as_ac_var+set}\" = set"; then
110694 echo $ECHO_N "(cached) $ECHO_C" >&6
110695 else
110696 if test x$gcc_no_link = xyes; then
110697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110699 { (exit 1); exit 1; }; }
110700 fi
110701 cat >conftest.$ac_ext <<_ACEOF
110702 /* confdefs.h. */
110703 _ACEOF
110704 cat confdefs.h >>conftest.$ac_ext
110705 cat >>conftest.$ac_ext <<_ACEOF
110706 /* end confdefs.h. */
110707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110709 #define $ac_func innocuous_$ac_func
110710
110711 /* System header to define __stub macros and hopefully few prototypes,
110712 which can conflict with char $ac_func (); below.
110713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110714 <limits.h> exists even on freestanding compilers. */
110715
110716 #ifdef __STDC__
110717 # include <limits.h>
110718 #else
110719 # include <assert.h>
110720 #endif
110721
110722 #undef $ac_func
110723
110724 /* Override any gcc2 internal prototype to avoid an error. */
110725 #ifdef __cplusplus
110726 extern "C"
110727 {
110728 #endif
110729 /* We use char because int might match the return type of a gcc2
110730 builtin and then its argument prototype would still apply. */
110731 char $ac_func ();
110732 /* The GNU C library defines this for functions which it implements
110733 to always fail with ENOSYS. Some functions are actually named
110734 something starting with __ and the normal name is an alias. */
110735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110736 choke me
110737 #else
110738 char (*f) () = $ac_func;
110739 #endif
110740 #ifdef __cplusplus
110741 }
110742 #endif
110743
110744 int
110745 main ()
110746 {
110747 return f != $ac_func;
110748 ;
110749 return 0;
110750 }
110751 _ACEOF
110752 rm -f conftest.$ac_objext conftest$ac_exeext
110753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110754 (eval $ac_link) 2>conftest.er1
110755 ac_status=$?
110756 grep -v '^ *+' conftest.er1 >conftest.err
110757 rm -f conftest.er1
110758 cat conftest.err >&5
110759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110760 (exit $ac_status); } &&
110761 { ac_try='test -z "$ac_c_werror_flag"
110762 || test ! -s conftest.err'
110763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110764 (eval $ac_try) 2>&5
110765 ac_status=$?
110766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110767 (exit $ac_status); }; } &&
110768 { ac_try='test -s conftest$ac_exeext'
110769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110770 (eval $ac_try) 2>&5
110771 ac_status=$?
110772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110773 (exit $ac_status); }; }; then
110774 eval "$as_ac_var=yes"
110775 else
110776 echo "$as_me: failed program was:" >&5
110777 sed 's/^/| /' conftest.$ac_ext >&5
110778
110779 eval "$as_ac_var=no"
110780 fi
110781 rm -f conftest.err conftest.$ac_objext \
110782 conftest$ac_exeext conftest.$ac_ext
110783 fi
110784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110786 if test `eval echo '${'$as_ac_var'}'` = yes; then
110787 cat >>confdefs.h <<_ACEOF
110788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110789 _ACEOF
110790
110791 else
110792 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110793 fi
110794 done
110795
110796
110797
110798 for ac_func in __signbit
110799 do
110800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110801 echo "$as_me:$LINENO: checking for $ac_func" >&5
110802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110803 if eval "test \"\${$as_ac_var+set}\" = set"; then
110804 echo $ECHO_N "(cached) $ECHO_C" >&6
110805 else
110806 if test x$gcc_no_link = xyes; then
110807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110809 { (exit 1); exit 1; }; }
110810 fi
110811 cat >conftest.$ac_ext <<_ACEOF
110812 /* confdefs.h. */
110813 _ACEOF
110814 cat confdefs.h >>conftest.$ac_ext
110815 cat >>conftest.$ac_ext <<_ACEOF
110816 /* end confdefs.h. */
110817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110819 #define $ac_func innocuous_$ac_func
110820
110821 /* System header to define __stub macros and hopefully few prototypes,
110822 which can conflict with char $ac_func (); below.
110823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110824 <limits.h> exists even on freestanding compilers. */
110825
110826 #ifdef __STDC__
110827 # include <limits.h>
110828 #else
110829 # include <assert.h>
110830 #endif
110831
110832 #undef $ac_func
110833
110834 /* Override any gcc2 internal prototype to avoid an error. */
110835 #ifdef __cplusplus
110836 extern "C"
110837 {
110838 #endif
110839 /* We use char because int might match the return type of a gcc2
110840 builtin and then its argument prototype would still apply. */
110841 char $ac_func ();
110842 /* The GNU C library defines this for functions which it implements
110843 to always fail with ENOSYS. Some functions are actually named
110844 something starting with __ and the normal name is an alias. */
110845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110846 choke me
110847 #else
110848 char (*f) () = $ac_func;
110849 #endif
110850 #ifdef __cplusplus
110851 }
110852 #endif
110853
110854 int
110855 main ()
110856 {
110857 return f != $ac_func;
110858 ;
110859 return 0;
110860 }
110861 _ACEOF
110862 rm -f conftest.$ac_objext conftest$ac_exeext
110863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110864 (eval $ac_link) 2>conftest.er1
110865 ac_status=$?
110866 grep -v '^ *+' conftest.er1 >conftest.err
110867 rm -f conftest.er1
110868 cat conftest.err >&5
110869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110870 (exit $ac_status); } &&
110871 { ac_try='test -z "$ac_c_werror_flag"
110872 || test ! -s conftest.err'
110873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110874 (eval $ac_try) 2>&5
110875 ac_status=$?
110876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110877 (exit $ac_status); }; } &&
110878 { ac_try='test -s conftest$ac_exeext'
110879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110880 (eval $ac_try) 2>&5
110881 ac_status=$?
110882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110883 (exit $ac_status); }; }; then
110884 eval "$as_ac_var=yes"
110885 else
110886 echo "$as_me: failed program was:" >&5
110887 sed 's/^/| /' conftest.$ac_ext >&5
110888
110889 eval "$as_ac_var=no"
110890 fi
110891 rm -f conftest.err conftest.$ac_objext \
110892 conftest$ac_exeext conftest.$ac_ext
110893 fi
110894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110896 if test `eval echo '${'$as_ac_var'}'` = yes; then
110897 cat >>confdefs.h <<_ACEOF
110898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110899 _ACEOF
110900
110901 else
110902 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110903 fi
110904 done
110905
110906
110907
110908 for ac_func in __signbitf
110909 do
110910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110911 echo "$as_me:$LINENO: checking for $ac_func" >&5
110912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110913 if eval "test \"\${$as_ac_var+set}\" = set"; then
110914 echo $ECHO_N "(cached) $ECHO_C" >&6
110915 else
110916 if test x$gcc_no_link = xyes; then
110917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110919 { (exit 1); exit 1; }; }
110920 fi
110921 cat >conftest.$ac_ext <<_ACEOF
110922 /* confdefs.h. */
110923 _ACEOF
110924 cat confdefs.h >>conftest.$ac_ext
110925 cat >>conftest.$ac_ext <<_ACEOF
110926 /* end confdefs.h. */
110927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110929 #define $ac_func innocuous_$ac_func
110930
110931 /* System header to define __stub macros and hopefully few prototypes,
110932 which can conflict with char $ac_func (); below.
110933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110934 <limits.h> exists even on freestanding compilers. */
110935
110936 #ifdef __STDC__
110937 # include <limits.h>
110938 #else
110939 # include <assert.h>
110940 #endif
110941
110942 #undef $ac_func
110943
110944 /* Override any gcc2 internal prototype to avoid an error. */
110945 #ifdef __cplusplus
110946 extern "C"
110947 {
110948 #endif
110949 /* We use char because int might match the return type of a gcc2
110950 builtin and then its argument prototype would still apply. */
110951 char $ac_func ();
110952 /* The GNU C library defines this for functions which it implements
110953 to always fail with ENOSYS. Some functions are actually named
110954 something starting with __ and the normal name is an alias. */
110955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110956 choke me
110957 #else
110958 char (*f) () = $ac_func;
110959 #endif
110960 #ifdef __cplusplus
110961 }
110962 #endif
110963
110964 int
110965 main ()
110966 {
110967 return f != $ac_func;
110968 ;
110969 return 0;
110970 }
110971 _ACEOF
110972 rm -f conftest.$ac_objext conftest$ac_exeext
110973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110974 (eval $ac_link) 2>conftest.er1
110975 ac_status=$?
110976 grep -v '^ *+' conftest.er1 >conftest.err
110977 rm -f conftest.er1
110978 cat conftest.err >&5
110979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110980 (exit $ac_status); } &&
110981 { ac_try='test -z "$ac_c_werror_flag"
110982 || test ! -s conftest.err'
110983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110984 (eval $ac_try) 2>&5
110985 ac_status=$?
110986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110987 (exit $ac_status); }; } &&
110988 { ac_try='test -s conftest$ac_exeext'
110989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110990 (eval $ac_try) 2>&5
110991 ac_status=$?
110992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110993 (exit $ac_status); }; }; then
110994 eval "$as_ac_var=yes"
110995 else
110996 echo "$as_me: failed program was:" >&5
110997 sed 's/^/| /' conftest.$ac_ext >&5
110998
110999 eval "$as_ac_var=no"
111000 fi
111001 rm -f conftest.err conftest.$ac_objext \
111002 conftest$ac_exeext conftest.$ac_ext
111003 fi
111004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111006 if test `eval echo '${'$as_ac_var'}'` = yes; then
111007 cat >>confdefs.h <<_ACEOF
111008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111009 _ACEOF
111010
111011 else
111012 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111013 fi
111014 done
111015
111016
111017 if test x$ac_cv_func_copysignl = x"yes"; then
111018
111019 for ac_func in __signbitl
111020 do
111021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111022 echo "$as_me:$LINENO: checking for $ac_func" >&5
111023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111024 if eval "test \"\${$as_ac_var+set}\" = set"; then
111025 echo $ECHO_N "(cached) $ECHO_C" >&6
111026 else
111027 if test x$gcc_no_link = xyes; then
111028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111030 { (exit 1); exit 1; }; }
111031 fi
111032 cat >conftest.$ac_ext <<_ACEOF
111033 /* confdefs.h. */
111034 _ACEOF
111035 cat confdefs.h >>conftest.$ac_ext
111036 cat >>conftest.$ac_ext <<_ACEOF
111037 /* end confdefs.h. */
111038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111040 #define $ac_func innocuous_$ac_func
111041
111042 /* System header to define __stub macros and hopefully few prototypes,
111043 which can conflict with char $ac_func (); below.
111044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111045 <limits.h> exists even on freestanding compilers. */
111046
111047 #ifdef __STDC__
111048 # include <limits.h>
111049 #else
111050 # include <assert.h>
111051 #endif
111052
111053 #undef $ac_func
111054
111055 /* Override any gcc2 internal prototype to avoid an error. */
111056 #ifdef __cplusplus
111057 extern "C"
111058 {
111059 #endif
111060 /* We use char because int might match the return type of a gcc2
111061 builtin and then its argument prototype would still apply. */
111062 char $ac_func ();
111063 /* The GNU C library defines this for functions which it implements
111064 to always fail with ENOSYS. Some functions are actually named
111065 something starting with __ and the normal name is an alias. */
111066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111067 choke me
111068 #else
111069 char (*f) () = $ac_func;
111070 #endif
111071 #ifdef __cplusplus
111072 }
111073 #endif
111074
111075 int
111076 main ()
111077 {
111078 return f != $ac_func;
111079 ;
111080 return 0;
111081 }
111082 _ACEOF
111083 rm -f conftest.$ac_objext conftest$ac_exeext
111084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111085 (eval $ac_link) 2>conftest.er1
111086 ac_status=$?
111087 grep -v '^ *+' conftest.er1 >conftest.err
111088 rm -f conftest.er1
111089 cat conftest.err >&5
111090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111091 (exit $ac_status); } &&
111092 { ac_try='test -z "$ac_c_werror_flag"
111093 || test ! -s conftest.err'
111094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111095 (eval $ac_try) 2>&5
111096 ac_status=$?
111097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111098 (exit $ac_status); }; } &&
111099 { ac_try='test -s conftest$ac_exeext'
111100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111101 (eval $ac_try) 2>&5
111102 ac_status=$?
111103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111104 (exit $ac_status); }; }; then
111105 eval "$as_ac_var=yes"
111106 else
111107 echo "$as_me: failed program was:" >&5
111108 sed 's/^/| /' conftest.$ac_ext >&5
111109
111110 eval "$as_ac_var=no"
111111 fi
111112 rm -f conftest.err conftest.$ac_objext \
111113 conftest$ac_exeext conftest.$ac_ext
111114 fi
111115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111117 if test `eval echo '${'$as_ac_var'}'` = yes; then
111118 cat >>confdefs.h <<_ACEOF
111119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111120 _ACEOF
111121
111122 else
111123 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111124 fi
111125 done
111126
111127 fi
111128
111129 # Used in libmath/Makefile.am.
111130 if test -n "$LIBMATHOBJS"; then
111131 need_libmath=yes
111132 fi
111133
111134
111135 cat >>confdefs.h <<\_ACEOF
111136 #define HAVE_HYPOT 1
111137 _ACEOF
111138
111139 cat >>confdefs.h <<\_ACEOF
111140 #define HAVE_ISINF 1
111141 _ACEOF
111142
111143 cat >>confdefs.h <<\_ACEOF
111144 #define HAVE_ISNAN 1
111145 _ACEOF
111146
111147
111148 # For showmanyc_helper().
111149
111150
111151 for ac_header in sys/ioctl.h sys/filio.h
111152 do
111153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111155 echo "$as_me:$LINENO: checking for $ac_header" >&5
111156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111158 echo $ECHO_N "(cached) $ECHO_C" >&6
111159 fi
111160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111162 else
111163 # Is the header compilable?
111164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111166 cat >conftest.$ac_ext <<_ACEOF
111167 /* confdefs.h. */
111168 _ACEOF
111169 cat confdefs.h >>conftest.$ac_ext
111170 cat >>conftest.$ac_ext <<_ACEOF
111171 /* end confdefs.h. */
111172 $ac_includes_default
111173 #include <$ac_header>
111174 _ACEOF
111175 rm -f conftest.$ac_objext
111176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111177 (eval $ac_compile) 2>conftest.er1
111178 ac_status=$?
111179 grep -v '^ *+' conftest.er1 >conftest.err
111180 rm -f conftest.er1
111181 cat conftest.err >&5
111182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111183 (exit $ac_status); } &&
111184 { ac_try='test -z "$ac_c_werror_flag"
111185 || test ! -s conftest.err'
111186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111187 (eval $ac_try) 2>&5
111188 ac_status=$?
111189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111190 (exit $ac_status); }; } &&
111191 { ac_try='test -s conftest.$ac_objext'
111192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111193 (eval $ac_try) 2>&5
111194 ac_status=$?
111195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111196 (exit $ac_status); }; }; then
111197 ac_header_compiler=yes
111198 else
111199 echo "$as_me: failed program was:" >&5
111200 sed 's/^/| /' conftest.$ac_ext >&5
111201
111202 ac_header_compiler=no
111203 fi
111204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111206 echo "${ECHO_T}$ac_header_compiler" >&6
111207
111208 # Is the header present?
111209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111211 cat >conftest.$ac_ext <<_ACEOF
111212 /* confdefs.h. */
111213 _ACEOF
111214 cat confdefs.h >>conftest.$ac_ext
111215 cat >>conftest.$ac_ext <<_ACEOF
111216 /* end confdefs.h. */
111217 #include <$ac_header>
111218 _ACEOF
111219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111221 ac_status=$?
111222 grep -v '^ *+' conftest.er1 >conftest.err
111223 rm -f conftest.er1
111224 cat conftest.err >&5
111225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111226 (exit $ac_status); } >/dev/null; then
111227 if test -s conftest.err; then
111228 ac_cpp_err=$ac_c_preproc_warn_flag
111229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111230 else
111231 ac_cpp_err=
111232 fi
111233 else
111234 ac_cpp_err=yes
111235 fi
111236 if test -z "$ac_cpp_err"; then
111237 ac_header_preproc=yes
111238 else
111239 echo "$as_me: failed program was:" >&5
111240 sed 's/^/| /' conftest.$ac_ext >&5
111241
111242 ac_header_preproc=no
111243 fi
111244 rm -f conftest.err conftest.$ac_ext
111245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111246 echo "${ECHO_T}$ac_header_preproc" >&6
111247
111248 # So? What about this header?
111249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111250 yes:no: )
111251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111255 ac_header_preproc=yes
111256 ;;
111257 no:yes:* )
111258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111270 (
111271 cat <<\_ASBOX
111272 ## ----------------------------------------- ##
111273 ## Report this to the package-unused lists. ##
111274 ## ----------------------------------------- ##
111275 _ASBOX
111276 ) |
111277 sed "s/^/$as_me: WARNING: /" >&2
111278 ;;
111279 esac
111280 echo "$as_me:$LINENO: checking for $ac_header" >&5
111281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111283 echo $ECHO_N "(cached) $ECHO_C" >&6
111284 else
111285 eval "$as_ac_Header=\$ac_header_preproc"
111286 fi
111287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111289
111290 fi
111291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111292 cat >>confdefs.h <<_ACEOF
111293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111294 _ACEOF
111295
111296 fi
111297
111298 done
111299
111300
111301 echo "$as_me:$LINENO: checking for poll" >&5
111302 echo $ECHO_N "checking for poll... $ECHO_C" >&6
111303 if test "${glibcxx_cv_POLL+set}" = set; then
111304 echo $ECHO_N "(cached) $ECHO_C" >&6
111305 else
111306
111307 if test x$gcc_no_link = xyes; then
111308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111310 { (exit 1); exit 1; }; }
111311 fi
111312 cat >conftest.$ac_ext <<_ACEOF
111313 /* confdefs.h. */
111314 _ACEOF
111315 cat confdefs.h >>conftest.$ac_ext
111316 cat >>conftest.$ac_ext <<_ACEOF
111317 /* end confdefs.h. */
111318 #include <poll.h>
111319 int
111320 main ()
111321 {
111322 struct pollfd pfd[1];
111323 pfd[0].events = POLLIN;
111324 poll(pfd, 1, 0);
111325 ;
111326 return 0;
111327 }
111328 _ACEOF
111329 rm -f conftest.$ac_objext conftest$ac_exeext
111330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111331 (eval $ac_link) 2>conftest.er1
111332 ac_status=$?
111333 grep -v '^ *+' conftest.er1 >conftest.err
111334 rm -f conftest.er1
111335 cat conftest.err >&5
111336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111337 (exit $ac_status); } &&
111338 { ac_try='test -z "$ac_c_werror_flag"
111339 || test ! -s conftest.err'
111340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111341 (eval $ac_try) 2>&5
111342 ac_status=$?
111343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111344 (exit $ac_status); }; } &&
111345 { ac_try='test -s conftest$ac_exeext'
111346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111347 (eval $ac_try) 2>&5
111348 ac_status=$?
111349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111350 (exit $ac_status); }; }; then
111351 glibcxx_cv_POLL=yes
111352 else
111353 echo "$as_me: failed program was:" >&5
111354 sed 's/^/| /' conftest.$ac_ext >&5
111355
111356 glibcxx_cv_POLL=no
111357 fi
111358 rm -f conftest.err conftest.$ac_objext \
111359 conftest$ac_exeext conftest.$ac_ext
111360
111361 fi
111362
111363 if test $glibcxx_cv_POLL = yes; then
111364
111365 cat >>confdefs.h <<\_ACEOF
111366 #define HAVE_POLL 1
111367 _ACEOF
111368
111369 fi
111370 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
111371 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
111372
111373
111374 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
111375 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
111376 if test "${glibcxx_cv_S_ISREG+set}" = set; then
111377 echo $ECHO_N "(cached) $ECHO_C" >&6
111378 else
111379
111380 if test x$gcc_no_link = xyes; then
111381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111383 { (exit 1); exit 1; }; }
111384 fi
111385 cat >conftest.$ac_ext <<_ACEOF
111386 /* confdefs.h. */
111387 _ACEOF
111388 cat confdefs.h >>conftest.$ac_ext
111389 cat >>conftest.$ac_ext <<_ACEOF
111390 /* end confdefs.h. */
111391 #include <sys/stat.h>
111392 int
111393 main ()
111394 {
111395 struct stat buffer;
111396 fstat(0, &buffer);
111397 S_ISREG(buffer.st_mode);
111398 ;
111399 return 0;
111400 }
111401 _ACEOF
111402 rm -f conftest.$ac_objext conftest$ac_exeext
111403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111404 (eval $ac_link) 2>conftest.er1
111405 ac_status=$?
111406 grep -v '^ *+' conftest.er1 >conftest.err
111407 rm -f conftest.er1
111408 cat conftest.err >&5
111409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111410 (exit $ac_status); } &&
111411 { ac_try='test -z "$ac_c_werror_flag"
111412 || test ! -s conftest.err'
111413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111414 (eval $ac_try) 2>&5
111415 ac_status=$?
111416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111417 (exit $ac_status); }; } &&
111418 { ac_try='test -s conftest$ac_exeext'
111419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111420 (eval $ac_try) 2>&5
111421 ac_status=$?
111422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111423 (exit $ac_status); }; }; then
111424 glibcxx_cv_S_ISREG=yes
111425 else
111426 echo "$as_me: failed program was:" >&5
111427 sed 's/^/| /' conftest.$ac_ext >&5
111428
111429 glibcxx_cv_S_ISREG=no
111430 fi
111431 rm -f conftest.err conftest.$ac_objext \
111432 conftest$ac_exeext conftest.$ac_ext
111433
111434 fi
111435
111436 if test "${glibcxx_cv_S_IFREG+set}" = set; then
111437 echo $ECHO_N "(cached) $ECHO_C" >&6
111438 else
111439
111440 if test x$gcc_no_link = xyes; then
111441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111443 { (exit 1); exit 1; }; }
111444 fi
111445 cat >conftest.$ac_ext <<_ACEOF
111446 /* confdefs.h. */
111447 _ACEOF
111448 cat confdefs.h >>conftest.$ac_ext
111449 cat >>conftest.$ac_ext <<_ACEOF
111450 /* end confdefs.h. */
111451 #include <sys/stat.h>
111452 int
111453 main ()
111454 {
111455 struct stat buffer;
111456 fstat(0, &buffer);
111457 S_IFREG & buffer.st_mode;
111458 ;
111459 return 0;
111460 }
111461 _ACEOF
111462 rm -f conftest.$ac_objext conftest$ac_exeext
111463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111464 (eval $ac_link) 2>conftest.er1
111465 ac_status=$?
111466 grep -v '^ *+' conftest.er1 >conftest.err
111467 rm -f conftest.er1
111468 cat conftest.err >&5
111469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111470 (exit $ac_status); } &&
111471 { ac_try='test -z "$ac_c_werror_flag"
111472 || test ! -s conftest.err'
111473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111474 (eval $ac_try) 2>&5
111475 ac_status=$?
111476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111477 (exit $ac_status); }; } &&
111478 { ac_try='test -s conftest$ac_exeext'
111479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111480 (eval $ac_try) 2>&5
111481 ac_status=$?
111482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111483 (exit $ac_status); }; }; then
111484 glibcxx_cv_S_IFREG=yes
111485 else
111486 echo "$as_me: failed program was:" >&5
111487 sed 's/^/| /' conftest.$ac_ext >&5
111488
111489 glibcxx_cv_S_IFREG=no
111490 fi
111491 rm -f conftest.err conftest.$ac_objext \
111492 conftest$ac_exeext conftest.$ac_ext
111493
111494 fi
111495
111496 res=no
111497 if test $glibcxx_cv_S_ISREG = yes; then
111498
111499 cat >>confdefs.h <<\_ACEOF
111500 #define HAVE_S_ISREG 1
111501 _ACEOF
111502
111503 res=S_ISREG
111504 elif test $glibcxx_cv_S_IFREG = yes; then
111505
111506 cat >>confdefs.h <<\_ACEOF
111507 #define HAVE_S_IFREG 1
111508 _ACEOF
111509
111510 res=S_IFREG
111511 fi
111512 echo "$as_me:$LINENO: result: $res" >&5
111513 echo "${ECHO_T}$res" >&6
111514
111515
111516 # For xsputn_2().
111517
111518 for ac_header in sys/uio.h
111519 do
111520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111522 echo "$as_me:$LINENO: checking for $ac_header" >&5
111523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111525 echo $ECHO_N "(cached) $ECHO_C" >&6
111526 fi
111527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111529 else
111530 # Is the header compilable?
111531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111533 cat >conftest.$ac_ext <<_ACEOF
111534 /* confdefs.h. */
111535 _ACEOF
111536 cat confdefs.h >>conftest.$ac_ext
111537 cat >>conftest.$ac_ext <<_ACEOF
111538 /* end confdefs.h. */
111539 $ac_includes_default
111540 #include <$ac_header>
111541 _ACEOF
111542 rm -f conftest.$ac_objext
111543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111544 (eval $ac_compile) 2>conftest.er1
111545 ac_status=$?
111546 grep -v '^ *+' conftest.er1 >conftest.err
111547 rm -f conftest.er1
111548 cat conftest.err >&5
111549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111550 (exit $ac_status); } &&
111551 { ac_try='test -z "$ac_c_werror_flag"
111552 || test ! -s conftest.err'
111553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111554 (eval $ac_try) 2>&5
111555 ac_status=$?
111556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111557 (exit $ac_status); }; } &&
111558 { ac_try='test -s conftest.$ac_objext'
111559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111560 (eval $ac_try) 2>&5
111561 ac_status=$?
111562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111563 (exit $ac_status); }; }; then
111564 ac_header_compiler=yes
111565 else
111566 echo "$as_me: failed program was:" >&5
111567 sed 's/^/| /' conftest.$ac_ext >&5
111568
111569 ac_header_compiler=no
111570 fi
111571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111573 echo "${ECHO_T}$ac_header_compiler" >&6
111574
111575 # Is the header present?
111576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111578 cat >conftest.$ac_ext <<_ACEOF
111579 /* confdefs.h. */
111580 _ACEOF
111581 cat confdefs.h >>conftest.$ac_ext
111582 cat >>conftest.$ac_ext <<_ACEOF
111583 /* end confdefs.h. */
111584 #include <$ac_header>
111585 _ACEOF
111586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111588 ac_status=$?
111589 grep -v '^ *+' conftest.er1 >conftest.err
111590 rm -f conftest.er1
111591 cat conftest.err >&5
111592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111593 (exit $ac_status); } >/dev/null; then
111594 if test -s conftest.err; then
111595 ac_cpp_err=$ac_c_preproc_warn_flag
111596 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111597 else
111598 ac_cpp_err=
111599 fi
111600 else
111601 ac_cpp_err=yes
111602 fi
111603 if test -z "$ac_cpp_err"; then
111604 ac_header_preproc=yes
111605 else
111606 echo "$as_me: failed program was:" >&5
111607 sed 's/^/| /' conftest.$ac_ext >&5
111608
111609 ac_header_preproc=no
111610 fi
111611 rm -f conftest.err conftest.$ac_ext
111612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111613 echo "${ECHO_T}$ac_header_preproc" >&6
111614
111615 # So? What about this header?
111616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111617 yes:no: )
111618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111622 ac_header_preproc=yes
111623 ;;
111624 no:yes:* )
111625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111637 (
111638 cat <<\_ASBOX
111639 ## ----------------------------------------- ##
111640 ## Report this to the package-unused lists. ##
111641 ## ----------------------------------------- ##
111642 _ASBOX
111643 ) |
111644 sed "s/^/$as_me: WARNING: /" >&2
111645 ;;
111646 esac
111647 echo "$as_me:$LINENO: checking for $ac_header" >&5
111648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111650 echo $ECHO_N "(cached) $ECHO_C" >&6
111651 else
111652 eval "$as_ac_Header=\$ac_header_preproc"
111653 fi
111654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111656
111657 fi
111658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111659 cat >>confdefs.h <<_ACEOF
111660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111661 _ACEOF
111662
111663 fi
111664
111665 done
111666
111667
111668 echo "$as_me:$LINENO: checking for writev" >&5
111669 echo $ECHO_N "checking for writev... $ECHO_C" >&6
111670 if test "${glibcxx_cv_WRITEV+set}" = set; then
111671 echo $ECHO_N "(cached) $ECHO_C" >&6
111672 else
111673
111674 if test x$gcc_no_link = xyes; then
111675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111677 { (exit 1); exit 1; }; }
111678 fi
111679 cat >conftest.$ac_ext <<_ACEOF
111680 /* confdefs.h. */
111681 _ACEOF
111682 cat confdefs.h >>conftest.$ac_ext
111683 cat >>conftest.$ac_ext <<_ACEOF
111684 /* end confdefs.h. */
111685 #include <sys/uio.h>
111686 int
111687 main ()
111688 {
111689 struct iovec iov[2];
111690 writev(0, iov, 0);
111691 ;
111692 return 0;
111693 }
111694 _ACEOF
111695 rm -f conftest.$ac_objext conftest$ac_exeext
111696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111697 (eval $ac_link) 2>conftest.er1
111698 ac_status=$?
111699 grep -v '^ *+' conftest.er1 >conftest.err
111700 rm -f conftest.er1
111701 cat conftest.err >&5
111702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111703 (exit $ac_status); } &&
111704 { ac_try='test -z "$ac_c_werror_flag"
111705 || test ! -s conftest.err'
111706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111707 (eval $ac_try) 2>&5
111708 ac_status=$?
111709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111710 (exit $ac_status); }; } &&
111711 { ac_try='test -s conftest$ac_exeext'
111712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111713 (eval $ac_try) 2>&5
111714 ac_status=$?
111715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111716 (exit $ac_status); }; }; then
111717 glibcxx_cv_WRITEV=yes
111718 else
111719 echo "$as_me: failed program was:" >&5
111720 sed 's/^/| /' conftest.$ac_ext >&5
111721
111722 glibcxx_cv_WRITEV=no
111723 fi
111724 rm -f conftest.err conftest.$ac_objext \
111725 conftest$ac_exeext conftest.$ac_ext
111726
111727 fi
111728
111729 if test $glibcxx_cv_WRITEV = yes; then
111730
111731 cat >>confdefs.h <<\_ACEOF
111732 #define HAVE_WRITEV 1
111733 _ACEOF
111734
111735 fi
111736 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
111737 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
111738
111739 ;;
111740 *-qnx6.1* | *-qnx6.2*)
111741 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111742
111743
111744 # If we're not using GNU ld, then there's no point in even trying these
111745 # tests. Check for that first. We should have already tested for gld
111746 # by now (in libtool), but require it now just to be safe...
111747 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111748 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111749
111750
111751
111752 # The name set by libtool depends on the version of libtool. Shame on us
111753 # for depending on an impl detail, but c'est la vie. Older versions used
111754 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111755 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111756 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111757 # set (hence we're using an older libtool), then set it.
111758 if test x${with_gnu_ld+set} != xset; then
111759 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111760 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111761 with_gnu_ld=no
111762 else
111763 with_gnu_ld=$ac_cv_prog_gnu_ld
111764 fi
111765 fi
111766
111767 # Start by getting the version number. I think the libtool test already
111768 # does some of this, but throws away the result.
111769 if test x"$with_gnu_ld" = x"yes"; then
111770 echo "$as_me:$LINENO: checking for ld version" >&5
111771 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111772
111773 ldver=`$LD --version 2>/dev/null | head -1 | \
111774 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111775
111776 glibcxx_gnu_ld_version=`echo $ldver | \
111777 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111778 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111779 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111780 fi
111781
111782 # Set --gc-sections.
111783 glibcxx_gcsections_min_ld=21602
111784 if test x"$with_gnu_ld" = x"yes" &&
111785 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111786
111787 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111788 # NB: This flag only works reliably after 2.16.1. Configure tests
111789 # for this are difficult, so hard wire a value that should work.
111790
111791 ac_test_CFLAGS="${CFLAGS+set}"
111792 ac_save_CFLAGS="$CFLAGS"
111793 CFLAGS='-Wl,--gc-sections'
111794
111795 # Check for -Wl,--gc-sections
111796 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111797 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111798 if test x$gcc_no_link = xyes; then
111799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111801 { (exit 1); exit 1; }; }
111802 fi
111803 cat >conftest.$ac_ext <<_ACEOF
111804 /* confdefs.h. */
111805 _ACEOF
111806 cat confdefs.h >>conftest.$ac_ext
111807 cat >>conftest.$ac_ext <<_ACEOF
111808 /* end confdefs.h. */
111809 int one(void) { return 1; }
111810 int two(void) { return 2; }
111811
111812 int
111813 main ()
111814 {
111815 two();
111816 ;
111817 return 0;
111818 }
111819 _ACEOF
111820 rm -f conftest.$ac_objext conftest$ac_exeext
111821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111822 (eval $ac_link) 2>conftest.er1
111823 ac_status=$?
111824 grep -v '^ *+' conftest.er1 >conftest.err
111825 rm -f conftest.er1
111826 cat conftest.err >&5
111827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111828 (exit $ac_status); } &&
111829 { ac_try='test -z "$ac_c_werror_flag"
111830 || test ! -s conftest.err'
111831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111832 (eval $ac_try) 2>&5
111833 ac_status=$?
111834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111835 (exit $ac_status); }; } &&
111836 { ac_try='test -s conftest$ac_exeext'
111837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111838 (eval $ac_try) 2>&5
111839 ac_status=$?
111840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111841 (exit $ac_status); }; }; then
111842 ac_gcsections=yes
111843 else
111844 echo "$as_me: failed program was:" >&5
111845 sed 's/^/| /' conftest.$ac_ext >&5
111846
111847 ac_gcsections=no
111848 fi
111849 rm -f conftest.err conftest.$ac_objext \
111850 conftest$ac_exeext conftest.$ac_ext
111851 if test "$ac_gcsections" = "yes"; then
111852 rm -f conftest.c
111853 touch conftest.c
111854 if $CC -c conftest.c; then
111855 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111856 grep "Warning: gc-sections option ignored" > /dev/null; then
111857 ac_gcsections=no
111858 fi
111859 fi
111860 rm -f conftest.c conftest.o conftest
111861 fi
111862 if test "$ac_gcsections" = "yes"; then
111863 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111864 fi
111865 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111866 echo "${ECHO_T}$ac_gcsections" >&6
111867
111868 if test "$ac_test_CFLAGS" = set; then
111869 CFLAGS="$ac_save_CFLAGS"
111870 else
111871 # this is the suspicious part
111872 CFLAGS=''
111873 fi
111874 fi
111875
111876 # Set -z,relro.
111877 # Note this is only for shared objects.
111878 ac_ld_relro=no
111879 if test x"$with_gnu_ld" = x"yes"; then
111880 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111881 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111882 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111883 if test -n "$cxx_z_relo"; then
111884 OPT_LDFLAGS="-Wl,-z,relro"
111885 ac_ld_relro=yes
111886 fi
111887 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111888 echo "${ECHO_T}$ac_ld_relro" >&6
111889 fi
111890
111891 # Set linker optimization flags.
111892 if test x"$with_gnu_ld" = x"yes"; then
111893 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111894 fi
111895
111896
111897
111898
111899
111900
111901 echo "$as_me:$LINENO: checking for main in -lm" >&5
111902 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111903 if test "${ac_cv_lib_m_main+set}" = set; then
111904 echo $ECHO_N "(cached) $ECHO_C" >&6
111905 else
111906 ac_check_lib_save_LIBS=$LIBS
111907 LIBS="-lm $LIBS"
111908 if test x$gcc_no_link = xyes; then
111909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111911 { (exit 1); exit 1; }; }
111912 fi
111913 cat >conftest.$ac_ext <<_ACEOF
111914 /* confdefs.h. */
111915 _ACEOF
111916 cat confdefs.h >>conftest.$ac_ext
111917 cat >>conftest.$ac_ext <<_ACEOF
111918 /* end confdefs.h. */
111919
111920
111921 int
111922 main ()
111923 {
111924 main ();
111925 ;
111926 return 0;
111927 }
111928 _ACEOF
111929 rm -f conftest.$ac_objext conftest$ac_exeext
111930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111931 (eval $ac_link) 2>conftest.er1
111932 ac_status=$?
111933 grep -v '^ *+' conftest.er1 >conftest.err
111934 rm -f conftest.er1
111935 cat conftest.err >&5
111936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111937 (exit $ac_status); } &&
111938 { ac_try='test -z "$ac_c_werror_flag"
111939 || test ! -s conftest.err'
111940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111941 (eval $ac_try) 2>&5
111942 ac_status=$?
111943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111944 (exit $ac_status); }; } &&
111945 { ac_try='test -s conftest$ac_exeext'
111946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111947 (eval $ac_try) 2>&5
111948 ac_status=$?
111949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111950 (exit $ac_status); }; }; then
111951 ac_cv_lib_m_main=yes
111952 else
111953 echo "$as_me: failed program was:" >&5
111954 sed 's/^/| /' conftest.$ac_ext >&5
111955
111956 ac_cv_lib_m_main=no
111957 fi
111958 rm -f conftest.err conftest.$ac_objext \
111959 conftest$ac_exeext conftest.$ac_ext
111960 LIBS=$ac_check_lib_save_LIBS
111961 fi
111962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111963 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111964 if test $ac_cv_lib_m_main = yes; then
111965 cat >>confdefs.h <<_ACEOF
111966 #define HAVE_LIBM 1
111967 _ACEOF
111968
111969 LIBS="-lm $LIBS"
111970
111971 fi
111972
111973
111974 for ac_func in copysignf
111975 do
111976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111977 echo "$as_me:$LINENO: checking for $ac_func" >&5
111978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111979 if eval "test \"\${$as_ac_var+set}\" = set"; then
111980 echo $ECHO_N "(cached) $ECHO_C" >&6
111981 else
111982 if test x$gcc_no_link = xyes; then
111983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111985 { (exit 1); exit 1; }; }
111986 fi
111987 cat >conftest.$ac_ext <<_ACEOF
111988 /* confdefs.h. */
111989 _ACEOF
111990 cat confdefs.h >>conftest.$ac_ext
111991 cat >>conftest.$ac_ext <<_ACEOF
111992 /* end confdefs.h. */
111993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111995 #define $ac_func innocuous_$ac_func
111996
111997 /* System header to define __stub macros and hopefully few prototypes,
111998 which can conflict with char $ac_func (); below.
111999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112000 <limits.h> exists even on freestanding compilers. */
112001
112002 #ifdef __STDC__
112003 # include <limits.h>
112004 #else
112005 # include <assert.h>
112006 #endif
112007
112008 #undef $ac_func
112009
112010 /* Override any gcc2 internal prototype to avoid an error. */
112011 #ifdef __cplusplus
112012 extern "C"
112013 {
112014 #endif
112015 /* We use char because int might match the return type of a gcc2
112016 builtin and then its argument prototype would still apply. */
112017 char $ac_func ();
112018 /* The GNU C library defines this for functions which it implements
112019 to always fail with ENOSYS. Some functions are actually named
112020 something starting with __ and the normal name is an alias. */
112021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112022 choke me
112023 #else
112024 char (*f) () = $ac_func;
112025 #endif
112026 #ifdef __cplusplus
112027 }
112028 #endif
112029
112030 int
112031 main ()
112032 {
112033 return f != $ac_func;
112034 ;
112035 return 0;
112036 }
112037 _ACEOF
112038 rm -f conftest.$ac_objext conftest$ac_exeext
112039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112040 (eval $ac_link) 2>conftest.er1
112041 ac_status=$?
112042 grep -v '^ *+' conftest.er1 >conftest.err
112043 rm -f conftest.er1
112044 cat conftest.err >&5
112045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112046 (exit $ac_status); } &&
112047 { ac_try='test -z "$ac_c_werror_flag"
112048 || test ! -s conftest.err'
112049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112050 (eval $ac_try) 2>&5
112051 ac_status=$?
112052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112053 (exit $ac_status); }; } &&
112054 { ac_try='test -s conftest$ac_exeext'
112055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112056 (eval $ac_try) 2>&5
112057 ac_status=$?
112058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112059 (exit $ac_status); }; }; then
112060 eval "$as_ac_var=yes"
112061 else
112062 echo "$as_me: failed program was:" >&5
112063 sed 's/^/| /' conftest.$ac_ext >&5
112064
112065 eval "$as_ac_var=no"
112066 fi
112067 rm -f conftest.err conftest.$ac_objext \
112068 conftest$ac_exeext conftest.$ac_ext
112069 fi
112070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112072 if test `eval echo '${'$as_ac_var'}'` = yes; then
112073 cat >>confdefs.h <<_ACEOF
112074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112075 _ACEOF
112076
112077 else
112078 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112079 fi
112080 done
112081
112082
112083
112084 for ac_func in __signbit
112085 do
112086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112087 echo "$as_me:$LINENO: checking for $ac_func" >&5
112088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112089 if eval "test \"\${$as_ac_var+set}\" = set"; then
112090 echo $ECHO_N "(cached) $ECHO_C" >&6
112091 else
112092 if test x$gcc_no_link = xyes; then
112093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112095 { (exit 1); exit 1; }; }
112096 fi
112097 cat >conftest.$ac_ext <<_ACEOF
112098 /* confdefs.h. */
112099 _ACEOF
112100 cat confdefs.h >>conftest.$ac_ext
112101 cat >>conftest.$ac_ext <<_ACEOF
112102 /* end confdefs.h. */
112103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112105 #define $ac_func innocuous_$ac_func
112106
112107 /* System header to define __stub macros and hopefully few prototypes,
112108 which can conflict with char $ac_func (); below.
112109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112110 <limits.h> exists even on freestanding compilers. */
112111
112112 #ifdef __STDC__
112113 # include <limits.h>
112114 #else
112115 # include <assert.h>
112116 #endif
112117
112118 #undef $ac_func
112119
112120 /* Override any gcc2 internal prototype to avoid an error. */
112121 #ifdef __cplusplus
112122 extern "C"
112123 {
112124 #endif
112125 /* We use char because int might match the return type of a gcc2
112126 builtin and then its argument prototype would still apply. */
112127 char $ac_func ();
112128 /* The GNU C library defines this for functions which it implements
112129 to always fail with ENOSYS. Some functions are actually named
112130 something starting with __ and the normal name is an alias. */
112131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112132 choke me
112133 #else
112134 char (*f) () = $ac_func;
112135 #endif
112136 #ifdef __cplusplus
112137 }
112138 #endif
112139
112140 int
112141 main ()
112142 {
112143 return f != $ac_func;
112144 ;
112145 return 0;
112146 }
112147 _ACEOF
112148 rm -f conftest.$ac_objext conftest$ac_exeext
112149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112150 (eval $ac_link) 2>conftest.er1
112151 ac_status=$?
112152 grep -v '^ *+' conftest.er1 >conftest.err
112153 rm -f conftest.er1
112154 cat conftest.err >&5
112155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112156 (exit $ac_status); } &&
112157 { ac_try='test -z "$ac_c_werror_flag"
112158 || test ! -s conftest.err'
112159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112160 (eval $ac_try) 2>&5
112161 ac_status=$?
112162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112163 (exit $ac_status); }; } &&
112164 { ac_try='test -s conftest$ac_exeext'
112165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112166 (eval $ac_try) 2>&5
112167 ac_status=$?
112168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112169 (exit $ac_status); }; }; then
112170 eval "$as_ac_var=yes"
112171 else
112172 echo "$as_me: failed program was:" >&5
112173 sed 's/^/| /' conftest.$ac_ext >&5
112174
112175 eval "$as_ac_var=no"
112176 fi
112177 rm -f conftest.err conftest.$ac_objext \
112178 conftest$ac_exeext conftest.$ac_ext
112179 fi
112180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112182 if test `eval echo '${'$as_ac_var'}'` = yes; then
112183 cat >>confdefs.h <<_ACEOF
112184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112185 _ACEOF
112186
112187 else
112188 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112189 fi
112190 done
112191
112192
112193
112194 for ac_func in __signbitf
112195 do
112196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112197 echo "$as_me:$LINENO: checking for $ac_func" >&5
112198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112199 if eval "test \"\${$as_ac_var+set}\" = set"; then
112200 echo $ECHO_N "(cached) $ECHO_C" >&6
112201 else
112202 if test x$gcc_no_link = xyes; then
112203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112205 { (exit 1); exit 1; }; }
112206 fi
112207 cat >conftest.$ac_ext <<_ACEOF
112208 /* confdefs.h. */
112209 _ACEOF
112210 cat confdefs.h >>conftest.$ac_ext
112211 cat >>conftest.$ac_ext <<_ACEOF
112212 /* end confdefs.h. */
112213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112215 #define $ac_func innocuous_$ac_func
112216
112217 /* System header to define __stub macros and hopefully few prototypes,
112218 which can conflict with char $ac_func (); below.
112219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112220 <limits.h> exists even on freestanding compilers. */
112221
112222 #ifdef __STDC__
112223 # include <limits.h>
112224 #else
112225 # include <assert.h>
112226 #endif
112227
112228 #undef $ac_func
112229
112230 /* Override any gcc2 internal prototype to avoid an error. */
112231 #ifdef __cplusplus
112232 extern "C"
112233 {
112234 #endif
112235 /* We use char because int might match the return type of a gcc2
112236 builtin and then its argument prototype would still apply. */
112237 char $ac_func ();
112238 /* The GNU C library defines this for functions which it implements
112239 to always fail with ENOSYS. Some functions are actually named
112240 something starting with __ and the normal name is an alias. */
112241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112242 choke me
112243 #else
112244 char (*f) () = $ac_func;
112245 #endif
112246 #ifdef __cplusplus
112247 }
112248 #endif
112249
112250 int
112251 main ()
112252 {
112253 return f != $ac_func;
112254 ;
112255 return 0;
112256 }
112257 _ACEOF
112258 rm -f conftest.$ac_objext conftest$ac_exeext
112259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112260 (eval $ac_link) 2>conftest.er1
112261 ac_status=$?
112262 grep -v '^ *+' conftest.er1 >conftest.err
112263 rm -f conftest.er1
112264 cat conftest.err >&5
112265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112266 (exit $ac_status); } &&
112267 { ac_try='test -z "$ac_c_werror_flag"
112268 || test ! -s conftest.err'
112269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112270 (eval $ac_try) 2>&5
112271 ac_status=$?
112272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112273 (exit $ac_status); }; } &&
112274 { ac_try='test -s conftest$ac_exeext'
112275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112276 (eval $ac_try) 2>&5
112277 ac_status=$?
112278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112279 (exit $ac_status); }; }; then
112280 eval "$as_ac_var=yes"
112281 else
112282 echo "$as_me: failed program was:" >&5
112283 sed 's/^/| /' conftest.$ac_ext >&5
112284
112285 eval "$as_ac_var=no"
112286 fi
112287 rm -f conftest.err conftest.$ac_objext \
112288 conftest$ac_exeext conftest.$ac_ext
112289 fi
112290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112292 if test `eval echo '${'$as_ac_var'}'` = yes; then
112293 cat >>confdefs.h <<_ACEOF
112294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112295 _ACEOF
112296
112297 else
112298 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112299 fi
112300 done
112301
112302
112303 if test x$ac_cv_func_copysignl = x"yes"; then
112304
112305 for ac_func in __signbitl
112306 do
112307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112308 echo "$as_me:$LINENO: checking for $ac_func" >&5
112309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112310 if eval "test \"\${$as_ac_var+set}\" = set"; then
112311 echo $ECHO_N "(cached) $ECHO_C" >&6
112312 else
112313 if test x$gcc_no_link = xyes; then
112314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112316 { (exit 1); exit 1; }; }
112317 fi
112318 cat >conftest.$ac_ext <<_ACEOF
112319 /* confdefs.h. */
112320 _ACEOF
112321 cat confdefs.h >>conftest.$ac_ext
112322 cat >>conftest.$ac_ext <<_ACEOF
112323 /* end confdefs.h. */
112324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112326 #define $ac_func innocuous_$ac_func
112327
112328 /* System header to define __stub macros and hopefully few prototypes,
112329 which can conflict with char $ac_func (); below.
112330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112331 <limits.h> exists even on freestanding compilers. */
112332
112333 #ifdef __STDC__
112334 # include <limits.h>
112335 #else
112336 # include <assert.h>
112337 #endif
112338
112339 #undef $ac_func
112340
112341 /* Override any gcc2 internal prototype to avoid an error. */
112342 #ifdef __cplusplus
112343 extern "C"
112344 {
112345 #endif
112346 /* We use char because int might match the return type of a gcc2
112347 builtin and then its argument prototype would still apply. */
112348 char $ac_func ();
112349 /* The GNU C library defines this for functions which it implements
112350 to always fail with ENOSYS. Some functions are actually named
112351 something starting with __ and the normal name is an alias. */
112352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112353 choke me
112354 #else
112355 char (*f) () = $ac_func;
112356 #endif
112357 #ifdef __cplusplus
112358 }
112359 #endif
112360
112361 int
112362 main ()
112363 {
112364 return f != $ac_func;
112365 ;
112366 return 0;
112367 }
112368 _ACEOF
112369 rm -f conftest.$ac_objext conftest$ac_exeext
112370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112371 (eval $ac_link) 2>conftest.er1
112372 ac_status=$?
112373 grep -v '^ *+' conftest.er1 >conftest.err
112374 rm -f conftest.er1
112375 cat conftest.err >&5
112376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112377 (exit $ac_status); } &&
112378 { ac_try='test -z "$ac_c_werror_flag"
112379 || test ! -s conftest.err'
112380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112381 (eval $ac_try) 2>&5
112382 ac_status=$?
112383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112384 (exit $ac_status); }; } &&
112385 { ac_try='test -s conftest$ac_exeext'
112386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112387 (eval $ac_try) 2>&5
112388 ac_status=$?
112389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112390 (exit $ac_status); }; }; then
112391 eval "$as_ac_var=yes"
112392 else
112393 echo "$as_me: failed program was:" >&5
112394 sed 's/^/| /' conftest.$ac_ext >&5
112395
112396 eval "$as_ac_var=no"
112397 fi
112398 rm -f conftest.err conftest.$ac_objext \
112399 conftest$ac_exeext conftest.$ac_ext
112400 fi
112401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112403 if test `eval echo '${'$as_ac_var'}'` = yes; then
112404 cat >>confdefs.h <<_ACEOF
112405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112406 _ACEOF
112407
112408 else
112409 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112410 fi
112411 done
112412
112413 fi
112414
112415 # Used in libmath/Makefile.am.
112416 if test -n "$LIBMATHOBJS"; then
112417 need_libmath=yes
112418 fi
112419
112420
112421 cat >>confdefs.h <<\_ACEOF
112422 #define HAVE_COSF 1
112423 _ACEOF
112424
112425 cat >>confdefs.h <<\_ACEOF
112426 #define HAVE_COSL 1
112427 _ACEOF
112428
112429 cat >>confdefs.h <<\_ACEOF
112430 #define HAVE_COSHF 1
112431 _ACEOF
112432
112433 cat >>confdefs.h <<\_ACEOF
112434 #define HAVE_COSHL 1
112435 _ACEOF
112436
112437 cat >>confdefs.h <<\_ACEOF
112438 #define HAVE_LOGF 1
112439 _ACEOF
112440
112441 cat >>confdefs.h <<\_ACEOF
112442 #define HAVE_LOGL 1
112443 _ACEOF
112444
112445 cat >>confdefs.h <<\_ACEOF
112446 #define HAVE_LOG10F 1
112447 _ACEOF
112448
112449 cat >>confdefs.h <<\_ACEOF
112450 #define HAVE_LOG10L 1
112451 _ACEOF
112452
112453 cat >>confdefs.h <<\_ACEOF
112454 #define HAVE_SINF 1
112455 _ACEOF
112456
112457 cat >>confdefs.h <<\_ACEOF
112458 #define HAVE_SINL 1
112459 _ACEOF
112460
112461 cat >>confdefs.h <<\_ACEOF
112462 #define HAVE_SINHF 1
112463 _ACEOF
112464
112465 cat >>confdefs.h <<\_ACEOF
112466 #define HAVE_SINHL 1
112467 _ACEOF
112468
112469 ;;
112470 *-solaris*)
112471 case "$target" in
112472 # *-solaris2.5)
112473 # os_include_dir="os/solaris/solaris2.5"
112474 # ;;
112475 # *-solaris2.6)
112476 # os_include_dir="os/solaris/solaris2.6"
112477 # ;;
112478 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112479
112480 # If we're not using GNU ld, then there's no point in even trying these
112481 # tests. Check for that first. We should have already tested for gld
112482 # by now (in libtool), but require it now just to be safe...
112483 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112484 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112485
112486
112487
112488 # The name set by libtool depends on the version of libtool. Shame on us
112489 # for depending on an impl detail, but c'est la vie. Older versions used
112490 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112491 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112492 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112493 # set (hence we're using an older libtool), then set it.
112494 if test x${with_gnu_ld+set} != xset; then
112495 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112496 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112497 with_gnu_ld=no
112498 else
112499 with_gnu_ld=$ac_cv_prog_gnu_ld
112500 fi
112501 fi
112502
112503 # Start by getting the version number. I think the libtool test already
112504 # does some of this, but throws away the result.
112505 if test x"$with_gnu_ld" = x"yes"; then
112506 echo "$as_me:$LINENO: checking for ld version" >&5
112507 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112508
112509 ldver=`$LD --version 2>/dev/null | head -1 | \
112510 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112511
112512 glibcxx_gnu_ld_version=`echo $ldver | \
112513 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112514 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112515 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112516 fi
112517
112518 # Set --gc-sections.
112519 glibcxx_gcsections_min_ld=21602
112520 if test x"$with_gnu_ld" = x"yes" &&
112521 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112522
112523 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112524 # NB: This flag only works reliably after 2.16.1. Configure tests
112525 # for this are difficult, so hard wire a value that should work.
112526
112527 ac_test_CFLAGS="${CFLAGS+set}"
112528 ac_save_CFLAGS="$CFLAGS"
112529 CFLAGS='-Wl,--gc-sections'
112530
112531 # Check for -Wl,--gc-sections
112532 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112533 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112534 if test x$gcc_no_link = xyes; then
112535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112537 { (exit 1); exit 1; }; }
112538 fi
112539 cat >conftest.$ac_ext <<_ACEOF
112540 /* confdefs.h. */
112541 _ACEOF
112542 cat confdefs.h >>conftest.$ac_ext
112543 cat >>conftest.$ac_ext <<_ACEOF
112544 /* end confdefs.h. */
112545 int one(void) { return 1; }
112546 int two(void) { return 2; }
112547
112548 int
112549 main ()
112550 {
112551 two();
112552 ;
112553 return 0;
112554 }
112555 _ACEOF
112556 rm -f conftest.$ac_objext conftest$ac_exeext
112557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112558 (eval $ac_link) 2>conftest.er1
112559 ac_status=$?
112560 grep -v '^ *+' conftest.er1 >conftest.err
112561 rm -f conftest.er1
112562 cat conftest.err >&5
112563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112564 (exit $ac_status); } &&
112565 { ac_try='test -z "$ac_c_werror_flag"
112566 || test ! -s conftest.err'
112567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112568 (eval $ac_try) 2>&5
112569 ac_status=$?
112570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112571 (exit $ac_status); }; } &&
112572 { ac_try='test -s conftest$ac_exeext'
112573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112574 (eval $ac_try) 2>&5
112575 ac_status=$?
112576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112577 (exit $ac_status); }; }; then
112578 ac_gcsections=yes
112579 else
112580 echo "$as_me: failed program was:" >&5
112581 sed 's/^/| /' conftest.$ac_ext >&5
112582
112583 ac_gcsections=no
112584 fi
112585 rm -f conftest.err conftest.$ac_objext \
112586 conftest$ac_exeext conftest.$ac_ext
112587 if test "$ac_gcsections" = "yes"; then
112588 rm -f conftest.c
112589 touch conftest.c
112590 if $CC -c conftest.c; then
112591 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112592 grep "Warning: gc-sections option ignored" > /dev/null; then
112593 ac_gcsections=no
112594 fi
112595 fi
112596 rm -f conftest.c conftest.o conftest
112597 fi
112598 if test "$ac_gcsections" = "yes"; then
112599 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112600 fi
112601 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112602 echo "${ECHO_T}$ac_gcsections" >&6
112603
112604 if test "$ac_test_CFLAGS" = set; then
112605 CFLAGS="$ac_save_CFLAGS"
112606 else
112607 # this is the suspicious part
112608 CFLAGS=''
112609 fi
112610 fi
112611
112612 # Set -z,relro.
112613 # Note this is only for shared objects.
112614 ac_ld_relro=no
112615 if test x"$with_gnu_ld" = x"yes"; then
112616 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112617 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112618 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112619 if test -n "$cxx_z_relo"; then
112620 OPT_LDFLAGS="-Wl,-z,relro"
112621 ac_ld_relro=yes
112622 fi
112623 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112624 echo "${ECHO_T}$ac_ld_relro" >&6
112625 fi
112626
112627 # Set linker optimization flags.
112628 if test x"$with_gnu_ld" = x"yes"; then
112629 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112630 fi
112631
112632
112633
112634
112635 cat >>confdefs.h <<\_ACEOF
112636 #define HAVE_GETPAGESIZE 1
112637 _ACEOF
112638
112639 cat >>confdefs.h <<\_ACEOF
112640 #define HAVE_SIGSETJMP 1
112641 _ACEOF
112642
112643 cat >>confdefs.h <<\_ACEOF
112644 #define HAVE_MBSTATE_T 1
112645 _ACEOF
112646
112647 cat >>confdefs.h <<\_ACEOF
112648 #define HAVE_POLL 1
112649 _ACEOF
112650
112651 cat >>confdefs.h <<\_ACEOF
112652 #define HAVE_S_ISREG 1
112653 _ACEOF
112654
112655 cat >>confdefs.h <<\_ACEOF
112656 #define HAVE_LC_MESSAGES 1
112657 _ACEOF
112658
112659 cat >>confdefs.h <<\_ACEOF
112660 #define HAVE_FINITE 1
112661 _ACEOF
112662
112663 cat >>confdefs.h <<\_ACEOF
112664 #define HAVE_FPCLASS 1
112665 _ACEOF
112666
112667 cat >>confdefs.h <<\_ACEOF
112668 #define HAVE_GETPAGESIZE 1
112669 _ACEOF
112670
112671 # All of the dependencies for wide character support are here, so
112672 # turn it on.
112673 cat >>confdefs.h <<\_ACEOF
112674 #define _GLIBCXX_USE_WCHAR_T 1
112675 _ACEOF
112676
112677 # Are these tested for even when cross?
112678 cat >>confdefs.h <<\_ACEOF
112679 #define HAVE_FLOAT_H 1
112680 _ACEOF
112681
112682 cat >>confdefs.h <<\_ACEOF
112683 #define HAVE_IEEEFP_H 1
112684 _ACEOF
112685
112686 cat >>confdefs.h <<\_ACEOF
112687 #define HAVE_INTTYPES_H 1
112688 _ACEOF
112689
112690 cat >>confdefs.h <<\_ACEOF
112691 #define HAVE_LOCALE_H 1
112692 _ACEOF
112693
112694 cat >>confdefs.h <<\_ACEOF
112695 #define HAVE_NAN_H 1
112696 _ACEOF
112697
112698 cat >>confdefs.h <<\_ACEOF
112699 #define HAVE_SYS_FILIO_H 1
112700 _ACEOF
112701
112702 cat >>confdefs.h <<\_ACEOF
112703 #define HAVE_SYS_IOCTL_H 1
112704 _ACEOF
112705
112706 cat >>confdefs.h <<\_ACEOF
112707 #define HAVE_SYS_ISA_DEFS_H 1
112708 _ACEOF
112709
112710 cat >>confdefs.h <<\_ACEOF
112711 #define HAVE_SYS_RESOURCE_H 1
112712 _ACEOF
112713
112714 cat >>confdefs.h <<\_ACEOF
112715 #define HAVE_SYS_TIME_H 1
112716 _ACEOF
112717
112718 cat >>confdefs.h <<\_ACEOF
112719 #define HAVE_SYS_TYPES_H 1
112720 _ACEOF
112721
112722 cat >>confdefs.h <<\_ACEOF
112723 #define HAVE_UNISTD_H 1
112724 _ACEOF
112725
112726 cat >>confdefs.h <<\_ACEOF
112727 #define HAVE_WCHAR_H 1
112728 _ACEOF
112729
112730 cat >>confdefs.h <<\_ACEOF
112731 #define HAVE_WCTYPE_H 1
112732 _ACEOF
112733
112734 cat >>confdefs.h <<\_ACEOF
112735 #define HAVE_LIBM 1
112736 _ACEOF
112737
112738 ;;
112739 esac
112740 case "$target" in
112741 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
112742 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
112743 cat >>confdefs.h <<\_ACEOF
112744 #define HAVE___BUILTIN_ABS 1
112745 _ACEOF
112746
112747 cat >>confdefs.h <<\_ACEOF
112748 #define HAVE___BUILTIN_LABS 1
112749 _ACEOF
112750
112751 cat >>confdefs.h <<\_ACEOF
112752 #define HAVE___BUILTIN_FABS 1
112753 _ACEOF
112754
112755 cat >>confdefs.h <<\_ACEOF
112756 #define HAVE___BUILTIN_FABSF 1
112757 _ACEOF
112758
112759 cat >>confdefs.h <<\_ACEOF
112760 #define HAVE___BUILTIN_FABSL 1
112761 _ACEOF
112762
112763 cat >>confdefs.h <<\_ACEOF
112764 #define HAVE___BUILTIN_COS 1
112765 _ACEOF
112766
112767 cat >>confdefs.h <<\_ACEOF
112768 #define HAVE___BUILTIN_COSF 1
112769 _ACEOF
112770
112771 cat >>confdefs.h <<\_ACEOF
112772 #define HAVE___BUILTIN_SIN 1
112773 _ACEOF
112774
112775 cat >>confdefs.h <<\_ACEOF
112776 #define HAVE___BUILTIN_SINF 1
112777 _ACEOF
112778
112779 ;;
112780 esac
112781 case "$target" in
112782 *-*-solaris2.10)
112783 # These two C99 functions are present only in Solaris >= 10
112784 cat >>confdefs.h <<\_ACEOF
112785 #define HAVE_STRTOF 1
112786 _ACEOF
112787
112788 cat >>confdefs.h <<\_ACEOF
112789 #define HAVE_STRTOLD 1
112790 _ACEOF
112791
112792 ;;
112793 esac
112794 cat >>confdefs.h <<\_ACEOF
112795 #define HAVE_MMAP 1
112796 _ACEOF
112797
112798 cat >>confdefs.h <<\_ACEOF
112799 #define HAVE_COPYSIGN 1
112800 _ACEOF
112801
112802 cat >>confdefs.h <<\_ACEOF
112803 #define HAVE_ISNAN 1
112804 _ACEOF
112805
112806 cat >>confdefs.h <<\_ACEOF
112807 #define HAVE_ISNANF 1
112808 _ACEOF
112809
112810 cat >>confdefs.h <<\_ACEOF
112811 #define HAVE_MODFF 1
112812 _ACEOF
112813
112814 cat >>confdefs.h <<\_ACEOF
112815 #define HAVE_HYPOT 1
112816 _ACEOF
112817
112818 ;;
112819 *-tpf)
112820
112821
112822
112823
112824
112825
112826
112827
112828 for ac_header in nan.h endian.h machine/endian.h \
112829 sys/param.h sys/types.h locale.h float.h inttypes.h
112830 do
112831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112833 echo "$as_me:$LINENO: checking for $ac_header" >&5
112834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112836 echo $ECHO_N "(cached) $ECHO_C" >&6
112837 fi
112838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112840 else
112841 # Is the header compilable?
112842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112844 cat >conftest.$ac_ext <<_ACEOF
112845 /* confdefs.h. */
112846 _ACEOF
112847 cat confdefs.h >>conftest.$ac_ext
112848 cat >>conftest.$ac_ext <<_ACEOF
112849 /* end confdefs.h. */
112850 $ac_includes_default
112851 #include <$ac_header>
112852 _ACEOF
112853 rm -f conftest.$ac_objext
112854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112855 (eval $ac_compile) 2>conftest.er1
112856 ac_status=$?
112857 grep -v '^ *+' conftest.er1 >conftest.err
112858 rm -f conftest.er1
112859 cat conftest.err >&5
112860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112861 (exit $ac_status); } &&
112862 { ac_try='test -z "$ac_c_werror_flag"
112863 || test ! -s conftest.err'
112864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112865 (eval $ac_try) 2>&5
112866 ac_status=$?
112867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112868 (exit $ac_status); }; } &&
112869 { ac_try='test -s conftest.$ac_objext'
112870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112871 (eval $ac_try) 2>&5
112872 ac_status=$?
112873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112874 (exit $ac_status); }; }; then
112875 ac_header_compiler=yes
112876 else
112877 echo "$as_me: failed program was:" >&5
112878 sed 's/^/| /' conftest.$ac_ext >&5
112879
112880 ac_header_compiler=no
112881 fi
112882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112884 echo "${ECHO_T}$ac_header_compiler" >&6
112885
112886 # Is the header present?
112887 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112889 cat >conftest.$ac_ext <<_ACEOF
112890 /* confdefs.h. */
112891 _ACEOF
112892 cat confdefs.h >>conftest.$ac_ext
112893 cat >>conftest.$ac_ext <<_ACEOF
112894 /* end confdefs.h. */
112895 #include <$ac_header>
112896 _ACEOF
112897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112898 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112899 ac_status=$?
112900 grep -v '^ *+' conftest.er1 >conftest.err
112901 rm -f conftest.er1
112902 cat conftest.err >&5
112903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112904 (exit $ac_status); } >/dev/null; then
112905 if test -s conftest.err; then
112906 ac_cpp_err=$ac_c_preproc_warn_flag
112907 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112908 else
112909 ac_cpp_err=
112910 fi
112911 else
112912 ac_cpp_err=yes
112913 fi
112914 if test -z "$ac_cpp_err"; then
112915 ac_header_preproc=yes
112916 else
112917 echo "$as_me: failed program was:" >&5
112918 sed 's/^/| /' conftest.$ac_ext >&5
112919
112920 ac_header_preproc=no
112921 fi
112922 rm -f conftest.err conftest.$ac_ext
112923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112924 echo "${ECHO_T}$ac_header_preproc" >&6
112925
112926 # So? What about this header?
112927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112928 yes:no: )
112929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112933 ac_header_preproc=yes
112934 ;;
112935 no:yes:* )
112936 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112938 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112940 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112942 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112943 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112946 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112948 (
112949 cat <<\_ASBOX
112950 ## ----------------------------------------- ##
112951 ## Report this to the package-unused lists. ##
112952 ## ----------------------------------------- ##
112953 _ASBOX
112954 ) |
112955 sed "s/^/$as_me: WARNING: /" >&2
112956 ;;
112957 esac
112958 echo "$as_me:$LINENO: checking for $ac_header" >&5
112959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112961 echo $ECHO_N "(cached) $ECHO_C" >&6
112962 else
112963 eval "$as_ac_Header=\$ac_header_preproc"
112964 fi
112965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112967
112968 fi
112969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112970 cat >>confdefs.h <<_ACEOF
112971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112972 _ACEOF
112973
112974 fi
112975
112976 done
112977
112978 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112979
112980
112981 # If we're not using GNU ld, then there's no point in even trying these
112982 # tests. Check for that first. We should have already tested for gld
112983 # by now (in libtool), but require it now just to be safe...
112984 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112985 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112986
112987
112988
112989 # The name set by libtool depends on the version of libtool. Shame on us
112990 # for depending on an impl detail, but c'est la vie. Older versions used
112991 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112992 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112993 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112994 # set (hence we're using an older libtool), then set it.
112995 if test x${with_gnu_ld+set} != xset; then
112996 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112997 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112998 with_gnu_ld=no
112999 else
113000 with_gnu_ld=$ac_cv_prog_gnu_ld
113001 fi
113002 fi
113003
113004 # Start by getting the version number. I think the libtool test already
113005 # does some of this, but throws away the result.
113006 if test x"$with_gnu_ld" = x"yes"; then
113007 echo "$as_me:$LINENO: checking for ld version" >&5
113008 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113009
113010 ldver=`$LD --version 2>/dev/null | head -1 | \
113011 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113012
113013 glibcxx_gnu_ld_version=`echo $ldver | \
113014 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113015 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113016 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113017 fi
113018
113019 # Set --gc-sections.
113020 glibcxx_gcsections_min_ld=21602
113021 if test x"$with_gnu_ld" = x"yes" &&
113022 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113023
113024 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113025 # NB: This flag only works reliably after 2.16.1. Configure tests
113026 # for this are difficult, so hard wire a value that should work.
113027
113028 ac_test_CFLAGS="${CFLAGS+set}"
113029 ac_save_CFLAGS="$CFLAGS"
113030 CFLAGS='-Wl,--gc-sections'
113031
113032 # Check for -Wl,--gc-sections
113033 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113034 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113035 if test x$gcc_no_link = xyes; then
113036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113038 { (exit 1); exit 1; }; }
113039 fi
113040 cat >conftest.$ac_ext <<_ACEOF
113041 /* confdefs.h. */
113042 _ACEOF
113043 cat confdefs.h >>conftest.$ac_ext
113044 cat >>conftest.$ac_ext <<_ACEOF
113045 /* end confdefs.h. */
113046 int one(void) { return 1; }
113047 int two(void) { return 2; }
113048
113049 int
113050 main ()
113051 {
113052 two();
113053 ;
113054 return 0;
113055 }
113056 _ACEOF
113057 rm -f conftest.$ac_objext conftest$ac_exeext
113058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113059 (eval $ac_link) 2>conftest.er1
113060 ac_status=$?
113061 grep -v '^ *+' conftest.er1 >conftest.err
113062 rm -f conftest.er1
113063 cat conftest.err >&5
113064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113065 (exit $ac_status); } &&
113066 { ac_try='test -z "$ac_c_werror_flag"
113067 || test ! -s conftest.err'
113068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113069 (eval $ac_try) 2>&5
113070 ac_status=$?
113071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113072 (exit $ac_status); }; } &&
113073 { ac_try='test -s conftest$ac_exeext'
113074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113075 (eval $ac_try) 2>&5
113076 ac_status=$?
113077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113078 (exit $ac_status); }; }; then
113079 ac_gcsections=yes
113080 else
113081 echo "$as_me: failed program was:" >&5
113082 sed 's/^/| /' conftest.$ac_ext >&5
113083
113084 ac_gcsections=no
113085 fi
113086 rm -f conftest.err conftest.$ac_objext \
113087 conftest$ac_exeext conftest.$ac_ext
113088 if test "$ac_gcsections" = "yes"; then
113089 rm -f conftest.c
113090 touch conftest.c
113091 if $CC -c conftest.c; then
113092 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113093 grep "Warning: gc-sections option ignored" > /dev/null; then
113094 ac_gcsections=no
113095 fi
113096 fi
113097 rm -f conftest.c conftest.o conftest
113098 fi
113099 if test "$ac_gcsections" = "yes"; then
113100 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113101 fi
113102 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113103 echo "${ECHO_T}$ac_gcsections" >&6
113104
113105 if test "$ac_test_CFLAGS" = set; then
113106 CFLAGS="$ac_save_CFLAGS"
113107 else
113108 # this is the suspicious part
113109 CFLAGS=''
113110 fi
113111 fi
113112
113113 # Set -z,relro.
113114 # Note this is only for shared objects.
113115 ac_ld_relro=no
113116 if test x"$with_gnu_ld" = x"yes"; then
113117 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113118 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113119 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113120 if test -n "$cxx_z_relo"; then
113121 OPT_LDFLAGS="-Wl,-z,relro"
113122 ac_ld_relro=yes
113123 fi
113124 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113125 echo "${ECHO_T}$ac_ld_relro" >&6
113126 fi
113127
113128 # Set linker optimization flags.
113129 if test x"$with_gnu_ld" = x"yes"; then
113130 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113131 fi
113132
113133
113134
113135
113136
113137
113138 echo "$as_me:$LINENO: checking for main in -lm" >&5
113139 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113140 if test "${ac_cv_lib_m_main+set}" = set; then
113141 echo $ECHO_N "(cached) $ECHO_C" >&6
113142 else
113143 ac_check_lib_save_LIBS=$LIBS
113144 LIBS="-lm $LIBS"
113145 if test x$gcc_no_link = xyes; then
113146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113148 { (exit 1); exit 1; }; }
113149 fi
113150 cat >conftest.$ac_ext <<_ACEOF
113151 /* confdefs.h. */
113152 _ACEOF
113153 cat confdefs.h >>conftest.$ac_ext
113154 cat >>conftest.$ac_ext <<_ACEOF
113155 /* end confdefs.h. */
113156
113157
113158 int
113159 main ()
113160 {
113161 main ();
113162 ;
113163 return 0;
113164 }
113165 _ACEOF
113166 rm -f conftest.$ac_objext conftest$ac_exeext
113167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113168 (eval $ac_link) 2>conftest.er1
113169 ac_status=$?
113170 grep -v '^ *+' conftest.er1 >conftest.err
113171 rm -f conftest.er1
113172 cat conftest.err >&5
113173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113174 (exit $ac_status); } &&
113175 { ac_try='test -z "$ac_c_werror_flag"
113176 || test ! -s conftest.err'
113177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113178 (eval $ac_try) 2>&5
113179 ac_status=$?
113180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113181 (exit $ac_status); }; } &&
113182 { ac_try='test -s conftest$ac_exeext'
113183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113184 (eval $ac_try) 2>&5
113185 ac_status=$?
113186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113187 (exit $ac_status); }; }; then
113188 ac_cv_lib_m_main=yes
113189 else
113190 echo "$as_me: failed program was:" >&5
113191 sed 's/^/| /' conftest.$ac_ext >&5
113192
113193 ac_cv_lib_m_main=no
113194 fi
113195 rm -f conftest.err conftest.$ac_objext \
113196 conftest$ac_exeext conftest.$ac_ext
113197 LIBS=$ac_check_lib_save_LIBS
113198 fi
113199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113200 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113201 if test $ac_cv_lib_m_main = yes; then
113202 cat >>confdefs.h <<_ACEOF
113203 #define HAVE_LIBM 1
113204 _ACEOF
113205
113206 LIBS="-lm $LIBS"
113207
113208 fi
113209
113210
113211 for ac_func in copysignf
113212 do
113213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113214 echo "$as_me:$LINENO: checking for $ac_func" >&5
113215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113216 if eval "test \"\${$as_ac_var+set}\" = set"; then
113217 echo $ECHO_N "(cached) $ECHO_C" >&6
113218 else
113219 if test x$gcc_no_link = xyes; then
113220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113222 { (exit 1); exit 1; }; }
113223 fi
113224 cat >conftest.$ac_ext <<_ACEOF
113225 /* confdefs.h. */
113226 _ACEOF
113227 cat confdefs.h >>conftest.$ac_ext
113228 cat >>conftest.$ac_ext <<_ACEOF
113229 /* end confdefs.h. */
113230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113232 #define $ac_func innocuous_$ac_func
113233
113234 /* System header to define __stub macros and hopefully few prototypes,
113235 which can conflict with char $ac_func (); below.
113236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113237 <limits.h> exists even on freestanding compilers. */
113238
113239 #ifdef __STDC__
113240 # include <limits.h>
113241 #else
113242 # include <assert.h>
113243 #endif
113244
113245 #undef $ac_func
113246
113247 /* Override any gcc2 internal prototype to avoid an error. */
113248 #ifdef __cplusplus
113249 extern "C"
113250 {
113251 #endif
113252 /* We use char because int might match the return type of a gcc2
113253 builtin and then its argument prototype would still apply. */
113254 char $ac_func ();
113255 /* The GNU C library defines this for functions which it implements
113256 to always fail with ENOSYS. Some functions are actually named
113257 something starting with __ and the normal name is an alias. */
113258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113259 choke me
113260 #else
113261 char (*f) () = $ac_func;
113262 #endif
113263 #ifdef __cplusplus
113264 }
113265 #endif
113266
113267 int
113268 main ()
113269 {
113270 return f != $ac_func;
113271 ;
113272 return 0;
113273 }
113274 _ACEOF
113275 rm -f conftest.$ac_objext conftest$ac_exeext
113276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113277 (eval $ac_link) 2>conftest.er1
113278 ac_status=$?
113279 grep -v '^ *+' conftest.er1 >conftest.err
113280 rm -f conftest.er1
113281 cat conftest.err >&5
113282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113283 (exit $ac_status); } &&
113284 { ac_try='test -z "$ac_c_werror_flag"
113285 || test ! -s conftest.err'
113286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113287 (eval $ac_try) 2>&5
113288 ac_status=$?
113289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113290 (exit $ac_status); }; } &&
113291 { ac_try='test -s conftest$ac_exeext'
113292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113293 (eval $ac_try) 2>&5
113294 ac_status=$?
113295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113296 (exit $ac_status); }; }; then
113297 eval "$as_ac_var=yes"
113298 else
113299 echo "$as_me: failed program was:" >&5
113300 sed 's/^/| /' conftest.$ac_ext >&5
113301
113302 eval "$as_ac_var=no"
113303 fi
113304 rm -f conftest.err conftest.$ac_objext \
113305 conftest$ac_exeext conftest.$ac_ext
113306 fi
113307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113309 if test `eval echo '${'$as_ac_var'}'` = yes; then
113310 cat >>confdefs.h <<_ACEOF
113311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113312 _ACEOF
113313
113314 else
113315 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113316 fi
113317 done
113318
113319
113320
113321 for ac_func in __signbit
113322 do
113323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113324 echo "$as_me:$LINENO: checking for $ac_func" >&5
113325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113326 if eval "test \"\${$as_ac_var+set}\" = set"; then
113327 echo $ECHO_N "(cached) $ECHO_C" >&6
113328 else
113329 if test x$gcc_no_link = xyes; then
113330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113332 { (exit 1); exit 1; }; }
113333 fi
113334 cat >conftest.$ac_ext <<_ACEOF
113335 /* confdefs.h. */
113336 _ACEOF
113337 cat confdefs.h >>conftest.$ac_ext
113338 cat >>conftest.$ac_ext <<_ACEOF
113339 /* end confdefs.h. */
113340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113342 #define $ac_func innocuous_$ac_func
113343
113344 /* System header to define __stub macros and hopefully few prototypes,
113345 which can conflict with char $ac_func (); below.
113346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113347 <limits.h> exists even on freestanding compilers. */
113348
113349 #ifdef __STDC__
113350 # include <limits.h>
113351 #else
113352 # include <assert.h>
113353 #endif
113354
113355 #undef $ac_func
113356
113357 /* Override any gcc2 internal prototype to avoid an error. */
113358 #ifdef __cplusplus
113359 extern "C"
113360 {
113361 #endif
113362 /* We use char because int might match the return type of a gcc2
113363 builtin and then its argument prototype would still apply. */
113364 char $ac_func ();
113365 /* The GNU C library defines this for functions which it implements
113366 to always fail with ENOSYS. Some functions are actually named
113367 something starting with __ and the normal name is an alias. */
113368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113369 choke me
113370 #else
113371 char (*f) () = $ac_func;
113372 #endif
113373 #ifdef __cplusplus
113374 }
113375 #endif
113376
113377 int
113378 main ()
113379 {
113380 return f != $ac_func;
113381 ;
113382 return 0;
113383 }
113384 _ACEOF
113385 rm -f conftest.$ac_objext conftest$ac_exeext
113386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113387 (eval $ac_link) 2>conftest.er1
113388 ac_status=$?
113389 grep -v '^ *+' conftest.er1 >conftest.err
113390 rm -f conftest.er1
113391 cat conftest.err >&5
113392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113393 (exit $ac_status); } &&
113394 { ac_try='test -z "$ac_c_werror_flag"
113395 || test ! -s conftest.err'
113396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113397 (eval $ac_try) 2>&5
113398 ac_status=$?
113399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113400 (exit $ac_status); }; } &&
113401 { ac_try='test -s conftest$ac_exeext'
113402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113403 (eval $ac_try) 2>&5
113404 ac_status=$?
113405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113406 (exit $ac_status); }; }; then
113407 eval "$as_ac_var=yes"
113408 else
113409 echo "$as_me: failed program was:" >&5
113410 sed 's/^/| /' conftest.$ac_ext >&5
113411
113412 eval "$as_ac_var=no"
113413 fi
113414 rm -f conftest.err conftest.$ac_objext \
113415 conftest$ac_exeext conftest.$ac_ext
113416 fi
113417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113419 if test `eval echo '${'$as_ac_var'}'` = yes; then
113420 cat >>confdefs.h <<_ACEOF
113421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113422 _ACEOF
113423
113424 else
113425 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113426 fi
113427 done
113428
113429
113430
113431 for ac_func in __signbitf
113432 do
113433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113434 echo "$as_me:$LINENO: checking for $ac_func" >&5
113435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113436 if eval "test \"\${$as_ac_var+set}\" = set"; then
113437 echo $ECHO_N "(cached) $ECHO_C" >&6
113438 else
113439 if test x$gcc_no_link = xyes; then
113440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113442 { (exit 1); exit 1; }; }
113443 fi
113444 cat >conftest.$ac_ext <<_ACEOF
113445 /* confdefs.h. */
113446 _ACEOF
113447 cat confdefs.h >>conftest.$ac_ext
113448 cat >>conftest.$ac_ext <<_ACEOF
113449 /* end confdefs.h. */
113450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113452 #define $ac_func innocuous_$ac_func
113453
113454 /* System header to define __stub macros and hopefully few prototypes,
113455 which can conflict with char $ac_func (); below.
113456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113457 <limits.h> exists even on freestanding compilers. */
113458
113459 #ifdef __STDC__
113460 # include <limits.h>
113461 #else
113462 # include <assert.h>
113463 #endif
113464
113465 #undef $ac_func
113466
113467 /* Override any gcc2 internal prototype to avoid an error. */
113468 #ifdef __cplusplus
113469 extern "C"
113470 {
113471 #endif
113472 /* We use char because int might match the return type of a gcc2
113473 builtin and then its argument prototype would still apply. */
113474 char $ac_func ();
113475 /* The GNU C library defines this for functions which it implements
113476 to always fail with ENOSYS. Some functions are actually named
113477 something starting with __ and the normal name is an alias. */
113478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113479 choke me
113480 #else
113481 char (*f) () = $ac_func;
113482 #endif
113483 #ifdef __cplusplus
113484 }
113485 #endif
113486
113487 int
113488 main ()
113489 {
113490 return f != $ac_func;
113491 ;
113492 return 0;
113493 }
113494 _ACEOF
113495 rm -f conftest.$ac_objext conftest$ac_exeext
113496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113497 (eval $ac_link) 2>conftest.er1
113498 ac_status=$?
113499 grep -v '^ *+' conftest.er1 >conftest.err
113500 rm -f conftest.er1
113501 cat conftest.err >&5
113502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113503 (exit $ac_status); } &&
113504 { ac_try='test -z "$ac_c_werror_flag"
113505 || test ! -s conftest.err'
113506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113507 (eval $ac_try) 2>&5
113508 ac_status=$?
113509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113510 (exit $ac_status); }; } &&
113511 { ac_try='test -s conftest$ac_exeext'
113512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113513 (eval $ac_try) 2>&5
113514 ac_status=$?
113515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113516 (exit $ac_status); }; }; then
113517 eval "$as_ac_var=yes"
113518 else
113519 echo "$as_me: failed program was:" >&5
113520 sed 's/^/| /' conftest.$ac_ext >&5
113521
113522 eval "$as_ac_var=no"
113523 fi
113524 rm -f conftest.err conftest.$ac_objext \
113525 conftest$ac_exeext conftest.$ac_ext
113526 fi
113527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113529 if test `eval echo '${'$as_ac_var'}'` = yes; then
113530 cat >>confdefs.h <<_ACEOF
113531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113532 _ACEOF
113533
113534 else
113535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113536 fi
113537 done
113538
113539
113540 if test x$ac_cv_func_copysignl = x"yes"; then
113541
113542 for ac_func in __signbitl
113543 do
113544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113545 echo "$as_me:$LINENO: checking for $ac_func" >&5
113546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113547 if eval "test \"\${$as_ac_var+set}\" = set"; then
113548 echo $ECHO_N "(cached) $ECHO_C" >&6
113549 else
113550 if test x$gcc_no_link = xyes; then
113551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113553 { (exit 1); exit 1; }; }
113554 fi
113555 cat >conftest.$ac_ext <<_ACEOF
113556 /* confdefs.h. */
113557 _ACEOF
113558 cat confdefs.h >>conftest.$ac_ext
113559 cat >>conftest.$ac_ext <<_ACEOF
113560 /* end confdefs.h. */
113561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113563 #define $ac_func innocuous_$ac_func
113564
113565 /* System header to define __stub macros and hopefully few prototypes,
113566 which can conflict with char $ac_func (); below.
113567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113568 <limits.h> exists even on freestanding compilers. */
113569
113570 #ifdef __STDC__
113571 # include <limits.h>
113572 #else
113573 # include <assert.h>
113574 #endif
113575
113576 #undef $ac_func
113577
113578 /* Override any gcc2 internal prototype to avoid an error. */
113579 #ifdef __cplusplus
113580 extern "C"
113581 {
113582 #endif
113583 /* We use char because int might match the return type of a gcc2
113584 builtin and then its argument prototype would still apply. */
113585 char $ac_func ();
113586 /* The GNU C library defines this for functions which it implements
113587 to always fail with ENOSYS. Some functions are actually named
113588 something starting with __ and the normal name is an alias. */
113589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113590 choke me
113591 #else
113592 char (*f) () = $ac_func;
113593 #endif
113594 #ifdef __cplusplus
113595 }
113596 #endif
113597
113598 int
113599 main ()
113600 {
113601 return f != $ac_func;
113602 ;
113603 return 0;
113604 }
113605 _ACEOF
113606 rm -f conftest.$ac_objext conftest$ac_exeext
113607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113608 (eval $ac_link) 2>conftest.er1
113609 ac_status=$?
113610 grep -v '^ *+' conftest.er1 >conftest.err
113611 rm -f conftest.er1
113612 cat conftest.err >&5
113613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113614 (exit $ac_status); } &&
113615 { ac_try='test -z "$ac_c_werror_flag"
113616 || test ! -s conftest.err'
113617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113618 (eval $ac_try) 2>&5
113619 ac_status=$?
113620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113621 (exit $ac_status); }; } &&
113622 { ac_try='test -s conftest$ac_exeext'
113623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113624 (eval $ac_try) 2>&5
113625 ac_status=$?
113626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113627 (exit $ac_status); }; }; then
113628 eval "$as_ac_var=yes"
113629 else
113630 echo "$as_me: failed program was:" >&5
113631 sed 's/^/| /' conftest.$ac_ext >&5
113632
113633 eval "$as_ac_var=no"
113634 fi
113635 rm -f conftest.err conftest.$ac_objext \
113636 conftest$ac_exeext conftest.$ac_ext
113637 fi
113638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113640 if test `eval echo '${'$as_ac_var'}'` = yes; then
113641 cat >>confdefs.h <<_ACEOF
113642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113643 _ACEOF
113644
113645 else
113646 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113647 fi
113648 done
113649
113650 fi
113651
113652 # Used in libmath/Makefile.am.
113653 if test -n "$LIBMATHOBJS"; then
113654 need_libmath=yes
113655 fi
113656
113657
113658 cat >>confdefs.h <<\_ACEOF
113659 #define HAVE_COPYSIGN 1
113660 _ACEOF
113661
113662 cat >>confdefs.h <<\_ACEOF
113663 #define HAVE_COPYSIGNF 1
113664 _ACEOF
113665
113666 cat >>confdefs.h <<\_ACEOF
113667 #define HAVE_FINITE 1
113668 _ACEOF
113669
113670 cat >>confdefs.h <<\_ACEOF
113671 #define HAVE_FINITEF 1
113672 _ACEOF
113673
113674 cat >>confdefs.h <<\_ACEOF
113675 #define HAVE_FREXPF 1
113676 _ACEOF
113677
113678 cat >>confdefs.h <<\_ACEOF
113679 #define HAVE_HYPOTF 1
113680 _ACEOF
113681
113682 cat >>confdefs.h <<\_ACEOF
113683 #define HAVE_ISINF 1
113684 _ACEOF
113685
113686 cat >>confdefs.h <<\_ACEOF
113687 #define HAVE_ISINFF 1
113688 _ACEOF
113689
113690 cat >>confdefs.h <<\_ACEOF
113691 #define HAVE_ISNAN 1
113692 _ACEOF
113693
113694 cat >>confdefs.h <<\_ACEOF
113695 #define HAVE_ISNANF 1
113696 _ACEOF
113697
113698 cat >>confdefs.h <<\_ACEOF
113699 #define HAVE_SINCOS 1
113700 _ACEOF
113701
113702 cat >>confdefs.h <<\_ACEOF
113703 #define HAVE_SINCOSF 1
113704 _ACEOF
113705
113706 if test x"long_double_math_on_this_cpu" = x"yes"; then
113707 cat >>confdefs.h <<\_ACEOF
113708 #define HAVE_FINITEL 1
113709 _ACEOF
113710
113711 cat >>confdefs.h <<\_ACEOF
113712 #define HAVE_HYPOTL 1
113713 _ACEOF
113714
113715 cat >>confdefs.h <<\_ACEOF
113716 #define HAVE_ISINFL 1
113717 _ACEOF
113718
113719 cat >>confdefs.h <<\_ACEOF
113720 #define HAVE_ISNANL 1
113721 _ACEOF
113722
113723 fi
113724 ;;
113725 *-vxworks)
113726 cat >>confdefs.h <<\_ACEOF
113727 #define HAVE_MMAP 1
113728 _ACEOF
113729
113730 cat >>confdefs.h <<\_ACEOF
113731 #define HAVE_ACOSF 1
113732 _ACEOF
113733
113734 cat >>confdefs.h <<\_ACEOF
113735 #define HAVE_ASINF 1
113736 _ACEOF
113737
113738 cat >>confdefs.h <<\_ACEOF
113739 #define HAVE_ATAN2F 1
113740 _ACEOF
113741
113742 cat >>confdefs.h <<\_ACEOF
113743 #define HAVE_ATANF 1
113744 _ACEOF
113745
113746 cat >>confdefs.h <<\_ACEOF
113747 #define HAVE_CEILF 1
113748 _ACEOF
113749
113750 cat >>confdefs.h <<\_ACEOF
113751 #define HAVE_COSF 1
113752 _ACEOF
113753
113754 cat >>confdefs.h <<\_ACEOF
113755 #define HAVE_COSHF 1
113756 _ACEOF
113757
113758 cat >>confdefs.h <<\_ACEOF
113759 #define HAVE_EXPF 1
113760 _ACEOF
113761
113762 cat >>confdefs.h <<\_ACEOF
113763 #define HAVE_FABSF 1
113764 _ACEOF
113765
113766 cat >>confdefs.h <<\_ACEOF
113767 #define HAVE_FLOORF 1
113768 _ACEOF
113769
113770 cat >>confdefs.h <<\_ACEOF
113771 #define HAVE_FMODF 1
113772 _ACEOF
113773
113774 cat >>confdefs.h <<\_ACEOF
113775 #define HAVE_HYPOT 1
113776 _ACEOF
113777
113778 cat >>confdefs.h <<\_ACEOF
113779 #define HAVE_LOG10F 1
113780 _ACEOF
113781
113782 cat >>confdefs.h <<\_ACEOF
113783 #define HAVE_LOGF 1
113784 _ACEOF
113785
113786 cat >>confdefs.h <<\_ACEOF
113787 #define HAVE_POWF 1
113788 _ACEOF
113789
113790 cat >>confdefs.h <<\_ACEOF
113791 #define HAVE_SINF 1
113792 _ACEOF
113793
113794 cat >>confdefs.h <<\_ACEOF
113795 #define HAVE_SINHF 1
113796 _ACEOF
113797
113798 cat >>confdefs.h <<\_ACEOF
113799 #define HAVE_SQRTF 1
113800 _ACEOF
113801
113802 cat >>confdefs.h <<\_ACEOF
113803 #define HAVE_TANF 1
113804 _ACEOF
113805
113806 cat >>confdefs.h <<\_ACEOF
113807 #define HAVE_TANHF 1
113808 _ACEOF
113809
113810 ;;
113811 *-windiss*)
113812 cat >>confdefs.h <<\_ACEOF
113813 #define HAVE_ACOSF 1
113814 _ACEOF
113815
113816 cat >>confdefs.h <<\_ACEOF
113817 #define HAVE_ACOSL 1
113818 _ACEOF
113819
113820 cat >>confdefs.h <<\_ACEOF
113821 #define HAVE_ASINF 1
113822 _ACEOF
113823
113824 cat >>confdefs.h <<\_ACEOF
113825 #define HAVE_ASINL 1
113826 _ACEOF
113827
113828 cat >>confdefs.h <<\_ACEOF
113829 #define HAVE_ATAN2F 1
113830 _ACEOF
113831
113832 cat >>confdefs.h <<\_ACEOF
113833 #define HAVE_ATAN2L 1
113834 _ACEOF
113835
113836 cat >>confdefs.h <<\_ACEOF
113837 #define HAVE_ATANF 1
113838 _ACEOF
113839
113840 cat >>confdefs.h <<\_ACEOF
113841 #define HAVE_ATANL 1
113842 _ACEOF
113843
113844 cat >>confdefs.h <<\_ACEOF
113845 #define HAVE_CEILF 1
113846 _ACEOF
113847
113848 cat >>confdefs.h <<\_ACEOF
113849 #define HAVE_CEILL 1
113850 _ACEOF
113851
113852 cat >>confdefs.h <<\_ACEOF
113853 #define HAVE_COPYSIGN 1
113854 _ACEOF
113855
113856 cat >>confdefs.h <<\_ACEOF
113857 #define HAVE_COPYSIGNF 1
113858 _ACEOF
113859
113860 cat >>confdefs.h <<\_ACEOF
113861 #define HAVE_COSF 1
113862 _ACEOF
113863
113864 cat >>confdefs.h <<\_ACEOF
113865 #define HAVE_COSL 1
113866 _ACEOF
113867
113868 cat >>confdefs.h <<\_ACEOF
113869 #define HAVE_COSHF 1
113870 _ACEOF
113871
113872 cat >>confdefs.h <<\_ACEOF
113873 #define HAVE_COSHL 1
113874 _ACEOF
113875
113876 cat >>confdefs.h <<\_ACEOF
113877 #define HAVE_EXPF 1
113878 _ACEOF
113879
113880 cat >>confdefs.h <<\_ACEOF
113881 #define HAVE_EXPL 1
113882 _ACEOF
113883
113884 cat >>confdefs.h <<\_ACEOF
113885 #define HAVE_FABSF 1
113886 _ACEOF
113887
113888 cat >>confdefs.h <<\_ACEOF
113889 #define HAVE_FABSL 1
113890 _ACEOF
113891
113892 cat >>confdefs.h <<\_ACEOF
113893 #define HAVE_FLOORF 1
113894 _ACEOF
113895
113896 cat >>confdefs.h <<\_ACEOF
113897 #define HAVE_FLOORL 1
113898 _ACEOF
113899
113900 cat >>confdefs.h <<\_ACEOF
113901 #define HAVE_FMODF 1
113902 _ACEOF
113903
113904 cat >>confdefs.h <<\_ACEOF
113905 #define HAVE_FMODL 1
113906 _ACEOF
113907
113908 cat >>confdefs.h <<\_ACEOF
113909 #define HAVE_FREXPF 1
113910 _ACEOF
113911
113912 cat >>confdefs.h <<\_ACEOF
113913 #define HAVE_FREXPL 1
113914 _ACEOF
113915
113916 cat >>confdefs.h <<\_ACEOF
113917 #define HAVE_LDEXPF 1
113918 _ACEOF
113919
113920 cat >>confdefs.h <<\_ACEOF
113921 #define HAVE_LDEXPL 1
113922 _ACEOF
113923
113924 cat >>confdefs.h <<\_ACEOF
113925 #define HAVE_LOG10F 1
113926 _ACEOF
113927
113928 cat >>confdefs.h <<\_ACEOF
113929 #define HAVE_LOG10L 1
113930 _ACEOF
113931
113932 cat >>confdefs.h <<\_ACEOF
113933 #define HAVE_LOGF 1
113934 _ACEOF
113935
113936 cat >>confdefs.h <<\_ACEOF
113937 #define HAVE_MODFF 1
113938 _ACEOF
113939
113940 cat >>confdefs.h <<\_ACEOF
113941 #define HAVE_MODFL 1
113942 _ACEOF
113943
113944 cat >>confdefs.h <<\_ACEOF
113945 #define HAVE_POWF 1
113946 _ACEOF
113947
113948 cat >>confdefs.h <<\_ACEOF
113949 #define HAVE_POWL 1
113950 _ACEOF
113951
113952 cat >>confdefs.h <<\_ACEOF
113953 #define HAVE_SINF 1
113954 _ACEOF
113955
113956 cat >>confdefs.h <<\_ACEOF
113957 #define HAVE_SINL 1
113958 _ACEOF
113959
113960 cat >>confdefs.h <<\_ACEOF
113961 #define HAVE_SINHF 1
113962 _ACEOF
113963
113964 cat >>confdefs.h <<\_ACEOF
113965 #define HAVE_SINHL 1
113966 _ACEOF
113967
113968 cat >>confdefs.h <<\_ACEOF
113969 #define HAVE_SQRTF 1
113970 _ACEOF
113971
113972 cat >>confdefs.h <<\_ACEOF
113973 #define HAVE_SQRTL 1
113974 _ACEOF
113975
113976 cat >>confdefs.h <<\_ACEOF
113977 #define HAVE_TANF 1
113978 _ACEOF
113979
113980 cat >>confdefs.h <<\_ACEOF
113981 #define HAVE_TANL 1
113982 _ACEOF
113983
113984 cat >>confdefs.h <<\_ACEOF
113985 #define HAVE_TANHF 1
113986 _ACEOF
113987
113988 cat >>confdefs.h <<\_ACEOF
113989 #define HAVE_TANHL 1
113990 _ACEOF
113991
113992 ;;
113993 *)
113994 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
113995 echo "$as_me: error: No support for this host/target combination." >&2;}
113996 { (exit 1); exit 1; }; }
113997 ;;
113998 esac
113999
114000 fi
114001
114002 # At some point, we should differentiate between architectures
114003 # like x86, which have long double versions, and alpha/powerpc/etc.,
114004 # which don't. For the time being, punt.
114005 if test x"long_double_math_on_this_cpu" = x"yes"; then
114006 cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_ACOSL 1
114008 _ACEOF
114009
114010 cat >>confdefs.h <<\_ACEOF
114011 #define HAVE_ASINL 1
114012 _ACEOF
114013
114014 cat >>confdefs.h <<\_ACEOF
114015 #define HAVE_ATAN2L 1
114016 _ACEOF
114017
114018 cat >>confdefs.h <<\_ACEOF
114019 #define HAVE_ATANL 1
114020 _ACEOF
114021
114022 cat >>confdefs.h <<\_ACEOF
114023 #define HAVE_CEILL 1
114024 _ACEOF
114025
114026 cat >>confdefs.h <<\_ACEOF
114027 #define HAVE_COPYSIGNL 1
114028 _ACEOF
114029
114030 cat >>confdefs.h <<\_ACEOF
114031 #define HAVE_COSL 1
114032 _ACEOF
114033
114034 cat >>confdefs.h <<\_ACEOF
114035 #define HAVE_COSHL 1
114036 _ACEOF
114037
114038 cat >>confdefs.h <<\_ACEOF
114039 #define HAVE_EXPL 1
114040 _ACEOF
114041
114042 cat >>confdefs.h <<\_ACEOF
114043 #define HAVE_FABSL 1
114044 _ACEOF
114045
114046 cat >>confdefs.h <<\_ACEOF
114047 #define HAVE_FLOORL 1
114048 _ACEOF
114049
114050 cat >>confdefs.h <<\_ACEOF
114051 #define HAVE_FMODL 1
114052 _ACEOF
114053
114054 cat >>confdefs.h <<\_ACEOF
114055 #define HAVE_FREXPL 1
114056 _ACEOF
114057
114058 cat >>confdefs.h <<\_ACEOF
114059 #define HAVE_LDEXPL 1
114060 _ACEOF
114061
114062 cat >>confdefs.h <<\_ACEOF
114063 #define HAVE_LOG10L 1
114064 _ACEOF
114065
114066 cat >>confdefs.h <<\_ACEOF
114067 #define HAVE_LOGL 1
114068 _ACEOF
114069
114070 cat >>confdefs.h <<\_ACEOF
114071 #define HAVE_MODFL 1
114072 _ACEOF
114073
114074 cat >>confdefs.h <<\_ACEOF
114075 #define HAVE_POWL 1
114076 _ACEOF
114077
114078 cat >>confdefs.h <<\_ACEOF
114079 #define HAVE_SINCOSL 1
114080 _ACEOF
114081
114082 cat >>confdefs.h <<\_ACEOF
114083 #define HAVE_SINL 1
114084 _ACEOF
114085
114086 cat >>confdefs.h <<\_ACEOF
114087 #define HAVE_SINHL 1
114088 _ACEOF
114089
114090 cat >>confdefs.h <<\_ACEOF
114091 #define HAVE_SQRTL 1
114092 _ACEOF
114093
114094 cat >>confdefs.h <<\_ACEOF
114095 #define HAVE_TANL 1
114096 _ACEOF
114097
114098 cat >>confdefs.h <<\_ACEOF
114099 #define HAVE_TANHL 1
114100 _ACEOF
114101
114102 fi
114103
114104 # Assume we have _Unwind_GetIPInfo for cross-compiles.
114105 cat >>confdefs.h <<\_ACEOF
114106 #define HAVE_GETIPINFO 1
114107 _ACEOF
114108
114109
114110 fi
114111
114112 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
114113
114114
114115 # Check whether --enable-symvers or --disable-symvers was given.
114116 if test "${enable_symvers+set}" = set; then
114117 enableval="$enable_symvers"
114118
114119 case "$enableval" in
114120 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
114121 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
114122 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
114123 { (exit 1); exit 1; }; } ;;
114124 esac
114125
114126 else
114127 enable_symvers=yes
114128 fi;
114129
114130
114131 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
114132 # don't know enough about $LD to do tricks...
114133
114134
114135 # Turn a 'yes' into a suitable default.
114136 if test x$enable_symvers = xyes ; then
114137 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
114138 enable_symvers=no
114139 else
114140 if test $with_gnu_ld = yes ; then
114141 enable_symvers=gnu
114142 else
114143 case ${target_os} in
114144 darwin*)
114145 enable_symvers=darwin ;;
114146 *)
114147 enable_symvers=no ;;
114148 esac
114149 fi
114150 fi
114151 fi
114152
114153 # Check to see if 'darwin' or 'darwin-export' can win.
114154 if test x$enable_symvers = xdarwin-export ; then
114155 enable_symvers=darwin
114156 fi
114157
114158 # Check to see if 'gnu' can win.
114159 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
114160 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
114161 echo "$as_me:$LINENO: checking for shared libgcc" >&5
114162 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
114163 ac_save_CFLAGS="$CFLAGS"
114164 CFLAGS=' -lgcc_s'
114165 if test x$gcc_no_link = xyes; then
114166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114168 { (exit 1); exit 1; }; }
114169 fi
114170 cat >conftest.$ac_ext <<_ACEOF
114171 /* confdefs.h. */
114172 _ACEOF
114173 cat confdefs.h >>conftest.$ac_ext
114174 cat >>conftest.$ac_ext <<_ACEOF
114175 /* end confdefs.h. */
114176
114177 int
114178 main ()
114179 {
114180 return 0;
114181 ;
114182 return 0;
114183 }
114184 _ACEOF
114185 rm -f conftest.$ac_objext conftest$ac_exeext
114186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114187 (eval $ac_link) 2>conftest.er1
114188 ac_status=$?
114189 grep -v '^ *+' conftest.er1 >conftest.err
114190 rm -f conftest.er1
114191 cat conftest.err >&5
114192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114193 (exit $ac_status); } &&
114194 { ac_try='test -z "$ac_c_werror_flag"
114195 || test ! -s conftest.err'
114196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114197 (eval $ac_try) 2>&5
114198 ac_status=$?
114199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114200 (exit $ac_status); }; } &&
114201 { ac_try='test -s conftest$ac_exeext'
114202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114203 (eval $ac_try) 2>&5
114204 ac_status=$?
114205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114206 (exit $ac_status); }; }; then
114207 glibcxx_shared_libgcc=yes
114208 else
114209 echo "$as_me: failed program was:" >&5
114210 sed 's/^/| /' conftest.$ac_ext >&5
114211
114212 glibcxx_shared_libgcc=no
114213 fi
114214 rm -f conftest.err conftest.$ac_objext \
114215 conftest$ac_exeext conftest.$ac_ext
114216 CFLAGS="$ac_save_CFLAGS"
114217 if test $glibcxx_shared_libgcc = no; then
114218 cat > conftest.c <<EOF
114219 int main (void) { return 0; }
114220 EOF
114221 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
114222 -shared -shared-libgcc -o conftest.so \
114223 conftest.c -v 2>&1 >/dev/null \
114224 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
114225 rm -f conftest.c conftest.so
114226 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
114227 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
114228 if test x$gcc_no_link = xyes; then
114229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114231 { (exit 1); exit 1; }; }
114232 fi
114233 cat >conftest.$ac_ext <<_ACEOF
114234 /* confdefs.h. */
114235 _ACEOF
114236 cat confdefs.h >>conftest.$ac_ext
114237 cat >>conftest.$ac_ext <<_ACEOF
114238 /* end confdefs.h. */
114239
114240 int
114241 main ()
114242 {
114243 return 0;
114244 ;
114245 return 0;
114246 }
114247 _ACEOF
114248 rm -f conftest.$ac_objext conftest$ac_exeext
114249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114250 (eval $ac_link) 2>conftest.er1
114251 ac_status=$?
114252 grep -v '^ *+' conftest.er1 >conftest.err
114253 rm -f conftest.er1
114254 cat conftest.err >&5
114255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114256 (exit $ac_status); } &&
114257 { ac_try='test -z "$ac_c_werror_flag"
114258 || test ! -s conftest.err'
114259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114260 (eval $ac_try) 2>&5
114261 ac_status=$?
114262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114263 (exit $ac_status); }; } &&
114264 { ac_try='test -s conftest$ac_exeext'
114265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114266 (eval $ac_try) 2>&5
114267 ac_status=$?
114268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114269 (exit $ac_status); }; }; then
114270 glibcxx_shared_libgcc=yes
114271 else
114272 echo "$as_me: failed program was:" >&5
114273 sed 's/^/| /' conftest.$ac_ext >&5
114274
114275 fi
114276 rm -f conftest.err conftest.$ac_objext \
114277 conftest$ac_exeext conftest.$ac_ext
114278 CFLAGS="$ac_save_CFLAGS"
114279 fi
114280 fi
114281 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
114282 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
114283
114284 # For GNU ld, we need at least this version. The format is described in
114285 # GLIBCXX_CHECK_LINKER_FEATURES above.
114286 glibcxx_min_gnu_ld_version=21400
114287
114288 # If no shared libgcc, can't win.
114289 if test $glibcxx_shared_libgcc != yes; then
114290 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114291 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114292 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
114293 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
114294 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114295 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114296 enable_symvers=no
114297 elif test $with_gnu_ld != yes ; then
114298 # just fail for now
114299 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114300 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114301 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
114302 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
114303 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114304 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114305 enable_symvers=no
114306 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
114307 # The right tools, the right setup, but too old. Fallbacks?
114308 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
114309 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
114310 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
114311 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
114312 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
114313 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
114314 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
114315 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
114316 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114317 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114318 enable_symvers=no
114319 fi
114320 fi
114321
114322 # Everything parsed; figure out what file to use.
114323 case $enable_symvers in
114324 no)
114325 SYMVER_FILE=config/abi/pre/none.ver
114326 ;;
114327 gnu)
114328 SYMVER_FILE=config/abi/pre/gnu.ver
114329
114330 cat >>confdefs.h <<\_ACEOF
114331 #define _GLIBCXX_SYMVER_GNU 1
114332 _ACEOF
114333
114334 ;;
114335 gnu-versioned-namespace)
114336 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
114337
114338 cat >>confdefs.h <<\_ACEOF
114339 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
114340 _ACEOF
114341
114342 ;;
114343 darwin)
114344 SYMVER_FILE=config/abi/pre/gnu.ver
114345
114346 cat >>confdefs.h <<\_ACEOF
114347 #define _GLIBCXX_SYMVER_DARWIN 1
114348 _ACEOF
114349
114350 ;;
114351 esac
114352
114353 if test x$enable_symvers != xno ; then
114354
114355 cat >>confdefs.h <<\_ACEOF
114356 #define _GLIBCXX_SYMVER 1
114357 _ACEOF
114358
114359 fi
114360
114361
114362
114363
114364
114365
114366
114367 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
114368 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
114369
114370 # Now, set up compatibility support, if any.
114371 # In addition, need this to deal with std::size_t mangling in
114372 # src/compatibility.cc. In a perfect world, could use
114373 # typeid(std::size_t).name()[0] to do direct substitution.
114374 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
114375 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
114376 ac_save_CFLAGS="$CFLAGS"
114377 CFLAGS="-Werror"
114378 cat >conftest.$ac_ext <<_ACEOF
114379 /* confdefs.h. */
114380 _ACEOF
114381 cat confdefs.h >>conftest.$ac_ext
114382 cat >>conftest.$ac_ext <<_ACEOF
114383 /* end confdefs.h. */
114384
114385 int
114386 main ()
114387 {
114388 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
114389 ;
114390 return 0;
114391 }
114392 _ACEOF
114393 rm -f conftest.$ac_objext
114394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114395 (eval $ac_compile) 2>conftest.er1
114396 ac_status=$?
114397 grep -v '^ *+' conftest.er1 >conftest.err
114398 rm -f conftest.er1
114399 cat conftest.err >&5
114400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114401 (exit $ac_status); } &&
114402 { ac_try='test -z "$ac_c_werror_flag"
114403 || test ! -s conftest.err'
114404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114405 (eval $ac_try) 2>&5
114406 ac_status=$?
114407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114408 (exit $ac_status); }; } &&
114409 { ac_try='test -s conftest.$ac_objext'
114410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114411 (eval $ac_try) 2>&5
114412 ac_status=$?
114413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114414 (exit $ac_status); }; }; then
114415 glibcxx_size_t_is_i=yes
114416 else
114417 echo "$as_me: failed program was:" >&5
114418 sed 's/^/| /' conftest.$ac_ext >&5
114419
114420 glibcxx_size_t_is_i=no
114421 fi
114422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114423 CFLAGS=$ac_save_CFLAGS
114424 if test "$glibcxx_size_t_is_i" = yes; then
114425
114426 cat >>confdefs.h <<\_ACEOF
114427 #define _GLIBCXX_SIZE_T_IS_UINT 1
114428 _ACEOF
114429
114430 fi
114431 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
114432 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
114433
114434 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
114435 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
114436 ac_save_CFLAGS="$CFLAGS"
114437 CFLAGS="-Werror"
114438 cat >conftest.$ac_ext <<_ACEOF
114439 /* confdefs.h. */
114440 _ACEOF
114441 cat confdefs.h >>conftest.$ac_ext
114442 cat >>conftest.$ac_ext <<_ACEOF
114443 /* end confdefs.h. */
114444
114445 int
114446 main ()
114447 {
114448 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
114449 ;
114450 return 0;
114451 }
114452 _ACEOF
114453 rm -f conftest.$ac_objext
114454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114455 (eval $ac_compile) 2>conftest.er1
114456 ac_status=$?
114457 grep -v '^ *+' conftest.er1 >conftest.err
114458 rm -f conftest.er1
114459 cat conftest.err >&5
114460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114461 (exit $ac_status); } &&
114462 { ac_try='test -z "$ac_c_werror_flag"
114463 || test ! -s conftest.err'
114464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114465 (eval $ac_try) 2>&5
114466 ac_status=$?
114467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114468 (exit $ac_status); }; } &&
114469 { ac_try='test -s conftest.$ac_objext'
114470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114471 (eval $ac_try) 2>&5
114472 ac_status=$?
114473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114474 (exit $ac_status); }; }; then
114475 glibcxx_ptrdiff_t_is_i=yes
114476 else
114477 echo "$as_me: failed program was:" >&5
114478 sed 's/^/| /' conftest.$ac_ext >&5
114479
114480 glibcxx_ptrdiff_t_is_i=no
114481 fi
114482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114483 CFLAGS=$ac_save_CFLAGS
114484 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
114485
114486 cat >>confdefs.h <<\_ACEOF
114487 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
114488 _ACEOF
114489
114490 fi
114491 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
114492 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
114493
114494
114495 # Check whether --enable-visibility or --disable-visibility was given.
114496 if test "${enable_visibility+set}" = set; then
114497 enableval="$enable_visibility"
114498
114499 case "$enableval" in
114500 yes|no) ;;
114501 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
114502 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
114503 { (exit 1); exit 1; }; } ;;
114504 esac
114505
114506 else
114507 enable_visibility=yes
114508 fi;
114509
114510
114511 if test x$enable_visibility = xyes ; then
114512 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
114513 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
114514 if test "${have_attribute_visibility+set}" = set; then
114515 echo $ECHO_N "(cached) $ECHO_C" >&6
114516 else
114517
114518 save_CFLAGS="$CFLAGS"
114519 CFLAGS="$CFLAGS -Werror"
114520 cat >conftest.$ac_ext <<_ACEOF
114521 /* confdefs.h. */
114522 _ACEOF
114523 cat confdefs.h >>conftest.$ac_ext
114524 cat >>conftest.$ac_ext <<_ACEOF
114525 /* end confdefs.h. */
114526 void __attribute__((visibility("hidden"))) foo(void) { }
114527 int
114528 main ()
114529 {
114530
114531 ;
114532 return 0;
114533 }
114534 _ACEOF
114535 rm -f conftest.$ac_objext
114536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114537 (eval $ac_compile) 2>conftest.er1
114538 ac_status=$?
114539 grep -v '^ *+' conftest.er1 >conftest.err
114540 rm -f conftest.er1
114541 cat conftest.err >&5
114542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114543 (exit $ac_status); } &&
114544 { ac_try='test -z "$ac_c_werror_flag"
114545 || test ! -s conftest.err'
114546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114547 (eval $ac_try) 2>&5
114548 ac_status=$?
114549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114550 (exit $ac_status); }; } &&
114551 { ac_try='test -s conftest.$ac_objext'
114552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114553 (eval $ac_try) 2>&5
114554 ac_status=$?
114555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114556 (exit $ac_status); }; }; then
114557 have_attribute_visibility=yes
114558 else
114559 echo "$as_me: failed program was:" >&5
114560 sed 's/^/| /' conftest.$ac_ext >&5
114561
114562 have_attribute_visibility=no
114563 fi
114564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114565 CFLAGS="$save_CFLAGS"
114566 fi
114567 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
114568 echo "${ECHO_T}$have_attribute_visibility" >&6
114569 if test $have_attribute_visibility = no; then
114570 enable_visibility=no
114571 fi
114572 fi
114573
114574
114575 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
114576 echo "$as_me: visibility supported: $enable_visibility" >&6;}
114577
114578
114579 ac_ldbl_compat=no
114580 case "$target" in
114581 powerpc*-*-linux* | \
114582 powerpc*-*-gnu* | \
114583 sparc*-*-linux* | \
114584 s390*-*-linux* | \
114585 alpha*-*-linux*)
114586 cat >conftest.$ac_ext <<_ACEOF
114587 /* confdefs.h. */
114588 _ACEOF
114589 cat confdefs.h >>conftest.$ac_ext
114590 cat >>conftest.$ac_ext <<_ACEOF
114591 /* end confdefs.h. */
114592
114593 int
114594 main ()
114595 {
114596
114597 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
114598 #error no need for long double compatibility
114599 #endif
114600
114601 ;
114602 return 0;
114603 }
114604 _ACEOF
114605 rm -f conftest.$ac_objext
114606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114607 (eval $ac_compile) 2>conftest.er1
114608 ac_status=$?
114609 grep -v '^ *+' conftest.er1 >conftest.err
114610 rm -f conftest.er1
114611 cat conftest.err >&5
114612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114613 (exit $ac_status); } &&
114614 { ac_try='test -z "$ac_c_werror_flag"
114615 || test ! -s conftest.err'
114616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114617 (eval $ac_try) 2>&5
114618 ac_status=$?
114619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114620 (exit $ac_status); }; } &&
114621 { ac_try='test -s conftest.$ac_objext'
114622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114623 (eval $ac_try) 2>&5
114624 ac_status=$?
114625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114626 (exit $ac_status); }; }; then
114627 ac_ldbl_compat=yes
114628 else
114629 echo "$as_me: failed program was:" >&5
114630 sed 's/^/| /' conftest.$ac_ext >&5
114631
114632 ac_ldbl_compat=no
114633 fi
114634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114635 if test "$ac_ldbl_compat" = yes; then
114636
114637 cat >>confdefs.h <<\_ACEOF
114638 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
114639 _ACEOF
114640
114641 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
114642 fi
114643 esac
114644
114645
114646 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
114647
114648 if $GLIBCXX_IS_NATIVE ; then
114649 # Do checks for resource limit functions.
114650
114651 setrlimit_have_headers=yes
114652
114653
114654
114655 for ac_header in unistd.h sys/time.h sys/resource.h
114656 do
114657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114659 echo "$as_me:$LINENO: checking for $ac_header" >&5
114660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114662 echo $ECHO_N "(cached) $ECHO_C" >&6
114663 fi
114664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114666 else
114667 # Is the header compilable?
114668 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114670 cat >conftest.$ac_ext <<_ACEOF
114671 /* confdefs.h. */
114672 _ACEOF
114673 cat confdefs.h >>conftest.$ac_ext
114674 cat >>conftest.$ac_ext <<_ACEOF
114675 /* end confdefs.h. */
114676 $ac_includes_default
114677 #include <$ac_header>
114678 _ACEOF
114679 rm -f conftest.$ac_objext
114680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114681 (eval $ac_compile) 2>conftest.er1
114682 ac_status=$?
114683 grep -v '^ *+' conftest.er1 >conftest.err
114684 rm -f conftest.er1
114685 cat conftest.err >&5
114686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114687 (exit $ac_status); } &&
114688 { ac_try='test -z "$ac_c_werror_flag"
114689 || test ! -s conftest.err'
114690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114691 (eval $ac_try) 2>&5
114692 ac_status=$?
114693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114694 (exit $ac_status); }; } &&
114695 { ac_try='test -s conftest.$ac_objext'
114696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114697 (eval $ac_try) 2>&5
114698 ac_status=$?
114699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114700 (exit $ac_status); }; }; then
114701 ac_header_compiler=yes
114702 else
114703 echo "$as_me: failed program was:" >&5
114704 sed 's/^/| /' conftest.$ac_ext >&5
114705
114706 ac_header_compiler=no
114707 fi
114708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114710 echo "${ECHO_T}$ac_header_compiler" >&6
114711
114712 # Is the header present?
114713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114715 cat >conftest.$ac_ext <<_ACEOF
114716 /* confdefs.h. */
114717 _ACEOF
114718 cat confdefs.h >>conftest.$ac_ext
114719 cat >>conftest.$ac_ext <<_ACEOF
114720 /* end confdefs.h. */
114721 #include <$ac_header>
114722 _ACEOF
114723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114725 ac_status=$?
114726 grep -v '^ *+' conftest.er1 >conftest.err
114727 rm -f conftest.er1
114728 cat conftest.err >&5
114729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114730 (exit $ac_status); } >/dev/null; then
114731 if test -s conftest.err; then
114732 ac_cpp_err=$ac_c_preproc_warn_flag
114733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114734 else
114735 ac_cpp_err=
114736 fi
114737 else
114738 ac_cpp_err=yes
114739 fi
114740 if test -z "$ac_cpp_err"; then
114741 ac_header_preproc=yes
114742 else
114743 echo "$as_me: failed program was:" >&5
114744 sed 's/^/| /' conftest.$ac_ext >&5
114745
114746 ac_header_preproc=no
114747 fi
114748 rm -f conftest.err conftest.$ac_ext
114749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114750 echo "${ECHO_T}$ac_header_preproc" >&6
114751
114752 # So? What about this header?
114753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114754 yes:no: )
114755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114759 ac_header_preproc=yes
114760 ;;
114761 no:yes:* )
114762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114774 (
114775 cat <<\_ASBOX
114776 ## ----------------------------------------- ##
114777 ## Report this to the package-unused lists. ##
114778 ## ----------------------------------------- ##
114779 _ASBOX
114780 ) |
114781 sed "s/^/$as_me: WARNING: /" >&2
114782 ;;
114783 esac
114784 echo "$as_me:$LINENO: checking for $ac_header" >&5
114785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114787 echo $ECHO_N "(cached) $ECHO_C" >&6
114788 else
114789 eval "$as_ac_Header=\$ac_header_preproc"
114790 fi
114791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114793
114794 fi
114795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114796 cat >>confdefs.h <<_ACEOF
114797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114798 _ACEOF
114799
114800 else
114801 setrlimit_have_headers=no
114802 fi
114803
114804 done
114805
114806 # If don't have the headers, then we can't run the tests now, and we
114807 # won't be seeing any of these during testsuite compilation.
114808 if test $setrlimit_have_headers = yes; then
114809 # Can't do these in a loop, else the resulting syntax is wrong.
114810
114811 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
114812 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
114813 cat >conftest.$ac_ext <<_ACEOF
114814 /* confdefs.h. */
114815 _ACEOF
114816 cat confdefs.h >>conftest.$ac_ext
114817 cat >>conftest.$ac_ext <<_ACEOF
114818 /* end confdefs.h. */
114819 #include <unistd.h>
114820 #include <sys/time.h>
114821 #include <sys/resource.h>
114822
114823 int
114824 main ()
114825 {
114826 int f = RLIMIT_DATA ;
114827 ;
114828 return 0;
114829 }
114830 _ACEOF
114831 rm -f conftest.$ac_objext
114832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114833 (eval $ac_compile) 2>conftest.er1
114834 ac_status=$?
114835 grep -v '^ *+' conftest.er1 >conftest.err
114836 rm -f conftest.er1
114837 cat conftest.err >&5
114838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114839 (exit $ac_status); } &&
114840 { ac_try='test -z "$ac_c_werror_flag"
114841 || test ! -s conftest.err'
114842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114843 (eval $ac_try) 2>&5
114844 ac_status=$?
114845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114846 (exit $ac_status); }; } &&
114847 { ac_try='test -s conftest.$ac_objext'
114848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114849 (eval $ac_try) 2>&5
114850 ac_status=$?
114851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114852 (exit $ac_status); }; }; then
114853 glibcxx_mresult=1
114854 else
114855 echo "$as_me: failed program was:" >&5
114856 sed 's/^/| /' conftest.$ac_ext >&5
114857
114858 glibcxx_mresult=0
114859 fi
114860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114861
114862 cat >>confdefs.h <<_ACEOF
114863 #define HAVE_LIMIT_DATA $glibcxx_mresult
114864 _ACEOF
114865
114866 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114867 echo "$as_me:$LINENO: result: $res" >&5
114868 echo "${ECHO_T}$res" >&6
114869
114870
114871 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
114872 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
114873 cat >conftest.$ac_ext <<_ACEOF
114874 /* confdefs.h. */
114875 _ACEOF
114876 cat confdefs.h >>conftest.$ac_ext
114877 cat >>conftest.$ac_ext <<_ACEOF
114878 /* end confdefs.h. */
114879 #include <unistd.h>
114880 #include <sys/time.h>
114881 #include <sys/resource.h>
114882
114883 int
114884 main ()
114885 {
114886 int f = RLIMIT_RSS ;
114887 ;
114888 return 0;
114889 }
114890 _ACEOF
114891 rm -f conftest.$ac_objext
114892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114893 (eval $ac_compile) 2>conftest.er1
114894 ac_status=$?
114895 grep -v '^ *+' conftest.er1 >conftest.err
114896 rm -f conftest.er1
114897 cat conftest.err >&5
114898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114899 (exit $ac_status); } &&
114900 { ac_try='test -z "$ac_c_werror_flag"
114901 || test ! -s conftest.err'
114902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114903 (eval $ac_try) 2>&5
114904 ac_status=$?
114905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114906 (exit $ac_status); }; } &&
114907 { ac_try='test -s conftest.$ac_objext'
114908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114909 (eval $ac_try) 2>&5
114910 ac_status=$?
114911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114912 (exit $ac_status); }; }; then
114913 glibcxx_mresult=1
114914 else
114915 echo "$as_me: failed program was:" >&5
114916 sed 's/^/| /' conftest.$ac_ext >&5
114917
114918 glibcxx_mresult=0
114919 fi
114920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114921
114922 cat >>confdefs.h <<_ACEOF
114923 #define HAVE_LIMIT_RSS $glibcxx_mresult
114924 _ACEOF
114925
114926 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114927 echo "$as_me:$LINENO: result: $res" >&5
114928 echo "${ECHO_T}$res" >&6
114929
114930
114931 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
114932 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
114933 cat >conftest.$ac_ext <<_ACEOF
114934 /* confdefs.h. */
114935 _ACEOF
114936 cat confdefs.h >>conftest.$ac_ext
114937 cat >>conftest.$ac_ext <<_ACEOF
114938 /* end confdefs.h. */
114939 #include <unistd.h>
114940 #include <sys/time.h>
114941 #include <sys/resource.h>
114942
114943 int
114944 main ()
114945 {
114946 int f = RLIMIT_VMEM ;
114947 ;
114948 return 0;
114949 }
114950 _ACEOF
114951 rm -f conftest.$ac_objext
114952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114953 (eval $ac_compile) 2>conftest.er1
114954 ac_status=$?
114955 grep -v '^ *+' conftest.er1 >conftest.err
114956 rm -f conftest.er1
114957 cat conftest.err >&5
114958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114959 (exit $ac_status); } &&
114960 { ac_try='test -z "$ac_c_werror_flag"
114961 || test ! -s conftest.err'
114962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114963 (eval $ac_try) 2>&5
114964 ac_status=$?
114965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114966 (exit $ac_status); }; } &&
114967 { ac_try='test -s conftest.$ac_objext'
114968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114969 (eval $ac_try) 2>&5
114970 ac_status=$?
114971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114972 (exit $ac_status); }; }; then
114973 glibcxx_mresult=1
114974 else
114975 echo "$as_me: failed program was:" >&5
114976 sed 's/^/| /' conftest.$ac_ext >&5
114977
114978 glibcxx_mresult=0
114979 fi
114980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114981
114982 cat >>confdefs.h <<_ACEOF
114983 #define HAVE_LIMIT_VMEM $glibcxx_mresult
114984 _ACEOF
114985
114986 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114987 echo "$as_me:$LINENO: result: $res" >&5
114988 echo "${ECHO_T}$res" >&6
114989
114990
114991 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
114992 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
114993 cat >conftest.$ac_ext <<_ACEOF
114994 /* confdefs.h. */
114995 _ACEOF
114996 cat confdefs.h >>conftest.$ac_ext
114997 cat >>conftest.$ac_ext <<_ACEOF
114998 /* end confdefs.h. */
114999 #include <unistd.h>
115000 #include <sys/time.h>
115001 #include <sys/resource.h>
115002
115003 int
115004 main ()
115005 {
115006 int f = RLIMIT_AS ;
115007 ;
115008 return 0;
115009 }
115010 _ACEOF
115011 rm -f conftest.$ac_objext
115012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115013 (eval $ac_compile) 2>conftest.er1
115014 ac_status=$?
115015 grep -v '^ *+' conftest.er1 >conftest.err
115016 rm -f conftest.er1
115017 cat conftest.err >&5
115018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115019 (exit $ac_status); } &&
115020 { ac_try='test -z "$ac_c_werror_flag"
115021 || test ! -s conftest.err'
115022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115023 (eval $ac_try) 2>&5
115024 ac_status=$?
115025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115026 (exit $ac_status); }; } &&
115027 { ac_try='test -s conftest.$ac_objext'
115028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115029 (eval $ac_try) 2>&5
115030 ac_status=$?
115031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115032 (exit $ac_status); }; }; then
115033 glibcxx_mresult=1
115034 else
115035 echo "$as_me: failed program was:" >&5
115036 sed 's/^/| /' conftest.$ac_ext >&5
115037
115038 glibcxx_mresult=0
115039 fi
115040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115041
115042 cat >>confdefs.h <<_ACEOF
115043 #define HAVE_LIMIT_AS $glibcxx_mresult
115044 _ACEOF
115045
115046 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115047 echo "$as_me:$LINENO: result: $res" >&5
115048 echo "${ECHO_T}$res" >&6
115049
115050
115051 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
115052 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
115053 cat >conftest.$ac_ext <<_ACEOF
115054 /* confdefs.h. */
115055 _ACEOF
115056 cat confdefs.h >>conftest.$ac_ext
115057 cat >>conftest.$ac_ext <<_ACEOF
115058 /* end confdefs.h. */
115059 #include <unistd.h>
115060 #include <sys/time.h>
115061 #include <sys/resource.h>
115062
115063 int
115064 main ()
115065 {
115066 int f = RLIMIT_FSIZE ;
115067 ;
115068 return 0;
115069 }
115070 _ACEOF
115071 rm -f conftest.$ac_objext
115072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115073 (eval $ac_compile) 2>conftest.er1
115074 ac_status=$?
115075 grep -v '^ *+' conftest.er1 >conftest.err
115076 rm -f conftest.er1
115077 cat conftest.err >&5
115078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115079 (exit $ac_status); } &&
115080 { ac_try='test -z "$ac_c_werror_flag"
115081 || test ! -s conftest.err'
115082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115083 (eval $ac_try) 2>&5
115084 ac_status=$?
115085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115086 (exit $ac_status); }; } &&
115087 { ac_try='test -s conftest.$ac_objext'
115088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115089 (eval $ac_try) 2>&5
115090 ac_status=$?
115091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115092 (exit $ac_status); }; }; then
115093 glibcxx_mresult=1
115094 else
115095 echo "$as_me: failed program was:" >&5
115096 sed 's/^/| /' conftest.$ac_ext >&5
115097
115098 glibcxx_mresult=0
115099 fi
115100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115101
115102 cat >>confdefs.h <<_ACEOF
115103 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
115104 _ACEOF
115105
115106 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115107 echo "$as_me:$LINENO: result: $res" >&5
115108 echo "${ECHO_T}$res" >&6
115109
115110
115111 # Check for rlimit, setrlimit.
115112 if test "${ac_setrlimit+set}" = set; then
115113 echo $ECHO_N "(cached) $ECHO_C" >&6
115114 else
115115
115116 cat >conftest.$ac_ext <<_ACEOF
115117 /* confdefs.h. */
115118 _ACEOF
115119 cat confdefs.h >>conftest.$ac_ext
115120 cat >>conftest.$ac_ext <<_ACEOF
115121 /* end confdefs.h. */
115122 #include <unistd.h>
115123 #include <sys/time.h>
115124 #include <sys/resource.h>
115125
115126 int
115127 main ()
115128 {
115129 struct rlimit r;
115130 setrlimit(0, &r);
115131 ;
115132 return 0;
115133 }
115134 _ACEOF
115135 rm -f conftest.$ac_objext
115136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115137 (eval $ac_compile) 2>conftest.er1
115138 ac_status=$?
115139 grep -v '^ *+' conftest.er1 >conftest.err
115140 rm -f conftest.er1
115141 cat conftest.err >&5
115142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115143 (exit $ac_status); } &&
115144 { ac_try='test -z "$ac_c_werror_flag"
115145 || test ! -s conftest.err'
115146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115147 (eval $ac_try) 2>&5
115148 ac_status=$?
115149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115150 (exit $ac_status); }; } &&
115151 { ac_try='test -s conftest.$ac_objext'
115152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115153 (eval $ac_try) 2>&5
115154 ac_status=$?
115155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115156 (exit $ac_status); }; }; then
115157 ac_setrlimit=yes
115158 else
115159 echo "$as_me: failed program was:" >&5
115160 sed 's/^/| /' conftest.$ac_ext >&5
115161
115162 ac_setrlimit=no
115163 fi
115164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115165
115166 fi
115167
115168 fi
115169
115170 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
115171 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
115172 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
115173 ac_res_limits=yes
115174
115175 cat >>confdefs.h <<\_ACEOF
115176 #define _GLIBCXX_RES_LIMITS 1
115177 _ACEOF
115178
115179 else
115180 ac_res_limits=no
115181 fi
115182 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
115183 echo "${ECHO_T}$ac_res_limits" >&6
115184
115185
115186 # Look for setenv, so that extended locale tests can be performed.
115187
115188 echo "$as_me:$LINENO: checking for setenv declaration" >&5
115189 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
115190 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
115191 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
115192 echo $ECHO_N "(cached) $ECHO_C" >&6
115193 else
115194
115195
115196
115197 ac_ext=cc
115198 ac_cpp='$CXXCPP $CPPFLAGS'
115199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115202
115203 cat >conftest.$ac_ext <<_ACEOF
115204 /* confdefs.h. */
115205 _ACEOF
115206 cat confdefs.h >>conftest.$ac_ext
115207 cat >>conftest.$ac_ext <<_ACEOF
115208 /* end confdefs.h. */
115209 #include <stdlib.h>
115210 int
115211 main ()
115212 {
115213 setenv(0, 0, 0);
115214 ;
115215 return 0;
115216 }
115217 _ACEOF
115218 rm -f conftest.$ac_objext
115219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115220 (eval $ac_compile) 2>conftest.er1
115221 ac_status=$?
115222 grep -v '^ *+' conftest.er1 >conftest.err
115223 rm -f conftest.er1
115224 cat conftest.err >&5
115225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115226 (exit $ac_status); } &&
115227 { ac_try='test -z "$ac_cxx_werror_flag"
115228 || test ! -s conftest.err'
115229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115230 (eval $ac_try) 2>&5
115231 ac_status=$?
115232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115233 (exit $ac_status); }; } &&
115234 { ac_try='test -s conftest.$ac_objext'
115235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115236 (eval $ac_try) 2>&5
115237 ac_status=$?
115238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115239 (exit $ac_status); }; }; then
115240 glibcxx_cv_func_setenv_use=yes
115241 else
115242 echo "$as_me: failed program was:" >&5
115243 sed 's/^/| /' conftest.$ac_ext >&5
115244
115245 glibcxx_cv_func_setenv_use=no
115246 fi
115247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115248 ac_ext=c
115249 ac_cpp='$CPP $CPPFLAGS'
115250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115253
115254
115255 fi
115256
115257 fi
115258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
115259 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
115260 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
115261
115262 for ac_func in setenv
115263 do
115264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115265 echo "$as_me:$LINENO: checking for $ac_func" >&5
115266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115267 if eval "test \"\${$as_ac_var+set}\" = set"; then
115268 echo $ECHO_N "(cached) $ECHO_C" >&6
115269 else
115270 if test x$gcc_no_link = xyes; then
115271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115273 { (exit 1); exit 1; }; }
115274 fi
115275 cat >conftest.$ac_ext <<_ACEOF
115276 /* confdefs.h. */
115277 _ACEOF
115278 cat confdefs.h >>conftest.$ac_ext
115279 cat >>conftest.$ac_ext <<_ACEOF
115280 /* end confdefs.h. */
115281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115283 #define $ac_func innocuous_$ac_func
115284
115285 /* System header to define __stub macros and hopefully few prototypes,
115286 which can conflict with char $ac_func (); below.
115287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115288 <limits.h> exists even on freestanding compilers. */
115289
115290 #ifdef __STDC__
115291 # include <limits.h>
115292 #else
115293 # include <assert.h>
115294 #endif
115295
115296 #undef $ac_func
115297
115298 /* Override any gcc2 internal prototype to avoid an error. */
115299 #ifdef __cplusplus
115300 extern "C"
115301 {
115302 #endif
115303 /* We use char because int might match the return type of a gcc2
115304 builtin and then its argument prototype would still apply. */
115305 char $ac_func ();
115306 /* The GNU C library defines this for functions which it implements
115307 to always fail with ENOSYS. Some functions are actually named
115308 something starting with __ and the normal name is an alias. */
115309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115310 choke me
115311 #else
115312 char (*f) () = $ac_func;
115313 #endif
115314 #ifdef __cplusplus
115315 }
115316 #endif
115317
115318 int
115319 main ()
115320 {
115321 return f != $ac_func;
115322 ;
115323 return 0;
115324 }
115325 _ACEOF
115326 rm -f conftest.$ac_objext conftest$ac_exeext
115327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115328 (eval $ac_link) 2>conftest.er1
115329 ac_status=$?
115330 grep -v '^ *+' conftest.er1 >conftest.err
115331 rm -f conftest.er1
115332 cat conftest.err >&5
115333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115334 (exit $ac_status); } &&
115335 { ac_try='test -z "$ac_c_werror_flag"
115336 || test ! -s conftest.err'
115337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115338 (eval $ac_try) 2>&5
115339 ac_status=$?
115340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115341 (exit $ac_status); }; } &&
115342 { ac_try='test -s conftest$ac_exeext'
115343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115344 (eval $ac_try) 2>&5
115345 ac_status=$?
115346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115347 (exit $ac_status); }; }; then
115348 eval "$as_ac_var=yes"
115349 else
115350 echo "$as_me: failed program was:" >&5
115351 sed 's/^/| /' conftest.$ac_ext >&5
115352
115353 eval "$as_ac_var=no"
115354 fi
115355 rm -f conftest.err conftest.$ac_objext \
115356 conftest$ac_exeext conftest.$ac_ext
115357 fi
115358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115360 if test `eval echo '${'$as_ac_var'}'` = yes; then
115361 cat >>confdefs.h <<_ACEOF
115362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115363 _ACEOF
115364
115365 fi
115366 done
115367
115368 fi
115369
115370 fi
115371
115372 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
115373 test $enable_symvers != no; then
115374 case "$host" in
115375 *-*-cygwin*)
115376 enable_abi_check=no ;;
115377 *)
115378 enable_abi_check=yes ;;
115379 esac
115380 else
115381 # Only build this as native, since automake does not understand
115382 # CXX_FOR_BUILD.
115383 enable_abi_check=no
115384 fi
115385
115386 # Export file names for ABI checking.
115387 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
115388
115389
115390
115391 # Propagate the target-specific source directories through the build chain.
115392 ATOMICITY_SRCDIR=config/${atomicity_dir}
115393 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
115394 ATOMIC_FLAGS=${atomic_flags}
115395 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
115396 OS_INC_SRCDIR=config/${os_include_dir}
115397 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
115398 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
115399
115400
115401
115402
115403
115404
115405
115406
115407
115408 # Determine cross-compile flags and AM_CONDITIONALs.
115409 #AC_SUBST(GLIBCXX_IS_NATIVE)
115410 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
115411 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
115412 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
115413
115414
115415 if test $is_hosted = yes; then
115416 GLIBCXX_HOSTED_TRUE=
115417 GLIBCXX_HOSTED_FALSE='#'
115418 else
115419 GLIBCXX_HOSTED_TRUE='#'
115420 GLIBCXX_HOSTED_FALSE=
115421 fi
115422
115423
115424
115425
115426 if test $enable_libstdcxx_pch = yes; then
115427 GLIBCXX_BUILD_PCH_TRUE=
115428 GLIBCXX_BUILD_PCH_FALSE='#'
115429 else
115430 GLIBCXX_BUILD_PCH_TRUE='#'
115431 GLIBCXX_BUILD_PCH_FALSE=
115432 fi
115433
115434
115435
115436
115437 if test $enable_cheaders = c; then
115438 GLIBCXX_C_HEADERS_C_TRUE=
115439 GLIBCXX_C_HEADERS_C_FALSE='#'
115440 else
115441 GLIBCXX_C_HEADERS_C_TRUE='#'
115442 GLIBCXX_C_HEADERS_C_FALSE=
115443 fi
115444
115445
115446
115447
115448 if test $enable_cheaders = c_std; then
115449 GLIBCXX_C_HEADERS_C_STD_TRUE=
115450 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
115451 else
115452 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
115453 GLIBCXX_C_HEADERS_C_STD_FALSE=
115454 fi
115455
115456
115457
115458
115459 if test $enable_cheaders = c_global; then
115460 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
115461 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
115462 else
115463 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
115464 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
115465 fi
115466
115467
115468
115469
115470 if test $c_compatibility = yes; then
115471 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
115472 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
115473 else
115474 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
115475 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
115476 fi
115477
115478
115479
115480
115481 if test $c_extra = yes; then
115482 GLIBCXX_C_HEADERS_EXTRA_TRUE=
115483 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
115484 else
115485 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
115486 GLIBCXX_C_HEADERS_EXTRA_FALSE=
115487 fi
115488
115489
115490
115491
115492 if test $enable_libstdcxx_debug = yes; then
115493 GLIBCXX_BUILD_DEBUG_TRUE=
115494 GLIBCXX_BUILD_DEBUG_FALSE='#'
115495 else
115496 GLIBCXX_BUILD_DEBUG_TRUE='#'
115497 GLIBCXX_BUILD_DEBUG_FALSE=
115498 fi
115499
115500
115501
115502
115503 if test $enable_parallel = yes; then
115504 ENABLE_PARALLEL_TRUE=
115505 ENABLE_PARALLEL_FALSE='#'
115506 else
115507 ENABLE_PARALLEL_TRUE='#'
115508 ENABLE_PARALLEL_FALSE=
115509 fi
115510
115511
115512
115513
115514 if test $enable_symvers != no; then
115515 ENABLE_SYMVERS_TRUE=
115516 ENABLE_SYMVERS_FALSE='#'
115517 else
115518 ENABLE_SYMVERS_TRUE='#'
115519 ENABLE_SYMVERS_FALSE=
115520 fi
115521
115522
115523
115524
115525 if test $enable_symvers = gnu; then
115526 ENABLE_SYMVERS_GNU_TRUE=
115527 ENABLE_SYMVERS_GNU_FALSE='#'
115528 else
115529 ENABLE_SYMVERS_GNU_TRUE='#'
115530 ENABLE_SYMVERS_GNU_FALSE=
115531 fi
115532
115533
115534
115535
115536 if test $enable_symvers = gnu-versioned-namespace; then
115537 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
115538 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
115539 else
115540 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
115541 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
115542 fi
115543
115544
115545
115546
115547 if test $enable_symvers = darwin; then
115548 ENABLE_SYMVERS_DARWIN_TRUE=
115549 ENABLE_SYMVERS_DARWIN_FALSE='#'
115550 else
115551 ENABLE_SYMVERS_DARWIN_TRUE='#'
115552 ENABLE_SYMVERS_DARWIN_FALSE=
115553 fi
115554
115555
115556
115557
115558 if test $enable_visibility = yes; then
115559 ENABLE_VISIBILITY_TRUE=
115560 ENABLE_VISIBILITY_FALSE='#'
115561 else
115562 ENABLE_VISIBILITY_TRUE='#'
115563 ENABLE_VISIBILITY_FALSE=
115564 fi
115565
115566
115567
115568
115569 if test $ac_ldbl_compat = yes; then
115570 GLIBCXX_LDBL_COMPAT_TRUE=
115571 GLIBCXX_LDBL_COMPAT_FALSE='#'
115572 else
115573 GLIBCXX_LDBL_COMPAT_TRUE='#'
115574 GLIBCXX_LDBL_COMPAT_FALSE=
115575 fi
115576
115577
115578
115579
115580 cat >confcache <<\_ACEOF
115581 # This file is a shell script that caches the results of configure
115582 # tests run on this system so they can be shared between configure
115583 # scripts and configure runs, see configure's option --config-cache.
115584 # It is not useful on other systems. If it contains results you don't
115585 # want to keep, you may remove or edit it.
115586 #
115587 # config.status only pays attention to the cache file if you give it
115588 # the --recheck option to rerun configure.
115589 #
115590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115592 # following values.
115593
115594 _ACEOF
115595
115596 # The following way of writing the cache mishandles newlines in values,
115597 # but we know of no workaround that is simple, portable, and efficient.
115598 # So, don't put newlines in cache variables' values.
115599 # Ultrix sh set writes to stderr and can't be redirected directly,
115600 # and sets the high bit in the cache file unless we assign to the vars.
115601 {
115602 (set) 2>&1 |
115603 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115604 *ac_space=\ *)
115605 # `set' does not quote correctly, so add quotes (double-quote
115606 # substitution turns \\\\ into \\, and sed turns \\ into \).
115607 sed -n \
115608 "s/'/'\\\\''/g;
115609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115610 ;;
115611 *)
115612 # `set' quotes correctly as required by POSIX, so do not add quotes.
115613 sed -n \
115614 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115615 ;;
115616 esac;
115617 } |
115618 sed '
115619 t clear
115620 : clear
115621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115622 t end
115623 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115624 : end' >>confcache
115625 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115626 if test -w $cache_file; then
115627 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115628 cat confcache >$cache_file
115629 else
115630 echo "not updating unwritable cache $cache_file"
115631 fi
115632 fi
115633 rm -f confcache
115634
115635 if test ${multilib} = yes; then
115636 multilib_arg="--enable-multilib"
115637 else
115638 multilib_arg=
115639 fi
115640
115641 # Export all the install information.
115642
115643 glibcxx_toolexecdir=no
115644 glibcxx_toolexeclibdir=no
115645 glibcxx_prefixdir=$prefix
115646
115647 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
115648 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
115649
115650 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
115651 if test "${with_gxx_include_dir+set}" = set; then
115652 withval="$with_gxx_include_dir"
115653 case "$withval" in
115654 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
115655 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
115656 { (exit 1); exit 1; }; } ;;
115657 no) gxx_include_dir=no ;;
115658 *) gxx_include_dir=$withval ;;
115659 esac
115660 else
115661 gxx_include_dir=no
115662 fi;
115663 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115664 echo "${ECHO_T}$gxx_include_dir" >&6
115665
115666 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
115667 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
115668 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
115669 if test "${enable_version_specific_runtime_libs+set}" = set; then
115670 enableval="$enable_version_specific_runtime_libs"
115671 case "$enableval" in
115672 yes) version_specific_libs=yes ;;
115673 no) version_specific_libs=no ;;
115674 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
115675 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
115676 { (exit 1); exit 1; }; };;
115677 esac
115678 else
115679 version_specific_libs=no
115680 fi;
115681 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
115682 echo "${ECHO_T}$version_specific_libs" >&6
115683
115684 # Default case for install directory for include files.
115685 if test $version_specific_libs = no && test $gxx_include_dir = no; then
115686 gxx_include_dir='include/c++/${gcc_version}'
115687 if test -n "$with_cross_host" &&
115688 test x"$with_cross_host" != x"no"; then
115689 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
115690 else
115691 gxx_include_dir='${prefix}/'"$gxx_include_dir"
115692 fi
115693 fi
115694
115695 # Version-specific runtime libs processing.
115696 if test $version_specific_libs = yes; then
115697 # Need the gcc compiler version to know where to install libraries
115698 # and header files if --enable-version-specific-runtime-libs option
115699 # is selected. FIXME: these variables are misnamed, there are
115700 # no executables installed in _toolexecdir or _toolexeclibdir.
115701 if test x"$gxx_include_dir" = x"no"; then
115702 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
115703 fi
115704 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115705 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
115706 fi
115707
115708 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
115709 # Install a library built with a cross compiler in tooldir, not libdir.
115710 if test x"$glibcxx_toolexecdir" = x"no"; then
115711 if test -n "$with_cross_host" &&
115712 test x"$with_cross_host" != x"no"; then
115713 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
115714 glibcxx_toolexeclibdir='${toolexecdir}/lib'
115715 else
115716 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115717 glibcxx_toolexeclibdir='${libdir}'
115718 fi
115719 multi_os_directory=`$CXX -print-multi-os-directory`
115720 case $multi_os_directory in
115721 .) ;; # Avoid trailing /.
115722 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
115723 esac
115724 fi
115725
115726 echo "$as_me:$LINENO: checking for install location" >&5
115727 echo $ECHO_N "checking for install location... $ECHO_C" >&6
115728 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115729 echo "${ECHO_T}$gxx_include_dir" >&6
115730
115731
115732
115733
115734
115735
115736
115737 # Export all the include and flag information to Makefiles.
115738
115739 # Used for every C++ compile we perform.
115740 GLIBCXX_INCLUDES="\
115741 -I$glibcxx_builddir/include/$host_alias \
115742 -I$glibcxx_builddir/include \
115743 -I$glibcxx_srcdir/libsupc++"
115744
115745 # For Canadian crosses, pick this up too.
115746 if test $CANADIAN = yes; then
115747 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
115748 fi
115749
115750 # Stuff in the actual top level. Currently only used by libsupc++ to
115751 # get unwind* headers from the gcc dir.
115752 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
115753 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
115754
115755 # Now, export this to all the little Makefiles....
115756
115757
115758
115759
115760 # Optimization flags that are probably a good idea for thrill-seekers. Just
115761 # uncomment the lines below and make, everything else is ready to go...
115762 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
115763 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
115764
115765
115766 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
115767
115768
115769
115770 if test "$enable_shared" = yes; then
115771 LIBSUPCXX_PICFLAGS="-prefer-pic"
115772 else
115773 LIBSUPCXX_PICFLAGS=
115774 fi
115775
115776
115777 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
115778
115779 ac_config_files="$ac_config_files scripts/testsuite_flags"
115780
115781
115782 ac_config_commands="$ac_config_commands default"
115783
115784
115785 cat >confcache <<\_ACEOF
115786 # This file is a shell script that caches the results of configure
115787 # tests run on this system so they can be shared between configure
115788 # scripts and configure runs, see configure's option --config-cache.
115789 # It is not useful on other systems. If it contains results you don't
115790 # want to keep, you may remove or edit it.
115791 #
115792 # config.status only pays attention to the cache file if you give it
115793 # the --recheck option to rerun configure.
115794 #
115795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115797 # following values.
115798
115799 _ACEOF
115800
115801 # The following way of writing the cache mishandles newlines in values,
115802 # but we know of no workaround that is simple, portable, and efficient.
115803 # So, don't put newlines in cache variables' values.
115804 # Ultrix sh set writes to stderr and can't be redirected directly,
115805 # and sets the high bit in the cache file unless we assign to the vars.
115806 {
115807 (set) 2>&1 |
115808 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115809 *ac_space=\ *)
115810 # `set' does not quote correctly, so add quotes (double-quote
115811 # substitution turns \\\\ into \\, and sed turns \\ into \).
115812 sed -n \
115813 "s/'/'\\\\''/g;
115814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115815 ;;
115816 *)
115817 # `set' quotes correctly as required by POSIX, so do not add quotes.
115818 sed -n \
115819 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115820 ;;
115821 esac;
115822 } |
115823 sed '
115824 t clear
115825 : clear
115826 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115827 t end
115828 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115829 : end' >>confcache
115830 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115831 if test -w $cache_file; then
115832 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115833 cat confcache >$cache_file
115834 else
115835 echo "not updating unwritable cache $cache_file"
115836 fi
115837 fi
115838 rm -f confcache
115839
115840 test "x$prefix" = xNONE && prefix=$ac_default_prefix
115841 # Let make expand exec_prefix.
115842 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
115843
115844 # VPATH may cause trouble with some makes, so we remove $(srcdir),
115845 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
115846 # trailing colons and then remove the whole line if VPATH becomes empty
115847 # (actually we leave an empty line to preserve line numbers).
115848 if test "x$srcdir" = x.; then
115849 ac_vpsub='/^[ ]*VPATH[ ]*=/{
115850 s/:*\$(srcdir):*/:/;
115851 s/:*\${srcdir}:*/:/;
115852 s/:*@srcdir@:*/:/;
115853 s/^\([^=]*=[ ]*\):*/\1/;
115854 s/:*$//;
115855 s/^[^=]*=[ ]*$//;
115856 }'
115857 fi
115858
115859 DEFS=-DHAVE_CONFIG_H
115860
115861 ac_libobjs=
115862 ac_ltlibobjs=
115863 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
115864 # 1. Remove the extension, and $U if already installed.
115865 ac_i=`echo "$ac_i" |
115866 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
115867 # 2. Add them.
115868 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
115869 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
115870 done
115871 LIBOBJS=$ac_libobjs
115872
115873 LTLIBOBJS=$ac_ltlibobjs
115874
115875
115876 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
115877 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
115878 Usually this means the macro was only invoked conditionally." >&5
115879 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
115880 Usually this means the macro was only invoked conditionally." >&2;}
115881 { (exit 1); exit 1; }; }
115882 fi
115883 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
115884 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115885 Usually this means the macro was only invoked conditionally." >&5
115886 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115887 Usually this means the macro was only invoked conditionally." >&2;}
115888 { (exit 1); exit 1; }; }
115889 fi
115890 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
115891 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115892 Usually this means the macro was only invoked conditionally." >&5
115893 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115894 Usually this means the macro was only invoked conditionally." >&2;}
115895 { (exit 1); exit 1; }; }
115896 fi
115897 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
115898 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115899 Usually this means the macro was only invoked conditionally." >&5
115900 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115901 Usually this means the macro was only invoked conditionally." >&2;}
115902 { (exit 1); exit 1; }; }
115903 fi
115904 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
115905 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115906 Usually this means the macro was only invoked conditionally." >&5
115907 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115908 Usually this means the macro was only invoked conditionally." >&2;}
115909 { (exit 1); exit 1; }; }
115910 fi
115911 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
115912 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115913 Usually this means the macro was only invoked conditionally." >&5
115914 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115915 Usually this means the macro was only invoked conditionally." >&2;}
115916 { (exit 1); exit 1; }; }
115917 fi
115918 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
115919 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115920 Usually this means the macro was only invoked conditionally." >&5
115921 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115922 Usually this means the macro was only invoked conditionally." >&2;}
115923 { (exit 1); exit 1; }; }
115924 fi
115925 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
115926 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115927 Usually this means the macro was only invoked conditionally." >&5
115928 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115929 Usually this means the macro was only invoked conditionally." >&2;}
115930 { (exit 1); exit 1; }; }
115931 fi
115932 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
115933 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115934 Usually this means the macro was only invoked conditionally." >&5
115935 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115936 Usually this means the macro was only invoked conditionally." >&2;}
115937 { (exit 1); exit 1; }; }
115938 fi
115939 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
115940 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
115941 Usually this means the macro was only invoked conditionally." >&5
115942 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
115943 Usually this means the macro was only invoked conditionally." >&2;}
115944 { (exit 1); exit 1; }; }
115945 fi
115946 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
115947 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
115948 Usually this means the macro was only invoked conditionally." >&5
115949 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
115950 Usually this means the macro was only invoked conditionally." >&2;}
115951 { (exit 1); exit 1; }; }
115952 fi
115953 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
115954 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115955 Usually this means the macro was only invoked conditionally." >&5
115956 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115957 Usually this means the macro was only invoked conditionally." >&2;}
115958 { (exit 1); exit 1; }; }
115959 fi
115960 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
115961 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115962 Usually this means the macro was only invoked conditionally." >&5
115963 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115964 Usually this means the macro was only invoked conditionally." >&2;}
115965 { (exit 1); exit 1; }; }
115966 fi
115967 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
115968 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115969 Usually this means the macro was only invoked conditionally." >&5
115970 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115971 Usually this means the macro was only invoked conditionally." >&2;}
115972 { (exit 1); exit 1; }; }
115973 fi
115974 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
115975 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115976 Usually this means the macro was only invoked conditionally." >&5
115977 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115978 Usually this means the macro was only invoked conditionally." >&2;}
115979 { (exit 1); exit 1; }; }
115980 fi
115981 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
115982 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115983 Usually this means the macro was only invoked conditionally." >&5
115984 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115985 Usually this means the macro was only invoked conditionally." >&2;}
115986 { (exit 1); exit 1; }; }
115987 fi
115988
115989 : ${CONFIG_STATUS=./config.status}
115990 ac_clean_files_save=$ac_clean_files
115991 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
115992 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
115993 echo "$as_me: creating $CONFIG_STATUS" >&6;}
115994 cat >$CONFIG_STATUS <<_ACEOF
115995 #! $SHELL
115996 # Generated by $as_me.
115997 # Run this file to recreate the current configuration.
115998 # Compiler output produced by configure, useful for debugging
115999 # configure, is in config.log if it exists.
116000
116001 debug=false
116002 ac_cs_recheck=false
116003 ac_cs_silent=false
116004 SHELL=\${CONFIG_SHELL-$SHELL}
116005 _ACEOF
116006
116007 cat >>$CONFIG_STATUS <<\_ACEOF
116008 ## --------------------- ##
116009 ## M4sh Initialization. ##
116010 ## --------------------- ##
116011
116012 # Be Bourne compatible
116013 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
116014 emulate sh
116015 NULLCMD=:
116016 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
116017 # is contrary to our usage. Disable this feature.
116018 alias -g '${1+"$@"}'='"$@"'
116019 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
116020 set -o posix
116021 fi
116022 DUALCASE=1; export DUALCASE # for MKS sh
116023
116024 # Support unset when possible.
116025 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
116026 as_unset=unset
116027 else
116028 as_unset=false
116029 fi
116030
116031
116032 # Work around bugs in pre-3.0 UWIN ksh.
116033 $as_unset ENV MAIL MAILPATH
116034 PS1='$ '
116035 PS2='> '
116036 PS4='+ '
116037
116038 # NLS nuisances.
116039 for as_var in \
116040 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
116041 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
116042 LC_TELEPHONE LC_TIME
116043 do
116044 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
116045 eval $as_var=C; export $as_var
116046 else
116047 $as_unset $as_var
116048 fi
116049 done
116050
116051 # Required to use basename.
116052 if expr a : '\(a\)' >/dev/null 2>&1; then
116053 as_expr=expr
116054 else
116055 as_expr=false
116056 fi
116057
116058 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
116059 as_basename=basename
116060 else
116061 as_basename=false
116062 fi
116063
116064
116065 # Name of the executable.
116066 as_me=`$as_basename "$0" ||
116067 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
116068 X"$0" : 'X\(//\)$' \| \
116069 X"$0" : 'X\(/\)$' \| \
116070 . : '\(.\)' 2>/dev/null ||
116071 echo X/"$0" |
116072 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116073 /^X\/\(\/\/\)$/{ s//\1/; q; }
116074 /^X\/\(\/\).*/{ s//\1/; q; }
116075 s/.*/./; q'`
116076
116077
116078 # PATH needs CR, and LINENO needs CR and PATH.
116079 # Avoid depending upon Character Ranges.
116080 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
116081 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
116082 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
116083 as_cr_digits='0123456789'
116084 as_cr_alnum=$as_cr_Letters$as_cr_digits
116085
116086 # The user is always right.
116087 if test "${PATH_SEPARATOR+set}" != set; then
116088 echo "#! /bin/sh" >conf$$.sh
116089 echo "exit 0" >>conf$$.sh
116090 chmod +x conf$$.sh
116091 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
116092 PATH_SEPARATOR=';'
116093 else
116094 PATH_SEPARATOR=:
116095 fi
116096 rm -f conf$$.sh
116097 fi
116098
116099
116100 as_lineno_1=$LINENO
116101 as_lineno_2=$LINENO
116102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116103 test "x$as_lineno_1" != "x$as_lineno_2" &&
116104 test "x$as_lineno_3" = "x$as_lineno_2" || {
116105 # Find who we are. Look in the path if we contain no path at all
116106 # relative or not.
116107 case $0 in
116108 *[\\/]* ) as_myself=$0 ;;
116109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116110 for as_dir in $PATH
116111 do
116112 IFS=$as_save_IFS
116113 test -z "$as_dir" && as_dir=.
116114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116115 done
116116
116117 ;;
116118 esac
116119 # We did not find ourselves, most probably we were run as `sh COMMAND'
116120 # in which case we are not to be found in the path.
116121 if test "x$as_myself" = x; then
116122 as_myself=$0
116123 fi
116124 if test ! -f "$as_myself"; then
116125 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116126 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
116127 { (exit 1); exit 1; }; }
116128 fi
116129 case $CONFIG_SHELL in
116130 '')
116131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
116133 do
116134 IFS=$as_save_IFS
116135 test -z "$as_dir" && as_dir=.
116136 for as_base in sh bash ksh sh5; do
116137 case $as_dir in
116138 /*)
116139 if ("$as_dir/$as_base" -c '
116140 as_lineno_1=$LINENO
116141 as_lineno_2=$LINENO
116142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116143 test "x$as_lineno_1" != "x$as_lineno_2" &&
116144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
116145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
116146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
116147 CONFIG_SHELL=$as_dir/$as_base
116148 export CONFIG_SHELL
116149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
116150 fi;;
116151 esac
116152 done
116153 done
116154 ;;
116155 esac
116156
116157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
116158 # uniformly replaced by the line number. The first 'sed' inserts a
116159 # line-number line before each line; the second 'sed' does the real
116160 # work. The second script uses 'N' to pair each line-number line
116161 # with the numbered line, and appends trailing '-' during
116162 # substitution so that $LINENO is not a special case at line end.
116163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
116164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
116165 sed '=' <$as_myself |
116166 sed '
116167 N
116168 s,$,-,
116169 : loop
116170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
116171 t loop
116172 s,-$,,
116173 s,^['$as_cr_digits']*\n,,
116174 ' >$as_me.lineno &&
116175 chmod +x $as_me.lineno ||
116176 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
116177 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
116178 { (exit 1); exit 1; }; }
116179
116180 # Don't try to exec as it changes $[0], causing all sort of problems
116181 # (the dirname of $[0] is not the place where we might find the
116182 # original and so on. Autoconf is especially sensible to this).
116183 . ./$as_me.lineno
116184 # Exit status is that of the last command.
116185 exit
116186 }
116187
116188
116189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
116190 *c*,-n*) ECHO_N= ECHO_C='
116191 ' ECHO_T=' ' ;;
116192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
116193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
116194 esac
116195
116196 if expr a : '\(a\)' >/dev/null 2>&1; then
116197 as_expr=expr
116198 else
116199 as_expr=false
116200 fi
116201
116202 rm -f conf$$ conf$$.exe conf$$.file
116203 echo >conf$$.file
116204 if ln -s conf$$.file conf$$ 2>/dev/null; then
116205 # We could just check for DJGPP; but this test a) works b) is more generic
116206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
116207 if test -f conf$$.exe; then
116208 # Don't use ln at all; we don't have any links
116209 as_ln_s='cp -p'
116210 else
116211 as_ln_s='ln -s'
116212 fi
116213 elif ln conf$$.file conf$$ 2>/dev/null; then
116214 as_ln_s=ln
116215 else
116216 as_ln_s='cp -p'
116217 fi
116218 rm -f conf$$ conf$$.exe conf$$.file
116219
116220 if mkdir -p . 2>/dev/null; then
116221 as_mkdir_p=:
116222 else
116223 test -d ./-p && rmdir ./-p
116224 as_mkdir_p=false
116225 fi
116226
116227 as_executable_p="test -f"
116228
116229 # Sed expression to map a string onto a valid CPP name.
116230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
116231
116232 # Sed expression to map a string onto a valid variable name.
116233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
116234
116235
116236 # IFS
116237 # We need space, tab and new line, in precisely that order.
116238 as_nl='
116239 '
116240 IFS=" $as_nl"
116241
116242 # CDPATH.
116243 $as_unset CDPATH
116244
116245 exec 6>&1
116246
116247 # Open the log real soon, to keep \$[0] and so on meaningful, and to
116248 # report actual input values of CONFIG_FILES etc. instead of their
116249 # values after options handling. Logging --version etc. is OK.
116250 exec 5>>config.log
116251 {
116252 echo
116253 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
116254 ## Running $as_me. ##
116255 _ASBOX
116256 } >&5
116257 cat >&5 <<_CSEOF
116258
116259 This file was extended by package-unused $as_me version-unused, which was
116260 generated by GNU Autoconf 2.59. Invocation command line was
116261
116262 CONFIG_FILES = $CONFIG_FILES
116263 CONFIG_HEADERS = $CONFIG_HEADERS
116264 CONFIG_LINKS = $CONFIG_LINKS
116265 CONFIG_COMMANDS = $CONFIG_COMMANDS
116266 $ $0 $@
116267
116268 _CSEOF
116269 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
116270 echo >&5
116271 _ACEOF
116272
116273 # Files that config.status was made for.
116274 if test -n "$ac_config_files"; then
116275 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
116276 fi
116277
116278 if test -n "$ac_config_headers"; then
116279 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
116280 fi
116281
116282 if test -n "$ac_config_links"; then
116283 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
116284 fi
116285
116286 if test -n "$ac_config_commands"; then
116287 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
116288 fi
116289
116290 cat >>$CONFIG_STATUS <<\_ACEOF
116291
116292 ac_cs_usage="\
116293 \`$as_me' instantiates files from templates according to the
116294 current configuration.
116295
116296 Usage: $0 [OPTIONS] [FILE]...
116297
116298 -h, --help print this help, then exit
116299 -V, --version print version number, then exit
116300 -q, --quiet do not print progress messages
116301 -d, --debug don't remove temporary files
116302 --recheck update $as_me by reconfiguring in the same conditions
116303 --file=FILE[:TEMPLATE]
116304 instantiate the configuration file FILE
116305 --header=FILE[:TEMPLATE]
116306 instantiate the configuration header FILE
116307
116308 Configuration files:
116309 $config_files
116310
116311 Configuration headers:
116312 $config_headers
116313
116314 Configuration commands:
116315 $config_commands
116316
116317 Report bugs to <bug-autoconf@gnu.org>."
116318 _ACEOF
116319
116320 cat >>$CONFIG_STATUS <<_ACEOF
116321 ac_cs_version="\\
116322 package-unused config.status version-unused
116323 configured by $0, generated by GNU Autoconf 2.59,
116324 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
116325
116326 Copyright (C) 2003 Free Software Foundation, Inc.
116327 This config.status script is free software; the Free Software Foundation
116328 gives unlimited permission to copy, distribute and modify it."
116329 srcdir=$srcdir
116330 INSTALL="$INSTALL"
116331 _ACEOF
116332
116333 cat >>$CONFIG_STATUS <<\_ACEOF
116334 # If no file are specified by the user, then we need to provide default
116335 # value. By we need to know if files were specified by the user.
116336 ac_need_defaults=:
116337 while test $# != 0
116338 do
116339 case $1 in
116340 --*=*)
116341 ac_option=`expr "x$1" : 'x\([^=]*\)='`
116342 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
116343 ac_shift=:
116344 ;;
116345 -*)
116346 ac_option=$1
116347 ac_optarg=$2
116348 ac_shift=shift
116349 ;;
116350 *) # This is not an option, so the user has probably given explicit
116351 # arguments.
116352 ac_option=$1
116353 ac_need_defaults=false;;
116354 esac
116355
116356 case $ac_option in
116357 # Handling of the options.
116358 _ACEOF
116359 cat >>$CONFIG_STATUS <<\_ACEOF
116360 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
116361 ac_cs_recheck=: ;;
116362 --version | --vers* | -V )
116363 echo "$ac_cs_version"; exit 0 ;;
116364 --he | --h)
116365 # Conflict between --help and --header
116366 { { echo "$as_me:$LINENO: error: ambiguous option: $1
116367 Try \`$0 --help' for more information." >&5
116368 echo "$as_me: error: ambiguous option: $1
116369 Try \`$0 --help' for more information." >&2;}
116370 { (exit 1); exit 1; }; };;
116371 --help | --hel | -h )
116372 echo "$ac_cs_usage"; exit 0 ;;
116373 --debug | --d* | -d )
116374 debug=: ;;
116375 --file | --fil | --fi | --f )
116376 $ac_shift
116377 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
116378 ac_need_defaults=false;;
116379 --header | --heade | --head | --hea )
116380 $ac_shift
116381 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
116382 ac_need_defaults=false;;
116383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
116384 | -silent | --silent | --silen | --sile | --sil | --si | --s)
116385 ac_cs_silent=: ;;
116386
116387 # This is an error.
116388 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
116389 Try \`$0 --help' for more information." >&5
116390 echo "$as_me: error: unrecognized option: $1
116391 Try \`$0 --help' for more information." >&2;}
116392 { (exit 1); exit 1; }; } ;;
116393
116394 *) ac_config_targets="$ac_config_targets $1" ;;
116395
116396 esac
116397 shift
116398 done
116399
116400 ac_configure_extra_args=
116401
116402 if $ac_cs_silent; then
116403 exec 6>/dev/null
116404 ac_configure_extra_args="$ac_configure_extra_args --silent"
116405 fi
116406
116407 _ACEOF
116408 cat >>$CONFIG_STATUS <<_ACEOF
116409 if \$ac_cs_recheck; then
116410 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
116411 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
116412 fi
116413
116414 _ACEOF
116415
116416 cat >>$CONFIG_STATUS <<_ACEOF
116417 #
116418 # INIT-COMMANDS section.
116419 #
116420
116421
116422 srcdir="$srcdir"
116423 host="$host"
116424 target="$target"
116425 with_multisubdir="$with_multisubdir"
116426 with_multisrctop="$with_multisrctop"
116427 with_target_subdir="$with_target_subdir"
116428 ac_configure_args="${multilib_arg} ${ac_configure_args}"
116429 multi_basedir="$multi_basedir"
116430 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
116431 CC="$CC"
116432
116433
116434 # The HP-UX ksh and POSIX shell print the target directory to stdout
116435 # if CDPATH is set.
116436 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
116437
116438 sed_quote_subst='$sed_quote_subst'
116439 double_quote_subst='$double_quote_subst'
116440 delay_variable_subst='$delay_variable_subst'
116441 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
116442 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
116443 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
116444 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
116445 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
116446 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
116447 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
116448 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
116449 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
116450 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
116451 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
116452 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
116453 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
116454 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
116455 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
116456 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
116457 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
116458 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
116459 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
116460 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
116461 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
116462 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
116463 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
116464 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
116465 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
116466 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
116467 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
116468 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116469 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
116470 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
116471 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
116472 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116473 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
116474 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
116475 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116476 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116477 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116478 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
116479 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116480 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
116481 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
116482 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
116483 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
116484 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
116485 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
116486 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
116487 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
116488 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
116489 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
116490 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
116491 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
116492 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
116493 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
116494 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
116495 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
116496 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116497 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116498 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
116499 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
116500 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116501 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116502 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
116503 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116504 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116505 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116506 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116507 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116508 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116509 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
116510 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116511 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116512 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116513 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
116514 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
116515 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
116516 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
116517 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
116518 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116519 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
116520 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
116521 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
116522 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
116523 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
116524 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116525 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116526 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116527 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116528 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
116529 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
116530 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
116531 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
116532 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
116533 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116534 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116535 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
116536 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116537 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
116538 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116539 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116540 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116541 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116542 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
116543 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
116544 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116545 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116546 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
116547 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
116548 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
116549 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
116550 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
116551 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
116552 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116553 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116554 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
116555 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
116556 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
116557 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116558 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116559 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116560 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116561 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116562 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116563 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116564 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116565 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116566 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116567 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116568 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116569 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116570 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116571 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116572 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116573 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116574 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116575 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116576 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116577 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116578 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116579 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116580 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116581 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116582 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116583 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116584 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116585 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116586 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116587 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116588 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116589 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116590 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116591 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116592 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116593 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116594 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116595 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116596 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116597 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116598 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116599 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116600 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116601 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116602 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116603
116604 LTCC='$LTCC'
116605 LTCFLAGS='$LTCFLAGS'
116606 compiler='$compiler_DEFAULT'
116607
116608 # Quote evaled strings.
116609 for var in SED \
116610 GREP \
116611 EGREP \
116612 FGREP \
116613 LD \
116614 NM \
116615 LN_S \
116616 lt_SP2NL \
116617 lt_NL2SP \
116618 reload_flag \
116619 deplibs_check_method \
116620 file_magic_cmd \
116621 AR \
116622 AR_FLAGS \
116623 STRIP \
116624 RANLIB \
116625 CC \
116626 CFLAGS \
116627 compiler \
116628 lt_cv_sys_global_symbol_pipe \
116629 lt_cv_sys_global_symbol_to_cdecl \
116630 lt_cv_sys_global_symbol_to_c_name_address \
116631 SHELL \
116632 ECHO \
116633 lt_prog_compiler_no_builtin_flag \
116634 lt_prog_compiler_wl \
116635 lt_prog_compiler_pic \
116636 lt_prog_compiler_static \
116637 lt_cv_prog_compiler_c_o \
116638 need_locks \
116639 shrext_cmds \
116640 export_dynamic_flag_spec \
116641 whole_archive_flag_spec \
116642 compiler_needs_object \
116643 with_gnu_ld \
116644 allow_undefined_flag \
116645 no_undefined_flag \
116646 hardcode_libdir_flag_spec \
116647 hardcode_libdir_flag_spec_ld \
116648 hardcode_libdir_separator \
116649 fix_srcfile_path \
116650 exclude_expsyms \
116651 include_expsyms \
116652 file_list_spec \
116653 variables_saved_for_relink \
116654 libname_spec \
116655 library_names_spec \
116656 soname_spec \
116657 finish_eval \
116658 old_striplib \
116659 striplib \
116660 predep_objects \
116661 postdep_objects \
116662 predeps \
116663 postdeps \
116664 compiler_lib_search_path \
116665 LD_CXX \
116666 compiler_CXX \
116667 lt_prog_compiler_no_builtin_flag_CXX \
116668 lt_prog_compiler_wl_CXX \
116669 lt_prog_compiler_pic_CXX \
116670 lt_prog_compiler_static_CXX \
116671 lt_cv_prog_compiler_c_o_CXX \
116672 export_dynamic_flag_spec_CXX \
116673 whole_archive_flag_spec_CXX \
116674 compiler_needs_object_CXX \
116675 with_gnu_ld_CXX \
116676 allow_undefined_flag_CXX \
116677 no_undefined_flag_CXX \
116678 hardcode_libdir_flag_spec_CXX \
116679 hardcode_libdir_flag_spec_ld_CXX \
116680 hardcode_libdir_separator_CXX \
116681 fix_srcfile_path_CXX \
116682 exclude_expsyms_CXX \
116683 include_expsyms_CXX \
116684 file_list_spec_CXX \
116685 predep_objects_CXX \
116686 postdep_objects_CXX \
116687 predeps_CXX \
116688 postdeps_CXX \
116689 compiler_lib_search_path_CXX; do
116690 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116691 *[\\\\\\\`\\"\\\$]*)
116692 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
116693 ;;
116694 *)
116695 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116696 ;;
116697 esac
116698 done
116699
116700 # Double-quote double-evaled strings.
116701 for var in reload_cmds \
116702 old_postinstall_cmds \
116703 old_postuninstall_cmds \
116704 old_archive_cmds \
116705 extract_expsyms_cmds \
116706 old_archive_from_new_cmds \
116707 old_archive_from_expsyms_cmds \
116708 archive_cmds \
116709 archive_expsym_cmds \
116710 module_cmds \
116711 module_expsym_cmds \
116712 export_symbols_cmds \
116713 prelink_cmds \
116714 postinstall_cmds \
116715 postuninstall_cmds \
116716 finish_cmds \
116717 sys_lib_search_path_spec \
116718 sys_lib_dlsearch_path_spec \
116719 old_archive_cmds_CXX \
116720 old_archive_from_new_cmds_CXX \
116721 old_archive_from_expsyms_cmds_CXX \
116722 archive_cmds_CXX \
116723 archive_expsym_cmds_CXX \
116724 module_cmds_CXX \
116725 module_expsym_cmds_CXX \
116726 export_symbols_cmds_CXX \
116727 prelink_cmds_CXX; do
116728 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116729 *[\\\\\\\`\\"\\\$]*)
116730 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
116731 ;;
116732 *)
116733 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116734 ;;
116735 esac
116736 done
116737
116738 # Fix-up fallback echo if it was mangled by the above quoting rules.
116739 case \$lt_ECHO in
116740 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
116741 ;;
116742 esac
116743
116744 ac_aux_dir='$ac_aux_dir'
116745 xsi_shell='$xsi_shell'
116746 lt_shell_append='$lt_shell_append'
116747
116748 # See if we are running on zsh, and set the options which allow our
116749 # commands through without removal of \ escapes INIT.
116750 if test -n "\${ZSH_VERSION+set}" ; then
116751 setopt NO_GLOB_SUBST
116752 fi
116753
116754
116755 PACKAGE='$PACKAGE'
116756 VERSION='$VERSION'
116757 TIMESTAMP='$TIMESTAMP'
116758 RM='$RM'
116759 ofile='$ofile'
116760
116761
116762
116763
116764
116765
116766 # Variables needed in config.status (file generation) which aren't already
116767 # passed by autoconf.
116768 SUBDIRS="$SUBDIRS"
116769
116770
116771 _ACEOF
116772
116773
116774
116775 cat >>$CONFIG_STATUS <<\_ACEOF
116776 for ac_config_target in $ac_config_targets
116777 do
116778 case "$ac_config_target" in
116779 # Handling of arguments.
116780 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
116781 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
116782 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
116783 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
116784 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
116785 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
116786 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
116787 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
116788 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
116789 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
116790 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
116791 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
116792 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
116793 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
116794 { (exit 1); exit 1; }; };;
116795 esac
116796 done
116797
116798 # If the user did not use the arguments to specify the items to instantiate,
116799 # then the envvar interface is used. Set only those that are not.
116800 # We use the long form for the default assignment because of an extremely
116801 # bizarre bug on SunOS 4.1.3.
116802 if $ac_need_defaults; then
116803 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
116804 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
116805 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
116806 fi
116807
116808 # Have a temporary directory for convenience. Make it in the build tree
116809 # simply because there is no reason to put it here, and in addition,
116810 # creating and moving files from /tmp can sometimes cause problems.
116811 # Create a temporary directory, and hook for its removal unless debugging.
116812 $debug ||
116813 {
116814 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
116815 trap '{ (exit 1); exit 1; }' 1 2 13 15
116816 }
116817
116818 # Create a (secure) tmp directory for tmp files.
116819
116820 {
116821 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
116822 test -n "$tmp" && test -d "$tmp"
116823 } ||
116824 {
116825 tmp=./confstat$$-$RANDOM
116826 (umask 077 && mkdir $tmp)
116827 } ||
116828 {
116829 echo "$me: cannot create a temporary directory in ." >&2
116830 { (exit 1); exit 1; }
116831 }
116832
116833 _ACEOF
116834
116835 cat >>$CONFIG_STATUS <<_ACEOF
116836
116837 #
116838 # CONFIG_FILES section.
116839 #
116840
116841 # No need to generate the scripts if there are no CONFIG_FILES.
116842 # This happens for instance when ./config.status config.h
116843 if test -n "\$CONFIG_FILES"; then
116844 # Protect against being on the right side of a sed subst in config.status.
116845 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
116846 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
116847 s,@SHELL@,$SHELL,;t t
116848 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
116849 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
116850 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
116851 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
116852 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
116853 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
116854 s,@exec_prefix@,$exec_prefix,;t t
116855 s,@prefix@,$prefix,;t t
116856 s,@program_transform_name@,$program_transform_name,;t t
116857 s,@bindir@,$bindir,;t t
116858 s,@sbindir@,$sbindir,;t t
116859 s,@libexecdir@,$libexecdir,;t t
116860 s,@datadir@,$datadir,;t t
116861 s,@sysconfdir@,$sysconfdir,;t t
116862 s,@sharedstatedir@,$sharedstatedir,;t t
116863 s,@localstatedir@,$localstatedir,;t t
116864 s,@libdir@,$libdir,;t t
116865 s,@includedir@,$includedir,;t t
116866 s,@oldincludedir@,$oldincludedir,;t t
116867 s,@infodir@,$infodir,;t t
116868 s,@mandir@,$mandir,;t t
116869 s,@build_alias@,$build_alias,;t t
116870 s,@host_alias@,$host_alias,;t t
116871 s,@target_alias@,$target_alias,;t t
116872 s,@DEFS@,$DEFS,;t t
116873 s,@ECHO_C@,$ECHO_C,;t t
116874 s,@ECHO_N@,$ECHO_N,;t t
116875 s,@ECHO_T@,$ECHO_T,;t t
116876 s,@LIBS@,$LIBS,;t t
116877 s,@libtool_VERSION@,$libtool_VERSION,;t t
116878 s,@multi_basedir@,$multi_basedir,;t t
116879 s,@build@,$build,;t t
116880 s,@build_cpu@,$build_cpu,;t t
116881 s,@build_vendor@,$build_vendor,;t t
116882 s,@build_os@,$build_os,;t t
116883 s,@host@,$host,;t t
116884 s,@host_cpu@,$host_cpu,;t t
116885 s,@host_vendor@,$host_vendor,;t t
116886 s,@host_os@,$host_os,;t t
116887 s,@target@,$target,;t t
116888 s,@target_cpu@,$target_cpu,;t t
116889 s,@target_vendor@,$target_vendor,;t t
116890 s,@target_os@,$target_os,;t t
116891 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
116892 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
116893 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
116894 s,@CYGPATH_W@,$CYGPATH_W,;t t
116895 s,@PACKAGE@,$PACKAGE,;t t
116896 s,@VERSION@,$VERSION,;t t
116897 s,@ACLOCAL@,$ACLOCAL,;t t
116898 s,@AUTOCONF@,$AUTOCONF,;t t
116899 s,@AUTOMAKE@,$AUTOMAKE,;t t
116900 s,@AUTOHEADER@,$AUTOHEADER,;t t
116901 s,@MAKEINFO@,$MAKEINFO,;t t
116902 s,@install_sh@,$install_sh,;t t
116903 s,@STRIP@,$STRIP,;t t
116904 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
116905 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
116906 s,@mkdir_p@,$mkdir_p,;t t
116907 s,@AWK@,$AWK,;t t
116908 s,@SET_MAKE@,$SET_MAKE,;t t
116909 s,@am__leading_dot@,$am__leading_dot,;t t
116910 s,@AMTAR@,$AMTAR,;t t
116911 s,@am__tar@,$am__tar,;t t
116912 s,@am__untar@,$am__untar,;t t
116913 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
116914 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
116915 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
116916 s,@CC@,$CC,;t t
116917 s,@ac_ct_CC@,$ac_ct_CC,;t t
116918 s,@EXEEXT@,$EXEEXT,;t t
116919 s,@OBJEXT@,$OBJEXT,;t t
116920 s,@CXX@,$CXX,;t t
116921 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
116922 s,@CFLAGS@,$CFLAGS,;t t
116923 s,@CXXFLAGS@,$CXXFLAGS,;t t
116924 s,@LN_S@,$LN_S,;t t
116925 s,@AS@,$AS,;t t
116926 s,@ac_ct_AS@,$ac_ct_AS,;t t
116927 s,@AR@,$AR,;t t
116928 s,@ac_ct_AR@,$ac_ct_AR,;t t
116929 s,@RANLIB@,$RANLIB,;t t
116930 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
116931 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
116932 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
116933 s,@MAINT@,$MAINT,;t t
116934 s,@CPP@,$CPP,;t t
116935 s,@CPPFLAGS@,$CPPFLAGS,;t t
116936 s,@EGREP@,$EGREP,;t t
116937 s,@LIBTOOL@,$LIBTOOL,;t t
116938 s,@SED@,$SED,;t t
116939 s,@FGREP@,$FGREP,;t t
116940 s,@GREP@,$GREP,;t t
116941 s,@LD@,$LD,;t t
116942 s,@DUMPBIN@,$DUMPBIN,;t t
116943 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
116944 s,@NM@,$NM,;t t
116945 s,@lt_ECHO@,$lt_ECHO,;t t
116946 s,@LDFLAGS@,$LDFLAGS,;t t
116947 s,@CXXCPP@,$CXXCPP,;t t
116948 s,@enable_shared@,$enable_shared,;t t
116949 s,@enable_static@,$enable_static,;t t
116950 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
116951 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
116952 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
116953 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
116954 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
116955 s,@CSTDIO_H@,$CSTDIO_H,;t t
116956 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
116957 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
116958 s,@check_msgfmt@,$check_msgfmt,;t t
116959 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
116960 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
116961 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
116962 s,@USE_NLS@,$USE_NLS,;t t
116963 s,@CLOCALE_H@,$CLOCALE_H,;t t
116964 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
116965 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
116966 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
116967 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
116968 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
116969 s,@CMONEY_CC@,$CMONEY_CC,;t t
116970 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
116971 s,@CTIME_H@,$CTIME_H,;t t
116972 s,@CTIME_CC@,$CTIME_CC,;t t
116973 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
116974 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
116975 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
116976 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
116977 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
116978 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
116979 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
116980 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
116981 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
116982 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
116983 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
116984 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
116985 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
116986 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
116987 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
116988 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
116989 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
116990 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
116991 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
116992 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
116993 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
116994 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
116995 s,@WERROR@,$WERROR,;t t
116996 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
116997 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
116998 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
116999 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
117000 s,@LIBICONV@,$LIBICONV,;t t
117001 s,@LTLIBICONV@,$LTLIBICONV,;t t
117002 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
117003 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
117004 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
117005 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
117006 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
117007 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
117008 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
117009 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
117010 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
117011 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
117012 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
117013 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
117014 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
117015 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
117016 s,@baseline_dir@,$baseline_dir,;t t
117017 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
117018 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
117019 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
117020 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
117021 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
117022 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
117023 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
117024 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
117025 s,@gxx_include_dir@,$gxx_include_dir,;t t
117026 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
117027 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
117028 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
117029 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
117030 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
117031 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
117032 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
117033 s,@LIBOBJS@,$LIBOBJS,;t t
117034 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
117035 CEOF
117036
117037 _ACEOF
117038
117039 cat >>$CONFIG_STATUS <<\_ACEOF
117040 # Split the substitutions into bite-sized pieces for seds with
117041 # small command number limits, like on Digital OSF/1 and HP-UX.
117042 ac_max_sed_lines=48
117043 ac_sed_frag=1 # Number of current file.
117044 ac_beg=1 # First line for current file.
117045 ac_end=$ac_max_sed_lines # Line after last line for current file.
117046 ac_more_lines=:
117047 ac_sed_cmds=
117048 while $ac_more_lines; do
117049 if test $ac_beg -gt 1; then
117050 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117051 else
117052 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117053 fi
117054 if test ! -s $tmp/subs.frag; then
117055 ac_more_lines=false
117056 else
117057 # The purpose of the label and of the branching condition is to
117058 # speed up the sed processing (if there are no `@' at all, there
117059 # is no need to browse any of the substitutions).
117060 # These are the two extra sed commands mentioned above.
117061 (echo ':t
117062 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
117063 if test -z "$ac_sed_cmds"; then
117064 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
117065 else
117066 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
117067 fi
117068 ac_sed_frag=`expr $ac_sed_frag + 1`
117069 ac_beg=$ac_end
117070 ac_end=`expr $ac_end + $ac_max_sed_lines`
117071 fi
117072 done
117073 if test -z "$ac_sed_cmds"; then
117074 ac_sed_cmds=cat
117075 fi
117076 fi # test -n "$CONFIG_FILES"
117077
117078 _ACEOF
117079 cat >>$CONFIG_STATUS <<\_ACEOF
117080 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
117081 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117082 case $ac_file in
117083 - | *:- | *:-:* ) # input from stdin
117084 cat >$tmp/stdin
117085 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117086 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117087 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117088 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117089 * ) ac_file_in=$ac_file.in ;;
117090 esac
117091
117092 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
117093 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117094 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117095 X"$ac_file" : 'X\(//\)[^/]' \| \
117096 X"$ac_file" : 'X\(//\)$' \| \
117097 X"$ac_file" : 'X\(/\)' \| \
117098 . : '\(.\)' 2>/dev/null ||
117099 echo X"$ac_file" |
117100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117101 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117102 /^X\(\/\/\)$/{ s//\1/; q; }
117103 /^X\(\/\).*/{ s//\1/; q; }
117104 s/.*/./; q'`
117105 { if $as_mkdir_p; then
117106 mkdir -p "$ac_dir"
117107 else
117108 as_dir="$ac_dir"
117109 as_dirs=
117110 while test ! -d "$as_dir"; do
117111 as_dirs="$as_dir $as_dirs"
117112 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117114 X"$as_dir" : 'X\(//\)[^/]' \| \
117115 X"$as_dir" : 'X\(//\)$' \| \
117116 X"$as_dir" : 'X\(/\)' \| \
117117 . : '\(.\)' 2>/dev/null ||
117118 echo X"$as_dir" |
117119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117120 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117121 /^X\(\/\/\)$/{ s//\1/; q; }
117122 /^X\(\/\).*/{ s//\1/; q; }
117123 s/.*/./; q'`
117124 done
117125 test ! -n "$as_dirs" || mkdir $as_dirs
117126 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117127 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117128 { (exit 1); exit 1; }; }; }
117129
117130 ac_builddir=.
117131
117132 if test "$ac_dir" != .; then
117133 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117134 # A "../" for each directory in $ac_dir_suffix.
117135 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117136 else
117137 ac_dir_suffix= ac_top_builddir=
117138 fi
117139
117140 case $srcdir in
117141 .) # No --srcdir option. We are building in place.
117142 ac_srcdir=.
117143 if test -z "$ac_top_builddir"; then
117144 ac_top_srcdir=.
117145 else
117146 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117147 fi ;;
117148 [\\/]* | ?:[\\/]* ) # Absolute path.
117149 ac_srcdir=$srcdir$ac_dir_suffix;
117150 ac_top_srcdir=$srcdir ;;
117151 *) # Relative path.
117152 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117153 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117154 esac
117155
117156 # Do not use `cd foo && pwd` to compute absolute paths, because
117157 # the directories may not exist.
117158 case `pwd` in
117159 .) ac_abs_builddir="$ac_dir";;
117160 *)
117161 case "$ac_dir" in
117162 .) ac_abs_builddir=`pwd`;;
117163 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117164 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117165 esac;;
117166 esac
117167 case $ac_abs_builddir in
117168 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117169 *)
117170 case ${ac_top_builddir}. in
117171 .) ac_abs_top_builddir=$ac_abs_builddir;;
117172 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117173 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117174 esac;;
117175 esac
117176 case $ac_abs_builddir in
117177 .) ac_abs_srcdir=$ac_srcdir;;
117178 *)
117179 case $ac_srcdir in
117180 .) ac_abs_srcdir=$ac_abs_builddir;;
117181 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117182 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117183 esac;;
117184 esac
117185 case $ac_abs_builddir in
117186 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117187 *)
117188 case $ac_top_srcdir in
117189 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117190 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117191 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117192 esac;;
117193 esac
117194
117195
117196 case $INSTALL in
117197 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
117198 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
117199 esac
117200
117201 if test x"$ac_file" != x-; then
117202 { echo "$as_me:$LINENO: creating $ac_file" >&5
117203 echo "$as_me: creating $ac_file" >&6;}
117204 rm -f "$ac_file"
117205 fi
117206 # Let's still pretend it is `configure' which instantiates (i.e., don't
117207 # use $as_me), people would be surprised to read:
117208 # /* config.h. Generated by config.status. */
117209 if test x"$ac_file" = x-; then
117210 configure_input=
117211 else
117212 configure_input="$ac_file. "
117213 fi
117214 configure_input=$configure_input"Generated from `echo $ac_file_in |
117215 sed 's,.*/,,'` by configure."
117216
117217 # First look for the input files in the build tree, otherwise in the
117218 # src tree.
117219 ac_file_inputs=`IFS=:
117220 for f in $ac_file_in; do
117221 case $f in
117222 -) echo $tmp/stdin ;;
117223 [\\/$]*)
117224 # Absolute (can't be DOS-style, as IFS=:)
117225 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117226 echo "$as_me: error: cannot find input file: $f" >&2;}
117227 { (exit 1); exit 1; }; }
117228 echo "$f";;
117229 *) # Relative
117230 if test -f "$f"; then
117231 # Build tree
117232 echo "$f"
117233 elif test -f "$srcdir/$f"; then
117234 # Source tree
117235 echo "$srcdir/$f"
117236 else
117237 # /dev/null tree
117238 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117239 echo "$as_me: error: cannot find input file: $f" >&2;}
117240 { (exit 1); exit 1; }; }
117241 fi;;
117242 esac
117243 done` || { (exit 1); exit 1; }
117244 _ACEOF
117245 cat >>$CONFIG_STATUS <<_ACEOF
117246 sed "$ac_vpsub
117247 $extrasub
117248 _ACEOF
117249 cat >>$CONFIG_STATUS <<\_ACEOF
117250 :t
117251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
117252 s,@configure_input@,$configure_input,;t t
117253 s,@srcdir@,$ac_srcdir,;t t
117254 s,@abs_srcdir@,$ac_abs_srcdir,;t t
117255 s,@top_srcdir@,$ac_top_srcdir,;t t
117256 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
117257 s,@builddir@,$ac_builddir,;t t
117258 s,@abs_builddir@,$ac_abs_builddir,;t t
117259 s,@top_builddir@,$ac_top_builddir,;t t
117260 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
117261 s,@INSTALL@,$ac_INSTALL,;t t
117262 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
117263 rm -f $tmp/stdin
117264 if test x"$ac_file" != x-; then
117265 mv $tmp/out $ac_file
117266 else
117267 cat $tmp/out
117268 rm -f $tmp/out
117269 fi
117270
117271 # Run the commands associated with the file.
117272 case $ac_file in
117273 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
117274 esac
117275 done
117276 _ACEOF
117277 cat >>$CONFIG_STATUS <<\_ACEOF
117278
117279 #
117280 # CONFIG_HEADER section.
117281 #
117282
117283 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
117284 # NAME is the cpp macro being defined and VALUE is the value it is being given.
117285 #
117286 # ac_d sets the value in "#define NAME VALUE" lines.
117287 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
117288 ac_dB='[ ].*$,\1#\2'
117289 ac_dC=' '
117290 ac_dD=',;t'
117291 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
117292 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
117293 ac_uB='$,\1#\2define\3'
117294 ac_uC=' '
117295 ac_uD=',;t'
117296
117297 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
117298 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117299 case $ac_file in
117300 - | *:- | *:-:* ) # input from stdin
117301 cat >$tmp/stdin
117302 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117303 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117304 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117305 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117306 * ) ac_file_in=$ac_file.in ;;
117307 esac
117308
117309 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
117310 echo "$as_me: creating $ac_file" >&6;}
117311
117312 # First look for the input files in the build tree, otherwise in the
117313 # src tree.
117314 ac_file_inputs=`IFS=:
117315 for f in $ac_file_in; do
117316 case $f in
117317 -) echo $tmp/stdin ;;
117318 [\\/$]*)
117319 # Absolute (can't be DOS-style, as IFS=:)
117320 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117321 echo "$as_me: error: cannot find input file: $f" >&2;}
117322 { (exit 1); exit 1; }; }
117323 # Do quote $f, to prevent DOS paths from being IFS'd.
117324 echo "$f";;
117325 *) # Relative
117326 if test -f "$f"; then
117327 # Build tree
117328 echo "$f"
117329 elif test -f "$srcdir/$f"; then
117330 # Source tree
117331 echo "$srcdir/$f"
117332 else
117333 # /dev/null tree
117334 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117335 echo "$as_me: error: cannot find input file: $f" >&2;}
117336 { (exit 1); exit 1; }; }
117337 fi;;
117338 esac
117339 done` || { (exit 1); exit 1; }
117340 # Remove the trailing spaces.
117341 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
117342
117343 _ACEOF
117344
117345 # Transform confdefs.h into two sed scripts, `conftest.defines' and
117346 # `conftest.undefs', that substitutes the proper values into
117347 # config.h.in to produce config.h. The first handles `#define'
117348 # templates, and the second `#undef' templates.
117349 # And first: Protect against being on the right side of a sed subst in
117350 # config.status. Protect against being in an unquoted here document
117351 # in config.status.
117352 rm -f conftest.defines conftest.undefs
117353 # Using a here document instead of a string reduces the quoting nightmare.
117354 # Putting comments in sed scripts is not portable.
117355 #
117356 # `end' is used to avoid that the second main sed command (meant for
117357 # 0-ary CPP macros) applies to n-ary macro definitions.
117358 # See the Autoconf documentation for `clear'.
117359 cat >confdef2sed.sed <<\_ACEOF
117360 s/[\\&,]/\\&/g
117361 s,[\\$`],\\&,g
117362 t clear
117363 : clear
117364 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
117365 t end
117366 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
117367 : end
117368 _ACEOF
117369 # If some macros were called several times there might be several times
117370 # the same #defines, which is useless. Nevertheless, we may not want to
117371 # sort them, since we want the *last* AC-DEFINE to be honored.
117372 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
117373 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
117374 rm -f confdef2sed.sed
117375
117376 # This sed command replaces #undef with comments. This is necessary, for
117377 # example, in the case of _POSIX_SOURCE, which is predefined and required
117378 # on some systems where configure will not decide to define it.
117379 cat >>conftest.undefs <<\_ACEOF
117380 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
117381 _ACEOF
117382
117383 # Break up conftest.defines because some shells have a limit on the size
117384 # of here documents, and old seds have small limits too (100 cmds).
117385 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
117386 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
117387 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
117388 echo ' :' >>$CONFIG_STATUS
117389 rm -f conftest.tail
117390 while grep . conftest.defines >/dev/null
117391 do
117392 # Write a limited-size here document to $tmp/defines.sed.
117393 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
117394 # Speed up: don't consider the non `#define' lines.
117395 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
117396 # Work around the forget-to-reset-the-flag bug.
117397 echo 't clr' >>$CONFIG_STATUS
117398 echo ': clr' >>$CONFIG_STATUS
117399 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
117400 echo 'CEOF
117401 sed -f $tmp/defines.sed $tmp/in >$tmp/out
117402 rm -f $tmp/in
117403 mv $tmp/out $tmp/in
117404 ' >>$CONFIG_STATUS
117405 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
117406 rm -f conftest.defines
117407 mv conftest.tail conftest.defines
117408 done
117409 rm -f conftest.defines
117410 echo ' fi # grep' >>$CONFIG_STATUS
117411 echo >>$CONFIG_STATUS
117412
117413 # Break up conftest.undefs because some shells have a limit on the size
117414 # of here documents, and old seds have small limits too (100 cmds).
117415 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
117416 rm -f conftest.tail
117417 while grep . conftest.undefs >/dev/null
117418 do
117419 # Write a limited-size here document to $tmp/undefs.sed.
117420 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
117421 # Speed up: don't consider the non `#undef'
117422 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
117423 # Work around the forget-to-reset-the-flag bug.
117424 echo 't clr' >>$CONFIG_STATUS
117425 echo ': clr' >>$CONFIG_STATUS
117426 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
117427 echo 'CEOF
117428 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
117429 rm -f $tmp/in
117430 mv $tmp/out $tmp/in
117431 ' >>$CONFIG_STATUS
117432 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
117433 rm -f conftest.undefs
117434 mv conftest.tail conftest.undefs
117435 done
117436 rm -f conftest.undefs
117437
117438 cat >>$CONFIG_STATUS <<\_ACEOF
117439 # Let's still pretend it is `configure' which instantiates (i.e., don't
117440 # use $as_me), people would be surprised to read:
117441 # /* config.h. Generated by config.status. */
117442 if test x"$ac_file" = x-; then
117443 echo "/* Generated by configure. */" >$tmp/config.h
117444 else
117445 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
117446 fi
117447 cat $tmp/in >>$tmp/config.h
117448 rm -f $tmp/in
117449 if test x"$ac_file" != x-; then
117450 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
117451 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
117452 echo "$as_me: $ac_file is unchanged" >&6;}
117453 else
117454 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117456 X"$ac_file" : 'X\(//\)[^/]' \| \
117457 X"$ac_file" : 'X\(//\)$' \| \
117458 X"$ac_file" : 'X\(/\)' \| \
117459 . : '\(.\)' 2>/dev/null ||
117460 echo X"$ac_file" |
117461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117462 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117463 /^X\(\/\/\)$/{ s//\1/; q; }
117464 /^X\(\/\).*/{ s//\1/; q; }
117465 s/.*/./; q'`
117466 { if $as_mkdir_p; then
117467 mkdir -p "$ac_dir"
117468 else
117469 as_dir="$ac_dir"
117470 as_dirs=
117471 while test ! -d "$as_dir"; do
117472 as_dirs="$as_dir $as_dirs"
117473 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117475 X"$as_dir" : 'X\(//\)[^/]' \| \
117476 X"$as_dir" : 'X\(//\)$' \| \
117477 X"$as_dir" : 'X\(/\)' \| \
117478 . : '\(.\)' 2>/dev/null ||
117479 echo X"$as_dir" |
117480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117481 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117482 /^X\(\/\/\)$/{ s//\1/; q; }
117483 /^X\(\/\).*/{ s//\1/; q; }
117484 s/.*/./; q'`
117485 done
117486 test ! -n "$as_dirs" || mkdir $as_dirs
117487 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117488 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117489 { (exit 1); exit 1; }; }; }
117490
117491 rm -f $ac_file
117492 mv $tmp/config.h $ac_file
117493 fi
117494 else
117495 cat $tmp/config.h
117496 rm -f $tmp/config.h
117497 fi
117498 # Compute $ac_file's index in $config_headers.
117499 _am_stamp_count=1
117500 for _am_header in $config_headers :; do
117501 case $_am_header in
117502 $ac_file | $ac_file:* )
117503 break ;;
117504 * )
117505 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
117506 esac
117507 done
117508 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
117509 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117510 X$ac_file : 'X\(//\)[^/]' \| \
117511 X$ac_file : 'X\(//\)$' \| \
117512 X$ac_file : 'X\(/\)' \| \
117513 . : '\(.\)' 2>/dev/null ||
117514 echo X$ac_file |
117515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117517 /^X\(\/\/\)$/{ s//\1/; q; }
117518 /^X\(\/\).*/{ s//\1/; q; }
117519 s/.*/./; q'`/stamp-h$_am_stamp_count
117520 done
117521 _ACEOF
117522 cat >>$CONFIG_STATUS <<\_ACEOF
117523
117524 #
117525 # CONFIG_COMMANDS section.
117526 #
117527 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
117528 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
117529 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
117530 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
117531 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117532 X"$ac_dest" : 'X\(//\)[^/]' \| \
117533 X"$ac_dest" : 'X\(//\)$' \| \
117534 X"$ac_dest" : 'X\(/\)' \| \
117535 . : '\(.\)' 2>/dev/null ||
117536 echo X"$ac_dest" |
117537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117539 /^X\(\/\/\)$/{ s//\1/; q; }
117540 /^X\(\/\).*/{ s//\1/; q; }
117541 s/.*/./; q'`
117542 { if $as_mkdir_p; then
117543 mkdir -p "$ac_dir"
117544 else
117545 as_dir="$ac_dir"
117546 as_dirs=
117547 while test ! -d "$as_dir"; do
117548 as_dirs="$as_dir $as_dirs"
117549 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117550 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117551 X"$as_dir" : 'X\(//\)[^/]' \| \
117552 X"$as_dir" : 'X\(//\)$' \| \
117553 X"$as_dir" : 'X\(/\)' \| \
117554 . : '\(.\)' 2>/dev/null ||
117555 echo X"$as_dir" |
117556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117558 /^X\(\/\/\)$/{ s//\1/; q; }
117559 /^X\(\/\).*/{ s//\1/; q; }
117560 s/.*/./; q'`
117561 done
117562 test ! -n "$as_dirs" || mkdir $as_dirs
117563 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117564 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117565 { (exit 1); exit 1; }; }; }
117566
117567 ac_builddir=.
117568
117569 if test "$ac_dir" != .; then
117570 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117571 # A "../" for each directory in $ac_dir_suffix.
117572 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117573 else
117574 ac_dir_suffix= ac_top_builddir=
117575 fi
117576
117577 case $srcdir in
117578 .) # No --srcdir option. We are building in place.
117579 ac_srcdir=.
117580 if test -z "$ac_top_builddir"; then
117581 ac_top_srcdir=.
117582 else
117583 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117584 fi ;;
117585 [\\/]* | ?:[\\/]* ) # Absolute path.
117586 ac_srcdir=$srcdir$ac_dir_suffix;
117587 ac_top_srcdir=$srcdir ;;
117588 *) # Relative path.
117589 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117590 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117591 esac
117592
117593 # Do not use `cd foo && pwd` to compute absolute paths, because
117594 # the directories may not exist.
117595 case `pwd` in
117596 .) ac_abs_builddir="$ac_dir";;
117597 *)
117598 case "$ac_dir" in
117599 .) ac_abs_builddir=`pwd`;;
117600 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117601 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117602 esac;;
117603 esac
117604 case $ac_abs_builddir in
117605 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117606 *)
117607 case ${ac_top_builddir}. in
117608 .) ac_abs_top_builddir=$ac_abs_builddir;;
117609 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117610 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117611 esac;;
117612 esac
117613 case $ac_abs_builddir in
117614 .) ac_abs_srcdir=$ac_srcdir;;
117615 *)
117616 case $ac_srcdir in
117617 .) ac_abs_srcdir=$ac_abs_builddir;;
117618 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117619 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117620 esac;;
117621 esac
117622 case $ac_abs_builddir in
117623 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117624 *)
117625 case $ac_top_srcdir in
117626 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117627 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117628 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117629 esac;;
117630 esac
117631
117632
117633 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
117634 echo "$as_me: executing $ac_dest commands" >&6;}
117635 case $ac_dest in
117636 default-1 )
117637 # Only add multilib support code if we just rebuilt the top-level
117638 # Makefile.
117639 case " $CONFIG_FILES " in
117640 *" Makefile "*)
117641 ac_file=Makefile . ${multi_basedir}/config-ml.in
117642 ;;
117643 esac ;;
117644 libtool )
117645
117646 # See if we are running on zsh, and set the options which allow our
117647 # commands through without removal of \ escapes.
117648 if test -n "${ZSH_VERSION+set}" ; then
117649 setopt NO_GLOB_SUBST
117650 fi
117651
117652 cfgfile="${ofile}T"
117653 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
117654 $RM "$cfgfile"
117655
117656 cat <<_LT_EOF >> "$cfgfile"
117657 #! $SHELL
117658
117659 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
117660 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
117661 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
117662 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
117663 #
117664 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
117665 # 2006, 2007 Free Software Foundation, Inc.
117666 #
117667 # This file is part of GNU Libtool:
117668 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
117669 #
117670 # This program is free software; you can redistribute it and/or modify
117671 # it under the terms of the GNU General Public License as published by
117672 # the Free Software Foundation; either version 2 of the License, or
117673 # (at your option) any later version.
117674 #
117675 # This program is distributed in the hope that it will be useful, but
117676 # WITHOUT ANY WARRANTY; without even the implied warranty of
117677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
117678 # General Public License for more details.
117679 #
117680 # You should have received a copy of the GNU General Public License
117681 # along with this program; if not, a copy can be downloaded from
117682 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
117683 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
117684 # MA 02110-1301, USA.
117685 #
117686 # As a special exception to the GNU General Public License, if you
117687 # distribute this file as part of a program that contains a
117688 # configuration script generated by Autoconf, you may include it under
117689 # the same distribution terms that you use for the rest of that program.
117690
117691
117692 # The names of the tagged configurations supported by this script.
117693 available_tags="CXX "
117694
117695 # ### BEGIN LIBTOOL CONFIG
117696
117697 # Which release of libtool.m4 was used?
117698 macro_version=$macro_version
117699 macro_revision=$macro_revision
117700
117701 # Whether or not to build shared libraries.
117702 build_libtool_libs=$enable_shared
117703
117704 # Whether or not to build static libraries.
117705 build_old_libs=$enable_static
117706
117707 # What type of objects to build.
117708 pic_mode=$pic_mode
117709
117710 # Whether or not to optimize for fast installation.
117711 fast_install=$enable_fast_install
117712
117713 # The host system.
117714 host_alias=$host_alias
117715 host=$host
117716 host_os=$host_os
117717
117718 # The build system.
117719 build_alias=$build_alias
117720 build=$build
117721 build_os=$build_os
117722
117723 # A sed program that does not truncate output.
117724 SED=$lt_SED
117725
117726 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
117727 Xsed="\$SED -e 1s/^X//"
117728
117729 # A grep program that handles long lines.
117730 GREP=$lt_GREP
117731
117732 # An ERE matcher.
117733 EGREP=$lt_EGREP
117734
117735 # A literal string matcher.
117736 FGREP=$lt_FGREP
117737
117738 # A BSD- or MS-compatible name lister.
117739 NM=$lt_NM
117740
117741 # Whether we need soft or hard links.
117742 LN_S=$lt_LN_S
117743
117744 # What is the maximum length of a command?
117745 max_cmd_len=$max_cmd_len
117746
117747 # Object file suffix (normally "o").
117748 objext=$ac_objext
117749
117750 # Executable file suffix (normally "").
117751 exeext=$exeext
117752
117753 # whether the shell understands "unset".
117754 lt_unset=$lt_unset
117755
117756 # turn spaces into newlines.
117757 SP2NL=$lt_lt_SP2NL
117758
117759 # turn newlines into spaces.
117760 NL2SP=$lt_lt_NL2SP
117761
117762 # How to create reloadable object files.
117763 reload_flag=$lt_reload_flag
117764 reload_cmds=$lt_reload_cmds
117765
117766 # Method to check whether dependent libraries are shared objects.
117767 deplibs_check_method=$lt_deplibs_check_method
117768
117769 # Command to use when deplibs_check_method == "file_magic".
117770 file_magic_cmd=$lt_file_magic_cmd
117771
117772 # The archiver.
117773 AR=$lt_AR
117774 AR_FLAGS=$lt_AR_FLAGS
117775
117776 # A symbol stripping program.
117777 STRIP=$lt_STRIP
117778
117779 # Commands used to install an old-style archive.
117780 RANLIB=$lt_RANLIB
117781 old_postinstall_cmds=$lt_old_postinstall_cmds
117782 old_postuninstall_cmds=$lt_old_postuninstall_cmds
117783
117784 # A C compiler.
117785 LTCC=$lt_CC
117786
117787 # LTCC compiler flags.
117788 LTCFLAGS=$lt_CFLAGS
117789
117790 # Take the output of nm and produce a listing of raw symbols and C names.
117791 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
117792
117793 # Transform the output of nm in a proper C declaration.
117794 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
117795
117796 # Transform the output of nm in a C name address pair.
117797 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
117798
117799 # The name of the directory that contains temporary libtool files.
117800 objdir=$objdir
117801
117802 # Shell to use when invoking shell scripts.
117803 SHELL=$lt_SHELL
117804
117805 # An echo program that does not interpret backslashes.
117806 ECHO=$lt_ECHO
117807
117808 # Used to examine libraries when file_magic_cmd begins with "file".
117809 MAGIC_CMD=$MAGIC_CMD
117810
117811 # Must we lock files when doing compilation?
117812 need_locks=$lt_need_locks
117813
117814 # Old archive suffix (normally "a").
117815 libext=$libext
117816
117817 # Shared library suffix (normally ".so").
117818 shrext_cmds=$lt_shrext_cmds
117819
117820 # The commands to extract the exported symbol list from a shared archive.
117821 extract_expsyms_cmds=$lt_extract_expsyms_cmds
117822
117823 # Variables whose values should be saved in libtool wrapper scripts and
117824 # restored at link time.
117825 variables_saved_for_relink=$lt_variables_saved_for_relink
117826
117827 # Do we need the "lib" prefix for modules?
117828 need_lib_prefix=$need_lib_prefix
117829
117830 # Do we need a version for libraries?
117831 need_version=$need_version
117832
117833 # Library versioning type.
117834 version_type=$version_type
117835
117836 # Shared library runtime path variable.
117837 runpath_var=$runpath_var
117838
117839 # Shared library path variable.
117840 shlibpath_var=$shlibpath_var
117841
117842 # Is shlibpath searched before the hard-coded library search path?
117843 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
117844
117845 # Format of library name prefix.
117846 libname_spec=$lt_libname_spec
117847
117848 # List of archive names. First name is the real one, the rest are links.
117849 # The last name is the one that the linker finds with -lNAME
117850 library_names_spec=$lt_library_names_spec
117851
117852 # The coded name of the library, if different from the real name.
117853 soname_spec=$lt_soname_spec
117854
117855 # Command to use after installation of a shared archive.
117856 postinstall_cmds=$lt_postinstall_cmds
117857
117858 # Command to use after uninstallation of a shared archive.
117859 postuninstall_cmds=$lt_postuninstall_cmds
117860
117861 # Commands used to finish a libtool library installation in a directory.
117862 finish_cmds=$lt_finish_cmds
117863
117864 # As "finish_cmds", except a single script fragment to be evaled but
117865 # not shown.
117866 finish_eval=$lt_finish_eval
117867
117868 # Whether we should hardcode library paths into libraries.
117869 hardcode_into_libs=$hardcode_into_libs
117870
117871 # Compile-time system search path for libraries.
117872 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
117873
117874 # Run-time system search path for libraries.
117875 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
117876
117877 # Whether dlopen is supported.
117878 dlopen_support=$enable_dlopen
117879
117880 # Whether dlopen of programs is supported.
117881 dlopen_self=$enable_dlopen_self
117882
117883 # Whether dlopen of statically linked programs is supported.
117884 dlopen_self_static=$enable_dlopen_self_static
117885
117886 # Commands to strip libraries.
117887 old_striplib=$lt_old_striplib
117888 striplib=$lt_striplib
117889
117890
117891 # The linker used to build libraries.
117892 LD=$lt_LD
117893
117894 # Commands used to build an old-style archive.
117895 old_archive_cmds=$lt_old_archive_cmds
117896
117897 # A language specific compiler.
117898 CC=$lt_compiler
117899
117900 # Is the compiler the GNU compiler?
117901 with_gcc=$GCC
117902
117903 # Compiler flag to turn off builtin functions.
117904 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
117905
117906 # How to pass a linker flag through the compiler.
117907 wl=$lt_lt_prog_compiler_wl
117908
117909 # Additional compiler flags for building library objects.
117910 pic_flag=$lt_lt_prog_compiler_pic
117911
117912 # Compiler flag to prevent dynamic linking.
117913 link_static_flag=$lt_lt_prog_compiler_static
117914
117915 # Does compiler simultaneously support -c and -o options?
117916 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
117917
117918 # Whether or not to add -lc for building shared libraries.
117919 build_libtool_need_lc=$archive_cmds_need_lc
117920
117921 # Whether or not to disallow shared libs when runtime libs are static.
117922 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
117923
117924 # Compiler flag to allow reflexive dlopens.
117925 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
117926
117927 # Compiler flag to generate shared objects directly from archives.
117928 whole_archive_flag_spec=$lt_whole_archive_flag_spec
117929
117930 # Whether the compiler copes with passing no objects directly.
117931 compiler_needs_object=$lt_compiler_needs_object
117932
117933 # Create an old-style archive from a shared archive.
117934 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
117935
117936 # Create a temporary old-style archive to link instead of a shared archive.
117937 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
117938
117939 # Commands used to build a shared archive.
117940 archive_cmds=$lt_archive_cmds
117941 archive_expsym_cmds=$lt_archive_expsym_cmds
117942
117943 # Commands used to build a loadable module if different from building
117944 # a shared archive.
117945 module_cmds=$lt_module_cmds
117946 module_expsym_cmds=$lt_module_expsym_cmds
117947
117948 # Whether we are building with GNU ld or not.
117949 with_gnu_ld=$lt_with_gnu_ld
117950
117951 # Flag that allows shared libraries with undefined symbols to be built.
117952 allow_undefined_flag=$lt_allow_undefined_flag
117953
117954 # Flag that enforces no undefined symbols.
117955 no_undefined_flag=$lt_no_undefined_flag
117956
117957 # Flag to hardcode \$libdir into a binary during linking.
117958 # This must work even if \$libdir does not exist
117959 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
117960
117961 # If ld is used when linking, flag to hardcode \$libdir into a binary
117962 # during linking. This must work even if \$libdir does not exist.
117963 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
117964
117965 # Whether we need a single "-rpath" flag with a separated argument.
117966 hardcode_libdir_separator=$lt_hardcode_libdir_separator
117967
117968 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117969 # DIR into the resulting binary.
117970 hardcode_direct=$hardcode_direct
117971
117972 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117973 # DIR into the resulting binary and the resulting library dependency is
117974 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
117975 # library is relocated.
117976 hardcode_direct_absolute=$hardcode_direct_absolute
117977
117978 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
117979 # into the resulting binary.
117980 hardcode_minus_L=$hardcode_minus_L
117981
117982 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
117983 # into the resulting binary.
117984 hardcode_shlibpath_var=$hardcode_shlibpath_var
117985
117986 # Set to "yes" if building a shared library automatically hardcodes DIR
117987 # into the library and all subsequent libraries and executables linked
117988 # against it.
117989 hardcode_automatic=$hardcode_automatic
117990
117991 # Set to yes if linker adds runtime paths of dependent libraries
117992 # to runtime path list.
117993 inherit_rpath=$inherit_rpath
117994
117995 # Whether libtool must link a program against all its dependency libraries.
117996 link_all_deplibs=$link_all_deplibs
117997
117998 # Fix the shell variable \$srcfile for the compiler.
117999 fix_srcfile_path=$lt_fix_srcfile_path
118000
118001 # Set to "yes" if exported symbols are required.
118002 always_export_symbols=$always_export_symbols
118003
118004 # The commands to list exported symbols.
118005 export_symbols_cmds=$lt_export_symbols_cmds
118006
118007 # Symbols that should not be listed in the preloaded symbols.
118008 exclude_expsyms=$lt_exclude_expsyms
118009
118010 # Symbols that must always be exported.
118011 include_expsyms=$lt_include_expsyms
118012
118013 # Commands necessary for linking programs (against libraries) with templates.
118014 prelink_cmds=$lt_prelink_cmds
118015
118016 # Specify filename containing input files.
118017 file_list_spec=$lt_file_list_spec
118018
118019 # How to hardcode a shared library path into an executable.
118020 hardcode_action=$hardcode_action
118021
118022 # Dependencies to place before and after the objects being linked to
118023 # create a shared library.
118024 predep_objects=$lt_predep_objects
118025 postdep_objects=$lt_postdep_objects
118026 predeps=$lt_predeps
118027 postdeps=$lt_postdeps
118028
118029 # The library search path used internally by the compiler when linking
118030 # a shared library.
118031 compiler_lib_search_path=$lt_compiler_lib_search_path
118032
118033 # ### END LIBTOOL CONFIG
118034
118035 _LT_EOF
118036
118037 case $host_os in
118038 aix3*)
118039 cat <<\_LT_EOF >> "$cfgfile"
118040 # AIX sometimes has problems with the GCC collect2 program. For some
118041 # reason, if we set the COLLECT_NAMES environment variable, the problems
118042 # vanish in a puff of smoke.
118043 if test "X${COLLECT_NAMES+set}" != Xset; then
118044 COLLECT_NAMES=
118045 export COLLECT_NAMES
118046 fi
118047 _LT_EOF
118048 ;;
118049 esac
118050
118051
118052 ltmain="$ac_aux_dir/ltmain.sh"
118053
118054
118055 # We use sed instead of cat because bash on DJGPP gets confused if
118056 # if finds mixed CR/LF and LF-only lines. Since sed operates in
118057 # text mode, it properly converts lines to CR/LF. This bash problem
118058 # is reportedly fixed, but why not run on old versions too?
118059 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
118060 || (rm -f "$cfgfile"; exit 1)
118061
118062 case $xsi_shell in
118063 yes)
118064 cat << \_LT_EOF >> "$cfgfile"
118065 # func_dirname file append nondir_replacement
118066 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118067 # otherwise set result to NONDIR_REPLACEMENT.
118068 func_dirname ()
118069 {
118070 case ${1} in
118071 */*) func_dirname_result="${1%/*}${2}" ;;
118072 * ) func_dirname_result="${3}" ;;
118073 esac
118074 }
118075
118076 # func_basename file
118077 func_basename ()
118078 {
118079 func_basename_result="${1##*/}"
118080 }
118081
118082 # func_stripname prefix suffix name
118083 # strip PREFIX and SUFFIX off of NAME.
118084 # PREFIX and SUFFIX must not contain globbing or regex special
118085 # characters, hashes, percent signs, but SUFFIX may contain a leading
118086 # dot (in which case that matches only a dot).
118087 func_stripname ()
118088 {
118089 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
118090 # positional parameters, so assign one to ordinary parameter first.
118091 func_stripname_result=${3}
118092 func_stripname_result=${func_stripname_result#"${1}"}
118093 func_stripname_result=${func_stripname_result%"${2}"}
118094 }
118095
118096 # func_opt_split
118097 func_opt_split ()
118098 {
118099 func_opt_split_opt=${1%%=*}
118100 func_opt_split_arg=${1#*=}
118101 }
118102
118103 # func_lo2o object
118104 func_lo2o ()
118105 {
118106 case ${1} in
118107 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
118108 *) func_lo2o_result=${1} ;;
118109 esac
118110 }
118111 _LT_EOF
118112 ;;
118113 *) # Bourne compatible functions.
118114 cat << \_LT_EOF >> "$cfgfile"
118115 # func_dirname file append nondir_replacement
118116 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118117 # otherwise set result to NONDIR_REPLACEMENT.
118118 func_dirname ()
118119 {
118120 # Extract subdirectory from the argument.
118121 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
118122 if test "X$func_dirname_result" = "X${1}"; then
118123 func_dirname_result="${3}"
118124 else
118125 func_dirname_result="$func_dirname_result${2}"
118126 fi
118127 }
118128
118129 # func_basename file
118130 func_basename ()
118131 {
118132 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
118133 }
118134
118135 # func_stripname prefix suffix name
118136 # strip PREFIX and SUFFIX off of NAME.
118137 # PREFIX and SUFFIX must not contain globbing or regex special
118138 # characters, hashes, percent signs, but SUFFIX may contain a leading
118139 # dot (in which case that matches only a dot).
118140 # func_strip_suffix prefix name
118141 func_stripname ()
118142 {
118143 case ${2} in
118144 .*) func_stripname_result=`$ECHO "X${3}" \
118145 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
118146 *) func_stripname_result=`$ECHO "X${3}" \
118147 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
118148 esac
118149 }
118150
118151 # sed scripts:
118152 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
118153 my_sed_long_arg='1s/^-[^=]*=//'
118154
118155 # func_opt_split
118156 func_opt_split ()
118157 {
118158 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
118159 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
118160 }
118161
118162 # func_lo2o object
118163 func_lo2o ()
118164 {
118165 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
118166 }
118167 _LT_EOF
118168 esac
118169
118170 case $lt_shell_append in
118171 yes)
118172 cat << \_LT_EOF >> "$cfgfile"
118173
118174 # func_append var value
118175 # Append VALUE to the end of shell variable VAR.
118176 func_append ()
118177 {
118178 eval "$1+=\$2"
118179 }
118180 _LT_EOF
118181 ;;
118182 *)
118183 cat << \_LT_EOF >> "$cfgfile"
118184
118185 # func_append var value
118186 # Append VALUE to the end of shell variable VAR.
118187 func_append ()
118188 {
118189 eval "$1=\$$1\$2"
118190 }
118191 _LT_EOF
118192 ;;
118193 esac
118194
118195
118196 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
118197 || (rm -f "$cfgfile"; exit 1)
118198
118199 mv -f "$cfgfile" "$ofile" ||
118200 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
118201 chmod +x "$ofile"
118202
118203
118204 cat <<_LT_EOF >> "$ofile"
118205
118206 # ### BEGIN LIBTOOL TAG CONFIG: CXX
118207
118208 # The linker used to build libraries.
118209 LD=$lt_LD_CXX
118210
118211 # Commands used to build an old-style archive.
118212 old_archive_cmds=$lt_old_archive_cmds_CXX
118213
118214 # A language specific compiler.
118215 CC=$lt_compiler_CXX
118216
118217 # Is the compiler the GNU compiler?
118218 with_gcc=$GCC_CXX
118219
118220 # Compiler flag to turn off builtin functions.
118221 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
118222
118223 # How to pass a linker flag through the compiler.
118224 wl=$lt_lt_prog_compiler_wl_CXX
118225
118226 # Additional compiler flags for building library objects.
118227 pic_flag=$lt_lt_prog_compiler_pic_CXX
118228
118229 # Compiler flag to prevent dynamic linking.
118230 link_static_flag=$lt_lt_prog_compiler_static_CXX
118231
118232 # Does compiler simultaneously support -c and -o options?
118233 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
118234
118235 # Whether or not to add -lc for building shared libraries.
118236 build_libtool_need_lc=$archive_cmds_need_lc_CXX
118237
118238 # Whether or not to disallow shared libs when runtime libs are static.
118239 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
118240
118241 # Compiler flag to allow reflexive dlopens.
118242 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
118243
118244 # Compiler flag to generate shared objects directly from archives.
118245 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
118246
118247 # Whether the compiler copes with passing no objects directly.
118248 compiler_needs_object=$lt_compiler_needs_object_CXX
118249
118250 # Create an old-style archive from a shared archive.
118251 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
118252
118253 # Create a temporary old-style archive to link instead of a shared archive.
118254 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
118255
118256 # Commands used to build a shared archive.
118257 archive_cmds=$lt_archive_cmds_CXX
118258 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
118259
118260 # Commands used to build a loadable module if different from building
118261 # a shared archive.
118262 module_cmds=$lt_module_cmds_CXX
118263 module_expsym_cmds=$lt_module_expsym_cmds_CXX
118264
118265 # Whether we are building with GNU ld or not.
118266 with_gnu_ld=$lt_with_gnu_ld_CXX
118267
118268 # Flag that allows shared libraries with undefined symbols to be built.
118269 allow_undefined_flag=$lt_allow_undefined_flag_CXX
118270
118271 # Flag that enforces no undefined symbols.
118272 no_undefined_flag=$lt_no_undefined_flag_CXX
118273
118274 # Flag to hardcode \$libdir into a binary during linking.
118275 # This must work even if \$libdir does not exist
118276 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
118277
118278 # If ld is used when linking, flag to hardcode \$libdir into a binary
118279 # during linking. This must work even if \$libdir does not exist.
118280 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
118281
118282 # Whether we need a single "-rpath" flag with a separated argument.
118283 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
118284
118285 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118286 # DIR into the resulting binary.
118287 hardcode_direct=$hardcode_direct_CXX
118288
118289 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118290 # DIR into the resulting binary and the resulting library dependency is
118291 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118292 # library is relocated.
118293 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
118294
118295 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118296 # into the resulting binary.
118297 hardcode_minus_L=$hardcode_minus_L_CXX
118298
118299 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118300 # into the resulting binary.
118301 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
118302
118303 # Set to "yes" if building a shared library automatically hardcodes DIR
118304 # into the library and all subsequent libraries and executables linked
118305 # against it.
118306 hardcode_automatic=$hardcode_automatic_CXX
118307
118308 # Set to yes if linker adds runtime paths of dependent libraries
118309 # to runtime path list.
118310 inherit_rpath=$inherit_rpath_CXX
118311
118312 # Whether libtool must link a program against all its dependency libraries.
118313 link_all_deplibs=$link_all_deplibs_CXX
118314
118315 # Fix the shell variable \$srcfile for the compiler.
118316 fix_srcfile_path=$lt_fix_srcfile_path_CXX
118317
118318 # Set to "yes" if exported symbols are required.
118319 always_export_symbols=$always_export_symbols_CXX
118320
118321 # The commands to list exported symbols.
118322 export_symbols_cmds=$lt_export_symbols_cmds_CXX
118323
118324 # Symbols that should not be listed in the preloaded symbols.
118325 exclude_expsyms=$lt_exclude_expsyms_CXX
118326
118327 # Symbols that must always be exported.
118328 include_expsyms=$lt_include_expsyms_CXX
118329
118330 # Commands necessary for linking programs (against libraries) with templates.
118331 prelink_cmds=$lt_prelink_cmds_CXX
118332
118333 # Specify filename containing input files.
118334 file_list_spec=$lt_file_list_spec_CXX
118335
118336 # How to hardcode a shared library path into an executable.
118337 hardcode_action=$hardcode_action_CXX
118338
118339 # Dependencies to place before and after the objects being linked to
118340 # create a shared library.
118341 predep_objects=$lt_predep_objects_CXX
118342 postdep_objects=$lt_postdep_objects_CXX
118343 predeps=$lt_predeps_CXX
118344 postdeps=$lt_postdeps_CXX
118345
118346 # The library search path used internally by the compiler when linking
118347 # a shared library.
118348 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
118349
118350 # ### END LIBTOOL TAG CONFIG: CXX
118351 _LT_EOF
118352
118353 ;;
118354 default ) if test -n "$CONFIG_FILES"; then
118355 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
118356 # that multilib installs will end up installed in the correct place.
118357 # The testsuite needs it for multilib-aware ABI baseline files.
118358 # To work around this not being passed down from config-ml.in ->
118359 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
118360 # append it here. Only modify Makefiles that have just been created.
118361 #
118362 # Also, get rid of this simulated-VPATH thing that automake does.
118363 cat > vpsed << \_EOF
118364 s!`test -f '$<' || echo '$(srcdir)/'`!!
118365 _EOF
118366 for i in $SUBDIRS; do
118367 case $CONFIG_FILES in
118368 *${i}/Makefile*)
118369 #echo "Adding MULTISUBDIR to $i/Makefile"
118370 sed -f vpsed $i/Makefile > tmp
118371 grep '^MULTISUBDIR =' Makefile >> tmp
118372 mv tmp $i/Makefile
118373 ;;
118374 esac
118375 done
118376 rm vpsed
118377 fi
118378 (cd include && ${MAKE-make})
118379 ;;
118380 esac
118381 done
118382 _ACEOF
118383
118384 cat >>$CONFIG_STATUS <<\_ACEOF
118385
118386 { (exit 0); exit 0; }
118387 _ACEOF
118388 chmod +x $CONFIG_STATUS
118389 ac_clean_files=$ac_clean_files_save
118390
118391
118392 # configure is writing to config.log, and then calls config.status.
118393 # config.status does its own redirection, appending to config.log.
118394 # Unfortunately, on DOS this fails, as config.log is still kept open
118395 # by configure, so config.status won't be able to write to it; its
118396 # output is simply discarded. So we exec the FD to /dev/null,
118397 # effectively closing config.log, so it can be properly (re)opened and
118398 # appended to by config.status. When coming back to configure, we
118399 # need to make the FD available again.
118400 if test "$no_create" != yes; then
118401 ac_cs_success=:
118402 ac_config_status_args=
118403 test "$silent" = yes &&
118404 ac_config_status_args="$ac_config_status_args --quiet"
118405 exec 5>/dev/null
118406 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
118407 exec 5>>config.log
118408 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
118409 # would make configure fail if this is the last instruction.
118410 $ac_cs_success || { (exit 1); exit 1; }
118411 fi
118412
This page took 7.852388 seconds and 6 git commands to generate.