]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
backport: Support GNU/kOpenSolaris.
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS glibcxx_thread_h WERROR SECTION_FLAGS 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_LIBS SECTION_LDFLAGS OPT_LDFLAGS 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 ac_pwd=`pwd`
464
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
484
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
502
503 ac_prev=
504 for ac_option
505 do
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
509 ac_prev=
510 continue
511 fi
512
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514
515 # Accept the important Cygnus configure options, so we can diagnose typos.
516
517 case $ac_option in
518
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 ac_prev=bindir ;;
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522 bindir=$ac_optarg ;;
523
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
528
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
535
536 --config-cache | -C)
537 cache_file=config.cache ;;
538
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 ac_prev=datadir ;;
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 | --da=*)
543 datadir=$ac_optarg ;;
544
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
553
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 case $ac_option in
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 *) ac_optarg=yes ;;
564 esac
565 eval "enable_$ac_feature='$ac_optarg'" ;;
566
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
575
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
578 with_gas=yes ;;
579
580 -help | --help | --hel | --he | -h)
581 ac_init_help=long ;;
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
586
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
591
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
598
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 ac_prev=infodir ;;
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
603
604 -libdir | --libdir | --libdi | --libd)
605 ac_prev=libdir ;;
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
607 libdir=$ac_optarg ;;
608
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
615
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
624
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 ac_prev=mandir ;;
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628 mandir=$ac_optarg ;;
629
630 -nfp | --nfp | --nf)
631 # Obsolete; use --without-fp.
632 with_fp=no ;;
633
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
636 no_create=yes ;;
637
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640 no_recursion=yes ;;
641
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
650
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 ac_prev=prefix ;;
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654 prefix=$ac_optarg ;;
655
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
662
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
669
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
686
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
689 silent=yes ;;
690
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 ac_prev=sbindir ;;
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 | --sbi=* | --sb=*)
695 sbindir=$ac_optarg ;;
696
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
700 | --sha | --sh)
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 | --sha=* | --sh=*)
706 sharedstatedir=$ac_optarg ;;
707
708 -site | --site | --sit)
709 ac_prev=site ;;
710 -site=* | --site=* | --sit=*)
711 site=$ac_optarg ;;
712
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 ac_prev=srcdir ;;
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716 srcdir=$ac_optarg ;;
717
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
724
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
729
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
731 verbose=yes ;;
732
733 -version | --version | --versio | --versi | --vers | -V)
734 ac_init_version=: ;;
735
736 -with-* | --with-*)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 case $ac_option in
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 *) ac_optarg=yes ;;
746 esac
747 eval "with_$ac_package='$ac_optarg'" ;;
748
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
757
758 --x)
759 # Obsolete; use --with-x.
760 with_x=yes ;;
761
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
768
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
775
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
779 ;;
780
781 *=*)
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
789 export $ac_envvar ;;
790
791 *)
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797 ;;
798
799 esac
800 done
801
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
806 fi
807
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
810 do
811 eval ac_val=$`echo $ac_var`
812 case $ac_val in
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
816 esac
817 done
818
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
822 do
823 eval ac_val=$`echo $ac_var`
824 case $ac_val in
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
828 esac
829 done
830
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
837
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
845 cross_compiling=yes
846 fi
847 fi
848
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851
852 test "$silent" = yes && exec 6>/dev/null
853
854
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
870 s/.*/./; q'`
871 srcdir=$ac_confdir
872 if test ! -r $srcdir/$ac_unique_file; then
873 srcdir=..
874 fi
875 else
876 ac_srcdir_defaulted=no
877 fi
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
882 else
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
885 fi
886 fi
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
927
928 #
929 # Report the --help message.
930 #
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
934 cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936
937 Usage: $0 [OPTION]... [VAR=VALUE]...
938
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
941
942 Defaults for the options are specified in brackets.
943
944 Configuration:
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954
955 _ACEOF
956
957 cat <<_ACEOF
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
960 [$ac_default_prefix]
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
962 [PREFIX]
963
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
968
969 For better control, use the options below.
970
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
984 _ACEOF
985
986 cat <<\_ACEOF
987
988 Program names:
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992
993 System types:
994 --build=BUILD configure for building on BUILD [guessed]
995 --host=HOST cross-compile to build programs to run on HOST [BUILD]
996 --target=TARGET configure for building compilers for TARGET [HOST]
997 _ACEOF
998 fi
999
1000 if test -n "$ac_init_help"; then
1001 case $ac_init_help in
1002 short | recursive ) echo "Configuration of package-unused version-unused:";;
1003 esac
1004 cat <<\_ACEOF
1005
1006 Optional Features:
1007 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1008 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1009 --enable-multilib build many library versions (default)
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing) to the casual installer
1012 --enable-shared[=PKGS]
1013 build shared libraries [default=yes]
1014 --enable-static[=PKGS]
1015 build static libraries [default=yes]
1016 --enable-fast-install[=PKGS]
1017 optimize for fast installation [default=yes]
1018 --disable-libtool-lock avoid locking (might break parallel builds)
1019 --disable-hosted-libstdcxx
1020 only build freestanding C++ runtime support
1021 --enable-sjlj-exceptions
1022 force use of builtin_setjmp for exceptions
1023 [default=auto]
1024 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1025 [default=$is_hosted]
1026 --enable-cstdio=PACKAGE use target-specific I/O package
1027 [default=stdio]
1028 --enable-clocale[=MODEL]
1029 use MODEL for target locale package
1030 [default=auto]
1031 --enable-nls use Native Language Support (default)
1032 --enable-libstdcxx-allocator=KIND
1033 use KIND for target std::allocator base
1034 [default=auto]
1035 --enable-cheaders=KIND construct "C" headers for g++
1036 [default=$c_model]
1037 --enable-long-long enable template specializations for 'long long'
1038 [default=yes]
1039 --enable-wchar_t enable template specializations for 'wchar_t'
1040 [default=yes]
1041 --enable-c99 turns on ISO/IEC 9899:1999 support
1042 [default=yes]
1043 --enable-concept-checks use Boost-derived template checks [default=no]
1044 --enable-libstdcxx-debug-flags=FLAGS
1045 pass compiler FLAGS when building debug library
1046 [default="-g3 -O0"]
1047 --enable-libstdcxx-debug
1048 build extra debug library [default=no]
1049 --enable-cxx-flags=FLAGS
1050 pass compiler FLAGS when building library
1051 [default=]
1052 --enable-fully-dynamic-string
1053 do not put empty strings in per-process static
1054 memory [default=no]
1055 --enable-libstdcxx-time=KIND
1056 use KIND for check type [default=no]
1057 --enable-tls Use thread-local storage [default=yes]
1058 --disable-rpath do not hardcode runtime library paths
1059 --enable-linux-futex use the Linux futex system call
1060 [default=default]
1061 --enable-symvers=STYLE enables symbol versioning of the shared library
1062 [default=yes]
1063 --enable-visibility enables visibility safe usage [default=yes]
1064 --enable-version-specific-runtime-libs
1065 Specify that runtime libraries should be installed
1066 in a compiler-specific directory
1067
1068 Optional Packages:
1069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1071 --with-target-subdir=SUBDIR
1072 configuring in a subdirectory
1073 --with-cross-host=HOST configuring with a cross compiler
1074 --with-newlib assume newlib as a system C library
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1076 both]
1077 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1079 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1080 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1081 --with-system-libunwind use installed libunwind
1082 --with-gxx-include-dir=DIR
1083 installation directory for include files
1084
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CPP C preprocessor
1095 CXXCPP C++ preprocessor
1096
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1099
1100 _ACEOF
1101 fi
1102
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1105 ac_popdir=`pwd`
1106 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107 test -d $ac_dir || continue
1108 ac_builddir=.
1109
1110 if test "$ac_dir" != .; then
1111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115 ac_dir_suffix= ac_top_builddir=
1116 fi
1117
1118 case $srcdir in
1119 .) # No --srcdir option. We are building in place.
1120 ac_srcdir=.
1121 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir=.
1123 else
1124 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125 fi ;;
1126 [\\/]* | ?:[\\/]* ) # Absolute path.
1127 ac_srcdir=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir=$srcdir ;;
1129 *) # Relative path.
1130 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1133
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1138 *)
1139 case "$ac_dir" in
1140 .) ac_abs_builddir=`pwd`;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143 esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *)
1148 case ${ac_top_builddir}. in
1149 .) ac_abs_top_builddir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1156 *)
1157 case $ac_srcdir in
1158 .) ac_abs_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *)
1166 case $ac_top_srcdir in
1167 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170 esac;;
1171 esac
1172
1173 cd $ac_dir
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu; then
1176 echo
1177 $SHELL $ac_srcdir/configure.gnu --help=recursive
1178 elif test -f $ac_srcdir/configure; then
1179 echo
1180 $SHELL $ac_srcdir/configure --help=recursive
1181 elif test -f $ac_srcdir/configure.ac ||
1182 test -f $ac_srcdir/configure.in; then
1183 echo
1184 $ac_configure --help
1185 else
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187 fi
1188 cd $ac_popdir
1189 done
1190 fi
1191
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194 cat <<\_ACEOF
1195 package-unused configure version-unused
1196 generated by GNU Autoconf 2.59
1197
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202 exit 0
1203 fi
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1208
1209 It was created by package-unused $as_me version-unused, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1211
1212 $ $0 $@
1213
1214 _ACEOF
1215 {
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1220
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1237
1238 _ASUNAME
1239
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1242 do
1243 IFS=$as_save_IFS
1244 test -z "$as_dir" && as_dir=.
1245 echo "PATH: $as_dir"
1246 done
1247
1248 } >&5
1249
1250 cat >&5 <<_ACEOF
1251
1252
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1256
1257 _ACEOF
1258
1259
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1271 do
1272 for ac_arg
1273 do
1274 case $ac_arg in
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1278 continue ;;
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 esac
1282 case $ac_pass in
1283 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1284 2)
1285 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true; then
1287 ac_must_keep_next=false # Got value, back to normal.
1288 else
1289 case $ac_arg in
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 esac
1297 ;;
1298 -* ) ac_must_keep_next=true ;;
1299 esac
1300 fi
1301 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1303 ac_sep=" "
1304 ;;
1305 esac
1306 done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1310
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1318 {
1319 echo
1320
1321 cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326 echo
1327 # The following way of writing the cache mishandles newlines in values,
1328 {
1329 (set) 2>&1 |
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 *ac_space=\ *)
1332 sed -n \
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335 ;;
1336 *)
1337 sed -n \
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1339 ;;
1340 esac;
1341 }
1342 echo
1343
1344 cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_vars
1351 do
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1356
1357 if test -n "$ac_subst_files"; then
1358 cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363 echo
1364 for ac_var in $ac_subst_files
1365 do
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1368 done | sort
1369 echo
1370 fi
1371
1372 if test -s confdefs.h; then
1373 cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378 echo
1379 sed "/^$/d" confdefs.h | sort
1380 echo
1381 fi
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1385 } >&5
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 exit $exit_status
1389 ' 0
1390 for ac_signal in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1394
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1399
1400 # Predefined preprocessor variables.
1401
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1405
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1425
1426
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE; then
1431 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432 else
1433 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434 fi
1435 fi
1436 for ac_site_file in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1441 . "$ac_site_file"
1442 fi
1443 done
1444
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451 case $cache_file in
1452 [\\/]* | ?:[\\/]* ) . $cache_file;;
1453 *) . ./$cache_file;;
1454 esac
1455 fi
1456 else
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459 >$cache_file
1460 fi
1461
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468 eval ac_new_set=\$ac_env_${ac_var}_set
1469 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1472 set,)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,set)
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1480 ,);;
1481 *)
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 # differences in whitespace do not lead to failure.
1484 ac_old_val_w=`echo x $ac_old_val`
1485 ac_new_val_w=`echo x $ac_new_val`
1486 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 ac_cache_corrupted=:
1490 else
1491 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1492 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1493 eval $ac_var=\$ac_old_val
1494 fi
1495 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1496 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1497 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1498 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1499 fi;;
1500 esac
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1503 case $ac_new_val in
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1507 esac
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 esac
1512 fi
1513 done
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1517 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1520 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521 { (exit 1); exit 1; }; }
1522 fi
1523
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560 ac_config_headers="$ac_config_headers config.h"
1561
1562
1563 # This works around the fact that libtool configuration may change LD
1564 # for this particular configuration, but some shells, instead of
1565 # keeping the changes in LD private, export them just because LD is
1566 # exported. Only used at the end of this file.
1567 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1568
1569 # For libtool versioning info, format is CURRENT:REVISION:AGE
1570 libtool_VERSION=6:11:0
1571
1572
1573 # Find the rest of the source tree framework.
1574 # Default to --enable-multilib
1575 # Check whether --enable-multilib or --disable-multilib was given.
1576 if test "${enable_multilib+set}" = set; then
1577 enableval="$enable_multilib"
1578 case "$enableval" in
1579 yes) multilib=yes ;;
1580 no) multilib=no ;;
1581 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1582 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1583 { (exit 1); exit 1; }; } ;;
1584 esac
1585 else
1586 multilib=yes
1587 fi;
1588
1589 # We may get other options which we leave undocumented:
1590 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1591 # See config-ml.in if you want the gory details.
1592
1593 if test "$srcdir" = "."; then
1594 if test "$with_target_subdir" != "."; then
1595 multi_basedir="$srcdir/$with_multisrctop../.."
1596 else
1597 multi_basedir="$srcdir/$with_multisrctop.."
1598 fi
1599 else
1600 multi_basedir="$srcdir/.."
1601 fi
1602
1603
1604 # Even if the default multilib is not a cross compilation,
1605 # it may be that some of the other multilibs are.
1606 if test $cross_compiling = no && test $multilib = yes \
1607 && test "x${with_multisubdir}" != x ; then
1608 cross_compiling=maybe
1609 fi
1610
1611 ac_config_commands="$ac_config_commands default-1"
1612
1613
1614 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1615 #
1616 # You will slowly go insane if you do not grok the following fact: when
1617 # building v3 as part of the compiler, the top-level /target/ becomes the
1618 # library's /host/. configure then causes --target to default to --host,
1619 # exactly like any other package using autoconf. Therefore, 'target' and
1620 # 'host' will always be the same. This makes sense both for native and
1621 # cross compilers, just think about it for a little while. :-)
1622 #
1623 # Also, if v3 is being configured as part of a cross compiler, the top-level
1624 # configure script will pass the "real" host as $with_cross_host.
1625 #
1626 # Do not delete or change the following two lines. For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 ac_aux_dir=
1629 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1630 if test -f $ac_dir/install-sh; then
1631 ac_aux_dir=$ac_dir
1632 ac_install_sh="$ac_aux_dir/install-sh -c"
1633 break
1634 elif test -f $ac_dir/install.sh; then
1635 ac_aux_dir=$ac_dir
1636 ac_install_sh="$ac_aux_dir/install.sh -c"
1637 break
1638 elif test -f $ac_dir/shtool; then
1639 ac_aux_dir=$ac_dir
1640 ac_install_sh="$ac_aux_dir/shtool install -c"
1641 break
1642 fi
1643 done
1644 if test -z "$ac_aux_dir"; then
1645 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647 { (exit 1); exit 1; }; }
1648 fi
1649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1652
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4 >/dev/null 2>&1 ||
1655 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657 { (exit 1); exit 1; }; }
1658
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 ac_cv_build_alias=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666 ac_cv_build_alias=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670 { (exit 1); exit 1; }; }
1671 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1672 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674 { (exit 1); exit 1; }; }
1675
1676 fi
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1679 build=$ac_cv_build
1680 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1683
1684
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 else
1690 ac_cv_host_alias=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692 ac_cv_host_alias=$ac_cv_build_alias
1693 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1694 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696 { (exit 1); exit 1; }; }
1697
1698 fi
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1701 host=$ac_cv_host
1702 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1705
1706
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 ac_cv_target_alias=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714 ac_cv_target_alias=$ac_cv_host_alias
1715 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1719
1720 fi
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target=$ac_cv_target
1724 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1727
1728
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732 test "$program_prefix$program_suffix$program_transform_name" = \
1733 NONENONEs,x,x, &&
1734 program_prefix=${target_alias}-
1735 target_alias=${target_alias-$host_alias}
1736
1737 # Handy for debugging:
1738 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1739
1740 if test "$build" != "$host"; then
1741 # We are being configured with some form of cross compiler.
1742 GLIBCXX_IS_NATIVE=false
1743 case "$host","$target" in
1744 # Darwin crosses can use the host system's libraries and headers,
1745 # because of the fat library support. Of course, it must be the
1746 # same version of Darwin on both sides. Allow the user to
1747 # just say --target=foo-darwin without a version number to mean
1748 # "the version on this system".
1749 *-*-darwin*,*-*-darwin*)
1750 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1751 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1752 if test $hostos = $targetos -o $targetos = darwin ; then
1753 GLIBCXX_IS_NATIVE=true
1754 fi
1755 ;;
1756
1757 *)
1758
1759 ;;
1760 esac
1761 else
1762 GLIBCXX_IS_NATIVE=true
1763 fi
1764
1765 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1766 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1767 # 1.x: minimum required version
1768 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1769 # of other PACKAGE_* variables will, however, and there's nothing
1770 # we can do about that; they come from AC_INIT).
1771 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1772 # file in the top srcdir, etc, etc), so stop complaining.
1773 # no-dependencies: turns off auto dependency generation (just for now)
1774 # -Wall: turns on all automake warnings...
1775 # -Wno-portability: ...except this one, since GNU make is now required.
1776 am__api_version="1.9"
1777 # Find a good install program. We prefer a C program (faster),
1778 # so one script is as good as another. But avoid the broken or
1779 # incompatible versions:
1780 # SysV /etc/install, /usr/sbin/install
1781 # SunOS /usr/etc/install
1782 # IRIX /sbin/install
1783 # AIX /bin/install
1784 # AmigaOS /C/install, which installs bootblocks on floppy discs
1785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1788 # OS/2's system install, which has a completely different semantic
1789 # ./install, which can be erroneously created by make from ./install.sh.
1790 # Reject install programs that cannot install multiple files.
1791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1793 if test -z "$INSTALL"; then
1794 if test "${ac_cv_path_install+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1799 do
1800 IFS=$as_save_IFS
1801 test -z "$as_dir" && as_dir=.
1802 # Account for people who put trailing slashes in PATH elements.
1803 case $as_dir/ in
1804 ./ | .// | /cC/* | \
1805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807 /usr/ucb/* ) ;;
1808 *)
1809 # OSF1 and SCO ODT 3.0 have their own names for install.
1810 # Don't use installbsd from OSF since it installs stuff as root
1811 # by default.
1812 for ac_prog in ginstall scoinst install; do
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815 if test $ac_prog = install &&
1816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # AIX install. It has an incompatible calling convention.
1818 :
1819 elif test $ac_prog = install &&
1820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821 # program-specific install script used by HP pwplus--don't use.
1822 :
1823 else
1824 rm -rf conftest.one conftest.two conftest.dir
1825 echo one > conftest.one
1826 echo two > conftest.two
1827 mkdir conftest.dir
1828 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1829 test -s conftest.one && test -s conftest.two &&
1830 test -s conftest.dir/conftest.one &&
1831 test -s conftest.dir/conftest.two
1832 then
1833 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834 break 3
1835 fi
1836 fi
1837 fi
1838 done
1839 done
1840 ;;
1841 esac
1842 done
1843
1844 rm -rf conftest.one conftest.two conftest.dir
1845
1846 fi
1847 if test "${ac_cv_path_install+set}" = set; then
1848 INSTALL=$ac_cv_path_install
1849 else
1850 # As a last resort, use the slow shell script. Don't cache a
1851 # value for INSTALL within a source directory, because that will
1852 # break other packages using the cache if that directory is
1853 # removed, or if the value is a relative name.
1854 INSTALL=$ac_install_sh
1855 fi
1856 fi
1857 echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 echo "${ECHO_T}$INSTALL" >&6
1859
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1863
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1865
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1867
1868 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments. Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880 if test "$*" = "X"; then
1881 # -L didn't work.
1882 set X `ls -t $srcdir/configure conftest.file`
1883 fi
1884 rm -f conftest.file
1885 if test "$*" != "X $srcdir/configure conftest.file" \
1886 && test "$*" != "X conftest.file $srcdir/configure"; then
1887
1888 # If neither matched, then we have a broken ls. This can happen
1889 # if, for instance, CONFIG_SHELL is bash and it inherits a
1890 # broken ls alias from the environment. This has actually
1891 # happened. Such a system could not be considered "sane".
1892 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1893 alias in your environment" >&5
1894 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&2;}
1896 { (exit 1); exit 1; }; }
1897 fi
1898
1899 test "$2" = conftest.file
1900 )
1901 then
1902 # Ok.
1903 :
1904 else
1905 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909 { (exit 1); exit 1; }; }
1910 fi
1911 echo "$as_me:$LINENO: result: yes" >&5
1912 echo "${ECHO_T}yes" >&6
1913 test "$program_prefix" != NONE &&
1914 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1918 # Double any \ or $. echo might interpret backslashes.
1919 # By default was `s,x,x', remove it if useless.
1920 cat <<\_ACEOF >conftest.sed
1921 s/[\\$]/&&/g;s/;s,x,x,$//
1922 _ACEOF
1923 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924 rm conftest.sed
1925
1926 # expand $ac_aux_dir to an absolute path
1927 am_aux_dir=`cd $ac_aux_dir && pwd`
1928
1929 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930 # Use eval to expand $SHELL
1931 if eval "$MISSING --run true"; then
1932 am_missing_run="$MISSING --run "
1933 else
1934 am_missing_run=
1935 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1937 fi
1938
1939 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1940 # We used to keeping the `.' as first argument, in order to
1941 # allow $(mkdir_p) to be used without argument. As in
1942 # $(mkdir_p) $(somedir)
1943 # where $(somedir) is conditionally defined. However this is wrong
1944 # for two reasons:
1945 # 1. if the package is installed by a user who cannot write `.'
1946 # make install will fail,
1947 # 2. the above comment should most certainly read
1948 # $(mkdir_p) $(DESTDIR)$(somedir)
1949 # so it does not work when $(somedir) is undefined and
1950 # $(DESTDIR) is not.
1951 # To support the latter case, we have to write
1952 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1953 # so the `.' trick is pointless.
1954 mkdir_p='mkdir -p --'
1955 else
1956 # On NextStep and OpenStep, the `mkdir' command does not
1957 # recognize any option. It will interpret all options as
1958 # directories to create, and then abort because `.' already
1959 # exists.
1960 for d in ./-p ./--version;
1961 do
1962 test -d $d && rmdir $d
1963 done
1964 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1965 if test -f "$ac_aux_dir/mkinstalldirs"; then
1966 mkdir_p='$(mkinstalldirs)'
1967 else
1968 mkdir_p='$(install_sh) -d'
1969 fi
1970 fi
1971
1972 for ac_prog in gawk mawk nawk awk
1973 do
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_AWK+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 if test -n "$AWK"; then
1982 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1986 do
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_AWK="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1994 fi
1995 done
1996 done
1997
1998 fi
1999 fi
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002 echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6
2004 else
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2007 fi
2008
2009 test -n "$AWK" && break
2010 done
2011
2012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018 cat >conftest.make <<\_ACEOF
2019 all:
2020 @echo 'ac_maketemp="$(MAKE)"'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2024 if test -n "$ac_maketemp"; then
2025 eval ac_cv_prog_make_${ac_make}_set=yes
2026 else
2027 eval ac_cv_prog_make_${ac_make}_set=no
2028 fi
2029 rm -f conftest.make
2030 fi
2031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2032 echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6
2034 SET_MAKE=
2035 else
2036 echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2038 SET_MAKE="MAKE=${MAKE-make}"
2039 fi
2040
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2044 am__leading_dot=.
2045 else
2046 am__leading_dot=_
2047 fi
2048 rmdir .tst 2>/dev/null
2049
2050 # test to see if srcdir already configured
2051 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2052 test -f $srcdir/config.status; then
2053 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055 { (exit 1); exit 1; }; }
2056 fi
2057
2058 # test whether we have cygpath
2059 if test -z "$CYGPATH_W"; then
2060 if (cygpath --version) >/dev/null 2>/dev/null; then
2061 CYGPATH_W='cygpath -w'
2062 else
2063 CYGPATH_W=echo
2064 fi
2065 fi
2066
2067
2068 # Define the identity of the package.
2069 PACKAGE='libstdc++'
2070 VERSION='version-unused'
2071
2072
2073 # Some tools Automake needs.
2074
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2076
2077
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2079
2080
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2082
2083
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2085
2086
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2088
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2090
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'. However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096 if test -n "$ac_tool_prefix"; then
2097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104 if test -n "$STRIP"; then
2105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2117 fi
2118 done
2119 done
2120
2121 fi
2122 fi
2123 STRIP=$ac_cv_prog_STRIP
2124 if test -n "$STRIP"; then
2125 echo "$as_me:$LINENO: result: $STRIP" >&5
2126 echo "${ECHO_T}$STRIP" >&6
2127 else
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2130 fi
2131
2132 fi
2133 if test -z "$ac_cv_prog_STRIP"; then
2134 ac_ct_STRIP=$STRIP
2135 # Extract the first word of "strip", so it can be a program name with args.
2136 set dummy strip; ac_word=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142 if test -n "$ac_ct_STRIP"; then
2143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2147 do
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_STRIP="strip"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2155 fi
2156 done
2157 done
2158
2159 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2160 fi
2161 fi
2162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163 if test -n "$ac_ct_STRIP"; then
2164 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165 echo "${ECHO_T}$ac_ct_STRIP" >&6
2166 else
2167 echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2169 fi
2170
2171 STRIP=$ac_ct_STRIP
2172 else
2173 STRIP="$ac_cv_prog_STRIP"
2174 fi
2175
2176 fi
2177 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2178
2179 # We need awk for the "check" target. The system "awk" is bad on
2180 # some platforms.
2181 # Always define AMTAR for backward compatibility.
2182
2183 AMTAR=${AMTAR-"${am_missing_run}tar"}
2184
2185 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2197 # up critical shell variables.
2198
2199 ac_ext=c
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2206 # On Suns, sometimes $CPP names a directory.
2207 if test -n "$CPP" && test -d "$CPP"; then
2208 CPP=
2209 fi
2210 if test -z "$CPP"; then
2211 if test "${ac_cv_prog_CPP+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214 # Double quotes because CPP needs to be expanded
2215 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2216 do
2217 ac_preproc_ok=false
2218 for ac_c_preproc_warn_flag in '' yes
2219 do
2220 # Use a header file that comes with gcc, so configuring glibc
2221 # with a fresh cross-compiler works.
2222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2223 # <limits.h> exists even on freestanding compilers.
2224 # On the NeXT, cc -E runs the code through the compiler's parser,
2225 # not just through cpp. "Syntax error" is here to catch this case.
2226 cat >conftest.$ac_ext <<_ACEOF
2227 /* confdefs.h. */
2228 _ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2232 #ifdef __STDC__
2233 # include <limits.h>
2234 #else
2235 # include <assert.h>
2236 #endif
2237 Syntax error
2238 _ACEOF
2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241 ac_status=$?
2242 grep -v '^ *+' conftest.er1 >conftest.err
2243 rm -f conftest.er1
2244 cat conftest.err >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); } >/dev/null; then
2247 if test -s conftest.err; then
2248 ac_cpp_err=$ac_c_preproc_warn_flag
2249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2250 else
2251 ac_cpp_err=
2252 fi
2253 else
2254 ac_cpp_err=yes
2255 fi
2256 if test -z "$ac_cpp_err"; then
2257 :
2258 else
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2261
2262 # Broken: fails on valid input.
2263 continue
2264 fi
2265 rm -f conftest.err conftest.$ac_ext
2266
2267 # OK, works on sane cases. Now check whether non-existent headers
2268 # can be detected and how.
2269 cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h. */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2275 #include <ac_nonexistent.h>
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 ac_status=$?
2280 grep -v '^ *+' conftest.er1 >conftest.err
2281 rm -f conftest.er1
2282 cat conftest.err >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev/null; then
2285 if test -s conftest.err; then
2286 ac_cpp_err=$ac_c_preproc_warn_flag
2287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288 else
2289 ac_cpp_err=
2290 fi
2291 else
2292 ac_cpp_err=yes
2293 fi
2294 if test -z "$ac_cpp_err"; then
2295 # Broken: success on invalid input.
2296 continue
2297 else
2298 echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2300
2301 # Passes both tests.
2302 ac_preproc_ok=:
2303 break
2304 fi
2305 rm -f conftest.err conftest.$ac_ext
2306
2307 done
2308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2309 rm -f conftest.err conftest.$ac_ext
2310 if $ac_preproc_ok; then
2311 break
2312 fi
2313
2314 done
2315 ac_cv_prog_CPP=$CPP
2316
2317 fi
2318 CPP=$ac_cv_prog_CPP
2319 else
2320 ac_cv_prog_CPP=$CPP
2321 fi
2322 echo "$as_me:$LINENO: result: $CPP" >&5
2323 echo "${ECHO_T}$CPP" >&6
2324 ac_preproc_ok=false
2325 for ac_c_preproc_warn_flag in '' yes
2326 do
2327 # Use a header file that comes with gcc, so configuring glibc
2328 # with a fresh cross-compiler works.
2329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2330 # <limits.h> exists even on freestanding compilers.
2331 # On the NeXT, cc -E runs the code through the compiler's parser,
2332 # not just through cpp. "Syntax error" is here to catch this case.
2333 cat >conftest.$ac_ext <<_ACEOF
2334 /* confdefs.h. */
2335 _ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2339 #ifdef __STDC__
2340 # include <limits.h>
2341 #else
2342 # include <assert.h>
2343 #endif
2344 Syntax error
2345 _ACEOF
2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2348 ac_status=$?
2349 grep -v '^ *+' conftest.er1 >conftest.err
2350 rm -f conftest.er1
2351 cat conftest.err >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } >/dev/null; then
2354 if test -s conftest.err; then
2355 ac_cpp_err=$ac_c_preproc_warn_flag
2356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2357 else
2358 ac_cpp_err=
2359 fi
2360 else
2361 ac_cpp_err=yes
2362 fi
2363 if test -z "$ac_cpp_err"; then
2364 :
2365 else
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2368
2369 # Broken: fails on valid input.
2370 continue
2371 fi
2372 rm -f conftest.err conftest.$ac_ext
2373
2374 # OK, works on sane cases. Now check whether non-existent headers
2375 # can be detected and how.
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2382 #include <ac_nonexistent.h>
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386 ac_status=$?
2387 grep -v '^ *+' conftest.er1 >conftest.err
2388 rm -f conftest.er1
2389 cat conftest.err >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } >/dev/null; then
2392 if test -s conftest.err; then
2393 ac_cpp_err=$ac_c_preproc_warn_flag
2394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395 else
2396 ac_cpp_err=
2397 fi
2398 else
2399 ac_cpp_err=yes
2400 fi
2401 if test -z "$ac_cpp_err"; then
2402 # Broken: success on invalid input.
2403 continue
2404 else
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408 # Passes both tests.
2409 ac_preproc_ok=:
2410 break
2411 fi
2412 rm -f conftest.err conftest.$ac_ext
2413
2414 done
2415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2416 rm -f conftest.err conftest.$ac_ext
2417 if $ac_preproc_ok; then
2418 :
2419 else
2420 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }; }
2427 fi
2428
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434
2435
2436 echo "$as_me:$LINENO: checking for egrep" >&5
2437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2438 if test "${ac_cv_prog_egrep+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2442 then ac_cv_prog_egrep='grep -E'
2443 else ac_cv_prog_egrep='egrep'
2444 fi
2445 fi
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2447 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2448 EGREP=$ac_cv_prog_egrep
2449
2450
2451
2452 # Keep these sync'd with the list in Makefile.am. The first provides an
2453 # expandable list at autoconf time; the second provides an expandable list
2454 # (i.e., shell variable) at configure time.
2455
2456 SUBDIRS='include libsupc++ src doc po testsuite'
2457
2458 # These need to be absolute paths, yet at the same time need to
2459 # canonicalize only relative paths, because then amd will not unmount
2460 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2461 glibcxx_builddir=`${PWDCMD-pwd}`
2462 case $srcdir in
2463 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2464 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2465 esac
2466 toplevel_srcdir=${glibcxx_srcdir}/..
2467
2468
2469
2470
2471 # We use these options to decide which functions to include. They are
2472 # set from the top level.
2473
2474 # Check whether --with-target-subdir or --without-target-subdir was given.
2475 if test "${with_target_subdir+set}" = set; then
2476 withval="$with_target_subdir"
2477
2478 fi;
2479
2480
2481 # Check whether --with-cross-host or --without-cross-host was given.
2482 if test "${with_cross_host+set}" = set; then
2483 withval="$with_cross_host"
2484
2485 fi;
2486
2487
2488 # Check whether --with-newlib or --without-newlib was given.
2489 if test "${with_newlib+set}" = set; then
2490 withval="$with_newlib"
2491
2492 fi;
2493
2494 # We're almost certainly being configured before anything else which uses
2495 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2496 # we not cache the value of CXX that we "discover" here, because it's set
2497 # to something unique for us and libjava. Other target libraries need to
2498 # find CXX for themselves. We yank the rug out from under the normal AC_*
2499 # process by sneakily renaming the cache variable. This also lets us debug
2500 # the value of "our" CXX in postmortems.
2501 #
2502 # We must also force CXX to /not/ be a precious variable, otherwise the
2503 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2504 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2505 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2506 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2507 #
2508 # -fno-builtin must be present here so that a non-conflicting form of
2509 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2510
2511
2512
2513
2514 save_CXXFLAGS="$CXXFLAGS"
2515 CXXFLAGS="$CXXFLAGS -fno-builtin"
2516 ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2534 do
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2542 fi
2543 done
2544 done
2545
2546 fi
2547 fi
2548 CC=$ac_cv_prog_CC
2549 if test -n "$CC"; then
2550 echo "$as_me:$LINENO: result: $CC" >&5
2551 echo "${ECHO_T}$CC" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2555 fi
2556
2557 fi
2558 if test -z "$ac_cv_prog_CC"; then
2559 ac_ct_CC=$CC
2560 # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2572 do
2573 IFS=$as_save_IFS
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_ac_ct_CC="gcc"
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 break 2
2580 fi
2581 done
2582 done
2583
2584 fi
2585 fi
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 echo "${ECHO_T}$ac_ct_CC" >&6
2590 else
2591 echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2593 fi
2594
2595 CC=$ac_ct_CC
2596 else
2597 CC="$ac_cv_prog_CC"
2598 fi
2599
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2614 do
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_CC="${ac_tool_prefix}cc"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2622 fi
2623 done
2624 done
2625
2626 fi
2627 fi
2628 CC=$ac_cv_prog_CC
2629 if test -n "$CC"; then
2630 echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6
2632 else
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2635 fi
2636
2637 fi
2638 if test -z "$ac_cv_prog_CC"; then
2639 ac_ct_CC=$CC
2640 # Extract the first word of "cc", so it can be a program name with args.
2641 set dummy cc; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647 if test -n "$ac_ct_CC"; then
2648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2652 do
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_ac_ct_CC="cc"
2658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 break 2
2660 fi
2661 done
2662 done
2663
2664 fi
2665 fi
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 echo "${ECHO_T}$ac_ct_CC" >&6
2670 else
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2673 fi
2674
2675 CC=$ac_ct_CC
2676 else
2677 CC="$ac_cv_prog_CC"
2678 fi
2679
2680 fi
2681 if test -z "$CC"; then
2682 # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692 ac_prog_rejected=no
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701 ac_prog_rejected=yes
2702 continue
2703 fi
2704 ac_cv_prog_CC="cc"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 break 2
2707 fi
2708 done
2709 done
2710
2711 if test $ac_prog_rejected = yes; then
2712 # We found a bogon in the path, so make sure we never use it.
2713 set dummy $ac_cv_prog_CC
2714 shift
2715 if test $# != 0; then
2716 # We chose a different compiler from the bogus one.
2717 # However, it has the same basename, so the bogon will be chosen
2718 # first if we set CC to just the basename; use the full file name.
2719 shift
2720 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2721 fi
2722 fi
2723 fi
2724 fi
2725 CC=$ac_cv_prog_CC
2726 if test -n "$CC"; then
2727 echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6
2729 else
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2732 fi
2733
2734 fi
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in cl
2738 do
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2751 do
2752 IFS=$as_save_IFS
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 break 2
2759 fi
2760 done
2761 done
2762
2763 fi
2764 fi
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767 echo "$as_me:$LINENO: result: $CC" >&5
2768 echo "${ECHO_T}$CC" >&6
2769 else
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2772 fi
2773
2774 test -n "$CC" && break
2775 done
2776 fi
2777 if test -z "$CC"; then
2778 ac_ct_CC=$CC
2779 for ac_prog in cl
2780 do
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else
2788 if test -n "$ac_ct_CC"; then
2789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2793 do
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_ac_ct_CC="$ac_prog"
2799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 break 2
2801 fi
2802 done
2803 done
2804
2805 fi
2806 fi
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6
2811 else
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2814 fi
2815
2816 test -n "$ac_ct_CC" && break
2817 done
2818
2819 CC=$ac_ct_CC
2820 fi
2821
2822 fi
2823
2824
2825 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }; }
2832
2833 # Provide some information about the compiler.
2834 echo "$as_me:$LINENO:" \
2835 "checking for C compiler version" >&5
2836 ac_compiler=`set X $ac_compile; echo $2`
2837 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2838 (eval $ac_compiler --version </dev/null >&5) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2843 (eval $ac_compiler -v </dev/null >&5) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2848 (eval $ac_compiler -V </dev/null >&5) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }
2852
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h. */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2859
2860 int
2861 main ()
2862 {
2863
2864 ;
2865 return 0;
2866 }
2867 _ACEOF
2868 # FIXME: Cleanup?
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870 (eval $ac_link) 2>&5
2871 ac_status=$?
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; then
2874 gcc_no_link=no
2875 else
2876 gcc_no_link=yes
2877 fi
2878
2879 if test x$gcc_no_link = xyes; then
2880 # Setting cross_compile will disable run tests; it will
2881 # also disable AC_CHECK_FILE but that's generally
2882 # correct if we can't link.
2883 cross_compiling=yes
2884 EXEEXT=
2885 else
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892
2893 int
2894 main ()
2895 {
2896
2897 ;
2898 return 0;
2899 }
2900 _ACEOF
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2905 # of exeext.
2906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2908 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2910 (eval $ac_link_default) 2>&5
2911 ac_status=$?
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # Find the output, starting from the most likely. This scheme is
2915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2916 # resort.
2917
2918 # Be careful to initialize this variable, since it used to be cached.
2919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2920 ac_cv_exeext=
2921 # b.out is created by i960 compilers.
2922 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2923 do
2924 test -f "$ac_file" || continue
2925 case $ac_file in
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2927 ;;
2928 conftest.$ac_ext )
2929 # This is the source file.
2930 ;;
2931 [ab].out )
2932 # We found the default executable, but exeext='' is most
2933 # certainly right.
2934 break;;
2935 *.* )
2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937 # FIXME: I believe we export ac_cv_exeext for Libtool,
2938 # but it would be cool to find out if it's true. Does anybody
2939 # maintain Libtool? --akim.
2940 export ac_cv_exeext
2941 break;;
2942 * )
2943 break;;
2944 esac
2945 done
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2949
2950 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&2;}
2956 { (exit 77); exit 77; }; }; }
2957 fi
2958
2959 ac_exeext=$ac_cv_exeext
2960 echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6
2962
2963 # Check the compiler produces executables we can run. If not, either
2964 # the compiler is broken, or we cross compile.
2965 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970 if { ac_try='./$ac_file'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 (eval $ac_try) 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2976 cross_compiling=no
2977 else
2978 if test "$cross_compiling" = maybe; then
2979 cross_compiling=yes
2980 else
2981 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot run C compiled programs.
2987 If you meant to cross compile, use \`--host'.
2988 See \`config.log' for more details." >&2;}
2989 { (exit 1); exit 1; }; }; }
2990 fi
2991 fi
2992 fi
2993 echo "$as_me:$LINENO: result: yes" >&5
2994 echo "${ECHO_T}yes" >&6
2995
2996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 # Check the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3003 echo "${ECHO_T}$cross_compiling" >&6
3004
3005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008 (eval $ac_link) 2>&5
3009 ac_status=$?
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 # `rm'.
3016 for ac_file in conftest.exe conftest conftest.*; do
3017 test -f "$ac_file" || continue
3018 case $ac_file in
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 export ac_cv_exeext
3022 break;;
3023 * ) break;;
3024 esac
3025 done
3026 else
3027 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3032 See \`config.log' for more details." >&2;}
3033 { (exit 1); exit 1; }; }; }
3034 fi
3035
3036 rm -f conftest$ac_cv_exeext
3037 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038 echo "${ECHO_T}$ac_cv_exeext" >&6
3039
3040 rm -f conftest.$ac_ext
3041 EXEEXT=$ac_cv_exeext
3042 ac_exeext=$EXEEXT
3043 fi
3044 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3046 if test "${ac_cv_objext+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049 cat >conftest.$ac_ext <<_ACEOF
3050 /* confdefs.h. */
3051 _ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3055
3056 int
3057 main ()
3058 {
3059
3060 ;
3061 return 0;
3062 }
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>&5
3067 ac_status=$?
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; then
3070 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3071 case $ac_file in
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3074 break;;
3075 esac
3076 done
3077 else
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }; }
3088 fi
3089
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3091 fi
3092 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3093 echo "${ECHO_T}$ac_cv_objext" >&6
3094 OBJEXT=$ac_cv_objext
3095 ac_objext=$OBJEXT
3096 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3097 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
3101 cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h. */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3107
3108 int
3109 main ()
3110 {
3111 #ifndef __GNUC__
3112 choke me
3113 #endif
3114
3115 ;
3116 return 0;
3117 }
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121 (eval $ac_compile) 2>conftest.er1
3122 ac_status=$?
3123 grep -v '^ *+' conftest.er1 >conftest.err
3124 rm -f conftest.er1
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -z "$ac_c_werror_flag"
3129 || test ! -s conftest.err'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 (eval $ac_try) 2>&5
3132 ac_status=$?
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; } &&
3135 { ac_try='test -s conftest.$ac_objext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 (eval $ac_try) 2>&5
3138 ac_status=$?
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3141 ac_compiler_gnu=yes
3142 else
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3145
3146 ac_compiler_gnu=no
3147 fi
3148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3150
3151 fi
3152 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 CFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cc_g+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163 cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h. */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3169
3170 int
3171 main ()
3172 {
3173
3174 ;
3175 return 0;
3176 }
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3181 ac_status=$?
3182 grep -v '^ *+' conftest.er1 >conftest.err
3183 rm -f conftest.er1
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -z "$ac_c_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 (eval $ac_try) 2>&5
3191 ac_status=$?
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5
3197 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3200 ac_cv_prog_cc_g=yes
3201 else
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3204
3205 ac_cv_prog_cc_g=no
3206 fi
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3208 fi
3209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3215 CFLAGS="-g -O2"
3216 else
3217 CFLAGS="-g"
3218 fi
3219 else
3220 if test "$GCC" = yes; then
3221 CFLAGS="-O2"
3222 else
3223 CFLAGS=
3224 fi
3225 fi
3226 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3227 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3228 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 ac_cv_prog_cc_stdc=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h. */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247 char **p;
3248 int i;
3249 {
3250 return p[i];
3251 }
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3253 {
3254 char *s;
3255 va_list v;
3256 va_start (v,p);
3257 s = g (p, va_arg (v,int));
3258 va_end (v);
3259 return s;
3260 }
3261
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3263 function prototypes and stuff, but not '\xHH' hex character constants.
3264 These don't provoke an error unfortunately, instead are silently treated
3265 as 'x'. The following induces an error, until -std1 is added to get
3266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3267 array size at least. It's necessary to write '\x00'==0 to get something
3268 that's true only with -std1. */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 int argc;
3276 char **argv;
3277 int
3278 main ()
3279 {
3280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3281 ;
3282 return 0;
3283 }
3284 _ACEOF
3285 # Don't try gcc -ansi; that turns off useful extensions and
3286 # breaks some systems' header files.
3287 # AIX -qlanglvl=ansi
3288 # Ultrix and OSF/1 -std1
3289 # HP-UX 10.20 and later -Ae
3290 # HP-UX older versions -Aa -D_HPUX_SOURCE
3291 # SVR4 -Xc -D__EXTENSIONS__
3292 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3293 do
3294 CC="$ac_save_CC $ac_arg"
3295 rm -f conftest.$ac_objext
3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297 (eval $ac_compile) 2>conftest.er1
3298 ac_status=$?
3299 grep -v '^ *+' conftest.er1 >conftest.err
3300 rm -f conftest.er1
3301 cat conftest.err >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } &&
3304 { ac_try='test -z "$ac_c_werror_flag"
3305 || test ! -s conftest.err'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 (eval $ac_try) 2>&5
3308 ac_status=$?
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; } &&
3311 { ac_try='test -s conftest.$ac_objext'
3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 (eval $ac_try) 2>&5
3314 ac_status=$?
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; }; then
3317 ac_cv_prog_cc_stdc=$ac_arg
3318 break
3319 else
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3322
3323 fi
3324 rm -f conftest.err conftest.$ac_objext
3325 done
3326 rm -f conftest.$ac_ext conftest.$ac_objext
3327 CC=$ac_save_CC
3328
3329 fi
3330
3331 case "x$ac_cv_prog_cc_stdc" in
3332 x|xno)
3333 echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6 ;;
3335 *)
3336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3338 CC="$CC $ac_cv_prog_cc_stdc" ;;
3339 esac
3340
3341 # Some people use a C++ compiler to compile C. Since we use `exit',
3342 # in C++ we need to declare it. In case someone uses the same compiler
3343 # for both compiling C and C++ we need to have the C++ compiler decide
3344 # the declaration of exit, since it's the most demanding environment.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #ifndef __cplusplus
3347 choke me
3348 #endif
3349 _ACEOF
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352 (eval $ac_compile) 2>conftest.er1
3353 ac_status=$?
3354 grep -v '^ *+' conftest.er1 >conftest.err
3355 rm -f conftest.er1
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } &&
3359 { ac_try='test -z "$ac_c_werror_flag"
3360 || test ! -s conftest.err'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 (eval $ac_try) 2>&5
3363 ac_status=$?
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; } &&
3366 { ac_try='test -s conftest.$ac_objext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 (eval $ac_try) 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3372 for ac_declaration in \
3373 '' \
3374 'extern "C" void std::exit (int) throw (); using std::exit;' \
3375 'extern "C" void std::exit (int); using std::exit;' \
3376 'extern "C" void exit (int) throw ();' \
3377 'extern "C" void exit (int);' \
3378 'void exit (int);'
3379 do
3380 cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h. */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3386 $ac_declaration
3387 #include <stdlib.h>
3388 int
3389 main ()
3390 {
3391 exit (42);
3392 ;
3393 return 0;
3394 }
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } &&
3405 { ac_try='test -z "$ac_c_werror_flag"
3406 || test ! -s conftest.err'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 (eval $ac_try) 2>&5
3409 ac_status=$?
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; } &&
3412 { ac_try='test -s conftest.$ac_objext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 (eval $ac_try) 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3418 :
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3422
3423 continue
3424 fi
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 cat >conftest.$ac_ext <<_ACEOF
3427 /* confdefs.h. */
3428 _ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3432 $ac_declaration
3433 int
3434 main ()
3435 {
3436 exit (42);
3437 ;
3438 return 0;
3439 }
3440 _ACEOF
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3444 ac_status=$?
3445 grep -v '^ *+' conftest.er1 >conftest.err
3446 rm -f conftest.er1
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453 (eval $ac_try) 2>&5
3454 ac_status=$?
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 (eval $ac_try) 2>&5
3460 ac_status=$?
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3463 break
3464 else
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3467
3468 fi
3469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3470 done
3471 rm -f conftest*
3472 if test -n "$ac_declaration"; then
3473 echo '#ifdef __cplusplus' >>confdefs.h
3474 echo $ac_declaration >>confdefs.h
3475 echo '#endif' >>confdefs.h
3476 fi
3477
3478 else
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3481
3482 fi
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_ext=c
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489
3490 ac_ext=cc
3491 ac_cpp='$CXXCPP $CPPFLAGS'
3492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3497 do
3498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505 if test -n "$CXX"; then
3506 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3518 fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 CXX=$glibcxx_cv_prog_CXX
3525 if test -n "$CXX"; then
3526 echo "$as_me:$LINENO: result: $CXX" >&5
3527 echo "${ECHO_T}$CXX" >&6
3528 else
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533 test -n "$CXX" && break
3534 done
3535 fi
3536 if test -z "$CXX"; then
3537 ac_ct_CXX=$CXX
3538 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3539 do
3540 # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547 if test -n "$ac_ct_CXX"; then
3548 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_ac_ct_CXX="$ac_prog"
3558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3560 fi
3561 done
3562 done
3563
3564 fi
3565 fi
3566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3567 if test -n "$ac_ct_CXX"; then
3568 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3569 echo "${ECHO_T}$ac_ct_CXX" >&6
3570 else
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 fi
3574
3575 test -n "$ac_ct_CXX" && break
3576 done
3577 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3578
3579 CXX=$ac_ct_CXX
3580 fi
3581
3582
3583 # Provide some information about the compiler.
3584 echo "$as_me:$LINENO:" \
3585 "checking for C++ compiler version" >&5
3586 ac_compiler=`set X $ac_compile; echo $2`
3587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588 (eval $ac_compiler --version </dev/null >&5) 2>&5
3589 ac_status=$?
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593 (eval $ac_compiler -v </dev/null >&5) 2>&5
3594 ac_status=$?
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598 (eval $ac_compiler -V </dev/null >&5) 2>&5
3599 ac_status=$?
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }
3602
3603 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3604 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3605 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608 cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h. */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614
3615 int
3616 main ()
3617 {
3618 #ifndef __GNUC__
3619 choke me
3620 #endif
3621
3622 ;
3623 return 0;
3624 }
3625 _ACEOF
3626 rm -f conftest.$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628 (eval $ac_compile) 2>conftest.er1
3629 ac_status=$?
3630 grep -v '^ *+' conftest.er1 >conftest.err
3631 rm -f conftest.er1
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try='test -z "$ac_cxx_werror_flag"
3636 || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 (eval $ac_try) 2>&5
3639 ac_status=$?
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 (eval $ac_try) 2>&5
3645 ac_status=$?
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_compiler_gnu=yes
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3652
3653 ac_compiler_gnu=no
3654 fi
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3657
3658 fi
3659 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 CXXFLAGS="-g"
3665 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 if test "${ac_cv_prog_cxx_g+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670 cat >conftest.$ac_ext <<_ACEOF
3671 /* confdefs.h. */
3672 _ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3676
3677 int
3678 main ()
3679 {
3680
3681 ;
3682 return 0;
3683 }
3684 _ACEOF
3685 rm -f conftest.$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687 (eval $ac_compile) 2>conftest.er1
3688 ac_status=$?
3689 grep -v '^ *+' conftest.er1 >conftest.err
3690 rm -f conftest.er1
3691 cat conftest.err >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try='test -z "$ac_cxx_werror_flag"
3695 || test ! -s conftest.err'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 (eval $ac_try) 2>&5
3698 ac_status=$?
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; } &&
3701 { ac_try='test -s conftest.$ac_objext'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 (eval $ac_try) 2>&5
3704 ac_status=$?
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; }; then
3707 ac_cv_prog_cxx_g=yes
3708 else
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3711
3712 ac_cv_prog_cxx_g=no
3713 fi
3714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3715 fi
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3718 if test "$ac_test_CXXFLAGS" = set; then
3719 CXXFLAGS=$ac_save_CXXFLAGS
3720 elif test $ac_cv_prog_cxx_g = yes; then
3721 if test "$GXX" = yes; then
3722 CXXFLAGS="-g -O2"
3723 else
3724 CXXFLAGS="-g"
3725 fi
3726 else
3727 if test "$GXX" = yes; then
3728 CXXFLAGS="-O2"
3729 else
3730 CXXFLAGS=
3731 fi
3732 fi
3733 for ac_declaration in \
3734 '' \
3735 'extern "C" void std::exit (int) throw (); using std::exit;' \
3736 'extern "C" void std::exit (int); using std::exit;' \
3737 'extern "C" void exit (int) throw ();' \
3738 'extern "C" void exit (int);' \
3739 'void exit (int);'
3740 do
3741 cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h. */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3747 $ac_declaration
3748 #include <stdlib.h>
3749 int
3750 main ()
3751 {
3752 exit (42);
3753 ;
3754 return 0;
3755 }
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759 (eval $ac_compile) 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try='test -z "$ac_cxx_werror_flag"
3767 || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 (eval $ac_try) 2>&5
3770 ac_status=$?
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 (eval $ac_try) 2>&5
3776 ac_status=$?
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3779 :
3780 else
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 continue
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h. */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3793 $ac_declaration
3794 int
3795 main ()
3796 {
3797 exit (42);
3798 ;
3799 return 0;
3800 }
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>conftest.er1
3805 ac_status=$?
3806 grep -v '^ *+' conftest.er1 >conftest.err
3807 rm -f conftest.er1
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try='test -z "$ac_cxx_werror_flag"
3812 || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 (eval $ac_try) 2>&5
3815 ac_status=$?
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 (eval $ac_try) 2>&5
3821 ac_status=$?
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 break
3825 else
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3828
3829 fi
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834 echo '#ifdef __cplusplus' >>confdefs.h
3835 echo $ac_declaration >>confdefs.h
3836 echo '#endif' >>confdefs.h
3837 fi
3838
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844
3845 CXXFLAGS="$save_CXXFLAGS"
3846
3847
3848
3849
3850 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3851 # available). Uncomment the next line to force a particular method.
3852 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3853 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3854 LN_S=$as_ln_s
3855 if test "$LN_S" = "ln -s"; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3860 echo "${ECHO_T}no, using $LN_S" >&6
3861 fi
3862
3863 #LN_S='cp -p'
3864
3865 if test -n "$ac_tool_prefix"; then
3866 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}as; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_AS+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873 if test -n "$AS"; then
3874 ac_cv_prog_AS="$AS" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3878 do
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_AS="${ac_tool_prefix}as"
3884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3886 fi
3887 done
3888 done
3889
3890 fi
3891 fi
3892 AS=$ac_cv_prog_AS
3893 if test -n "$AS"; then
3894 echo "$as_me:$LINENO: result: $AS" >&5
3895 echo "${ECHO_T}$AS" >&6
3896 else
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3899 fi
3900
3901 fi
3902 if test -z "$ac_cv_prog_AS"; then
3903 ac_ct_AS=$AS
3904 # Extract the first word of "as", so it can be a program name with args.
3905 set dummy as; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911 if test -n "$ac_ct_AS"; then
3912 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3916 do
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_ac_ct_AS="as"
3922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3924 fi
3925 done
3926 done
3927
3928 fi
3929 fi
3930 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3931 if test -n "$ac_ct_AS"; then
3932 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3933 echo "${ECHO_T}$ac_ct_AS" >&6
3934 else
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3937 fi
3938
3939 AS=$ac_ct_AS
3940 else
3941 AS="$ac_cv_prog_AS"
3942 fi
3943
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}ar; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_AR+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952 if test -n "$AR"; then
3953 ac_cv_prog_AR="$AR" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3957 do
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_AR="${ac_tool_prefix}ar"
3963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3965 fi
3966 done
3967 done
3968
3969 fi
3970 fi
3971 AR=$ac_cv_prog_AR
3972 if test -n "$AR"; then
3973 echo "$as_me:$LINENO: result: $AR" >&5
3974 echo "${ECHO_T}$AR" >&6
3975 else
3976 echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3978 fi
3979
3980 fi
3981 if test -z "$ac_cv_prog_AR"; then
3982 ac_ct_AR=$AR
3983 # Extract the first word of "ar", so it can be a program name with args.
3984 set dummy ar; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990 if test -n "$ac_ct_AR"; then
3991 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3995 do
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_ac_ct_AR="ar"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4003 fi
4004 done
4005 done
4006
4007 fi
4008 fi
4009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4010 if test -n "$ac_ct_AR"; then
4011 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4012 echo "${ECHO_T}$ac_ct_AR" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4016 fi
4017
4018 AR=$ac_ct_AR
4019 else
4020 AR="$ac_cv_prog_AR"
4021 fi
4022
4023 if test -n "$ac_tool_prefix"; then
4024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_RANLIB+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031 if test -n "$RANLIB"; then
4032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4036 do
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4044 fi
4045 done
4046 done
4047
4048 fi
4049 fi
4050 RANLIB=$ac_cv_prog_RANLIB
4051 if test -n "$RANLIB"; then
4052 echo "$as_me:$LINENO: result: $RANLIB" >&5
4053 echo "${ECHO_T}$RANLIB" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4057 fi
4058
4059 fi
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061 ac_ct_RANLIB=$RANLIB
4062 # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069 if test -n "$ac_ct_RANLIB"; then
4070 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4074 do
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_ac_ct_RANLIB="ranlib"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4082 fi
4083 done
4084 done
4085
4086 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4087 fi
4088 fi
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4092 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4096 fi
4097
4098 RANLIB=$ac_ct_RANLIB
4099 else
4100 RANLIB="$ac_cv_prog_RANLIB"
4101 fi
4102
4103
4104 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4105 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4106 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4107 if test "${enable_maintainer_mode+set}" = set; then
4108 enableval="$enable_maintainer_mode"
4109 USE_MAINTAINER_MODE=$enableval
4110 else
4111 USE_MAINTAINER_MODE=no
4112 fi;
4113 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4114 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4115
4116
4117 if test $USE_MAINTAINER_MODE = yes; then
4118 MAINTAINER_MODE_TRUE=
4119 MAINTAINER_MODE_FALSE='#'
4120 else
4121 MAINTAINER_MODE_TRUE='#'
4122 MAINTAINER_MODE_FALSE=
4123 fi
4124
4125 MAINT=$MAINTAINER_MODE_TRUE
4126
4127
4128
4129 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4130 # which are themselves conditionally expanded.
4131 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4132 ## other macros from doing the same. This should be automated.) -pme
4133
4134 # Check for uClibc since Linux platforms use different configuration
4135 # directories depending on the C library in use.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4142
4143 #include <stdio.h>
4144 #if __UCLIBC__
4145 _using_uclibc
4146 #endif
4147
4148 _ACEOF
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4151 uclibc=yes
4152 else
4153 uclibc=no
4154 fi
4155 rm -f conftest*
4156
4157
4158 # Find platform-specific directories containing configuration info.
4159 # Also possibly modify flags used elsewhere, as needed by the platform.
4160
4161 . $glibcxx_srcdir/configure.host
4162 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4163 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4164 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4165 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4166
4167
4168
4169 if test "x${with_newlib}" != "xyes"; then
4170 enable_dlopen=yes
4171
4172
4173
4174 fi
4175 case `pwd` in
4176 *\ * | *\ *)
4177 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4178 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4179 esac
4180
4181
4182
4183 macro_version='2.2.6'
4184 macro_revision='1.3012'
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198 ltmain="$ac_aux_dir/ltmain.sh"
4199
4200 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4201 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4202 if test "${lt_cv_path_SED+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205 # Loop through the user's path and test for sed and gsed.
4206 # Then use that list of sed's as ones to test for truncation.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4209 do
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for lt_ac_prog in sed gsed; do
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4215 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4216 fi
4217 done
4218 done
4219 done
4220 IFS=$as_save_IFS
4221 lt_ac_max=0
4222 lt_ac_count=0
4223 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4224 # along with /bin/sed that truncates output.
4225 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4226 test ! -f $lt_ac_sed && continue
4227 cat /dev/null > conftest.in
4228 lt_ac_count=0
4229 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4230 # Check for GNU sed and select it if it is found.
4231 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4232 lt_cv_path_SED=$lt_ac_sed
4233 break
4234 fi
4235 while true; do
4236 cat conftest.in conftest.in >conftest.tmp
4237 mv conftest.tmp conftest.in
4238 cp conftest.in conftest.nl
4239 echo >>conftest.nl
4240 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4241 cmp -s conftest.out conftest.nl || break
4242 # 10000 chars as input seems more than enough
4243 test $lt_ac_count -gt 10 && break
4244 lt_ac_count=`expr $lt_ac_count + 1`
4245 if test $lt_ac_count -gt $lt_ac_max; then
4246 lt_ac_max=$lt_ac_count
4247 lt_cv_path_SED=$lt_ac_sed
4248 fi
4249 done
4250 done
4251
4252 fi
4253
4254 SED=$lt_cv_path_SED
4255
4256 echo "$as_me:$LINENO: result: $SED" >&5
4257 echo "${ECHO_T}$SED" >&6
4258
4259 test -z "$SED" && SED=sed
4260 Xsed="$SED -e 1s/^X//"
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272 echo "$as_me:$LINENO: checking for fgrep" >&5
4273 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4274 if test "${ac_cv_prog_fgrep+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 else
4277 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4278 then ac_cv_prog_fgrep='grep -F'
4279 else ac_cv_prog_fgrep='fgrep'
4280 fi
4281 fi
4282 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4283 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4284 FGREP=$ac_cv_prog_fgrep
4285
4286
4287 test -z "$GREP" && GREP=grep
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4308 if test "${with_gnu_ld+set}" = set; then
4309 withval="$with_gnu_ld"
4310 test "$withval" = no || with_gnu_ld=yes
4311 else
4312 with_gnu_ld=no
4313 fi;
4314 ac_prog=ld
4315 if test "$GCC" = yes; then
4316 # Check if gcc -print-prog-name=ld gives a path.
4317 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4318 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4319 case $host in
4320 *-*-mingw*)
4321 # gcc leaves a trailing carriage return which upsets mingw
4322 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4323 *)
4324 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4325 esac
4326 case $ac_prog in
4327 # Accept absolute paths.
4328 [\\/]* | ?:[\\/]*)
4329 re_direlt='/[^/][^/]*/\.\./'
4330 # Canonicalize the pathname of ld
4331 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4332 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4333 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4334 done
4335 test -z "$LD" && LD="$ac_prog"
4336 ;;
4337 "")
4338 # If it fails, then pretend we aren't using GCC.
4339 ac_prog=ld
4340 ;;
4341 *)
4342 # If it is relative, then search for the first ld in PATH.
4343 with_gnu_ld=unknown
4344 ;;
4345 esac
4346 elif test "$with_gnu_ld" = yes; then
4347 echo "$as_me:$LINENO: checking for GNU ld" >&5
4348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4349 else
4350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4352 fi
4353 if test "${lt_cv_path_LD+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 else
4356 if test -z "$LD"; then
4357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4358 for ac_dir in $PATH; do
4359 IFS="$lt_save_ifs"
4360 test -z "$ac_dir" && ac_dir=.
4361 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4362 lt_cv_path_LD="$ac_dir/$ac_prog"
4363 # Check to see if the program is GNU ld. I'd rather use --version,
4364 # but apparently some variants of GNU ld only accept -v.
4365 # Break only if it was the GNU/non-GNU ld that we prefer.
4366 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4367 *GNU* | *'with BFD'*)
4368 test "$with_gnu_ld" != no && break
4369 ;;
4370 *)
4371 test "$with_gnu_ld" != yes && break
4372 ;;
4373 esac
4374 fi
4375 done
4376 IFS="$lt_save_ifs"
4377 else
4378 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4379 fi
4380 fi
4381
4382 LD="$lt_cv_path_LD"
4383 if test -n "$LD"; then
4384 echo "$as_me:$LINENO: result: $LD" >&5
4385 echo "${ECHO_T}$LD" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4389 fi
4390 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4391 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4392 { (exit 1); exit 1; }; }
4393 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4394 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4395 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4399 case `$LD -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 lt_cv_prog_gnu_ld=yes
4402 ;;
4403 *)
4404 lt_cv_prog_gnu_ld=no
4405 ;;
4406 esac
4407 fi
4408 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4409 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4410 with_gnu_ld=$lt_cv_prog_gnu_ld
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4421 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4422 if test "${lt_cv_path_NM+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 else
4425 if test -n "$NM"; then
4426 # Let the user override the test.
4427 lt_cv_path_NM="$NM"
4428 else
4429 lt_nm_to_check="${ac_tool_prefix}nm"
4430 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4431 lt_nm_to_check="$lt_nm_to_check nm"
4432 fi
4433 for lt_tmp_nm in $lt_nm_to_check; do
4434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4435 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4436 IFS="$lt_save_ifs"
4437 test -z "$ac_dir" && ac_dir=.
4438 tmp_nm="$ac_dir/$lt_tmp_nm"
4439 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4440 # Check to see if the nm accepts a BSD-compat flag.
4441 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4442 # nm: unknown option "B" ignored
4443 # Tru64's nm complains that /dev/null is an invalid object file
4444 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4445 */dev/null* | *'Invalid file or object type'*)
4446 lt_cv_path_NM="$tmp_nm -B"
4447 break
4448 ;;
4449 *)
4450 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4451 */dev/null*)
4452 lt_cv_path_NM="$tmp_nm -p"
4453 break
4454 ;;
4455 *)
4456 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4457 continue # so that we can try to find one that supports BSD flags
4458 ;;
4459 esac
4460 ;;
4461 esac
4462 fi
4463 done
4464 IFS="$lt_save_ifs"
4465 done
4466 : ${lt_cv_path_NM=no}
4467 fi
4468 fi
4469 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4470 echo "${ECHO_T}$lt_cv_path_NM" >&6
4471 if test "$lt_cv_path_NM" != "no"; then
4472 NM="$lt_cv_path_NM"
4473 else
4474 # Didn't find any BSD compatible name lister, look for dumpbin.
4475 if test -n "$ac_tool_prefix"; then
4476 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4477 do
4478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480 echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4482 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 if test -n "$DUMPBIN"; then
4486 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4490 do
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4498 fi
4499 done
4500 done
4501
4502 fi
4503 fi
4504 DUMPBIN=$ac_cv_prog_DUMPBIN
4505 if test -n "$DUMPBIN"; then
4506 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4507 echo "${ECHO_T}$DUMPBIN" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4511 fi
4512
4513 test -n "$DUMPBIN" && break
4514 done
4515 fi
4516 if test -z "$DUMPBIN"; then
4517 ac_ct_DUMPBIN=$DUMPBIN
4518 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4519 do
4520 # Extract the first word of "$ac_prog", so it can be a program name with args.
4521 set dummy $ac_prog; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 else
4527 if test -n "$ac_ct_DUMPBIN"; then
4528 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4532 do
4533 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2
4540 fi
4541 done
4542 done
4543
4544 fi
4545 fi
4546 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4547 if test -n "$ac_ct_DUMPBIN"; then
4548 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4549 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4550 else
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4553 fi
4554
4555 test -n "$ac_ct_DUMPBIN" && break
4556 done
4557 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4558
4559 DUMPBIN=$ac_ct_DUMPBIN
4560 fi
4561
4562
4563 if test "$DUMPBIN" != ":"; then
4564 NM="$DUMPBIN"
4565 fi
4566 fi
4567 test -z "$NM" && NM=nm
4568
4569
4570
4571
4572
4573
4574 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4575 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4576 if test "${lt_cv_nm_interface+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 else
4579 lt_cv_nm_interface="BSD nm"
4580 echo "int some_variable = 0;" > conftest.$ac_ext
4581 (eval echo "\"\$as_me:4581: $ac_compile\"" >&5)
4582 (eval "$ac_compile" 2>conftest.err)
4583 cat conftest.err >&5
4584 (eval echo "\"\$as_me:4584: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4585 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4586 cat conftest.err >&5
4587 (eval echo "\"\$as_me:4587: output\"" >&5)
4588 cat conftest.out >&5
4589 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4590 lt_cv_nm_interface="MS dumpbin"
4591 fi
4592 rm -f conftest*
4593 fi
4594 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4595 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4596
4597 # find the maximum length of command line arguments
4598 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4599 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4600 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 else
4603 i=0
4604 teststring="ABCD"
4605
4606 case $build_os in
4607 msdosdjgpp*)
4608 # On DJGPP, this test can blow up pretty badly due to problems in libc
4609 # (any single argument exceeding 2000 bytes causes a buffer overrun
4610 # during glob expansion). Even if it were fixed, the result of this
4611 # check would be larger than it should be.
4612 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4613 ;;
4614
4615 gnu*)
4616 # Under GNU Hurd, this test is not required because there is
4617 # no limit to the length of command line arguments.
4618 # Libtool will interpret -1 as no limit whatsoever
4619 lt_cv_sys_max_cmd_len=-1;
4620 ;;
4621
4622 cygwin* | mingw* | cegcc*)
4623 # On Win9x/ME, this test blows up -- it succeeds, but takes
4624 # about 5 minutes as the teststring grows exponentially.
4625 # Worse, since 9x/ME are not pre-emptively multitasking,
4626 # you end up with a "frozen" computer, even though with patience
4627 # the test eventually succeeds (with a max line length of 256k).
4628 # Instead, let's just punt: use the minimum linelength reported by
4629 # all of the supported platforms: 8192 (on NT/2K/XP).
4630 lt_cv_sys_max_cmd_len=8192;
4631 ;;
4632
4633 amigaos*)
4634 # On AmigaOS with pdksh, this test takes hours, literally.
4635 # So we just punt and use a minimum line length of 8192.
4636 lt_cv_sys_max_cmd_len=8192;
4637 ;;
4638
4639 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4640 # This has been around since 386BSD, at least. Likely further.
4641 if test -x /sbin/sysctl; then
4642 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4643 elif test -x /usr/sbin/sysctl; then
4644 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4645 else
4646 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4647 fi
4648 # And add a safety zone
4649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4651 ;;
4652
4653 interix*)
4654 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4655 lt_cv_sys_max_cmd_len=196608
4656 ;;
4657
4658 osf*)
4659 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4660 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4661 # nice to cause kernel panics so lets avoid the loop below.
4662 # First set a reasonable default.
4663 lt_cv_sys_max_cmd_len=16384
4664 #
4665 if test -x /sbin/sysconfig; then
4666 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4667 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4668 esac
4669 fi
4670 ;;
4671 sco3.2v5*)
4672 lt_cv_sys_max_cmd_len=102400
4673 ;;
4674 sysv5* | sco5v6* | sysv4.2uw2*)
4675 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4676 if test -n "$kargmax"; then
4677 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4678 else
4679 lt_cv_sys_max_cmd_len=32768
4680 fi
4681 ;;
4682 *)
4683 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4684 if test -n "$lt_cv_sys_max_cmd_len"; then
4685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4687 else
4688 # Make teststring a little bigger before we do anything with it.
4689 # a 1K string should be a reasonable start.
4690 for i in 1 2 3 4 5 6 7 8 ; do
4691 teststring=$teststring$teststring
4692 done
4693 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4694 # If test is not a shell built-in, we'll probably end up computing a
4695 # maximum length that is only half of the actual maximum length, but
4696 # we can't tell.
4697 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4698 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4699 test $i != 17 # 1/2 MB should be enough
4700 do
4701 i=`expr $i + 1`
4702 teststring=$teststring$teststring
4703 done
4704 # Only check the string length outside the loop.
4705 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4706 teststring=
4707 # Add a significant safety factor because C++ compilers can tack on
4708 # massive amounts of additional arguments before passing them to the
4709 # linker. It appears as though 1/2 is a usable value.
4710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4711 fi
4712 ;;
4713 esac
4714
4715 fi
4716
4717 if test -n $lt_cv_sys_max_cmd_len ; then
4718 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4719 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4720 else
4721 echo "$as_me:$LINENO: result: none" >&5
4722 echo "${ECHO_T}none" >&6
4723 fi
4724 max_cmd_len=$lt_cv_sys_max_cmd_len
4725
4726
4727
4728
4729
4730
4731 : ${CP="cp -f"}
4732 : ${MV="mv -f"}
4733 : ${RM="rm -f"}
4734
4735 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4736 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4737 # Try some XSI features
4738 xsi_shell=no
4739 ( _lt_dummy="a/b/c"
4740 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4741 = c,a/b,, \
4742 && eval 'test $(( 1 + 1 )) -eq 2 \
4743 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4744 && xsi_shell=yes
4745 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4746 echo "${ECHO_T}$xsi_shell" >&6
4747
4748
4749 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4750 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4751 lt_shell_append=no
4752 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4753 >/dev/null 2>&1 \
4754 && lt_shell_append=yes
4755 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4756 echo "${ECHO_T}$lt_shell_append" >&6
4757
4758
4759 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4760 lt_unset=unset
4761 else
4762 lt_unset=false
4763 fi
4764
4765
4766
4767
4768
4769 # test EBCDIC or ASCII
4770 case `echo X|tr X '\101'` in
4771 A) # ASCII based system
4772 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4773 lt_SP2NL='tr \040 \012'
4774 lt_NL2SP='tr \015\012 \040\040'
4775 ;;
4776 *) # EBCDIC based system
4777 lt_SP2NL='tr \100 \n'
4778 lt_NL2SP='tr \r\n \100\100'
4779 ;;
4780 esac
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4791 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4792 if test "${lt_cv_ld_reload_flag+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 else
4795 lt_cv_ld_reload_flag='-r'
4796 fi
4797 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4798 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4799 reload_flag=$lt_cv_ld_reload_flag
4800 case $reload_flag in
4801 "" | " "*) ;;
4802 *) reload_flag=" $reload_flag" ;;
4803 esac
4804 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4805 case $host_os in
4806 darwin*)
4807 if test "$GCC" = yes; then
4808 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4809 else
4810 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4811 fi
4812 ;;
4813 esac
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823 if test -n "$ac_tool_prefix"; then
4824 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4825 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4826 echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4828 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831 if test -n "$OBJDUMP"; then
4832 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4836 do
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4844 fi
4845 done
4846 done
4847
4848 fi
4849 fi
4850 OBJDUMP=$ac_cv_prog_OBJDUMP
4851 if test -n "$OBJDUMP"; then
4852 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4853 echo "${ECHO_T}$OBJDUMP" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4857 fi
4858
4859 fi
4860 if test -z "$ac_cv_prog_OBJDUMP"; then
4861 ac_ct_OBJDUMP=$OBJDUMP
4862 # Extract the first word of "objdump", so it can be a program name with args.
4863 set dummy objdump; ac_word=$2
4864 echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4866 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 else
4869 if test -n "$ac_ct_OBJDUMP"; then
4870 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4874 do
4875 IFS=$as_save_IFS
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 break 2
4882 fi
4883 done
4884 done
4885
4886 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4887 fi
4888 fi
4889 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4890 if test -n "$ac_ct_OBJDUMP"; then
4891 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4892 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4893 else
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4896 fi
4897
4898 OBJDUMP=$ac_ct_OBJDUMP
4899 else
4900 OBJDUMP="$ac_cv_prog_OBJDUMP"
4901 fi
4902
4903 test -z "$OBJDUMP" && OBJDUMP=objdump
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4914 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4915 if test "${lt_cv_deplibs_check_method+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 else
4918 lt_cv_file_magic_cmd='$MAGIC_CMD'
4919 lt_cv_file_magic_test_file=
4920 lt_cv_deplibs_check_method='unknown'
4921 # Need to set the preceding variable on all platforms that support
4922 # interlibrary dependencies.
4923 # 'none' -- dependencies not supported.
4924 # `unknown' -- same as none, but documents that we really don't know.
4925 # 'pass_all' -- all dependencies passed with no checks.
4926 # 'test_compile' -- check by making test program.
4927 # 'file_magic [[regex]]' -- check by looking for files in library path
4928 # which responds to the $file_magic_cmd with a given extended regex.
4929 # If you have `file' or equivalent on your system and you're not sure
4930 # whether `pass_all' will *always* work, you probably want this one.
4931
4932 case $host_os in
4933 aix[4-9]*)
4934 lt_cv_deplibs_check_method=pass_all
4935 ;;
4936
4937 beos*)
4938 lt_cv_deplibs_check_method=pass_all
4939 ;;
4940
4941 bsdi[45]*)
4942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4943 lt_cv_file_magic_cmd='/usr/bin/file -L'
4944 lt_cv_file_magic_test_file=/shlib/libc.so
4945 ;;
4946
4947 cygwin*)
4948 # func_win32_libid is a shell function defined in ltmain.sh
4949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4950 lt_cv_file_magic_cmd='func_win32_libid'
4951 ;;
4952
4953 mingw* | pw32*)
4954 # Base MSYS/MinGW do not provide the 'file' command needed by
4955 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4956 # unless we find 'file', for example because we are cross-compiling.
4957 if ( file / ) >/dev/null 2>&1; then
4958 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4959 lt_cv_file_magic_cmd='func_win32_libid'
4960 else
4961 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4962 lt_cv_file_magic_cmd='$OBJDUMP -f'
4963 fi
4964 ;;
4965
4966 cegcc)
4967 # use the weaker test based on 'objdump'. See mingw*.
4968 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4969 lt_cv_file_magic_cmd='$OBJDUMP -f'
4970 ;;
4971
4972 darwin* | rhapsody*)
4973 lt_cv_deplibs_check_method=pass_all
4974 ;;
4975
4976 freebsd* | dragonfly*)
4977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4978 case $host_cpu in
4979 i*86 )
4980 # Not sure whether the presence of OpenBSD here was a mistake.
4981 # Let's accept both of them until this is cleared up.
4982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4983 lt_cv_file_magic_cmd=/usr/bin/file
4984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4985 ;;
4986 esac
4987 else
4988 lt_cv_deplibs_check_method=pass_all
4989 fi
4990 ;;
4991
4992 gnu*)
4993 lt_cv_deplibs_check_method=pass_all
4994 ;;
4995
4996 hpux10.20* | hpux11*)
4997 lt_cv_file_magic_cmd=/usr/bin/file
4998 case $host_cpu in
4999 ia64*)
5000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5002 ;;
5003 hppa*64*)
5004 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]'
5005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5006 ;;
5007 *)
5008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5009 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5010 ;;
5011 esac
5012 ;;
5013
5014 interix[3-9]*)
5015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5017 ;;
5018
5019 irix5* | irix6* | nonstopux*)
5020 case $LD in
5021 *-32|*"-32 ") libmagic=32-bit;;
5022 *-n32|*"-n32 ") libmagic=N32;;
5023 *-64|*"-64 ") libmagic=64-bit;;
5024 *) libmagic=never-match;;
5025 esac
5026 lt_cv_deplibs_check_method=pass_all
5027 ;;
5028
5029 # This must be Linux ELF.
5030 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5031 lt_cv_deplibs_check_method=pass_all
5032 ;;
5033
5034 netbsd*)
5035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5037 else
5038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5039 fi
5040 ;;
5041
5042 newos6*)
5043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5044 lt_cv_file_magic_cmd=/usr/bin/file
5045 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5046 ;;
5047
5048 *nto* | *qnx*)
5049 lt_cv_deplibs_check_method=pass_all
5050 ;;
5051
5052 openbsd*)
5053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5055 else
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5057 fi
5058 ;;
5059
5060 osf3* | osf4* | osf5*)
5061 lt_cv_deplibs_check_method=pass_all
5062 ;;
5063
5064 rdos*)
5065 lt_cv_deplibs_check_method=pass_all
5066 ;;
5067
5068 solaris*)
5069 lt_cv_deplibs_check_method=pass_all
5070 ;;
5071
5072 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5073 lt_cv_deplibs_check_method=pass_all
5074 ;;
5075
5076 sysv4 | sysv4.3*)
5077 case $host_vendor in
5078 motorola)
5079 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]'
5080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5081 ;;
5082 ncr)
5083 lt_cv_deplibs_check_method=pass_all
5084 ;;
5085 sequent)
5086 lt_cv_file_magic_cmd='/bin/file'
5087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5088 ;;
5089 sni)
5090 lt_cv_file_magic_cmd='/bin/file'
5091 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5092 lt_cv_file_magic_test_file=/lib/libc.so
5093 ;;
5094 siemens)
5095 lt_cv_deplibs_check_method=pass_all
5096 ;;
5097 pc)
5098 lt_cv_deplibs_check_method=pass_all
5099 ;;
5100 esac
5101 ;;
5102
5103 tpf*)
5104 lt_cv_deplibs_check_method=pass_all
5105 ;;
5106 esac
5107
5108 fi
5109 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5111 file_magic_cmd=$lt_cv_file_magic_cmd
5112 deplibs_check_method=$lt_cv_deplibs_check_method
5113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ar; ac_word=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_AR+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 else
5134 if test -n "$AR"; then
5135 ac_cv_prog_AR="$AR" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5139 do
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_AR="${ac_tool_prefix}ar"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5147 fi
5148 done
5149 done
5150
5151 fi
5152 fi
5153 AR=$ac_cv_prog_AR
5154 if test -n "$AR"; then
5155 echo "$as_me:$LINENO: result: $AR" >&5
5156 echo "${ECHO_T}$AR" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5160 fi
5161
5162 fi
5163 if test -z "$ac_cv_prog_AR"; then
5164 ac_ct_AR=$AR
5165 # Extract the first word of "ar", so it can be a program name with args.
5166 set dummy ar; ac_word=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172 if test -n "$ac_ct_AR"; then
5173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5177 do
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_AR="ar"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5185 fi
5186 done
5187 done
5188
5189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5190 fi
5191 fi
5192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5193 if test -n "$ac_ct_AR"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5195 echo "${ECHO_T}$ac_ct_AR" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5199 fi
5200
5201 AR=$ac_ct_AR
5202 else
5203 AR="$ac_cv_prog_AR"
5204 fi
5205
5206 test -z "$AR" && AR=ar
5207 test -z "$AR_FLAGS" && AR_FLAGS=cru
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}strip; ac_word=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5232 do
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5240 fi
5241 done
5242 done
5243
5244 fi
5245 fi
5246 STRIP=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5253 fi
5254
5255 fi
5256 if test -z "$ac_cv_prog_STRIP"; then
5257 ac_ct_STRIP=$STRIP
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip; ac_word=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 else
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5270 do
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5278 fi
5279 done
5280 done
5281
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5283 fi
5284 fi
5285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5292 fi
5293
5294 STRIP=$ac_ct_STRIP
5295 else
5296 STRIP="$ac_cv_prog_STRIP"
5297 fi
5298
5299 test -z "$STRIP" && STRIP=:
5300
5301
5302
5303
5304
5305
5306 if test -n "$ac_tool_prefix"; then
5307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5309 echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5311 if test "${ac_cv_prog_RANLIB+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314 if test -n "$RANLIB"; then
5315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5319 do
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 break 2
5327 fi
5328 done
5329 done
5330
5331 fi
5332 fi
5333 RANLIB=$ac_cv_prog_RANLIB
5334 if test -n "$RANLIB"; then
5335 echo "$as_me:$LINENO: result: $RANLIB" >&5
5336 echo "${ECHO_T}$RANLIB" >&6
5337 else
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5340 fi
5341
5342 fi
5343 if test -z "$ac_cv_prog_RANLIB"; then
5344 ac_ct_RANLIB=$RANLIB
5345 # Extract the first word of "ranlib", so it can be a program name with args.
5346 set dummy ranlib; ac_word=$2
5347 echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$ac_ct_RANLIB"; then
5353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5357 do
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_RANLIB="ranlib"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5365 fi
5366 done
5367 done
5368
5369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5370 fi
5371 fi
5372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5373 if test -n "$ac_ct_RANLIB"; then
5374 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5379 fi
5380
5381 RANLIB=$ac_ct_RANLIB
5382 else
5383 RANLIB="$ac_cv_prog_RANLIB"
5384 fi
5385
5386 test -z "$RANLIB" && RANLIB=:
5387
5388
5389
5390
5391
5392
5393 # Determine commands to create old-style static archives.
5394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5395 old_postinstall_cmds='chmod 644 $oldlib'
5396 old_postuninstall_cmds=
5397
5398 if test -n "$RANLIB"; then
5399 case $host_os in
5400 openbsd*)
5401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5402 ;;
5403 *)
5404 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5405 ;;
5406 esac
5407 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5408 fi
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443 # If no C compiler was specified, use CC.
5444 LTCC=${LTCC-"$CC"}
5445
5446 # If no C compiler flags were specified, use CFLAGS.
5447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5448
5449 # Allow CC to be a program name with arguments.
5450 compiler=$CC
5451
5452
5453 # Check for command to grab the raw symbol name followed by C symbol from nm.
5454 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5455 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459
5460 # These are sane defaults that work on at least a few old systems.
5461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5462
5463 # Character class describing NM global symbol codes.
5464 symcode='[BCDEGRST]'
5465
5466 # Regexp to match symbols that can be accessed directly from C.
5467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5468
5469 # Define system-specific variables.
5470 case $host_os in
5471 aix*)
5472 symcode='[BCDT]'
5473 ;;
5474 cygwin* | mingw* | pw32* | cegcc*)
5475 symcode='[ABCDGISTW]'
5476 ;;
5477 hpux*)
5478 if test "$host_cpu" = ia64; then
5479 symcode='[ABCDEGRST]'
5480 fi
5481 ;;
5482 irix* | nonstopux*)
5483 symcode='[BCDEGRST]'
5484 ;;
5485 osf*)
5486 symcode='[BCDEGQRST]'
5487 ;;
5488 solaris*)
5489 symcode='[BDRT]'
5490 ;;
5491 sco3.2v5*)
5492 symcode='[DT]'
5493 ;;
5494 sysv4.2uw2*)
5495 symcode='[DT]'
5496 ;;
5497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5498 symcode='[ABDT]'
5499 ;;
5500 sysv4)
5501 symcode='[DFNSTU]'
5502 ;;
5503 esac
5504
5505 # If we're using GNU nm, then use its standard symbol codes.
5506 case `$NM -V 2>&1` in
5507 *GNU* | *'with BFD'*)
5508 symcode='[ABCDGIRSTW]' ;;
5509 esac
5510
5511 # Transform an extracted symbol line into a proper C declaration.
5512 # Some systems (esp. on ia64) link data and code symbols differently,
5513 # so use this general approach.
5514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5515
5516 # Transform an extracted symbol line into symbol name and symbol address
5517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5518 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5519
5520 # Handle CRLF in mingw tool chain
5521 opt_cr=
5522 case $build_os in
5523 mingw*)
5524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5525 ;;
5526 esac
5527
5528 # Try without a prefix underscore, then with it.
5529 for ac_symprfx in "" "_"; do
5530
5531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5532 symxfrm="\\1 $ac_symprfx\\2 \\2"
5533
5534 # Write the raw and C identifiers.
5535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5536 # Fake it for dumpbin and say T for any non-static function
5537 # and D for any global variable.
5538 # Also find C++ and __fastcall symbols from MSVC++,
5539 # which start with @ or ?.
5540 lt_cv_sys_global_symbol_pipe="$AWK '"\
5541 " {last_section=section; section=\$ 3};"\
5542 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5543 " \$ 0!~/External *\|/{next};"\
5544 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5545 " {if(hide[section]) next};"\
5546 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5547 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5548 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5549 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5550 " ' prfx=^$ac_symprfx"
5551 else
5552 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5553 fi
5554
5555 # Check to see that the pipe works correctly.
5556 pipe_works=no
5557
5558 rm -f conftest*
5559 cat > conftest.$ac_ext <<_LT_EOF
5560 #ifdef __cplusplus
5561 extern "C" {
5562 #endif
5563 char nm_test_var;
5564 void nm_test_func(void);
5565 void nm_test_func(void){}
5566 #ifdef __cplusplus
5567 }
5568 #endif
5569 int main(){nm_test_var='a';nm_test_func();return(0);}
5570 _LT_EOF
5571
5572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5573 (eval $ac_compile) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; then
5577 # Now try to grab the symbols.
5578 nlist=conftest.nm
5579 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5580 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5581 ac_status=$?
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && test -s "$nlist"; then
5584 # Try sorting and uniquifying the output.
5585 if sort "$nlist" | uniq > "$nlist"T; then
5586 mv -f "$nlist"T "$nlist"
5587 else
5588 rm -f "$nlist"T
5589 fi
5590
5591 # Make sure that we snagged all the symbols we need.
5592 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5593 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5594 cat <<_LT_EOF > conftest.$ac_ext
5595 #ifdef __cplusplus
5596 extern "C" {
5597 #endif
5598
5599 _LT_EOF
5600 # Now generate the symbol file.
5601 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5602
5603 cat <<_LT_EOF >> conftest.$ac_ext
5604
5605 /* The mapping between symbol names and symbols. */
5606 const struct {
5607 const char *name;
5608 void *address;
5609 }
5610 lt__PROGRAM__LTX_preloaded_symbols[] =
5611 {
5612 { "@PROGRAM@", (void *) 0 },
5613 _LT_EOF
5614 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5615 cat <<\_LT_EOF >> conftest.$ac_ext
5616 {0, (void *) 0}
5617 };
5618
5619 /* This works around a problem in FreeBSD linker */
5620 #ifdef FREEBSD_WORKAROUND
5621 static const void *lt_preloaded_setup() {
5622 return lt__PROGRAM__LTX_preloaded_symbols;
5623 }
5624 #endif
5625
5626 #ifdef __cplusplus
5627 }
5628 #endif
5629 _LT_EOF
5630 # Now try linking the two files.
5631 mv conftest.$ac_objext conftstm.$ac_objext
5632 lt_save_LIBS="$LIBS"
5633 lt_save_CFLAGS="$CFLAGS"
5634 LIBS="conftstm.$ac_objext"
5635 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>&5
5638 ac_status=$?
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5641 pipe_works=yes
5642 fi
5643 LIBS="$lt_save_LIBS"
5644 CFLAGS="$lt_save_CFLAGS"
5645 else
5646 echo "cannot find nm_test_func in $nlist" >&5
5647 fi
5648 else
5649 echo "cannot find nm_test_var in $nlist" >&5
5650 fi
5651 else
5652 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5653 fi
5654 else
5655 echo "$progname: failed program was:" >&5
5656 cat conftest.$ac_ext >&5
5657 fi
5658 rm -rf conftest* conftst*
5659
5660 # Do not use the global_symbol_pipe unless it works.
5661 if test "$pipe_works" = yes; then
5662 break
5663 else
5664 lt_cv_sys_global_symbol_pipe=
5665 fi
5666 done
5667
5668 fi
5669
5670 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5671 lt_cv_sys_global_symbol_to_cdecl=
5672 fi
5673 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5674 echo "$as_me:$LINENO: result: failed" >&5
5675 echo "${ECHO_T}failed" >&6
5676 else
5677 echo "$as_me:$LINENO: result: ok" >&5
5678 echo "${ECHO_T}ok" >&6
5679 fi
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5703 if test "${enable_libtool_lock+set}" = set; then
5704 enableval="$enable_libtool_lock"
5705
5706 fi;
5707 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5708
5709 # Some flags need to be propagated to the compiler or linker for good
5710 # libtool support.
5711 case $host in
5712 ia64-*-hpux*)
5713 # Find out which ABI we are using.
5714 echo 'int i;' > conftest.$ac_ext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5
5717 ac_status=$?
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; then
5720 case `/usr/bin/file conftest.$ac_objext` in
5721 *ELF-32*)
5722 HPUX_IA64_MODE="32"
5723 ;;
5724 *ELF-64*)
5725 HPUX_IA64_MODE="64"
5726 ;;
5727 esac
5728 fi
5729 rm -rf conftest*
5730 ;;
5731 *-*-irix6*)
5732 # Find out which ABI we are using.
5733 echo '#line 5733 "configure"' > conftest.$ac_ext
5734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735 (eval $ac_compile) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; then
5739 if test "$lt_cv_prog_gnu_ld" = yes; then
5740 case `/usr/bin/file conftest.$ac_objext` in
5741 *32-bit*)
5742 LD="${LD-ld} -melf32bsmip"
5743 ;;
5744 *N32*)
5745 LD="${LD-ld} -melf32bmipn32"
5746 ;;
5747 *64-bit*)
5748 LD="${LD-ld} -melf64bmip"
5749 ;;
5750 esac
5751 else
5752 case `/usr/bin/file conftest.$ac_objext` in
5753 *32-bit*)
5754 LD="${LD-ld} -32"
5755 ;;
5756 *N32*)
5757 LD="${LD-ld} -n32"
5758 ;;
5759 *64-bit*)
5760 LD="${LD-ld} -64"
5761 ;;
5762 esac
5763 fi
5764 fi
5765 rm -rf conftest*
5766 ;;
5767
5768 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5769 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5770 # Find out which ABI we are using.
5771 echo 'int i;' > conftest.$ac_ext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5773 (eval $ac_compile) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; then
5777 case `/usr/bin/file conftest.o` in
5778 *32-bit*)
5779 case $host in
5780 x86_64-*kfreebsd*-gnu)
5781 LD="${LD-ld} -m elf_i386_fbsd"
5782 ;;
5783 x86_64-*linux*)
5784 LD="${LD-ld} -m elf_i386"
5785 ;;
5786 ppc64-*linux*|powerpc64-*linux*)
5787 LD="${LD-ld} -m elf32ppclinux"
5788 ;;
5789 s390x-*linux*)
5790 LD="${LD-ld} -m elf_s390"
5791 ;;
5792 sparc64-*linux*)
5793 LD="${LD-ld} -m elf32_sparc"
5794 ;;
5795 esac
5796 ;;
5797 *64-bit*)
5798 case $host in
5799 x86_64-*kfreebsd*-gnu)
5800 LD="${LD-ld} -m elf_x86_64_fbsd"
5801 ;;
5802 x86_64-*linux*)
5803 LD="${LD-ld} -m elf_x86_64"
5804 ;;
5805 ppc*-*linux*|powerpc*-*linux*)
5806 LD="${LD-ld} -m elf64ppc"
5807 ;;
5808 s390*-*linux*|s390*-*tpf*)
5809 LD="${LD-ld} -m elf64_s390"
5810 ;;
5811 sparc*-*linux*)
5812 LD="${LD-ld} -m elf64_sparc"
5813 ;;
5814 esac
5815 ;;
5816 esac
5817 fi
5818 rm -rf conftest*
5819 ;;
5820
5821 *-*-sco3.2v5*)
5822 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5823 SAVE_CFLAGS="$CFLAGS"
5824 CFLAGS="$CFLAGS -belf"
5825 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5826 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5827 if test "${lt_cv_cc_needs_belf+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 else
5830 ac_ext=c
5831 ac_cpp='$CPP $CPPFLAGS'
5832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5835
5836 if test x$gcc_no_link = xyes; then
5837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5839 { (exit 1); exit 1; }; }
5840 fi
5841 cat >conftest.$ac_ext <<_ACEOF
5842 /* confdefs.h. */
5843 _ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847
5848 int
5849 main ()
5850 {
5851
5852 ;
5853 return 0;
5854 }
5855 _ACEOF
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>conftest.er1
5859 ac_status=$?
5860 grep -v '^ *+' conftest.er1 >conftest.err
5861 rm -f conftest.er1
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try='test -z "$ac_c_werror_flag"
5866 || test ! -s conftest.err'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; } &&
5872 { ac_try='test -s conftest$ac_exeext'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 lt_cv_cc_needs_belf=yes
5879 else
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5882
5883 lt_cv_cc_needs_belf=no
5884 fi
5885 rm -f conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5887 ac_ext=c
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5892
5893 fi
5894 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5895 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5896 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5898 CFLAGS="$SAVE_CFLAGS"
5899 fi
5900 ;;
5901 sparc*-*solaris*)
5902 # Find out which ABI we are using.
5903 echo 'int i;' > conftest.$ac_ext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5905 (eval $ac_compile) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; then
5909 case `/usr/bin/file conftest.o` in
5910 *64-bit*)
5911 case $lt_cv_prog_gnu_ld in
5912 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5913 *)
5914 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5915 LD="${LD-ld} -64"
5916 fi
5917 ;;
5918 esac
5919 ;;
5920 esac
5921 fi
5922 rm -rf conftest*
5923 ;;
5924 esac
5925
5926 need_locks="$enable_libtool_lock"
5927
5928
5929 case $host_os in
5930 rhapsody* | darwin*)
5931 if test -n "$ac_tool_prefix"; then
5932 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5933 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5934 echo "$as_me:$LINENO: checking for $ac_word" >&5
5935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5936 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 if test -n "$DSYMUTIL"; then
5940 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5944 do
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5952 fi
5953 done
5954 done
5955
5956 fi
5957 fi
5958 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5959 if test -n "$DSYMUTIL"; then
5960 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5961 echo "${ECHO_T}$DSYMUTIL" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5965 fi
5966
5967 fi
5968 if test -z "$ac_cv_prog_DSYMUTIL"; then
5969 ac_ct_DSYMUTIL=$DSYMUTIL
5970 # Extract the first word of "dsymutil", so it can be a program name with args.
5971 set dummy dsymutil; ac_word=$2
5972 echo "$as_me:$LINENO: checking for $ac_word" >&5
5973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5974 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 else
5977 if test -n "$ac_ct_DSYMUTIL"; then
5978 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5982 do
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5990 fi
5991 done
5992 done
5993
5994 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5995 fi
5996 fi
5997 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5998 if test -n "$ac_ct_DSYMUTIL"; then
5999 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6000 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6004 fi
6005
6006 DSYMUTIL=$ac_ct_DSYMUTIL
6007 else
6008 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6009 fi
6010
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6014 echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6016 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 else
6019 if test -n "$NMEDIT"; then
6020 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6024 do
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6032 fi
6033 done
6034 done
6035
6036 fi
6037 fi
6038 NMEDIT=$ac_cv_prog_NMEDIT
6039 if test -n "$NMEDIT"; then
6040 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6041 echo "${ECHO_T}$NMEDIT" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6045 fi
6046
6047 fi
6048 if test -z "$ac_cv_prog_NMEDIT"; then
6049 ac_ct_NMEDIT=$NMEDIT
6050 # Extract the first word of "nmedit", so it can be a program name with args.
6051 set dummy nmedit; ac_word=$2
6052 echo "$as_me:$LINENO: checking for $ac_word" >&5
6053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6054 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 else
6057 if test -n "$ac_ct_NMEDIT"; then
6058 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6062 do
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6070 fi
6071 done
6072 done
6073
6074 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6075 fi
6076 fi
6077 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6078 if test -n "$ac_ct_NMEDIT"; then
6079 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6080 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6081 else
6082 echo "$as_me:$LINENO: result: no" >&5
6083 echo "${ECHO_T}no" >&6
6084 fi
6085
6086 NMEDIT=$ac_ct_NMEDIT
6087 else
6088 NMEDIT="$ac_cv_prog_NMEDIT"
6089 fi
6090
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6094 echo "$as_me:$LINENO: checking for $ac_word" >&5
6095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6096 if test "${ac_cv_prog_LIPO+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 else
6099 if test -n "$LIPO"; then
6100 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6104 do
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6112 fi
6113 done
6114 done
6115
6116 fi
6117 fi
6118 LIPO=$ac_cv_prog_LIPO
6119 if test -n "$LIPO"; then
6120 echo "$as_me:$LINENO: result: $LIPO" >&5
6121 echo "${ECHO_T}$LIPO" >&6
6122 else
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6125 fi
6126
6127 fi
6128 if test -z "$ac_cv_prog_LIPO"; then
6129 ac_ct_LIPO=$LIPO
6130 # Extract the first word of "lipo", so it can be a program name with args.
6131 set dummy lipo; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 else
6137 if test -n "$ac_ct_LIPO"; then
6138 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6142 do
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ac_ct_LIPO="lipo"
6148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 break 2
6150 fi
6151 done
6152 done
6153
6154 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6155 fi
6156 fi
6157 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6158 if test -n "$ac_ct_LIPO"; then
6159 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6160 echo "${ECHO_T}$ac_ct_LIPO" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6164 fi
6165
6166 LIPO=$ac_ct_LIPO
6167 else
6168 LIPO="$ac_cv_prog_LIPO"
6169 fi
6170
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}otool; ac_word=$2
6174 echo "$as_me:$LINENO: checking for $ac_word" >&5
6175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6176 if test "${ac_cv_prog_OTOOL+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 else
6179 if test -n "$OTOOL"; then
6180 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6184 do
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6192 fi
6193 done
6194 done
6195
6196 fi
6197 fi
6198 OTOOL=$ac_cv_prog_OTOOL
6199 if test -n "$OTOOL"; then
6200 echo "$as_me:$LINENO: result: $OTOOL" >&5
6201 echo "${ECHO_T}$OTOOL" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6205 fi
6206
6207 fi
6208 if test -z "$ac_cv_prog_OTOOL"; then
6209 ac_ct_OTOOL=$OTOOL
6210 # Extract the first word of "otool", so it can be a program name with args.
6211 set dummy otool; ac_word=$2
6212 echo "$as_me:$LINENO: checking for $ac_word" >&5
6213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6214 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 if test -n "$ac_ct_OTOOL"; then
6218 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6222 do
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_OTOOL="otool"
6228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6230 fi
6231 done
6232 done
6233
6234 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6235 fi
6236 fi
6237 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6238 if test -n "$ac_ct_OTOOL"; then
6239 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6240 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6241 else
6242 echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6
6244 fi
6245
6246 OTOOL=$ac_ct_OTOOL
6247 else
6248 OTOOL="$ac_cv_prog_OTOOL"
6249 fi
6250
6251 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6254 echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6256 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$OTOOL64"; then
6260 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6264 do
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6272 fi
6273 done
6274 done
6275
6276 fi
6277 fi
6278 OTOOL64=$ac_cv_prog_OTOOL64
6279 if test -n "$OTOOL64"; then
6280 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6281 echo "${ECHO_T}$OTOOL64" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6285 fi
6286
6287 fi
6288 if test -z "$ac_cv_prog_OTOOL64"; then
6289 ac_ct_OTOOL64=$OTOOL64
6290 # Extract the first word of "otool64", so it can be a program name with args.
6291 set dummy otool64; ac_word=$2
6292 echo "$as_me:$LINENO: checking for $ac_word" >&5
6293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6294 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 else
6297 if test -n "$ac_ct_OTOOL64"; then
6298 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6302 do
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_ac_ct_OTOOL64="otool64"
6308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6310 fi
6311 done
6312 done
6313
6314 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6315 fi
6316 fi
6317 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6318 if test -n "$ac_ct_OTOOL64"; then
6319 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6320 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6321 else
6322 echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6
6324 fi
6325
6326 OTOOL64=$ac_ct_OTOOL64
6327 else
6328 OTOOL64="$ac_cv_prog_OTOOL64"
6329 fi
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6358 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6359 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 lt_cv_apple_cc_single_mod=no
6363 if test -z "${LT_MULTI_MODULE}"; then
6364 # By default we will add the -single_module flag. You can override
6365 # by either setting the environment variable LT_MULTI_MODULE
6366 # non-empty at configure time, or by adding -multi_module to the
6367 # link flags.
6368 rm -rf libconftest.dylib*
6369 echo "int foo(void){return 1;}" > conftest.c
6370 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6371 -dynamiclib -Wl,-single_module conftest.c" >&5
6372 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6373 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6374 _lt_result=$?
6375 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6376 lt_cv_apple_cc_single_mod=yes
6377 else
6378 cat conftest.err >&5
6379 fi
6380 rm -rf libconftest.dylib*
6381 rm -f conftest.*
6382 fi
6383 fi
6384 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6385 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6386 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6387 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6388 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391 lt_cv_ld_exported_symbols_list=no
6392 save_LDFLAGS=$LDFLAGS
6393 echo "_main" > conftest.sym
6394 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6395 if test x$gcc_no_link = xyes; then
6396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6398 { (exit 1); exit 1; }; }
6399 fi
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6406
6407 int
6408 main ()
6409 {
6410
6411 ;
6412 return 0;
6413 }
6414 _ACEOF
6415 rm -f conftest.$ac_objext conftest$ac_exeext
6416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6417 (eval $ac_link) 2>conftest.er1
6418 ac_status=$?
6419 grep -v '^ *+' conftest.er1 >conftest.err
6420 rm -f conftest.er1
6421 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try='test -z "$ac_c_werror_flag"
6425 || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try='test -s conftest$ac_exeext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 lt_cv_ld_exported_symbols_list=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6441
6442 lt_cv_ld_exported_symbols_list=no
6443 fi
6444 rm -f conftest.err conftest.$ac_objext \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LDFLAGS="$save_LDFLAGS"
6447
6448 fi
6449 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6450 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6451 case $host_os in
6452 rhapsody* | darwin1.[012])
6453 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6454 darwin1.*)
6455 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6456 darwin*) # darwin 5.x on
6457 # if running on 10.5 or later, the deployment target defaults
6458 # to the OS version, if on x86, and 10.4, the deployment
6459 # target defaults to 10.4. Don't you love it?
6460 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6461 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6462 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6463 10.[012]*)
6464 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6465 10.*)
6466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6467 esac
6468 ;;
6469 esac
6470 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6471 _lt_dar_single_mod='$single_module'
6472 fi
6473 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6474 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6475 else
6476 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6477 fi
6478 if test "$DSYMUTIL" != ":"; then
6479 _lt_dsymutil='~$DSYMUTIL $lib || :'
6480 else
6481 _lt_dsymutil=
6482 fi
6483 ;;
6484 esac
6485
6486 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6487 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6488 if test "${ac_cv_header_stdc+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491 cat >conftest.$ac_ext <<_ACEOF
6492 /* confdefs.h. */
6493 _ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 #include <stdlib.h>
6498 #include <stdarg.h>
6499 #include <string.h>
6500 #include <float.h>
6501
6502 int
6503 main ()
6504 {
6505
6506 ;
6507 return 0;
6508 }
6509 _ACEOF
6510 rm -f conftest.$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6513 ac_status=$?
6514 grep -v '^ *+' conftest.er1 >conftest.err
6515 rm -f conftest.er1
6516 cat conftest.err >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try='test -z "$ac_c_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6532 ac_cv_header_stdc=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6536
6537 ac_cv_header_stdc=no
6538 fi
6539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6540
6541 if test $ac_cv_header_stdc = yes; then
6542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6543 cat >conftest.$ac_ext <<_ACEOF
6544 /* confdefs.h. */
6545 _ACEOF
6546 cat confdefs.h >>conftest.$ac_ext
6547 cat >>conftest.$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6549 #include <string.h>
6550
6551 _ACEOF
6552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6553 $EGREP "memchr" >/dev/null 2>&1; then
6554 :
6555 else
6556 ac_cv_header_stdc=no
6557 fi
6558 rm -f conftest*
6559
6560 fi
6561
6562 if test $ac_cv_header_stdc = yes; then
6563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6564 cat >conftest.$ac_ext <<_ACEOF
6565 /* confdefs.h. */
6566 _ACEOF
6567 cat confdefs.h >>conftest.$ac_ext
6568 cat >>conftest.$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6571
6572 _ACEOF
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "free" >/dev/null 2>&1; then
6575 :
6576 else
6577 ac_cv_header_stdc=no
6578 fi
6579 rm -f conftest*
6580
6581 fi
6582
6583 if test $ac_cv_header_stdc = yes; then
6584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6585 if test "$cross_compiling" = yes; then
6586 :
6587 else
6588 cat >conftest.$ac_ext <<_ACEOF
6589 /* confdefs.h. */
6590 _ACEOF
6591 cat confdefs.h >>conftest.$ac_ext
6592 cat >>conftest.$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6594 #include <ctype.h>
6595 #if ((' ' & 0x0FF) == 0x020)
6596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6598 #else
6599 # define ISLOWER(c) \
6600 (('a' <= (c) && (c) <= 'i') \
6601 || ('j' <= (c) && (c) <= 'r') \
6602 || ('s' <= (c) && (c) <= 'z'))
6603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6604 #endif
6605
6606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6607 int
6608 main ()
6609 {
6610 int i;
6611 for (i = 0; i < 256; i++)
6612 if (XOR (islower (i), ISLOWER (i))
6613 || toupper (i) != TOUPPER (i))
6614 exit(2);
6615 exit (0);
6616 }
6617 _ACEOF
6618 rm -f conftest$ac_exeext
6619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6620 (eval $ac_link) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 (eval $ac_try) 2>&5
6626 ac_status=$?
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6629 :
6630 else
6631 echo "$as_me: program exited with status $ac_status" >&5
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6634
6635 ( exit $ac_status )
6636 ac_cv_header_stdc=no
6637 fi
6638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6639 fi
6640 fi
6641 fi
6642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6644 if test $ac_cv_header_stdc = yes; then
6645
6646 cat >>confdefs.h <<\_ACEOF
6647 #define STDC_HEADERS 1
6648 _ACEOF
6649
6650 fi
6651
6652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6663 inttypes.h stdint.h unistd.h
6664 do
6665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 echo "$as_me:$LINENO: checking for $ac_header" >&5
6667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 else
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h. */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 $ac_includes_default
6678
6679 #include <$ac_header>
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 eval "$as_ac_Header=yes"
6704 else
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6707
6708 eval "$as_ac_Header=no"
6709 fi
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6711 fi
6712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6715 cat >>confdefs.h <<_ACEOF
6716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 _ACEOF
6718
6719 fi
6720
6721 done
6722
6723
6724
6725 for ac_header in dlfcn.h
6726 do
6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 echo "$as_me:$LINENO: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 else
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 $ac_includes_default
6740
6741 #include <$ac_header>
6742 _ACEOF
6743 rm -f conftest.$ac_objext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6745 (eval $ac_compile) 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try='test -z "$ac_c_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try='test -s conftest.$ac_objext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6765 eval "$as_ac_Header=yes"
6766 else
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6769
6770 eval "$as_ac_Header=no"
6771 fi
6772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6773 fi
6774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6777 cat >>confdefs.h <<_ACEOF
6778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 _ACEOF
6780
6781 fi
6782
6783 done
6784
6785
6786
6787 ac_ext=cc
6788 ac_cpp='$CXXCPP $CPPFLAGS'
6789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6792 if test -n "$ac_tool_prefix"; then
6793 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6794 do
6795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6797 echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6799 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 else
6802 if test -n "$CXX"; then
6803 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6807 do
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6815 fi
6816 done
6817 done
6818
6819 fi
6820 fi
6821 CXX=$glibcxx_cv_prog_CXX
6822 if test -n "$CXX"; then
6823 echo "$as_me:$LINENO: result: $CXX" >&5
6824 echo "${ECHO_T}$CXX" >&6
6825 else
6826 echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6
6828 fi
6829
6830 test -n "$CXX" && break
6831 done
6832 fi
6833 if test -z "$CXX"; then
6834 ac_ct_CXX=$CXX
6835 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6836 do
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy $ac_prog; ac_word=$2
6839 echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 if test -n "$ac_ct_CXX"; then
6845 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6849 do
6850 IFS=$as_save_IFS
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_CXX="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 break 2
6857 fi
6858 done
6859 done
6860
6861 fi
6862 fi
6863 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6864 if test -n "$ac_ct_CXX"; then
6865 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6866 echo "${ECHO_T}$ac_ct_CXX" >&6
6867 else
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6870 fi
6871
6872 test -n "$ac_ct_CXX" && break
6873 done
6874 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6875
6876 CXX=$ac_ct_CXX
6877 fi
6878
6879
6880 # Provide some information about the compiler.
6881 echo "$as_me:$LINENO:" \
6882 "checking for C++ compiler version" >&5
6883 ac_compiler=`set X $ac_compile; echo $2`
6884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6885 (eval $ac_compiler --version </dev/null >&5) 2>&5
6886 ac_status=$?
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }
6889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6890 (eval $ac_compiler -v </dev/null >&5) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }
6894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6895 (eval $ac_compiler -V </dev/null >&5) 2>&5
6896 ac_status=$?
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); }
6899
6900 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6901 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6902 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 else
6905 cat >conftest.$ac_ext <<_ACEOF
6906 /* confdefs.h. */
6907 _ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6911
6912 int
6913 main ()
6914 {
6915 #ifndef __GNUC__
6916 choke me
6917 #endif
6918
6919 ;
6920 return 0;
6921 }
6922 _ACEOF
6923 rm -f conftest.$ac_objext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6925 (eval $ac_compile) 2>conftest.er1
6926 ac_status=$?
6927 grep -v '^ *+' conftest.er1 >conftest.err
6928 rm -f conftest.er1
6929 cat conftest.err >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } &&
6932 { ac_try='test -z "$ac_cxx_werror_flag"
6933 || test ! -s conftest.err'
6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 (eval $ac_try) 2>&5
6936 ac_status=$?
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; } &&
6939 { ac_try='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 (eval $ac_try) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_compiler_gnu=yes
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6949
6950 ac_compiler_gnu=no
6951 fi
6952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6953 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6954
6955 fi
6956 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6957 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6958 GXX=`test $ac_compiler_gnu = yes && echo yes`
6959 ac_test_CXXFLAGS=${CXXFLAGS+set}
6960 ac_save_CXXFLAGS=$CXXFLAGS
6961 CXXFLAGS="-g"
6962 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6964 if test "${ac_cv_prog_cxx_g+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967 cat >conftest.$ac_ext <<_ACEOF
6968 /* confdefs.h. */
6969 _ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6973
6974 int
6975 main ()
6976 {
6977
6978 ;
6979 return 0;
6980 }
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6984 (eval $ac_compile) 2>conftest.er1
6985 ac_status=$?
6986 grep -v '^ *+' conftest.er1 >conftest.err
6987 rm -f conftest.er1
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_cxx_werror_flag"
6992 || test ! -s conftest.err'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; } &&
6998 { ac_try='test -s conftest.$ac_objext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_prog_cxx_g=yes
7005 else
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7008
7009 ac_cv_prog_cxx_g=no
7010 fi
7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7012 fi
7013 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7014 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7015 if test "$ac_test_CXXFLAGS" = set; then
7016 CXXFLAGS=$ac_save_CXXFLAGS
7017 elif test $ac_cv_prog_cxx_g = yes; then
7018 if test "$GXX" = yes; then
7019 CXXFLAGS="-g -O2"
7020 else
7021 CXXFLAGS="-g"
7022 fi
7023 else
7024 if test "$GXX" = yes; then
7025 CXXFLAGS="-O2"
7026 else
7027 CXXFLAGS=
7028 fi
7029 fi
7030 for ac_declaration in \
7031 '' \
7032 'extern "C" void std::exit (int) throw (); using std::exit;' \
7033 'extern "C" void std::exit (int); using std::exit;' \
7034 'extern "C" void exit (int) throw ();' \
7035 'extern "C" void exit (int);' \
7036 'void exit (int);'
7037 do
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 $ac_declaration
7045 #include <stdlib.h>
7046 int
7047 main ()
7048 {
7049 exit (42);
7050 ;
7051 return 0;
7052 }
7053 _ACEOF
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7057 ac_status=$?
7058 grep -v '^ *+' conftest.er1 >conftest.err
7059 rm -f conftest.er1
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_cxx_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 (eval $ac_try) 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7076 :
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7080
7081 continue
7082 fi
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 $ac_declaration
7091 int
7092 main ()
7093 {
7094 exit (42);
7095 ;
7096 return 0;
7097 }
7098 _ACEOF
7099 rm -f conftest.$ac_objext
7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7101 (eval $ac_compile) 2>conftest.er1
7102 ac_status=$?
7103 grep -v '^ *+' conftest.er1 >conftest.err
7104 rm -f conftest.er1
7105 cat conftest.err >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); } &&
7108 { ac_try='test -z "$ac_cxx_werror_flag"
7109 || test ! -s conftest.err'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 (eval $ac_try) 2>&5
7112 ac_status=$?
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; } &&
7115 { ac_try='test -s conftest.$ac_objext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 (eval $ac_try) 2>&5
7118 ac_status=$?
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 break
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7125
7126 fi
7127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7128 done
7129 rm -f conftest*
7130 if test -n "$ac_declaration"; then
7131 echo '#ifdef __cplusplus' >>confdefs.h
7132 echo $ac_declaration >>confdefs.h
7133 echo '#endif' >>confdefs.h
7134 fi
7135
7136 ac_ext=c
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7141
7142 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7143 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7144 (test "X$CXX" != "Xg++"))) ; then
7145 ac_ext=cc
7146 ac_cpp='$CXXCPP $CPPFLAGS'
7147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7150 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7151 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7152 if test -z "$CXXCPP"; then
7153 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else
7156 # Double quotes because CXXCPP needs to be expanded
7157 for CXXCPP in "$CXX -E" "/lib/cpp"
7158 do
7159 ac_preproc_ok=false
7160 for ac_cxx_preproc_warn_flag in '' yes
7161 do
7162 # Use a header file that comes with gcc, so configuring glibc
7163 # with a fresh cross-compiler works.
7164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7165 # <limits.h> exists even on freestanding compilers.
7166 # On the NeXT, cc -E runs the code through the compiler's parser,
7167 # not just through cpp. "Syntax error" is here to catch this case.
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179 Syntax error
7180 _ACEOF
7181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } >/dev/null; then
7189 if test -s conftest.err; then
7190 ac_cpp_err=$ac_cxx_preproc_warn_flag
7191 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7192 else
7193 ac_cpp_err=
7194 fi
7195 else
7196 ac_cpp_err=yes
7197 fi
7198 if test -z "$ac_cpp_err"; then
7199 :
7200 else
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7203
7204 # Broken: fails on valid input.
7205 continue
7206 fi
7207 rm -f conftest.err conftest.$ac_ext
7208
7209 # OK, works on sane cases. Now check whether non-existent headers
7210 # can be detected and how.
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7217 #include <ac_nonexistent.h>
7218 _ACEOF
7219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7221 ac_status=$?
7222 grep -v '^ *+' conftest.er1 >conftest.err
7223 rm -f conftest.er1
7224 cat conftest.err >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } >/dev/null; then
7227 if test -s conftest.err; then
7228 ac_cpp_err=$ac_cxx_preproc_warn_flag
7229 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7230 else
7231 ac_cpp_err=
7232 fi
7233 else
7234 ac_cpp_err=yes
7235 fi
7236 if test -z "$ac_cpp_err"; then
7237 # Broken: success on invalid input.
7238 continue
7239 else
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.$ac_ext >&5
7242
7243 # Passes both tests.
7244 ac_preproc_ok=:
7245 break
7246 fi
7247 rm -f conftest.err conftest.$ac_ext
7248
7249 done
7250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7251 rm -f conftest.err conftest.$ac_ext
7252 if $ac_preproc_ok; then
7253 break
7254 fi
7255
7256 done
7257 ac_cv_prog_CXXCPP=$CXXCPP
7258
7259 fi
7260 CXXCPP=$ac_cv_prog_CXXCPP
7261 else
7262 ac_cv_prog_CXXCPP=$CXXCPP
7263 fi
7264 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7265 echo "${ECHO_T}$CXXCPP" >&6
7266 ac_preproc_ok=false
7267 for ac_cxx_preproc_warn_flag in '' yes
7268 do
7269 # Use a header file that comes with gcc, so configuring glibc
7270 # with a fresh cross-compiler works.
7271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7272 # <limits.h> exists even on freestanding compilers.
7273 # On the NeXT, cc -E runs the code through the compiler's parser,
7274 # not just through cpp. "Syntax error" is here to catch this case.
7275 cat >conftest.$ac_ext <<_ACEOF
7276 /* confdefs.h. */
7277 _ACEOF
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 #ifdef __STDC__
7282 # include <limits.h>
7283 #else
7284 # include <assert.h>
7285 #endif
7286 Syntax error
7287 _ACEOF
7288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } >/dev/null; then
7296 if test -s conftest.err; then
7297 ac_cpp_err=$ac_cxx_preproc_warn_flag
7298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7299 else
7300 ac_cpp_err=
7301 fi
7302 else
7303 ac_cpp_err=yes
7304 fi
7305 if test -z "$ac_cpp_err"; then
7306 :
7307 else
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7310
7311 # Broken: fails on valid input.
7312 continue
7313 fi
7314 rm -f conftest.err conftest.$ac_ext
7315
7316 # OK, works on sane cases. Now check whether non-existent headers
7317 # can be detected and how.
7318 cat >conftest.$ac_ext <<_ACEOF
7319 /* confdefs.h. */
7320 _ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <ac_nonexistent.h>
7325 _ACEOF
7326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7328 ac_status=$?
7329 grep -v '^ *+' conftest.er1 >conftest.err
7330 rm -f conftest.er1
7331 cat conftest.err >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } >/dev/null; then
7334 if test -s conftest.err; then
7335 ac_cpp_err=$ac_cxx_preproc_warn_flag
7336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7337 else
7338 ac_cpp_err=
7339 fi
7340 else
7341 ac_cpp_err=yes
7342 fi
7343 if test -z "$ac_cpp_err"; then
7344 # Broken: success on invalid input.
7345 continue
7346 else
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7349
7350 # Passes both tests.
7351 ac_preproc_ok=:
7352 break
7353 fi
7354 rm -f conftest.err conftest.$ac_ext
7355
7356 done
7357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7358 rm -f conftest.err conftest.$ac_ext
7359 if $ac_preproc_ok; then
7360 :
7361 else
7362 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7364 _lt_caught_CXX_error=yes; }
7365 fi
7366
7367 ac_ext=c
7368 ac_cpp='$CPP $CPPFLAGS'
7369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7372
7373 else
7374 _lt_caught_CXX_error=yes
7375 fi
7376
7377
7378
7379
7380
7381 # Set options
7382
7383
7384
7385
7386 enable_win32_dll=no
7387
7388
7389 # Check whether --enable-shared or --disable-shared was given.
7390 if test "${enable_shared+set}" = set; then
7391 enableval="$enable_shared"
7392 p=${PACKAGE-default}
7393 case $enableval in
7394 yes) enable_shared=yes ;;
7395 no) enable_shared=no ;;
7396 *)
7397 enable_shared=no
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7400 for pkg in $enableval; do
7401 IFS="$lt_save_ifs"
7402 if test "X$pkg" = "X$p"; then
7403 enable_shared=yes
7404 fi
7405 done
7406 IFS="$lt_save_ifs"
7407 ;;
7408 esac
7409 else
7410 enable_shared=yes
7411 fi;
7412
7413
7414
7415
7416
7417
7418
7419
7420 # Check whether --enable-static or --disable-static was given.
7421 if test "${enable_static+set}" = set; then
7422 enableval="$enable_static"
7423 p=${PACKAGE-default}
7424 case $enableval in
7425 yes) enable_static=yes ;;
7426 no) enable_static=no ;;
7427 *)
7428 enable_static=no
7429 # Look at the argument we got. We use all the common list separators.
7430 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7431 for pkg in $enableval; do
7432 IFS="$lt_save_ifs"
7433 if test "X$pkg" = "X$p"; then
7434 enable_static=yes
7435 fi
7436 done
7437 IFS="$lt_save_ifs"
7438 ;;
7439 esac
7440 else
7441 enable_static=yes
7442 fi;
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452 # Check whether --with-pic or --without-pic was given.
7453 if test "${with_pic+set}" = set; then
7454 withval="$with_pic"
7455 pic_mode="$withval"
7456 else
7457 pic_mode=default
7458 fi;
7459
7460 test -z "$pic_mode" && pic_mode=default
7461
7462
7463
7464
7465
7466
7467
7468 # Check whether --enable-fast-install or --disable-fast-install was given.
7469 if test "${enable_fast_install+set}" = set; then
7470 enableval="$enable_fast_install"
7471 p=${PACKAGE-default}
7472 case $enableval in
7473 yes) enable_fast_install=yes ;;
7474 no) enable_fast_install=no ;;
7475 *)
7476 enable_fast_install=no
7477 # Look at the argument we got. We use all the common list separators.
7478 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479 for pkg in $enableval; do
7480 IFS="$lt_save_ifs"
7481 if test "X$pkg" = "X$p"; then
7482 enable_fast_install=yes
7483 fi
7484 done
7485 IFS="$lt_save_ifs"
7486 ;;
7487 esac
7488 else
7489 enable_fast_install=yes
7490 fi;
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501 # This can be used to rebuild libtool when needed
7502 LIBTOOL_DEPS="$ltmain"
7503
7504 # Always use our own libtool.
7505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531 test -z "$LN_S" && LN_S="ln -s"
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546 if test -n "${ZSH_VERSION+set}" ; then
7547 setopt NO_GLOB_SUBST
7548 fi
7549
7550 echo "$as_me:$LINENO: checking for objdir" >&5
7551 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7552 if test "${lt_cv_objdir+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 else
7555 rm -f .libs 2>/dev/null
7556 mkdir .libs 2>/dev/null
7557 if test -d .libs; then
7558 lt_cv_objdir=.libs
7559 else
7560 # MS-DOS does not allow filenames that begin with a dot.
7561 lt_cv_objdir=_libs
7562 fi
7563 rmdir .libs 2>/dev/null
7564 fi
7565 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7566 echo "${ECHO_T}$lt_cv_objdir" >&6
7567 objdir=$lt_cv_objdir
7568
7569
7570
7571
7572
7573 cat >>confdefs.h <<_ACEOF
7574 #define LT_OBJDIR "$lt_cv_objdir/"
7575 _ACEOF
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593 case $host_os in
7594 aix3*)
7595 # AIX sometimes has problems with the GCC collect2 program. For some
7596 # reason, if we set the COLLECT_NAMES environment variable, the problems
7597 # vanish in a puff of smoke.
7598 if test "X${COLLECT_NAMES+set}" != Xset; then
7599 COLLECT_NAMES=
7600 export COLLECT_NAMES
7601 fi
7602 ;;
7603 esac
7604
7605 # Sed substitution that helps us do robust quoting. It backslashifies
7606 # metacharacters that are still active within double-quoted strings.
7607 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7608
7609 # Same as above, but do not quote variable references.
7610 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7611
7612 # Sed substitution to delay expansion of an escaped shell variable in a
7613 # double_quote_subst'ed string.
7614 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7615
7616 # Sed substitution to delay expansion of an escaped single quote.
7617 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7618
7619 # Sed substitution to avoid accidental globbing in evaled expressions
7620 no_glob_subst='s/\*/\\\*/g'
7621
7622 # Global variables:
7623 ofile=libtool
7624 can_build_shared=yes
7625
7626 # All known linkers require a `.a' archive for static linking (except MSVC,
7627 # which needs '.lib').
7628 libext=a
7629
7630 with_gnu_ld="$lt_cv_prog_gnu_ld"
7631
7632 old_CC="$CC"
7633 old_CFLAGS="$CFLAGS"
7634
7635 # Set sane defaults for various variables
7636 test -z "$CC" && CC=cc
7637 test -z "$LTCC" && LTCC=$CC
7638 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7639 test -z "$LD" && LD=ld
7640 test -z "$ac_objext" && ac_objext=o
7641
7642 for cc_temp in $compiler""; do
7643 case $cc_temp in
7644 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7645 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7646 \-*) ;;
7647 *) break;;
7648 esac
7649 done
7650 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7651
7652
7653 # Only perform the check for file, if the check method requires it
7654 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7655 case $deplibs_check_method in
7656 file_magic*)
7657 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7658 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7659 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7660 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 else
7663 case $MAGIC_CMD in
7664 [\\/*] | ?:[\\/]*)
7665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7666 ;;
7667 *)
7668 lt_save_MAGIC_CMD="$MAGIC_CMD"
7669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7670 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7671 for ac_dir in $ac_dummy; do
7672 IFS="$lt_save_ifs"
7673 test -z "$ac_dir" && ac_dir=.
7674 if test -f $ac_dir/${ac_tool_prefix}file; then
7675 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7676 if test -n "$file_magic_test_file"; then
7677 case $deplibs_check_method in
7678 "file_magic "*)
7679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7682 $EGREP "$file_magic_regex" > /dev/null; then
7683 :
7684 else
7685 cat <<_LT_EOF 1>&2
7686
7687 *** Warning: the command libtool uses to detect shared libraries,
7688 *** $file_magic_cmd, produces output that libtool cannot recognize.
7689 *** The result is that libtool may fail to recognize shared libraries
7690 *** as such. This will affect the creation of libtool libraries that
7691 *** depend on shared libraries, but programs linked with such libtool
7692 *** libraries will work regardless of this problem. Nevertheless, you
7693 *** may want to report the problem to your system manager and/or to
7694 *** bug-libtool@gnu.org
7695
7696 _LT_EOF
7697 fi ;;
7698 esac
7699 fi
7700 break
7701 fi
7702 done
7703 IFS="$lt_save_ifs"
7704 MAGIC_CMD="$lt_save_MAGIC_CMD"
7705 ;;
7706 esac
7707 fi
7708
7709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7710 if test -n "$MAGIC_CMD"; then
7711 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7712 echo "${ECHO_T}$MAGIC_CMD" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7716 fi
7717
7718
7719
7720
7721
7722 if test -z "$lt_cv_path_MAGIC_CMD"; then
7723 if test -n "$ac_tool_prefix"; then
7724 echo "$as_me:$LINENO: checking for file" >&5
7725 echo $ECHO_N "checking for file... $ECHO_C" >&6
7726 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 else
7729 case $MAGIC_CMD in
7730 [\\/*] | ?:[\\/]*)
7731 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7732 ;;
7733 *)
7734 lt_save_MAGIC_CMD="$MAGIC_CMD"
7735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7736 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7737 for ac_dir in $ac_dummy; do
7738 IFS="$lt_save_ifs"
7739 test -z "$ac_dir" && ac_dir=.
7740 if test -f $ac_dir/file; then
7741 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7742 if test -n "$file_magic_test_file"; then
7743 case $deplibs_check_method in
7744 "file_magic "*)
7745 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7746 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7747 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7748 $EGREP "$file_magic_regex" > /dev/null; then
7749 :
7750 else
7751 cat <<_LT_EOF 1>&2
7752
7753 *** Warning: the command libtool uses to detect shared libraries,
7754 *** $file_magic_cmd, produces output that libtool cannot recognize.
7755 *** The result is that libtool may fail to recognize shared libraries
7756 *** as such. This will affect the creation of libtool libraries that
7757 *** depend on shared libraries, but programs linked with such libtool
7758 *** libraries will work regardless of this problem. Nevertheless, you
7759 *** may want to report the problem to your system manager and/or to
7760 *** bug-libtool@gnu.org
7761
7762 _LT_EOF
7763 fi ;;
7764 esac
7765 fi
7766 break
7767 fi
7768 done
7769 IFS="$lt_save_ifs"
7770 MAGIC_CMD="$lt_save_MAGIC_CMD"
7771 ;;
7772 esac
7773 fi
7774
7775 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7776 if test -n "$MAGIC_CMD"; then
7777 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7778 echo "${ECHO_T}$MAGIC_CMD" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7782 fi
7783
7784
7785 else
7786 MAGIC_CMD=:
7787 fi
7788 fi
7789
7790 fi
7791 ;;
7792 esac
7793
7794 # Use C for the default configuration in the libtool script
7795
7796 lt_save_CC="$CC"
7797 ac_ext=c
7798 ac_cpp='$CPP $CPPFLAGS'
7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7802
7803
7804 # Source file extension for C test sources.
7805 ac_ext=c
7806
7807 # Object file extension for compiled C test sources.
7808 objext=o
7809 objext=$objext
7810
7811 # Code to be used in simple compile tests
7812 lt_simple_compile_test_code="int some_variable = 0;"
7813
7814 # Code to be used in simple link tests
7815 lt_simple_link_test_code='int main(){return(0);}'
7816
7817
7818
7819
7820
7821
7822
7823 # If no C compiler was specified, use CC.
7824 LTCC=${LTCC-"$CC"}
7825
7826 # If no C compiler flags were specified, use CFLAGS.
7827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7828
7829 # Allow CC to be a program name with arguments.
7830 compiler=$CC
7831
7832 # Save the default compiler, since it gets overwritten when the other
7833 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7834 compiler_DEFAULT=$CC
7835
7836 # save warnings/boilerplate of simple test code
7837 ac_outfile=conftest.$ac_objext
7838 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7839 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7840 _lt_compiler_boilerplate=`cat conftest.err`
7841 $RM conftest*
7842
7843 ac_outfile=conftest.$ac_objext
7844 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7845 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7846 _lt_linker_boilerplate=`cat conftest.err`
7847 $RM -r conftest*
7848
7849
7850 ## CAVEAT EMPTOR:
7851 ## There is no encapsulation within the following macros, do not change
7852 ## the running order or otherwise move them around unless you know exactly
7853 ## what you are doing...
7854 if test -n "$compiler"; then
7855
7856 lt_prog_compiler_no_builtin_flag=
7857
7858 if test "$GCC" = yes; then
7859 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7860
7861 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7862 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7863 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 lt_cv_prog_compiler_rtti_exceptions=no
7867 ac_outfile=conftest.$ac_objext
7868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7869 lt_compiler_flag="-fno-rtti -fno-exceptions"
7870 # Insert the option either (1) after the last *FLAGS variable, or
7871 # (2) before a word containing "conftest.", or (3) at the end.
7872 # Note that $ac_compile itself does not contain backslashes and begins
7873 # with a dollar sign (not a hyphen), so the echo should work correctly.
7874 # The option is referenced via a variable to avoid confusing sed.
7875 lt_compile=`echo "$ac_compile" | $SED \
7876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7878 -e 's:$: $lt_compiler_flag:'`
7879 (eval echo "\"\$as_me:7879: $lt_compile\"" >&5)
7880 (eval "$lt_compile" 2>conftest.err)
7881 ac_status=$?
7882 cat conftest.err >&5
7883 echo "$as_me:7883: \$? = $ac_status" >&5
7884 if (exit $ac_status) && test -s "$ac_outfile"; then
7885 # The compiler can only warn and ignore the option if not recognized
7886 # So say no if there are warnings other than the usual output.
7887 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7888 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7889 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7890 lt_cv_prog_compiler_rtti_exceptions=yes
7891 fi
7892 fi
7893 $RM conftest*
7894
7895 fi
7896 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7897 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7898
7899 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7900 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7901 else
7902 :
7903 fi
7904
7905 fi
7906
7907
7908
7909
7910
7911
7912 lt_prog_compiler_wl=
7913 lt_prog_compiler_pic=
7914 lt_prog_compiler_static=
7915
7916 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7917 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7918
7919 if test "$GCC" = yes; then
7920 lt_prog_compiler_wl='-Wl,'
7921 lt_prog_compiler_static='-static'
7922
7923 case $host_os in
7924 aix*)
7925 # All AIX code is PIC.
7926 if test "$host_cpu" = ia64; then
7927 # AIX 5 now supports IA64 processor
7928 lt_prog_compiler_static='-Bstatic'
7929 fi
7930 ;;
7931
7932 amigaos*)
7933 case $host_cpu in
7934 powerpc)
7935 # see comment about AmigaOS4 .so support
7936 lt_prog_compiler_pic='-fPIC'
7937 ;;
7938 m68k)
7939 # FIXME: we need at least 68020 code to build shared libraries, but
7940 # adding the `-m68020' flag to GCC prevents building anything better,
7941 # like `-m68040'.
7942 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7943 ;;
7944 esac
7945 ;;
7946
7947 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7948 # PIC is the default for these OSes.
7949 ;;
7950
7951 mingw* | cygwin* | pw32* | os2* | cegcc*)
7952 # This hack is so that the source file can tell whether it is being
7953 # built for inclusion in a dll (and should export symbols for example).
7954 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7955 # (--disable-auto-import) libraries
7956 lt_prog_compiler_pic='-DDLL_EXPORT'
7957 ;;
7958
7959 darwin* | rhapsody*)
7960 # PIC is the default on this platform
7961 # Common symbols not allowed in MH_DYLIB files
7962 lt_prog_compiler_pic='-fno-common'
7963 ;;
7964
7965 hpux*)
7966 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7967 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7968 # sets the default TLS model and affects inlining.
7969 case $host_cpu in
7970 hppa*64*)
7971 # +Z the default
7972 ;;
7973 *)
7974 lt_prog_compiler_pic='-fPIC'
7975 ;;
7976 esac
7977 ;;
7978
7979 interix[3-9]*)
7980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7981 # Instead, we relocate shared libraries at runtime.
7982 ;;
7983
7984 msdosdjgpp*)
7985 # Just because we use GCC doesn't mean we suddenly get shared libraries
7986 # on systems that don't support them.
7987 lt_prog_compiler_can_build_shared=no
7988 enable_shared=no
7989 ;;
7990
7991 *nto* | *qnx*)
7992 # QNX uses GNU C++, but need to define -shared option too, otherwise
7993 # it will coredump.
7994 lt_prog_compiler_pic='-fPIC -shared'
7995 ;;
7996
7997 sysv4*MP*)
7998 if test -d /usr/nec; then
7999 lt_prog_compiler_pic=-Kconform_pic
8000 fi
8001 ;;
8002
8003 *)
8004 lt_prog_compiler_pic='-fPIC'
8005 ;;
8006 esac
8007 else
8008 # PORTME Check for flag to pass linker flags through the system compiler.
8009 case $host_os in
8010 aix*)
8011 lt_prog_compiler_wl='-Wl,'
8012 if test "$host_cpu" = ia64; then
8013 # AIX 5 now supports IA64 processor
8014 lt_prog_compiler_static='-Bstatic'
8015 else
8016 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8017 fi
8018 ;;
8019
8020 mingw* | cygwin* | pw32* | os2* | cegcc*)
8021 # This hack is so that the source file can tell whether it is being
8022 # built for inclusion in a dll (and should export symbols for example).
8023 lt_prog_compiler_pic='-DDLL_EXPORT'
8024 ;;
8025
8026 hpux9* | hpux10* | hpux11*)
8027 lt_prog_compiler_wl='-Wl,'
8028 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8029 # not for PA HP-UX.
8030 case $host_cpu in
8031 hppa*64*|ia64*)
8032 # +Z the default
8033 ;;
8034 *)
8035 lt_prog_compiler_pic='+Z'
8036 ;;
8037 esac
8038 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8039 lt_prog_compiler_static='${wl}-a ${wl}archive'
8040 ;;
8041
8042 irix5* | irix6* | nonstopux*)
8043 lt_prog_compiler_wl='-Wl,'
8044 # PIC (with -KPIC) is the default.
8045 lt_prog_compiler_static='-non_shared'
8046 ;;
8047
8048 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8049 case $cc_basename in
8050 # old Intel for x86_64 which still supported -KPIC.
8051 ecc*)
8052 lt_prog_compiler_wl='-Wl,'
8053 lt_prog_compiler_pic='-KPIC'
8054 lt_prog_compiler_static='-static'
8055 ;;
8056 # icc used to be incompatible with GCC.
8057 # ICC 10 doesn't accept -KPIC any more.
8058 icc* | ifort*)
8059 lt_prog_compiler_wl='-Wl,'
8060 lt_prog_compiler_pic='-fPIC'
8061 lt_prog_compiler_static='-static'
8062 ;;
8063 # Lahey Fortran 8.1.
8064 lf95*)
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='--shared'
8067 lt_prog_compiler_static='--static'
8068 ;;
8069 pgcc* | pgf77* | pgf90* | pgf95*)
8070 # Portland Group compilers (*not* the Pentium gcc compiler,
8071 # which looks to be a dead project)
8072 lt_prog_compiler_wl='-Wl,'
8073 lt_prog_compiler_pic='-fpic'
8074 lt_prog_compiler_static='-Bstatic'
8075 ;;
8076 ccc*)
8077 lt_prog_compiler_wl='-Wl,'
8078 # All Alpha code is PIC.
8079 lt_prog_compiler_static='-non_shared'
8080 ;;
8081 xl*)
8082 # IBM XL C 8.0/Fortran 10.1 on PPC
8083 lt_prog_compiler_wl='-Wl,'
8084 lt_prog_compiler_pic='-qpic'
8085 lt_prog_compiler_static='-qstaticlink'
8086 ;;
8087 *)
8088 case `$CC -V 2>&1 | sed 5q` in
8089 *Sun\ C*)
8090 # Sun C 5.9
8091 lt_prog_compiler_pic='-KPIC'
8092 lt_prog_compiler_static='-Bstatic'
8093 lt_prog_compiler_wl='-Wl,'
8094 ;;
8095 *Sun\ F*)
8096 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8097 lt_prog_compiler_pic='-KPIC'
8098 lt_prog_compiler_static='-Bstatic'
8099 lt_prog_compiler_wl=''
8100 ;;
8101 esac
8102 ;;
8103 esac
8104 ;;
8105
8106 newsos6)
8107 lt_prog_compiler_pic='-KPIC'
8108 lt_prog_compiler_static='-Bstatic'
8109 ;;
8110
8111 *nto* | *qnx*)
8112 # QNX uses GNU C++, but need to define -shared option too, otherwise
8113 # it will coredump.
8114 lt_prog_compiler_pic='-fPIC -shared'
8115 ;;
8116
8117 osf3* | osf4* | osf5*)
8118 lt_prog_compiler_wl='-Wl,'
8119 # All OSF/1 code is PIC.
8120 lt_prog_compiler_static='-non_shared'
8121 ;;
8122
8123 rdos*)
8124 lt_prog_compiler_static='-non_shared'
8125 ;;
8126
8127 solaris*)
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-Bstatic'
8130 case $cc_basename in
8131 f77* | f90* | f95*)
8132 lt_prog_compiler_wl='-Qoption ld ';;
8133 *)
8134 lt_prog_compiler_wl='-Wl,';;
8135 esac
8136 ;;
8137
8138 sunos4*)
8139 lt_prog_compiler_wl='-Qoption ld '
8140 lt_prog_compiler_pic='-PIC'
8141 lt_prog_compiler_static='-Bstatic'
8142 ;;
8143
8144 sysv4 | sysv4.2uw2* | sysv4.3*)
8145 lt_prog_compiler_wl='-Wl,'
8146 lt_prog_compiler_pic='-KPIC'
8147 lt_prog_compiler_static='-Bstatic'
8148 ;;
8149
8150 sysv4*MP*)
8151 if test -d /usr/nec ;then
8152 lt_prog_compiler_pic='-Kconform_pic'
8153 lt_prog_compiler_static='-Bstatic'
8154 fi
8155 ;;
8156
8157 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8158 lt_prog_compiler_wl='-Wl,'
8159 lt_prog_compiler_pic='-KPIC'
8160 lt_prog_compiler_static='-Bstatic'
8161 ;;
8162
8163 unicos*)
8164 lt_prog_compiler_wl='-Wl,'
8165 lt_prog_compiler_can_build_shared=no
8166 ;;
8167
8168 uts4*)
8169 lt_prog_compiler_pic='-pic'
8170 lt_prog_compiler_static='-Bstatic'
8171 ;;
8172
8173 *)
8174 lt_prog_compiler_can_build_shared=no
8175 ;;
8176 esac
8177 fi
8178
8179 case $host_os in
8180 # For platforms which do not support PIC, -DPIC is meaningless:
8181 *djgpp*)
8182 lt_prog_compiler_pic=
8183 ;;
8184 *)
8185 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8186 ;;
8187 esac
8188 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8189 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8190
8191
8192
8193
8194
8195
8196 #
8197 # Check to make sure the PIC flag actually works.
8198 #
8199 if test -n "$lt_prog_compiler_pic"; then
8200 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8201 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8202 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 lt_cv_prog_compiler_pic_works=no
8206 ac_outfile=conftest.$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err)
8220 ac_status=$?
8221 cat conftest.err >&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8228 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_pic_works=yes
8230 fi
8231 fi
8232 $RM conftest*
8233
8234 fi
8235 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8236 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8237
8238 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8239 case $lt_prog_compiler_pic in
8240 "" | " "*) ;;
8241 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8242 esac
8243 else
8244 lt_prog_compiler_pic=
8245 lt_prog_compiler_can_build_shared=no
8246 fi
8247
8248 fi
8249
8250
8251
8252
8253
8254
8255 #
8256 # Check to make sure the static flag actually works.
8257 #
8258 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8259 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8261 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 else
8264 lt_cv_prog_compiler_static_works=no
8265 save_LDFLAGS="$LDFLAGS"
8266 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8267 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8268 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8269 # The linker can only warn and ignore the option if not recognized
8270 # So say no if there are warnings
8271 if test -s conftest.err; then
8272 # Append any errors to the config.log.
8273 cat conftest.err 1>&5
8274 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8276 if diff conftest.exp conftest.er2 >/dev/null; then
8277 lt_cv_prog_compiler_static_works=yes
8278 fi
8279 else
8280 lt_cv_prog_compiler_static_works=yes
8281 fi
8282 fi
8283 $RM -r conftest*
8284 LDFLAGS="$save_LDFLAGS"
8285
8286 fi
8287 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8288 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8289
8290 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8291 :
8292 else
8293 lt_prog_compiler_static=
8294 fi
8295
8296
8297
8298
8299
8300
8301
8302 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8303 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8304 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 else
8307 lt_cv_prog_compiler_c_o=no
8308 $RM -r conftest 2>/dev/null
8309 mkdir conftest
8310 cd conftest
8311 mkdir out
8312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8313
8314 lt_compiler_flag="-o out/conftest2.$ac_objext"
8315 # Insert the option either (1) after the last *FLAGS variable, or
8316 # (2) before a word containing "conftest.", or (3) at the end.
8317 # Note that $ac_compile itself does not contain backslashes and begins
8318 # with a dollar sign (not a hyphen), so the echo should work correctly.
8319 lt_compile=`echo "$ac_compile" | $SED \
8320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322 -e 's:$: $lt_compiler_flag:'`
8323 (eval echo "\"\$as_me:8323: $lt_compile\"" >&5)
8324 (eval "$lt_compile" 2>out/conftest.err)
8325 ac_status=$?
8326 cat out/conftest.err >&5
8327 echo "$as_me:8327: \$? = $ac_status" >&5
8328 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8329 then
8330 # The compiler can only warn and ignore the option if not recognized
8331 # So say no if there are warnings
8332 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8333 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8334 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8335 lt_cv_prog_compiler_c_o=yes
8336 fi
8337 fi
8338 chmod u+w . 2>&5
8339 $RM conftest*
8340 # SGI C++ compiler will create directory out/ii_files/ for
8341 # template instantiation
8342 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8343 $RM out/* && rmdir out
8344 cd ..
8345 $RM -r conftest
8346 $RM conftest*
8347
8348 fi
8349 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8350 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8351
8352
8353
8354
8355
8356
8357 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8358 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8359 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 else
8362 lt_cv_prog_compiler_c_o=no
8363 $RM -r conftest 2>/dev/null
8364 mkdir conftest
8365 cd conftest
8366 mkdir out
8367 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8368
8369 lt_compiler_flag="-o out/conftest2.$ac_objext"
8370 # Insert the option either (1) after the last *FLAGS variable, or
8371 # (2) before a word containing "conftest.", or (3) at the end.
8372 # Note that $ac_compile itself does not contain backslashes and begins
8373 # with a dollar sign (not a hyphen), so the echo should work correctly.
8374 lt_compile=`echo "$ac_compile" | $SED \
8375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377 -e 's:$: $lt_compiler_flag:'`
8378 (eval echo "\"\$as_me:8378: $lt_compile\"" >&5)
8379 (eval "$lt_compile" 2>out/conftest.err)
8380 ac_status=$?
8381 cat out/conftest.err >&5
8382 echo "$as_me:8382: \$? = $ac_status" >&5
8383 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8384 then
8385 # The compiler can only warn and ignore the option if not recognized
8386 # So say no if there are warnings
8387 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8388 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8389 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8390 lt_cv_prog_compiler_c_o=yes
8391 fi
8392 fi
8393 chmod u+w . 2>&5
8394 $RM conftest*
8395 # SGI C++ compiler will create directory out/ii_files/ for
8396 # template instantiation
8397 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8398 $RM out/* && rmdir out
8399 cd ..
8400 $RM -r conftest
8401 $RM conftest*
8402
8403 fi
8404 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8405 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8406
8407
8408
8409
8410 hard_links="nottested"
8411 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8412 # do not overwrite the value of need_locks provided by the user
8413 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8414 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8415 hard_links=yes
8416 $RM conftest*
8417 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8418 touch conftest.a
8419 ln conftest.a conftest.b 2>&5 || hard_links=no
8420 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8421 echo "$as_me:$LINENO: result: $hard_links" >&5
8422 echo "${ECHO_T}$hard_links" >&6
8423 if test "$hard_links" = no; then
8424 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8425 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8426 need_locks=warn
8427 fi
8428 else
8429 need_locks=no
8430 fi
8431
8432
8433
8434
8435
8436
8437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8439
8440 runpath_var=
8441 allow_undefined_flag=
8442 always_export_symbols=no
8443 archive_cmds=
8444 archive_expsym_cmds=
8445 compiler_needs_object=no
8446 enable_shared_with_static_runtimes=no
8447 export_dynamic_flag_spec=
8448 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8449 hardcode_automatic=no
8450 hardcode_direct=no
8451 hardcode_direct_absolute=no
8452 hardcode_libdir_flag_spec=
8453 hardcode_libdir_flag_spec_ld=
8454 hardcode_libdir_separator=
8455 hardcode_minus_L=no
8456 hardcode_shlibpath_var=unsupported
8457 inherit_rpath=no
8458 link_all_deplibs=unknown
8459 module_cmds=
8460 module_expsym_cmds=
8461 old_archive_from_new_cmds=
8462 old_archive_from_expsyms_cmds=
8463 thread_safe_flag_spec=
8464 whole_archive_flag_spec=
8465 # include_expsyms should be a list of space-separated symbols to be *always*
8466 # included in the symbol list
8467 include_expsyms=
8468 # exclude_expsyms can be an extended regexp of symbols to exclude
8469 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8470 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8471 # as well as any symbol that contains `d'.
8472 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8473 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8474 # platforms (ab)use it in PIC code, but their linkers get confused if
8475 # the symbol is explicitly referenced. Since portable code cannot
8476 # rely on this symbol name, it's probably fine to never include it in
8477 # preloaded symbol tables.
8478 # Exclude shared library initialization/finalization symbols.
8479 extract_expsyms_cmds=
8480
8481 case $host_os in
8482 cygwin* | mingw* | pw32* | cegcc*)
8483 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8484 # When not using gcc, we currently assume that we are using
8485 # Microsoft Visual C++.
8486 if test "$GCC" != yes; then
8487 with_gnu_ld=no
8488 fi
8489 ;;
8490 interix*)
8491 # we just hope/assume this is gcc and not c89 (= MSVC++)
8492 with_gnu_ld=yes
8493 ;;
8494 openbsd*)
8495 with_gnu_ld=no
8496 ;;
8497 esac
8498
8499 ld_shlibs=yes
8500 if test "$with_gnu_ld" = yes; then
8501 # If archive_cmds runs LD, not CC, wlarc should be empty
8502 wlarc='${wl}'
8503
8504 # Set some defaults for GNU ld with shared library support. These
8505 # are reset later if shared libraries are not supported. Putting them
8506 # here allows them to be overridden if necessary.
8507 runpath_var=LD_RUN_PATH
8508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8509 export_dynamic_flag_spec='${wl}--export-dynamic'
8510 # ancient GNU ld didn't support --whole-archive et. al.
8511 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8512 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8513 else
8514 whole_archive_flag_spec=
8515 fi
8516 supports_anon_versioning=no
8517 case `$LD -v 2>&1` in
8518 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8519 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8520 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8521 *\ 2.11.*) ;; # other 2.11 versions
8522 *) supports_anon_versioning=yes ;;
8523 esac
8524
8525 # See if GNU ld supports shared libraries.
8526 case $host_os in
8527 aix[3-9]*)
8528 # On AIX/PPC, the GNU linker is very broken
8529 if test "$host_cpu" != ia64; then
8530 ld_shlibs=no
8531 cat <<_LT_EOF 1>&2
8532
8533 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8534 *** to be unable to reliably create shared libraries on AIX.
8535 *** Therefore, libtool is disabling shared libraries support. If you
8536 *** really care for shared libraries, you may want to modify your PATH
8537 *** so that a non-GNU linker is found, and then restart.
8538
8539 _LT_EOF
8540 fi
8541 ;;
8542
8543 amigaos*)
8544 case $host_cpu in
8545 powerpc)
8546 # see comment about AmigaOS4 .so support
8547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 archive_expsym_cmds=''
8549 ;;
8550 m68k)
8551 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)'
8552 hardcode_libdir_flag_spec='-L$libdir'
8553 hardcode_minus_L=yes
8554 ;;
8555 esac
8556 ;;
8557
8558 beos*)
8559 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8560 allow_undefined_flag=unsupported
8561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8562 # support --undefined. This deserves some investigation. FIXME
8563 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564 else
8565 ld_shlibs=no
8566 fi
8567 ;;
8568
8569 cygwin* | mingw* | pw32* | cegcc*)
8570 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8571 # as there is no search path for DLLs.
8572 hardcode_libdir_flag_spec='-L$libdir'
8573 allow_undefined_flag=unsupported
8574 always_export_symbols=no
8575 enable_shared_with_static_runtimes=yes
8576 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8577
8578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8580 # If the export-symbols file already is a .def file (1st line
8581 # is EXPORTS), use it as is; otherwise, prepend...
8582 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8583 cp $export_symbols $output_objdir/$soname.def;
8584 else
8585 echo EXPORTS > $output_objdir/$soname.def;
8586 cat $export_symbols >> $output_objdir/$soname.def;
8587 fi~
8588 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8589 else
8590 ld_shlibs=no
8591 fi
8592 ;;
8593
8594 interix[3-9]*)
8595 hardcode_direct=no
8596 hardcode_shlibpath_var=no
8597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8598 export_dynamic_flag_spec='${wl}-E'
8599 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8600 # Instead, shared libraries are loaded at an image base (0x10000000 by
8601 # default) and relocated if they conflict, which is a slow very memory
8602 # consuming and fragmenting process. To avoid this, we pick a random,
8603 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8604 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8605 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8606 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'
8607 ;;
8608
8609 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8610 tmp_diet=no
8611 if test "$host_os" = linux-dietlibc; then
8612 case $cc_basename in
8613 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8614 esac
8615 fi
8616 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8617 && test "$tmp_diet" = no
8618 then
8619 tmp_addflag=
8620 tmp_sharedflag='-shared'
8621 case $cc_basename,$host_cpu in
8622 pgcc*) # Portland Group C compiler
8623 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'
8624 tmp_addflag=' $pic_flag'
8625 ;;
8626 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8627 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'
8628 tmp_addflag=' $pic_flag -Mnomain' ;;
8629 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8630 tmp_addflag=' -i_dynamic' ;;
8631 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8632 tmp_addflag=' -i_dynamic -nofor_main' ;;
8633 ifc* | ifort*) # Intel Fortran compiler
8634 tmp_addflag=' -nofor_main' ;;
8635 lf95*) # Lahey Fortran 8.1
8636 whole_archive_flag_spec=
8637 tmp_sharedflag='--shared' ;;
8638 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8639 tmp_sharedflag='-qmkshrobj'
8640 tmp_addflag= ;;
8641 esac
8642 case `$CC -V 2>&1 | sed 5q` in
8643 *Sun\ C*) # Sun C 5.9
8644 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'
8645 compiler_needs_object=yes
8646 tmp_sharedflag='-G' ;;
8647 *Sun\ F*) # Sun Fortran 8.3
8648 tmp_sharedflag='-G' ;;
8649 esac
8650 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8651
8652 if test "x$supports_anon_versioning" = xyes; then
8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8657 fi
8658
8659 case $cc_basename in
8660 xlf*)
8661 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8662 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8663 hardcode_libdir_flag_spec=
8664 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8665 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8666 if test "x$supports_anon_versioning" = xyes; then
8667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8669 echo "local: *; };" >> $output_objdir/$libname.ver~
8670 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8671 fi
8672 ;;
8673 esac
8674 else
8675 ld_shlibs=no
8676 fi
8677 ;;
8678
8679 netbsd*)
8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8681 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8682 wlarc=
8683 else
8684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8686 fi
8687 ;;
8688
8689 solaris*)
8690 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8691 ld_shlibs=no
8692 cat <<_LT_EOF 1>&2
8693
8694 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8695 *** create shared libraries on Solaris systems. Therefore, libtool
8696 *** is disabling shared libraries support. We urge you to upgrade GNU
8697 *** binutils to release 2.9.1 or newer. Another option is to modify
8698 *** your PATH or compiler configuration so that the native linker is
8699 *** used, and then restart.
8700
8701 _LT_EOF
8702 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8705 else
8706 ld_shlibs=no
8707 fi
8708 ;;
8709
8710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8711 case `$LD -v 2>&1` in
8712 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8713 ld_shlibs=no
8714 cat <<_LT_EOF 1>&2
8715
8716 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8717 *** reliably create shared libraries on SCO systems. Therefore, libtool
8718 *** is disabling shared libraries support. We urge you to upgrade GNU
8719 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8722
8723 _LT_EOF
8724 ;;
8725 *)
8726 # For security reasons, it is highly recommended that you always
8727 # use absolute paths for naming shared libraries, and exclude the
8728 # DT_RUNPATH tag from executables and libraries. But doing so
8729 # requires that you compile everything twice, which is a pain.
8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8734 else
8735 ld_shlibs=no
8736 fi
8737 ;;
8738 esac
8739 ;;
8740
8741 sunos4*)
8742 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 wlarc=
8744 hardcode_direct=yes
8745 hardcode_shlibpath_var=no
8746 ;;
8747
8748 *)
8749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8752 else
8753 ld_shlibs=no
8754 fi
8755 ;;
8756 esac
8757
8758 if test "$ld_shlibs" = no; then
8759 runpath_var=
8760 hardcode_libdir_flag_spec=
8761 export_dynamic_flag_spec=
8762 whole_archive_flag_spec=
8763 fi
8764 else
8765 # PORTME fill in a description of your system's linker (not GNU ld)
8766 case $host_os in
8767 aix3*)
8768 allow_undefined_flag=unsupported
8769 always_export_symbols=yes
8770 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'
8771 # Note: this linker hardcodes the directories in LIBPATH if there
8772 # are no directories specified by -L.
8773 hardcode_minus_L=yes
8774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8775 # Neither direct hardcoding nor static linking is supported with a
8776 # broken collect2.
8777 hardcode_direct=unsupported
8778 fi
8779 ;;
8780
8781 aix[4-9]*)
8782 if test "$host_cpu" = ia64; then
8783 # On IA64, the linker does run time linking by default, so we don't
8784 # have to do anything special.
8785 aix_use_runtimelinking=no
8786 exp_sym_flag='-Bexport'
8787 no_entry_flag=""
8788 else
8789 # If we're using GNU nm, then we don't want the "-C" option.
8790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8791 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8792 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'
8793 else
8794 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'
8795 fi
8796 aix_use_runtimelinking=no
8797
8798 # Test if we are trying to use run time linking or normal
8799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8800 # need to do runtime linking.
8801 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8802 for ld_flag in $LDFLAGS; do
8803 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8804 aix_use_runtimelinking=yes
8805 break
8806 fi
8807 done
8808 ;;
8809 esac
8810
8811 exp_sym_flag='-bexport'
8812 no_entry_flag='-bnoentry'
8813 fi
8814
8815 # When large executables or shared objects are built, AIX ld can
8816 # have problems creating the table of contents. If linking a library
8817 # or program results in "error TOC overflow" add -mminimal-toc to
8818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8820
8821 archive_cmds=''
8822 hardcode_direct=yes
8823 hardcode_direct_absolute=yes
8824 hardcode_libdir_separator=':'
8825 link_all_deplibs=yes
8826 file_list_spec='${wl}-f,'
8827
8828 if test "$GCC" = yes; then
8829 case $host_os in aix4.[012]|aix4.[012].*)
8830 # We only want to do this on AIX 4.2 and lower, the check
8831 # below for broken collect2 doesn't work under 4.3+
8832 collect2name=`${CC} -print-prog-name=collect2`
8833 if test -f "$collect2name" &&
8834 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8835 then
8836 # We have reworked collect2
8837 :
8838 else
8839 # We have old collect2
8840 hardcode_direct=unsupported
8841 # It fails to find uninstalled libraries when the uninstalled
8842 # path is not listed in the libpath. Setting hardcode_minus_L
8843 # to unsupported forces relinking
8844 hardcode_minus_L=yes
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 hardcode_libdir_separator=
8847 fi
8848 ;;
8849 esac
8850 shared_flag='-shared'
8851 if test "$aix_use_runtimelinking" = yes; then
8852 shared_flag="$shared_flag "'${wl}-G'
8853 fi
8854 else
8855 # not using gcc
8856 if test "$host_cpu" = ia64; then
8857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858 # chokes on -Wl,-G. The following line is correct:
8859 shared_flag='-G'
8860 else
8861 if test "$aix_use_runtimelinking" = yes; then
8862 shared_flag='${wl}-G'
8863 else
8864 shared_flag='${wl}-bM:SRE'
8865 fi
8866 fi
8867 fi
8868
8869 export_dynamic_flag_spec='${wl}-bexpall'
8870 # It seems that -bexpall does not export symbols beginning with
8871 # underscore (_), so it is better to generate a list of symbols to export.
8872 always_export_symbols=yes
8873 if test "$aix_use_runtimelinking" = yes; then
8874 # Warning - without using the other runtime loading flags (-brtl),
8875 # -berok will link without error, but may produce a broken library.
8876 allow_undefined_flag='-berok'
8877 # Determine the default libpath from the value encoded in an
8878 # empty executable.
8879 if test x$gcc_no_link = xyes; then
8880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8882 { (exit 1); exit 1; }; }
8883 fi
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890
8891 int
8892 main ()
8893 {
8894
8895 ;
8896 return 0;
8897 }
8898 _ACEOF
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8902 ac_status=$?
8903 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 (eval $ac_try) 2>&5
8912 ac_status=$?
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5
8918 ac_status=$?
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8921
8922 lt_aix_libpath_sed='
8923 /Import File Strings/,/^$/ {
8924 /^0/ {
8925 s/^0 *\(.*\)$/\1/
8926 p
8927 }
8928 }'
8929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8930 # Check for a 64-bit object if we didn't find anything.
8931 if test -z "$aix_libpath"; then
8932 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8933 fi
8934 else
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.$ac_ext >&5
8937
8938 fi
8939 rm -f conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8942
8943 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8944 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"
8945 else
8946 if test "$host_cpu" = ia64; then
8947 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8948 allow_undefined_flag="-z nodefs"
8949 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"
8950 else
8951 # Determine the default libpath from the value encoded in an
8952 # empty executable.
8953 if test x$gcc_no_link = xyes; then
8954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8956 { (exit 1); exit 1; }; }
8957 fi
8958 cat >conftest.$ac_ext <<_ACEOF
8959 /* confdefs.h. */
8960 _ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8964
8965 int
8966 main ()
8967 {
8968
8969 ;
8970 return 0;
8971 }
8972 _ACEOF
8973 rm -f conftest.$ac_objext conftest$ac_exeext
8974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8975 (eval $ac_link) 2>conftest.er1
8976 ac_status=$?
8977 grep -v '^ *+' conftest.er1 >conftest.err
8978 rm -f conftest.er1
8979 cat conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); } &&
8982 { ac_try='test -z "$ac_c_werror_flag"
8983 || test ! -s conftest.err'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 (eval $ac_try) 2>&5
8986 ac_status=$?
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try='test -s conftest$ac_exeext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 (eval $ac_try) 2>&5
8992 ac_status=$?
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8995
8996 lt_aix_libpath_sed='
8997 /Import File Strings/,/^$/ {
8998 /^0/ {
8999 s/^0 *\(.*\)$/\1/
9000 p
9001 }
9002 }'
9003 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9004 # Check for a 64-bit object if we didn't find anything.
9005 if test -z "$aix_libpath"; then
9006 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9007 fi
9008 else
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.$ac_ext >&5
9011
9012 fi
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9016
9017 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9018 # Warning - without using the other run time loading flags,
9019 # -berok will link without error, but may produce a broken library.
9020 no_undefined_flag=' ${wl}-bernotok'
9021 allow_undefined_flag=' ${wl}-berok'
9022 # Exported symbols can be pulled into shared objects from archives
9023 whole_archive_flag_spec='$convenience'
9024 archive_cmds_need_lc=yes
9025 # This is similar to how AIX traditionally builds its shared libraries.
9026 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'
9027 fi
9028 fi
9029 ;;
9030
9031 amigaos*)
9032 case $host_cpu in
9033 powerpc)
9034 # see comment about AmigaOS4 .so support
9035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036 archive_expsym_cmds=''
9037 ;;
9038 m68k)
9039 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)'
9040 hardcode_libdir_flag_spec='-L$libdir'
9041 hardcode_minus_L=yes
9042 ;;
9043 esac
9044 ;;
9045
9046 bsdi[45]*)
9047 export_dynamic_flag_spec=-rdynamic
9048 ;;
9049
9050 cygwin* | mingw* | pw32* | cegcc*)
9051 # When not using gcc, we currently assume that we are using
9052 # Microsoft Visual C++.
9053 # hardcode_libdir_flag_spec is actually meaningless, as there is
9054 # no search path for DLLs.
9055 hardcode_libdir_flag_spec=' '
9056 allow_undefined_flag=unsupported
9057 # Tell ltmain to make .lib files, not .a files.
9058 libext=lib
9059 # Tell ltmain to make .dll files, not .so files.
9060 shrext_cmds=".dll"
9061 # FIXME: Setting linknames here is a bad hack.
9062 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9063 # The linker will automatically build a .lib file if we build a DLL.
9064 old_archive_from_new_cmds='true'
9065 # FIXME: Should let the user specify the lib program.
9066 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9067 fix_srcfile_path='`cygpath -w "$srcfile"`'
9068 enable_shared_with_static_runtimes=yes
9069 ;;
9070
9071 darwin* | rhapsody*)
9072
9073
9074 archive_cmds_need_lc=no
9075 hardcode_direct=no
9076 hardcode_automatic=yes
9077 hardcode_shlibpath_var=unsupported
9078 whole_archive_flag_spec=''
9079 link_all_deplibs=yes
9080 allow_undefined_flag="$_lt_dar_allow_undefined"
9081 case $cc_basename in
9082 ifort*) _lt_dar_can_shared=yes ;;
9083 *) _lt_dar_can_shared=$GCC ;;
9084 esac
9085 if test "$_lt_dar_can_shared" = "yes"; then
9086 output_verbose_link_cmd=echo
9087 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9088 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9089 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9090 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9091
9092 else
9093 ld_shlibs=no
9094 fi
9095
9096 ;;
9097
9098 dgux*)
9099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_libdir_flag_spec='-L$libdir'
9101 hardcode_shlibpath_var=no
9102 ;;
9103
9104 freebsd1*)
9105 ld_shlibs=no
9106 ;;
9107
9108 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9109 # support. Future versions do this automatically, but an explicit c++rt0.o
9110 # does not break anything, and helps significantly (at the cost of a little
9111 # extra space).
9112 freebsd2.2*)
9113 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9114 hardcode_libdir_flag_spec='-R$libdir'
9115 hardcode_direct=yes
9116 hardcode_shlibpath_var=no
9117 ;;
9118
9119 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9120 freebsd2*)
9121 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_direct=yes
9123 hardcode_minus_L=yes
9124 hardcode_shlibpath_var=no
9125 ;;
9126
9127 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9128 freebsd* | dragonfly*)
9129 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9130 hardcode_libdir_flag_spec='-R$libdir'
9131 hardcode_direct=yes
9132 hardcode_shlibpath_var=no
9133 ;;
9134
9135 hpux9*)
9136 if test "$GCC" = yes; then
9137 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'
9138 else
9139 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'
9140 fi
9141 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9142 hardcode_libdir_separator=:
9143 hardcode_direct=yes
9144
9145 # hardcode_minus_L: Not really in the search PATH,
9146 # but as the default location of the library.
9147 hardcode_minus_L=yes
9148 export_dynamic_flag_spec='${wl}-E'
9149 ;;
9150
9151 hpux10*)
9152 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9154 else
9155 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9156 fi
9157 if test "$with_gnu_ld" = no; then
9158 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9159 hardcode_libdir_flag_spec_ld='+b $libdir'
9160 hardcode_libdir_separator=:
9161 hardcode_direct=yes
9162 hardcode_direct_absolute=yes
9163 export_dynamic_flag_spec='${wl}-E'
9164 # hardcode_minus_L: Not really in the search PATH,
9165 # but as the default location of the library.
9166 hardcode_minus_L=yes
9167 fi
9168 ;;
9169
9170 hpux11*)
9171 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9172 case $host_cpu in
9173 hppa*64*)
9174 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9175 ;;
9176 ia64*)
9177 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9178 ;;
9179 *)
9180 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9181 ;;
9182 esac
9183 else
9184 case $host_cpu in
9185 hppa*64*)
9186 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9187 ;;
9188 ia64*)
9189 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9190 ;;
9191 *)
9192 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9193 ;;
9194 esac
9195 fi
9196 if test "$with_gnu_ld" = no; then
9197 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9198 hardcode_libdir_separator=:
9199
9200 case $host_cpu in
9201 hppa*64*|ia64*)
9202 hardcode_direct=no
9203 hardcode_shlibpath_var=no
9204 ;;
9205 *)
9206 hardcode_direct=yes
9207 hardcode_direct_absolute=yes
9208 export_dynamic_flag_spec='${wl}-E'
9209
9210 # hardcode_minus_L: Not really in the search PATH,
9211 # but as the default location of the library.
9212 hardcode_minus_L=yes
9213 ;;
9214 esac
9215 fi
9216 ;;
9217
9218 irix5* | irix6* | nonstopux*)
9219 if test "$GCC" = yes; then
9220 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'
9221 # Try to use the -exported_symbol ld option, if it does not
9222 # work, assume that -exports_file does not work either and
9223 # implicitly export all symbols.
9224 save_LDFLAGS="$LDFLAGS"
9225 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9226 if test x$gcc_no_link = xyes; then
9227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9229 { (exit 1); exit 1; }; }
9230 fi
9231 cat >conftest.$ac_ext <<_ACEOF
9232 int foo(void) {}
9233 _ACEOF
9234 rm -f conftest.$ac_objext conftest$ac_exeext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>conftest.er1
9237 ac_status=$?
9238 grep -v '^ *+' conftest.er1 >conftest.err
9239 rm -f conftest.er1
9240 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try='test -z "$ac_c_werror_flag"
9244 || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 (eval $ac_try) 2>&5
9253 ac_status=$?
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 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'
9257
9258 else
9259 echo "$as_me: failed program was:" >&5
9260 sed 's/^/| /' conftest.$ac_ext >&5
9261
9262 fi
9263 rm -f conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LDFLAGS="$save_LDFLAGS"
9266 else
9267 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'
9268 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'
9269 fi
9270 archive_cmds_need_lc='no'
9271 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9272 hardcode_libdir_separator=:
9273 inherit_rpath=yes
9274 link_all_deplibs=yes
9275 ;;
9276
9277 netbsd*)
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9280 else
9281 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9282 fi
9283 hardcode_libdir_flag_spec='-R$libdir'
9284 hardcode_direct=yes
9285 hardcode_shlibpath_var=no
9286 ;;
9287
9288 newsos6)
9289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290 hardcode_direct=yes
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 hardcode_libdir_separator=:
9293 hardcode_shlibpath_var=no
9294 ;;
9295
9296 *nto* | *qnx*)
9297 ;;
9298
9299 openbsd*)
9300 if test -f /usr/libexec/ld.so; then
9301 hardcode_direct=yes
9302 hardcode_shlibpath_var=no
9303 hardcode_direct_absolute=yes
9304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9305 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9307 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9308 export_dynamic_flag_spec='${wl}-E'
9309 else
9310 case $host_os in
9311 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9312 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9313 hardcode_libdir_flag_spec='-R$libdir'
9314 ;;
9315 *)
9316 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9317 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9318 ;;
9319 esac
9320 fi
9321 else
9322 ld_shlibs=no
9323 fi
9324 ;;
9325
9326 os2*)
9327 hardcode_libdir_flag_spec='-L$libdir'
9328 hardcode_minus_L=yes
9329 allow_undefined_flag=unsupported
9330 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'
9331 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9332 ;;
9333
9334 osf3*)
9335 if test "$GCC" = yes; then
9336 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9337 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'
9338 else
9339 allow_undefined_flag=' -expect_unresolved \*'
9340 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'
9341 fi
9342 archive_cmds_need_lc='no'
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344 hardcode_libdir_separator=:
9345 ;;
9346
9347 osf4* | osf5*) # as osf3* with the addition of -msym flag
9348 if test "$GCC" = yes; then
9349 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9350 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'
9351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9352 else
9353 allow_undefined_flag=' -expect_unresolved \*'
9354 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'
9355 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~
9356 $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'
9357
9358 # Both c and cxx compiler support -rpath directly
9359 hardcode_libdir_flag_spec='-rpath $libdir'
9360 fi
9361 archive_cmds_need_lc='no'
9362 hardcode_libdir_separator=:
9363 ;;
9364
9365 solaris*)
9366 no_undefined_flag=' -z defs'
9367 if test "$GCC" = yes; then
9368 wlarc='${wl}'
9369 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9371 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9372 else
9373 case `$CC -V 2>&1` in
9374 *"Compilers 5.0"*)
9375 wlarc=''
9376 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9377 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9378 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9379 ;;
9380 *)
9381 wlarc='${wl}'
9382 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9384 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9385 ;;
9386 esac
9387 fi
9388 hardcode_libdir_flag_spec='-R$libdir'
9389 hardcode_shlibpath_var=no
9390 case $host_os in
9391 solaris2.[0-5] | solaris2.[0-5].*) ;;
9392 *)
9393 # The compiler driver will combine and reorder linker options,
9394 # but understands `-z linker_flag'. GCC discards it without `$wl',
9395 # but is careful enough not to reorder.
9396 # Supported since Solaris 2.6 (maybe 2.5.1?)
9397 if test "$GCC" = yes; then
9398 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9399 else
9400 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9401 fi
9402 ;;
9403 esac
9404 link_all_deplibs=yes
9405 ;;
9406
9407 sunos4*)
9408 if test "x$host_vendor" = xsequent; then
9409 # Use $CC to link under sequent, because it throws in some extra .o
9410 # files that make .init and .fini sections work.
9411 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9412 else
9413 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9414 fi
9415 hardcode_libdir_flag_spec='-L$libdir'
9416 hardcode_direct=yes
9417 hardcode_minus_L=yes
9418 hardcode_shlibpath_var=no
9419 ;;
9420
9421 sysv4)
9422 case $host_vendor in
9423 sni)
9424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_direct=yes # is this really true???
9426 ;;
9427 siemens)
9428 ## LD is ld it makes a PLAMLIB
9429 ## CC just makes a GrossModule.
9430 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9431 reload_cmds='$CC -r -o $output$reload_objs'
9432 hardcode_direct=no
9433 ;;
9434 motorola)
9435 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9436 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9437 ;;
9438 esac
9439 runpath_var='LD_RUN_PATH'
9440 hardcode_shlibpath_var=no
9441 ;;
9442
9443 sysv4.3*)
9444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_shlibpath_var=no
9446 export_dynamic_flag_spec='-Bexport'
9447 ;;
9448
9449 sysv4*MP*)
9450 if test -d /usr/nec; then
9451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9452 hardcode_shlibpath_var=no
9453 runpath_var=LD_RUN_PATH
9454 hardcode_runpath_var=yes
9455 ld_shlibs=yes
9456 fi
9457 ;;
9458
9459 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9460 no_undefined_flag='${wl}-z,text'
9461 archive_cmds_need_lc=no
9462 hardcode_shlibpath_var=no
9463 runpath_var='LD_RUN_PATH'
9464
9465 if test "$GCC" = yes; then
9466 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 else
9469 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9471 fi
9472 ;;
9473
9474 sysv5* | sco3.2v5* | sco5v6*)
9475 # Note: We can NOT use -z defs as we might desire, because we do not
9476 # link with -lc, and that would cause any symbols used from libc to
9477 # always be unresolved, which means just about no library would
9478 # ever link correctly. If we're not using GNU ld we use -z text
9479 # though, which does catch some bad symbols but isn't as heavy-handed
9480 # as -z defs.
9481 no_undefined_flag='${wl}-z,text'
9482 allow_undefined_flag='${wl}-z,nodefs'
9483 archive_cmds_need_lc=no
9484 hardcode_shlibpath_var=no
9485 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9486 hardcode_libdir_separator=':'
9487 link_all_deplibs=yes
9488 export_dynamic_flag_spec='${wl}-Bexport'
9489 runpath_var='LD_RUN_PATH'
9490
9491 if test "$GCC" = yes; then
9492 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494 else
9495 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497 fi
9498 ;;
9499
9500 uts4*)
9501 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_shlibpath_var=no
9504 ;;
9505
9506 *)
9507 ld_shlibs=no
9508 ;;
9509 esac
9510
9511 if test x$host_vendor = xsni; then
9512 case $host in
9513 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9514 export_dynamic_flag_spec='${wl}-Blargedynsym'
9515 ;;
9516 esac
9517 fi
9518 fi
9519
9520 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9521 echo "${ECHO_T}$ld_shlibs" >&6
9522 test "$ld_shlibs" = no && can_build_shared=no
9523
9524 with_gnu_ld=$with_gnu_ld
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540 #
9541 # Do we need to explicitly link libc?
9542 #
9543 case "x$archive_cmds_need_lc" in
9544 x|xyes)
9545 # Assume -lc should be added
9546 archive_cmds_need_lc=yes
9547
9548 if test "$enable_shared" = yes && test "$GCC" = yes; then
9549 case $archive_cmds in
9550 *'~'*)
9551 # FIXME: we may have to deal with multi-command sequences.
9552 ;;
9553 '$CC '*)
9554 # Test whether the compiler implicitly links with -lc since on some
9555 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9556 # to ld, don't add -lc before -lgcc.
9557 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9558 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9559 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 $RM conftest*
9563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9564
9565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9566 (eval $ac_compile) 2>&5
9567 ac_status=$?
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } 2>conftest.err; then
9570 soname=conftest
9571 lib=conftest
9572 libobjs=conftest.$ac_objext
9573 deplibs=
9574 wl=$lt_prog_compiler_wl
9575 pic_flag=$lt_prog_compiler_pic
9576 compiler_flags=-v
9577 linker_flags=-v
9578 verstring=
9579 output_objdir=.
9580 libname=conftest
9581 lt_save_allow_undefined_flag=$allow_undefined_flag
9582 allow_undefined_flag=
9583 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9584 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9585 ac_status=$?
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }
9588 then
9589 lt_cv_archive_cmds_need_lc=no
9590 else
9591 lt_cv_archive_cmds_need_lc=yes
9592 fi
9593 allow_undefined_flag=$lt_save_allow_undefined_flag
9594 else
9595 cat conftest.err 1>&5
9596 fi
9597 $RM conftest*
9598
9599 fi
9600 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9601 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9602 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9603 ;;
9604 esac
9605 fi
9606 ;;
9607 esac
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
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 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9766 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9767
9768 if test "$GCC" = yes; then
9769 case $host_os in
9770 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9771 *) lt_awk_arg="/^libraries:/" ;;
9772 esac
9773 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9774 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9775 # if the path contains ";" then we assume it to be the separator
9776 # otherwise default to the standard path separator (i.e. ":") - it is
9777 # assumed that no part of a normal pathname contains ";" but that should
9778 # okay in the real world where ";" in dirpaths is itself problematic.
9779 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9780 else
9781 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9782 fi
9783 # Ok, now we have the path, separated by spaces, we can step through it
9784 # and add multilib dir if necessary.
9785 lt_tmp_lt_search_path_spec=
9786 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9787 for lt_sys_path in $lt_search_path_spec; do
9788 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9789 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9790 else
9791 test -d "$lt_sys_path" && \
9792 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9793 fi
9794 done
9795 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9796 BEGIN {RS=" "; FS="/|\n";} {
9797 lt_foo="";
9798 lt_count=0;
9799 for (lt_i = NF; lt_i > 0; lt_i--) {
9800 if ($lt_i != "" && $lt_i != ".") {
9801 if ($lt_i == "..") {
9802 lt_count++;
9803 } else {
9804 if (lt_count == 0) {
9805 lt_foo="/" $lt_i lt_foo;
9806 } else {
9807 lt_count--;
9808 }
9809 }
9810 }
9811 }
9812 if (lt_foo != "") { lt_freq[lt_foo]++; }
9813 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9814 }'`
9815 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9816 else
9817 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9818 fi
9819 library_names_spec=
9820 libname_spec='lib$name'
9821 soname_spec=
9822 shrext_cmds=".so"
9823 postinstall_cmds=
9824 postuninstall_cmds=
9825 finish_cmds=
9826 finish_eval=
9827 shlibpath_var=
9828 shlibpath_overrides_runpath=unknown
9829 version_type=none
9830 dynamic_linker="$host_os ld.so"
9831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9832 need_lib_prefix=unknown
9833 hardcode_into_libs=no
9834
9835 # when you set need_version to no, make sure it does not cause -set_version
9836 # flags to be left without arguments
9837 need_version=unknown
9838
9839 case $host_os in
9840 aix3*)
9841 version_type=linux
9842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9843 shlibpath_var=LIBPATH
9844
9845 # AIX 3 has no versioning support, so we append a major version to the name.
9846 soname_spec='${libname}${release}${shared_ext}$major'
9847 ;;
9848
9849 aix[4-9]*)
9850 version_type=linux
9851 need_lib_prefix=no
9852 need_version=no
9853 hardcode_into_libs=yes
9854 if test "$host_cpu" = ia64; then
9855 # AIX 5 supports IA64
9856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9857 shlibpath_var=LD_LIBRARY_PATH
9858 else
9859 # With GCC up to 2.95.x, collect2 would create an import file
9860 # for dependence libraries. The import file would start with
9861 # the line `#! .'. This would cause the generated library to
9862 # depend on `.', always an invalid library. This was fixed in
9863 # development snapshots of GCC prior to 3.0.
9864 case $host_os in
9865 aix4 | aix4.[01] | aix4.[01].*)
9866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9867 echo ' yes '
9868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9869 :
9870 else
9871 can_build_shared=no
9872 fi
9873 ;;
9874 esac
9875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9876 # soname into executable. Probably we can add versioning support to
9877 # collect2, so additional links can be useful in future.
9878 if test "$aix_use_runtimelinking" = yes; then
9879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9880 # instead of lib<name>.a to let people know that these are not
9881 # typical AIX shared libraries.
9882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883 else
9884 # We preserve .a as extension for shared libraries through AIX4.2
9885 # and later when we are not doing run time linking.
9886 library_names_spec='${libname}${release}.a $libname.a'
9887 soname_spec='${libname}${release}${shared_ext}$major'
9888 fi
9889 shlibpath_var=LIBPATH
9890 fi
9891 ;;
9892
9893 amigaos*)
9894 case $host_cpu in
9895 powerpc)
9896 # Since July 2007 AmigaOS4 officially supports .so libraries.
9897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899 ;;
9900 m68k)
9901 library_names_spec='$libname.ixlibrary $libname.a'
9902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9903 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'
9904 ;;
9905 esac
9906 ;;
9907
9908 beos*)
9909 library_names_spec='${libname}${shared_ext}'
9910 dynamic_linker="$host_os ld.so"
9911 shlibpath_var=LIBRARY_PATH
9912 ;;
9913
9914 bsdi[45]*)
9915 version_type=linux
9916 need_version=no
9917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9918 soname_spec='${libname}${release}${shared_ext}$major'
9919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9920 shlibpath_var=LD_LIBRARY_PATH
9921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9923 # the default ld.so.conf also contains /usr/contrib/lib and
9924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9925 # libtool to hard-code these into programs
9926 ;;
9927
9928 cygwin* | mingw* | pw32* | cegcc*)
9929 version_type=windows
9930 shrext_cmds=".dll"
9931 need_version=no
9932 need_lib_prefix=no
9933
9934 case $GCC,$host_os in
9935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9936 library_names_spec='$libname.dll.a'
9937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9938 postinstall_cmds='base_file=`basename \${file}`~
9939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9940 dldir=$destdir/`dirname \$dlpath`~
9941 test -d \$dldir || mkdir -p \$dldir~
9942 $install_prog $dir/$dlname \$dldir/$dlname~
9943 chmod a+x \$dldir/$dlname~
9944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9946 fi'
9947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9948 dlpath=$dir/\$dldll~
9949 $RM \$dlpath'
9950 shlibpath_overrides_runpath=yes
9951
9952 case $host_os in
9953 cygwin*)
9954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9956 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9957 ;;
9958 mingw* | cegcc*)
9959 # MinGW DLLs use traditional 'lib' prefix
9960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9961 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9962 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9963 # It is most probably a Windows format PATH printed by
9964 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9965 # path with ; separators, and with drive letters. We can handle the
9966 # drive letters (cygwin fileutils understands them), so leave them,
9967 # especially as we might pass files found there to a mingw objdump,
9968 # which wouldn't understand a cygwinified path. Ahh.
9969 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9970 else
9971 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9972 fi
9973 ;;
9974 pw32*)
9975 # pw32 DLLs use 'pw' prefix rather than 'lib'
9976 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9977 ;;
9978 esac
9979 ;;
9980
9981 *)
9982 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9983 ;;
9984 esac
9985 dynamic_linker='Win32 ld.exe'
9986 # FIXME: first we should search . and the directory the executable is in
9987 shlibpath_var=PATH
9988 ;;
9989
9990 darwin* | rhapsody*)
9991 dynamic_linker="$host_os dyld"
9992 version_type=darwin
9993 need_lib_prefix=no
9994 need_version=no
9995 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9996 soname_spec='${libname}${release}${major}$shared_ext'
9997 shlibpath_overrides_runpath=yes
9998 shlibpath_var=DYLD_LIBRARY_PATH
9999 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10000
10001 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10002 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10003 ;;
10004
10005 dgux*)
10006 version_type=linux
10007 need_lib_prefix=no
10008 need_version=no
10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10011 shlibpath_var=LD_LIBRARY_PATH
10012 ;;
10013
10014 freebsd1*)
10015 dynamic_linker=no
10016 ;;
10017
10018 freebsd* | dragonfly*)
10019 # DragonFly does not have aout. When/if they implement a new
10020 # versioning mechanism, adjust this.
10021 if test -x /usr/bin/objformat; then
10022 objformat=`/usr/bin/objformat`
10023 else
10024 case $host_os in
10025 freebsd[123]*) objformat=aout ;;
10026 *) objformat=elf ;;
10027 esac
10028 fi
10029 version_type=freebsd-$objformat
10030 case $version_type in
10031 freebsd-elf*)
10032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10033 need_version=no
10034 need_lib_prefix=no
10035 ;;
10036 freebsd-*)
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10038 need_version=yes
10039 ;;
10040 esac
10041 shlibpath_var=LD_LIBRARY_PATH
10042 case $host_os in
10043 freebsd2*)
10044 shlibpath_overrides_runpath=yes
10045 ;;
10046 freebsd3.[01]* | freebsdelf3.[01]*)
10047 shlibpath_overrides_runpath=yes
10048 hardcode_into_libs=yes
10049 ;;
10050 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10051 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10052 shlibpath_overrides_runpath=no
10053 hardcode_into_libs=yes
10054 ;;
10055 *) # from 4.6 on, and DragonFly
10056 shlibpath_overrides_runpath=yes
10057 hardcode_into_libs=yes
10058 ;;
10059 esac
10060 ;;
10061
10062 gnu*)
10063 version_type=linux
10064 need_lib_prefix=no
10065 need_version=no
10066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10067 soname_spec='${libname}${release}${shared_ext}$major'
10068 shlibpath_var=LD_LIBRARY_PATH
10069 hardcode_into_libs=yes
10070 ;;
10071
10072 hpux9* | hpux10* | hpux11*)
10073 # Give a soname corresponding to the major version so that dld.sl refuses to
10074 # link against other versions.
10075 version_type=sunos
10076 need_lib_prefix=no
10077 need_version=no
10078 case $host_cpu in
10079 ia64*)
10080 shrext_cmds='.so'
10081 hardcode_into_libs=yes
10082 dynamic_linker="$host_os dld.so"
10083 shlibpath_var=LD_LIBRARY_PATH
10084 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086 soname_spec='${libname}${release}${shared_ext}$major'
10087 if test "X$HPUX_IA64_MODE" = X32; then
10088 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10089 else
10090 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10091 fi
10092 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10093 ;;
10094 hppa*64*)
10095 shrext_cmds='.sl'
10096 hardcode_into_libs=yes
10097 dynamic_linker="$host_os dld.sl"
10098 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101 soname_spec='${libname}${release}${shared_ext}$major'
10102 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10103 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10104 ;;
10105 *)
10106 shrext_cmds='.sl'
10107 dynamic_linker="$host_os dld.sl"
10108 shlibpath_var=SHLIB_PATH
10109 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10111 soname_spec='${libname}${release}${shared_ext}$major'
10112 ;;
10113 esac
10114 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10115 postinstall_cmds='chmod 555 $lib'
10116 ;;
10117
10118 interix[3-9]*)
10119 version_type=linux
10120 need_lib_prefix=no
10121 need_version=no
10122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10123 soname_spec='${libname}${release}${shared_ext}$major'
10124 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10125 shlibpath_var=LD_LIBRARY_PATH
10126 shlibpath_overrides_runpath=no
10127 hardcode_into_libs=yes
10128 ;;
10129
10130 irix5* | irix6* | nonstopux*)
10131 case $host_os in
10132 nonstopux*) version_type=nonstopux ;;
10133 *)
10134 if test "$lt_cv_prog_gnu_ld" = yes; then
10135 version_type=linux
10136 else
10137 version_type=irix
10138 fi ;;
10139 esac
10140 need_lib_prefix=no
10141 need_version=no
10142 soname_spec='${libname}${release}${shared_ext}$major'
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10144 case $host_os in
10145 irix5* | nonstopux*)
10146 libsuff= shlibsuff=
10147 ;;
10148 *)
10149 case $LD in # libtool.m4 will add one of these switches to LD
10150 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10151 libsuff= shlibsuff= libmagic=32-bit;;
10152 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10153 libsuff=32 shlibsuff=N32 libmagic=N32;;
10154 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10155 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10156 *) libsuff= shlibsuff= libmagic=never-match;;
10157 esac
10158 ;;
10159 esac
10160 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10161 shlibpath_overrides_runpath=no
10162 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10163 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10164 hardcode_into_libs=yes
10165 ;;
10166
10167 # No shared lib support for Linux oldld, aout, or coff.
10168 linux*oldld* | linux*aout* | linux*coff*)
10169 dynamic_linker=no
10170 ;;
10171
10172 # This must be Linux ELF.
10173 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10174 version_type=linux
10175 need_lib_prefix=no
10176 need_version=no
10177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 soname_spec='${libname}${release}${shared_ext}$major'
10179 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10180 shlibpath_var=LD_LIBRARY_PATH
10181 shlibpath_overrides_runpath=no
10182
10183 # Some binutils ld are patched to set DT_RUNPATH
10184 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 else
10187 lt_cv_shlibpath_overrides_runpath=no
10188 save_LDFLAGS=$LDFLAGS
10189 save_libdir=$libdir
10190 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10191 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10192 if test x$gcc_no_link = xyes; then
10193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10195 { (exit 1); exit 1; }; }
10196 fi
10197 cat >conftest.$ac_ext <<_ACEOF
10198 /* confdefs.h. */
10199 _ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10203
10204 int
10205 main ()
10206 {
10207
10208 ;
10209 return 0;
10210 }
10211 _ACEOF
10212 rm -f conftest.$ac_objext conftest$ac_exeext
10213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10214 (eval $ac_link) 2>conftest.er1
10215 ac_status=$?
10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } &&
10221 { ac_try='test -z "$ac_c_werror_flag"
10222 || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try='test -s conftest$ac_exeext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10231 ac_status=$?
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; }; then
10234 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10235 lt_cv_shlibpath_overrides_runpath=yes
10236 fi
10237
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10241
10242 fi
10243 rm -f conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LDFLAGS=$save_LDFLAGS
10246 libdir=$save_libdir
10247
10248 fi
10249
10250 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10251
10252 # This implies no fast_install, which is unacceptable.
10253 # Some rework will be needed to allow for fast_install
10254 # before this can be enabled.
10255 hardcode_into_libs=yes
10256
10257 # Append ld.so.conf contents to the search path
10258 if test -f /etc/ld.so.conf; then
10259 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10260 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10261 fi
10262
10263 # We used to test for /lib/ld.so.1 and disable shared libraries on
10264 # powerpc, because MkLinux only supported shared libraries with the
10265 # GNU dynamic linker. Since this was broken with cross compilers,
10266 # most powerpc-linux boxes support dynamic linking these days and
10267 # people can always --disable-shared, the test was removed, and we
10268 # assume the GNU/Linux dynamic linker is in use.
10269 dynamic_linker='GNU/Linux ld.so'
10270 ;;
10271
10272 netbsd*)
10273 version_type=sunos
10274 need_lib_prefix=no
10275 need_version=no
10276 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10278 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10279 dynamic_linker='NetBSD (a.out) ld.so'
10280 else
10281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10282 soname_spec='${libname}${release}${shared_ext}$major'
10283 dynamic_linker='NetBSD ld.elf_so'
10284 fi
10285 shlibpath_var=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10287 hardcode_into_libs=yes
10288 ;;
10289
10290 newsos6)
10291 version_type=linux
10292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10293 shlibpath_var=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath=yes
10295 ;;
10296
10297 *nto* | *qnx*)
10298 version_type=qnx
10299 need_lib_prefix=no
10300 need_version=no
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302 soname_spec='${libname}${release}${shared_ext}$major'
10303 shlibpath_var=LD_LIBRARY_PATH
10304 shlibpath_overrides_runpath=no
10305 hardcode_into_libs=yes
10306 dynamic_linker='ldqnx.so'
10307 ;;
10308
10309 openbsd*)
10310 version_type=sunos
10311 sys_lib_dlsearch_path_spec="/usr/lib"
10312 need_lib_prefix=no
10313 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10314 case $host_os in
10315 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10316 *) need_version=no ;;
10317 esac
10318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10320 shlibpath_var=LD_LIBRARY_PATH
10321 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10322 case $host_os in
10323 openbsd2.[89] | openbsd2.[89].*)
10324 shlibpath_overrides_runpath=no
10325 ;;
10326 *)
10327 shlibpath_overrides_runpath=yes
10328 ;;
10329 esac
10330 else
10331 shlibpath_overrides_runpath=yes
10332 fi
10333 ;;
10334
10335 os2*)
10336 libname_spec='$name'
10337 shrext_cmds=".dll"
10338 need_lib_prefix=no
10339 library_names_spec='$libname${shared_ext} $libname.a'
10340 dynamic_linker='OS/2 ld.exe'
10341 shlibpath_var=LIBPATH
10342 ;;
10343
10344 osf3* | osf4* | osf5*)
10345 version_type=osf
10346 need_lib_prefix=no
10347 need_version=no
10348 soname_spec='${libname}${release}${shared_ext}$major'
10349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 shlibpath_var=LD_LIBRARY_PATH
10351 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10352 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10353 ;;
10354
10355 rdos*)
10356 dynamic_linker=no
10357 ;;
10358
10359 solaris*)
10360 version_type=linux
10361 need_lib_prefix=no
10362 need_version=no
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 soname_spec='${libname}${release}${shared_ext}$major'
10365 shlibpath_var=LD_LIBRARY_PATH
10366 shlibpath_overrides_runpath=yes
10367 hardcode_into_libs=yes
10368 # ldd complains unless libraries are executable
10369 postinstall_cmds='chmod +x $lib'
10370 ;;
10371
10372 sunos4*)
10373 version_type=sunos
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10375 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10376 shlibpath_var=LD_LIBRARY_PATH
10377 shlibpath_overrides_runpath=yes
10378 if test "$with_gnu_ld" = yes; then
10379 need_lib_prefix=no
10380 fi
10381 need_version=yes
10382 ;;
10383
10384 sysv4 | sysv4.3*)
10385 version_type=linux
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 shlibpath_var=LD_LIBRARY_PATH
10389 case $host_vendor in
10390 sni)
10391 shlibpath_overrides_runpath=no
10392 need_lib_prefix=no
10393 runpath_var=LD_RUN_PATH
10394 ;;
10395 siemens)
10396 need_lib_prefix=no
10397 ;;
10398 motorola)
10399 need_lib_prefix=no
10400 need_version=no
10401 shlibpath_overrides_runpath=no
10402 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10403 ;;
10404 esac
10405 ;;
10406
10407 sysv4*MP*)
10408 if test -d /usr/nec ;then
10409 version_type=linux
10410 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10411 soname_spec='$libname${shared_ext}.$major'
10412 shlibpath_var=LD_LIBRARY_PATH
10413 fi
10414 ;;
10415
10416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10417 version_type=freebsd-elf
10418 need_lib_prefix=no
10419 need_version=no
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 shlibpath_var=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath=yes
10424 hardcode_into_libs=yes
10425 if test "$with_gnu_ld" = yes; then
10426 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10427 else
10428 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10429 case $host_os in
10430 sco3.2v5*)
10431 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10432 ;;
10433 esac
10434 fi
10435 sys_lib_dlsearch_path_spec='/usr/lib'
10436 ;;
10437
10438 tpf*)
10439 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10440 version_type=linux
10441 need_lib_prefix=no
10442 need_version=no
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath=no
10446 hardcode_into_libs=yes
10447 ;;
10448
10449 uts4*)
10450 version_type=linux
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 soname_spec='${libname}${release}${shared_ext}$major'
10453 shlibpath_var=LD_LIBRARY_PATH
10454 ;;
10455
10456 *)
10457 dynamic_linker=no
10458 ;;
10459 esac
10460 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10461 echo "${ECHO_T}$dynamic_linker" >&6
10462 test "$dynamic_linker" = no && can_build_shared=no
10463
10464 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10465 if test "$GCC" = yes; then
10466 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10467 fi
10468
10469 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10470 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10471 fi
10472 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10473 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10474 fi
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10563 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10564 hardcode_action=
10565 if test -n "$hardcode_libdir_flag_spec" ||
10566 test -n "$runpath_var" ||
10567 test "X$hardcode_automatic" = "Xyes" ; then
10568
10569 # We can hardcode non-existent directories.
10570 if test "$hardcode_direct" != no &&
10571 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10572 # have to relink, otherwise we might link with an installed library
10573 # when we should be linking with a yet-to-be-installed one
10574 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10575 test "$hardcode_minus_L" != no; then
10576 # Linking always hardcodes the temporary library directory.
10577 hardcode_action=relink
10578 else
10579 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10580 hardcode_action=immediate
10581 fi
10582 else
10583 # We cannot hardcode anything, or else we can only hardcode existing
10584 # directories.
10585 hardcode_action=unsupported
10586 fi
10587 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10588 echo "${ECHO_T}$hardcode_action" >&6
10589
10590 if test "$hardcode_action" = relink ||
10591 test "$inherit_rpath" = yes; then
10592 # Fast installation is not supported
10593 enable_fast_install=no
10594 elif test "$shlibpath_overrides_runpath" = yes ||
10595 test "$enable_shared" = no; then
10596 # Fast installation is not necessary
10597 enable_fast_install=needless
10598 fi
10599
10600
10601
10602
10603
10604
10605 if test "x$enable_dlopen" != xyes; then
10606 enable_dlopen=unknown
10607 enable_dlopen_self=unknown
10608 enable_dlopen_self_static=unknown
10609 else
10610 lt_cv_dlopen=no
10611 lt_cv_dlopen_libs=
10612
10613 case $host_os in
10614 beos*)
10615 lt_cv_dlopen="load_add_on"
10616 lt_cv_dlopen_libs=
10617 lt_cv_dlopen_self=yes
10618 ;;
10619
10620 mingw* | pw32* | cegcc*)
10621 lt_cv_dlopen="LoadLibrary"
10622 lt_cv_dlopen_libs=
10623 ;;
10624
10625 cygwin*)
10626 lt_cv_dlopen="dlopen"
10627 lt_cv_dlopen_libs=
10628 ;;
10629
10630 darwin*)
10631 # if libdl is installed we need to link against it
10632 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10633 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10634 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 else
10637 ac_check_lib_save_LIBS=$LIBS
10638 LIBS="-ldl $LIBS"
10639 if test x$gcc_no_link = xyes; then
10640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10642 { (exit 1); exit 1; }; }
10643 fi
10644 cat >conftest.$ac_ext <<_ACEOF
10645 /* confdefs.h. */
10646 _ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650
10651 /* Override any gcc2 internal prototype to avoid an error. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 /* We use char because int might match the return type of a gcc2
10656 builtin and then its argument prototype would still apply. */
10657 char dlopen ();
10658 int
10659 main ()
10660 {
10661 dlopen ();
10662 ;
10663 return 0;
10664 }
10665 _ACEOF
10666 rm -f conftest.$ac_objext conftest$ac_exeext
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } &&
10675 { ac_try='test -z "$ac_c_werror_flag"
10676 || test ! -s conftest.err'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10679 ac_status=$?
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; } &&
10682 { ac_try='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 ac_cv_lib_dl_dlopen=yes
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10692
10693 ac_cv_lib_dl_dlopen=no
10694 fi
10695 rm -f conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 LIBS=$ac_check_lib_save_LIBS
10698 fi
10699 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10700 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10701 if test $ac_cv_lib_dl_dlopen = yes; then
10702 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10703 else
10704
10705 lt_cv_dlopen="dyld"
10706 lt_cv_dlopen_libs=
10707 lt_cv_dlopen_self=yes
10708
10709 fi
10710
10711 ;;
10712
10713 *)
10714 echo "$as_me:$LINENO: checking for shl_load" >&5
10715 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10716 if test "${ac_cv_func_shl_load+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719 if test x$gcc_no_link = xyes; then
10720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10722 { (exit 1); exit 1; }; }
10723 fi
10724 cat >conftest.$ac_ext <<_ACEOF
10725 /* confdefs.h. */
10726 _ACEOF
10727 cat confdefs.h >>conftest.$ac_ext
10728 cat >>conftest.$ac_ext <<_ACEOF
10729 /* end confdefs.h. */
10730 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10732 #define shl_load innocuous_shl_load
10733
10734 /* System header to define __stub macros and hopefully few prototypes,
10735 which can conflict with char shl_load (); below.
10736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10737 <limits.h> exists even on freestanding compilers. */
10738
10739 #ifdef __STDC__
10740 # include <limits.h>
10741 #else
10742 # include <assert.h>
10743 #endif
10744
10745 #undef shl_load
10746
10747 /* Override any gcc2 internal prototype to avoid an error. */
10748 #ifdef __cplusplus
10749 extern "C"
10750 {
10751 #endif
10752 /* We use char because int might match the return type of a gcc2
10753 builtin and then its argument prototype would still apply. */
10754 char shl_load ();
10755 /* The GNU C library defines this for functions which it implements
10756 to always fail with ENOSYS. Some functions are actually named
10757 something starting with __ and the normal name is an alias. */
10758 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10759 choke me
10760 #else
10761 char (*f) () = shl_load;
10762 #endif
10763 #ifdef __cplusplus
10764 }
10765 #endif
10766
10767 int
10768 main ()
10769 {
10770 return f != shl_load;
10771 ;
10772 return 0;
10773 }
10774 _ACEOF
10775 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10777 (eval $ac_link) 2>conftest.er1
10778 ac_status=$?
10779 grep -v '^ *+' conftest.er1 >conftest.err
10780 rm -f conftest.er1
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -z "$ac_c_werror_flag"
10785 || test ! -s conftest.err'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10788 ac_status=$?
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; } &&
10791 { ac_try='test -s conftest$ac_exeext'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10794 ac_status=$?
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_cv_func_shl_load=yes
10798 else
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10801
10802 ac_cv_func_shl_load=no
10803 fi
10804 rm -f conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 fi
10807 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10808 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10809 if test $ac_cv_func_shl_load = yes; then
10810 lt_cv_dlopen="shl_load"
10811 else
10812 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10813 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10814 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 else
10817 ac_check_lib_save_LIBS=$LIBS
10818 LIBS="-ldld $LIBS"
10819 if test x$gcc_no_link = xyes; then
10820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10822 { (exit 1); exit 1; }; }
10823 fi
10824 cat >conftest.$ac_ext <<_ACEOF
10825 /* confdefs.h. */
10826 _ACEOF
10827 cat confdefs.h >>conftest.$ac_ext
10828 cat >>conftest.$ac_ext <<_ACEOF
10829 /* end confdefs.h. */
10830
10831 /* Override any gcc2 internal prototype to avoid an error. */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10837 char shl_load ();
10838 int
10839 main ()
10840 {
10841 shl_load ();
10842 ;
10843 return 0;
10844 }
10845 _ACEOF
10846 rm -f conftest.$ac_objext conftest$ac_exeext
10847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10848 (eval $ac_link) 2>conftest.er1
10849 ac_status=$?
10850 grep -v '^ *+' conftest.er1 >conftest.err
10851 rm -f conftest.er1
10852 cat conftest.err >&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } &&
10855 { ac_try='test -z "$ac_c_werror_flag"
10856 || test ! -s conftest.err'
10857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10858 (eval $ac_try) 2>&5
10859 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; } &&
10862 { ac_try='test -s conftest$ac_exeext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10865 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 ac_cv_lib_dld_shl_load=yes
10869 else
10870 echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10872
10873 ac_cv_lib_dld_shl_load=no
10874 fi
10875 rm -f conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10878 fi
10879 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10880 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10881 if test $ac_cv_lib_dld_shl_load = yes; then
10882 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10883 else
10884 echo "$as_me:$LINENO: checking for dlopen" >&5
10885 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10886 if test "${ac_cv_func_dlopen+set}" = set; then
10887 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 else
10889 if test x$gcc_no_link = xyes; then
10890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10892 { (exit 1); exit 1; }; }
10893 fi
10894 cat >conftest.$ac_ext <<_ACEOF
10895 /* confdefs.h. */
10896 _ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10900 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10902 #define dlopen innocuous_dlopen
10903
10904 /* System header to define __stub macros and hopefully few prototypes,
10905 which can conflict with char dlopen (); below.
10906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10907 <limits.h> exists even on freestanding compilers. */
10908
10909 #ifdef __STDC__
10910 # include <limits.h>
10911 #else
10912 # include <assert.h>
10913 #endif
10914
10915 #undef dlopen
10916
10917 /* Override any gcc2 internal prototype to avoid an error. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 {
10921 #endif
10922 /* We use char because int might match the return type of a gcc2
10923 builtin and then its argument prototype would still apply. */
10924 char dlopen ();
10925 /* The GNU C library defines this for functions which it implements
10926 to always fail with ENOSYS. Some functions are actually named
10927 something starting with __ and the normal name is an alias. */
10928 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10929 choke me
10930 #else
10931 char (*f) () = dlopen;
10932 #endif
10933 #ifdef __cplusplus
10934 }
10935 #endif
10936
10937 int
10938 main ()
10939 {
10940 return f != dlopen;
10941 ;
10942 return 0;
10943 }
10944 _ACEOF
10945 rm -f conftest.$ac_objext conftest$ac_exeext
10946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10947 (eval $ac_link) 2>conftest.er1
10948 ac_status=$?
10949 grep -v '^ *+' conftest.er1 >conftest.err
10950 rm -f conftest.er1
10951 cat conftest.err >&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); } &&
10954 { ac_try='test -z "$ac_c_werror_flag"
10955 || test ! -s conftest.err'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10958 ac_status=$?
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; } &&
10961 { ac_try='test -s conftest$ac_exeext'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10964 ac_status=$?
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; }; then
10967 ac_cv_func_dlopen=yes
10968 else
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10971
10972 ac_cv_func_dlopen=no
10973 fi
10974 rm -f conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10976 fi
10977 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10978 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10979 if test $ac_cv_func_dlopen = yes; then
10980 lt_cv_dlopen="dlopen"
10981 else
10982 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10983 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10984 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 ac_check_lib_save_LIBS=$LIBS
10988 LIBS="-ldl $LIBS"
10989 if test x$gcc_no_link = xyes; then
10990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10992 { (exit 1); exit 1; }; }
10993 fi
10994 cat >conftest.$ac_ext <<_ACEOF
10995 /* confdefs.h. */
10996 _ACEOF
10997 cat confdefs.h >>conftest.$ac_ext
10998 cat >>conftest.$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11000
11001 /* Override any gcc2 internal prototype to avoid an error. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 /* We use char because int might match the return type of a gcc2
11006 builtin and then its argument prototype would still apply. */
11007 char dlopen ();
11008 int
11009 main ()
11010 {
11011 dlopen ();
11012 ;
11013 return 0;
11014 }
11015 _ACEOF
11016 rm -f conftest.$ac_objext conftest$ac_exeext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11018 (eval $ac_link) 2>conftest.er1
11019 ac_status=$?
11020 grep -v '^ *+' conftest.er1 >conftest.err
11021 rm -f conftest.er1
11022 cat conftest.err >&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try='test -z "$ac_c_werror_flag"
11026 || test ! -s conftest.err'
11027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028 (eval $ac_try) 2>&5
11029 ac_status=$?
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }; } &&
11032 { ac_try='test -s conftest$ac_exeext'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_cv_lib_dl_dlopen=yes
11039 else
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.$ac_ext >&5
11042
11043 ac_cv_lib_dl_dlopen=no
11044 fi
11045 rm -f conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11048 fi
11049 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11050 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11051 if test $ac_cv_lib_dl_dlopen = yes; then
11052 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11053 else
11054 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11055 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11056 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lsvld $LIBS"
11061 if test x$gcc_no_link = xyes; then
11062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11064 { (exit 1); exit 1; }; }
11065 fi
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072
11073 /* Override any gcc2 internal prototype to avoid an error. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 /* We use char because int might match the return type of a gcc2
11078 builtin and then its argument prototype would still apply. */
11079 char dlopen ();
11080 int
11081 main ()
11082 {
11083 dlopen ();
11084 ;
11085 return 0;
11086 }
11087 _ACEOF
11088 rm -f conftest.$ac_objext conftest$ac_exeext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11090 (eval $ac_link) 2>conftest.er1
11091 ac_status=$?
11092 grep -v '^ *+' conftest.er1 >conftest.err
11093 rm -f conftest.er1
11094 cat conftest.err >&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } &&
11097 { ac_try='test -z "$ac_c_werror_flag"
11098 || test ! -s conftest.err'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11101 ac_status=$?
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; } &&
11104 { ac_try='test -s conftest$ac_exeext'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11107 ac_status=$?
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; }; then
11110 ac_cv_lib_svld_dlopen=yes
11111 else
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.$ac_ext >&5
11114
11115 ac_cv_lib_svld_dlopen=no
11116 fi
11117 rm -f conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_lib_save_LIBS
11120 fi
11121 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11122 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11123 if test $ac_cv_lib_svld_dlopen = yes; then
11124 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11125 else
11126 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11127 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11128 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldld $LIBS"
11133 if test x$gcc_no_link = xyes; then
11134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11136 { (exit 1); exit 1; }; }
11137 fi
11138 cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h. */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11144
11145 /* Override any gcc2 internal prototype to avoid an error. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 /* We use char because int might match the return type of a gcc2
11150 builtin and then its argument prototype would still apply. */
11151 char dld_link ();
11152 int
11153 main ()
11154 {
11155 dld_link ();
11156 ;
11157 return 0;
11158 }
11159 _ACEOF
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162 (eval $ac_link) 2>conftest.er1
11163 ac_status=$?
11164 grep -v '^ *+' conftest.er1 >conftest.err
11165 rm -f conftest.er1
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try='test -s conftest$ac_exeext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11179 ac_status=$?
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_cv_lib_dld_dld_link=yes
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11186
11187 ac_cv_lib_dld_dld_link=no
11188 fi
11189 rm -f conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11192 fi
11193 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11194 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11195 if test $ac_cv_lib_dld_dld_link = yes; then
11196 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11197 fi
11198
11199
11200 fi
11201
11202
11203 fi
11204
11205
11206 fi
11207
11208
11209 fi
11210
11211
11212 fi
11213
11214 ;;
11215 esac
11216
11217 if test "x$lt_cv_dlopen" != xno; then
11218 enable_dlopen=yes
11219 else
11220 enable_dlopen=no
11221 fi
11222
11223 case $lt_cv_dlopen in
11224 dlopen)
11225 save_CPPFLAGS="$CPPFLAGS"
11226 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11227
11228 save_LDFLAGS="$LDFLAGS"
11229 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11230
11231 save_LIBS="$LIBS"
11232 LIBS="$lt_cv_dlopen_libs $LIBS"
11233
11234 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11235 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11236 if test "${lt_cv_dlopen_self+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11239 if test "$cross_compiling" = yes; then :
11240 lt_cv_dlopen_self=cross
11241 else
11242 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11243 lt_status=$lt_dlunknown
11244 cat > conftest.$ac_ext <<_LT_EOF
11245 #line 11245 "configure"
11246 #include "confdefs.h"
11247
11248 #if HAVE_DLFCN_H
11249 #include <dlfcn.h>
11250 #endif
11251
11252 #include <stdio.h>
11253
11254 #ifdef RTLD_GLOBAL
11255 # define LT_DLGLOBAL RTLD_GLOBAL
11256 #else
11257 # ifdef DL_GLOBAL
11258 # define LT_DLGLOBAL DL_GLOBAL
11259 # else
11260 # define LT_DLGLOBAL 0
11261 # endif
11262 #endif
11263
11264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11265 find out it does not work in some platform. */
11266 #ifndef LT_DLLAZY_OR_NOW
11267 # ifdef RTLD_LAZY
11268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11269 # else
11270 # ifdef DL_LAZY
11271 # define LT_DLLAZY_OR_NOW DL_LAZY
11272 # else
11273 # ifdef RTLD_NOW
11274 # define LT_DLLAZY_OR_NOW RTLD_NOW
11275 # else
11276 # ifdef DL_NOW
11277 # define LT_DLLAZY_OR_NOW DL_NOW
11278 # else
11279 # define LT_DLLAZY_OR_NOW 0
11280 # endif
11281 # endif
11282 # endif
11283 # endif
11284 #endif
11285
11286 void fnord() { int i=42;}
11287 int main ()
11288 {
11289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11290 int status = $lt_dlunknown;
11291
11292 if (self)
11293 {
11294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11295 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11296 /* dlclose (self); */
11297 }
11298 else
11299 puts (dlerror ());
11300
11301 return status;
11302 }
11303 _LT_EOF
11304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11305 (eval $ac_link) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11309 (./conftest; exit; ) >&5 2>/dev/null
11310 lt_status=$?
11311 case x$lt_status in
11312 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11313 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11314 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11315 esac
11316 else :
11317 # compilation failed
11318 lt_cv_dlopen_self=no
11319 fi
11320 fi
11321 rm -fr conftest*
11322
11323
11324 fi
11325 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11326 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11327
11328 if test "x$lt_cv_dlopen_self" = xyes; then
11329 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11330 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11331 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11332 if test "${lt_cv_dlopen_self_static+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 if test "$cross_compiling" = yes; then :
11336 lt_cv_dlopen_self_static=cross
11337 else
11338 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11339 lt_status=$lt_dlunknown
11340 cat > conftest.$ac_ext <<_LT_EOF
11341 #line 11341 "configure"
11342 #include "confdefs.h"
11343
11344 #if HAVE_DLFCN_H
11345 #include <dlfcn.h>
11346 #endif
11347
11348 #include <stdio.h>
11349
11350 #ifdef RTLD_GLOBAL
11351 # define LT_DLGLOBAL RTLD_GLOBAL
11352 #else
11353 # ifdef DL_GLOBAL
11354 # define LT_DLGLOBAL DL_GLOBAL
11355 # else
11356 # define LT_DLGLOBAL 0
11357 # endif
11358 #endif
11359
11360 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11361 find out it does not work in some platform. */
11362 #ifndef LT_DLLAZY_OR_NOW
11363 # ifdef RTLD_LAZY
11364 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11365 # else
11366 # ifdef DL_LAZY
11367 # define LT_DLLAZY_OR_NOW DL_LAZY
11368 # else
11369 # ifdef RTLD_NOW
11370 # define LT_DLLAZY_OR_NOW RTLD_NOW
11371 # else
11372 # ifdef DL_NOW
11373 # define LT_DLLAZY_OR_NOW DL_NOW
11374 # else
11375 # define LT_DLLAZY_OR_NOW 0
11376 # endif
11377 # endif
11378 # endif
11379 # endif
11380 #endif
11381
11382 void fnord() { int i=42;}
11383 int main ()
11384 {
11385 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11386 int status = $lt_dlunknown;
11387
11388 if (self)
11389 {
11390 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11391 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11392 /* dlclose (self); */
11393 }
11394 else
11395 puts (dlerror ());
11396
11397 return status;
11398 }
11399 _LT_EOF
11400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11401 (eval $ac_link) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11405 (./conftest; exit; ) >&5 2>/dev/null
11406 lt_status=$?
11407 case x$lt_status in
11408 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11409 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11410 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11411 esac
11412 else :
11413 # compilation failed
11414 lt_cv_dlopen_self_static=no
11415 fi
11416 fi
11417 rm -fr conftest*
11418
11419
11420 fi
11421 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11422 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11423 fi
11424
11425 CPPFLAGS="$save_CPPFLAGS"
11426 LDFLAGS="$save_LDFLAGS"
11427 LIBS="$save_LIBS"
11428 ;;
11429 esac
11430
11431 case $lt_cv_dlopen_self in
11432 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11433 *) enable_dlopen_self=unknown ;;
11434 esac
11435
11436 case $lt_cv_dlopen_self_static in
11437 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11438 *) enable_dlopen_self_static=unknown ;;
11439 esac
11440 fi
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458 striplib=
11459 old_striplib=
11460 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11461 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11462 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11463 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11464 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11465 echo "$as_me:$LINENO: result: yes" >&5
11466 echo "${ECHO_T}yes" >&6
11467 else
11468 # FIXME - insert some real tests, host_os isn't really good enough
11469 case $host_os in
11470 darwin*)
11471 if test -n "$STRIP" ; then
11472 striplib="$STRIP -x"
11473 old_striplib="$STRIP -S"
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480 ;;
11481 *)
11482 echo "$as_me:$LINENO: result: no" >&5
11483 echo "${ECHO_T}no" >&6
11484 ;;
11485 esac
11486 fi
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499 # Report which library types will actually be built
11500 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11501 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11502 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11503 echo "${ECHO_T}$can_build_shared" >&6
11504
11505 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11506 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11507 test "$can_build_shared" = "no" && enable_shared=no
11508
11509 # On AIX, shared libraries and static libraries use the same namespace, and
11510 # are all built from PIC.
11511 case $host_os in
11512 aix3*)
11513 test "$enable_shared" = yes && enable_static=no
11514 if test -n "$RANLIB"; then
11515 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11516 postinstall_cmds='$RANLIB $lib'
11517 fi
11518 ;;
11519
11520 aix[4-9]*)
11521 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11522 test "$enable_shared" = yes && enable_static=no
11523 fi
11524 ;;
11525 esac
11526 echo "$as_me:$LINENO: result: $enable_shared" >&5
11527 echo "${ECHO_T}$enable_shared" >&6
11528
11529 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11530 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11531 # Make sure either enable_shared or enable_static is yes.
11532 test "$enable_shared" = yes || enable_static=yes
11533 echo "$as_me:$LINENO: result: $enable_static" >&5
11534 echo "${ECHO_T}$enable_static" >&6
11535
11536
11537
11538
11539 fi
11540 ac_ext=c
11541 ac_cpp='$CPP $CPPFLAGS'
11542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11545
11546 CC="$lt_save_CC"
11547
11548
11549 ac_ext=cc
11550 ac_cpp='$CXXCPP $CPPFLAGS'
11551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11554
11555 archive_cmds_need_lc_CXX=no
11556 allow_undefined_flag_CXX=
11557 always_export_symbols_CXX=no
11558 archive_expsym_cmds_CXX=
11559 compiler_needs_object_CXX=no
11560 export_dynamic_flag_spec_CXX=
11561 hardcode_direct_CXX=no
11562 hardcode_direct_absolute_CXX=no
11563 hardcode_libdir_flag_spec_CXX=
11564 hardcode_libdir_flag_spec_ld_CXX=
11565 hardcode_libdir_separator_CXX=
11566 hardcode_minus_L_CXX=no
11567 hardcode_shlibpath_var_CXX=unsupported
11568 hardcode_automatic_CXX=no
11569 inherit_rpath_CXX=no
11570 module_cmds_CXX=
11571 module_expsym_cmds_CXX=
11572 link_all_deplibs_CXX=unknown
11573 old_archive_cmds_CXX=$old_archive_cmds
11574 no_undefined_flag_CXX=
11575 whole_archive_flag_spec_CXX=
11576 enable_shared_with_static_runtimes_CXX=no
11577
11578 # Source file extension for C++ test sources.
11579 ac_ext=cpp
11580
11581 # Object file extension for compiled C++ test sources.
11582 objext=o
11583 objext_CXX=$objext
11584
11585 # No sense in running all these tests if we already determined that
11586 # the CXX compiler isn't working. Some variables (like enable_shared)
11587 # are currently assumed to apply to all compilers on this platform,
11588 # and will be corrupted by setting them based on a non-working compiler.
11589 if test "$_lt_caught_CXX_error" != yes; then
11590 # Code to be used in simple compile tests
11591 lt_simple_compile_test_code="int some_variable = 0;"
11592
11593 # Code to be used in simple link tests
11594 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11595
11596 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11597
11598
11599
11600
11601
11602
11603 # If no C compiler was specified, use CC.
11604 LTCC=${LTCC-"$CC"}
11605
11606 # If no C compiler flags were specified, use CFLAGS.
11607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11608
11609 # Allow CC to be a program name with arguments.
11610 compiler=$CC
11611
11612
11613 # save warnings/boilerplate of simple test code
11614 ac_outfile=conftest.$ac_objext
11615 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11616 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11617 _lt_compiler_boilerplate=`cat conftest.err`
11618 $RM conftest*
11619
11620 ac_outfile=conftest.$ac_objext
11621 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11622 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11623 _lt_linker_boilerplate=`cat conftest.err`
11624 $RM -r conftest*
11625
11626
11627 # Allow CC to be a program name with arguments.
11628 lt_save_CC=$CC
11629 lt_save_LD=$LD
11630 lt_save_GCC=$GCC
11631 GCC=$GXX
11632 lt_save_with_gnu_ld=$with_gnu_ld
11633 lt_save_path_LD=$lt_cv_path_LD
11634 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11635 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11636 else
11637 $as_unset lt_cv_prog_gnu_ld
11638 fi
11639 if test -n "${lt_cv_path_LDCXX+set}"; then
11640 lt_cv_path_LD=$lt_cv_path_LDCXX
11641 else
11642 $as_unset lt_cv_path_LD
11643 fi
11644 test -z "${LDCXX+set}" || LD=$LDCXX
11645 CC=${CXX-"c++"}
11646 compiler=$CC
11647 compiler_CXX=$CC
11648 for cc_temp in $compiler""; do
11649 case $cc_temp in
11650 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11651 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11652 \-*) ;;
11653 *) break;;
11654 esac
11655 done
11656 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11657
11658
11659 if test -n "$compiler"; then
11660 # We don't want -fno-exception when compiling C++ code, so set the
11661 # no_builtin_flag separately
11662 if test "$GXX" = yes; then
11663 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11664 else
11665 lt_prog_compiler_no_builtin_flag_CXX=
11666 fi
11667
11668 if test "$GXX" = yes; then
11669 # Set up default GNU C++ configuration
11670
11671
11672
11673 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11674 if test "${with_gnu_ld+set}" = set; then
11675 withval="$with_gnu_ld"
11676 test "$withval" = no || with_gnu_ld=yes
11677 else
11678 with_gnu_ld=no
11679 fi;
11680 ac_prog=ld
11681 if test "$GCC" = yes; then
11682 # Check if gcc -print-prog-name=ld gives a path.
11683 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11684 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11685 case $host in
11686 *-*-mingw*)
11687 # gcc leaves a trailing carriage return which upsets mingw
11688 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11689 *)
11690 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11691 esac
11692 case $ac_prog in
11693 # Accept absolute paths.
11694 [\\/]* | ?:[\\/]*)
11695 re_direlt='/[^/][^/]*/\.\./'
11696 # Canonicalize the pathname of ld
11697 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11698 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11699 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11700 done
11701 test -z "$LD" && LD="$ac_prog"
11702 ;;
11703 "")
11704 # If it fails, then pretend we aren't using GCC.
11705 ac_prog=ld
11706 ;;
11707 *)
11708 # If it is relative, then search for the first ld in PATH.
11709 with_gnu_ld=unknown
11710 ;;
11711 esac
11712 elif test "$with_gnu_ld" = yes; then
11713 echo "$as_me:$LINENO: checking for GNU ld" >&5
11714 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11715 else
11716 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11717 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11718 fi
11719 if test "${lt_cv_path_LD+set}" = set; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 else
11722 if test -z "$LD"; then
11723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11724 for ac_dir in $PATH; do
11725 IFS="$lt_save_ifs"
11726 test -z "$ac_dir" && ac_dir=.
11727 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11728 lt_cv_path_LD="$ac_dir/$ac_prog"
11729 # Check to see if the program is GNU ld. I'd rather use --version,
11730 # but apparently some variants of GNU ld only accept -v.
11731 # Break only if it was the GNU/non-GNU ld that we prefer.
11732 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11733 *GNU* | *'with BFD'*)
11734 test "$with_gnu_ld" != no && break
11735 ;;
11736 *)
11737 test "$with_gnu_ld" != yes && break
11738 ;;
11739 esac
11740 fi
11741 done
11742 IFS="$lt_save_ifs"
11743 else
11744 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11745 fi
11746 fi
11747
11748 LD="$lt_cv_path_LD"
11749 if test -n "$LD"; then
11750 echo "$as_me:$LINENO: result: $LD" >&5
11751 echo "${ECHO_T}$LD" >&6
11752 else
11753 echo "$as_me:$LINENO: result: no" >&5
11754 echo "${ECHO_T}no" >&6
11755 fi
11756 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11757 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11758 { (exit 1); exit 1; }; }
11759 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11760 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11761 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 else
11764 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11765 case `$LD -v 2>&1 </dev/null` in
11766 *GNU* | *'with BFD'*)
11767 lt_cv_prog_gnu_ld=yes
11768 ;;
11769 *)
11770 lt_cv_prog_gnu_ld=no
11771 ;;
11772 esac
11773 fi
11774 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11775 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11776 with_gnu_ld=$lt_cv_prog_gnu_ld
11777
11778
11779
11780
11781
11782
11783
11784 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11785 # archiving commands below assume that GNU ld is being used.
11786 if test "$with_gnu_ld" = yes; then
11787 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11788 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'
11789
11790 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11791 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11792
11793 # If archive_cmds runs LD, not CC, wlarc should be empty
11794 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11795 # investigate it a little bit more. (MM)
11796 wlarc='${wl}'
11797
11798 # ancient GNU ld didn't support --whole-archive et. al.
11799 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11800 $GREP 'no-whole-archive' > /dev/null; then
11801 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11802 else
11803 whole_archive_flag_spec_CXX=
11804 fi
11805 else
11806 with_gnu_ld=no
11807 wlarc=
11808
11809 # A generic and very simple default shared library creation
11810 # command for GNU C++ for the case where it uses the native
11811 # linker, instead of GNU ld. If possible, this setting should
11812 # overridden to take advantage of the native linker features on
11813 # the platform it is being used on.
11814 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11815 fi
11816
11817 # Commands to make compiler produce verbose output that lists
11818 # what "hidden" libraries, object files and flags are used when
11819 # linking a shared library.
11820 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11821
11822 else
11823 GXX=no
11824 with_gnu_ld=no
11825 wlarc=
11826 fi
11827
11828 # PORTME: fill in a description of your system's C++ link characteristics
11829 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11830 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11831 ld_shlibs_CXX=yes
11832 case $host_os in
11833 aix3*)
11834 # FIXME: insert proper C++ library support
11835 ld_shlibs_CXX=no
11836 ;;
11837 aix[4-9]*)
11838 if test "$host_cpu" = ia64; then
11839 # On IA64, the linker does run time linking by default, so we don't
11840 # have to do anything special.
11841 aix_use_runtimelinking=no
11842 exp_sym_flag='-Bexport'
11843 no_entry_flag=""
11844 else
11845 aix_use_runtimelinking=no
11846
11847 # Test if we are trying to use run time linking or normal
11848 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11849 # need to do runtime linking.
11850 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11851 for ld_flag in $LDFLAGS; do
11852 case $ld_flag in
11853 *-brtl*)
11854 aix_use_runtimelinking=yes
11855 break
11856 ;;
11857 esac
11858 done
11859 ;;
11860 esac
11861
11862 exp_sym_flag='-bexport'
11863 no_entry_flag='-bnoentry'
11864 fi
11865
11866 # When large executables or shared objects are built, AIX ld can
11867 # have problems creating the table of contents. If linking a library
11868 # or program results in "error TOC overflow" add -mminimal-toc to
11869 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11870 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11871
11872 archive_cmds_CXX=''
11873 hardcode_direct_CXX=yes
11874 hardcode_direct_absolute_CXX=yes
11875 hardcode_libdir_separator_CXX=':'
11876 link_all_deplibs_CXX=yes
11877 file_list_spec_CXX='${wl}-f,'
11878
11879 if test "$GXX" = yes; then
11880 case $host_os in aix4.[012]|aix4.[012].*)
11881 # We only want to do this on AIX 4.2 and lower, the check
11882 # below for broken collect2 doesn't work under 4.3+
11883 collect2name=`${CC} -print-prog-name=collect2`
11884 if test -f "$collect2name" &&
11885 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11886 then
11887 # We have reworked collect2
11888 :
11889 else
11890 # We have old collect2
11891 hardcode_direct_CXX=unsupported
11892 # It fails to find uninstalled libraries when the uninstalled
11893 # path is not listed in the libpath. Setting hardcode_minus_L
11894 # to unsupported forces relinking
11895 hardcode_minus_L_CXX=yes
11896 hardcode_libdir_flag_spec_CXX='-L$libdir'
11897 hardcode_libdir_separator_CXX=
11898 fi
11899 esac
11900 shared_flag='-shared'
11901 if test "$aix_use_runtimelinking" = yes; then
11902 shared_flag="$shared_flag "'${wl}-G'
11903 fi
11904 else
11905 # not using gcc
11906 if test "$host_cpu" = ia64; then
11907 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11908 # chokes on -Wl,-G. The following line is correct:
11909 shared_flag='-G'
11910 else
11911 if test "$aix_use_runtimelinking" = yes; then
11912 shared_flag='${wl}-G'
11913 else
11914 shared_flag='${wl}-bM:SRE'
11915 fi
11916 fi
11917 fi
11918
11919 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11920 # It seems that -bexpall does not export symbols beginning with
11921 # underscore (_), so it is better to generate a list of symbols to
11922 # export.
11923 always_export_symbols_CXX=yes
11924 if test "$aix_use_runtimelinking" = yes; then
11925 # Warning - without using the other runtime loading flags (-brtl),
11926 # -berok will link without error, but may produce a broken library.
11927 allow_undefined_flag_CXX='-berok'
11928 # Determine the default libpath from the value encoded in an empty
11929 # executable.
11930 if test x$gcc_no_link = xyes; then
11931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11933 { (exit 1); exit 1; }; }
11934 fi
11935 cat >conftest.$ac_ext <<_ACEOF
11936 /* confdefs.h. */
11937 _ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11941
11942 int
11943 main ()
11944 {
11945
11946 ;
11947 return 0;
11948 }
11949 _ACEOF
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>conftest.er1
11953 ac_status=$?
11954 grep -v '^ *+' conftest.er1 >conftest.err
11955 rm -f conftest.er1
11956 cat conftest.err >&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try='test -z "$ac_cxx_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972
11973 lt_aix_libpath_sed='
11974 /Import File Strings/,/^$/ {
11975 /^0/ {
11976 s/^0 *\(.*\)$/\1/
11977 p
11978 }
11979 }'
11980 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11981 # Check for a 64-bit object if we didn't find anything.
11982 if test -z "$aix_libpath"; then
11983 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11984 fi
11985 else
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.$ac_ext >&5
11988
11989 fi
11990 rm -f conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11993
11994 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11995
11996 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"
11997 else
11998 if test "$host_cpu" = ia64; then
11999 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12000 allow_undefined_flag_CXX="-z nodefs"
12001 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"
12002 else
12003 # Determine the default libpath from the value encoded in an
12004 # empty executable.
12005 if test x$gcc_no_link = xyes; then
12006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12008 { (exit 1); exit 1; }; }
12009 fi
12010 cat >conftest.$ac_ext <<_ACEOF
12011 /* confdefs.h. */
12012 _ACEOF
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12016
12017 int
12018 main ()
12019 {
12020
12021 ;
12022 return 0;
12023 }
12024 _ACEOF
12025 rm -f conftest.$ac_objext conftest$ac_exeext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12027 (eval $ac_link) 2>conftest.er1
12028 ac_status=$?
12029 grep -v '^ *+' conftest.er1 >conftest.err
12030 rm -f conftest.er1
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try='test -z "$ac_cxx_werror_flag"
12035 || test ! -s conftest.err'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12038 ac_status=$?
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12044 ac_status=$?
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047
12048 lt_aix_libpath_sed='
12049 /Import File Strings/,/^$/ {
12050 /^0/ {
12051 s/^0 *\(.*\)$/\1/
12052 p
12053 }
12054 }'
12055 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12056 # Check for a 64-bit object if we didn't find anything.
12057 if test -z "$aix_libpath"; then
12058 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12059 fi
12060 else
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12063
12064 fi
12065 rm -f conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12068
12069 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12070 # Warning - without using the other run time loading flags,
12071 # -berok will link without error, but may produce a broken library.
12072 no_undefined_flag_CXX=' ${wl}-bernotok'
12073 allow_undefined_flag_CXX=' ${wl}-berok'
12074 # Exported symbols can be pulled into shared objects from archives
12075 whole_archive_flag_spec_CXX='$convenience'
12076 archive_cmds_need_lc_CXX=yes
12077 # This is similar to how AIX traditionally builds its shared
12078 # libraries.
12079 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'
12080 fi
12081 fi
12082 ;;
12083
12084 beos*)
12085 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12086 allow_undefined_flag_CXX=unsupported
12087 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12088 # support --undefined. This deserves some investigation. FIXME
12089 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12090 else
12091 ld_shlibs_CXX=no
12092 fi
12093 ;;
12094
12095 chorus*)
12096 case $cc_basename in
12097 *)
12098 # FIXME: insert proper C++ library support
12099 ld_shlibs_CXX=no
12100 ;;
12101 esac
12102 ;;
12103
12104 cygwin* | mingw* | pw32* | cegcc*)
12105 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12106 # as there is no search path for DLLs.
12107 hardcode_libdir_flag_spec_CXX='-L$libdir'
12108 allow_undefined_flag_CXX=unsupported
12109 always_export_symbols_CXX=no
12110 enable_shared_with_static_runtimes_CXX=yes
12111
12112 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12113 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'
12114 # If the export-symbols file already is a .def file (1st line
12115 # is EXPORTS), use it as is; otherwise, prepend...
12116 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12117 cp $export_symbols $output_objdir/$soname.def;
12118 else
12119 echo EXPORTS > $output_objdir/$soname.def;
12120 cat $export_symbols >> $output_objdir/$soname.def;
12121 fi~
12122 $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'
12123 else
12124 ld_shlibs_CXX=no
12125 fi
12126 ;;
12127 darwin* | rhapsody*)
12128
12129
12130 archive_cmds_need_lc_CXX=no
12131 hardcode_direct_CXX=no
12132 hardcode_automatic_CXX=yes
12133 hardcode_shlibpath_var_CXX=unsupported
12134 whole_archive_flag_spec_CXX=''
12135 link_all_deplibs_CXX=yes
12136 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12137 case $cc_basename in
12138 ifort*) _lt_dar_can_shared=yes ;;
12139 *) _lt_dar_can_shared=$GCC ;;
12140 esac
12141 if test "$_lt_dar_can_shared" = "yes"; then
12142 output_verbose_link_cmd=echo
12143 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12144 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12145 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12146 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12147 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12148 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12149 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12150 fi
12151
12152 else
12153 ld_shlibs_CXX=no
12154 fi
12155
12156 ;;
12157
12158 dgux*)
12159 case $cc_basename in
12160 ec++*)
12161 # FIXME: insert proper C++ library support
12162 ld_shlibs_CXX=no
12163 ;;
12164 ghcx*)
12165 # Green Hills C++ Compiler
12166 # FIXME: insert proper C++ library support
12167 ld_shlibs_CXX=no
12168 ;;
12169 *)
12170 # FIXME: insert proper C++ library support
12171 ld_shlibs_CXX=no
12172 ;;
12173 esac
12174 ;;
12175
12176 freebsd[12]*)
12177 # C++ shared libraries reported to be fairly broken before
12178 # switch to ELF
12179 ld_shlibs_CXX=no
12180 ;;
12181
12182 freebsd-elf*)
12183 archive_cmds_need_lc_CXX=no
12184 ;;
12185
12186 freebsd* | dragonfly*)
12187 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12188 # conventions
12189 ld_shlibs_CXX=yes
12190 ;;
12191
12192 gnu*)
12193 ;;
12194
12195 hpux9*)
12196 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12197 hardcode_libdir_separator_CXX=:
12198 export_dynamic_flag_spec_CXX='${wl}-E'
12199 hardcode_direct_CXX=yes
12200 hardcode_minus_L_CXX=yes # Not in the search PATH,
12201 # but as the default
12202 # location of the library.
12203
12204 case $cc_basename in
12205 CC*)
12206 # FIXME: insert proper C++ library support
12207 ld_shlibs_CXX=no
12208 ;;
12209 aCC*)
12210 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'
12211 # Commands to make compiler produce verbose output that lists
12212 # what "hidden" libraries, object files and flags are used when
12213 # linking a shared library.
12214 #
12215 # There doesn't appear to be a way to prevent this compiler from
12216 # explicitly linking system object files so we need to strip them
12217 # from the output so that they don't get included in the library
12218 # dependencies.
12219 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'
12220 ;;
12221 *)
12222 if test "$GXX" = yes; then
12223 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'
12224 else
12225 # FIXME: insert proper C++ library support
12226 ld_shlibs_CXX=no
12227 fi
12228 ;;
12229 esac
12230 ;;
12231
12232 hpux10*|hpux11*)
12233 if test $with_gnu_ld = no; then
12234 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12235 hardcode_libdir_separator_CXX=:
12236
12237 case $host_cpu in
12238 hppa*64*|ia64*)
12239 ;;
12240 *)
12241 export_dynamic_flag_spec_CXX='${wl}-E'
12242 ;;
12243 esac
12244 fi
12245 case $host_cpu in
12246 hppa*64*|ia64*)
12247 hardcode_direct_CXX=no
12248 hardcode_shlibpath_var_CXX=no
12249 ;;
12250 *)
12251 hardcode_direct_CXX=yes
12252 hardcode_direct_absolute_CXX=yes
12253 hardcode_minus_L_CXX=yes # Not in the search PATH,
12254 # but as the default
12255 # location of the library.
12256 ;;
12257 esac
12258
12259 case $cc_basename in
12260 CC*)
12261 # FIXME: insert proper C++ library support
12262 ld_shlibs_CXX=no
12263 ;;
12264 aCC*)
12265 case $host_cpu in
12266 hppa*64*)
12267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12268 ;;
12269 ia64*)
12270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12271 ;;
12272 *)
12273 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12274 ;;
12275 esac
12276 # Commands to make compiler produce verbose output that lists
12277 # what "hidden" libraries, object files and flags are used when
12278 # linking a shared library.
12279 #
12280 # There doesn't appear to be a way to prevent this compiler from
12281 # explicitly linking system object files so we need to strip them
12282 # from the output so that they don't get included in the library
12283 # dependencies.
12284 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'
12285 ;;
12286 *)
12287 if test "$GXX" = yes; then
12288 if test $with_gnu_ld = no; then
12289 case $host_cpu in
12290 hppa*64*)
12291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12292 ;;
12293 ia64*)
12294 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12295 ;;
12296 *)
12297 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'
12298 ;;
12299 esac
12300 fi
12301 else
12302 # FIXME: insert proper C++ library support
12303 ld_shlibs_CXX=no
12304 fi
12305 ;;
12306 esac
12307 ;;
12308
12309 interix[3-9]*)
12310 hardcode_direct_CXX=no
12311 hardcode_shlibpath_var_CXX=no
12312 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12313 export_dynamic_flag_spec_CXX='${wl}-E'
12314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12315 # Instead, shared libraries are loaded at an image base (0x10000000 by
12316 # default) and relocated if they conflict, which is a slow very memory
12317 # consuming and fragmenting process. To avoid this, we pick a random,
12318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12320 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'
12321 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'
12322 ;;
12323 irix5* | irix6*)
12324 case $cc_basename in
12325 CC*)
12326 # SGI C++
12327 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'
12328
12329 # Archives containing C++ object files must be created using
12330 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12331 # necessary to make sure instantiated templates are included
12332 # in the archive.
12333 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12334 ;;
12335 *)
12336 if test "$GXX" = yes; then
12337 if test "$with_gnu_ld" = no; then
12338 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'
12339 else
12340 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'
12341 fi
12342 fi
12343 link_all_deplibs_CXX=yes
12344 ;;
12345 esac
12346 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12347 hardcode_libdir_separator_CXX=:
12348 inherit_rpath_CXX=yes
12349 ;;
12350
12351 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12352 case $cc_basename in
12353 KCC*)
12354 # Kuck and Associates, Inc. (KAI) C++ Compiler
12355
12356 # KCC will only create a shared library if the output file
12357 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12358 # to its proper name (with version) after linking.
12359 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'
12360 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'
12361 # Commands to make compiler produce verbose output that lists
12362 # what "hidden" libraries, object files and flags are used when
12363 # linking a shared library.
12364 #
12365 # There doesn't appear to be a way to prevent this compiler from
12366 # explicitly linking system object files so we need to strip them
12367 # from the output so that they don't get included in the library
12368 # dependencies.
12369 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'
12370
12371 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12372 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12373
12374 # Archives containing C++ object files must be created using
12375 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12376 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12377 ;;
12378 icpc* | ecpc* )
12379 # Intel C++
12380 with_gnu_ld=yes
12381 # version 8.0 and above of icpc choke on multiply defined symbols
12382 # if we add $predep_objects and $postdep_objects, however 7.1 and
12383 # earlier do not add the objects themselves.
12384 case `$CC -V 2>&1` in
12385 *"Version 7."*)
12386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12387 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'
12388 ;;
12389 *) # Version 8.0 or newer
12390 tmp_idyn=
12391 case $host_cpu in
12392 ia64*) tmp_idyn=' -i_dynamic';;
12393 esac
12394 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12395 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'
12396 ;;
12397 esac
12398 archive_cmds_need_lc_CXX=no
12399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12400 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12402 ;;
12403 pgCC* | pgcpp*)
12404 # Portland Group C++ compiler
12405 case `$CC -V` in
12406 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12407 prelink_cmds_CXX='tpldir=Template.dir~
12408 rm -rf $tpldir~
12409 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12410 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12411 old_archive_cmds_CXX='tpldir=Template.dir~
12412 rm -rf $tpldir~
12413 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12414 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12415 $RANLIB $oldlib'
12416 archive_cmds_CXX='tpldir=Template.dir~
12417 rm -rf $tpldir~
12418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12420 archive_expsym_cmds_CXX='tpldir=Template.dir~
12421 rm -rf $tpldir~
12422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12423 $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'
12424 ;;
12425 *) # Version 6 will use weak symbols
12426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12427 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'
12428 ;;
12429 esac
12430
12431 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12432 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12433 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'
12434 ;;
12435 cxx*)
12436 # Compaq C++
12437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 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'
12439
12440 runpath_var=LD_RUN_PATH
12441 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12442 hardcode_libdir_separator_CXX=:
12443
12444 # Commands to make compiler produce verbose output that lists
12445 # what "hidden" libraries, object files and flags are used when
12446 # linking a shared library.
12447 #
12448 # There doesn't appear to be a way to prevent this compiler from
12449 # explicitly linking system object files so we need to strip them
12450 # from the output so that they don't get included in the library
12451 # dependencies.
12452 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'
12453 ;;
12454 xl*)
12455 # IBM XL 8.0 on PPC, with GNU ld
12456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12458 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12459 if test "x$supports_anon_versioning" = xyes; then
12460 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12462 echo "local: *; };" >> $output_objdir/$libname.ver~
12463 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12464 fi
12465 ;;
12466 *)
12467 case `$CC -V 2>&1 | sed 5q` in
12468 *Sun\ C*)
12469 # Sun C++ 5.9
12470 no_undefined_flag_CXX=' -zdefs'
12471 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12472 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'
12473 hardcode_libdir_flag_spec_CXX='-R$libdir'
12474 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'
12475 compiler_needs_object_CXX=yes
12476
12477 # Not sure whether something based on
12478 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12479 # would be better.
12480 output_verbose_link_cmd='echo'
12481
12482 # Archives containing C++ object files must be created using
12483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12484 # necessary to make sure instantiated templates are included
12485 # in the archive.
12486 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12487 ;;
12488 esac
12489 ;;
12490 esac
12491 ;;
12492
12493 lynxos*)
12494 # FIXME: insert proper C++ library support
12495 ld_shlibs_CXX=no
12496 ;;
12497
12498 m88k*)
12499 # FIXME: insert proper C++ library support
12500 ld_shlibs_CXX=no
12501 ;;
12502
12503 mvs*)
12504 case $cc_basename in
12505 cxx*)
12506 # FIXME: insert proper C++ library support
12507 ld_shlibs_CXX=no
12508 ;;
12509 *)
12510 # FIXME: insert proper C++ library support
12511 ld_shlibs_CXX=no
12512 ;;
12513 esac
12514 ;;
12515
12516 netbsd*)
12517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12518 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12519 wlarc=
12520 hardcode_libdir_flag_spec_CXX='-R$libdir'
12521 hardcode_direct_CXX=yes
12522 hardcode_shlibpath_var_CXX=no
12523 fi
12524 # Workaround some broken pre-1.5 toolchains
12525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12526 ;;
12527
12528 *nto* | *qnx*)
12529 ld_shlibs_CXX=yes
12530 ;;
12531
12532 openbsd2*)
12533 # C++ shared libraries are fairly broken
12534 ld_shlibs_CXX=no
12535 ;;
12536
12537 openbsd*)
12538 if test -f /usr/libexec/ld.so; then
12539 hardcode_direct_CXX=yes
12540 hardcode_shlibpath_var_CXX=no
12541 hardcode_direct_absolute_CXX=yes
12542 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12545 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12546 export_dynamic_flag_spec_CXX='${wl}-E'
12547 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12548 fi
12549 output_verbose_link_cmd=echo
12550 else
12551 ld_shlibs_CXX=no
12552 fi
12553 ;;
12554
12555 osf3* | osf4* | osf5*)
12556 case $cc_basename in
12557 KCC*)
12558 # Kuck and Associates, Inc. (KAI) C++ Compiler
12559
12560 # KCC will only create a shared library if the output file
12561 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12562 # to its proper name (with version) after linking.
12563 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'
12564
12565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12566 hardcode_libdir_separator_CXX=:
12567
12568 # Archives containing C++ object files must be created using
12569 # the KAI C++ compiler.
12570 case $host in
12571 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12572 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12573 esac
12574 ;;
12575 RCC*)
12576 # Rational C++ 2.4.1
12577 # FIXME: insert proper C++ library support
12578 ld_shlibs_CXX=no
12579 ;;
12580 cxx*)
12581 case $host in
12582 osf3*)
12583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12584 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'
12585 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12586 ;;
12587 *)
12588 allow_undefined_flag_CXX=' -expect_unresolved \*'
12589 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'
12590 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12591 echo "-hidden">> $lib.exp~
12592 $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~
12593 $RM $lib.exp'
12594 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12595 ;;
12596 esac
12597
12598 hardcode_libdir_separator_CXX=:
12599
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12603 #
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12607 # dependencies.
12608 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'
12609 ;;
12610 *)
12611 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12612 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12613 case $host in
12614 osf3*)
12615 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'
12616 ;;
12617 *)
12618 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'
12619 ;;
12620 esac
12621
12622 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12623 hardcode_libdir_separator_CXX=:
12624
12625 # Commands to make compiler produce verbose output that lists
12626 # what "hidden" libraries, object files and flags are used when
12627 # linking a shared library.
12628 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12629
12630 else
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12633 fi
12634 ;;
12635 esac
12636 ;;
12637
12638 psos*)
12639 # FIXME: insert proper C++ library support
12640 ld_shlibs_CXX=no
12641 ;;
12642
12643 sunos4*)
12644 case $cc_basename in
12645 CC*)
12646 # Sun C++ 4.x
12647 # FIXME: insert proper C++ library support
12648 ld_shlibs_CXX=no
12649 ;;
12650 lcc*)
12651 # Lucid
12652 # FIXME: insert proper C++ library support
12653 ld_shlibs_CXX=no
12654 ;;
12655 *)
12656 # FIXME: insert proper C++ library support
12657 ld_shlibs_CXX=no
12658 ;;
12659 esac
12660 ;;
12661
12662 solaris*)
12663 case $cc_basename in
12664 CC*)
12665 # Sun C++ 4.2, 5.x and Centerline C++
12666 archive_cmds_need_lc_CXX=yes
12667 no_undefined_flag_CXX=' -zdefs'
12668 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12670 $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'
12671
12672 hardcode_libdir_flag_spec_CXX='-R$libdir'
12673 hardcode_shlibpath_var_CXX=no
12674 case $host_os in
12675 solaris2.[0-5] | solaris2.[0-5].*) ;;
12676 *)
12677 # The compiler driver will combine and reorder linker options,
12678 # but understands `-z linker_flag'.
12679 # Supported since Solaris 2.6 (maybe 2.5.1?)
12680 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12681 ;;
12682 esac
12683 link_all_deplibs_CXX=yes
12684
12685 output_verbose_link_cmd='echo'
12686
12687 # Archives containing C++ object files must be created using
12688 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12692 ;;
12693 gcx*)
12694 # Green Hills C++ Compiler
12695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12696
12697 # The C++ compiler must be used to create the archive.
12698 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12699 ;;
12700 *)
12701 # GNU C++ compiler with Solaris linker
12702 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12703 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12704 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12705 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12707 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12708
12709 # Commands to make compiler produce verbose output that lists
12710 # what "hidden" libraries, object files and flags are used when
12711 # linking a shared library.
12712 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12713 else
12714 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12715 # platform.
12716 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12717 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12718 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12719
12720 # Commands to make compiler produce verbose output that lists
12721 # what "hidden" libraries, object files and flags are used when
12722 # linking a shared library.
12723 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12724 fi
12725
12726 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12727 case $host_os in
12728 solaris2.[0-5] | solaris2.[0-5].*) ;;
12729 *)
12730 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12731 ;;
12732 esac
12733 fi
12734 ;;
12735 esac
12736 ;;
12737
12738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12739 no_undefined_flag_CXX='${wl}-z,text'
12740 archive_cmds_need_lc_CXX=no
12741 hardcode_shlibpath_var_CXX=no
12742 runpath_var='LD_RUN_PATH'
12743
12744 case $cc_basename in
12745 CC*)
12746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12748 ;;
12749 *)
12750 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12751 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12752 ;;
12753 esac
12754 ;;
12755
12756 sysv5* | sco3.2v5* | sco5v6*)
12757 # Note: We can NOT use -z defs as we might desire, because we do not
12758 # link with -lc, and that would cause any symbols used from libc to
12759 # always be unresolved, which means just about no library would
12760 # ever link correctly. If we're not using GNU ld we use -z text
12761 # though, which does catch some bad symbols but isn't as heavy-handed
12762 # as -z defs.
12763 no_undefined_flag_CXX='${wl}-z,text'
12764 allow_undefined_flag_CXX='${wl}-z,nodefs'
12765 archive_cmds_need_lc_CXX=no
12766 hardcode_shlibpath_var_CXX=no
12767 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12768 hardcode_libdir_separator_CXX=':'
12769 link_all_deplibs_CXX=yes
12770 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12771 runpath_var='LD_RUN_PATH'
12772
12773 case $cc_basename in
12774 CC*)
12775 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12776 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12777 ;;
12778 *)
12779 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12780 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12781 ;;
12782 esac
12783 ;;
12784
12785 tandem*)
12786 case $cc_basename in
12787 NCC*)
12788 # NonStop-UX NCC 3.20
12789 # FIXME: insert proper C++ library support
12790 ld_shlibs_CXX=no
12791 ;;
12792 *)
12793 # FIXME: insert proper C++ library support
12794 ld_shlibs_CXX=no
12795 ;;
12796 esac
12797 ;;
12798
12799 vxworks*)
12800 # FIXME: insert proper C++ library support
12801 ld_shlibs_CXX=no
12802 ;;
12803
12804 *)
12805 # FIXME: insert proper C++ library support
12806 ld_shlibs_CXX=no
12807 ;;
12808 esac
12809
12810 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12811 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12812 test "$ld_shlibs_CXX" = no && can_build_shared=no
12813
12814 GCC_CXX="$GXX"
12815 LD_CXX="$LD"
12816
12817 ## CAVEAT EMPTOR:
12818 ## There is no encapsulation within the following macros, do not change
12819 ## the running order or otherwise move them around unless you know exactly
12820 ## what you are doing...
12821 # Dependencies to place before and after the object being linked:
12822 predep_objects_CXX=
12823 postdep_objects_CXX=
12824 predeps_CXX=
12825 postdeps_CXX=
12826 compiler_lib_search_path_CXX=
12827
12828 cat > conftest.$ac_ext <<_LT_EOF
12829 class Foo
12830 {
12831 public:
12832 Foo (void) { a = 0; }
12833 private:
12834 int a;
12835 };
12836 _LT_EOF
12837
12838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 (eval $ac_compile) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; then
12843 # Parse the compiler output and extract the necessary
12844 # objects, libraries and library flags.
12845
12846 # Sentinel used to keep track of whether or not we are before
12847 # the conftest object file.
12848 pre_test_object_deps_done=no
12849
12850 for p in `eval "$output_verbose_link_cmd"`; do
12851 case $p in
12852
12853 -L* | -R* | -l*)
12854 # Some compilers place space between "-{L,R}" and the path.
12855 # Remove the space.
12856 if test $p = "-L" ||
12857 test $p = "-R"; then
12858 prev=$p
12859 continue
12860 else
12861 prev=
12862 fi
12863
12864 if test "$pre_test_object_deps_done" = no; then
12865 case $p in
12866 -L* | -R*)
12867 # Internal compiler library paths should come after those
12868 # provided the user. The postdeps already come after the
12869 # user supplied libs so there is no need to process them.
12870 if test -z "$compiler_lib_search_path_CXX"; then
12871 compiler_lib_search_path_CXX="${prev}${p}"
12872 else
12873 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12874 fi
12875 ;;
12876 # The "-l" case would never come before the object being
12877 # linked, so don't bother handling this case.
12878 esac
12879 else
12880 if test -z "$postdeps_CXX"; then
12881 postdeps_CXX="${prev}${p}"
12882 else
12883 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12884 fi
12885 fi
12886 ;;
12887
12888 *.$objext)
12889 # This assumes that the test object file only shows up
12890 # once in the compiler output.
12891 if test "$p" = "conftest.$objext"; then
12892 pre_test_object_deps_done=yes
12893 continue
12894 fi
12895
12896 if test "$pre_test_object_deps_done" = no; then
12897 if test -z "$predep_objects_CXX"; then
12898 predep_objects_CXX="$p"
12899 else
12900 predep_objects_CXX="$predep_objects_CXX $p"
12901 fi
12902 else
12903 if test -z "$postdep_objects_CXX"; then
12904 postdep_objects_CXX="$p"
12905 else
12906 postdep_objects_CXX="$postdep_objects_CXX $p"
12907 fi
12908 fi
12909 ;;
12910
12911 *) ;; # Ignore the rest.
12912
12913 esac
12914 done
12915
12916 # Clean up.
12917 rm -f a.out a.exe
12918 else
12919 echo "libtool.m4: error: problem compiling CXX test program"
12920 fi
12921
12922 $RM -f confest.$objext
12923
12924 # PORTME: override above test on systems where it is broken
12925 case $host_os in
12926 interix[3-9]*)
12927 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12928 # hack all around it, let's just trust "g++" to DTRT.
12929 predep_objects_CXX=
12930 postdep_objects_CXX=
12931 postdeps_CXX=
12932 ;;
12933
12934 linux*)
12935 case `$CC -V 2>&1 | sed 5q` in
12936 *Sun\ C*)
12937 # Sun C++ 5.9
12938
12939 # The more standards-conforming stlport4 library is
12940 # incompatible with the Cstd library. Avoid specifying
12941 # it if it's in CXXFLAGS. Ignore libCrun as
12942 # -library=stlport4 depends on it.
12943 case " $CXX $CXXFLAGS " in
12944 *" -library=stlport4 "*)
12945 solaris_use_stlport4=yes
12946 ;;
12947 esac
12948
12949 if test "$solaris_use_stlport4" != yes; then
12950 postdeps_CXX='-library=Cstd -library=Crun'
12951 fi
12952 ;;
12953 esac
12954 ;;
12955
12956 solaris*)
12957 case $cc_basename in
12958 CC*)
12959 # The more standards-conforming stlport4 library is
12960 # incompatible with the Cstd library. Avoid specifying
12961 # it if it's in CXXFLAGS. Ignore libCrun as
12962 # -library=stlport4 depends on it.
12963 case " $CXX $CXXFLAGS " in
12964 *" -library=stlport4 "*)
12965 solaris_use_stlport4=yes
12966 ;;
12967 esac
12968
12969 # Adding this requires a known-good setup of shared libraries for
12970 # Sun compiler versions before 5.6, else PIC objects from an old
12971 # archive will be linked into the output, leading to subtle bugs.
12972 if test "$solaris_use_stlport4" != yes; then
12973 postdeps_CXX='-library=Cstd -library=Crun'
12974 fi
12975 ;;
12976 esac
12977 ;;
12978 esac
12979
12980
12981 case " $postdeps_CXX " in
12982 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12983 esac
12984 compiler_lib_search_dirs_CXX=
12985 if test -n "${compiler_lib_search_path_CXX}"; then
12986 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12987 fi
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019 lt_prog_compiler_wl_CXX=
13020 lt_prog_compiler_pic_CXX=
13021 lt_prog_compiler_static_CXX=
13022
13023 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13024 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13025
13026 # C++ specific cases for pic, static, wl, etc.
13027 if test "$GXX" = yes; then
13028 lt_prog_compiler_wl_CXX='-Wl,'
13029 lt_prog_compiler_static_CXX='-static'
13030
13031 case $host_os in
13032 aix*)
13033 # All AIX code is PIC.
13034 if test "$host_cpu" = ia64; then
13035 # AIX 5 now supports IA64 processor
13036 lt_prog_compiler_static_CXX='-Bstatic'
13037 fi
13038 ;;
13039
13040 amigaos*)
13041 case $host_cpu in
13042 powerpc)
13043 # see comment about AmigaOS4 .so support
13044 lt_prog_compiler_pic_CXX='-fPIC'
13045 ;;
13046 m68k)
13047 # FIXME: we need at least 68020 code to build shared libraries, but
13048 # adding the `-m68020' flag to GCC prevents building anything better,
13049 # like `-m68040'.
13050 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13051 ;;
13052 esac
13053 ;;
13054
13055 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13056 # PIC is the default for these OSes.
13057 ;;
13058 mingw* | cygwin* | os2* | pw32* | cegcc*)
13059 # This hack is so that the source file can tell whether it is being
13060 # built for inclusion in a dll (and should export symbols for example).
13061 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13062 # (--disable-auto-import) libraries
13063 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13064 ;;
13065 darwin* | rhapsody*)
13066 # PIC is the default on this platform
13067 # Common symbols not allowed in MH_DYLIB files
13068 lt_prog_compiler_pic_CXX='-fno-common'
13069 ;;
13070 *djgpp*)
13071 # DJGPP does not support shared libraries at all
13072 lt_prog_compiler_pic_CXX=
13073 ;;
13074 interix[3-9]*)
13075 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13076 # Instead, we relocate shared libraries at runtime.
13077 ;;
13078 sysv4*MP*)
13079 if test -d /usr/nec; then
13080 lt_prog_compiler_pic_CXX=-Kconform_pic
13081 fi
13082 ;;
13083 hpux*)
13084 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13085 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13086 # sets the default TLS model and affects inlining.
13087 case $host_cpu in
13088 hppa*64*)
13089 ;;
13090 *)
13091 lt_prog_compiler_pic_CXX='-fPIC'
13092 ;;
13093 esac
13094 ;;
13095 *qnx* | *nto*)
13096 # QNX uses GNU C++, but need to define -shared option too, otherwise
13097 # it will coredump.
13098 lt_prog_compiler_pic_CXX='-fPIC -shared'
13099 ;;
13100 *)
13101 lt_prog_compiler_pic_CXX='-fPIC'
13102 ;;
13103 esac
13104 else
13105 case $host_os in
13106 aix[4-9]*)
13107 # All AIX code is PIC.
13108 if test "$host_cpu" = ia64; then
13109 # AIX 5 now supports IA64 processor
13110 lt_prog_compiler_static_CXX='-Bstatic'
13111 else
13112 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13113 fi
13114 ;;
13115 chorus*)
13116 case $cc_basename in
13117 cxch68*)
13118 # Green Hills C++ Compiler
13119 # _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"
13120 ;;
13121 esac
13122 ;;
13123 dgux*)
13124 case $cc_basename in
13125 ec++*)
13126 lt_prog_compiler_pic_CXX='-KPIC'
13127 ;;
13128 ghcx*)
13129 # Green Hills C++ Compiler
13130 lt_prog_compiler_pic_CXX='-pic'
13131 ;;
13132 *)
13133 ;;
13134 esac
13135 ;;
13136 freebsd* | dragonfly*)
13137 # FreeBSD uses GNU C++
13138 ;;
13139 hpux9* | hpux10* | hpux11*)
13140 case $cc_basename in
13141 CC*)
13142 lt_prog_compiler_wl_CXX='-Wl,'
13143 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13144 if test "$host_cpu" != ia64; then
13145 lt_prog_compiler_pic_CXX='+Z'
13146 fi
13147 ;;
13148 aCC*)
13149 lt_prog_compiler_wl_CXX='-Wl,'
13150 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13151 case $host_cpu in
13152 hppa*64*|ia64*)
13153 # +Z the default
13154 ;;
13155 *)
13156 lt_prog_compiler_pic_CXX='+Z'
13157 ;;
13158 esac
13159 ;;
13160 *)
13161 ;;
13162 esac
13163 ;;
13164 interix*)
13165 # This is c89, which is MS Visual C++ (no shared libs)
13166 # Anyone wants to do a port?
13167 ;;
13168 irix5* | irix6* | nonstopux*)
13169 case $cc_basename in
13170 CC*)
13171 lt_prog_compiler_wl_CXX='-Wl,'
13172 lt_prog_compiler_static_CXX='-non_shared'
13173 # CC pic flag -KPIC is the default.
13174 ;;
13175 *)
13176 ;;
13177 esac
13178 ;;
13179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13180 case $cc_basename in
13181 KCC*)
13182 # KAI C++ Compiler
13183 lt_prog_compiler_wl_CXX='--backend -Wl,'
13184 lt_prog_compiler_pic_CXX='-fPIC'
13185 ;;
13186 ecpc* )
13187 # old Intel C++ for x86_64 which still supported -KPIC.
13188 lt_prog_compiler_wl_CXX='-Wl,'
13189 lt_prog_compiler_pic_CXX='-KPIC'
13190 lt_prog_compiler_static_CXX='-static'
13191 ;;
13192 icpc* )
13193 # Intel C++, used to be incompatible with GCC.
13194 # ICC 10 doesn't accept -KPIC any more.
13195 lt_prog_compiler_wl_CXX='-Wl,'
13196 lt_prog_compiler_pic_CXX='-fPIC'
13197 lt_prog_compiler_static_CXX='-static'
13198 ;;
13199 pgCC* | pgcpp*)
13200 # Portland Group C++ compiler
13201 lt_prog_compiler_wl_CXX='-Wl,'
13202 lt_prog_compiler_pic_CXX='-fpic'
13203 lt_prog_compiler_static_CXX='-Bstatic'
13204 ;;
13205 cxx*)
13206 # Compaq C++
13207 # Make sure the PIC flag is empty. It appears that all Alpha
13208 # Linux and Compaq Tru64 Unix objects are PIC.
13209 lt_prog_compiler_pic_CXX=
13210 lt_prog_compiler_static_CXX='-non_shared'
13211 ;;
13212 xlc* | xlC*)
13213 # IBM XL 8.0 on PPC
13214 lt_prog_compiler_wl_CXX='-Wl,'
13215 lt_prog_compiler_pic_CXX='-qpic'
13216 lt_prog_compiler_static_CXX='-qstaticlink'
13217 ;;
13218 *)
13219 case `$CC -V 2>&1 | sed 5q` in
13220 *Sun\ C*)
13221 # Sun C++ 5.9
13222 lt_prog_compiler_pic_CXX='-KPIC'
13223 lt_prog_compiler_static_CXX='-Bstatic'
13224 lt_prog_compiler_wl_CXX='-Qoption ld '
13225 ;;
13226 esac
13227 ;;
13228 esac
13229 ;;
13230 lynxos*)
13231 ;;
13232 m88k*)
13233 ;;
13234 mvs*)
13235 case $cc_basename in
13236 cxx*)
13237 lt_prog_compiler_pic_CXX='-W c,exportall'
13238 ;;
13239 *)
13240 ;;
13241 esac
13242 ;;
13243 netbsd*)
13244 ;;
13245 *qnx* | *nto*)
13246 # QNX uses GNU C++, but need to define -shared option too, otherwise
13247 # it will coredump.
13248 lt_prog_compiler_pic_CXX='-fPIC -shared'
13249 ;;
13250 osf3* | osf4* | osf5*)
13251 case $cc_basename in
13252 KCC*)
13253 lt_prog_compiler_wl_CXX='--backend -Wl,'
13254 ;;
13255 RCC*)
13256 # Rational C++ 2.4.1
13257 lt_prog_compiler_pic_CXX='-pic'
13258 ;;
13259 cxx*)
13260 # Digital/Compaq C++
13261 lt_prog_compiler_wl_CXX='-Wl,'
13262 # Make sure the PIC flag is empty. It appears that all Alpha
13263 # Linux and Compaq Tru64 Unix objects are PIC.
13264 lt_prog_compiler_pic_CXX=
13265 lt_prog_compiler_static_CXX='-non_shared'
13266 ;;
13267 *)
13268 ;;
13269 esac
13270 ;;
13271 psos*)
13272 ;;
13273 solaris*)
13274 case $cc_basename in
13275 CC*)
13276 # Sun C++ 4.2, 5.x and Centerline C++
13277 lt_prog_compiler_pic_CXX='-KPIC'
13278 lt_prog_compiler_static_CXX='-Bstatic'
13279 lt_prog_compiler_wl_CXX='-Qoption ld '
13280 ;;
13281 gcx*)
13282 # Green Hills C++ Compiler
13283 lt_prog_compiler_pic_CXX='-PIC'
13284 ;;
13285 *)
13286 ;;
13287 esac
13288 ;;
13289 sunos4*)
13290 case $cc_basename in
13291 CC*)
13292 # Sun C++ 4.x
13293 lt_prog_compiler_pic_CXX='-pic'
13294 lt_prog_compiler_static_CXX='-Bstatic'
13295 ;;
13296 lcc*)
13297 # Lucid
13298 lt_prog_compiler_pic_CXX='-pic'
13299 ;;
13300 *)
13301 ;;
13302 esac
13303 ;;
13304 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13305 case $cc_basename in
13306 CC*)
13307 lt_prog_compiler_wl_CXX='-Wl,'
13308 lt_prog_compiler_pic_CXX='-KPIC'
13309 lt_prog_compiler_static_CXX='-Bstatic'
13310 ;;
13311 esac
13312 ;;
13313 tandem*)
13314 case $cc_basename in
13315 NCC*)
13316 # NonStop-UX NCC 3.20
13317 lt_prog_compiler_pic_CXX='-KPIC'
13318 ;;
13319 *)
13320 ;;
13321 esac
13322 ;;
13323 vxworks*)
13324 ;;
13325 *)
13326 lt_prog_compiler_can_build_shared_CXX=no
13327 ;;
13328 esac
13329 fi
13330
13331 case $host_os in
13332 # For platforms which do not support PIC, -DPIC is meaningless:
13333 *djgpp*)
13334 lt_prog_compiler_pic_CXX=
13335 ;;
13336 *)
13337 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13338 ;;
13339 esac
13340 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13341 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13342
13343
13344
13345 #
13346 # Check to make sure the PIC flag actually works.
13347 #
13348 if test -n "$lt_prog_compiler_pic_CXX"; then
13349 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13350 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13351 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else
13354 lt_cv_prog_compiler_pic_works_CXX=no
13355 ac_outfile=conftest.$ac_objext
13356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13357 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13358 # Insert the option either (1) after the last *FLAGS variable, or
13359 # (2) before a word containing "conftest.", or (3) at the end.
13360 # Note that $ac_compile itself does not contain backslashes and begins
13361 # with a dollar sign (not a hyphen), so the echo should work correctly.
13362 # The option is referenced via a variable to avoid confusing sed.
13363 lt_compile=`echo "$ac_compile" | $SED \
13364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13366 -e 's:$: $lt_compiler_flag:'`
13367 (eval echo "\"\$as_me:13367: $lt_compile\"" >&5)
13368 (eval "$lt_compile" 2>conftest.err)
13369 ac_status=$?
13370 cat conftest.err >&5
13371 echo "$as_me:13371: \$? = $ac_status" >&5
13372 if (exit $ac_status) && test -s "$ac_outfile"; then
13373 # The compiler can only warn and ignore the option if not recognized
13374 # So say no if there are warnings other than the usual output.
13375 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13377 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13378 lt_cv_prog_compiler_pic_works_CXX=yes
13379 fi
13380 fi
13381 $RM conftest*
13382
13383 fi
13384 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13385 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13386
13387 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13388 case $lt_prog_compiler_pic_CXX in
13389 "" | " "*) ;;
13390 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13391 esac
13392 else
13393 lt_prog_compiler_pic_CXX=
13394 lt_prog_compiler_can_build_shared_CXX=no
13395 fi
13396
13397 fi
13398
13399
13400
13401 #
13402 # Check to make sure the static flag actually works.
13403 #
13404 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13405 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13406 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13407 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 else
13410 lt_cv_prog_compiler_static_works_CXX=no
13411 save_LDFLAGS="$LDFLAGS"
13412 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13413 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13414 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13415 # The linker can only warn and ignore the option if not recognized
13416 # So say no if there are warnings
13417 if test -s conftest.err; then
13418 # Append any errors to the config.log.
13419 cat conftest.err 1>&5
13420 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13421 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13422 if diff conftest.exp conftest.er2 >/dev/null; then
13423 lt_cv_prog_compiler_static_works_CXX=yes
13424 fi
13425 else
13426 lt_cv_prog_compiler_static_works_CXX=yes
13427 fi
13428 fi
13429 $RM -r conftest*
13430 LDFLAGS="$save_LDFLAGS"
13431
13432 fi
13433 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13434 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13435
13436 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13437 :
13438 else
13439 lt_prog_compiler_static_CXX=
13440 fi
13441
13442
13443
13444
13445 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13447 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 else
13450 lt_cv_prog_compiler_c_o_CXX=no
13451 $RM -r conftest 2>/dev/null
13452 mkdir conftest
13453 cd conftest
13454 mkdir out
13455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13456
13457 lt_compiler_flag="-o out/conftest2.$ac_objext"
13458 # Insert the option either (1) after the last *FLAGS variable, or
13459 # (2) before a word containing "conftest.", or (3) at the end.
13460 # Note that $ac_compile itself does not contain backslashes and begins
13461 # with a dollar sign (not a hyphen), so the echo should work correctly.
13462 lt_compile=`echo "$ac_compile" | $SED \
13463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13465 -e 's:$: $lt_compiler_flag:'`
13466 (eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
13467 (eval "$lt_compile" 2>out/conftest.err)
13468 ac_status=$?
13469 cat out/conftest.err >&5
13470 echo "$as_me:13470: \$? = $ac_status" >&5
13471 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13472 then
13473 # The compiler can only warn and ignore the option if not recognized
13474 # So say no if there are warnings
13475 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13478 lt_cv_prog_compiler_c_o_CXX=yes
13479 fi
13480 fi
13481 chmod u+w . 2>&5
13482 $RM conftest*
13483 # SGI C++ compiler will create directory out/ii_files/ for
13484 # template instantiation
13485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13486 $RM out/* && rmdir out
13487 cd ..
13488 $RM -r conftest
13489 $RM conftest*
13490
13491 fi
13492 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13494
13495
13496
13497 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13498 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13499 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 lt_cv_prog_compiler_c_o_CXX=no
13503 $RM -r conftest 2>/dev/null
13504 mkdir conftest
13505 cd conftest
13506 mkdir out
13507 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13508
13509 lt_compiler_flag="-o out/conftest2.$ac_objext"
13510 # Insert the option either (1) after the last *FLAGS variable, or
13511 # (2) before a word containing "conftest.", or (3) at the end.
13512 # Note that $ac_compile itself does not contain backslashes and begins
13513 # with a dollar sign (not a hyphen), so the echo should work correctly.
13514 lt_compile=`echo "$ac_compile" | $SED \
13515 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13516 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13517 -e 's:$: $lt_compiler_flag:'`
13518 (eval echo "\"\$as_me:13518: $lt_compile\"" >&5)
13519 (eval "$lt_compile" 2>out/conftest.err)
13520 ac_status=$?
13521 cat out/conftest.err >&5
13522 echo "$as_me:13522: \$? = $ac_status" >&5
13523 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13524 then
13525 # The compiler can only warn and ignore the option if not recognized
13526 # So say no if there are warnings
13527 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13528 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13529 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13530 lt_cv_prog_compiler_c_o_CXX=yes
13531 fi
13532 fi
13533 chmod u+w . 2>&5
13534 $RM conftest*
13535 # SGI C++ compiler will create directory out/ii_files/ for
13536 # template instantiation
13537 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13538 $RM out/* && rmdir out
13539 cd ..
13540 $RM -r conftest
13541 $RM conftest*
13542
13543 fi
13544 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13545 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13546
13547
13548
13549
13550 hard_links="nottested"
13551 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13552 # do not overwrite the value of need_locks provided by the user
13553 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13554 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13555 hard_links=yes
13556 $RM conftest*
13557 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13558 touch conftest.a
13559 ln conftest.a conftest.b 2>&5 || hard_links=no
13560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13561 echo "$as_me:$LINENO: result: $hard_links" >&5
13562 echo "${ECHO_T}$hard_links" >&6
13563 if test "$hard_links" = no; then
13564 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13565 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13566 need_locks=warn
13567 fi
13568 else
13569 need_locks=no
13570 fi
13571
13572
13573
13574 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13575 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13576
13577 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13578 case $host_os in
13579 aix[4-9]*)
13580 # If we're using GNU nm, then we don't want the "-C" option.
13581 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13582 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13583 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'
13584 else
13585 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'
13586 fi
13587 ;;
13588 pw32*)
13589 export_symbols_cmds_CXX="$ltdll_cmds"
13590 ;;
13591 cygwin* | mingw* | cegcc*)
13592 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'
13593 ;;
13594 *)
13595 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13596 ;;
13597 esac
13598 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13599
13600 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13601 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13602 test "$ld_shlibs_CXX" = no && can_build_shared=no
13603
13604 with_gnu_ld_CXX=$with_gnu_ld
13605
13606
13607
13608
13609
13610
13611 #
13612 # Do we need to explicitly link libc?
13613 #
13614 case "x$archive_cmds_need_lc_CXX" in
13615 x|xyes)
13616 # Assume -lc should be added
13617 archive_cmds_need_lc_CXX=yes
13618
13619 if test "$enable_shared" = yes && test "$GCC" = yes; then
13620 case $archive_cmds_CXX in
13621 *'~'*)
13622 # FIXME: we may have to deal with multi-command sequences.
13623 ;;
13624 '$CC '*)
13625 # Test whether the compiler implicitly links with -lc since on some
13626 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13627 # to ld, don't add -lc before -lgcc.
13628 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13629 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13630 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
13631 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 else
13633 $RM conftest*
13634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13635
13636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13637 (eval $ac_compile) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } 2>conftest.err; then
13641 soname=conftest
13642 lib=conftest
13643 libobjs=conftest.$ac_objext
13644 deplibs=
13645 wl=$lt_prog_compiler_wl_CXX
13646 pic_flag=$lt_prog_compiler_pic_CXX
13647 compiler_flags=-v
13648 linker_flags=-v
13649 verstring=
13650 output_objdir=.
13651 libname=conftest
13652 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13653 allow_undefined_flag_CXX=
13654 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13655 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }
13659 then
13660 lt_cv_archive_cmds_need_lc_CXX=no
13661 else
13662 lt_cv_archive_cmds_need_lc_CXX=yes
13663 fi
13664 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13665 else
13666 cat conftest.err 1>&5
13667 fi
13668 $RM conftest*
13669
13670 fi
13671 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13672 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
13673 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13674 ;;
13675 esac
13676 fi
13677 ;;
13678 esac
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13744 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13745
13746 library_names_spec=
13747 libname_spec='lib$name'
13748 soname_spec=
13749 shrext_cmds=".so"
13750 postinstall_cmds=
13751 postuninstall_cmds=
13752 finish_cmds=
13753 finish_eval=
13754 shlibpath_var=
13755 shlibpath_overrides_runpath=unknown
13756 version_type=none
13757 dynamic_linker="$host_os ld.so"
13758 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13759 need_lib_prefix=unknown
13760 hardcode_into_libs=no
13761
13762 # when you set need_version to no, make sure it does not cause -set_version
13763 # flags to be left without arguments
13764 need_version=unknown
13765
13766 case $host_os in
13767 aix3*)
13768 version_type=linux
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13770 shlibpath_var=LIBPATH
13771
13772 # AIX 3 has no versioning support, so we append a major version to the name.
13773 soname_spec='${libname}${release}${shared_ext}$major'
13774 ;;
13775
13776 aix[4-9]*)
13777 version_type=linux
13778 need_lib_prefix=no
13779 need_version=no
13780 hardcode_into_libs=yes
13781 if test "$host_cpu" = ia64; then
13782 # AIX 5 supports IA64
13783 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13784 shlibpath_var=LD_LIBRARY_PATH
13785 else
13786 # With GCC up to 2.95.x, collect2 would create an import file
13787 # for dependence libraries. The import file would start with
13788 # the line `#! .'. This would cause the generated library to
13789 # depend on `.', always an invalid library. This was fixed in
13790 # development snapshots of GCC prior to 3.0.
13791 case $host_os in
13792 aix4 | aix4.[01] | aix4.[01].*)
13793 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13794 echo ' yes '
13795 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13796 :
13797 else
13798 can_build_shared=no
13799 fi
13800 ;;
13801 esac
13802 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13803 # soname into executable. Probably we can add versioning support to
13804 # collect2, so additional links can be useful in future.
13805 if test "$aix_use_runtimelinking" = yes; then
13806 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13807 # instead of lib<name>.a to let people know that these are not
13808 # typical AIX shared libraries.
13809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810 else
13811 # We preserve .a as extension for shared libraries through AIX4.2
13812 # and later when we are not doing run time linking.
13813 library_names_spec='${libname}${release}.a $libname.a'
13814 soname_spec='${libname}${release}${shared_ext}$major'
13815 fi
13816 shlibpath_var=LIBPATH
13817 fi
13818 ;;
13819
13820 amigaos*)
13821 case $host_cpu in
13822 powerpc)
13823 # Since July 2007 AmigaOS4 officially supports .so libraries.
13824 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13826 ;;
13827 m68k)
13828 library_names_spec='$libname.ixlibrary $libname.a'
13829 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13830 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'
13831 ;;
13832 esac
13833 ;;
13834
13835 beos*)
13836 library_names_spec='${libname}${shared_ext}'
13837 dynamic_linker="$host_os ld.so"
13838 shlibpath_var=LIBRARY_PATH
13839 ;;
13840
13841 bsdi[45]*)
13842 version_type=linux
13843 need_version=no
13844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13845 soname_spec='${libname}${release}${shared_ext}$major'
13846 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13847 shlibpath_var=LD_LIBRARY_PATH
13848 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13849 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13850 # the default ld.so.conf also contains /usr/contrib/lib and
13851 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13852 # libtool to hard-code these into programs
13853 ;;
13854
13855 cygwin* | mingw* | pw32* | cegcc*)
13856 version_type=windows
13857 shrext_cmds=".dll"
13858 need_version=no
13859 need_lib_prefix=no
13860
13861 case $GCC,$host_os in
13862 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13863 library_names_spec='$libname.dll.a'
13864 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13865 postinstall_cmds='base_file=`basename \${file}`~
13866 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13867 dldir=$destdir/`dirname \$dlpath`~
13868 test -d \$dldir || mkdir -p \$dldir~
13869 $install_prog $dir/$dlname \$dldir/$dlname~
13870 chmod a+x \$dldir/$dlname~
13871 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13872 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13873 fi'
13874 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13875 dlpath=$dir/\$dldll~
13876 $RM \$dlpath'
13877 shlibpath_overrides_runpath=yes
13878
13879 case $host_os in
13880 cygwin*)
13881 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13882 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13883 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13884 ;;
13885 mingw* | cegcc*)
13886 # MinGW DLLs use traditional 'lib' prefix
13887 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13888 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13889 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13890 # It is most probably a Windows format PATH printed by
13891 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13892 # path with ; separators, and with drive letters. We can handle the
13893 # drive letters (cygwin fileutils understands them), so leave them,
13894 # especially as we might pass files found there to a mingw objdump,
13895 # which wouldn't understand a cygwinified path. Ahh.
13896 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13897 else
13898 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13899 fi
13900 ;;
13901 pw32*)
13902 # pw32 DLLs use 'pw' prefix rather than 'lib'
13903 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13904 ;;
13905 esac
13906 ;;
13907
13908 *)
13909 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13910 ;;
13911 esac
13912 dynamic_linker='Win32 ld.exe'
13913 # FIXME: first we should search . and the directory the executable is in
13914 shlibpath_var=PATH
13915 ;;
13916
13917 darwin* | rhapsody*)
13918 dynamic_linker="$host_os dyld"
13919 version_type=darwin
13920 need_lib_prefix=no
13921 need_version=no
13922 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13923 soname_spec='${libname}${release}${major}$shared_ext'
13924 shlibpath_overrides_runpath=yes
13925 shlibpath_var=DYLD_LIBRARY_PATH
13926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13927
13928 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13929 ;;
13930
13931 dgux*)
13932 version_type=linux
13933 need_lib_prefix=no
13934 need_version=no
13935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13936 soname_spec='${libname}${release}${shared_ext}$major'
13937 shlibpath_var=LD_LIBRARY_PATH
13938 ;;
13939
13940 freebsd1*)
13941 dynamic_linker=no
13942 ;;
13943
13944 freebsd* | dragonfly*)
13945 # DragonFly does not have aout. When/if they implement a new
13946 # versioning mechanism, adjust this.
13947 if test -x /usr/bin/objformat; then
13948 objformat=`/usr/bin/objformat`
13949 else
13950 case $host_os in
13951 freebsd[123]*) objformat=aout ;;
13952 *) objformat=elf ;;
13953 esac
13954 fi
13955 version_type=freebsd-$objformat
13956 case $version_type in
13957 freebsd-elf*)
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13959 need_version=no
13960 need_lib_prefix=no
13961 ;;
13962 freebsd-*)
13963 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13964 need_version=yes
13965 ;;
13966 esac
13967 shlibpath_var=LD_LIBRARY_PATH
13968 case $host_os in
13969 freebsd2*)
13970 shlibpath_overrides_runpath=yes
13971 ;;
13972 freebsd3.[01]* | freebsdelf3.[01]*)
13973 shlibpath_overrides_runpath=yes
13974 hardcode_into_libs=yes
13975 ;;
13976 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13977 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13978 shlibpath_overrides_runpath=no
13979 hardcode_into_libs=yes
13980 ;;
13981 *) # from 4.6 on, and DragonFly
13982 shlibpath_overrides_runpath=yes
13983 hardcode_into_libs=yes
13984 ;;
13985 esac
13986 ;;
13987
13988 gnu*)
13989 version_type=linux
13990 need_lib_prefix=no
13991 need_version=no
13992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13993 soname_spec='${libname}${release}${shared_ext}$major'
13994 shlibpath_var=LD_LIBRARY_PATH
13995 hardcode_into_libs=yes
13996 ;;
13997
13998 hpux9* | hpux10* | hpux11*)
13999 # Give a soname corresponding to the major version so that dld.sl refuses to
14000 # link against other versions.
14001 version_type=sunos
14002 need_lib_prefix=no
14003 need_version=no
14004 case $host_cpu in
14005 ia64*)
14006 shrext_cmds='.so'
14007 hardcode_into_libs=yes
14008 dynamic_linker="$host_os dld.so"
14009 shlibpath_var=LD_LIBRARY_PATH
14010 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012 soname_spec='${libname}${release}${shared_ext}$major'
14013 if test "X$HPUX_IA64_MODE" = X32; then
14014 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14015 else
14016 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14017 fi
14018 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14019 ;;
14020 hppa*64*)
14021 shrext_cmds='.sl'
14022 hardcode_into_libs=yes
14023 dynamic_linker="$host_os dld.sl"
14024 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14025 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14027 soname_spec='${libname}${release}${shared_ext}$major'
14028 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14030 ;;
14031 *)
14032 shrext_cmds='.sl'
14033 dynamic_linker="$host_os dld.sl"
14034 shlibpath_var=SHLIB_PATH
14035 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14037 soname_spec='${libname}${release}${shared_ext}$major'
14038 ;;
14039 esac
14040 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14041 postinstall_cmds='chmod 555 $lib'
14042 ;;
14043
14044 interix[3-9]*)
14045 version_type=linux
14046 need_lib_prefix=no
14047 need_version=no
14048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14049 soname_spec='${libname}${release}${shared_ext}$major'
14050 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14051 shlibpath_var=LD_LIBRARY_PATH
14052 shlibpath_overrides_runpath=no
14053 hardcode_into_libs=yes
14054 ;;
14055
14056 irix5* | irix6* | nonstopux*)
14057 case $host_os in
14058 nonstopux*) version_type=nonstopux ;;
14059 *)
14060 if test "$lt_cv_prog_gnu_ld" = yes; then
14061 version_type=linux
14062 else
14063 version_type=irix
14064 fi ;;
14065 esac
14066 need_lib_prefix=no
14067 need_version=no
14068 soname_spec='${libname}${release}${shared_ext}$major'
14069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14070 case $host_os in
14071 irix5* | nonstopux*)
14072 libsuff= shlibsuff=
14073 ;;
14074 *)
14075 case $LD in # libtool.m4 will add one of these switches to LD
14076 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14077 libsuff= shlibsuff= libmagic=32-bit;;
14078 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14079 libsuff=32 shlibsuff=N32 libmagic=N32;;
14080 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14081 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14082 *) libsuff= shlibsuff= libmagic=never-match;;
14083 esac
14084 ;;
14085 esac
14086 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14087 shlibpath_overrides_runpath=no
14088 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14089 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14090 hardcode_into_libs=yes
14091 ;;
14092
14093 # No shared lib support for Linux oldld, aout, or coff.
14094 linux*oldld* | linux*aout* | linux*coff*)
14095 dynamic_linker=no
14096 ;;
14097
14098 # This must be Linux ELF.
14099 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14100 version_type=linux
14101 need_lib_prefix=no
14102 need_version=no
14103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14104 soname_spec='${libname}${release}${shared_ext}$major'
14105 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14106 shlibpath_var=LD_LIBRARY_PATH
14107 shlibpath_overrides_runpath=no
14108
14109 # Some binutils ld are patched to set DT_RUNPATH
14110 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113 lt_cv_shlibpath_overrides_runpath=no
14114 save_LDFLAGS=$LDFLAGS
14115 save_libdir=$libdir
14116 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14117 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14118 if test x$gcc_no_link = xyes; then
14119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14121 { (exit 1); exit 1; }; }
14122 fi
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h. */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129
14130 int
14131 main ()
14132 {
14133
14134 ;
14135 return 0;
14136 }
14137 _ACEOF
14138 rm -f conftest.$ac_objext conftest$ac_exeext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14140 (eval $ac_link) 2>conftest.er1
14141 ac_status=$?
14142 grep -v '^ *+' conftest.er1 >conftest.err
14143 rm -f conftest.er1
14144 cat conftest.err >&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try='test -z "$ac_cxx_werror_flag"
14148 || test ! -s conftest.err'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14151 ac_status=$?
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; } &&
14154 { ac_try='test -s conftest$ac_exeext'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14157 ac_status=$?
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; }; then
14160 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14161 lt_cv_shlibpath_overrides_runpath=yes
14162 fi
14163
14164 else
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14167
14168 fi
14169 rm -f conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 LDFLAGS=$save_LDFLAGS
14172 libdir=$save_libdir
14173
14174 fi
14175
14176 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14177
14178 # This implies no fast_install, which is unacceptable.
14179 # Some rework will be needed to allow for fast_install
14180 # before this can be enabled.
14181 hardcode_into_libs=yes
14182
14183 # Append ld.so.conf contents to the search path
14184 if test -f /etc/ld.so.conf; then
14185 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14186 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14187 fi
14188
14189 # We used to test for /lib/ld.so.1 and disable shared libraries on
14190 # powerpc, because MkLinux only supported shared libraries with the
14191 # GNU dynamic linker. Since this was broken with cross compilers,
14192 # most powerpc-linux boxes support dynamic linking these days and
14193 # people can always --disable-shared, the test was removed, and we
14194 # assume the GNU/Linux dynamic linker is in use.
14195 dynamic_linker='GNU/Linux ld.so'
14196 ;;
14197
14198 netbsd*)
14199 version_type=sunos
14200 need_lib_prefix=no
14201 need_version=no
14202 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14204 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14205 dynamic_linker='NetBSD (a.out) ld.so'
14206 else
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 dynamic_linker='NetBSD ld.elf_so'
14210 fi
14211 shlibpath_var=LD_LIBRARY_PATH
14212 shlibpath_overrides_runpath=yes
14213 hardcode_into_libs=yes
14214 ;;
14215
14216 newsos6)
14217 version_type=linux
14218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14219 shlibpath_var=LD_LIBRARY_PATH
14220 shlibpath_overrides_runpath=yes
14221 ;;
14222
14223 *nto* | *qnx*)
14224 version_type=qnx
14225 need_lib_prefix=no
14226 need_version=no
14227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228 soname_spec='${libname}${release}${shared_ext}$major'
14229 shlibpath_var=LD_LIBRARY_PATH
14230 shlibpath_overrides_runpath=no
14231 hardcode_into_libs=yes
14232 dynamic_linker='ldqnx.so'
14233 ;;
14234
14235 openbsd*)
14236 version_type=sunos
14237 sys_lib_dlsearch_path_spec="/usr/lib"
14238 need_lib_prefix=no
14239 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14240 case $host_os in
14241 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14242 *) need_version=no ;;
14243 esac
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14245 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14246 shlibpath_var=LD_LIBRARY_PATH
14247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14248 case $host_os in
14249 openbsd2.[89] | openbsd2.[89].*)
14250 shlibpath_overrides_runpath=no
14251 ;;
14252 *)
14253 shlibpath_overrides_runpath=yes
14254 ;;
14255 esac
14256 else
14257 shlibpath_overrides_runpath=yes
14258 fi
14259 ;;
14260
14261 os2*)
14262 libname_spec='$name'
14263 shrext_cmds=".dll"
14264 need_lib_prefix=no
14265 library_names_spec='$libname${shared_ext} $libname.a'
14266 dynamic_linker='OS/2 ld.exe'
14267 shlibpath_var=LIBPATH
14268 ;;
14269
14270 osf3* | osf4* | osf5*)
14271 version_type=osf
14272 need_lib_prefix=no
14273 need_version=no
14274 soname_spec='${libname}${release}${shared_ext}$major'
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276 shlibpath_var=LD_LIBRARY_PATH
14277 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14278 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14279 ;;
14280
14281 rdos*)
14282 dynamic_linker=no
14283 ;;
14284
14285 solaris*)
14286 version_type=linux
14287 need_lib_prefix=no
14288 need_version=no
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14292 shlibpath_overrides_runpath=yes
14293 hardcode_into_libs=yes
14294 # ldd complains unless libraries are executable
14295 postinstall_cmds='chmod +x $lib'
14296 ;;
14297
14298 sunos4*)
14299 version_type=sunos
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14301 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14302 shlibpath_var=LD_LIBRARY_PATH
14303 shlibpath_overrides_runpath=yes
14304 if test "$with_gnu_ld" = yes; then
14305 need_lib_prefix=no
14306 fi
14307 need_version=yes
14308 ;;
14309
14310 sysv4 | sysv4.3*)
14311 version_type=linux
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 shlibpath_var=LD_LIBRARY_PATH
14315 case $host_vendor in
14316 sni)
14317 shlibpath_overrides_runpath=no
14318 need_lib_prefix=no
14319 runpath_var=LD_RUN_PATH
14320 ;;
14321 siemens)
14322 need_lib_prefix=no
14323 ;;
14324 motorola)
14325 need_lib_prefix=no
14326 need_version=no
14327 shlibpath_overrides_runpath=no
14328 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14329 ;;
14330 esac
14331 ;;
14332
14333 sysv4*MP*)
14334 if test -d /usr/nec ;then
14335 version_type=linux
14336 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14337 soname_spec='$libname${shared_ext}.$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14339 fi
14340 ;;
14341
14342 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14343 version_type=freebsd-elf
14344 need_lib_prefix=no
14345 need_version=no
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 shlibpath_var=LD_LIBRARY_PATH
14349 shlibpath_overrides_runpath=yes
14350 hardcode_into_libs=yes
14351 if test "$with_gnu_ld" = yes; then
14352 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14353 else
14354 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14355 case $host_os in
14356 sco3.2v5*)
14357 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14358 ;;
14359 esac
14360 fi
14361 sys_lib_dlsearch_path_spec='/usr/lib'
14362 ;;
14363
14364 tpf*)
14365 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14366 version_type=linux
14367 need_lib_prefix=no
14368 need_version=no
14369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 shlibpath_var=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath=no
14372 hardcode_into_libs=yes
14373 ;;
14374
14375 uts4*)
14376 version_type=linux
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 shlibpath_var=LD_LIBRARY_PATH
14380 ;;
14381
14382 *)
14383 dynamic_linker=no
14384 ;;
14385 esac
14386 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14387 echo "${ECHO_T}$dynamic_linker" >&6
14388 test "$dynamic_linker" = no && can_build_shared=no
14389
14390 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14391 if test "$GCC" = yes; then
14392 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14393 fi
14394
14395 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14396 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14397 fi
14398 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14399 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14400 fi
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14438 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14439 hardcode_action_CXX=
14440 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14441 test -n "$runpath_var_CXX" ||
14442 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14443
14444 # We can hardcode non-existent directories.
14445 if test "$hardcode_direct_CXX" != no &&
14446 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14447 # have to relink, otherwise we might link with an installed library
14448 # when we should be linking with a yet-to-be-installed one
14449 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14450 test "$hardcode_minus_L_CXX" != no; then
14451 # Linking always hardcodes the temporary library directory.
14452 hardcode_action_CXX=relink
14453 else
14454 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14455 hardcode_action_CXX=immediate
14456 fi
14457 else
14458 # We cannot hardcode anything, or else we can only hardcode existing
14459 # directories.
14460 hardcode_action_CXX=unsupported
14461 fi
14462 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14463 echo "${ECHO_T}$hardcode_action_CXX" >&6
14464
14465 if test "$hardcode_action_CXX" = relink ||
14466 test "$inherit_rpath_CXX" = yes; then
14467 # Fast installation is not supported
14468 enable_fast_install=no
14469 elif test "$shlibpath_overrides_runpath" = yes ||
14470 test "$enable_shared" = no; then
14471 # Fast installation is not necessary
14472 enable_fast_install=needless
14473 fi
14474
14475
14476
14477
14478
14479
14480
14481 fi # test -n "$compiler"
14482
14483 CC=$lt_save_CC
14484 LDCXX=$LD
14485 LD=$lt_save_LD
14486 GCC=$lt_save_GCC
14487 with_gnu_ld=$lt_save_with_gnu_ld
14488 lt_cv_path_LDCXX=$lt_cv_path_LD
14489 lt_cv_path_LD=$lt_save_path_LD
14490 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14491 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14492 fi # test "$_lt_caught_CXX_error" != yes
14493
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512 ac_config_commands="$ac_config_commands libtool"
14513
14514
14515
14516
14517 # Only expand once:
14518
14519
14520
14521
14522
14523 # Possibly disable most of the library.
14524 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14525 ## than just ignoring the results. Faster /and/ more correct, win win.
14526
14527 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14528 if test "${enable_hosted_libstdcxx+set}" = set; then
14529 enableval="$enable_hosted_libstdcxx"
14530
14531 else
14532 case "$host" in
14533 arm*-*-symbianelf*)
14534 enable_hosted_libstdcxx=no
14535 ;;
14536 *)
14537 enable_hosted_libstdcxx=yes
14538 ;;
14539 esac
14540 fi;
14541 if test "$enable_hosted_libstdcxx" = no; then
14542 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14543 echo "$as_me: Only freestanding libraries will be built" >&6;}
14544 is_hosted=no
14545 hosted_define=0
14546 enable_abi_check=no
14547 enable_libstdcxx_pch=no
14548 else
14549 is_hosted=yes
14550 hosted_define=1
14551 fi
14552
14553
14554 cat >>confdefs.h <<_ACEOF
14555 #define _GLIBCXX_HOSTED $hosted_define
14556 _ACEOF
14557
14558
14559
14560 # Enable compiler support that doesn't require linking.
14561
14562 echo "$as_me:$LINENO: checking for exception model to use" >&5
14563 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14564
14565
14566 ac_ext=cc
14567 ac_cpp='$CXXCPP $CPPFLAGS'
14568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14571
14572 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14573 if test "${enable_sjlj_exceptions+set}" = set; then
14574 enableval="$enable_sjlj_exceptions"
14575
14576 case "$enableval" in
14577 yes|no|auto) ;;
14578 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14579 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14580 { (exit 1); exit 1; }; } ;;
14581 esac
14582
14583 else
14584 enable_sjlj_exceptions=auto
14585 fi;
14586
14587
14588 if test $enable_sjlj_exceptions = auto; then
14589 # Botheration. Now we've got to detect the exception model. Link tests
14590 # against libgcc.a are problematic since we've not been given proper -L
14591 # bits for single-tree newlib and libgloss.
14592 #
14593 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14594 cat > conftest.$ac_ext << EOF
14595 #line 14595 "configure"
14596 struct S { ~S(); };
14597 void bar();
14598 void foo()
14599 {
14600 S s;
14601 bar();
14602 }
14603 EOF
14604 old_CXXFLAGS="$CXXFLAGS"
14605 CXXFLAGS=-S
14606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14607 (eval $ac_compile) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; then
14611 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14612 enable_sjlj_exceptions=yes
14613 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14614 enable_sjlj_exceptions=no
14615 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14616 enable_sjlj_exceptions=no
14617 fi
14618 fi
14619 CXXFLAGS="$old_CXXFLAGS"
14620 rm -f conftest*
14621 fi
14622
14623 # This is a tad weird, for hysterical raisins. We have to map
14624 # enable/disable to two different models.
14625 case $enable_sjlj_exceptions in
14626 yes)
14627
14628 cat >>confdefs.h <<\_ACEOF
14629 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14630 _ACEOF
14631
14632 ac_exception_model_name=sjlj
14633 ;;
14634 no)
14635 ac_exception_model_name="call frame"
14636 ;;
14637 *)
14638 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14639 echo "$as_me: error: unable to detect exception model" >&2;}
14640 { (exit 1); exit 1; }; }
14641 ;;
14642 esac
14643 ac_ext=c
14644 ac_cpp='$CPP $CPPFLAGS'
14645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14648
14649 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14650 echo "${ECHO_T}$ac_exception_model_name" >&6
14651
14652
14653 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14654 if test "${enable_libstdcxx_pch+set}" = set; then
14655 enableval="$enable_libstdcxx_pch"
14656
14657 case "$enableval" in
14658 yes|no) ;;
14659 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14660 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14661 { (exit 1); exit 1; }; } ;;
14662 esac
14663
14664 else
14665 enable_libstdcxx_pch=$is_hosted
14666 fi;
14667
14668 if test $enable_libstdcxx_pch = yes; then
14669 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14670 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14671 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674 ac_save_CXXFLAGS="$CXXFLAGS"
14675 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14676
14677
14678 ac_ext=cc
14679 ac_cpp='$CXXCPP $CPPFLAGS'
14680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14683
14684 echo '#include <math.h>' > conftest.h
14685 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14686 -o conftest.h.gch 1>&5 2>&1 &&
14687 echo '#error "pch failed"' > conftest.h &&
14688 echo '#include "conftest.h"' > conftest.cc &&
14689 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14690 then
14691 glibcxx_cv_prog_CXX_pch=yes
14692 else
14693 glibcxx_cv_prog_CXX_pch=no
14694 fi
14695 rm -f conftest*
14696 CXXFLAGS=$ac_save_CXXFLAGS
14697 ac_ext=c
14698 ac_cpp='$CPP $CPPFLAGS'
14699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14702
14703
14704 fi
14705 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14706 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14707 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14708 fi
14709
14710 echo "$as_me:$LINENO: checking for enabled PCH" >&5
14711 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14712 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14713 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14714
14715
14716 if test $enable_libstdcxx_pch = yes; then
14717 glibcxx_PCHFLAGS="-include bits/stdc++.h"
14718 else
14719 glibcxx_PCHFLAGS=""
14720 fi
14721
14722
14723
14724 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14725 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14726 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14727 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14728 echo "${ECHO_T}$target_thread_file" >&6
14729
14730 if test $target_thread_file != single; then
14731
14732 cat >>confdefs.h <<\_ACEOF
14733 #define HAVE_GTHR_DEFAULT 1
14734 _ACEOF
14735
14736 fi
14737
14738 glibcxx_thread_h=gthr-$target_thread_file.h
14739
14740 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14741 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14742 enable_thread=yes
14743 else
14744 enable_thread=no
14745 fi
14746
14747
14748
14749
14750
14751
14752 ac_ext=cc
14753 ac_cpp='$CXXCPP $CPPFLAGS'
14754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14757
14758 old_CXXFLAGS="$CXXFLAGS"
14759
14760 # Compile unoptimized.
14761 CXXFLAGS='-O0 -S'
14762
14763 # Fake what AC_TRY_COMPILE does, without linking as this is
14764 # unnecessary for a builtins test.
14765
14766 cat > conftest.$ac_ext << EOF
14767 #line 14767 "configure"
14768 int main()
14769 {
14770 typedef bool atomic_type;
14771 atomic_type c1;
14772 atomic_type c2;
14773 const atomic_type c3(0);
14774 __sync_fetch_and_add(&c1, c2);
14775 __sync_val_compare_and_swap(&c1, c3, c2);
14776 __sync_lock_test_and_set(&c1, c3);
14777 __sync_lock_release(&c1);
14778 __sync_synchronize();
14779 return 0;
14780 }
14781 EOF
14782
14783 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14784 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14786 (eval $ac_compile) 2>&5
14787 ac_status=$?
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; then
14790 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14791 enable_atomic_builtinsb=no
14792 else
14793
14794 cat >>confdefs.h <<\_ACEOF
14795 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14796 _ACEOF
14797
14798 enable_atomic_builtinsb=yes
14799 fi
14800 fi
14801 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14802 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14803 rm -f conftest*
14804
14805 cat > conftest.$ac_ext << EOF
14806 #line 14806 "configure"
14807 int main()
14808 {
14809 typedef short atomic_type;
14810 atomic_type c1;
14811 atomic_type c2;
14812 const atomic_type c3(0);
14813 __sync_fetch_and_add(&c1, c2);
14814 __sync_val_compare_and_swap(&c1, c3, c2);
14815 __sync_lock_test_and_set(&c1, c3);
14816 __sync_lock_release(&c1);
14817 __sync_synchronize();
14818 return 0;
14819 }
14820 EOF
14821
14822 echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
14823 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
14824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14825 (eval $ac_compile) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; then
14829 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14830 enable_atomic_builtinss=no
14831 else
14832
14833 cat >>confdefs.h <<\_ACEOF
14834 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
14835 _ACEOF
14836
14837 enable_atomic_builtinss=yes
14838 fi
14839 fi
14840 echo "$as_me:$LINENO: result: $enable_atomic_builtinss" >&5
14841 echo "${ECHO_T}$enable_atomic_builtinss" >&6
14842 rm -f conftest*
14843
14844 cat > conftest.$ac_ext << EOF
14845 #line 14845 "configure"
14846 int main()
14847 {
14848 // NB: _Atomic_word not necessarily int.
14849 typedef int atomic_type;
14850 atomic_type c1;
14851 atomic_type c2;
14852 const atomic_type c3(0);
14853 __sync_fetch_and_add(&c1, c2);
14854 __sync_val_compare_and_swap(&c1, c3, c2);
14855 __sync_lock_test_and_set(&c1, c3);
14856 __sync_lock_release(&c1);
14857 __sync_synchronize();
14858 return 0;
14859 }
14860 EOF
14861
14862 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14863 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>&5
14866 ac_status=$?
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; then
14869 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14870 enable_atomic_builtinsi=no
14871 else
14872
14873 cat >>confdefs.h <<\_ACEOF
14874 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14875 _ACEOF
14876
14877 enable_atomic_builtinsi=yes
14878 fi
14879 fi
14880 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14881 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14882 rm -f conftest*
14883
14884 cat > conftest.$ac_ext << EOF
14885 #line 14885 "configure"
14886 int main()
14887 {
14888 typedef long long atomic_type;
14889 atomic_type c1;
14890 atomic_type c2;
14891 const atomic_type c3(0);
14892 __sync_fetch_and_add(&c1, c2);
14893 __sync_val_compare_and_swap(&c1, c3, c2);
14894 __sync_lock_test_and_set(&c1, c3);
14895 __sync_lock_release(&c1);
14896 __sync_synchronize();
14897 return 0;
14898 }
14899 EOF
14900
14901 echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
14902 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
14903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14904 (eval $ac_compile) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; then
14908 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14909 enable_atomic_builtinsll=no
14910 else
14911
14912 cat >>confdefs.h <<\_ACEOF
14913 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
14914 _ACEOF
14915
14916 enable_atomic_builtinsll=yes
14917 fi
14918 fi
14919 echo "$as_me:$LINENO: result: $enable_atomic_builtinsll" >&5
14920 echo "${ECHO_T}$enable_atomic_builtinsll" >&6
14921 rm -f conftest*
14922
14923
14924 CXXFLAGS="$old_CXXFLAGS"
14925 ac_ext=c
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14930
14931
14932 # Set atomicity_dir to builtins if either of above tests pass.
14933 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14934 atomicity_dir=cpu/generic/atomicity_builtins
14935 fi
14936
14937 # If still generic, set to mutex.
14938 if test $atomicity_dir = "cpu/generic" ; then
14939 atomicity_dir=cpu/generic/atomicity_mutex
14940 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14941 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14942 if test "x$target_thread_file" = xsingle; then
14943 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14944 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14945 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14946 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14947 else
14948 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14949 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14950 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14951 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14952 fi
14953 fi
14954
14955
14956
14957 # Checks for compiler support that doesn't require linking.
14958
14959 # All these tests are for C++; save the language and the compiler flags.
14960 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14961 # found in GLIBCXX_CONFIGURE.
14962
14963
14964 ac_ext=cc
14965 ac_cpp='$CXXCPP $CPPFLAGS'
14966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14969
14970 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14971 ac_save_CXXFLAGS="$CXXFLAGS"
14972
14973 # Check for maintainer-mode bits.
14974 if test x"$USE_MAINTAINER_MODE" = xno; then
14975 WERROR=''
14976 else
14977 WERROR='-Werror'
14978 fi
14979
14980 # Check for -ffunction-sections -fdata-sections
14981 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14982 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14983 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14984 cat >conftest.$ac_ext <<_ACEOF
14985 /* confdefs.h. */
14986 _ACEOF
14987 cat confdefs.h >>conftest.$ac_ext
14988 cat >>conftest.$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 int foo; void bar() { };
14991 int
14992 main ()
14993 {
14994
14995 ;
14996 return 0;
14997 }
14998 _ACEOF
14999 rm -f conftest.$ac_objext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15001 (eval $ac_compile) 2>conftest.er1
15002 ac_status=$?
15003 grep -v '^ *+' conftest.er1 >conftest.err
15004 rm -f conftest.er1
15005 cat conftest.err >&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try='test -z "$ac_cxx_werror_flag"
15009 || test ! -s conftest.err'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15012 ac_status=$?
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; } &&
15015 { ac_try='test -s conftest.$ac_objext'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15018 ac_status=$?
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; }; then
15021 ac_fdsections=yes
15022 else
15023 echo "$as_me: failed program was:" >&5
15024 sed 's/^/| /' conftest.$ac_ext >&5
15025
15026 ac_fdsections=no
15027 fi
15028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15029 if test "$ac_test_CXXFLAGS" = set; then
15030 CXXFLAGS="$ac_save_CXXFLAGS"
15031 else
15032 # this is the suspicious part
15033 CXXFLAGS=''
15034 fi
15035 if test x"$ac_fdsections" = x"yes"; then
15036 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15037 fi
15038 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
15039 echo "${ECHO_T}$ac_fdsections" >&6
15040
15041 ac_ext=c
15042 ac_cpp='$CPP $CPPFLAGS'
15043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15046
15047
15048
15049
15050
15051 # Enable all the variable C++ runtime options that don't require linking.
15052
15053 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15054 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15055 # Check whether --enable-cstdio or --disable-cstdio was given.
15056 if test "${enable_cstdio+set}" = set; then
15057 enableval="$enable_cstdio"
15058
15059 case "$enableval" in
15060 stdio) ;;
15061 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15062 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15063 { (exit 1); exit 1; }; } ;;
15064 esac
15065
15066 else
15067 enable_cstdio=stdio
15068 fi;
15069
15070
15071 # Now that libio has been removed, you can have any color you want as long
15072 # as it's black. This is one big no-op until other packages are added, but
15073 # showing the framework never hurts.
15074 case ${enable_cstdio} in
15075 stdio)
15076 CSTDIO_H=config/io/c_io_stdio.h
15077 BASIC_FILE_H=config/io/basic_file_stdio.h
15078 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15079 echo "$as_me:$LINENO: result: stdio" >&5
15080 echo "${ECHO_T}stdio" >&6
15081 ;;
15082 esac
15083
15084
15085
15086
15087
15088
15089 # Check whether --enable-clocale or --disable-clocale was given.
15090 if test "${enable_clocale+set}" = set; then
15091 enableval="$enable_clocale"
15092
15093 case "$enableval" in
15094 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15095 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15096 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15097 { (exit 1); exit 1; }; } ;;
15098 esac
15099
15100 else
15101 enable_clocale=auto
15102 fi;
15103
15104
15105 # Deal with gettext issues. Default to not using it (=no) until we detect
15106 # support for it later. Let the user turn it off via --e/d, but let that
15107 # default to on for easier handling.
15108 USE_NLS=no
15109 # Check whether --enable-nls or --disable-nls was given.
15110 if test "${enable_nls+set}" = set; then
15111 enableval="$enable_nls"
15112
15113 else
15114 enable_nls=yes
15115 fi;
15116
15117 # Either a known packaage, or "auto"
15118 if test $enable_clocale = no || test $enable_clocale = yes; then
15119 enable_clocale=auto
15120 fi
15121 enable_clocale_flag=$enable_clocale
15122
15123 # Probe for locale model to use if none specified.
15124 # Default to "generic".
15125 if test $enable_clocale_flag = auto; then
15126 case ${target_os} in
15127 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15128 enable_clocale_flag=gnu
15129 ;;
15130 darwin* | freebsd*)
15131 enable_clocale_flag=darwin
15132 ;;
15133 *)
15134 enable_clocale_flag=generic
15135 ;;
15136 esac
15137 fi
15138
15139 # Sanity check model, and test for special functionality.
15140 if test $enable_clocale_flag = gnu; then
15141 cat >conftest.$ac_ext <<_ACEOF
15142 /* confdefs.h. */
15143 _ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15147
15148 #include <features.h>
15149 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15150 _GLIBCXX_ok
15151 #endif
15152
15153 _ACEOF
15154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15155 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15156 enable_clocale_flag=gnu
15157 else
15158 enable_clocale_flag=generic
15159 fi
15160 rm -f conftest*
15161
15162
15163 if test $enable_clocale = auto; then
15164 # Test for bugs early in glibc-2.2.x series
15165 if test "$cross_compiling" = yes; then
15166 enable_clocale_flag=generic
15167 else
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h. */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174
15175 #define _GNU_SOURCE 1
15176 #include <locale.h>
15177 #include <string.h>
15178 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15179 extern __typeof(newlocale) __newlocale;
15180 extern __typeof(duplocale) __duplocale;
15181 extern __typeof(strcoll_l) __strcoll_l;
15182 #endif
15183 int main()
15184 {
15185 const char __one[] = "Äuglein Augmen";
15186 const char __two[] = "Äuglein";
15187 int i;
15188 int j;
15189 __locale_t loc;
15190 __locale_t loc_dup;
15191 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15192 loc_dup = __duplocale(loc);
15193 i = __strcoll_l(__one, __two, loc);
15194 j = __strcoll_l(__one, __two, loc_dup);
15195 return 0;
15196 }
15197
15198 _ACEOF
15199 rm -f conftest$ac_exeext
15200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15201 (eval $ac_link) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15206 (eval $ac_try) 2>&5
15207 ac_status=$?
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; }; then
15210 enable_clocale_flag=gnu
15211 else
15212 echo "$as_me: program exited with status $ac_status" >&5
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15215
15216 ( exit $ac_status )
15217 enable_clocale_flag=generic
15218 fi
15219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15220 fi
15221 fi
15222
15223 # Set it to scream when it hurts.
15224 ac_save_CFLAGS="$CFLAGS"
15225 CFLAGS="-Wimplicit-function-declaration -Werror"
15226
15227 # Use strxfrm_l if available.
15228 cat >conftest.$ac_ext <<_ACEOF
15229 /* confdefs.h. */
15230 _ACEOF
15231 cat confdefs.h >>conftest.$ac_ext
15232 cat >>conftest.$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 #define _GNU_SOURCE 1
15235 #include <string.h>
15236 #include <locale.h>
15237 int
15238 main ()
15239 {
15240 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15241 ;
15242 return 0;
15243 }
15244 _ACEOF
15245 rm -f conftest.$ac_objext
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>conftest.er1
15248 ac_status=$?
15249 grep -v '^ *+' conftest.er1 >conftest.err
15250 rm -f conftest.er1
15251 cat conftest.err >&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } &&
15254 { ac_try='test -z "$ac_c_werror_flag"
15255 || test ! -s conftest.err'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15258 ac_status=$?
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; } &&
15261 { ac_try='test -s conftest.$ac_objext'
15262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15263 (eval $ac_try) 2>&5
15264 ac_status=$?
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); }; }; then
15267
15268 cat >>confdefs.h <<\_ACEOF
15269 #define HAVE_STRXFRM_L 1
15270 _ACEOF
15271
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15275
15276 fi
15277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15278
15279 # Use strerror_l if available.
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 #define _GNU_SOURCE 1
15287 #include <string.h>
15288 #include <locale.h>
15289 int
15290 main ()
15291 {
15292 __locale_t loc; strerror_l(5, loc);
15293 ;
15294 return 0;
15295 }
15296 _ACEOF
15297 rm -f conftest.$ac_objext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299 (eval $ac_compile) 2>conftest.er1
15300 ac_status=$?
15301 grep -v '^ *+' conftest.er1 >conftest.err
15302 rm -f conftest.er1
15303 cat conftest.err >&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try='test -z "$ac_c_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319
15320 cat >>confdefs.h <<\_ACEOF
15321 #define HAVE_STRERROR_L 1
15322 _ACEOF
15323
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15327
15328 fi
15329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15330
15331 CFLAGS="$ac_save_CFLAGS"
15332 fi
15333
15334 # Perhaps use strerror_r if available, and strerror_l isn't.
15335 ac_save_CFLAGS="$CFLAGS"
15336 CFLAGS="-Wimplicit-function-declaration -Werror"
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343 #define _GNU_SOURCE 1
15344 #include <string.h>
15345 #include <locale.h>
15346 int
15347 main ()
15348 {
15349 char s[128]; strerror_r(5, s, 128);
15350 ;
15351 return 0;
15352 }
15353 _ACEOF
15354 rm -f conftest.$ac_objext
15355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15356 (eval $ac_compile) 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } &&
15363 { ac_try='test -z "$ac_c_werror_flag"
15364 || test ! -s conftest.err'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15367 ac_status=$?
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; } &&
15370 { ac_try='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15373 ac_status=$?
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15376
15377 cat >>confdefs.h <<\_ACEOF
15378 #define HAVE_STRERROR_R 1
15379 _ACEOF
15380
15381 else
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15384
15385 fi
15386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15387 CFLAGS="$ac_save_CFLAGS"
15388
15389 # Set configure bits for specified locale package
15390 echo "$as_me:$LINENO: checking for C locale to use" >&5
15391 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15392 case ${enable_clocale_flag} in
15393 generic)
15394 echo "$as_me:$LINENO: result: generic" >&5
15395 echo "${ECHO_T}generic" >&6
15396
15397 CLOCALE_H=config/locale/generic/c_locale.h
15398 CLOCALE_CC=config/locale/generic/c_locale.cc
15399 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15400 CCOLLATE_CC=config/locale/generic/collate_members.cc
15401 CCTYPE_CC=config/locale/generic/ctype_members.cc
15402 CMESSAGES_H=config/locale/generic/messages_members.h
15403 CMESSAGES_CC=config/locale/generic/messages_members.cc
15404 CMONEY_CC=config/locale/generic/monetary_members.cc
15405 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15406 CTIME_H=config/locale/generic/time_members.h
15407 CTIME_CC=config/locale/generic/time_members.cc
15408 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15409 ;;
15410 darwin)
15411 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15412 echo "${ECHO_T}darwin or freebsd" >&6
15413
15414 CLOCALE_H=config/locale/generic/c_locale.h
15415 CLOCALE_CC=config/locale/generic/c_locale.cc
15416 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15417 CCOLLATE_CC=config/locale/generic/collate_members.cc
15418 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15419 CMESSAGES_H=config/locale/generic/messages_members.h
15420 CMESSAGES_CC=config/locale/generic/messages_members.cc
15421 CMONEY_CC=config/locale/generic/monetary_members.cc
15422 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15423 CTIME_H=config/locale/generic/time_members.h
15424 CTIME_CC=config/locale/generic/time_members.cc
15425 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15426 ;;
15427
15428 gnu)
15429 echo "$as_me:$LINENO: result: gnu" >&5
15430 echo "${ECHO_T}gnu" >&6
15431
15432 # Declare intention to use gettext, and add support for specific
15433 # languages.
15434 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15435 ALL_LINGUAS="de fr"
15436
15437 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15438 # Extract the first word of "msgfmt", so it can be a program name with args.
15439 set dummy msgfmt; ac_word=$2
15440 echo "$as_me:$LINENO: checking for $ac_word" >&5
15441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15442 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445 if test -n "$check_msgfmt"; then
15446 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15447 else
15448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15449 for as_dir in $PATH
15450 do
15451 IFS=$as_save_IFS
15452 test -z "$as_dir" && as_dir=.
15453 for ac_exec_ext in '' $ac_executable_extensions; do
15454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15455 ac_cv_prog_check_msgfmt="yes"
15456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15457 break 2
15458 fi
15459 done
15460 done
15461
15462 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15463 fi
15464 fi
15465 check_msgfmt=$ac_cv_prog_check_msgfmt
15466 if test -n "$check_msgfmt"; then
15467 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15468 echo "${ECHO_T}$check_msgfmt" >&6
15469 else
15470 echo "$as_me:$LINENO: result: no" >&5
15471 echo "${ECHO_T}no" >&6
15472 fi
15473
15474 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15475 USE_NLS=yes
15476 fi
15477 # Export the build objects.
15478 for ling in $ALL_LINGUAS; do \
15479 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15480 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15481 done
15482
15483
15484
15485 CLOCALE_H=config/locale/gnu/c_locale.h
15486 CLOCALE_CC=config/locale/gnu/c_locale.cc
15487 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15488 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15489 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15490 CMESSAGES_H=config/locale/gnu/messages_members.h
15491 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15492 CMONEY_CC=config/locale/gnu/monetary_members.cc
15493 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15494 CTIME_H=config/locale/gnu/time_members.h
15495 CTIME_CC=config/locale/gnu/time_members.cc
15496 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15497 ;;
15498 ieee_1003.1-2001)
15499 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15500 echo "${ECHO_T}IEEE 1003.1" >&6
15501
15502 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15503 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15504 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15505 CCOLLATE_CC=config/locale/generic/collate_members.cc
15506 CCTYPE_CC=config/locale/generic/ctype_members.cc
15507 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15508 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15509 CMONEY_CC=config/locale/generic/monetary_members.cc
15510 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15511 CTIME_H=config/locale/generic/time_members.h
15512 CTIME_CC=config/locale/generic/time_members.cc
15513 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15514 ;;
15515 esac
15516
15517 # This is where the testsuite looks for locale catalogs, using the
15518 # -DLOCALEDIR define during testsuite compilation.
15519 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15520
15521
15522 # A standalone libintl (e.g., GNU libintl) may be in use.
15523 if test $USE_NLS = yes; then
15524
15525 for ac_header in libintl.h
15526 do
15527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15529 echo "$as_me:$LINENO: checking for $ac_header" >&5
15530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 fi
15534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15536 else
15537 # Is the header compilable?
15538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15540 cat >conftest.$ac_ext <<_ACEOF
15541 /* confdefs.h. */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 $ac_includes_default
15547 #include <$ac_header>
15548 _ACEOF
15549 rm -f conftest.$ac_objext
15550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15551 (eval $ac_compile) 2>conftest.er1
15552 ac_status=$?
15553 grep -v '^ *+' conftest.er1 >conftest.err
15554 rm -f conftest.er1
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } &&
15558 { ac_try='test -z "$ac_c_werror_flag"
15559 || test ! -s conftest.err'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; } &&
15565 { ac_try='test -s conftest.$ac_objext'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 ac_header_compiler=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 ac_header_compiler=no
15577 fi
15578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15580 echo "${ECHO_T}$ac_header_compiler" >&6
15581
15582 # Is the header present?
15583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15585 cat >conftest.$ac_ext <<_ACEOF
15586 /* confdefs.h. */
15587 _ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 #include <$ac_header>
15592 _ACEOF
15593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15595 ac_status=$?
15596 grep -v '^ *+' conftest.er1 >conftest.err
15597 rm -f conftest.er1
15598 cat conftest.err >&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } >/dev/null; then
15601 if test -s conftest.err; then
15602 ac_cpp_err=$ac_c_preproc_warn_flag
15603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15604 else
15605 ac_cpp_err=
15606 fi
15607 else
15608 ac_cpp_err=yes
15609 fi
15610 if test -z "$ac_cpp_err"; then
15611 ac_header_preproc=yes
15612 else
15613 echo "$as_me: failed program was:" >&5
15614 sed 's/^/| /' conftest.$ac_ext >&5
15615
15616 ac_header_preproc=no
15617 fi
15618 rm -f conftest.err conftest.$ac_ext
15619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15620 echo "${ECHO_T}$ac_header_preproc" >&6
15621
15622 # So? What about this header?
15623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15624 yes:no: )
15625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15629 ac_header_preproc=yes
15630 ;;
15631 no:yes:* )
15632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15644 (
15645 cat <<\_ASBOX
15646 ## ----------------------------------------- ##
15647 ## Report this to the package-unused lists. ##
15648 ## ----------------------------------------- ##
15649 _ASBOX
15650 ) |
15651 sed "s/^/$as_me: WARNING: /" >&2
15652 ;;
15653 esac
15654 echo "$as_me:$LINENO: checking for $ac_header" >&5
15655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 eval "$as_ac_Header=\$ac_header_preproc"
15660 fi
15661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15663
15664 fi
15665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15666 cat >>confdefs.h <<_ACEOF
15667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15668 _ACEOF
15669
15670 else
15671 USE_NLS=no
15672 fi
15673
15674 done
15675
15676 echo "$as_me:$LINENO: checking for library containing gettext" >&5
15677 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
15678 if test "${ac_cv_search_gettext+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 ac_func_search_save_LIBS=$LIBS
15682 ac_cv_search_gettext=no
15683 if test x$gcc_no_link = xyes; then
15684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15686 { (exit 1); exit 1; }; }
15687 fi
15688 cat >conftest.$ac_ext <<_ACEOF
15689 /* confdefs.h. */
15690 _ACEOF
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694
15695 /* Override any gcc2 internal prototype to avoid an error. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 /* We use char because int might match the return type of a gcc2
15700 builtin and then its argument prototype would still apply. */
15701 char gettext ();
15702 int
15703 main ()
15704 {
15705 gettext ();
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 rm -f conftest.$ac_objext conftest$ac_exeext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15712 (eval $ac_link) 2>conftest.er1
15713 ac_status=$?
15714 grep -v '^ *+' conftest.er1 >conftest.err
15715 rm -f conftest.er1
15716 cat conftest.err >&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try='test -z "$ac_c_werror_flag"
15720 || test ! -s conftest.err'
15721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15722 (eval $ac_try) 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; } &&
15726 { ac_try='test -s conftest$ac_exeext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15729 ac_status=$?
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_cv_search_gettext="none required"
15733 else
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15736
15737 fi
15738 rm -f conftest.err conftest.$ac_objext \
15739 conftest$ac_exeext conftest.$ac_ext
15740 if test "$ac_cv_search_gettext" = no; then
15741 for ac_lib in intl; do
15742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15743 if test x$gcc_no_link = xyes; then
15744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15746 { (exit 1); exit 1; }; }
15747 fi
15748 cat >conftest.$ac_ext <<_ACEOF
15749 /* confdefs.h. */
15750 _ACEOF
15751 cat confdefs.h >>conftest.$ac_ext
15752 cat >>conftest.$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754
15755 /* Override any gcc2 internal prototype to avoid an error. */
15756 #ifdef __cplusplus
15757 extern "C"
15758 #endif
15759 /* We use char because int might match the return type of a gcc2
15760 builtin and then its argument prototype would still apply. */
15761 char gettext ();
15762 int
15763 main ()
15764 {
15765 gettext ();
15766 ;
15767 return 0;
15768 }
15769 _ACEOF
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15772 (eval $ac_link) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_c_werror_flag"
15780 || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15783 ac_status=$?
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try='test -s conftest$ac_exeext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_cv_search_gettext="-l$ac_lib"
15793 break
15794 else
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15797
15798 fi
15799 rm -f conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 done
15802 fi
15803 LIBS=$ac_func_search_save_LIBS
15804 fi
15805 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15806 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15807 if test "$ac_cv_search_gettext" != no; then
15808 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15809
15810 else
15811 USE_NLS=no
15812 fi
15813
15814 fi
15815 if test $USE_NLS = yes; then
15816
15817 cat >>confdefs.h <<\_ACEOF
15818 #define _GLIBCXX_USE_NLS 1
15819 _ACEOF
15820
15821 fi
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15839 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15840 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15841 if test "${enable_libstdcxx_allocator+set}" = set; then
15842 enableval="$enable_libstdcxx_allocator"
15843
15844 case "$enableval" in
15845 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15846 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15847 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15848 { (exit 1); exit 1; }; } ;;
15849 esac
15850
15851 else
15852 enable_libstdcxx_allocator=auto
15853 fi;
15854
15855
15856 # If they didn't use this option switch, or if they specified --enable
15857 # with no specific model, we'll have to look for one. If they
15858 # specified --disable (???), do likewise.
15859 if test $enable_libstdcxx_allocator = no ||
15860 test $enable_libstdcxx_allocator = yes;
15861 then
15862 enable_libstdcxx_allocator=auto
15863 fi
15864
15865 # Either a known package, or "auto". Auto implies the default choice
15866 # for a particular platform.
15867 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15868
15869 # Probe for host-specific support if no specific model is specified.
15870 # Default to "new".
15871 if test $enable_libstdcxx_allocator_flag = auto; then
15872 case ${target_os} in
15873 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15874 enable_libstdcxx_allocator_flag=new
15875 ;;
15876 *)
15877 enable_libstdcxx_allocator_flag=new
15878 ;;
15879 esac
15880 fi
15881 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15882 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15883
15884
15885 # Set configure bits for specified locale package
15886 case ${enable_libstdcxx_allocator_flag} in
15887 bitmap)
15888 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15889 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15890 ;;
15891 malloc)
15892 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15893 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15894 ;;
15895 mt)
15896 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15897 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15898 ;;
15899 new)
15900 ALLOCATOR_H=config/allocator/new_allocator_base.h
15901 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15902 ;;
15903 pool)
15904 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15905 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15906 ;;
15907 esac
15908
15909
15910
15911
15912
15913 # Check whether --enable-cheaders or --disable-cheaders was given.
15914 if test "${enable_cheaders+set}" = set; then
15915 enableval="$enable_cheaders"
15916
15917 case "$enableval" in
15918 c|c_std|c_global) ;;
15919 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15920 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15921 { (exit 1); exit 1; }; } ;;
15922 esac
15923
15924 else
15925 enable_cheaders=$c_model
15926 fi;
15927
15928 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15929 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15930
15931 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15932
15933 # Allow overrides to configure.host here.
15934 if test $enable_cheaders = c_global; then
15935 c_compatibility=yes
15936 fi
15937
15938 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15939 c_extra=yes
15940 fi
15941
15942
15943
15944
15945
15946
15947
15948
15949 # Check whether --enable-long-long or --disable-long-long was given.
15950 if test "${enable_long_long+set}" = set; then
15951 enableval="$enable_long_long"
15952
15953 case "$enableval" in
15954 yes|no) ;;
15955 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15956 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15957 { (exit 1); exit 1; }; } ;;
15958 esac
15959
15960 else
15961 enable_long_long=yes
15962 fi;
15963
15964 if test $enable_long_long = yes; then
15965
15966 cat >>confdefs.h <<\_ACEOF
15967 #define _GLIBCXX_USE_LONG_LONG 1
15968 _ACEOF
15969
15970 fi
15971 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15972 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15973 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15974 echo "${ECHO_T}$enable_long_long" >&6
15975
15976
15977 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15978 if test "${enable_wchar_t+set}" = set; then
15979 enableval="$enable_wchar_t"
15980
15981 case "$enableval" in
15982 yes|no) ;;
15983 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15984 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15985 { (exit 1); exit 1; }; } ;;
15986 esac
15987
15988 else
15989 enable_wchar_t=yes
15990 fi;
15991
15992
15993 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15994
15995 for ac_header in wchar.h
15996 do
15997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15999 echo "$as_me:$LINENO: checking for $ac_header" >&5
16000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 fi
16004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16006 else
16007 # Is the header compilable?
16008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16017 #include <$ac_header>
16018 _ACEOF
16019 rm -f conftest.$ac_objext
16020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16021 (eval $ac_compile) 2>conftest.er1
16022 ac_status=$?
16023 grep -v '^ *+' conftest.er1 >conftest.err
16024 rm -f conftest.er1
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try='test -z "$ac_c_werror_flag"
16029 || test ! -s conftest.err'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; } &&
16035 { ac_try='test -s conftest.$ac_objext'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16038 ac_status=$?
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 ac_header_compiler=yes
16042 else
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16045
16046 ac_header_compiler=no
16047 fi
16048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16050 echo "${ECHO_T}$ac_header_compiler" >&6
16051
16052 # Is the header present?
16053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16055 cat >conftest.$ac_ext <<_ACEOF
16056 /* confdefs.h. */
16057 _ACEOF
16058 cat confdefs.h >>conftest.$ac_ext
16059 cat >>conftest.$ac_ext <<_ACEOF
16060 /* end confdefs.h. */
16061 #include <$ac_header>
16062 _ACEOF
16063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } >/dev/null; then
16071 if test -s conftest.err; then
16072 ac_cpp_err=$ac_c_preproc_warn_flag
16073 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16074 else
16075 ac_cpp_err=
16076 fi
16077 else
16078 ac_cpp_err=yes
16079 fi
16080 if test -z "$ac_cpp_err"; then
16081 ac_header_preproc=yes
16082 else
16083 echo "$as_me: failed program was:" >&5
16084 sed 's/^/| /' conftest.$ac_ext >&5
16085
16086 ac_header_preproc=no
16087 fi
16088 rm -f conftest.err conftest.$ac_ext
16089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16090 echo "${ECHO_T}$ac_header_preproc" >&6
16091
16092 # So? What about this header?
16093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16094 yes:no: )
16095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16099 ac_header_preproc=yes
16100 ;;
16101 no:yes:* )
16102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16114 (
16115 cat <<\_ASBOX
16116 ## ----------------------------------------- ##
16117 ## Report this to the package-unused lists. ##
16118 ## ----------------------------------------- ##
16119 _ASBOX
16120 ) |
16121 sed "s/^/$as_me: WARNING: /" >&2
16122 ;;
16123 esac
16124 echo "$as_me:$LINENO: checking for $ac_header" >&5
16125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 else
16129 eval "$as_ac_Header=\$ac_header_preproc"
16130 fi
16131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16133
16134 fi
16135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16136 cat >>confdefs.h <<_ACEOF
16137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16138 _ACEOF
16139 ac_has_wchar_h=yes
16140 else
16141 ac_has_wchar_h=no
16142 fi
16143
16144 done
16145
16146 echo "$as_me:$LINENO: checking for mbstate_t" >&5
16147 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16148 cat >conftest.$ac_ext <<_ACEOF
16149 /* confdefs.h. */
16150 _ACEOF
16151 cat confdefs.h >>conftest.$ac_ext
16152 cat >>conftest.$ac_ext <<_ACEOF
16153 /* end confdefs.h. */
16154 #include <wchar.h>
16155 int
16156 main ()
16157 {
16158 mbstate_t teststate;
16159 ;
16160 return 0;
16161 }
16162 _ACEOF
16163 rm -f conftest.$ac_objext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16165 (eval $ac_compile) 2>conftest.er1
16166 ac_status=$?
16167 grep -v '^ *+' conftest.er1 >conftest.err
16168 rm -f conftest.er1
16169 cat conftest.err >&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try='test -z "$ac_c_werror_flag"
16173 || test ! -s conftest.err'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; } &&
16179 { ac_try='test -s conftest.$ac_objext'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16182 ac_status=$?
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; }; then
16185 have_mbstate_t=yes
16186 else
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.$ac_ext >&5
16189
16190 have_mbstate_t=no
16191 fi
16192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16193 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16194 echo "${ECHO_T}$have_mbstate_t" >&6
16195 if test x"$have_mbstate_t" = xyes; then
16196
16197 cat >>confdefs.h <<\_ACEOF
16198 #define HAVE_MBSTATE_T 1
16199 _ACEOF
16200
16201 fi
16202
16203 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16204 # ac_has_wchar_h.
16205
16206 for ac_header in wctype.h
16207 do
16208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16210 echo "$as_me:$LINENO: checking for $ac_header" >&5
16211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 fi
16215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16217 else
16218 # Is the header compilable?
16219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16221 cat >conftest.$ac_ext <<_ACEOF
16222 /* confdefs.h. */
16223 _ACEOF
16224 cat confdefs.h >>conftest.$ac_ext
16225 cat >>conftest.$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 $ac_includes_default
16228 #include <$ac_header>
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } &&
16239 { ac_try='test -z "$ac_c_werror_flag"
16240 || test ! -s conftest.err'
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); }; } &&
16246 { ac_try='test -s conftest.$ac_objext'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; }; then
16252 ac_header_compiler=yes
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 ac_header_compiler=no
16258 fi
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16261 echo "${ECHO_T}$ac_header_compiler" >&6
16262
16263 # Is the header present?
16264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 #include <$ac_header>
16273 _ACEOF
16274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev/null; then
16282 if test -s conftest.err; then
16283 ac_cpp_err=$ac_c_preproc_warn_flag
16284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16285 else
16286 ac_cpp_err=
16287 fi
16288 else
16289 ac_cpp_err=yes
16290 fi
16291 if test -z "$ac_cpp_err"; then
16292 ac_header_preproc=yes
16293 else
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.$ac_ext >&5
16296
16297 ac_header_preproc=no
16298 fi
16299 rm -f conftest.err conftest.$ac_ext
16300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16301 echo "${ECHO_T}$ac_header_preproc" >&6
16302
16303 # So? What about this header?
16304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16305 yes:no: )
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16310 ac_header_preproc=yes
16311 ;;
16312 no:yes:* )
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16325 (
16326 cat <<\_ASBOX
16327 ## ----------------------------------------- ##
16328 ## Report this to the package-unused lists. ##
16329 ## ----------------------------------------- ##
16330 _ASBOX
16331 ) |
16332 sed "s/^/$as_me: WARNING: /" >&2
16333 ;;
16334 esac
16335 echo "$as_me:$LINENO: checking for $ac_header" >&5
16336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340 eval "$as_ac_Header=\$ac_header_preproc"
16341 fi
16342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16344
16345 fi
16346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16347 cat >>confdefs.h <<_ACEOF
16348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16349 _ACEOF
16350 ac_has_wctype_h=yes
16351 else
16352 ac_has_wctype_h=no
16353 fi
16354
16355 done
16356
16357
16358 if test x"$enable_wchar_t" = x"yes"; then
16359
16360
16361
16362 ac_ext=cc
16363 ac_cpp='$CXXCPP $CPPFLAGS'
16364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16367
16368
16369 if test x"$ac_has_wchar_h" = xyes &&
16370 test x"$ac_has_wctype_h" = xyes; then
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16378 #include <stddef.h>
16379 wint_t i;
16380 long l = WEOF;
16381 long j = WCHAR_MIN;
16382 long k = WCHAR_MAX;
16383 namespace test
16384 {
16385 using ::btowc;
16386 using ::fgetwc;
16387 using ::fgetws;
16388 using ::fputwc;
16389 using ::fputws;
16390 using ::fwide;
16391 using ::fwprintf;
16392 using ::fwscanf;
16393 using ::getwc;
16394 using ::getwchar;
16395 using ::mbrlen;
16396 using ::mbrtowc;
16397 using ::mbsinit;
16398 using ::mbsrtowcs;
16399 using ::putwc;
16400 using ::putwchar;
16401 using ::swprintf;
16402 using ::swscanf;
16403 using ::ungetwc;
16404 using ::vfwprintf;
16405 using ::vswprintf;
16406 using ::vwprintf;
16407 using ::wcrtomb;
16408 using ::wcscat;
16409 using ::wcschr;
16410 using ::wcscmp;
16411 using ::wcscoll;
16412 using ::wcscpy;
16413 using ::wcscspn;
16414 using ::wcsftime;
16415 using ::wcslen;
16416 using ::wcsncat;
16417 using ::wcsncmp;
16418 using ::wcsncpy;
16419 using ::wcspbrk;
16420 using ::wcsrchr;
16421 using ::wcsrtombs;
16422 using ::wcsspn;
16423 using ::wcsstr;
16424 using ::wcstod;
16425 using ::wcstok;
16426 using ::wcstol;
16427 using ::wcstoul;
16428 using ::wcsxfrm;
16429 using ::wctob;
16430 using ::wmemchr;
16431 using ::wmemcmp;
16432 using ::wmemcpy;
16433 using ::wmemmove;
16434 using ::wmemset;
16435 using ::wprintf;
16436 using ::wscanf;
16437 }
16438
16439 int
16440 main ()
16441 {
16442
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>conftest.er1
16450 ac_status=$?
16451 grep -v '^ *+' conftest.er1 >conftest.err
16452 rm -f conftest.er1
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try='test -z "$ac_cxx_werror_flag"
16457 || test ! -s conftest.err'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } &&
16463 { ac_try='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 :
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 enable_wchar_t=no
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16479 fi
16480
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487 fi
16488
16489 if test x"$enable_wchar_t" = x"yes"; then
16490
16491 cat >>confdefs.h <<\_ACEOF
16492 #define _GLIBCXX_USE_WCHAR_T 1
16493 _ACEOF
16494
16495 fi
16496
16497 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16498 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16499 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16500 echo "${ECHO_T}$enable_wchar_t" >&6
16501
16502
16503
16504 # Check whether --enable-c99 or --disable-c99 was given.
16505 if test "${enable_c99+set}" = set; then
16506 enableval="$enable_c99"
16507
16508 case "$enableval" in
16509 yes|no) ;;
16510 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16511 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16512 { (exit 1); exit 1; }; } ;;
16513 esac
16514
16515 else
16516 enable_c99=yes
16517 fi;
16518
16519
16520 if test x"$enable_c99" = x"yes"; then
16521
16522
16523
16524 ac_ext=cc
16525 ac_cpp='$CXXCPP $CPPFLAGS'
16526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16529
16530
16531 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16532 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16533 # spuriously enabled.
16534 # Long term, -std=c++0x could be even better, could manage to explicitely
16535 # request C99 facilities to the underlying C headers.
16536 ac_save_CXXFLAGS="$CXXFLAGS"
16537 CXXFLAGS="$CXXFLAGS -std=c++98"
16538 ac_save_LIBS="$LIBS"
16539 ac_save_gcc_no_link="$gcc_no_link"
16540
16541 if test x$gcc_no_link != xyes; then
16542 # Use -fno-exceptions to that the C driver can link these tests without
16543 # hitting undefined references to personality routines.
16544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16545 echo "$as_me:$LINENO: checking for sin in -lm" >&5
16546 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16547 if test "${ac_cv_lib_m_sin+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 else
16550 ac_check_lib_save_LIBS=$LIBS
16551 LIBS="-lm $LIBS"
16552 if test x$gcc_no_link = xyes; then
16553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16555 { (exit 1); exit 1; }; }
16556 fi
16557 cat >conftest.$ac_ext <<_ACEOF
16558 /* confdefs.h. */
16559 _ACEOF
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563
16564 /* Override any gcc2 internal prototype to avoid an error. */
16565 #ifdef __cplusplus
16566 extern "C"
16567 #endif
16568 /* We use char because int might match the return type of a gcc2
16569 builtin and then its argument prototype would still apply. */
16570 char sin ();
16571 int
16572 main ()
16573 {
16574 sin ();
16575 ;
16576 return 0;
16577 }
16578 _ACEOF
16579 rm -f conftest.$ac_objext conftest$ac_exeext
16580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16581 (eval $ac_link) 2>conftest.er1
16582 ac_status=$?
16583 grep -v '^ *+' conftest.er1 >conftest.err
16584 rm -f conftest.er1
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } &&
16588 { ac_try='test -z "$ac_cxx_werror_flag"
16589 || test ! -s conftest.err'
16590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16591 (eval $ac_try) 2>&5
16592 ac_status=$?
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); }; } &&
16595 { ac_try='test -s conftest$ac_exeext'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16598 ac_status=$?
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; }; then
16601 ac_cv_lib_m_sin=yes
16602 else
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.$ac_ext >&5
16605
16606 ac_cv_lib_m_sin=no
16607 fi
16608 rm -f conftest.err conftest.$ac_objext \
16609 conftest$ac_exeext conftest.$ac_ext
16610 LIBS=$ac_check_lib_save_LIBS
16611 fi
16612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16613 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16614 if test $ac_cv_lib_m_sin = yes; then
16615
16616 LIBS="$LIBS -lm"
16617
16618 else
16619
16620 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16621 gcc_no_link=yes
16622
16623 fi
16624
16625 fi
16626
16627 # Check for the existence of <math.h> functions used if C99 is enabled.
16628 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16629 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16630 if test "${glibcxx_cv_c99_math+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16633
16634 if test x$gcc_no_link = xyes; then
16635 cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h. */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641 #include <math.h>
16642 volatile double d1, d2;
16643 volatile int i;
16644 int
16645 main ()
16646 {
16647 i = fpclassify(d1);
16648 i = isfinite(d1);
16649 i = isinf(d1);
16650 i = isnan(d1);
16651 i = isnormal(d1);
16652 i = signbit(d1);
16653 i = isgreater(d1, d2);
16654 i = isgreaterequal(d1, d2);
16655 i = isless(d1, d2);
16656 i = islessequal(d1, d2);
16657 i = islessgreater(d1, d2);
16658 i = islessgreater(d1, d2);
16659 i = isunordered(d1, d2);
16660
16661 ;
16662 return 0;
16663 }
16664 _ACEOF
16665 rm -f conftest.$ac_objext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16667 (eval $ac_compile) 2>conftest.er1
16668 ac_status=$?
16669 grep -v '^ *+' conftest.er1 >conftest.err
16670 rm -f conftest.er1
16671 cat conftest.err >&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } &&
16674 { ac_try='test -z "$ac_cxx_werror_flag"
16675 || test ! -s conftest.err'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16678 ac_status=$?
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; } &&
16681 { ac_try='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16687 glibcxx_cv_c99_math=yes
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 glibcxx_cv_c99_math=no
16693 fi
16694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 else
16696 if test x$gcc_no_link = xyes; then
16697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16699 { (exit 1); exit 1; }; }
16700 fi
16701 cat >conftest.$ac_ext <<_ACEOF
16702 /* confdefs.h. */
16703 _ACEOF
16704 cat confdefs.h >>conftest.$ac_ext
16705 cat >>conftest.$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 #include <math.h>
16708 volatile double d1, d2;
16709 volatile int i;
16710 int
16711 main ()
16712 {
16713 i = fpclassify(d1);
16714 i = isfinite(d1);
16715 i = isinf(d1);
16716 i = isnan(d1);
16717 i = isnormal(d1);
16718 i = signbit(d1);
16719 i = isgreater(d1, d2);
16720 i = isgreaterequal(d1, d2);
16721 i = isless(d1, d2);
16722 i = islessequal(d1, d2);
16723 i = islessgreater(d1, d2);
16724 i = islessgreater(d1, d2);
16725 i = isunordered(d1, d2);
16726
16727 ;
16728 return 0;
16729 }
16730 _ACEOF
16731 rm -f conftest.$ac_objext conftest$ac_exeext
16732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16733 (eval $ac_link) 2>conftest.er1
16734 ac_status=$?
16735 grep -v '^ *+' conftest.er1 >conftest.err
16736 rm -f conftest.er1
16737 cat conftest.err >&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try='test -z "$ac_cxx_werror_flag"
16741 || test ! -s conftest.err'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16744 ac_status=$?
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; } &&
16747 { ac_try='test -s conftest$ac_exeext'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; }; then
16753 glibcxx_cv_c99_math=yes
16754 else
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16757
16758 glibcxx_cv_c99_math=no
16759 fi
16760 rm -f conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16762 fi
16763
16764 fi
16765
16766 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16767 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16768 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16769
16770 cat >>confdefs.h <<\_ACEOF
16771 #define _GLIBCXX_USE_C99_MATH 1
16772 _ACEOF
16773
16774 fi
16775
16776 # Check for the existence of <complex.h> complex math functions.
16777 # This is necessary even though libstdc++ uses the builtin versions
16778 # of these functions, because if the builtin cannot be used, a reference
16779 # to the library function is emitted.
16780
16781 for ac_header in tgmath.h
16782 do
16783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 fi
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792 else
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_cxx_werror_flag"
16815 || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16818 ac_status=$?
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_header_compiler=yes
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16831
16832 ac_header_compiler=no
16833 fi
16834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16836 echo "${ECHO_T}$ac_header_compiler" >&6
16837
16838 # Is the header present?
16839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16841 cat >conftest.$ac_ext <<_ACEOF
16842 /* confdefs.h. */
16843 _ACEOF
16844 cat confdefs.h >>conftest.$ac_ext
16845 cat >>conftest.$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 #include <$ac_header>
16848 _ACEOF
16849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } >/dev/null; then
16857 if test -s conftest.err; then
16858 ac_cpp_err=$ac_cxx_preproc_warn_flag
16859 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16860 else
16861 ac_cpp_err=
16862 fi
16863 else
16864 ac_cpp_err=yes
16865 fi
16866 if test -z "$ac_cpp_err"; then
16867 ac_header_preproc=yes
16868 else
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.$ac_ext >&5
16871
16872 ac_header_preproc=no
16873 fi
16874 rm -f conftest.err conftest.$ac_ext
16875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16876 echo "${ECHO_T}$ac_header_preproc" >&6
16877
16878 # So? What about this header?
16879 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16880 yes:no: )
16881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16885 ac_header_preproc=yes
16886 ;;
16887 no:yes:* )
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16900 (
16901 cat <<\_ASBOX
16902 ## ----------------------------------------- ##
16903 ## Report this to the package-unused lists. ##
16904 ## ----------------------------------------- ##
16905 _ASBOX
16906 ) |
16907 sed "s/^/$as_me: WARNING: /" >&2
16908 ;;
16909 esac
16910 echo "$as_me:$LINENO: checking for $ac_header" >&5
16911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16915 eval "$as_ac_Header=\$ac_header_preproc"
16916 fi
16917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16919
16920 fi
16921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16922 cat >>confdefs.h <<_ACEOF
16923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16924 _ACEOF
16925 ac_has_tgmath_h=yes
16926 else
16927 ac_has_tgmath_h=no
16928 fi
16929
16930 done
16931
16932
16933 for ac_header in complex.h
16934 do
16935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16937 echo "$as_me:$LINENO: checking for $ac_header" >&5
16938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 fi
16942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16944 else
16945 # Is the header compilable?
16946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16955 #include <$ac_header>
16956 _ACEOF
16957 rm -f conftest.$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>conftest.er1
16960 ac_status=$?
16961 grep -v '^ *+' conftest.er1 >conftest.err
16962 rm -f conftest.er1
16963 cat conftest.err >&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try='test -z "$ac_cxx_werror_flag"
16967 || test ! -s conftest.err'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16970 ac_status=$?
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; } &&
16973 { ac_try='test -s conftest.$ac_objext'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16976 ac_status=$?
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_header_compiler=yes
16980 else
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16983
16984 ac_header_compiler=no
16985 fi
16986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16988 echo "${ECHO_T}$ac_header_compiler" >&6
16989
16990 # Is the header present?
16991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 #include <$ac_header>
17000 _ACEOF
17001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17003 ac_status=$?
17004 grep -v '^ *+' conftest.er1 >conftest.err
17005 rm -f conftest.er1
17006 cat conftest.err >&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } >/dev/null; then
17009 if test -s conftest.err; then
17010 ac_cpp_err=$ac_cxx_preproc_warn_flag
17011 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17012 else
17013 ac_cpp_err=
17014 fi
17015 else
17016 ac_cpp_err=yes
17017 fi
17018 if test -z "$ac_cpp_err"; then
17019 ac_header_preproc=yes
17020 else
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.$ac_ext >&5
17023
17024 ac_header_preproc=no
17025 fi
17026 rm -f conftest.err conftest.$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17028 echo "${ECHO_T}$ac_header_preproc" >&6
17029
17030 # So? What about this header?
17031 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17032 yes:no: )
17033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17037 ac_header_preproc=yes
17038 ;;
17039 no:yes:* )
17040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17052 (
17053 cat <<\_ASBOX
17054 ## ----------------------------------------- ##
17055 ## Report this to the package-unused lists. ##
17056 ## ----------------------------------------- ##
17057 _ASBOX
17058 ) |
17059 sed "s/^/$as_me: WARNING: /" >&2
17060 ;;
17061 esac
17062 echo "$as_me:$LINENO: checking for $ac_header" >&5
17063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 else
17067 eval "$as_ac_Header=\$ac_header_preproc"
17068 fi
17069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17071
17072 fi
17073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17074 cat >>confdefs.h <<_ACEOF
17075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17076 _ACEOF
17077 ac_has_complex_h=yes
17078 else
17079 ac_has_complex_h=no
17080 fi
17081
17082 done
17083
17084 glibcxx_cv_c99_complex=no;
17085 if test x"$ac_has_complex_h" = x"yes"; then
17086 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17087 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17088 if test x$gcc_no_link = xyes; then
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 #include <complex.h>
17096 typedef __complex__ float float_type;
17097 typedef __complex__ double double_type;
17098 typedef __complex__ long double ld_type;
17099 volatile float_type tmpf;
17100 volatile double_type tmpd;
17101 volatile ld_type tmpld;
17102 volatile float f;
17103 volatile double d;
17104 volatile long double ld;
17105 int
17106 main ()
17107 {
17108 f = cabsf(tmpf);
17109 f = cargf(tmpf);
17110 tmpf = ccosf(tmpf);
17111 tmpf = ccoshf(tmpf);
17112 tmpf = cexpf(tmpf);
17113 tmpf = clogf(tmpf);
17114 tmpf = csinf(tmpf);
17115 tmpf = csinhf(tmpf);
17116 tmpf = csqrtf(tmpf);
17117 tmpf = ctanf(tmpf);
17118 tmpf = ctanhf(tmpf);
17119 tmpf = cpowf(tmpf, tmpf);
17120 tmpf = cprojf(tmpf);
17121 d = cabs(tmpd);
17122 d = carg(tmpd);
17123 tmpd = ccos(tmpd);
17124 tmpd = ccosh(tmpd);
17125 tmpd = cexp(tmpd);
17126 tmpd = clog(tmpd);
17127 tmpd = csin(tmpd);
17128 tmpd = csinh(tmpd);
17129 tmpd = csqrt(tmpd);
17130 tmpd = ctan(tmpd);
17131 tmpd = ctanh(tmpd);
17132 tmpd = cpow(tmpd, tmpd);
17133 tmpd = cproj(tmpd);
17134 ld = cabsl(tmpld);
17135 ld = cargl(tmpld);
17136 tmpld = ccosl(tmpld);
17137 tmpld = ccoshl(tmpld);
17138 tmpld = cexpl(tmpld);
17139 tmpld = clogl(tmpld);
17140 tmpld = csinl(tmpld);
17141 tmpld = csinhl(tmpld);
17142 tmpld = csqrtl(tmpld);
17143 tmpld = ctanl(tmpld);
17144 tmpld = ctanhl(tmpld);
17145 tmpld = cpowl(tmpld, tmpld);
17146 tmpld = cprojl(tmpld);
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17155 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try='test -z "$ac_cxx_werror_flag"
17162 || test ! -s conftest.err'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; } &&
17168 { ac_try='test -s conftest.$ac_objext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17171 ac_status=$?
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17174 glibcxx_cv_c99_complex=yes
17175 else
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.$ac_ext >&5
17178
17179 glibcxx_cv_c99_complex=no
17180 fi
17181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17182 else
17183 if test x$gcc_no_link = xyes; then
17184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17186 { (exit 1); exit 1; }; }
17187 fi
17188 cat >conftest.$ac_ext <<_ACEOF
17189 /* confdefs.h. */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 #include <complex.h>
17195 typedef __complex__ float float_type;
17196 typedef __complex__ double double_type;
17197 typedef __complex__ long double ld_type;
17198 volatile float_type tmpf;
17199 volatile double_type tmpd;
17200 volatile ld_type tmpld;
17201 volatile float f;
17202 volatile double d;
17203 volatile long double ld;
17204 int
17205 main ()
17206 {
17207 f = cabsf(tmpf);
17208 f = cargf(tmpf);
17209 tmpf = ccosf(tmpf);
17210 tmpf = ccoshf(tmpf);
17211 tmpf = cexpf(tmpf);
17212 tmpf = clogf(tmpf);
17213 tmpf = csinf(tmpf);
17214 tmpf = csinhf(tmpf);
17215 tmpf = csqrtf(tmpf);
17216 tmpf = ctanf(tmpf);
17217 tmpf = ctanhf(tmpf);
17218 tmpf = cpowf(tmpf, tmpf);
17219 tmpf = cprojf(tmpf);
17220 d = cabs(tmpd);
17221 d = carg(tmpd);
17222 tmpd = ccos(tmpd);
17223 tmpd = ccosh(tmpd);
17224 tmpd = cexp(tmpd);
17225 tmpd = clog(tmpd);
17226 tmpd = csin(tmpd);
17227 tmpd = csinh(tmpd);
17228 tmpd = csqrt(tmpd);
17229 tmpd = ctan(tmpd);
17230 tmpd = ctanh(tmpd);
17231 tmpd = cpow(tmpd, tmpd);
17232 tmpd = cproj(tmpd);
17233 ld = cabsl(tmpld);
17234 ld = cargl(tmpld);
17235 tmpld = ccosl(tmpld);
17236 tmpld = ccoshl(tmpld);
17237 tmpld = cexpl(tmpld);
17238 tmpld = clogl(tmpld);
17239 tmpld = csinl(tmpld);
17240 tmpld = csinhl(tmpld);
17241 tmpld = csqrtl(tmpld);
17242 tmpld = ctanl(tmpld);
17243 tmpld = ctanhl(tmpld);
17244 tmpld = cpowl(tmpld, tmpld);
17245 tmpld = cprojl(tmpld);
17246
17247 ;
17248 return 0;
17249 }
17250 _ACEOF
17251 rm -f conftest.$ac_objext conftest$ac_exeext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17253 (eval $ac_link) 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } &&
17260 { ac_try='test -z "$ac_cxx_werror_flag"
17261 || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try='test -s conftest$ac_exeext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17270 ac_status=$?
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 glibcxx_cv_c99_complex=yes
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 glibcxx_cv_c99_complex=no
17279 fi
17280 rm -f conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 fi
17283 fi
17284 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17285 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17286 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17287
17288 cat >>confdefs.h <<\_ACEOF
17289 #define _GLIBCXX_USE_C99_COMPLEX 1
17290 _ACEOF
17291
17292 fi
17293
17294 # Check for the existence in <stdio.h> of vscanf, et. al.
17295 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17296 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17297 if test "${glibcxx_cv_c99_stdio+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17300
17301 if test x$gcc_no_link = xyes; then
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #include <stdio.h>
17309 #include <stdarg.h>
17310 void foo(char* fmt, ...)
17311 {
17312 va_list args; va_start(args, fmt);
17313 vfscanf(stderr, "%i", args);
17314 vscanf("%i", args);
17315 vsnprintf(fmt, 0, "%i", args);
17316 vsscanf(fmt, "%i", args);
17317 }
17318 int
17319 main ()
17320 {
17321 snprintf("12", 0, "%i");
17322 ;
17323 return 0;
17324 }
17325 _ACEOF
17326 rm -f conftest.$ac_objext
17327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17328 (eval $ac_compile) 2>conftest.er1
17329 ac_status=$?
17330 grep -v '^ *+' conftest.er1 >conftest.err
17331 rm -f conftest.er1
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try='test -z "$ac_cxx_werror_flag"
17336 || test ! -s conftest.err'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17339 ac_status=$?
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; } &&
17342 { ac_try='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17345 ac_status=$?
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 glibcxx_cv_c99_stdio=yes
17349 else
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17352
17353 glibcxx_cv_c99_stdio=no
17354 fi
17355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17356 else
17357 if test x$gcc_no_link = xyes; then
17358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17360 { (exit 1); exit 1; }; }
17361 fi
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 #include <stdio.h>
17369 #include <stdarg.h>
17370 void foo(char* fmt, ...)
17371 {
17372 va_list args; va_start(args, fmt);
17373 vfscanf(stderr, "%i", args);
17374 vscanf("%i", args);
17375 vsnprintf(fmt, 0, "%i", args);
17376 vsscanf(fmt, "%i", args);
17377 }
17378 int
17379 main ()
17380 {
17381 snprintf("12", 0, "%i");
17382 ;
17383 return 0;
17384 }
17385 _ACEOF
17386 rm -f conftest.$ac_objext conftest$ac_exeext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17388 (eval $ac_link) 2>conftest.er1
17389 ac_status=$?
17390 grep -v '^ *+' conftest.er1 >conftest.err
17391 rm -f conftest.er1
17392 cat conftest.err >&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try='test -z "$ac_cxx_werror_flag"
17396 || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17399 ac_status=$?
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try='test -s conftest$ac_exeext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17405 ac_status=$?
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 glibcxx_cv_c99_stdio=yes
17409 else
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17412
17413 glibcxx_cv_c99_stdio=no
17414 fi
17415 rm -f conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17417 fi
17418
17419 fi
17420
17421 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17422 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17423
17424 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17425 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17426 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17427 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 else
17430
17431 if test x$gcc_no_link = xyes; then
17432 cat >conftest.$ac_ext <<_ACEOF
17433 /* confdefs.h. */
17434 _ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 #include <stdlib.h>
17439 volatile float f;
17440 volatile long double ld;
17441 volatile unsigned long long ll;
17442 lldiv_t mydivt;
17443 int
17444 main ()
17445 {
17446 char* tmp;
17447 f = strtof("gnu", &tmp);
17448 ld = strtold("gnu", &tmp);
17449 ll = strtoll("gnu", &tmp, 10);
17450 ll = strtoull("gnu", &tmp, 10);
17451 ll = llabs(10);
17452 mydivt = lldiv(10,1);
17453 ll = mydivt.quot;
17454 ll = mydivt.rem;
17455 ll = atoll("10");
17456 _Exit(0);
17457
17458 ;
17459 return 0;
17460 }
17461 _ACEOF
17462 rm -f conftest.$ac_objext
17463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17464 (eval $ac_compile) 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try='test -z "$ac_cxx_werror_flag"
17472 || test ! -s conftest.err'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17475 ac_status=$?
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; } &&
17478 { ac_try='test -s conftest.$ac_objext'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17481 ac_status=$?
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; }; then
17484 glibcxx_cv_c99_stdlib=yes
17485 else
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.$ac_ext >&5
17488
17489 glibcxx_cv_c99_stdlib=no
17490 fi
17491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17492 else
17493 if test x$gcc_no_link = xyes; then
17494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17496 { (exit 1); exit 1; }; }
17497 fi
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 #include <stdlib.h>
17505 volatile float f;
17506 volatile long double ld;
17507 volatile unsigned long long ll;
17508 lldiv_t mydivt;
17509 int
17510 main ()
17511 {
17512 char* tmp;
17513 f = strtof("gnu", &tmp);
17514 ld = strtold("gnu", &tmp);
17515 ll = strtoll("gnu", &tmp, 10);
17516 ll = strtoull("gnu", &tmp, 10);
17517 ll = llabs(10);
17518 mydivt = lldiv(10,1);
17519 ll = mydivt.quot;
17520 ll = mydivt.rem;
17521 ll = atoll("10");
17522 _Exit(0);
17523
17524 ;
17525 return 0;
17526 }
17527 _ACEOF
17528 rm -f conftest.$ac_objext conftest$ac_exeext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17530 (eval $ac_link) 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try='test -z "$ac_cxx_werror_flag"
17538 || test ! -s conftest.err'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17541 ac_status=$?
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try='test -s conftest$ac_exeext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17547 ac_status=$?
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 glibcxx_cv_c99_stdlib=yes
17551 else
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.$ac_ext >&5
17554
17555 glibcxx_cv_c99_stdlib=no
17556 fi
17557 rm -f conftest.err conftest.$ac_objext \
17558 conftest$ac_exeext conftest.$ac_ext
17559 fi
17560
17561 fi
17562
17563 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17564 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17565
17566 # Check for the existence in <wchar.h> of wcstold, etc.
17567 glibcxx_cv_c99_wchar=no;
17568 if test x"$ac_has_wchar_h" = xyes &&
17569 test x"$ac_has_wctype_h" = xyes; then
17570 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17571 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <wchar.h>
17579 namespace test
17580 {
17581 using ::wcstold;
17582 using ::wcstoll;
17583 using ::wcstoull;
17584 }
17585
17586 int
17587 main ()
17588 {
17589
17590 ;
17591 return 0;
17592 }
17593 _ACEOF
17594 rm -f conftest.$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>conftest.er1
17597 ac_status=$?
17598 grep -v '^ *+' conftest.er1 >conftest.err
17599 rm -f conftest.er1
17600 cat conftest.err >&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try='test -z "$ac_cxx_werror_flag"
17604 || test ! -s conftest.err'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17607 ac_status=$?
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; } &&
17610 { ac_try='test -s conftest.$ac_objext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17616 glibcxx_cv_c99_wchar=yes
17617 else
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.$ac_ext >&5
17620
17621 glibcxx_cv_c99_wchar=no
17622 fi
17623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17624
17625 # Checks for wide character functions that may not be present.
17626 # Injection of these is wrapped with guard macros.
17627 # NB: only put functions here, instead of immediately above, if
17628 # absolutely necessary.
17629 cat >conftest.$ac_ext <<_ACEOF
17630 /* confdefs.h. */
17631 _ACEOF
17632 cat confdefs.h >>conftest.$ac_ext
17633 cat >>conftest.$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17635 #include <wchar.h>
17636 namespace test { using ::vfwscanf; }
17637 int
17638 main ()
17639 {
17640
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 rm -f conftest.$ac_objext
17646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17647 (eval $ac_compile) 2>conftest.er1
17648 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try='test -z "$ac_cxx_werror_flag"
17655 || test ! -s conftest.err'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17658 ac_status=$?
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; } &&
17661 { ac_try='test -s conftest.$ac_objext'
17662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17663 (eval $ac_try) 2>&5
17664 ac_status=$?
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); }; }; then
17667
17668 cat >>confdefs.h <<\_ACEOF
17669 #define HAVE_VFWSCANF 1
17670 _ACEOF
17671
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17675
17676 fi
17677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17678
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 #include <wchar.h>
17686 namespace test { using ::vswscanf; }
17687 int
17688 main ()
17689 {
17690
17691 ;
17692 return 0;
17693 }
17694 _ACEOF
17695 rm -f conftest.$ac_objext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>conftest.er1
17698 ac_status=$?
17699 grep -v '^ *+' conftest.er1 >conftest.err
17700 rm -f conftest.er1
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try='test -z "$ac_cxx_werror_flag"
17705 || test ! -s conftest.err'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; } &&
17711 { ac_try='test -s conftest.$ac_objext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17717
17718 cat >>confdefs.h <<\_ACEOF
17719 #define HAVE_VSWSCANF 1
17720 _ACEOF
17721
17722 else
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17725
17726 fi
17727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17728
17729 cat >conftest.$ac_ext <<_ACEOF
17730 /* confdefs.h. */
17731 _ACEOF
17732 cat confdefs.h >>conftest.$ac_ext
17733 cat >>conftest.$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 #include <wchar.h>
17736 namespace test { using ::vwscanf; }
17737 int
17738 main ()
17739 {
17740
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -z "$ac_cxx_werror_flag"
17755 || test ! -s conftest.err'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; } &&
17761 { ac_try='test -s conftest.$ac_objext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17767
17768 cat >>confdefs.h <<\_ACEOF
17769 #define HAVE_VWSCANF 1
17770 _ACEOF
17771
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 fi
17777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17778
17779 cat >conftest.$ac_ext <<_ACEOF
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 #include <wchar.h>
17786 namespace test { using ::wcstof; }
17787 int
17788 main ()
17789 {
17790
17791 ;
17792 return 0;
17793 }
17794 _ACEOF
17795 rm -f conftest.$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try='test -z "$ac_cxx_werror_flag"
17805 || test ! -s conftest.err'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; } &&
17811 { ac_try='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17817
17818 cat >>confdefs.h <<\_ACEOF
17819 #define HAVE_WCSTOF 1
17820 _ACEOF
17821
17822 else
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17825
17826 fi
17827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17828
17829 cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 #include <wctype.h>
17836 int
17837 main ()
17838 {
17839 wint_t t; int i = iswblank(t);
17840 ;
17841 return 0;
17842 }
17843 _ACEOF
17844 rm -f conftest.$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17847 ac_status=$?
17848 grep -v '^ *+' conftest.er1 >conftest.err
17849 rm -f conftest.er1
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try='test -z "$ac_cxx_werror_flag"
17854 || test ! -s conftest.err'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17857 ac_status=$?
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; } &&
17860 { ac_try='test -s conftest.$ac_objext'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17863 ac_status=$?
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; }; then
17866
17867 cat >>confdefs.h <<\_ACEOF
17868 #define HAVE_ISWBLANK 1
17869 _ACEOF
17870
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875 fi
17876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17877
17878 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17879 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17880 fi
17881
17882 # Option parsed, now set things appropriately.
17883 if test x"$glibcxx_cv_c99_math" = x"no" ||
17884 test x"$glibcxx_cv_c99_complex" = x"no" ||
17885 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17886 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17887 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17888 enable_c99=no;
17889 else
17890
17891 cat >>confdefs.h <<\_ACEOF
17892 #define _GLIBCXX_USE_C99 1
17893 _ACEOF
17894
17895 fi
17896
17897 gcc_no_link="$ac_save_gcc_no_link"
17898 LIBS="$ac_save_LIBS"
17899 CXXFLAGS="$ac_save_CXXFLAGS"
17900 ac_ext=c
17901 ac_cpp='$CPP $CPPFLAGS'
17902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17905
17906 fi
17907
17908 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17909 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17910 echo "$as_me:$LINENO: result: $enable_c99" >&5
17911 echo "${ECHO_T}$enable_c99" >&6
17912
17913
17914 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17915 if test "${enable_concept_checks+set}" = set; then
17916 enableval="$enable_concept_checks"
17917
17918 case "$enableval" in
17919 yes|no) ;;
17920 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17921 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17922 { (exit 1); exit 1; }; } ;;
17923 esac
17924
17925 else
17926 enable_concept_checks=no
17927 fi;
17928
17929 if test $enable_concept_checks = yes; then
17930
17931 cat >>confdefs.h <<\_ACEOF
17932 #define _GLIBCXX_CONCEPT_CHECKS 1
17933 _ACEOF
17934
17935 fi
17936
17937
17938 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17939 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17940 enableval="$enable_libstdcxx_debug_flags"
17941 case "x$enable_libstdcxx_debug_flags" in
17942 xno | x) enable_libstdcxx_debug_flags= ;;
17943 x-*) ;;
17944 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17945 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17946 { (exit 1); exit 1; }; } ;;
17947 esac
17948 else
17949 enable_libstdcxx_debug_flags="-g3 -O0"
17950 fi;
17951
17952
17953 # Option parsed, now set things appropriately
17954 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17955
17956
17957 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17958 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17959
17960
17961 echo "$as_me:$LINENO: checking for additional debug build" >&5
17962 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17963 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17964 if test "${enable_libstdcxx_debug+set}" = set; then
17965 enableval="$enable_libstdcxx_debug"
17966
17967 case "$enableval" in
17968 yes|no) ;;
17969 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17970 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17971 { (exit 1); exit 1; }; } ;;
17972 esac
17973
17974 else
17975 enable_libstdcxx_debug=no
17976 fi;
17977
17978 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17979 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17980
17981
17982
17983
17984 enable_parallel=no;
17985
17986 # See if configured libgomp/omp.h exists. (libgomp may be in
17987 # noconfigdirs but not explicitly disabled.)
17988 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17989 enable_parallel=yes;
17990 else
17991 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17992 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17993 fi
17994
17995 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17996 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17997 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17998 echo "${ECHO_T}$enable_parallel" >&6
17999
18000
18001 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
18002 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
18003 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
18004 if test "${enable_cxx_flags+set}" = set; then
18005 enableval="$enable_cxx_flags"
18006 case "x$enable_cxx_flags" in
18007 xno | x) enable_cxx_flags= ;;
18008 x-*) ;;
18009 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
18010 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
18011 { (exit 1); exit 1; }; } ;;
18012 esac
18013 else
18014 enable_cxx_flags=
18015 fi;
18016
18017
18018 # Run through flags (either default or command-line) and set anything
18019 # extra (e.g., #defines) that must accompany particular g++ options.
18020 if test -n "$enable_cxx_flags"; then
18021 for f in $enable_cxx_flags; do
18022 case "$f" in
18023 -fhonor-std) ;;
18024 -*) ;;
18025 *) # and we're trying to pass /what/ exactly?
18026 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18027 echo "$as_me: error: compiler flags start with a -" >&2;}
18028 { (exit 1); exit 1; }; } ;;
18029 esac
18030 done
18031 fi
18032
18033 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18034 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18035 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18036
18037
18038
18039 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18040 if test "${enable_fully_dynamic_string+set}" = set; then
18041 enableval="$enable_fully_dynamic_string"
18042
18043 case "$enableval" in
18044 yes|no) ;;
18045 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18046 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18047 { (exit 1); exit 1; }; } ;;
18048 esac
18049
18050 else
18051 enable_fully_dynamic_string=no
18052 fi;
18053
18054 if test $enable_fully_dynamic_string = yes; then
18055
18056 cat >>confdefs.h <<\_ACEOF
18057 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18058 _ACEOF
18059
18060 fi
18061
18062
18063 # Checks for operating systems support that doesn't require linking.
18064
18065
18066 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18067 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18068 if test "${glibcxx_cv_system_error1+set}" = set; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18070 else
18071
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #include <errno.h>
18079 int
18080 main ()
18081 {
18082 int i = EOWNERDEAD;
18083 ;
18084 return 0;
18085 }
18086 _ACEOF
18087 rm -f conftest.$ac_objext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18089 (eval $ac_compile) 2>conftest.er1
18090 ac_status=$?
18091 grep -v '^ *+' conftest.er1 >conftest.err
18092 rm -f conftest.er1
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try='test -z "$ac_c_werror_flag"
18097 || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try='test -s conftest.$ac_objext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18106 ac_status=$?
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 glibcxx_cv_system_error1=yes
18110 else
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18113
18114 glibcxx_cv_system_error1=no
18115 fi
18116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18117
18118 fi
18119
18120 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18121 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18122 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18123
18124 cat >>confdefs.h <<\_ACEOF
18125 #define HAVE_EOWNERDEAD 1
18126 _ACEOF
18127
18128 fi
18129 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18130 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18131 if test "${glibcxx_cv_system_error2+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 else
18134
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 #include <errno.h>
18142 int
18143 main ()
18144 {
18145 int i = ENOTRECOVERABLE;
18146 ;
18147 return 0;
18148 }
18149 _ACEOF
18150 rm -f conftest.$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_c_werror_flag"
18160 || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 glibcxx_cv_system_error2=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18176
18177 glibcxx_cv_system_error2=no
18178 fi
18179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18180
18181 fi
18182
18183 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18184 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18185 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18186
18187 cat >>confdefs.h <<\_ACEOF
18188 #define HAVE_ENOTRECOVERABLE 1
18189 _ACEOF
18190
18191 fi
18192 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18193 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18194 if test "${glibcxx_cv_system_error3+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 else
18197
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 #include <errno.h>
18205 int
18206 main ()
18207 {
18208 int i = ENOLINK;
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 glibcxx_cv_system_error3=yes
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18239
18240 glibcxx_cv_system_error3=no
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243
18244 fi
18245
18246 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18247 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18248 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18249
18250 cat >>confdefs.h <<\_ACEOF
18251 #define HAVE_ENOLINK 1
18252 _ACEOF
18253
18254 fi
18255 echo "$as_me:$LINENO: checking for EPROTO" >&5
18256 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18257 if test "${glibcxx_cv_system_error4+set}" = set; then
18258 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 else
18260
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 #include <errno.h>
18268 int
18269 main ()
18270 {
18271 int i = EPROTO;
18272 ;
18273 return 0;
18274 }
18275 _ACEOF
18276 rm -f conftest.$ac_objext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278 (eval $ac_compile) 2>conftest.er1
18279 ac_status=$?
18280 grep -v '^ *+' conftest.er1 >conftest.err
18281 rm -f conftest.er1
18282 cat conftest.err >&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } &&
18285 { ac_try='test -z "$ac_c_werror_flag"
18286 || test ! -s conftest.err'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18289 ac_status=$?
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; } &&
18292 { ac_try='test -s conftest.$ac_objext'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 glibcxx_cv_system_error4=yes
18299 else
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18302
18303 glibcxx_cv_system_error4=no
18304 fi
18305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18306
18307 fi
18308
18309 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18310 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18311 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18312
18313 cat >>confdefs.h <<\_ACEOF
18314 #define HAVE_EPROTO 1
18315 _ACEOF
18316
18317 fi
18318 echo "$as_me:$LINENO: checking for ENODATA" >&5
18319 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18320 if test "${glibcxx_cv_system_error5+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 else
18323
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330 #include <errno.h>
18331 int
18332 main ()
18333 {
18334 int i = ENODATA;
18335 ;
18336 return 0;
18337 }
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18342 ac_status=$?
18343 grep -v '^ *+' conftest.er1 >conftest.err
18344 rm -f conftest.er1
18345 cat conftest.err >&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try='test -z "$ac_c_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 glibcxx_cv_system_error5=yes
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18365
18366 glibcxx_cv_system_error5=no
18367 fi
18368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18369
18370 fi
18371
18372 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18373 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18374 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18375
18376 cat >>confdefs.h <<\_ACEOF
18377 #define HAVE_ENODATA 1
18378 _ACEOF
18379
18380 fi
18381 echo "$as_me:$LINENO: checking for ENOSR" >&5
18382 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18383 if test "${glibcxx_cv_system_error6+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18386
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <errno.h>
18394 int
18395 main ()
18396 {
18397 int i = ENOSR;
18398 ;
18399 return 0;
18400 }
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -z "$ac_c_werror_flag"
18412 || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 glibcxx_cv_system_error6=yes
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 glibcxx_cv_system_error6=no
18430 fi
18431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18432
18433 fi
18434
18435 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18436 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18437 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18438
18439 cat >>confdefs.h <<\_ACEOF
18440 #define HAVE_ENOSR 1
18441 _ACEOF
18442
18443 fi
18444 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18445 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18446 if test "${glibcxx_cv_system_error7+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449
18450 cat >conftest.$ac_ext <<_ACEOF
18451 /* confdefs.h. */
18452 _ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18456 #include <errno.h>
18457 int
18458 main ()
18459 {
18460 int i = ENOSTR;
18461 ;
18462 return 0;
18463 }
18464 _ACEOF
18465 rm -f conftest.$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18468 ac_status=$?
18469 grep -v '^ *+' conftest.er1 >conftest.err
18470 rm -f conftest.er1
18471 cat conftest.err >&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try='test -z "$ac_c_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 glibcxx_cv_system_error7=yes
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 glibcxx_cv_system_error7=no
18493 fi
18494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18495
18496 fi
18497
18498 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18499 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18500 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18501
18502 cat >>confdefs.h <<\_ACEOF
18503 #define HAVE_ENOSTR 1
18504 _ACEOF
18505
18506 fi
18507 echo "$as_me:$LINENO: checking for ETIME" >&5
18508 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18509 if test "${glibcxx_cv_system_error8+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 #include <errno.h>
18520 int
18521 main ()
18522 {
18523 int i = ETIME;
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try='test -s conftest.$ac_objext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18547 ac_status=$?
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 glibcxx_cv_system_error8=yes
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 glibcxx_cv_system_error8=no
18556 fi
18557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18558
18559 fi
18560
18561 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18562 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18563 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18564
18565 cat >>confdefs.h <<\_ACEOF
18566 #define HAVE_ETIME 1
18567 _ACEOF
18568
18569 fi
18570 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18571 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18572 if test "${glibcxx_cv_system_error9+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18574 else
18575
18576 cat >conftest.$ac_ext <<_ACEOF
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <errno.h>
18583 int
18584 main ()
18585 {
18586 int i = EBADMSG;
18587 ;
18588 return 0;
18589 }
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593 (eval $ac_compile) 2>conftest.er1
18594 ac_status=$?
18595 grep -v '^ *+' conftest.er1 >conftest.err
18596 rm -f conftest.er1
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } &&
18600 { ac_try='test -z "$ac_c_werror_flag"
18601 || test ! -s conftest.err'
18602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603 (eval $ac_try) 2>&5
18604 ac_status=$?
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; } &&
18607 { ac_try='test -s conftest.$ac_objext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18610 ac_status=$?
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 glibcxx_cv_system_error9=yes
18614 else
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18617
18618 glibcxx_cv_system_error9=no
18619 fi
18620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18621
18622 fi
18623
18624 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18625 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18626 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18627
18628 cat >>confdefs.h <<\_ACEOF
18629 #define HAVE_EBADMSG 1
18630 _ACEOF
18631
18632 fi
18633 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18634 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18635 if test "${glibcxx_cv_system_error10+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 else
18638
18639 cat >conftest.$ac_ext <<_ACEOF
18640 /* confdefs.h. */
18641 _ACEOF
18642 cat confdefs.h >>conftest.$ac_ext
18643 cat >>conftest.$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645 #include <errno.h>
18646 int
18647 main ()
18648 {
18649 int i = ECANCELED;
18650 ;
18651 return 0;
18652 }
18653 _ACEOF
18654 rm -f conftest.$ac_objext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18656 (eval $ac_compile) 2>conftest.er1
18657 ac_status=$?
18658 grep -v '^ *+' conftest.er1 >conftest.err
18659 rm -f conftest.er1
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try='test -z "$ac_c_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try='test -s conftest.$ac_objext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 glibcxx_cv_system_error10=yes
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18680
18681 glibcxx_cv_system_error10=no
18682 fi
18683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18684
18685 fi
18686
18687 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
18688 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
18689 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18690
18691 cat >>confdefs.h <<\_ACEOF
18692 #define HAVE_ECANCELED 1
18693 _ACEOF
18694
18695 fi
18696 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18697 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18698 if test "${glibcxx_cv_system_error11+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 else
18701
18702 cat >conftest.$ac_ext <<_ACEOF
18703 /* confdefs.h. */
18704 _ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708 #include <errno.h>
18709 int
18710 main ()
18711 {
18712 int i = EOVERFLOW;
18713 ;
18714 return 0;
18715 }
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 glibcxx_cv_system_error11=yes
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 glibcxx_cv_system_error11=no
18745 fi
18746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18747
18748 fi
18749
18750 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18751 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18752 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18753
18754 cat >>confdefs.h <<\_ACEOF
18755 #define HAVE_EOVERFLOW 1
18756 _ACEOF
18757
18758 fi
18759 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18760 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18761 if test "${glibcxx_cv_system_error12+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 else
18764
18765 cat >conftest.$ac_ext <<_ACEOF
18766 /* confdefs.h. */
18767 _ACEOF
18768 cat confdefs.h >>conftest.$ac_ext
18769 cat >>conftest.$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 #include <errno.h>
18772 int
18773 main ()
18774 {
18775 int i = ENOTSUP;
18776 ;
18777 return 0;
18778 }
18779 _ACEOF
18780 rm -f conftest.$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try='test -z "$ac_c_werror_flag"
18790 || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 glibcxx_cv_system_error12=yes
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18806
18807 glibcxx_cv_system_error12=no
18808 fi
18809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18810
18811 fi
18812
18813 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18814 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18815 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18816
18817 cat >>confdefs.h <<\_ACEOF
18818 #define HAVE_ENOTSUP 1
18819 _ACEOF
18820
18821 fi
18822 echo "$as_me:$LINENO: checking for EIDRM" >&5
18823 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18824 if test "${glibcxx_cv_system_error13+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18827
18828 cat >conftest.$ac_ext <<_ACEOF
18829 /* confdefs.h. */
18830 _ACEOF
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18834 #include <errno.h>
18835 int
18836 main ()
18837 {
18838 int i = EIDRM;
18839 ;
18840 return 0;
18841 }
18842 _ACEOF
18843 rm -f conftest.$ac_objext
18844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18845 (eval $ac_compile) 2>conftest.er1
18846 ac_status=$?
18847 grep -v '^ *+' conftest.er1 >conftest.err
18848 rm -f conftest.er1
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } &&
18852 { ac_try='test -z "$ac_c_werror_flag"
18853 || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 glibcxx_cv_system_error13=yes
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18869
18870 glibcxx_cv_system_error13=no
18871 fi
18872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18873
18874 fi
18875
18876 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18877 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18878 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18879
18880 cat >>confdefs.h <<\_ACEOF
18881 #define HAVE_EIDRM 1
18882 _ACEOF
18883
18884 fi
18885 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18886 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18887 if test "${glibcxx_cv_system_error14+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 else
18890
18891 cat >conftest.$ac_ext <<_ACEOF
18892 /* confdefs.h. */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 #include <errno.h>
18898 int
18899 main ()
18900 {
18901 int i = ETXTBSY;
18902 ;
18903 return 0;
18904 }
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908 (eval $ac_compile) 2>conftest.er1
18909 ac_status=$?
18910 grep -v '^ *+' conftest.er1 >conftest.err
18911 rm -f conftest.er1
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -z "$ac_c_werror_flag"
18916 || test ! -s conftest.err'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18919 ac_status=$?
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; } &&
18922 { ac_try='test -s conftest.$ac_objext'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; }; then
18928 glibcxx_cv_system_error14=yes
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18932
18933 glibcxx_cv_system_error14=no
18934 fi
18935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18936
18937 fi
18938
18939 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18940 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18941 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18942
18943 cat >>confdefs.h <<\_ACEOF
18944 #define HAVE_ETXTBSY 1
18945 _ACEOF
18946
18947 fi
18948
18949
18950
18951 # For the streamoff typedef.
18952
18953
18954
18955
18956 ac_ext=cc
18957 ac_cpp='$CXXCPP $CPPFLAGS'
18958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18961
18962
18963 echo "$as_me:$LINENO: checking for int64_t" >&5
18964 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18965 if test "${glibcxx_cv_INT64_T+set}" = set; then
18966 echo $ECHO_N "(cached) $ECHO_C" >&6
18967 else
18968
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <stdint.h>
18976 int
18977 main ()
18978 {
18979 int64_t var;
18980 ;
18981 return 0;
18982 }
18983 _ACEOF
18984 rm -f conftest.$ac_objext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18986 (eval $ac_compile) 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_cxx_werror_flag"
18994 || test ! -s conftest.err'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; } &&
19000 { ac_try='test -s conftest.$ac_objext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 glibcxx_cv_INT64_T=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19010
19011 glibcxx_cv_INT64_T=no
19012 fi
19013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19014
19015 fi
19016
19017
19018 if test $glibcxx_cv_INT64_T = yes; then
19019
19020 cat >>confdefs.h <<\_ACEOF
19021 #define HAVE_INT64_T 1
19022 _ACEOF
19023
19024 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19025 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19026
19027 echo "$as_me:$LINENO: checking for int64_t as long" >&5
19028 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19029 if test "${glibcxx_cv_int64_t_long+set}" = set; then
19030 echo $ECHO_N "(cached) $ECHO_C" >&6
19031 else
19032
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <stdint.h>
19040 template<typename, typename> struct same { enum { value = -1 }; };
19041 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19042 int array[same<int64_t, long>::value];
19043 int
19044 main ()
19045 {
19046
19047 ;
19048 return 0;
19049 }
19050 _ACEOF
19051 rm -f conftest.$ac_objext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19053 (eval $ac_compile) 2>conftest.er1
19054 ac_status=$?
19055 grep -v '^ *+' conftest.er1 >conftest.err
19056 rm -f conftest.er1
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try='test -z "$ac_cxx_werror_flag"
19061 || test ! -s conftest.err'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; } &&
19067 { ac_try='test -s conftest.$ac_objext'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19070 ac_status=$?
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 glibcxx_cv_int64_t_long=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078 glibcxx_cv_int64_t_long=no
19079 fi
19080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19081
19082 fi
19083
19084
19085 if test $glibcxx_cv_int64_t_long = yes; then
19086
19087 cat >>confdefs.h <<\_ACEOF
19088 #define HAVE_INT64_T_LONG 1
19089 _ACEOF
19090
19091 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19092 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19093 fi
19094
19095 echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19096 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19097 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19100
19101 cat >conftest.$ac_ext <<_ACEOF
19102 /* confdefs.h. */
19103 _ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #include <stdint.h>
19108 template<typename, typename> struct same { enum { value = -1 }; };
19109 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19110 int array[same<int64_t, long long>::value];
19111 int
19112 main ()
19113 {
19114
19115 ;
19116 return 0;
19117 }
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try='test -z "$ac_cxx_werror_flag"
19129 || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19132 ac_status=$?
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try='test -s conftest.$ac_objext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 glibcxx_cv_int64_t_long_long=yes
19142 else
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19145
19146 glibcxx_cv_int64_t_long_long=no
19147 fi
19148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19149
19150 fi
19151
19152
19153 if test $glibcxx_cv_int64_t_long_long = yes; then
19154
19155 cat >>confdefs.h <<\_ACEOF
19156 #define HAVE_INT64_T_LONG_LONG 1
19157 _ACEOF
19158
19159 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19160 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19161 fi
19162 fi
19163
19164 ac_ext=c
19165 ac_cpp='$CPP $CPPFLAGS'
19166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19169
19170
19171
19172 # For LFS support.
19173
19174
19175
19176 ac_ext=cc
19177 ac_cpp='$CXXCPP $CPPFLAGS'
19178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19181
19182 ac_save_CXXFLAGS="$CXXFLAGS"
19183 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19184 echo "$as_me:$LINENO: checking for LFS support" >&5
19185 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19186 if test "${glibcxx_cv_LFS+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 else
19189
19190 if test x$gcc_no_link = xyes; then
19191 cat >conftest.$ac_ext <<_ACEOF
19192 /* confdefs.h. */
19193 _ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <unistd.h>
19198 #include <stdio.h>
19199 #include <sys/stat.h>
19200
19201 int
19202 main ()
19203 {
19204 FILE* fp;
19205 fopen64("t", "w");
19206 fseeko64(fp, 0, SEEK_CUR);
19207 ftello64(fp);
19208 lseek64(1, 0, SEEK_CUR);
19209 struct stat64 buf;
19210 fstat64(1, &buf);
19211 ;
19212 return 0;
19213 }
19214 _ACEOF
19215 rm -f conftest.$ac_objext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19217 (eval $ac_compile) 2>conftest.er1
19218 ac_status=$?
19219 grep -v '^ *+' conftest.er1 >conftest.err
19220 rm -f conftest.er1
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try='test -z "$ac_cxx_werror_flag"
19225 || test ! -s conftest.err'
19226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227 (eval $ac_try) 2>&5
19228 ac_status=$?
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; } &&
19231 { ac_try='test -s conftest.$ac_objext'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19234 ac_status=$?
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; }; then
19237 glibcxx_cv_LFS=yes
19238 else
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5
19241
19242 glibcxx_cv_LFS=no
19243 fi
19244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19245 else
19246 if test x$gcc_no_link = xyes; then
19247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19249 { (exit 1); exit 1; }; }
19250 fi
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <unistd.h>
19258 #include <stdio.h>
19259 #include <sys/stat.h>
19260
19261 int
19262 main ()
19263 {
19264 FILE* fp;
19265 fopen64("t", "w");
19266 fseeko64(fp, 0, SEEK_CUR);
19267 ftello64(fp);
19268 lseek64(1, 0, SEEK_CUR);
19269 struct stat64 buf;
19270 fstat64(1, &buf);
19271 ;
19272 return 0;
19273 }
19274 _ACEOF
19275 rm -f conftest.$ac_objext conftest$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>conftest.er1
19278 ac_status=$?
19279 grep -v '^ *+' conftest.er1 >conftest.err
19280 rm -f conftest.er1
19281 cat conftest.err >&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try='test -z "$ac_cxx_werror_flag"
19285 || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest$ac_exeext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 glibcxx_cv_LFS=yes
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19301
19302 glibcxx_cv_LFS=no
19303 fi
19304 rm -f conftest.err conftest.$ac_objext \
19305 conftest$ac_exeext conftest.$ac_ext
19306 fi
19307
19308 fi
19309
19310 if test $glibcxx_cv_LFS = yes; then
19311
19312 cat >>confdefs.h <<\_ACEOF
19313 #define _GLIBCXX_USE_LFS 1
19314 _ACEOF
19315
19316 fi
19317 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19318 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19319 CXXFLAGS="$ac_save_CXXFLAGS"
19320 ac_ext=c
19321 ac_cpp='$CPP $CPPFLAGS'
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19325
19326
19327
19328 # For showmanyc_helper().
19329
19330
19331 for ac_header in sys/ioctl.h sys/filio.h
19332 do
19333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19335 echo "$as_me:$LINENO: checking for $ac_header" >&5
19336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 fi
19340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19342 else
19343 # Is the header compilable?
19344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19346 cat >conftest.$ac_ext <<_ACEOF
19347 /* confdefs.h. */
19348 _ACEOF
19349 cat confdefs.h >>conftest.$ac_ext
19350 cat >>conftest.$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 $ac_includes_default
19353 #include <$ac_header>
19354 _ACEOF
19355 rm -f conftest.$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>conftest.er1
19358 ac_status=$?
19359 grep -v '^ *+' conftest.er1 >conftest.err
19360 rm -f conftest.er1
19361 cat conftest.err >&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try='test -z "$ac_c_werror_flag"
19365 || test ! -s conftest.err'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19374 ac_status=$?
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_header_compiler=yes
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19381
19382 ac_header_compiler=no
19383 fi
19384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19386 echo "${ECHO_T}$ac_header_compiler" >&6
19387
19388 # Is the header present?
19389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19391 cat >conftest.$ac_ext <<_ACEOF
19392 /* confdefs.h. */
19393 _ACEOF
19394 cat confdefs.h >>conftest.$ac_ext
19395 cat >>conftest.$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 #include <$ac_header>
19398 _ACEOF
19399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19401 ac_status=$?
19402 grep -v '^ *+' conftest.er1 >conftest.err
19403 rm -f conftest.er1
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } >/dev/null; then
19407 if test -s conftest.err; then
19408 ac_cpp_err=$ac_c_preproc_warn_flag
19409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19410 else
19411 ac_cpp_err=
19412 fi
19413 else
19414 ac_cpp_err=yes
19415 fi
19416 if test -z "$ac_cpp_err"; then
19417 ac_header_preproc=yes
19418 else
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.$ac_ext >&5
19421
19422 ac_header_preproc=no
19423 fi
19424 rm -f conftest.err conftest.$ac_ext
19425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19426 echo "${ECHO_T}$ac_header_preproc" >&6
19427
19428 # So? What about this header?
19429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19430 yes:no: )
19431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19435 ac_header_preproc=yes
19436 ;;
19437 no:yes:* )
19438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19450 (
19451 cat <<\_ASBOX
19452 ## ----------------------------------------- ##
19453 ## Report this to the package-unused lists. ##
19454 ## ----------------------------------------- ##
19455 _ASBOX
19456 ) |
19457 sed "s/^/$as_me: WARNING: /" >&2
19458 ;;
19459 esac
19460 echo "$as_me:$LINENO: checking for $ac_header" >&5
19461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 eval "$as_ac_Header=\$ac_header_preproc"
19466 fi
19467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19469
19470 fi
19471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19472 cat >>confdefs.h <<_ACEOF
19473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19474 _ACEOF
19475
19476 fi
19477
19478 done
19479
19480
19481
19482
19483
19484 ac_ext=cc
19485 ac_cpp='$CXXCPP $CPPFLAGS'
19486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19489
19490 ac_save_CXXFLAGS="$CXXFLAGS"
19491 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19492
19493 echo "$as_me:$LINENO: checking for poll" >&5
19494 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19495 if test "${glibcxx_cv_POLL+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 else
19498
19499 if test x$gcc_no_link = xyes; then
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 #include <poll.h>
19507 int
19508 main ()
19509 {
19510 struct pollfd pfd[1];
19511 pfd[0].events = POLLIN;
19512 poll(pfd, 1, 0);
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_cxx_werror_flag"
19527 || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 glibcxx_cv_POLL=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 glibcxx_cv_POLL=no
19545 fi
19546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19547 else
19548 if test x$gcc_no_link = xyes; then
19549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19551 { (exit 1); exit 1; }; }
19552 fi
19553 cat >conftest.$ac_ext <<_ACEOF
19554 /* confdefs.h. */
19555 _ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 #include <poll.h>
19560 int
19561 main ()
19562 {
19563 struct pollfd pfd[1];
19564 pfd[0].events = POLLIN;
19565 poll(pfd, 1, 0);
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 rm -f conftest.$ac_objext conftest$ac_exeext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19572 (eval $ac_link) 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -z "$ac_cxx_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try='test -s conftest$ac_exeext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19589 ac_status=$?
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 glibcxx_cv_POLL=yes
19593 else
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19596
19597 glibcxx_cv_POLL=no
19598 fi
19599 rm -f conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext conftest.$ac_ext
19601 fi
19602
19603 fi
19604
19605 if test $glibcxx_cv_POLL = yes; then
19606
19607 cat >>confdefs.h <<\_ACEOF
19608 #define HAVE_POLL 1
19609 _ACEOF
19610
19611 fi
19612 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19613 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19614
19615 CXXFLAGS="$ac_save_CXXFLAGS"
19616 ac_ext=c
19617 ac_cpp='$CPP $CPPFLAGS'
19618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19621
19622
19623
19624
19625
19626
19627 ac_ext=cc
19628 ac_cpp='$CXXCPP $CPPFLAGS'
19629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19632
19633 ac_save_CXXFLAGS="$CXXFLAGS"
19634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19635
19636 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19637 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19638 if test "${glibcxx_cv_S_ISREG+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 else
19641
19642 if test x$gcc_no_link = xyes; then
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #include <sys/stat.h>
19650 int
19651 main ()
19652 {
19653 struct stat buffer;
19654 fstat(0, &buffer);
19655 S_ISREG(buffer.st_mode);
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 glibcxx_cv_S_ISREG=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 glibcxx_cv_S_ISREG=no
19688 fi
19689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690 else
19691 if test x$gcc_no_link = xyes; then
19692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19694 { (exit 1); exit 1; }; }
19695 fi
19696 cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h. */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <sys/stat.h>
19703 int
19704 main ()
19705 {
19706 struct stat buffer;
19707 fstat(0, &buffer);
19708 S_ISREG(buffer.st_mode);
19709 ;
19710 return 0;
19711 }
19712 _ACEOF
19713 rm -f conftest.$ac_objext conftest$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>conftest.er1
19716 ac_status=$?
19717 grep -v '^ *+' conftest.er1 >conftest.err
19718 rm -f conftest.er1
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } &&
19722 { ac_try='test -z "$ac_cxx_werror_flag"
19723 || test ! -s conftest.err'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19726 ac_status=$?
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; } &&
19729 { ac_try='test -s conftest$ac_exeext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19732 ac_status=$?
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 glibcxx_cv_S_ISREG=yes
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19739
19740 glibcxx_cv_S_ISREG=no
19741 fi
19742 rm -f conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744 fi
19745
19746 fi
19747
19748 if test "${glibcxx_cv_S_IFREG+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 else
19751
19752 if test x$gcc_no_link = xyes; then
19753 cat >conftest.$ac_ext <<_ACEOF
19754 /* confdefs.h. */
19755 _ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 #include <sys/stat.h>
19760 int
19761 main ()
19762 {
19763 struct stat buffer;
19764 fstat(0, &buffer);
19765 S_IFREG & buffer.st_mode;
19766 ;
19767 return 0;
19768 }
19769 _ACEOF
19770 rm -f conftest.$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_cxx_werror_flag"
19780 || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 glibcxx_cv_S_IFREG=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 glibcxx_cv_S_IFREG=no
19798 fi
19799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19800 else
19801 if test x$gcc_no_link = xyes; then
19802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19804 { (exit 1); exit 1; }; }
19805 fi
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h. */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 #include <sys/stat.h>
19813 int
19814 main ()
19815 {
19816 struct stat buffer;
19817 fstat(0, &buffer);
19818 S_IFREG & buffer.st_mode;
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 rm -f conftest.$ac_objext conftest$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_cxx_werror_flag"
19833 || test ! -s conftest.err'
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); }; } &&
19839 { ac_try='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 glibcxx_cv_S_IFREG=yes
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19849
19850 glibcxx_cv_S_IFREG=no
19851 fi
19852 rm -f conftest.err conftest.$ac_objext \
19853 conftest$ac_exeext conftest.$ac_ext
19854 fi
19855
19856 fi
19857
19858 res=no
19859 if test $glibcxx_cv_S_ISREG = yes; then
19860
19861 cat >>confdefs.h <<\_ACEOF
19862 #define HAVE_S_ISREG 1
19863 _ACEOF
19864
19865 res=S_ISREG
19866 elif test $glibcxx_cv_S_IFREG = yes; then
19867
19868 cat >>confdefs.h <<\_ACEOF
19869 #define HAVE_S_IFREG 1
19870 _ACEOF
19871
19872 res=S_IFREG
19873 fi
19874 echo "$as_me:$LINENO: result: $res" >&5
19875 echo "${ECHO_T}$res" >&6
19876
19877 CXXFLAGS="$ac_save_CXXFLAGS"
19878 ac_ext=c
19879 ac_cpp='$CPP $CPPFLAGS'
19880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19883
19884
19885
19886 # For xsputn_2().
19887
19888 for ac_header in sys/uio.h
19889 do
19890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19892 echo "$as_me:$LINENO: checking for $ac_header" >&5
19893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 fi
19897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19899 else
19900 # Is the header compilable?
19901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19903 cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 $ac_includes_default
19910 #include <$ac_header>
19911 _ACEOF
19912 rm -f conftest.$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } &&
19921 { ac_try='test -z "$ac_c_werror_flag"
19922 || test ! -s conftest.err'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; } &&
19928 { ac_try='test -s conftest.$ac_objext'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; }; then
19934 ac_header_compiler=yes
19935 else
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19938
19939 ac_header_compiler=no
19940 fi
19941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19943 echo "${ECHO_T}$ac_header_compiler" >&6
19944
19945 # Is the header present?
19946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19948 cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h. */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #include <$ac_header>
19955 _ACEOF
19956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19958 ac_status=$?
19959 grep -v '^ *+' conftest.er1 >conftest.err
19960 rm -f conftest.er1
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } >/dev/null; then
19964 if test -s conftest.err; then
19965 ac_cpp_err=$ac_c_preproc_warn_flag
19966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19967 else
19968 ac_cpp_err=
19969 fi
19970 else
19971 ac_cpp_err=yes
19972 fi
19973 if test -z "$ac_cpp_err"; then
19974 ac_header_preproc=yes
19975 else
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19978
19979 ac_header_preproc=no
19980 fi
19981 rm -f conftest.err conftest.$ac_ext
19982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19983 echo "${ECHO_T}$ac_header_preproc" >&6
19984
19985 # So? What about this header?
19986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19987 yes:no: )
19988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19992 ac_header_preproc=yes
19993 ;;
19994 no:yes:* )
19995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20007 (
20008 cat <<\_ASBOX
20009 ## ----------------------------------------- ##
20010 ## Report this to the package-unused lists. ##
20011 ## ----------------------------------------- ##
20012 _ASBOX
20013 ) |
20014 sed "s/^/$as_me: WARNING: /" >&2
20015 ;;
20016 esac
20017 echo "$as_me:$LINENO: checking for $ac_header" >&5
20018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 eval "$as_ac_Header=\$ac_header_preproc"
20023 fi
20024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20026
20027 fi
20028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20029 cat >>confdefs.h <<_ACEOF
20030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20031 _ACEOF
20032
20033 fi
20034
20035 done
20036
20037
20038
20039
20040
20041 ac_ext=cc
20042 ac_cpp='$CXXCPP $CPPFLAGS'
20043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20046
20047 ac_save_CXXFLAGS="$CXXFLAGS"
20048 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20049
20050 echo "$as_me:$LINENO: checking for writev" >&5
20051 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20052 if test "${glibcxx_cv_WRITEV+set}" = set; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 else
20055
20056 if test x$gcc_no_link = xyes; then
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 #include <sys/uio.h>
20064 int
20065 main ()
20066 {
20067 struct iovec iov[2];
20068 writev(0, iov, 0);
20069 ;
20070 return 0;
20071 }
20072 _ACEOF
20073 rm -f conftest.$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>conftest.er1
20076 ac_status=$?
20077 grep -v '^ *+' conftest.er1 >conftest.err
20078 rm -f conftest.er1
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try='test -z "$ac_cxx_werror_flag"
20083 || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 glibcxx_cv_WRITEV=yes
20096 else
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20099
20100 glibcxx_cv_WRITEV=no
20101 fi
20102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20103 else
20104 if test x$gcc_no_link = xyes; then
20105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20107 { (exit 1); exit 1; }; }
20108 fi
20109 cat >conftest.$ac_ext <<_ACEOF
20110 /* confdefs.h. */
20111 _ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 #include <sys/uio.h>
20116 int
20117 main ()
20118 {
20119 struct iovec iov[2];
20120 writev(0, iov, 0);
20121 ;
20122 return 0;
20123 }
20124 _ACEOF
20125 rm -f conftest.$ac_objext conftest$ac_exeext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20127 (eval $ac_link) 2>conftest.er1
20128 ac_status=$?
20129 grep -v '^ *+' conftest.er1 >conftest.err
20130 rm -f conftest.er1
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try='test -z "$ac_cxx_werror_flag"
20135 || test ! -s conftest.err'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20138 ac_status=$?
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; } &&
20141 { ac_try='test -s conftest$ac_exeext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 glibcxx_cv_WRITEV=yes
20148 else
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20151
20152 glibcxx_cv_WRITEV=no
20153 fi
20154 rm -f conftest.err conftest.$ac_objext \
20155 conftest$ac_exeext conftest.$ac_ext
20156 fi
20157
20158 fi
20159
20160 if test $glibcxx_cv_WRITEV = yes; then
20161
20162 cat >>confdefs.h <<\_ACEOF
20163 #define HAVE_WRITEV 1
20164 _ACEOF
20165
20166 fi
20167 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20168 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20169
20170 CXXFLAGS="$ac_save_CXXFLAGS"
20171 ac_ext=c
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20176
20177
20178
20179 # For C99 support to TR1.
20180
20181
20182
20183
20184 ac_ext=cc
20185 ac_cpp='$CXXCPP $CPPFLAGS'
20186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20189
20190
20191 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20192 # undefined and fake C99 facilities may be spuriously enabled.
20193 ac_save_CXXFLAGS="$CXXFLAGS"
20194 CXXFLAGS="$CXXFLAGS -std=c++98"
20195
20196 # Check for the existence of <complex.h> complex math functions used
20197 # by tr1/complex.
20198
20199 for ac_header in complex.h
20200 do
20201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20203 echo "$as_me:$LINENO: checking for $ac_header" >&5
20204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 fi
20208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20210 else
20211 # Is the header compilable?
20212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 $ac_includes_default
20221 #include <$ac_header>
20222 _ACEOF
20223 rm -f conftest.$ac_objext
20224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20225 (eval $ac_compile) 2>conftest.er1
20226 ac_status=$?
20227 grep -v '^ *+' conftest.er1 >conftest.err
20228 rm -f conftest.er1
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } &&
20232 { ac_try='test -z "$ac_cxx_werror_flag"
20233 || test ! -s conftest.err'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try='test -s conftest.$ac_objext'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20245 ac_header_compiler=yes
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20249
20250 ac_header_compiler=no
20251 fi
20252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20254 echo "${ECHO_T}$ac_header_compiler" >&6
20255
20256 # Is the header present?
20257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20259 cat >conftest.$ac_ext <<_ACEOF
20260 /* confdefs.h. */
20261 _ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #include <$ac_header>
20266 _ACEOF
20267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } >/dev/null; then
20275 if test -s conftest.err; then
20276 ac_cpp_err=$ac_cxx_preproc_warn_flag
20277 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20278 else
20279 ac_cpp_err=
20280 fi
20281 else
20282 ac_cpp_err=yes
20283 fi
20284 if test -z "$ac_cpp_err"; then
20285 ac_header_preproc=yes
20286 else
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20289
20290 ac_header_preproc=no
20291 fi
20292 rm -f conftest.err conftest.$ac_ext
20293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20294 echo "${ECHO_T}$ac_header_preproc" >&6
20295
20296 # So? What about this header?
20297 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20298 yes:no: )
20299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20302 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20303 ac_header_preproc=yes
20304 ;;
20305 no:yes:* )
20306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20310 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20311 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20312 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20313 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20316 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20317 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20318 (
20319 cat <<\_ASBOX
20320 ## ----------------------------------------- ##
20321 ## Report this to the package-unused lists. ##
20322 ## ----------------------------------------- ##
20323 _ASBOX
20324 ) |
20325 sed "s/^/$as_me: WARNING: /" >&2
20326 ;;
20327 esac
20328 echo "$as_me:$LINENO: checking for $ac_header" >&5
20329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 else
20333 eval "$as_ac_Header=\$ac_header_preproc"
20334 fi
20335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20337
20338 fi
20339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20340 cat >>confdefs.h <<_ACEOF
20341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20342 _ACEOF
20343 ac_has_complex_h=yes
20344 else
20345 ac_has_complex_h=no
20346 fi
20347
20348 done
20349
20350 ac_c99_complex_tr1=no;
20351 if test x"$ac_has_complex_h" = x"yes"; then
20352 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20353 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 #include <complex.h>
20361 int
20362 main ()
20363 {
20364 typedef __complex__ float float_type; float_type tmpf;
20365 cacosf(tmpf);
20366 casinf(tmpf);
20367 catanf(tmpf);
20368 cacoshf(tmpf);
20369 casinhf(tmpf);
20370 catanhf(tmpf);
20371 typedef __complex__ double double_type; double_type tmpd;
20372 cacos(tmpd);
20373 casin(tmpd);
20374 catan(tmpd);
20375 cacosh(tmpd);
20376 casinh(tmpd);
20377 catanh(tmpd);
20378 typedef __complex__ long double ld_type; ld_type tmpld;
20379 cacosl(tmpld);
20380 casinl(tmpld);
20381 catanl(tmpld);
20382 cacoshl(tmpld);
20383 casinhl(tmpld);
20384 catanhl(tmpld);
20385
20386 ;
20387 return 0;
20388 }
20389 _ACEOF
20390 rm -f conftest.$ac_objext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20392 (eval $ac_compile) 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try='test -z "$ac_cxx_werror_flag"
20400 || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try='test -s conftest.$ac_objext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 ac_c99_complex_tr1=yes
20413 else
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20416
20417 ac_c99_complex_tr1=no
20418 fi
20419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20420 fi
20421 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20422 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20423 if test x"$ac_c99_complex_tr1" = x"yes"; then
20424
20425 cat >>confdefs.h <<\_ACEOF
20426 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20427 _ACEOF
20428
20429 fi
20430
20431 # Check for the existence of <ctype.h> functions.
20432 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20433 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20434 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20436 else
20437
20438 cat >conftest.$ac_ext <<_ACEOF
20439 /* confdefs.h. */
20440 _ACEOF
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 #include <ctype.h>
20445 int
20446 main ()
20447 {
20448 int ch;
20449 int ret;
20450 ret = isblank(ch);
20451
20452 ;
20453 return 0;
20454 }
20455 _ACEOF
20456 rm -f conftest.$ac_objext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20458 (eval $ac_compile) 2>conftest.er1
20459 ac_status=$?
20460 grep -v '^ *+' conftest.er1 >conftest.err
20461 rm -f conftest.er1
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } &&
20465 { ac_try='test -z "$ac_cxx_werror_flag"
20466 || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20475 ac_status=$?
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 glibcxx_cv_c99_ctype_tr1=yes
20479 else
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20482
20483 glibcxx_cv_c99_ctype_tr1=no
20484 fi
20485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20486
20487 fi
20488
20489 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20490 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20491 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20492
20493 cat >>confdefs.h <<\_ACEOF
20494 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20495 _ACEOF
20496
20497 fi
20498
20499 # Check for the existence of <fenv.h> functions.
20500
20501 for ac_header in fenv.h
20502 do
20503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20505 echo "$as_me:$LINENO: checking for $ac_header" >&5
20506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 fi
20510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20512 else
20513 # Is the header compilable?
20514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20516 cat >conftest.$ac_ext <<_ACEOF
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20523 #include <$ac_header>
20524 _ACEOF
20525 rm -f conftest.$ac_objext
20526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20527 (eval $ac_compile) 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try='test -z "$ac_cxx_werror_flag"
20535 || test ! -s conftest.err'
20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20537 (eval $ac_try) 2>&5
20538 ac_status=$?
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; } &&
20541 { ac_try='test -s conftest.$ac_objext'
20542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20543 (eval $ac_try) 2>&5
20544 ac_status=$?
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); }; }; then
20547 ac_header_compiler=yes
20548 else
20549 echo "$as_me: failed program was:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5
20551
20552 ac_header_compiler=no
20553 fi
20554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20556 echo "${ECHO_T}$ac_header_compiler" >&6
20557
20558 # Is the header present?
20559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 #include <$ac_header>
20568 _ACEOF
20569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } >/dev/null; then
20577 if test -s conftest.err; then
20578 ac_cpp_err=$ac_cxx_preproc_warn_flag
20579 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20580 else
20581 ac_cpp_err=
20582 fi
20583 else
20584 ac_cpp_err=yes
20585 fi
20586 if test -z "$ac_cpp_err"; then
20587 ac_header_preproc=yes
20588 else
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20591
20592 ac_header_preproc=no
20593 fi
20594 rm -f conftest.err conftest.$ac_ext
20595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20596 echo "${ECHO_T}$ac_header_preproc" >&6
20597
20598 # So? What about this header?
20599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20600 yes:no: )
20601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20605 ac_header_preproc=yes
20606 ;;
20607 no:yes:* )
20608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20620 (
20621 cat <<\_ASBOX
20622 ## ----------------------------------------- ##
20623 ## Report this to the package-unused lists. ##
20624 ## ----------------------------------------- ##
20625 _ASBOX
20626 ) |
20627 sed "s/^/$as_me: WARNING: /" >&2
20628 ;;
20629 esac
20630 echo "$as_me:$LINENO: checking for $ac_header" >&5
20631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20634 else
20635 eval "$as_ac_Header=\$ac_header_preproc"
20636 fi
20637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20639
20640 fi
20641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20642 cat >>confdefs.h <<_ACEOF
20643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20644 _ACEOF
20645 ac_has_fenv_h=yes
20646 else
20647 ac_has_fenv_h=no
20648 fi
20649
20650 done
20651
20652 ac_c99_fenv_tr1=no;
20653 if test x"$ac_has_fenv_h" = x"yes"; then
20654 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20655 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20656 cat >conftest.$ac_ext <<_ACEOF
20657 /* confdefs.h. */
20658 _ACEOF
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 #include <fenv.h>
20663 int
20664 main ()
20665 {
20666 int except, mode;
20667 fexcept_t* pflag;
20668 fenv_t* penv;
20669 int ret;
20670 ret = feclearexcept(except);
20671 ret = fegetexceptflag(pflag, except);
20672 ret = feraiseexcept(except);
20673 ret = fesetexceptflag(pflag, except);
20674 ret = fetestexcept(except);
20675 ret = fegetround();
20676 ret = fesetround(mode);
20677 ret = fegetenv(penv);
20678 ret = feholdexcept(penv);
20679 ret = fesetenv(penv);
20680 ret = feupdateenv(penv);
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20688 (eval $ac_compile) 2>conftest.er1
20689 ac_status=$?
20690 grep -v '^ *+' conftest.er1 >conftest.err
20691 rm -f conftest.er1
20692 cat conftest.err >&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try='test -z "$ac_cxx_werror_flag"
20696 || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20699 ac_status=$?
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try='test -s conftest.$ac_objext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20708 ac_c99_fenv_tr1=yes
20709 else
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713 ac_c99_fenv_tr1=no
20714 fi
20715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20716 fi
20717 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20718 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20719 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20720
20721 cat >>confdefs.h <<\_ACEOF
20722 #define _GLIBCXX_USE_C99_FENV_TR1 1
20723 _ACEOF
20724
20725 fi
20726
20727 # Check for the existence of <stdint.h> types.
20728 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20729 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20730 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20732 else
20733
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 #define __STDC_LIMIT_MACROS
20741 #define __STDC_CONSTANT_MACROS
20742 #include <stdint.h>
20743 int
20744 main ()
20745 {
20746 typedef int8_t my_int8_t;
20747 my_int8_t i8 = INT8_MIN;
20748 i8 = INT8_MAX;
20749 typedef int16_t my_int16_t;
20750 my_int16_t i16 = INT16_MIN;
20751 i16 = INT16_MAX;
20752 typedef int32_t my_int32_t;
20753 my_int32_t i32 = INT32_MIN;
20754 i32 = INT32_MAX;
20755 typedef int64_t my_int64_t;
20756 my_int64_t i64 = INT64_MIN;
20757 i64 = INT64_MAX;
20758 typedef int_fast8_t my_int_fast8_t;
20759 my_int_fast8_t if8 = INT_FAST8_MIN;
20760 if8 = INT_FAST8_MAX;
20761 typedef int_fast16_t my_int_fast16_t;
20762 my_int_fast16_t if16 = INT_FAST16_MIN;
20763 if16 = INT_FAST16_MAX;
20764 typedef int_fast32_t my_int_fast32_t;
20765 my_int_fast32_t if32 = INT_FAST32_MIN;
20766 if32 = INT_FAST32_MAX;
20767 typedef int_fast64_t my_int_fast64_t;
20768 my_int_fast64_t if64 = INT_FAST64_MIN;
20769 if64 = INT_FAST64_MAX;
20770 typedef int_least8_t my_int_least8_t;
20771 my_int_least8_t il8 = INT_LEAST8_MIN;
20772 il8 = INT_LEAST8_MAX;
20773 typedef int_least16_t my_int_least16_t;
20774 my_int_least16_t il16 = INT_LEAST16_MIN;
20775 il16 = INT_LEAST16_MAX;
20776 typedef int_least32_t my_int_least32_t;
20777 my_int_least32_t il32 = INT_LEAST32_MIN;
20778 il32 = INT_LEAST32_MAX;
20779 typedef int_least64_t my_int_least64_t;
20780 my_int_least64_t il64 = INT_LEAST64_MIN;
20781 il64 = INT_LEAST64_MAX;
20782 typedef intmax_t my_intmax_t;
20783 my_intmax_t im = INTMAX_MAX;
20784 im = INTMAX_MIN;
20785 typedef intptr_t my_intptr_t;
20786 my_intptr_t ip = INTPTR_MAX;
20787 ip = INTPTR_MIN;
20788 typedef uint8_t my_uint8_t;
20789 my_uint8_t ui8 = UINT8_MAX;
20790 ui8 = UINT8_MAX;
20791 typedef uint16_t my_uint16_t;
20792 my_uint16_t ui16 = UINT16_MAX;
20793 ui16 = UINT16_MAX;
20794 typedef uint32_t my_uint32_t;
20795 my_uint32_t ui32 = UINT32_MAX;
20796 ui32 = UINT32_MAX;
20797 typedef uint64_t my_uint64_t;
20798 my_uint64_t ui64 = UINT64_MAX;
20799 ui64 = UINT64_MAX;
20800 typedef uint_fast8_t my_uint_fast8_t;
20801 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20802 uif8 = UINT_FAST8_MAX;
20803 typedef uint_fast16_t my_uint_fast16_t;
20804 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20805 uif16 = UINT_FAST16_MAX;
20806 typedef uint_fast32_t my_uint_fast32_t;
20807 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20808 uif32 = UINT_FAST32_MAX;
20809 typedef uint_fast64_t my_uint_fast64_t;
20810 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20811 uif64 = UINT_FAST64_MAX;
20812 typedef uint_least8_t my_uint_least8_t;
20813 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20814 uil8 = UINT_LEAST8_MAX;
20815 typedef uint_least16_t my_uint_least16_t;
20816 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20817 uil16 = UINT_LEAST16_MAX;
20818 typedef uint_least32_t my_uint_least32_t;
20819 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20820 uil32 = UINT_LEAST32_MAX;
20821 typedef uint_least64_t my_uint_least64_t;
20822 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20823 uil64 = UINT_LEAST64_MAX;
20824 typedef uintmax_t my_uintmax_t;
20825 my_uintmax_t uim = UINTMAX_MAX;
20826 uim = UINTMAX_MAX;
20827 typedef uintptr_t my_uintptr_t;
20828 my_uintptr_t uip = UINTPTR_MAX;
20829 uip = UINTPTR_MAX;
20830
20831 ;
20832 return 0;
20833 }
20834 _ACEOF
20835 rm -f conftest.$ac_objext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20837 (eval $ac_compile) 2>conftest.er1
20838 ac_status=$?
20839 grep -v '^ *+' conftest.er1 >conftest.err
20840 rm -f conftest.er1
20841 cat conftest.err >&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -z "$ac_cxx_werror_flag"
20845 || test ! -s conftest.err'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20848 ac_status=$?
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; } &&
20851 { ac_try='test -s conftest.$ac_objext'
20852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853 (eval $ac_try) 2>&5
20854 ac_status=$?
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; }; then
20857 glibcxx_cv_c99_stdint_tr1=yes
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20861
20862 glibcxx_cv_c99_stdint_tr1=no
20863 fi
20864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20865
20866 fi
20867
20868 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20869 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20870 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20871
20872 cat >>confdefs.h <<\_ACEOF
20873 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20874 _ACEOF
20875
20876 fi
20877
20878 # Check for the existence of <math.h> functions.
20879 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20880 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20881 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 else
20884
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 #include <math.h>
20892 int
20893 main ()
20894 {
20895 typedef double_t my_double_t;
20896 typedef float_t my_float_t;
20897 acosh(0.0);
20898 acoshf(0.0f);
20899 acoshl(0.0l);
20900 asinh(0.0);
20901 asinhf(0.0f);
20902 asinhl(0.0l);
20903 atanh(0.0);
20904 atanhf(0.0f);
20905 atanhl(0.0l);
20906 cbrt(0.0);
20907 cbrtf(0.0f);
20908 cbrtl(0.0l);
20909 copysign(0.0, 0.0);
20910 copysignf(0.0f, 0.0f);
20911 copysignl(0.0l, 0.0l);
20912 erf(0.0);
20913 erff(0.0f);
20914 erfl(0.0l);
20915 erfc(0.0);
20916 erfcf(0.0f);
20917 erfcl(0.0l);
20918 exp2(0.0);
20919 exp2f(0.0f);
20920 exp2l(0.0l);
20921 expm1(0.0);
20922 expm1f(0.0f);
20923 expm1l(0.0l);
20924 fdim(0.0, 0.0);
20925 fdimf(0.0f, 0.0f);
20926 fdiml(0.0l, 0.0l);
20927 fma(0.0, 0.0, 0.0);
20928 fmaf(0.0f, 0.0f, 0.0f);
20929 fmal(0.0l, 0.0l, 0.0l);
20930 fmax(0.0, 0.0);
20931 fmaxf(0.0f, 0.0f);
20932 fmaxl(0.0l, 0.0l);
20933 fmin(0.0, 0.0);
20934 fminf(0.0f, 0.0f);
20935 fminl(0.0l, 0.0l);
20936 hypot(0.0, 0.0);
20937 hypotf(0.0f, 0.0f);
20938 hypotl(0.0l, 0.0l);
20939 ilogb(0.0);
20940 ilogbf(0.0f);
20941 ilogbl(0.0l);
20942 lgamma(0.0);
20943 lgammaf(0.0f);
20944 lgammal(0.0l);
20945 llrint(0.0);
20946 llrintf(0.0f);
20947 llrintl(0.0l);
20948 llround(0.0);
20949 llroundf(0.0f);
20950 llroundl(0.0l);
20951 log1p(0.0);
20952 log1pf(0.0f);
20953 log1pl(0.0l);
20954 log2(0.0);
20955 log2f(0.0f);
20956 log2l(0.0l);
20957 logb(0.0);
20958 logbf(0.0f);
20959 logbl(0.0l);
20960 lrint(0.0);
20961 lrintf(0.0f);
20962 lrintl(0.0l);
20963 lround(0.0);
20964 lroundf(0.0f);
20965 lroundl(0.0l);
20966 nan(0);
20967 nanf(0);
20968 nanl(0);
20969 nearbyint(0.0);
20970 nearbyintf(0.0f);
20971 nearbyintl(0.0l);
20972 nextafter(0.0, 0.0);
20973 nextafterf(0.0f, 0.0f);
20974 nextafterl(0.0l, 0.0l);
20975 nexttoward(0.0, 0.0);
20976 nexttowardf(0.0f, 0.0f);
20977 nexttowardl(0.0l, 0.0l);
20978 remainder(0.0, 0.0);
20979 remainderf(0.0f, 0.0f);
20980 remainderl(0.0l, 0.0l);
20981 remquo(0.0, 0.0, 0);
20982 remquof(0.0f, 0.0f, 0);
20983 remquol(0.0l, 0.0l, 0);
20984 rint(0.0);
20985 rintf(0.0f);
20986 rintl(0.0l);
20987 round(0.0);
20988 roundf(0.0f);
20989 roundl(0.0l);
20990 scalbln(0.0, 0l);
20991 scalblnf(0.0f, 0l);
20992 scalblnl(0.0l, 0l);
20993 scalbn(0.0, 0);
20994 scalbnf(0.0f, 0);
20995 scalbnl(0.0l, 0);
20996 tgamma(0.0);
20997 tgammaf(0.0f);
20998 tgammal(0.0l);
20999 trunc(0.0);
21000 truncf(0.0f);
21001 truncl(0.0l);
21002
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try='test -z "$ac_cxx_werror_flag"
21017 || test ! -s conftest.err'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21020 ac_status=$?
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; } &&
21023 { ac_try='test -s conftest.$ac_objext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 glibcxx_cv_c99_math_tr1=yes
21030 else
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 glibcxx_cv_c99_math_tr1=no
21035 fi
21036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21037
21038 fi
21039
21040 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21041 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21042 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21043
21044 cat >>confdefs.h <<\_ACEOF
21045 #define _GLIBCXX_USE_C99_MATH_TR1 1
21046 _ACEOF
21047
21048 fi
21049
21050 # Check for the existence of <inttypes.h> functions (NB: doesn't make
21051 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21052 ac_c99_inttypes_tr1=no;
21053 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21054 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21055 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 #include <inttypes.h>
21063 int
21064 main ()
21065 {
21066 intmax_t i, numer, denom, base;
21067 const char* s;
21068 char** endptr;
21069 intmax_t ret = imaxabs(i);
21070 imaxdiv_t dret = imaxdiv(numer, denom);
21071 ret = strtoimax(s, endptr, base);
21072 uintmax_t uret = strtoumax(s, endptr, base);
21073
21074 ;
21075 return 0;
21076 }
21077 _ACEOF
21078 rm -f conftest.$ac_objext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21080 (eval $ac_compile) 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } &&
21087 { ac_try='test -z "$ac_cxx_werror_flag"
21088 || test ! -s conftest.err'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21091 ac_status=$?
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; } &&
21094 { ac_try='test -s conftest.$ac_objext'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; }; then
21100 ac_c99_inttypes_tr1=yes
21101 else
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.$ac_ext >&5
21104
21105 ac_c99_inttypes_tr1=no
21106 fi
21107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21108 fi
21109 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21110 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21111 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21112
21113 cat >>confdefs.h <<\_ACEOF
21114 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21115 _ACEOF
21116
21117 fi
21118
21119 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21120 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21121 ac_c99_inttypes_wchar_t_tr1=no;
21122 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21123 echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21124 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21125 cat >conftest.$ac_ext <<_ACEOF
21126 /* confdefs.h. */
21127 _ACEOF
21128 cat confdefs.h >>conftest.$ac_ext
21129 cat >>conftest.$ac_ext <<_ACEOF
21130 /* end confdefs.h. */
21131 #include <inttypes.h>
21132 int
21133 main ()
21134 {
21135 intmax_t base;
21136 const wchar_t* s;
21137 wchar_t** endptr;
21138 intmax_t ret = wcstoimax(s, endptr, base);
21139 uintmax_t uret = wcstoumax(s, endptr, base);
21140
21141 ;
21142 return 0;
21143 }
21144 _ACEOF
21145 rm -f conftest.$ac_objext
21146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21147 (eval $ac_compile) 2>conftest.er1
21148 ac_status=$?
21149 grep -v '^ *+' conftest.er1 >conftest.err
21150 rm -f conftest.er1
21151 cat conftest.err >&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } &&
21154 { ac_try='test -z "$ac_cxx_werror_flag"
21155 || test ! -s conftest.err'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; } &&
21161 { ac_try='test -s conftest.$ac_objext'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21164 ac_status=$?
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_c99_inttypes_wchar_t_tr1=yes
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ac_c99_inttypes_wchar_t_tr1=no
21173 fi
21174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21175 fi
21176 echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21177 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21178 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21179
21180 cat >>confdefs.h <<\_ACEOF
21181 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21182 _ACEOF
21183
21184 fi
21185
21186 # Check for the existence of the <stdbool.h> header.
21187
21188 for ac_header in stdbool.h
21189 do
21190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21192 echo "$as_me:$LINENO: checking for $ac_header" >&5
21193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 fi
21197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21199 else
21200 # Is the header compilable?
21201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 #include <$ac_header>
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21214 (eval $ac_compile) 2>conftest.er1
21215 ac_status=$?
21216 grep -v '^ *+' conftest.er1 >conftest.err
21217 rm -f conftest.er1
21218 cat conftest.err >&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try='test -z "$ac_cxx_werror_flag"
21222 || test ! -s conftest.err'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21225 ac_status=$?
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; } &&
21228 { ac_try='test -s conftest.$ac_objext'
21229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21230 (eval $ac_try) 2>&5
21231 ac_status=$?
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; }; then
21234 ac_header_compiler=yes
21235 else
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21238
21239 ac_header_compiler=no
21240 fi
21241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21243 echo "${ECHO_T}$ac_header_compiler" >&6
21244
21245 # Is the header present?
21246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h. */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 #include <$ac_header>
21255 _ACEOF
21256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21258 ac_status=$?
21259 grep -v '^ *+' conftest.er1 >conftest.err
21260 rm -f conftest.er1
21261 cat conftest.err >&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } >/dev/null; then
21264 if test -s conftest.err; then
21265 ac_cpp_err=$ac_cxx_preproc_warn_flag
21266 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21267 else
21268 ac_cpp_err=
21269 fi
21270 else
21271 ac_cpp_err=yes
21272 fi
21273 if test -z "$ac_cpp_err"; then
21274 ac_header_preproc=yes
21275 else
21276 echo "$as_me: failed program was:" >&5
21277 sed 's/^/| /' conftest.$ac_ext >&5
21278
21279 ac_header_preproc=no
21280 fi
21281 rm -f conftest.err conftest.$ac_ext
21282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21283 echo "${ECHO_T}$ac_header_preproc" >&6
21284
21285 # So? What about this header?
21286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21287 yes:no: )
21288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21292 ac_header_preproc=yes
21293 ;;
21294 no:yes:* )
21295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21307 (
21308 cat <<\_ASBOX
21309 ## ----------------------------------------- ##
21310 ## Report this to the package-unused lists. ##
21311 ## ----------------------------------------- ##
21312 _ASBOX
21313 ) |
21314 sed "s/^/$as_me: WARNING: /" >&2
21315 ;;
21316 esac
21317 echo "$as_me:$LINENO: checking for $ac_header" >&5
21318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21320 echo $ECHO_N "(cached) $ECHO_C" >&6
21321 else
21322 eval "$as_ac_Header=\$ac_header_preproc"
21323 fi
21324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21326
21327 fi
21328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21329 cat >>confdefs.h <<_ACEOF
21330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21331 _ACEOF
21332
21333 fi
21334
21335 done
21336
21337
21338 CXXFLAGS="$ac_save_CXXFLAGS"
21339 ac_ext=c
21340 ac_cpp='$CPP $CPPFLAGS'
21341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21344
21345
21346
21347 # For common values of EOF, SEEK_CUR, SEEK_END.
21348
21349
21350 echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21351 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21352 if test "${glibcxx_cv_stdio_macros+set}" = set; then
21353 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 else
21355
21356 cat >conftest.$ac_ext <<_ACEOF
21357 /* confdefs.h. */
21358 _ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 #include <stdio.h>
21363 int
21364 main ()
21365 {
21366 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21367 unusual values...
21368 #endif
21369
21370 ;
21371 return 0;
21372 }
21373 _ACEOF
21374 rm -f conftest.$ac_objext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21376 (eval $ac_compile) 2>conftest.er1
21377 ac_status=$?
21378 grep -v '^ *+' conftest.er1 >conftest.err
21379 rm -f conftest.er1
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try='test -z "$ac_c_werror_flag"
21384 || test ! -s conftest.err'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; } &&
21390 { ac_try='test -s conftest.$ac_objext'
21391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21392 (eval $ac_try) 2>&5
21393 ac_status=$?
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); }; }; then
21396 glibcxx_cv_stdio_macros=yes
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 glibcxx_cv_stdio_macros=no
21402 fi
21403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21404
21405 fi
21406
21407 echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21408 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21409 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21410
21411 cat >>confdefs.h <<\_ACEOF
21412 #define _GLIBCXX_STDIO_MACROS 1
21413 _ACEOF
21414
21415 fi
21416
21417
21418
21419 # For gettimeofday support.
21420
21421
21422 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21423 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21424
21425
21426
21427 ac_ext=cc
21428 ac_cpp='$CXXCPP $CPPFLAGS'
21429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21432
21433 ac_save_CXXFLAGS="$CXXFLAGS"
21434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21435
21436 ac_has_gettimeofday=no;
21437
21438 for ac_header in sys/time.h
21439 do
21440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21442 echo "$as_me:$LINENO: checking for $ac_header" >&5
21443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 fi
21447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21449 else
21450 # Is the header compilable?
21451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21453 cat >conftest.$ac_ext <<_ACEOF
21454 /* confdefs.h. */
21455 _ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 $ac_includes_default
21460 #include <$ac_header>
21461 _ACEOF
21462 rm -f conftest.$ac_objext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21464 (eval $ac_compile) 2>conftest.er1
21465 ac_status=$?
21466 grep -v '^ *+' conftest.er1 >conftest.err
21467 rm -f conftest.er1
21468 cat conftest.err >&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } &&
21471 { ac_try='test -z "$ac_cxx_werror_flag"
21472 || test ! -s conftest.err'
21473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21474 (eval $ac_try) 2>&5
21475 ac_status=$?
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); }; } &&
21478 { ac_try='test -s conftest.$ac_objext'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; }; then
21484 ac_header_compiler=yes
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21488
21489 ac_header_compiler=no
21490 fi
21491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21493 echo "${ECHO_T}$ac_header_compiler" >&6
21494
21495 # Is the header present?
21496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21498 cat >conftest.$ac_ext <<_ACEOF
21499 /* confdefs.h. */
21500 _ACEOF
21501 cat confdefs.h >>conftest.$ac_ext
21502 cat >>conftest.$ac_ext <<_ACEOF
21503 /* end confdefs.h. */
21504 #include <$ac_header>
21505 _ACEOF
21506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21508 ac_status=$?
21509 grep -v '^ *+' conftest.er1 >conftest.err
21510 rm -f conftest.er1
21511 cat conftest.err >&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } >/dev/null; then
21514 if test -s conftest.err; then
21515 ac_cpp_err=$ac_cxx_preproc_warn_flag
21516 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21517 else
21518 ac_cpp_err=
21519 fi
21520 else
21521 ac_cpp_err=yes
21522 fi
21523 if test -z "$ac_cpp_err"; then
21524 ac_header_preproc=yes
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21528
21529 ac_header_preproc=no
21530 fi
21531 rm -f conftest.err conftest.$ac_ext
21532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21533 echo "${ECHO_T}$ac_header_preproc" >&6
21534
21535 # So? What about this header?
21536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21537 yes:no: )
21538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21542 ac_header_preproc=yes
21543 ;;
21544 no:yes:* )
21545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21557 (
21558 cat <<\_ASBOX
21559 ## ----------------------------------------- ##
21560 ## Report this to the package-unused lists. ##
21561 ## ----------------------------------------- ##
21562 _ASBOX
21563 ) |
21564 sed "s/^/$as_me: WARNING: /" >&2
21565 ;;
21566 esac
21567 echo "$as_me:$LINENO: checking for $ac_header" >&5
21568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21570 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 else
21572 eval "$as_ac_Header=\$ac_header_preproc"
21573 fi
21574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21576
21577 fi
21578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21579 cat >>confdefs.h <<_ACEOF
21580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21581 _ACEOF
21582 ac_has_sys_time_h=yes
21583 else
21584 ac_has_sys_time_h=no
21585 fi
21586
21587 done
21588
21589 if test x"$ac_has_sys_time_h" = x"yes"; then
21590 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21591 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21592 if test x$gcc_no_link = xyes; then
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #include <sys/time.h>
21600 int
21601 main ()
21602 {
21603 timeval tv; gettimeofday(&tv, 0);
21604 ;
21605 return 0;
21606 }
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21610 (eval $ac_compile) 2>conftest.er1
21611 ac_status=$?
21612 grep -v '^ *+' conftest.er1 >conftest.err
21613 rm -f conftest.er1
21614 cat conftest.err >&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } &&
21617 { ac_try='test -z "$ac_cxx_werror_flag"
21618 || test ! -s conftest.err'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21621 ac_status=$?
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; } &&
21624 { ac_try='test -s conftest.$ac_objext'
21625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626 (eval $ac_try) 2>&5
21627 ac_status=$?
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); }; }; then
21630 ac_has_gettimeofday=yes
21631 else
21632 echo "$as_me: failed program was:" >&5
21633 sed 's/^/| /' conftest.$ac_ext >&5
21634
21635 ac_has_gettimeofday=no
21636 fi
21637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21638 else
21639 if test x$gcc_no_link = xyes; then
21640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21642 { (exit 1); exit 1; }; }
21643 fi
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 #include <sys/time.h>
21651 int
21652 main ()
21653 {
21654 timeval tv; gettimeofday(&tv, 0);
21655 ;
21656 return 0;
21657 }
21658 _ACEOF
21659 rm -f conftest.$ac_objext conftest$ac_exeext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21661 (eval $ac_link) 2>conftest.er1
21662 ac_status=$?
21663 grep -v '^ *+' conftest.er1 >conftest.err
21664 rm -f conftest.er1
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try='test -z "$ac_cxx_werror_flag"
21669 || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21672 ac_status=$?
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try='test -s conftest$ac_exeext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21678 ac_status=$?
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21681 ac_has_gettimeofday=yes
21682 else
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21685
21686 ac_has_gettimeofday=no
21687 fi
21688 rm -f conftest.err conftest.$ac_objext \
21689 conftest$ac_exeext conftest.$ac_ext
21690 fi
21691
21692 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
21693 echo "${ECHO_T}$ac_has_gettimeofday" >&6
21694 fi
21695
21696 if test x"$ac_has_gettimeofday" = x"yes"; then
21697
21698 cat >>confdefs.h <<\_ACEOF
21699 #define _GLIBCXX_USE_GETTIMEOFDAY 1
21700 _ACEOF
21701
21702 fi
21703
21704 CXXFLAGS="$ac_save_CXXFLAGS"
21705 ac_ext=c
21706 ac_cpp='$CPP $CPPFLAGS'
21707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21710
21711
21712
21713 # For clock_gettime, nanosleep and sched_yield support.
21714 # NB: The default is [no], because otherwise it requires linking.
21715
21716
21717 echo "$as_me:$LINENO: checking for clock_gettime, nanosleep and sched_yield" >&5
21718 echo $ECHO_N "checking for clock_gettime, nanosleep and sched_yield... $ECHO_C" >&6
21719 # Check whether --enable-libstdcxx-time or --disable-libstdcxx-time was given.
21720 if test "${enable_libstdcxx_time+set}" = set; then
21721 enableval="$enable_libstdcxx_time"
21722
21723 case "$enableval" in
21724 yes|no|rt) ;;
21725 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-time" >&5
21726 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-time" >&2;}
21727 { (exit 1); exit 1; }; } ;;
21728 esac
21729
21730 else
21731 enable_libstdcxx_time=no
21732 fi;
21733
21734
21735
21736
21737 ac_ext=cc
21738 ac_cpp='$CXXCPP $CPPFLAGS'
21739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21742
21743 ac_save_CXXFLAGS="$CXXFLAGS"
21744 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21745 ac_save_LIBS="$LIBS"
21746
21747 ac_has_clock_monotonic=no;
21748 ac_has_clock_realtime=no;
21749
21750 if test x"$enable_libstdcxx_time" != x"no"; then
21751
21752 if test x"$enable_libstdcxx_time" = x"rt"; then
21753 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21754 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21755 if test "${ac_cv_search_clock_gettime+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 ac_func_search_save_LIBS=$LIBS
21759 ac_cv_search_clock_gettime=no
21760 if test x$gcc_no_link = xyes; then
21761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21763 { (exit 1); exit 1; }; }
21764 fi
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771
21772 /* Override any gcc2 internal prototype to avoid an error. */
21773 #ifdef __cplusplus
21774 extern "C"
21775 #endif
21776 /* We use char because int might match the return type of a gcc2
21777 builtin and then its argument prototype would still apply. */
21778 char clock_gettime ();
21779 int
21780 main ()
21781 {
21782 clock_gettime ();
21783 ;
21784 return 0;
21785 }
21786 _ACEOF
21787 rm -f conftest.$ac_objext conftest$ac_exeext
21788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21789 (eval $ac_link) 2>conftest.er1
21790 ac_status=$?
21791 grep -v '^ *+' conftest.er1 >conftest.err
21792 rm -f conftest.er1
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } &&
21796 { ac_try='test -z "$ac_cxx_werror_flag"
21797 || test ! -s conftest.err'
21798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21799 (eval $ac_try) 2>&5
21800 ac_status=$?
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; } &&
21803 { ac_try='test -s conftest$ac_exeext'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; }; then
21809 ac_cv_search_clock_gettime="none required"
21810 else
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21813
21814 fi
21815 rm -f conftest.err conftest.$ac_objext \
21816 conftest$ac_exeext conftest.$ac_ext
21817 if test "$ac_cv_search_clock_gettime" = no; then
21818 for ac_lib in rt posix4; do
21819 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21820 if test x$gcc_no_link = xyes; then
21821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21823 { (exit 1); exit 1; }; }
21824 fi
21825 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */
21827 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831
21832 /* Override any gcc2 internal prototype to avoid an error. */
21833 #ifdef __cplusplus
21834 extern "C"
21835 #endif
21836 /* We use char because int might match the return type of a gcc2
21837 builtin and then its argument prototype would still apply. */
21838 char clock_gettime ();
21839 int
21840 main ()
21841 {
21842 clock_gettime ();
21843 ;
21844 return 0;
21845 }
21846 _ACEOF
21847 rm -f conftest.$ac_objext conftest$ac_exeext
21848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21849 (eval $ac_link) 2>conftest.er1
21850 ac_status=$?
21851 grep -v '^ *+' conftest.er1 >conftest.err
21852 rm -f conftest.er1
21853 cat conftest.err >&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } &&
21856 { ac_try='test -z "$ac_cxx_werror_flag"
21857 || test ! -s conftest.err'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; } &&
21863 { ac_try='test -s conftest$ac_exeext'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; }; then
21869 ac_cv_search_clock_gettime="-l$ac_lib"
21870 break
21871 else
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.$ac_ext >&5
21874
21875 fi
21876 rm -f conftest.err conftest.$ac_objext \
21877 conftest$ac_exeext conftest.$ac_ext
21878 done
21879 fi
21880 LIBS=$ac_func_search_save_LIBS
21881 fi
21882 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21883 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21884 if test "$ac_cv_search_clock_gettime" != no; then
21885 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21886
21887 fi
21888
21889 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
21890 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
21891 if test "${ac_cv_search_nanosleep+set}" = set; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 else
21894 ac_func_search_save_LIBS=$LIBS
21895 ac_cv_search_nanosleep=no
21896 if test x$gcc_no_link = xyes; then
21897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21899 { (exit 1); exit 1; }; }
21900 fi
21901 cat >conftest.$ac_ext <<_ACEOF
21902 /* confdefs.h. */
21903 _ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21907
21908 /* Override any gcc2 internal prototype to avoid an error. */
21909 #ifdef __cplusplus
21910 extern "C"
21911 #endif
21912 /* We use char because int might match the return type of a gcc2
21913 builtin and then its argument prototype would still apply. */
21914 char nanosleep ();
21915 int
21916 main ()
21917 {
21918 nanosleep ();
21919 ;
21920 return 0;
21921 }
21922 _ACEOF
21923 rm -f conftest.$ac_objext conftest$ac_exeext
21924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21925 (eval $ac_link) 2>conftest.er1
21926 ac_status=$?
21927 grep -v '^ *+' conftest.er1 >conftest.err
21928 rm -f conftest.er1
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } &&
21932 { ac_try='test -z "$ac_cxx_werror_flag"
21933 || test ! -s conftest.err'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21936 ac_status=$?
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; } &&
21939 { ac_try='test -s conftest$ac_exeext'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21942 ac_status=$?
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; }; then
21945 ac_cv_search_nanosleep="none required"
21946 else
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21949
21950 fi
21951 rm -f conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21953 if test "$ac_cv_search_nanosleep" = no; then
21954 for ac_lib in rt posix4; do
21955 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21956 if test x$gcc_no_link = xyes; then
21957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21959 { (exit 1); exit 1; }; }
21960 fi
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967
21968 /* Override any gcc2 internal prototype to avoid an error. */
21969 #ifdef __cplusplus
21970 extern "C"
21971 #endif
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21974 char nanosleep ();
21975 int
21976 main ()
21977 {
21978 nanosleep ();
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest.$ac_objext conftest$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -z "$ac_cxx_werror_flag"
21993 || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21996 ac_status=$?
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try='test -s conftest$ac_exeext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22002 ac_status=$?
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_cv_search_nanosleep="-l$ac_lib"
22006 break
22007 else
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22010
22011 fi
22012 rm -f conftest.err conftest.$ac_objext \
22013 conftest$ac_exeext conftest.$ac_ext
22014 done
22015 fi
22016 LIBS=$ac_func_search_save_LIBS
22017 fi
22018 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22019 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22020 if test "$ac_cv_search_nanosleep" != no; then
22021 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
22022
22023 fi
22024
22025 else
22026 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
22027 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
22028 if test "${ac_cv_search_clock_gettime+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031 ac_func_search_save_LIBS=$LIBS
22032 ac_cv_search_clock_gettime=no
22033 if test x$gcc_no_link = xyes; then
22034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036 { (exit 1); exit 1; }; }
22037 fi
22038 cat >conftest.$ac_ext <<_ACEOF
22039 /* confdefs.h. */
22040 _ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044
22045 /* Override any gcc2 internal prototype to avoid an error. */
22046 #ifdef __cplusplus
22047 extern "C"
22048 #endif
22049 /* We use char because int might match the return type of a gcc2
22050 builtin and then its argument prototype would still apply. */
22051 char clock_gettime ();
22052 int
22053 main ()
22054 {
22055 clock_gettime ();
22056 ;
22057 return 0;
22058 }
22059 _ACEOF
22060 rm -f conftest.$ac_objext conftest$ac_exeext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062 (eval $ac_link) 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_cxx_werror_flag"
22070 || test ! -s conftest.err'
22071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072 (eval $ac_try) 2>&5
22073 ac_status=$?
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); }; } &&
22076 { ac_try='test -s conftest$ac_exeext'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; }; then
22082 ac_cv_search_clock_gettime="none required"
22083 else
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087 fi
22088 rm -f conftest.err conftest.$ac_objext \
22089 conftest$ac_exeext conftest.$ac_ext
22090 if test "$ac_cv_search_clock_gettime" = no; then
22091 for ac_lib in posix4; do
22092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22093 if test x$gcc_no_link = xyes; then
22094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22096 { (exit 1); exit 1; }; }
22097 fi
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104
22105 /* Override any gcc2 internal prototype to avoid an error. */
22106 #ifdef __cplusplus
22107 extern "C"
22108 #endif
22109 /* We use char because int might match the return type of a gcc2
22110 builtin and then its argument prototype would still apply. */
22111 char clock_gettime ();
22112 int
22113 main ()
22114 {
22115 clock_gettime ();
22116 ;
22117 return 0;
22118 }
22119 _ACEOF
22120 rm -f conftest.$ac_objext conftest$ac_exeext
22121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22122 (eval $ac_link) 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } &&
22129 { ac_try='test -z "$ac_cxx_werror_flag"
22130 || test ! -s conftest.err'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; } &&
22136 { ac_try='test -s conftest$ac_exeext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 ac_cv_search_clock_gettime="-l$ac_lib"
22143 break
22144 else
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.$ac_ext >&5
22147
22148 fi
22149 rm -f conftest.err conftest.$ac_objext \
22150 conftest$ac_exeext conftest.$ac_ext
22151 done
22152 fi
22153 LIBS=$ac_func_search_save_LIBS
22154 fi
22155 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22156 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22157 if test "$ac_cv_search_clock_gettime" != no; then
22158 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22159
22160 fi
22161
22162 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
22163 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
22164 if test "${ac_cv_search_nanosleep+set}" = set; then
22165 echo $ECHO_N "(cached) $ECHO_C" >&6
22166 else
22167 ac_func_search_save_LIBS=$LIBS
22168 ac_cv_search_nanosleep=no
22169 if test x$gcc_no_link = xyes; then
22170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22172 { (exit 1); exit 1; }; }
22173 fi
22174 cat >conftest.$ac_ext <<_ACEOF
22175 /* confdefs.h. */
22176 _ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22180
22181 /* Override any gcc2 internal prototype to avoid an error. */
22182 #ifdef __cplusplus
22183 extern "C"
22184 #endif
22185 /* We use char because int might match the return type of a gcc2
22186 builtin and then its argument prototype would still apply. */
22187 char nanosleep ();
22188 int
22189 main ()
22190 {
22191 nanosleep ();
22192 ;
22193 return 0;
22194 }
22195 _ACEOF
22196 rm -f conftest.$ac_objext conftest$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>conftest.er1
22199 ac_status=$?
22200 grep -v '^ *+' conftest.er1 >conftest.err
22201 rm -f conftest.er1
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -z "$ac_cxx_werror_flag"
22206 || test ! -s conftest.err'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22209 ac_status=$?
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try='test -s conftest$ac_exeext'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22218 ac_cv_search_nanosleep="none required"
22219 else
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.$ac_ext >&5
22222
22223 fi
22224 rm -f conftest.err conftest.$ac_objext \
22225 conftest$ac_exeext conftest.$ac_ext
22226 if test "$ac_cv_search_nanosleep" = no; then
22227 for ac_lib in posix4; do
22228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22229 if test x$gcc_no_link = xyes; then
22230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22232 { (exit 1); exit 1; }; }
22233 fi
22234 cat >conftest.$ac_ext <<_ACEOF
22235 /* confdefs.h. */
22236 _ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240
22241 /* Override any gcc2 internal prototype to avoid an error. */
22242 #ifdef __cplusplus
22243 extern "C"
22244 #endif
22245 /* We use char because int might match the return type of a gcc2
22246 builtin and then its argument prototype would still apply. */
22247 char nanosleep ();
22248 int
22249 main ()
22250 {
22251 nanosleep ();
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext conftest$ac_exeext
22257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258 (eval $ac_link) 2>conftest.er1
22259 ac_status=$?
22260 grep -v '^ *+' conftest.er1 >conftest.err
22261 rm -f conftest.er1
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } &&
22265 { ac_try='test -z "$ac_cxx_werror_flag"
22266 || test ! -s conftest.err'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22269 ac_status=$?
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; } &&
22272 { ac_try='test -s conftest$ac_exeext'
22273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274 (eval $ac_try) 2>&5
22275 ac_status=$?
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); }; }; then
22278 ac_cv_search_nanosleep="-l$ac_lib"
22279 break
22280 else
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.$ac_ext >&5
22283
22284 fi
22285 rm -f conftest.err conftest.$ac_objext \
22286 conftest$ac_exeext conftest.$ac_ext
22287 done
22288 fi
22289 LIBS=$ac_func_search_save_LIBS
22290 fi
22291 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22292 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22293 if test "$ac_cv_search_nanosleep" != no; then
22294 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
22295
22296 fi
22297
22298 fi
22299
22300 case "$ac_cv_search_clock_gettime" in
22301 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22302 ;;
22303 esac
22304 case "$ac_cv_search_nanosleep" in
22305 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
22306 ;;
22307 esac
22308
22309 echo "$as_me:$LINENO: checking for library containing sched_yield" >&5
22310 echo $ECHO_N "checking for library containing sched_yield... $ECHO_C" >&6
22311 if test "${ac_cv_search_sched_yield+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 else
22314 ac_func_search_save_LIBS=$LIBS
22315 ac_cv_search_sched_yield=no
22316 if test x$gcc_no_link = xyes; then
22317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22319 { (exit 1); exit 1; }; }
22320 fi
22321 cat >conftest.$ac_ext <<_ACEOF
22322 /* confdefs.h. */
22323 _ACEOF
22324 cat confdefs.h >>conftest.$ac_ext
22325 cat >>conftest.$ac_ext <<_ACEOF
22326 /* end confdefs.h. */
22327
22328 /* Override any gcc2 internal prototype to avoid an error. */
22329 #ifdef __cplusplus
22330 extern "C"
22331 #endif
22332 /* We use char because int might match the return type of a gcc2
22333 builtin and then its argument prototype would still apply. */
22334 char sched_yield ();
22335 int
22336 main ()
22337 {
22338 sched_yield ();
22339 ;
22340 return 0;
22341 }
22342 _ACEOF
22343 rm -f conftest.$ac_objext conftest$ac_exeext
22344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22345 (eval $ac_link) 2>conftest.er1
22346 ac_status=$?
22347 grep -v '^ *+' conftest.er1 >conftest.err
22348 rm -f conftest.er1
22349 cat conftest.err >&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -z "$ac_cxx_werror_flag"
22353 || test ! -s conftest.err'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22356 ac_status=$?
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; } &&
22359 { ac_try='test -s conftest$ac_exeext'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22365 ac_cv_search_sched_yield="none required"
22366 else
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22369
22370 fi
22371 rm -f conftest.err conftest.$ac_objext \
22372 conftest$ac_exeext conftest.$ac_ext
22373 if test "$ac_cv_search_sched_yield" = no; then
22374 for ac_lib in rt posix4; do
22375 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22376 if test x$gcc_no_link = xyes; then
22377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22379 { (exit 1); exit 1; }; }
22380 fi
22381 cat >conftest.$ac_ext <<_ACEOF
22382 /* confdefs.h. */
22383 _ACEOF
22384 cat confdefs.h >>conftest.$ac_ext
22385 cat >>conftest.$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22387
22388 /* Override any gcc2 internal prototype to avoid an error. */
22389 #ifdef __cplusplus
22390 extern "C"
22391 #endif
22392 /* We use char because int might match the return type of a gcc2
22393 builtin and then its argument prototype would still apply. */
22394 char sched_yield ();
22395 int
22396 main ()
22397 {
22398 sched_yield ();
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext conftest$ac_exeext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22405 (eval $ac_link) 2>conftest.er1
22406 ac_status=$?
22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_cxx_werror_flag"
22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest$ac_exeext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_cv_search_sched_yield="-l$ac_lib"
22426 break
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 fi
22432 rm -f conftest.err conftest.$ac_objext \
22433 conftest$ac_exeext conftest.$ac_ext
22434 done
22435 fi
22436 LIBS=$ac_func_search_save_LIBS
22437 fi
22438 echo "$as_me:$LINENO: result: $ac_cv_search_sched_yield" >&5
22439 echo "${ECHO_T}$ac_cv_search_sched_yield" >&6
22440 if test "$ac_cv_search_sched_yield" != no; then
22441 test "$ac_cv_search_sched_yield" = "none required" || LIBS="$ac_cv_search_sched_yield $LIBS"
22442
22443 fi
22444
22445
22446 case "$ac_cv_search_sched_yield" in
22447 -lposix4*)
22448 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
22449
22450 cat >>confdefs.h <<\_ACEOF
22451 #define _GLIBCXX_USE_SCHED_YIELD 1
22452 _ACEOF
22453
22454 ;;
22455 -lrt*)
22456 if test x"$enable_libstdcxx_time" = x"rt"; then
22457 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
22458
22459 cat >>confdefs.h <<\_ACEOF
22460 #define _GLIBCXX_USE_SCHED_YIELD 1
22461 _ACEOF
22462
22463 fi
22464 ;;
22465 *)
22466
22467 cat >>confdefs.h <<\_ACEOF
22468 #define _GLIBCXX_USE_SCHED_YIELD 1
22469 _ACEOF
22470
22471 ;;
22472 esac
22473
22474
22475 for ac_header in unistd.h
22476 do
22477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22479 echo "$as_me:$LINENO: checking for $ac_header" >&5
22480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22482 echo $ECHO_N "(cached) $ECHO_C" >&6
22483 fi
22484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22486 else
22487 # Is the header compilable?
22488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22490 cat >conftest.$ac_ext <<_ACEOF
22491 /* confdefs.h. */
22492 _ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 #include <$ac_header>
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22501 (eval $ac_compile) 2>conftest.er1
22502 ac_status=$?
22503 grep -v '^ *+' conftest.er1 >conftest.err
22504 rm -f conftest.er1
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } &&
22508 { ac_try='test -z "$ac_cxx_werror_flag"
22509 || test ! -s conftest.err'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22512 ac_status=$?
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; } &&
22515 { ac_try='test -s conftest.$ac_objext'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22518 ac_status=$?
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; }; then
22521 ac_header_compiler=yes
22522 else
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 ac_header_compiler=no
22527 fi
22528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22530 echo "${ECHO_T}$ac_header_compiler" >&6
22531
22532 # Is the header present?
22533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22535 cat >conftest.$ac_ext <<_ACEOF
22536 /* confdefs.h. */
22537 _ACEOF
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541 #include <$ac_header>
22542 _ACEOF
22543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22545 ac_status=$?
22546 grep -v '^ *+' conftest.er1 >conftest.err
22547 rm -f conftest.er1
22548 cat conftest.err >&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } >/dev/null; then
22551 if test -s conftest.err; then
22552 ac_cpp_err=$ac_cxx_preproc_warn_flag
22553 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22554 else
22555 ac_cpp_err=
22556 fi
22557 else
22558 ac_cpp_err=yes
22559 fi
22560 if test -z "$ac_cpp_err"; then
22561 ac_header_preproc=yes
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22565
22566 ac_header_preproc=no
22567 fi
22568 rm -f conftest.err conftest.$ac_ext
22569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22570 echo "${ECHO_T}$ac_header_preproc" >&6
22571
22572 # So? What about this header?
22573 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22574 yes:no: )
22575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22579 ac_header_preproc=yes
22580 ;;
22581 no:yes:* )
22582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22594 (
22595 cat <<\_ASBOX
22596 ## ----------------------------------------- ##
22597 ## Report this to the package-unused lists. ##
22598 ## ----------------------------------------- ##
22599 _ASBOX
22600 ) |
22601 sed "s/^/$as_me: WARNING: /" >&2
22602 ;;
22603 esac
22604 echo "$as_me:$LINENO: checking for $ac_header" >&5
22605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609 eval "$as_ac_Header=\$ac_header_preproc"
22610 fi
22611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22613
22614 fi
22615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22616 cat >>confdefs.h <<_ACEOF
22617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22618 _ACEOF
22619 ac_has_unistd_h=yes
22620 else
22621 ac_has_unistd_h=no
22622 fi
22623
22624 done
22625
22626
22627 if test x"$ac_has_unistd_h" = x"yes"; then
22628 echo "$as_me:$LINENO: checking for monotonic clock" >&5
22629 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22630 if test x$gcc_no_link = xyes; then
22631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22633 { (exit 1); exit 1; }; }
22634 fi
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #include <unistd.h>
22642 #include <time.h>
22643
22644 int
22645 main ()
22646 {
22647 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22648 timespec tp;
22649 #endif
22650 clock_gettime(CLOCK_MONOTONIC, &tp);
22651
22652 ;
22653 return 0;
22654 }
22655 _ACEOF
22656 rm -f conftest.$ac_objext conftest$ac_exeext
22657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22658 (eval $ac_link) 2>conftest.er1
22659 ac_status=$?
22660 grep -v '^ *+' conftest.er1 >conftest.err
22661 rm -f conftest.er1
22662 cat conftest.err >&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try='test -z "$ac_cxx_werror_flag"
22666 || test ! -s conftest.err'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22669 ac_status=$?
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; } &&
22672 { ac_try='test -s conftest$ac_exeext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22675 ac_status=$?
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_has_clock_monotonic=yes
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 ac_has_clock_monotonic=no
22684 fi
22685 rm -f conftest.err conftest.$ac_objext \
22686 conftest$ac_exeext conftest.$ac_ext
22687
22688 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
22689 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
22690
22691 echo "$as_me:$LINENO: checking for realtime clock" >&5
22692 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
22693 if test x$gcc_no_link = xyes; then
22694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22696 { (exit 1); exit 1; }; }
22697 fi
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 #include <unistd.h>
22705 #include <time.h>
22706
22707 int
22708 main ()
22709 {
22710 #if _POSIX_TIMERS > 0
22711 timespec tp;
22712 #endif
22713 clock_gettime(CLOCK_REALTIME, &tp);
22714
22715 ;
22716 return 0;
22717 }
22718 _ACEOF
22719 rm -f conftest.$ac_objext conftest$ac_exeext
22720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22721 (eval $ac_link) 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try='test -z "$ac_cxx_werror_flag"
22729 || test ! -s conftest.err'
22730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731 (eval $ac_try) 2>&5
22732 ac_status=$?
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); }; } &&
22735 { ac_try='test -s conftest$ac_exeext'
22736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22737 (eval $ac_try) 2>&5
22738 ac_status=$?
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); }; }; then
22741 ac_has_clock_realtime=yes
22742 else
22743 echo "$as_me: failed program was:" >&5
22744 sed 's/^/| /' conftest.$ac_ext >&5
22745
22746 ac_has_clock_realtime=no
22747 fi
22748 rm -f conftest.err conftest.$ac_objext \
22749 conftest$ac_exeext conftest.$ac_ext
22750
22751 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
22752 echo "${ECHO_T}$ac_has_clock_realtime" >&6
22753
22754 echo "$as_me:$LINENO: checking for nanosleep" >&5
22755 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22756 if test x$gcc_no_link = xyes; then
22757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22759 { (exit 1); exit 1; }; }
22760 fi
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 #include <unistd.h>
22768 #include <time.h>
22769
22770 int
22771 main ()
22772 {
22773 #if _POSIX_TIMERS > 0
22774 timespec tp;
22775 #endif
22776 nanosleep(&tp, 0);
22777
22778 ;
22779 return 0;
22780 }
22781 _ACEOF
22782 rm -f conftest.$ac_objext conftest$ac_exeext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>conftest.er1
22785 ac_status=$?
22786 grep -v '^ *+' conftest.er1 >conftest.err
22787 rm -f conftest.er1
22788 cat conftest.err >&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try='test -z "$ac_cxx_werror_flag"
22792 || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try='test -s conftest$ac_exeext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_has_nanosleep=yes
22805 else
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22808
22809 ac_has_nanosleep=no
22810 fi
22811 rm -f conftest.err conftest.$ac_objext \
22812 conftest$ac_exeext conftest.$ac_ext
22813
22814 echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
22815 echo "${ECHO_T}$ac_has_nanosleep" >&6
22816 fi
22817 fi
22818
22819 if test x"$ac_has_clock_monotonic" = x"yes"; then
22820
22821 cat >>confdefs.h <<\_ACEOF
22822 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
22823 _ACEOF
22824
22825 fi
22826
22827 if test x"$ac_has_clock_realtime" = x"yes"; then
22828
22829 cat >>confdefs.h <<\_ACEOF
22830 #define _GLIBCXX_USE_CLOCK_REALTIME 1
22831 _ACEOF
22832
22833 fi
22834
22835 if test x"$ac_has_nanosleep" = x"yes"; then
22836
22837 cat >>confdefs.h <<\_ACEOF
22838 #define _GLIBCXX_USE_NANOSLEEP 1
22839 _ACEOF
22840
22841 fi
22842
22843
22844
22845 CXXFLAGS="$ac_save_CXXFLAGS"
22846 LIBS="$ac_save_LIBS"
22847 ac_ext=c
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852
22853
22854
22855 # For gthread support
22856
22857
22858
22859 ac_ext=cc
22860 ac_cpp='$CXXCPP $CPPFLAGS'
22861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22864
22865
22866 ac_save_CXXFLAGS="$CXXFLAGS"
22867 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
22868
22869 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
22870 case $target_thread_file in
22871 posix)
22872 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
22873 esac
22874
22875 echo "$as_me:$LINENO: checking for gthreads library" >&5
22876 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
22877
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 #include "gthr.h"
22885 int
22886 main ()
22887 {
22888
22889 #ifndef __GTHREADS_CXX0X
22890 #error
22891 #endif
22892
22893 // In case of POSIX threads check _POSIX_TIMEOUTS too.
22894 #if (defined(_PTHREADS) \
22895 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
22896 #error
22897 #endif
22898
22899 ;
22900 return 0;
22901 }
22902 _ACEOF
22903 rm -f conftest.$ac_objext
22904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22905 (eval $ac_compile) 2>conftest.er1
22906 ac_status=$?
22907 grep -v '^ *+' conftest.er1 >conftest.err
22908 rm -f conftest.er1
22909 cat conftest.err >&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } &&
22912 { ac_try='test -z "$ac_cxx_werror_flag"
22913 || test ! -s conftest.err'
22914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22915 (eval $ac_try) 2>&5
22916 ac_status=$?
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); }; } &&
22919 { ac_try='test -s conftest.$ac_objext'
22920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22921 (eval $ac_try) 2>&5
22922 ac_status=$?
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; }; then
22925 ac_has_gthreads=yes
22926 else
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.$ac_ext >&5
22929
22930 ac_has_gthreads=no
22931 fi
22932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22933
22934 echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
22935 echo "${ECHO_T}$ac_has_gthreads" >&6
22936
22937 if test x"$ac_has_gthreads" = x"yes"; then
22938
22939 cat >>confdefs.h <<\_ACEOF
22940 #define _GLIBCXX_HAS_GTHREADS 1
22941 _ACEOF
22942
22943 fi
22944
22945 CXXFLAGS="$ac_save_CXXFLAGS"
22946 ac_ext=c
22947 ac_cpp='$CPP $CPPFLAGS'
22948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22951
22952
22953
22954
22955 if test "${ac_cv_header_locale_h+set}" = set; then
22956 echo "$as_me:$LINENO: checking for locale.h" >&5
22957 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22958 if test "${ac_cv_header_locale_h+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 fi
22961 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22962 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22963 else
22964 # Is the header compilable?
22965 echo "$as_me:$LINENO: checking locale.h usability" >&5
22966 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 $ac_includes_default
22974 #include <locale.h>
22975 _ACEOF
22976 rm -f conftest.$ac_objext
22977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22978 (eval $ac_compile) 2>conftest.er1
22979 ac_status=$?
22980 grep -v '^ *+' conftest.er1 >conftest.err
22981 rm -f conftest.er1
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try='test -z "$ac_c_werror_flag"
22986 || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_header_compiler=yes
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 ac_header_compiler=no
23004 fi
23005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23007 echo "${ECHO_T}$ac_header_compiler" >&6
23008
23009 # Is the header present?
23010 echo "$as_me:$LINENO: checking locale.h presence" >&5
23011 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 #include <locale.h>
23019 _ACEOF
23020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23022 ac_status=$?
23023 grep -v '^ *+' conftest.er1 >conftest.err
23024 rm -f conftest.er1
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } >/dev/null; then
23028 if test -s conftest.err; then
23029 ac_cpp_err=$ac_c_preproc_warn_flag
23030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23031 else
23032 ac_cpp_err=
23033 fi
23034 else
23035 ac_cpp_err=yes
23036 fi
23037 if test -z "$ac_cpp_err"; then
23038 ac_header_preproc=yes
23039 else
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.$ac_ext >&5
23042
23043 ac_header_preproc=no
23044 fi
23045 rm -f conftest.err conftest.$ac_ext
23046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23047 echo "${ECHO_T}$ac_header_preproc" >&6
23048
23049 # So? What about this header?
23050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23051 yes:no: )
23052 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
23053 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23054 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
23055 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
23056 ac_header_preproc=yes
23057 ;;
23058 no:yes:* )
23059 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
23060 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
23062 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
23064 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
23066 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
23068 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
23069 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
23070 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
23071 (
23072 cat <<\_ASBOX
23073 ## ----------------------------------------- ##
23074 ## Report this to the package-unused lists. ##
23075 ## ----------------------------------------- ##
23076 _ASBOX
23077 ) |
23078 sed "s/^/$as_me: WARNING: /" >&2
23079 ;;
23080 esac
23081 echo "$as_me:$LINENO: checking for locale.h" >&5
23082 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
23083 if test "${ac_cv_header_locale_h+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 ac_cv_header_locale_h=$ac_header_preproc
23087 fi
23088 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
23089 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
23090
23091 fi
23092 if test $ac_cv_header_locale_h = yes; then
23093
23094 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
23095 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
23096 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 else
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 #include <locale.h>
23106 int
23107 main ()
23108 {
23109 return LC_MESSAGES
23110 ;
23111 return 0;
23112 }
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23116 (eval $ac_compile) 2>conftest.er1
23117 ac_status=$?
23118 grep -v '^ *+' conftest.er1 >conftest.err
23119 rm -f conftest.er1
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } &&
23123 { ac_try='test -z "$ac_c_werror_flag"
23124 || test ! -s conftest.err'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try='test -s conftest.$ac_objext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 ac_cv_val_LC_MESSAGES=yes
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23140
23141 ac_cv_val_LC_MESSAGES=no
23142 fi
23143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23144 fi
23145 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
23146 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
23147 if test $ac_cv_val_LC_MESSAGES = yes; then
23148
23149 cat >>confdefs.h <<\_ACEOF
23150 #define HAVE_LC_MESSAGES 1
23151 _ACEOF
23152
23153 fi
23154
23155 fi
23156
23157
23158
23159
23160 # Check for available headers.
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
23187 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
23188 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
23189 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
23190 wchar.h wctype.h
23191 do
23192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23194 echo "$as_me:$LINENO: checking for $ac_header" >&5
23195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23198 fi
23199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23201 else
23202 # Is the header compilable?
23203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23205 cat >conftest.$ac_ext <<_ACEOF
23206 /* confdefs.h. */
23207 _ACEOF
23208 cat confdefs.h >>conftest.$ac_ext
23209 cat >>conftest.$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23211 $ac_includes_default
23212 #include <$ac_header>
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23216 (eval $ac_compile) 2>conftest.er1
23217 ac_status=$?
23218 grep -v '^ *+' conftest.er1 >conftest.err
23219 rm -f conftest.er1
23220 cat conftest.err >&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try='test -z "$ac_c_werror_flag"
23224 || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest.$ac_objext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_header_compiler=yes
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 ac_header_compiler=no
23242 fi
23243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23245 echo "${ECHO_T}$ac_header_compiler" >&6
23246
23247 # Is the header present?
23248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <$ac_header>
23257 _ACEOF
23258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23260 ac_status=$?
23261 grep -v '^ *+' conftest.er1 >conftest.err
23262 rm -f conftest.er1
23263 cat conftest.err >&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } >/dev/null; then
23266 if test -s conftest.err; then
23267 ac_cpp_err=$ac_c_preproc_warn_flag
23268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23269 else
23270 ac_cpp_err=
23271 fi
23272 else
23273 ac_cpp_err=yes
23274 fi
23275 if test -z "$ac_cpp_err"; then
23276 ac_header_preproc=yes
23277 else
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23280
23281 ac_header_preproc=no
23282 fi
23283 rm -f conftest.err conftest.$ac_ext
23284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23285 echo "${ECHO_T}$ac_header_preproc" >&6
23286
23287 # So? What about this header?
23288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23289 yes:no: )
23290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23294 ac_header_preproc=yes
23295 ;;
23296 no:yes:* )
23297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23309 (
23310 cat <<\_ASBOX
23311 ## ----------------------------------------- ##
23312 ## Report this to the package-unused lists. ##
23313 ## ----------------------------------------- ##
23314 _ASBOX
23315 ) |
23316 sed "s/^/$as_me: WARNING: /" >&2
23317 ;;
23318 esac
23319 echo "$as_me:$LINENO: checking for $ac_header" >&5
23320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 eval "$as_ac_Header=\$ac_header_preproc"
23325 fi
23326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23328
23329 fi
23330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23331 cat >>confdefs.h <<_ACEOF
23332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23333 _ACEOF
23334
23335 fi
23336
23337 done
23338
23339
23340 # Only do link tests if native. Else, hardcode.
23341 if $GLIBCXX_IS_NATIVE; then
23342
23343 # We can do more elaborate tests that assume a working linker.
23344 CANADIAN=no
23345
23346
23347
23348 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23349 if test "${with_gnu_ld+set}" = set; then
23350 withval="$with_gnu_ld"
23351 test "$withval" = no || with_gnu_ld=yes
23352 else
23353 with_gnu_ld=no
23354 fi;
23355 ac_prog=ld
23356 if test "$GCC" = yes; then
23357 # Check if gcc -print-prog-name=ld gives a path.
23358 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23359 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23360 case $host in
23361 *-*-mingw*)
23362 # gcc leaves a trailing carriage return which upsets mingw
23363 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23364 *)
23365 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23366 esac
23367 case $ac_prog in
23368 # Accept absolute paths.
23369 [\\/]* | ?:[\\/]*)
23370 re_direlt='/[^/][^/]*/\.\./'
23371 # Canonicalize the pathname of ld
23372 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23373 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23374 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23375 done
23376 test -z "$LD" && LD="$ac_prog"
23377 ;;
23378 "")
23379 # If it fails, then pretend we aren't using GCC.
23380 ac_prog=ld
23381 ;;
23382 *)
23383 # If it is relative, then search for the first ld in PATH.
23384 with_gnu_ld=unknown
23385 ;;
23386 esac
23387 elif test "$with_gnu_ld" = yes; then
23388 echo "$as_me:$LINENO: checking for GNU ld" >&5
23389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23390 else
23391 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23393 fi
23394 if test "${lt_cv_path_LD+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397 if test -z "$LD"; then
23398 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23399 for ac_dir in $PATH; do
23400 IFS="$lt_save_ifs"
23401 test -z "$ac_dir" && ac_dir=.
23402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23403 lt_cv_path_LD="$ac_dir/$ac_prog"
23404 # Check to see if the program is GNU ld. I'd rather use --version,
23405 # but apparently some variants of GNU ld only accept -v.
23406 # Break only if it was the GNU/non-GNU ld that we prefer.
23407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23408 *GNU* | *'with BFD'*)
23409 test "$with_gnu_ld" != no && break
23410 ;;
23411 *)
23412 test "$with_gnu_ld" != yes && break
23413 ;;
23414 esac
23415 fi
23416 done
23417 IFS="$lt_save_ifs"
23418 else
23419 lt_cv_path_LD="$LD" # Let the user override the test with a path.
23420 fi
23421 fi
23422
23423 LD="$lt_cv_path_LD"
23424 if test -n "$LD"; then
23425 echo "$as_me:$LINENO: result: $LD" >&5
23426 echo "${ECHO_T}$LD" >&6
23427 else
23428 echo "$as_me:$LINENO: result: no" >&5
23429 echo "${ECHO_T}no" >&6
23430 fi
23431 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23432 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23433 { (exit 1); exit 1; }; }
23434 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23435 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 else
23439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
23440 case `$LD -v 2>&1 </dev/null` in
23441 *GNU* | *'with BFD'*)
23442 lt_cv_prog_gnu_ld=yes
23443 ;;
23444 *)
23445 lt_cv_prog_gnu_ld=no
23446 ;;
23447 esac
23448 fi
23449 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23450 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23451 with_gnu_ld=$lt_cv_prog_gnu_ld
23452
23453
23454
23455
23456
23457
23458
23459 # If we're not using GNU ld, then there's no point in even trying these
23460 # tests. Check for that first. We should have already tested for gld
23461 # by now (in libtool), but require it now just to be safe...
23462 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23463 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23464
23465
23466
23467 # The name set by libtool depends on the version of libtool. Shame on us
23468 # for depending on an impl detail, but c'est la vie. Older versions used
23469 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23470 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23471 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
23472 # set (hence we're using an older libtool), then set it.
23473 if test x${with_gnu_ld+set} != xset; then
23474 if test x${ac_cv_prog_gnu_ld+set} != xset; then
23475 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
23476 with_gnu_ld=no
23477 else
23478 with_gnu_ld=$ac_cv_prog_gnu_ld
23479 fi
23480 fi
23481
23482 # Start by getting the version number. I think the libtool test already
23483 # does some of this, but throws away the result.
23484 glibcxx_ld_is_gold=no
23485 if test x"$with_gnu_ld" = x"yes"; then
23486 echo "$as_me:$LINENO: checking for ld version" >&5
23487 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23488
23489 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23490 glibcxx_ld_is_gold=yes
23491 fi
23492 ldver=`$LD --version 2>/dev/null | head -1 | \
23493 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23494
23495 glibcxx_gnu_ld_version=`echo $ldver | \
23496 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23497 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23498 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23499 fi
23500
23501 # Set --gc-sections.
23502 glibcxx_have_gc_sections=no
23503 if test "$glibcxx_ld_is_gold" = "yes"; then
23504 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23505 glibcxx_have_gc_sections=yes
23506 fi
23507 else
23508 glibcxx_gcsections_min_ld=21602
23509 if test x"$with_gnu_ld" = x"yes" &&
23510 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23511 glibcxx_have_gc_sections=yes
23512 fi
23513 fi
23514 if test "$glibcxx_have_gc_sections" = "yes"; then
23515 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
23516 # NB: This flag only works reliably after 2.16.1. Configure tests
23517 # for this are difficult, so hard wire a value that should work.
23518
23519 ac_test_CFLAGS="${CFLAGS+set}"
23520 ac_save_CFLAGS="$CFLAGS"
23521 CFLAGS='-Wl,--gc-sections'
23522
23523 # Check for -Wl,--gc-sections
23524 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23525 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23526 if test x$gcc_no_link = xyes; then
23527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23529 { (exit 1); exit 1; }; }
23530 fi
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 int one(void) { return 1; }
23538 int two(void) { return 2; }
23539
23540 int
23541 main ()
23542 {
23543 two();
23544 ;
23545 return 0;
23546 }
23547 _ACEOF
23548 rm -f conftest.$ac_objext conftest$ac_exeext
23549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23550 (eval $ac_link) 2>conftest.er1
23551 ac_status=$?
23552 grep -v '^ *+' conftest.er1 >conftest.err
23553 rm -f conftest.er1
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } &&
23557 { ac_try='test -z "$ac_c_werror_flag"
23558 || test ! -s conftest.err'
23559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560 (eval $ac_try) 2>&5
23561 ac_status=$?
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; } &&
23564 { ac_try='test -s conftest$ac_exeext'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23567 ac_status=$?
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; }; then
23570 ac_gcsections=yes
23571 else
23572 echo "$as_me: failed program was:" >&5
23573 sed 's/^/| /' conftest.$ac_ext >&5
23574
23575 ac_gcsections=no
23576 fi
23577 rm -f conftest.err conftest.$ac_objext \
23578 conftest$ac_exeext conftest.$ac_ext
23579 if test "$ac_gcsections" = "yes"; then
23580 rm -f conftest.c
23581 touch conftest.c
23582 if $CC -c conftest.c; then
23583 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23584 grep "Warning: gc-sections option ignored" > /dev/null; then
23585 ac_gcsections=no
23586 fi
23587 fi
23588 rm -f conftest.c conftest.o conftest
23589 fi
23590 if test "$ac_gcsections" = "yes"; then
23591 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23592 fi
23593 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23594 echo "${ECHO_T}$ac_gcsections" >&6
23595
23596 if test "$ac_test_CFLAGS" = set; then
23597 CFLAGS="$ac_save_CFLAGS"
23598 else
23599 # this is the suspicious part
23600 CFLAGS=''
23601 fi
23602 fi
23603
23604 # Set -z,relro.
23605 # Note this is only for shared objects.
23606 ac_ld_relro=no
23607 if test x"$with_gnu_ld" = x"yes"; then
23608 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23609 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23610 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23611 if test -n "$cxx_z_relo"; then
23612 OPT_LDFLAGS="-Wl,-z,relro"
23613 ac_ld_relro=yes
23614 fi
23615 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23616 echo "${ECHO_T}$ac_ld_relro" >&6
23617 fi
23618
23619 # Set linker optimization flags.
23620 if test x"$with_gnu_ld" = x"yes"; then
23621 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23622 fi
23623
23624
23625
23626
23627
23628 ac_test_CXXFLAGS="${CXXFLAGS+set}"
23629 ac_save_CXXFLAGS="$CXXFLAGS"
23630 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23631
23632 echo "$as_me:$LINENO: checking for sin in -lm" >&5
23633 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23634 if test "${ac_cv_lib_m_sin+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 else
23637 ac_check_lib_save_LIBS=$LIBS
23638 LIBS="-lm $LIBS"
23639 if test x$gcc_no_link = xyes; then
23640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23642 { (exit 1); exit 1; }; }
23643 fi
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650
23651 /* Override any gcc2 internal prototype to avoid an error. */
23652 #ifdef __cplusplus
23653 extern "C"
23654 #endif
23655 /* We use char because int might match the return type of a gcc2
23656 builtin and then its argument prototype would still apply. */
23657 char sin ();
23658 int
23659 main ()
23660 {
23661 sin ();
23662 ;
23663 return 0;
23664 }
23665 _ACEOF
23666 rm -f conftest.$ac_objext conftest$ac_exeext
23667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23668 (eval $ac_link) 2>conftest.er1
23669 ac_status=$?
23670 grep -v '^ *+' conftest.er1 >conftest.err
23671 rm -f conftest.er1
23672 cat conftest.err >&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } &&
23675 { ac_try='test -z "$ac_c_werror_flag"
23676 || test ! -s conftest.err'
23677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23678 (eval $ac_try) 2>&5
23679 ac_status=$?
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; } &&
23682 { ac_try='test -s conftest$ac_exeext'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; }; then
23688 ac_cv_lib_m_sin=yes
23689 else
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.$ac_ext >&5
23692
23693 ac_cv_lib_m_sin=no
23694 fi
23695 rm -f conftest.err conftest.$ac_objext \
23696 conftest$ac_exeext conftest.$ac_ext
23697 LIBS=$ac_check_lib_save_LIBS
23698 fi
23699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
23700 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
23701 if test $ac_cv_lib_m_sin = yes; then
23702 libm="-lm"
23703 fi
23704
23705 ac_save_LIBS="$LIBS"
23706 LIBS="$LIBS $libm"
23707
23708
23709
23710 echo "$as_me:$LINENO: checking for isinf declaration" >&5
23711 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
23712 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23713 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23715 else
23716
23717
23718
23719 ac_ext=cc
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <math.h>
23732 #ifdef HAVE_IEEEFP_H
23733 #include <ieeefp.h>
23734 #endif
23735
23736 int
23737 main ()
23738 {
23739 isinf(0);
23740 ;
23741 return 0;
23742 }
23743 _ACEOF
23744 rm -f conftest.$ac_objext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23746 (eval $ac_compile) 2>conftest.er1
23747 ac_status=$?
23748 grep -v '^ *+' conftest.er1 >conftest.err
23749 rm -f conftest.er1
23750 cat conftest.err >&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try='test -z "$ac_cxx_werror_flag"
23754 || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 glibcxx_cv_func_isinf_use=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 glibcxx_cv_func_isinf_use=no
23772 fi
23773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_ext=c
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779
23780
23781 fi
23782
23783 fi
23784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
23785 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
23786
23787 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23788
23789 for ac_func in isinf
23790 do
23791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23792 echo "$as_me:$LINENO: checking for $ac_func" >&5
23793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23794 if eval "test \"\${$as_ac_var+set}\" = set"; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 else
23797 if test x$gcc_no_link = xyes; then
23798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23800 { (exit 1); exit 1; }; }
23801 fi
23802 cat >conftest.$ac_ext <<_ACEOF
23803 /* confdefs.h. */
23804 _ACEOF
23805 cat confdefs.h >>conftest.$ac_ext
23806 cat >>conftest.$ac_ext <<_ACEOF
23807 /* end confdefs.h. */
23808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23810 #define $ac_func innocuous_$ac_func
23811
23812 /* System header to define __stub macros and hopefully few prototypes,
23813 which can conflict with char $ac_func (); below.
23814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23815 <limits.h> exists even on freestanding compilers. */
23816
23817 #ifdef __STDC__
23818 # include <limits.h>
23819 #else
23820 # include <assert.h>
23821 #endif
23822
23823 #undef $ac_func
23824
23825 /* Override any gcc2 internal prototype to avoid an error. */
23826 #ifdef __cplusplus
23827 extern "C"
23828 {
23829 #endif
23830 /* We use char because int might match the return type of a gcc2
23831 builtin and then its argument prototype would still apply. */
23832 char $ac_func ();
23833 /* The GNU C library defines this for functions which it implements
23834 to always fail with ENOSYS. Some functions are actually named
23835 something starting with __ and the normal name is an alias. */
23836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23837 choke me
23838 #else
23839 char (*f) () = $ac_func;
23840 #endif
23841 #ifdef __cplusplus
23842 }
23843 #endif
23844
23845 int
23846 main ()
23847 {
23848 return f != $ac_func;
23849 ;
23850 return 0;
23851 }
23852 _ACEOF
23853 rm -f conftest.$ac_objext conftest$ac_exeext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23855 (eval $ac_link) 2>conftest.er1
23856 ac_status=$?
23857 grep -v '^ *+' conftest.er1 >conftest.err
23858 rm -f conftest.er1
23859 cat conftest.err >&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } &&
23862 { ac_try='test -z "$ac_c_werror_flag"
23863 || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest$ac_exeext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 eval "$as_ac_var=yes"
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 eval "$as_ac_var=no"
23881 fi
23882 rm -f conftest.err conftest.$ac_objext \
23883 conftest$ac_exeext conftest.$ac_ext
23884 fi
23885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23887 if test `eval echo '${'$as_ac_var'}'` = yes; then
23888 cat >>confdefs.h <<_ACEOF
23889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23890 _ACEOF
23891
23892 fi
23893 done
23894
23895 else
23896
23897 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
23898 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
23899 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23900 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
23901 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 else
23903
23904
23905
23906 ac_ext=cc
23907 ac_cpp='$CXXCPP $CPPFLAGS'
23908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23911
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 #include <math.h>
23919 #ifdef HAVE_IEEEFP_H
23920 #include <ieeefp.h>
23921 #endif
23922
23923 int
23924 main ()
23925 {
23926 _isinf(0);
23927 ;
23928 return 0;
23929 }
23930 _ACEOF
23931 rm -f conftest.$ac_objext
23932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23933 (eval $ac_compile) 2>conftest.er1
23934 ac_status=$?
23935 grep -v '^ *+' conftest.er1 >conftest.err
23936 rm -f conftest.er1
23937 cat conftest.err >&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } &&
23940 { ac_try='test -z "$ac_cxx_werror_flag"
23941 || test ! -s conftest.err'
23942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23943 (eval $ac_try) 2>&5
23944 ac_status=$?
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); }; } &&
23947 { ac_try='test -s conftest.$ac_objext'
23948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23949 (eval $ac_try) 2>&5
23950 ac_status=$?
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; }; then
23953 glibcxx_cv_func__isinf_use=yes
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23957
23958 glibcxx_cv_func__isinf_use=no
23959 fi
23960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23961 ac_ext=c
23962 ac_cpp='$CPP $CPPFLAGS'
23963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23966
23967
23968 fi
23969
23970 fi
23971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
23972 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
23973
23974 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23975
23976 for ac_func in _isinf
23977 do
23978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23979 echo "$as_me:$LINENO: checking for $ac_func" >&5
23980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23981 if eval "test \"\${$as_ac_var+set}\" = set"; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 else
23984 if test x$gcc_no_link = xyes; then
23985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23987 { (exit 1); exit 1; }; }
23988 fi
23989 cat >conftest.$ac_ext <<_ACEOF
23990 /* confdefs.h. */
23991 _ACEOF
23992 cat confdefs.h >>conftest.$ac_ext
23993 cat >>conftest.$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23997 #define $ac_func innocuous_$ac_func
23998
23999 /* System header to define __stub macros and hopefully few prototypes,
24000 which can conflict with char $ac_func (); below.
24001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24002 <limits.h> exists even on freestanding compilers. */
24003
24004 #ifdef __STDC__
24005 # include <limits.h>
24006 #else
24007 # include <assert.h>
24008 #endif
24009
24010 #undef $ac_func
24011
24012 /* Override any gcc2 internal prototype to avoid an error. */
24013 #ifdef __cplusplus
24014 extern "C"
24015 {
24016 #endif
24017 /* We use char because int might match the return type of a gcc2
24018 builtin and then its argument prototype would still apply. */
24019 char $ac_func ();
24020 /* The GNU C library defines this for functions which it implements
24021 to always fail with ENOSYS. Some functions are actually named
24022 something starting with __ and the normal name is an alias. */
24023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24024 choke me
24025 #else
24026 char (*f) () = $ac_func;
24027 #endif
24028 #ifdef __cplusplus
24029 }
24030 #endif
24031
24032 int
24033 main ()
24034 {
24035 return f != $ac_func;
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext conftest$ac_exeext
24041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24042 (eval $ac_link) 2>conftest.er1
24043 ac_status=$?
24044 grep -v '^ *+' conftest.er1 >conftest.err
24045 rm -f conftest.er1
24046 cat conftest.err >&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); } &&
24049 { ac_try='test -z "$ac_c_werror_flag"
24050 || test ! -s conftest.err'
24051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24052 (eval $ac_try) 2>&5
24053 ac_status=$?
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); }; } &&
24056 { ac_try='test -s conftest$ac_exeext'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24059 ac_status=$?
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; }; then
24062 eval "$as_ac_var=yes"
24063 else
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24066
24067 eval "$as_ac_var=no"
24068 fi
24069 rm -f conftest.err conftest.$ac_objext \
24070 conftest$ac_exeext conftest.$ac_ext
24071 fi
24072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24074 if test `eval echo '${'$as_ac_var'}'` = yes; then
24075 cat >>confdefs.h <<_ACEOF
24076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24077 _ACEOF
24078
24079 fi
24080 done
24081
24082 fi
24083 fi
24084
24085
24086
24087
24088
24089
24090 echo "$as_me:$LINENO: checking for isnan declaration" >&5
24091 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
24092 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
24093 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 else
24096
24097
24098
24099 ac_ext=cc
24100 ac_cpp='$CXXCPP $CPPFLAGS'
24101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24104
24105 cat >conftest.$ac_ext <<_ACEOF
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 #include <math.h>
24112 #ifdef HAVE_IEEEFP_H
24113 #include <ieeefp.h>
24114 #endif
24115
24116 int
24117 main ()
24118 {
24119 isnan(0);
24120 ;
24121 return 0;
24122 }
24123 _ACEOF
24124 rm -f conftest.$ac_objext
24125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24126 (eval $ac_compile) 2>conftest.er1
24127 ac_status=$?
24128 grep -v '^ *+' conftest.er1 >conftest.err
24129 rm -f conftest.er1
24130 cat conftest.err >&5
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); } &&
24133 { ac_try='test -z "$ac_cxx_werror_flag"
24134 || test ! -s conftest.err'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24137 ac_status=$?
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; } &&
24140 { ac_try='test -s conftest.$ac_objext'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24143 ac_status=$?
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; }; then
24146 glibcxx_cv_func_isnan_use=yes
24147 else
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24150
24151 glibcxx_cv_func_isnan_use=no
24152 fi
24153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24154 ac_ext=c
24155 ac_cpp='$CPP $CPPFLAGS'
24156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24159
24160
24161 fi
24162
24163 fi
24164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
24165 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
24166
24167 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
24168
24169 for ac_func in isnan
24170 do
24171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24172 echo "$as_me:$LINENO: checking for $ac_func" >&5
24173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24174 if eval "test \"\${$as_ac_var+set}\" = set"; then
24175 echo $ECHO_N "(cached) $ECHO_C" >&6
24176 else
24177 if test x$gcc_no_link = xyes; then
24178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24180 { (exit 1); exit 1; }; }
24181 fi
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24190 #define $ac_func innocuous_$ac_func
24191
24192 /* System header to define __stub macros and hopefully few prototypes,
24193 which can conflict with char $ac_func (); below.
24194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24195 <limits.h> exists even on freestanding compilers. */
24196
24197 #ifdef __STDC__
24198 # include <limits.h>
24199 #else
24200 # include <assert.h>
24201 #endif
24202
24203 #undef $ac_func
24204
24205 /* Override any gcc2 internal prototype to avoid an error. */
24206 #ifdef __cplusplus
24207 extern "C"
24208 {
24209 #endif
24210 /* We use char because int might match the return type of a gcc2
24211 builtin and then its argument prototype would still apply. */
24212 char $ac_func ();
24213 /* The GNU C library defines this for functions which it implements
24214 to always fail with ENOSYS. Some functions are actually named
24215 something starting with __ and the normal name is an alias. */
24216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24217 choke me
24218 #else
24219 char (*f) () = $ac_func;
24220 #endif
24221 #ifdef __cplusplus
24222 }
24223 #endif
24224
24225 int
24226 main ()
24227 {
24228 return f != $ac_func;
24229 ;
24230 return 0;
24231 }
24232 _ACEOF
24233 rm -f conftest.$ac_objext conftest$ac_exeext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24235 (eval $ac_link) 2>conftest.er1
24236 ac_status=$?
24237 grep -v '^ *+' conftest.er1 >conftest.err
24238 rm -f conftest.er1
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } &&
24242 { ac_try='test -z "$ac_c_werror_flag"
24243 || test ! -s conftest.err'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24246 ac_status=$?
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; } &&
24249 { ac_try='test -s conftest$ac_exeext'
24250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251 (eval $ac_try) 2>&5
24252 ac_status=$?
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); }; }; then
24255 eval "$as_ac_var=yes"
24256 else
24257 echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.$ac_ext >&5
24259
24260 eval "$as_ac_var=no"
24261 fi
24262 rm -f conftest.err conftest.$ac_objext \
24263 conftest$ac_exeext conftest.$ac_ext
24264 fi
24265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24267 if test `eval echo '${'$as_ac_var'}'` = yes; then
24268 cat >>confdefs.h <<_ACEOF
24269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24270 _ACEOF
24271
24272 fi
24273 done
24274
24275 else
24276
24277 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
24278 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
24279 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
24280 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
24281 echo $ECHO_N "(cached) $ECHO_C" >&6
24282 else
24283
24284
24285
24286 ac_ext=cc
24287 ac_cpp='$CXXCPP $CPPFLAGS'
24288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24291
24292 cat >conftest.$ac_ext <<_ACEOF
24293 /* confdefs.h. */
24294 _ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 #include <math.h>
24299 #ifdef HAVE_IEEEFP_H
24300 #include <ieeefp.h>
24301 #endif
24302
24303 int
24304 main ()
24305 {
24306 _isnan(0);
24307 ;
24308 return 0;
24309 }
24310 _ACEOF
24311 rm -f conftest.$ac_objext
24312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24313 (eval $ac_compile) 2>conftest.er1
24314 ac_status=$?
24315 grep -v '^ *+' conftest.er1 >conftest.err
24316 rm -f conftest.er1
24317 cat conftest.err >&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } &&
24320 { ac_try='test -z "$ac_cxx_werror_flag"
24321 || test ! -s conftest.err'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; } &&
24327 { ac_try='test -s conftest.$ac_objext'
24328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24329 (eval $ac_try) 2>&5
24330 ac_status=$?
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); }; }; then
24333 glibcxx_cv_func__isnan_use=yes
24334 else
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24337
24338 glibcxx_cv_func__isnan_use=no
24339 fi
24340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24341 ac_ext=c
24342 ac_cpp='$CPP $CPPFLAGS'
24343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24346
24347
24348 fi
24349
24350 fi
24351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24352 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24353
24354 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24355
24356 for ac_func in _isnan
24357 do
24358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24359 echo "$as_me:$LINENO: checking for $ac_func" >&5
24360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24361 if eval "test \"\${$as_ac_var+set}\" = set"; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364 if test x$gcc_no_link = xyes; then
24365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24367 { (exit 1); exit 1; }; }
24368 fi
24369 cat >conftest.$ac_ext <<_ACEOF
24370 /* confdefs.h. */
24371 _ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24377 #define $ac_func innocuous_$ac_func
24378
24379 /* System header to define __stub macros and hopefully few prototypes,
24380 which can conflict with char $ac_func (); below.
24381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24382 <limits.h> exists even on freestanding compilers. */
24383
24384 #ifdef __STDC__
24385 # include <limits.h>
24386 #else
24387 # include <assert.h>
24388 #endif
24389
24390 #undef $ac_func
24391
24392 /* Override any gcc2 internal prototype to avoid an error. */
24393 #ifdef __cplusplus
24394 extern "C"
24395 {
24396 #endif
24397 /* We use char because int might match the return type of a gcc2
24398 builtin and then its argument prototype would still apply. */
24399 char $ac_func ();
24400 /* The GNU C library defines this for functions which it implements
24401 to always fail with ENOSYS. Some functions are actually named
24402 something starting with __ and the normal name is an alias. */
24403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24404 choke me
24405 #else
24406 char (*f) () = $ac_func;
24407 #endif
24408 #ifdef __cplusplus
24409 }
24410 #endif
24411
24412 int
24413 main ()
24414 {
24415 return f != $ac_func;
24416 ;
24417 return 0;
24418 }
24419 _ACEOF
24420 rm -f conftest.$ac_objext conftest$ac_exeext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24422 (eval $ac_link) 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } &&
24429 { ac_try='test -z "$ac_c_werror_flag"
24430 || test ! -s conftest.err'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest$ac_exeext'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; }; then
24442 eval "$as_ac_var=yes"
24443 else
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24446
24447 eval "$as_ac_var=no"
24448 fi
24449 rm -f conftest.err conftest.$ac_objext \
24450 conftest$ac_exeext conftest.$ac_ext
24451 fi
24452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24454 if test `eval echo '${'$as_ac_var'}'` = yes; then
24455 cat >>confdefs.h <<_ACEOF
24456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24457 _ACEOF
24458
24459 fi
24460 done
24461
24462 fi
24463 fi
24464
24465
24466
24467
24468
24469
24470 echo "$as_me:$LINENO: checking for finite declaration" >&5
24471 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24472 if test x${glibcxx_cv_func_finite_use+set} != xset; then
24473 if test "${glibcxx_cv_func_finite_use+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24475 else
24476
24477
24478
24479 ac_ext=cc
24480 ac_cpp='$CXXCPP $CPPFLAGS'
24481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24484
24485 cat >conftest.$ac_ext <<_ACEOF
24486 /* confdefs.h. */
24487 _ACEOF
24488 cat confdefs.h >>conftest.$ac_ext
24489 cat >>conftest.$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 #include <math.h>
24492 #ifdef HAVE_IEEEFP_H
24493 #include <ieeefp.h>
24494 #endif
24495
24496 int
24497 main ()
24498 {
24499 finite(0);
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24506 (eval $ac_compile) 2>conftest.er1
24507 ac_status=$?
24508 grep -v '^ *+' conftest.er1 >conftest.err
24509 rm -f conftest.er1
24510 cat conftest.err >&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try='test -z "$ac_cxx_werror_flag"
24514 || test ! -s conftest.err'
24515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24516 (eval $ac_try) 2>&5
24517 ac_status=$?
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); }; } &&
24520 { ac_try='test -s conftest.$ac_objext'
24521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522 (eval $ac_try) 2>&5
24523 ac_status=$?
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; }; then
24526 glibcxx_cv_func_finite_use=yes
24527 else
24528 echo "$as_me: failed program was:" >&5
24529 sed 's/^/| /' conftest.$ac_ext >&5
24530
24531 glibcxx_cv_func_finite_use=no
24532 fi
24533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24534 ac_ext=c
24535 ac_cpp='$CPP $CPPFLAGS'
24536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539
24540
24541 fi
24542
24543 fi
24544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24545 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24546
24547 if test x$glibcxx_cv_func_finite_use = x"yes"; then
24548
24549 for ac_func in finite
24550 do
24551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24552 echo "$as_me:$LINENO: checking for $ac_func" >&5
24553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24554 if eval "test \"\${$as_ac_var+set}\" = set"; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24556 else
24557 if test x$gcc_no_link = xyes; then
24558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24560 { (exit 1); exit 1; }; }
24561 fi
24562 cat >conftest.$ac_ext <<_ACEOF
24563 /* confdefs.h. */
24564 _ACEOF
24565 cat confdefs.h >>conftest.$ac_ext
24566 cat >>conftest.$ac_ext <<_ACEOF
24567 /* end confdefs.h. */
24568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24570 #define $ac_func innocuous_$ac_func
24571
24572 /* System header to define __stub macros and hopefully few prototypes,
24573 which can conflict with char $ac_func (); below.
24574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24575 <limits.h> exists even on freestanding compilers. */
24576
24577 #ifdef __STDC__
24578 # include <limits.h>
24579 #else
24580 # include <assert.h>
24581 #endif
24582
24583 #undef $ac_func
24584
24585 /* Override any gcc2 internal prototype to avoid an error. */
24586 #ifdef __cplusplus
24587 extern "C"
24588 {
24589 #endif
24590 /* We use char because int might match the return type of a gcc2
24591 builtin and then its argument prototype would still apply. */
24592 char $ac_func ();
24593 /* The GNU C library defines this for functions which it implements
24594 to always fail with ENOSYS. Some functions are actually named
24595 something starting with __ and the normal name is an alias. */
24596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24597 choke me
24598 #else
24599 char (*f) () = $ac_func;
24600 #endif
24601 #ifdef __cplusplus
24602 }
24603 #endif
24604
24605 int
24606 main ()
24607 {
24608 return f != $ac_func;
24609 ;
24610 return 0;
24611 }
24612 _ACEOF
24613 rm -f conftest.$ac_objext conftest$ac_exeext
24614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24615 (eval $ac_link) 2>conftest.er1
24616 ac_status=$?
24617 grep -v '^ *+' conftest.er1 >conftest.err
24618 rm -f conftest.er1
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } &&
24622 { ac_try='test -z "$ac_c_werror_flag"
24623 || test ! -s conftest.err'
24624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24625 (eval $ac_try) 2>&5
24626 ac_status=$?
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); }; } &&
24629 { ac_try='test -s conftest$ac_exeext'
24630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24631 (eval $ac_try) 2>&5
24632 ac_status=$?
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); }; }; then
24635 eval "$as_ac_var=yes"
24636 else
24637 echo "$as_me: failed program was:" >&5
24638 sed 's/^/| /' conftest.$ac_ext >&5
24639
24640 eval "$as_ac_var=no"
24641 fi
24642 rm -f conftest.err conftest.$ac_objext \
24643 conftest$ac_exeext conftest.$ac_ext
24644 fi
24645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24647 if test `eval echo '${'$as_ac_var'}'` = yes; then
24648 cat >>confdefs.h <<_ACEOF
24649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24650 _ACEOF
24651
24652 fi
24653 done
24654
24655 else
24656
24657 echo "$as_me:$LINENO: checking for _finite declaration" >&5
24658 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24659 if test x${glibcxx_cv_func__finite_use+set} != xset; then
24660 if test "${glibcxx_cv_func__finite_use+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663
24664
24665
24666 ac_ext=cc
24667 ac_cpp='$CXXCPP $CPPFLAGS'
24668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24671
24672 cat >conftest.$ac_ext <<_ACEOF
24673 /* confdefs.h. */
24674 _ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 #include <math.h>
24679 #ifdef HAVE_IEEEFP_H
24680 #include <ieeefp.h>
24681 #endif
24682
24683 int
24684 main ()
24685 {
24686 _finite(0);
24687 ;
24688 return 0;
24689 }
24690 _ACEOF
24691 rm -f conftest.$ac_objext
24692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24693 (eval $ac_compile) 2>conftest.er1
24694 ac_status=$?
24695 grep -v '^ *+' conftest.er1 >conftest.err
24696 rm -f conftest.er1
24697 cat conftest.err >&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); } &&
24700 { ac_try='test -z "$ac_cxx_werror_flag"
24701 || test ! -s conftest.err'
24702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24703 (eval $ac_try) 2>&5
24704 ac_status=$?
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); }; } &&
24707 { ac_try='test -s conftest.$ac_objext'
24708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709 (eval $ac_try) 2>&5
24710 ac_status=$?
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); }; }; then
24713 glibcxx_cv_func__finite_use=yes
24714 else
24715 echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24717
24718 glibcxx_cv_func__finite_use=no
24719 fi
24720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24726
24727
24728 fi
24729
24730 fi
24731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
24732 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
24733
24734 if test x$glibcxx_cv_func__finite_use = x"yes"; then
24735
24736 for ac_func in _finite
24737 do
24738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24739 echo "$as_me:$LINENO: checking for $ac_func" >&5
24740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24741 if eval "test \"\${$as_ac_var+set}\" = set"; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 else
24744 if test x$gcc_no_link = xyes; then
24745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24747 { (exit 1); exit 1; }; }
24748 fi
24749 cat >conftest.$ac_ext <<_ACEOF
24750 /* confdefs.h. */
24751 _ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24757 #define $ac_func innocuous_$ac_func
24758
24759 /* System header to define __stub macros and hopefully few prototypes,
24760 which can conflict with char $ac_func (); below.
24761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24762 <limits.h> exists even on freestanding compilers. */
24763
24764 #ifdef __STDC__
24765 # include <limits.h>
24766 #else
24767 # include <assert.h>
24768 #endif
24769
24770 #undef $ac_func
24771
24772 /* Override any gcc2 internal prototype to avoid an error. */
24773 #ifdef __cplusplus
24774 extern "C"
24775 {
24776 #endif
24777 /* We use char because int might match the return type of a gcc2
24778 builtin and then its argument prototype would still apply. */
24779 char $ac_func ();
24780 /* The GNU C library defines this for functions which it implements
24781 to always fail with ENOSYS. Some functions are actually named
24782 something starting with __ and the normal name is an alias. */
24783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24784 choke me
24785 #else
24786 char (*f) () = $ac_func;
24787 #endif
24788 #ifdef __cplusplus
24789 }
24790 #endif
24791
24792 int
24793 main ()
24794 {
24795 return f != $ac_func;
24796 ;
24797 return 0;
24798 }
24799 _ACEOF
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802 (eval $ac_link) 2>conftest.er1
24803 ac_status=$?
24804 grep -v '^ *+' conftest.er1 >conftest.err
24805 rm -f conftest.er1
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try='test -z "$ac_c_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24813 ac_status=$?
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try='test -s conftest$ac_exeext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 eval "$as_ac_var=yes"
24823 else
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24826
24827 eval "$as_ac_var=no"
24828 fi
24829 rm -f conftest.err conftest.$ac_objext \
24830 conftest$ac_exeext conftest.$ac_ext
24831 fi
24832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24834 if test `eval echo '${'$as_ac_var'}'` = yes; then
24835 cat >>confdefs.h <<_ACEOF
24836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24837 _ACEOF
24838
24839 fi
24840 done
24841
24842 fi
24843 fi
24844
24845
24846
24847
24848
24849
24850 echo "$as_me:$LINENO: checking for sincos declaration" >&5
24851 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
24852 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
24853 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 else
24856
24857
24858
24859 ac_ext=cc
24860 ac_cpp='$CXXCPP $CPPFLAGS'
24861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24864
24865 cat >conftest.$ac_ext <<_ACEOF
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 #include <math.h>
24872 int
24873 main ()
24874 {
24875 sincos(0, 0, 0);
24876 ;
24877 return 0;
24878 }
24879 _ACEOF
24880 rm -f conftest.$ac_objext
24881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24882 (eval $ac_compile) 2>conftest.er1
24883 ac_status=$?
24884 grep -v '^ *+' conftest.er1 >conftest.err
24885 rm -f conftest.er1
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } &&
24889 { ac_try='test -z "$ac_cxx_werror_flag"
24890 || test ! -s conftest.err'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24893 ac_status=$?
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; } &&
24896 { ac_try='test -s conftest.$ac_objext'
24897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898 (eval $ac_try) 2>&5
24899 ac_status=$?
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); }; }; then
24902 glibcxx_cv_func_sincos_use=yes
24903 else
24904 echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.$ac_ext >&5
24906
24907 glibcxx_cv_func_sincos_use=no
24908 fi
24909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ac_ext=c
24911 ac_cpp='$CPP $CPPFLAGS'
24912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24915
24916
24917 fi
24918
24919 fi
24920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
24921 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
24922
24923 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
24924
24925 for ac_func in sincos
24926 do
24927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24928 echo "$as_me:$LINENO: checking for $ac_func" >&5
24929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24930 if eval "test \"\${$as_ac_var+set}\" = set"; then
24931 echo $ECHO_N "(cached) $ECHO_C" >&6
24932 else
24933 if test x$gcc_no_link = xyes; then
24934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24936 { (exit 1); exit 1; }; }
24937 fi
24938 cat >conftest.$ac_ext <<_ACEOF
24939 /* confdefs.h. */
24940 _ACEOF
24941 cat confdefs.h >>conftest.$ac_ext
24942 cat >>conftest.$ac_ext <<_ACEOF
24943 /* end confdefs.h. */
24944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24946 #define $ac_func innocuous_$ac_func
24947
24948 /* System header to define __stub macros and hopefully few prototypes,
24949 which can conflict with char $ac_func (); below.
24950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24951 <limits.h> exists even on freestanding compilers. */
24952
24953 #ifdef __STDC__
24954 # include <limits.h>
24955 #else
24956 # include <assert.h>
24957 #endif
24958
24959 #undef $ac_func
24960
24961 /* Override any gcc2 internal prototype to avoid an error. */
24962 #ifdef __cplusplus
24963 extern "C"
24964 {
24965 #endif
24966 /* We use char because int might match the return type of a gcc2
24967 builtin and then its argument prototype would still apply. */
24968 char $ac_func ();
24969 /* The GNU C library defines this for functions which it implements
24970 to always fail with ENOSYS. Some functions are actually named
24971 something starting with __ and the normal name is an alias. */
24972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24973 choke me
24974 #else
24975 char (*f) () = $ac_func;
24976 #endif
24977 #ifdef __cplusplus
24978 }
24979 #endif
24980
24981 int
24982 main ()
24983 {
24984 return f != $ac_func;
24985 ;
24986 return 0;
24987 }
24988 _ACEOF
24989 rm -f conftest.$ac_objext conftest$ac_exeext
24990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24991 (eval $ac_link) 2>conftest.er1
24992 ac_status=$?
24993 grep -v '^ *+' conftest.er1 >conftest.err
24994 rm -f conftest.er1
24995 cat conftest.err >&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } &&
24998 { ac_try='test -z "$ac_c_werror_flag"
24999 || test ! -s conftest.err'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; } &&
25005 { ac_try='test -s conftest$ac_exeext'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25008 ac_status=$?
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; }; then
25011 eval "$as_ac_var=yes"
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25015
25016 eval "$as_ac_var=no"
25017 fi
25018 rm -f conftest.err conftest.$ac_objext \
25019 conftest$ac_exeext conftest.$ac_ext
25020 fi
25021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25023 if test `eval echo '${'$as_ac_var'}'` = yes; then
25024 cat >>confdefs.h <<_ACEOF
25025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25026 _ACEOF
25027
25028 fi
25029 done
25030
25031 else
25032
25033 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25034 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25035 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25036 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 else
25039
25040
25041
25042 ac_ext=cc
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25047
25048 cat >conftest.$ac_ext <<_ACEOF
25049 /* confdefs.h. */
25050 _ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 #include <math.h>
25055 int
25056 main ()
25057 {
25058 _sincos(0, 0, 0);
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 rm -f conftest.$ac_objext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25065 (eval $ac_compile) 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try='test -z "$ac_cxx_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25076 ac_status=$?
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try='test -s conftest.$ac_objext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 glibcxx_cv_func__sincos_use=yes
25086 else
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.$ac_ext >&5
25089
25090 glibcxx_cv_func__sincos_use=no
25091 fi
25092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25098
25099
25100 fi
25101
25102 fi
25103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25104 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25105
25106 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25107
25108 for ac_func in _sincos
25109 do
25110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25111 echo "$as_me:$LINENO: checking for $ac_func" >&5
25112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25113 if eval "test \"\${$as_ac_var+set}\" = set"; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 else
25116 if test x$gcc_no_link = xyes; then
25117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25119 { (exit 1); exit 1; }; }
25120 fi
25121 cat >conftest.$ac_ext <<_ACEOF
25122 /* confdefs.h. */
25123 _ACEOF
25124 cat confdefs.h >>conftest.$ac_ext
25125 cat >>conftest.$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25129 #define $ac_func innocuous_$ac_func
25130
25131 /* System header to define __stub macros and hopefully few prototypes,
25132 which can conflict with char $ac_func (); below.
25133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25134 <limits.h> exists even on freestanding compilers. */
25135
25136 #ifdef __STDC__
25137 # include <limits.h>
25138 #else
25139 # include <assert.h>
25140 #endif
25141
25142 #undef $ac_func
25143
25144 /* Override any gcc2 internal prototype to avoid an error. */
25145 #ifdef __cplusplus
25146 extern "C"
25147 {
25148 #endif
25149 /* We use char because int might match the return type of a gcc2
25150 builtin and then its argument prototype would still apply. */
25151 char $ac_func ();
25152 /* The GNU C library defines this for functions which it implements
25153 to always fail with ENOSYS. Some functions are actually named
25154 something starting with __ and the normal name is an alias. */
25155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25156 choke me
25157 #else
25158 char (*f) () = $ac_func;
25159 #endif
25160 #ifdef __cplusplus
25161 }
25162 #endif
25163
25164 int
25165 main ()
25166 {
25167 return f != $ac_func;
25168 ;
25169 return 0;
25170 }
25171 _ACEOF
25172 rm -f conftest.$ac_objext conftest$ac_exeext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25174 (eval $ac_link) 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try='test -z "$ac_c_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try='test -s conftest$ac_exeext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25191 ac_status=$?
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 eval "$as_ac_var=yes"
25195 else
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25198
25199 eval "$as_ac_var=no"
25200 fi
25201 rm -f conftest.err conftest.$ac_objext \
25202 conftest$ac_exeext conftest.$ac_ext
25203 fi
25204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25206 if test `eval echo '${'$as_ac_var'}'` = yes; then
25207 cat >>confdefs.h <<_ACEOF
25208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25209 _ACEOF
25210
25211 fi
25212 done
25213
25214 fi
25215 fi
25216
25217
25218
25219
25220
25221
25222 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25223 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25224 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25225 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 else
25228
25229
25230
25231 ac_ext=cc
25232 ac_cpp='$CXXCPP $CPPFLAGS'
25233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236
25237 cat >conftest.$ac_ext <<_ACEOF
25238 /* confdefs.h. */
25239 _ACEOF
25240 cat confdefs.h >>conftest.$ac_ext
25241 cat >>conftest.$ac_ext <<_ACEOF
25242 /* end confdefs.h. */
25243 #include <math.h>
25244 #ifdef HAVE_IEEEFP_H
25245 #include <ieeefp.h>
25246 #endif
25247
25248 int
25249 main ()
25250 {
25251 fpclass(0);
25252 ;
25253 return 0;
25254 }
25255 _ACEOF
25256 rm -f conftest.$ac_objext
25257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25258 (eval $ac_compile) 2>conftest.er1
25259 ac_status=$?
25260 grep -v '^ *+' conftest.er1 >conftest.err
25261 rm -f conftest.er1
25262 cat conftest.err >&5
25263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264 (exit $ac_status); } &&
25265 { ac_try='test -z "$ac_cxx_werror_flag"
25266 || test ! -s conftest.err'
25267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25268 (eval $ac_try) 2>&5
25269 ac_status=$?
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); }; } &&
25272 { ac_try='test -s conftest.$ac_objext'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25275 ac_status=$?
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; }; then
25278 glibcxx_cv_func_fpclass_use=yes
25279 else
25280 echo "$as_me: failed program was:" >&5
25281 sed 's/^/| /' conftest.$ac_ext >&5
25282
25283 glibcxx_cv_func_fpclass_use=no
25284 fi
25285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25286 ac_ext=c
25287 ac_cpp='$CPP $CPPFLAGS'
25288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25291
25292
25293 fi
25294
25295 fi
25296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25297 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25298
25299 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25300
25301 for ac_func in fpclass
25302 do
25303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25304 echo "$as_me:$LINENO: checking for $ac_func" >&5
25305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25306 if eval "test \"\${$as_ac_var+set}\" = set"; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 else
25309 if test x$gcc_no_link = xyes; then
25310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25312 { (exit 1); exit 1; }; }
25313 fi
25314 cat >conftest.$ac_ext <<_ACEOF
25315 /* confdefs.h. */
25316 _ACEOF
25317 cat confdefs.h >>conftest.$ac_ext
25318 cat >>conftest.$ac_ext <<_ACEOF
25319 /* end confdefs.h. */
25320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25322 #define $ac_func innocuous_$ac_func
25323
25324 /* System header to define __stub macros and hopefully few prototypes,
25325 which can conflict with char $ac_func (); below.
25326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25327 <limits.h> exists even on freestanding compilers. */
25328
25329 #ifdef __STDC__
25330 # include <limits.h>
25331 #else
25332 # include <assert.h>
25333 #endif
25334
25335 #undef $ac_func
25336
25337 /* Override any gcc2 internal prototype to avoid an error. */
25338 #ifdef __cplusplus
25339 extern "C"
25340 {
25341 #endif
25342 /* We use char because int might match the return type of a gcc2
25343 builtin and then its argument prototype would still apply. */
25344 char $ac_func ();
25345 /* The GNU C library defines this for functions which it implements
25346 to always fail with ENOSYS. Some functions are actually named
25347 something starting with __ and the normal name is an alias. */
25348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25349 choke me
25350 #else
25351 char (*f) () = $ac_func;
25352 #endif
25353 #ifdef __cplusplus
25354 }
25355 #endif
25356
25357 int
25358 main ()
25359 {
25360 return f != $ac_func;
25361 ;
25362 return 0;
25363 }
25364 _ACEOF
25365 rm -f conftest.$ac_objext conftest$ac_exeext
25366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25367 (eval $ac_link) 2>conftest.er1
25368 ac_status=$?
25369 grep -v '^ *+' conftest.er1 >conftest.err
25370 rm -f conftest.er1
25371 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } &&
25374 { ac_try='test -z "$ac_c_werror_flag"
25375 || test ! -s conftest.err'
25376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377 (eval $ac_try) 2>&5
25378 ac_status=$?
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; } &&
25381 { ac_try='test -s conftest$ac_exeext'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25384 ac_status=$?
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; }; then
25387 eval "$as_ac_var=yes"
25388 else
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.$ac_ext >&5
25391
25392 eval "$as_ac_var=no"
25393 fi
25394 rm -f conftest.err conftest.$ac_objext \
25395 conftest$ac_exeext conftest.$ac_ext
25396 fi
25397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25399 if test `eval echo '${'$as_ac_var'}'` = yes; then
25400 cat >>confdefs.h <<_ACEOF
25401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25402 _ACEOF
25403
25404 fi
25405 done
25406
25407 else
25408
25409 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25410 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25411 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25412 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 else
25415
25416
25417
25418 ac_ext=cc
25419 ac_cpp='$CXXCPP $CPPFLAGS'
25420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25423
25424 cat >conftest.$ac_ext <<_ACEOF
25425 /* confdefs.h. */
25426 _ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25430 #include <math.h>
25431 #ifdef HAVE_IEEEFP_H
25432 #include <ieeefp.h>
25433 #endif
25434
25435 int
25436 main ()
25437 {
25438 _fpclass(0);
25439 ;
25440 return 0;
25441 }
25442 _ACEOF
25443 rm -f conftest.$ac_objext
25444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25445 (eval $ac_compile) 2>conftest.er1
25446 ac_status=$?
25447 grep -v '^ *+' conftest.er1 >conftest.err
25448 rm -f conftest.er1
25449 cat conftest.err >&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } &&
25452 { ac_try='test -z "$ac_cxx_werror_flag"
25453 || test ! -s conftest.err'
25454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25455 (eval $ac_try) 2>&5
25456 ac_status=$?
25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458 (exit $ac_status); }; } &&
25459 { ac_try='test -s conftest.$ac_objext'
25460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25461 (eval $ac_try) 2>&5
25462 ac_status=$?
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); }; }; then
25465 glibcxx_cv_func__fpclass_use=yes
25466 else
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.$ac_ext >&5
25469
25470 glibcxx_cv_func__fpclass_use=no
25471 fi
25472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25473 ac_ext=c
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478
25479
25480 fi
25481
25482 fi
25483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25484 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25485
25486 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25487
25488 for ac_func in _fpclass
25489 do
25490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25491 echo "$as_me:$LINENO: checking for $ac_func" >&5
25492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25493 if eval "test \"\${$as_ac_var+set}\" = set"; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 else
25496 if test x$gcc_no_link = xyes; then
25497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25499 { (exit 1); exit 1; }; }
25500 fi
25501 cat >conftest.$ac_ext <<_ACEOF
25502 /* confdefs.h. */
25503 _ACEOF
25504 cat confdefs.h >>conftest.$ac_ext
25505 cat >>conftest.$ac_ext <<_ACEOF
25506 /* end confdefs.h. */
25507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25509 #define $ac_func innocuous_$ac_func
25510
25511 /* System header to define __stub macros and hopefully few prototypes,
25512 which can conflict with char $ac_func (); below.
25513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25514 <limits.h> exists even on freestanding compilers. */
25515
25516 #ifdef __STDC__
25517 # include <limits.h>
25518 #else
25519 # include <assert.h>
25520 #endif
25521
25522 #undef $ac_func
25523
25524 /* Override any gcc2 internal prototype to avoid an error. */
25525 #ifdef __cplusplus
25526 extern "C"
25527 {
25528 #endif
25529 /* We use char because int might match the return type of a gcc2
25530 builtin and then its argument prototype would still apply. */
25531 char $ac_func ();
25532 /* The GNU C library defines this for functions which it implements
25533 to always fail with ENOSYS. Some functions are actually named
25534 something starting with __ and the normal name is an alias. */
25535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25536 choke me
25537 #else
25538 char (*f) () = $ac_func;
25539 #endif
25540 #ifdef __cplusplus
25541 }
25542 #endif
25543
25544 int
25545 main ()
25546 {
25547 return f != $ac_func;
25548 ;
25549 return 0;
25550 }
25551 _ACEOF
25552 rm -f conftest.$ac_objext conftest$ac_exeext
25553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25554 (eval $ac_link) 2>conftest.er1
25555 ac_status=$?
25556 grep -v '^ *+' conftest.er1 >conftest.err
25557 rm -f conftest.er1
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } &&
25561 { ac_try='test -z "$ac_c_werror_flag"
25562 || test ! -s conftest.err'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25565 ac_status=$?
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; } &&
25568 { ac_try='test -s conftest$ac_exeext'
25569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25570 (eval $ac_try) 2>&5
25571 ac_status=$?
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); }; }; then
25574 eval "$as_ac_var=yes"
25575 else
25576 echo "$as_me: failed program was:" >&5
25577 sed 's/^/| /' conftest.$ac_ext >&5
25578
25579 eval "$as_ac_var=no"
25580 fi
25581 rm -f conftest.err conftest.$ac_objext \
25582 conftest$ac_exeext conftest.$ac_ext
25583 fi
25584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25586 if test `eval echo '${'$as_ac_var'}'` = yes; then
25587 cat >>confdefs.h <<_ACEOF
25588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25589 _ACEOF
25590
25591 fi
25592 done
25593
25594 fi
25595 fi
25596
25597
25598
25599
25600
25601
25602 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25603 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25604 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25605 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 else
25608
25609
25610
25611 ac_ext=cc
25612 ac_cpp='$CXXCPP $CPPFLAGS'
25613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616
25617 cat >conftest.$ac_ext <<_ACEOF
25618 /* confdefs.h. */
25619 _ACEOF
25620 cat confdefs.h >>conftest.$ac_ext
25621 cat >>conftest.$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623 #include <math.h>
25624 #ifdef HAVE_IEEEFP_H
25625 #include <ieeefp.h>
25626 #endif
25627
25628 int
25629 main ()
25630 {
25631 qfpclass(0);
25632 ;
25633 return 0;
25634 }
25635 _ACEOF
25636 rm -f conftest.$ac_objext
25637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25638 (eval $ac_compile) 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_cxx_werror_flag"
25646 || test ! -s conftest.err'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; } &&
25652 { ac_try='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25658 glibcxx_cv_func_qfpclass_use=yes
25659 else
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25662
25663 glibcxx_cv_func_qfpclass_use=no
25664 fi
25665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25671
25672
25673 fi
25674
25675 fi
25676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
25677 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
25678
25679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
25680
25681 for ac_func in qfpclass
25682 do
25683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25684 echo "$as_me:$LINENO: checking for $ac_func" >&5
25685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25686 if eval "test \"\${$as_ac_var+set}\" = set"; then
25687 echo $ECHO_N "(cached) $ECHO_C" >&6
25688 else
25689 if test x$gcc_no_link = xyes; then
25690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25692 { (exit 1); exit 1; }; }
25693 fi
25694 cat >conftest.$ac_ext <<_ACEOF
25695 /* confdefs.h. */
25696 _ACEOF
25697 cat confdefs.h >>conftest.$ac_ext
25698 cat >>conftest.$ac_ext <<_ACEOF
25699 /* end confdefs.h. */
25700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25702 #define $ac_func innocuous_$ac_func
25703
25704 /* System header to define __stub macros and hopefully few prototypes,
25705 which can conflict with char $ac_func (); below.
25706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25707 <limits.h> exists even on freestanding compilers. */
25708
25709 #ifdef __STDC__
25710 # include <limits.h>
25711 #else
25712 # include <assert.h>
25713 #endif
25714
25715 #undef $ac_func
25716
25717 /* Override any gcc2 internal prototype to avoid an error. */
25718 #ifdef __cplusplus
25719 extern "C"
25720 {
25721 #endif
25722 /* We use char because int might match the return type of a gcc2
25723 builtin and then its argument prototype would still apply. */
25724 char $ac_func ();
25725 /* The GNU C library defines this for functions which it implements
25726 to always fail with ENOSYS. Some functions are actually named
25727 something starting with __ and the normal name is an alias. */
25728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25729 choke me
25730 #else
25731 char (*f) () = $ac_func;
25732 #endif
25733 #ifdef __cplusplus
25734 }
25735 #endif
25736
25737 int
25738 main ()
25739 {
25740 return f != $ac_func;
25741 ;
25742 return 0;
25743 }
25744 _ACEOF
25745 rm -f conftest.$ac_objext conftest$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25748 ac_status=$?
25749 grep -v '^ *+' conftest.er1 >conftest.err
25750 rm -f conftest.er1
25751 cat conftest.err >&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25764 ac_status=$?
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 eval "$as_ac_var=yes"
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 eval "$as_ac_var=no"
25773 fi
25774 rm -f conftest.err conftest.$ac_objext \
25775 conftest$ac_exeext conftest.$ac_ext
25776 fi
25777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25779 if test `eval echo '${'$as_ac_var'}'` = yes; then
25780 cat >>confdefs.h <<_ACEOF
25781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25782 _ACEOF
25783
25784 fi
25785 done
25786
25787 else
25788
25789 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
25790 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
25791 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
25792 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25795
25796
25797
25798 ac_ext=cc
25799 ac_cpp='$CXXCPP $CPPFLAGS'
25800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25803
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 #include <math.h>
25811 #ifdef HAVE_IEEEFP_H
25812 #include <ieeefp.h>
25813 #endif
25814
25815 int
25816 main ()
25817 {
25818 _qfpclass(0);
25819 ;
25820 return 0;
25821 }
25822 _ACEOF
25823 rm -f conftest.$ac_objext
25824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25825 (eval $ac_compile) 2>conftest.er1
25826 ac_status=$?
25827 grep -v '^ *+' conftest.er1 >conftest.err
25828 rm -f conftest.er1
25829 cat conftest.err >&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); } &&
25832 { ac_try='test -z "$ac_cxx_werror_flag"
25833 || test ! -s conftest.err'
25834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835 (eval $ac_try) 2>&5
25836 ac_status=$?
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }; } &&
25839 { ac_try='test -s conftest.$ac_objext'
25840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25841 (eval $ac_try) 2>&5
25842 ac_status=$?
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); }; }; then
25845 glibcxx_cv_func__qfpclass_use=yes
25846 else
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.$ac_ext >&5
25849
25850 glibcxx_cv_func__qfpclass_use=no
25851 fi
25852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25853 ac_ext=c
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25858
25859
25860 fi
25861
25862 fi
25863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
25864 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
25865
25866 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
25867
25868 for ac_func in _qfpclass
25869 do
25870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25871 echo "$as_me:$LINENO: checking for $ac_func" >&5
25872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25873 if eval "test \"\${$as_ac_var+set}\" = set"; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25875 else
25876 if test x$gcc_no_link = xyes; then
25877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25879 { (exit 1); exit 1; }; }
25880 fi
25881 cat >conftest.$ac_ext <<_ACEOF
25882 /* confdefs.h. */
25883 _ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25889 #define $ac_func innocuous_$ac_func
25890
25891 /* System header to define __stub macros and hopefully few prototypes,
25892 which can conflict with char $ac_func (); below.
25893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25894 <limits.h> exists even on freestanding compilers. */
25895
25896 #ifdef __STDC__
25897 # include <limits.h>
25898 #else
25899 # include <assert.h>
25900 #endif
25901
25902 #undef $ac_func
25903
25904 /* Override any gcc2 internal prototype to avoid an error. */
25905 #ifdef __cplusplus
25906 extern "C"
25907 {
25908 #endif
25909 /* We use char because int might match the return type of a gcc2
25910 builtin and then its argument prototype would still apply. */
25911 char $ac_func ();
25912 /* The GNU C library defines this for functions which it implements
25913 to always fail with ENOSYS. Some functions are actually named
25914 something starting with __ and the normal name is an alias. */
25915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25916 choke me
25917 #else
25918 char (*f) () = $ac_func;
25919 #endif
25920 #ifdef __cplusplus
25921 }
25922 #endif
25923
25924 int
25925 main ()
25926 {
25927 return f != $ac_func;
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 rm -f conftest.$ac_objext conftest$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>conftest.er1
25935 ac_status=$?
25936 grep -v '^ *+' conftest.er1 >conftest.err
25937 rm -f conftest.er1
25938 cat conftest.err >&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try='test -z "$ac_c_werror_flag"
25942 || test ! -s conftest.err'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; } &&
25948 { ac_try='test -s conftest$ac_exeext'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; }; then
25954 eval "$as_ac_var=yes"
25955 else
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.$ac_ext >&5
25958
25959 eval "$as_ac_var=no"
25960 fi
25961 rm -f conftest.err conftest.$ac_objext \
25962 conftest$ac_exeext conftest.$ac_ext
25963 fi
25964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25966 if test `eval echo '${'$as_ac_var'}'` = yes; then
25967 cat >>confdefs.h <<_ACEOF
25968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25969 _ACEOF
25970
25971 fi
25972 done
25973
25974 fi
25975 fi
25976
25977
25978
25979
25980
25981
25982 echo "$as_me:$LINENO: checking for hypot declaration" >&5
25983 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
25984 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
25985 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 else
25988
25989
25990
25991 ac_ext=cc
25992 ac_cpp='$CXXCPP $CPPFLAGS'
25993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25996
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 int
26005 main ()
26006 {
26007 hypot(0, 0);
26008 ;
26009 return 0;
26010 }
26011 _ACEOF
26012 rm -f conftest.$ac_objext
26013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26014 (eval $ac_compile) 2>conftest.er1
26015 ac_status=$?
26016 grep -v '^ *+' conftest.er1 >conftest.err
26017 rm -f conftest.er1
26018 cat conftest.err >&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } &&
26021 { ac_try='test -z "$ac_cxx_werror_flag"
26022 || test ! -s conftest.err'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; } &&
26028 { ac_try='test -s conftest.$ac_objext'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26031 ac_status=$?
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; }; then
26034 glibcxx_cv_func_hypot_use=yes
26035 else
26036 echo "$as_me: failed program was:" >&5
26037 sed 's/^/| /' conftest.$ac_ext >&5
26038
26039 glibcxx_cv_func_hypot_use=no
26040 fi
26041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26042 ac_ext=c
26043 ac_cpp='$CPP $CPPFLAGS'
26044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26047
26048
26049 fi
26050
26051 fi
26052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26053 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26054
26055 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26056
26057 for ac_func in hypot
26058 do
26059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26060 echo "$as_me:$LINENO: checking for $ac_func" >&5
26061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26062 if eval "test \"\${$as_ac_var+set}\" = set"; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065 if test x$gcc_no_link = xyes; then
26066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26068 { (exit 1); exit 1; }; }
26069 fi
26070 cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h. */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26078 #define $ac_func innocuous_$ac_func
26079
26080 /* System header to define __stub macros and hopefully few prototypes,
26081 which can conflict with char $ac_func (); below.
26082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26083 <limits.h> exists even on freestanding compilers. */
26084
26085 #ifdef __STDC__
26086 # include <limits.h>
26087 #else
26088 # include <assert.h>
26089 #endif
26090
26091 #undef $ac_func
26092
26093 /* Override any gcc2 internal prototype to avoid an error. */
26094 #ifdef __cplusplus
26095 extern "C"
26096 {
26097 #endif
26098 /* We use char because int might match the return type of a gcc2
26099 builtin and then its argument prototype would still apply. */
26100 char $ac_func ();
26101 /* The GNU C library defines this for functions which it implements
26102 to always fail with ENOSYS. Some functions are actually named
26103 something starting with __ and the normal name is an alias. */
26104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26105 choke me
26106 #else
26107 char (*f) () = $ac_func;
26108 #endif
26109 #ifdef __cplusplus
26110 }
26111 #endif
26112
26113 int
26114 main ()
26115 {
26116 return f != $ac_func;
26117 ;
26118 return 0;
26119 }
26120 _ACEOF
26121 rm -f conftest.$ac_objext conftest$ac_exeext
26122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26123 (eval $ac_link) 2>conftest.er1
26124 ac_status=$?
26125 grep -v '^ *+' conftest.er1 >conftest.err
26126 rm -f conftest.er1
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } &&
26130 { ac_try='test -z "$ac_c_werror_flag"
26131 || test ! -s conftest.err'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26134 ac_status=$?
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; } &&
26137 { ac_try='test -s conftest$ac_exeext'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26140 ac_status=$?
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; }; then
26143 eval "$as_ac_var=yes"
26144 else
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.$ac_ext >&5
26147
26148 eval "$as_ac_var=no"
26149 fi
26150 rm -f conftest.err conftest.$ac_objext \
26151 conftest$ac_exeext conftest.$ac_ext
26152 fi
26153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26155 if test `eval echo '${'$as_ac_var'}'` = yes; then
26156 cat >>confdefs.h <<_ACEOF
26157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26158 _ACEOF
26159
26160 fi
26161 done
26162
26163 else
26164
26165 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26166 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26167 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26168 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26169 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 else
26171
26172
26173
26174 ac_ext=cc
26175 ac_cpp='$CXXCPP $CPPFLAGS'
26176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26179
26180 cat >conftest.$ac_ext <<_ACEOF
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <math.h>
26187 int
26188 main ()
26189 {
26190 _hypot(0, 0);
26191 ;
26192 return 0;
26193 }
26194 _ACEOF
26195 rm -f conftest.$ac_objext
26196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26197 (eval $ac_compile) 2>conftest.er1
26198 ac_status=$?
26199 grep -v '^ *+' conftest.er1 >conftest.err
26200 rm -f conftest.er1
26201 cat conftest.err >&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } &&
26204 { ac_try='test -z "$ac_cxx_werror_flag"
26205 || test ! -s conftest.err'
26206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207 (eval $ac_try) 2>&5
26208 ac_status=$?
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); }; } &&
26211 { ac_try='test -s conftest.$ac_objext'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26214 ac_status=$?
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; }; then
26217 glibcxx_cv_func__hypot_use=yes
26218 else
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.$ac_ext >&5
26221
26222 glibcxx_cv_func__hypot_use=no
26223 fi
26224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26225 ac_ext=c
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230
26231
26232 fi
26233
26234 fi
26235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26236 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26237
26238 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26239
26240 for ac_func in _hypot
26241 do
26242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26243 echo "$as_me:$LINENO: checking for $ac_func" >&5
26244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26245 if eval "test \"\${$as_ac_var+set}\" = set"; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 else
26248 if test x$gcc_no_link = xyes; then
26249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26251 { (exit 1); exit 1; }; }
26252 fi
26253 cat >conftest.$ac_ext <<_ACEOF
26254 /* confdefs.h. */
26255 _ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26261 #define $ac_func innocuous_$ac_func
26262
26263 /* System header to define __stub macros and hopefully few prototypes,
26264 which can conflict with char $ac_func (); below.
26265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26266 <limits.h> exists even on freestanding compilers. */
26267
26268 #ifdef __STDC__
26269 # include <limits.h>
26270 #else
26271 # include <assert.h>
26272 #endif
26273
26274 #undef $ac_func
26275
26276 /* Override any gcc2 internal prototype to avoid an error. */
26277 #ifdef __cplusplus
26278 extern "C"
26279 {
26280 #endif
26281 /* We use char because int might match the return type of a gcc2
26282 builtin and then its argument prototype would still apply. */
26283 char $ac_func ();
26284 /* The GNU C library defines this for functions which it implements
26285 to always fail with ENOSYS. Some functions are actually named
26286 something starting with __ and the normal name is an alias. */
26287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26288 choke me
26289 #else
26290 char (*f) () = $ac_func;
26291 #endif
26292 #ifdef __cplusplus
26293 }
26294 #endif
26295
26296 int
26297 main ()
26298 {
26299 return f != $ac_func;
26300 ;
26301 return 0;
26302 }
26303 _ACEOF
26304 rm -f conftest.$ac_objext conftest$ac_exeext
26305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26306 (eval $ac_link) 2>conftest.er1
26307 ac_status=$?
26308 grep -v '^ *+' conftest.er1 >conftest.err
26309 rm -f conftest.er1
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try='test -z "$ac_c_werror_flag"
26314 || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26317 ac_status=$?
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326 eval "$as_ac_var=yes"
26327 else
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26330
26331 eval "$as_ac_var=no"
26332 fi
26333 rm -f conftest.err conftest.$ac_objext \
26334 conftest$ac_exeext conftest.$ac_ext
26335 fi
26336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26338 if test `eval echo '${'$as_ac_var'}'` = yes; then
26339 cat >>confdefs.h <<_ACEOF
26340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26341 _ACEOF
26342
26343 fi
26344 done
26345
26346 fi
26347 fi
26348
26349
26350
26351
26352
26353
26354 echo "$as_me:$LINENO: checking for float trig functions" >&5
26355 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26356 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26359
26360
26361
26362 ac_ext=cc
26363 ac_cpp='$CXXCPP $CPPFLAGS'
26364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26367
26368 cat >conftest.$ac_ext <<_ACEOF
26369 /* confdefs.h. */
26370 _ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 #include <math.h>
26375 int
26376 main ()
26377 {
26378 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26379 ;
26380 return 0;
26381 }
26382 _ACEOF
26383 rm -f conftest.$ac_objext
26384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26385 (eval $ac_compile) 2>conftest.er1
26386 ac_status=$?
26387 grep -v '^ *+' conftest.er1 >conftest.err
26388 rm -f conftest.er1
26389 cat conftest.err >&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } &&
26392 { ac_try='test -z "$ac_cxx_werror_flag"
26393 || test ! -s conftest.err'
26394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26395 (eval $ac_try) 2>&5
26396 ac_status=$?
26397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26398 (exit $ac_status); }; } &&
26399 { ac_try='test -s conftest.$ac_objext'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; }; then
26405 glibcxx_cv_func_float_trig_use=yes
26406 else
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26409
26410 glibcxx_cv_func_float_trig_use=no
26411 fi
26412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26413 ac_ext=c
26414 ac_cpp='$CPP $CPPFLAGS'
26415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26418
26419 fi
26420
26421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26422 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26423 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26434 do
26435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26436 echo "$as_me:$LINENO: checking for $ac_func" >&5
26437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26438 if eval "test \"\${$as_ac_var+set}\" = set"; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26440 else
26441 if test x$gcc_no_link = xyes; then
26442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26444 { (exit 1); exit 1; }; }
26445 fi
26446 cat >conftest.$ac_ext <<_ACEOF
26447 /* confdefs.h. */
26448 _ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26454 #define $ac_func innocuous_$ac_func
26455
26456 /* System header to define __stub macros and hopefully few prototypes,
26457 which can conflict with char $ac_func (); below.
26458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26459 <limits.h> exists even on freestanding compilers. */
26460
26461 #ifdef __STDC__
26462 # include <limits.h>
26463 #else
26464 # include <assert.h>
26465 #endif
26466
26467 #undef $ac_func
26468
26469 /* Override any gcc2 internal prototype to avoid an error. */
26470 #ifdef __cplusplus
26471 extern "C"
26472 {
26473 #endif
26474 /* We use char because int might match the return type of a gcc2
26475 builtin and then its argument prototype would still apply. */
26476 char $ac_func ();
26477 /* The GNU C library defines this for functions which it implements
26478 to always fail with ENOSYS. Some functions are actually named
26479 something starting with __ and the normal name is an alias. */
26480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26481 choke me
26482 #else
26483 char (*f) () = $ac_func;
26484 #endif
26485 #ifdef __cplusplus
26486 }
26487 #endif
26488
26489 int
26490 main ()
26491 {
26492 return f != $ac_func;
26493 ;
26494 return 0;
26495 }
26496 _ACEOF
26497 rm -f conftest.$ac_objext conftest$ac_exeext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499 (eval $ac_link) 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } &&
26506 { ac_try='test -z "$ac_c_werror_flag"
26507 || test ! -s conftest.err'
26508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26509 (eval $ac_try) 2>&5
26510 ac_status=$?
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); }; } &&
26513 { ac_try='test -s conftest$ac_exeext'
26514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26515 (eval $ac_try) 2>&5
26516 ac_status=$?
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); }; }; then
26519 eval "$as_ac_var=yes"
26520 else
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 eval "$as_ac_var=no"
26525 fi
26526 rm -f conftest.err conftest.$ac_objext \
26527 conftest$ac_exeext conftest.$ac_ext
26528 fi
26529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26531 if test `eval echo '${'$as_ac_var'}'` = yes; then
26532 cat >>confdefs.h <<_ACEOF
26533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26534 _ACEOF
26535
26536 fi
26537 done
26538
26539 else
26540 echo "$as_me:$LINENO: checking for _float trig functions" >&5
26541 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26542 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26545
26546
26547
26548 ac_ext=cc
26549 ac_cpp='$CXXCPP $CPPFLAGS'
26550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26553
26554 cat >conftest.$ac_ext <<_ACEOF
26555 /* confdefs.h. */
26556 _ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560 #include <math.h>
26561 int
26562 main ()
26563 {
26564 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26565 ;
26566 return 0;
26567 }
26568 _ACEOF
26569 rm -f conftest.$ac_objext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26571 (eval $ac_compile) 2>conftest.er1
26572 ac_status=$?
26573 grep -v '^ *+' conftest.er1 >conftest.err
26574 rm -f conftest.er1
26575 cat conftest.err >&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } &&
26578 { ac_try='test -z "$ac_cxx_werror_flag"
26579 || test ! -s conftest.err'
26580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581 (eval $ac_try) 2>&5
26582 ac_status=$?
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); }; } &&
26585 { ac_try='test -s conftest.$ac_objext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 glibcxx_cv_func__float_trig_use=yes
26592 else
26593 echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.$ac_ext >&5
26595
26596 glibcxx_cv_func__float_trig_use=no
26597 fi
26598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26599 ac_ext=c
26600 ac_cpp='$CPP $CPPFLAGS'
26601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26604
26605 fi
26606
26607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26608 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26609 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26620 do
26621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26622 echo "$as_me:$LINENO: checking for $ac_func" >&5
26623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26624 if eval "test \"\${$as_ac_var+set}\" = set"; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 else
26627 if test x$gcc_no_link = xyes; then
26628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26630 { (exit 1); exit 1; }; }
26631 fi
26632 cat >conftest.$ac_ext <<_ACEOF
26633 /* confdefs.h. */
26634 _ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26640 #define $ac_func innocuous_$ac_func
26641
26642 /* System header to define __stub macros and hopefully few prototypes,
26643 which can conflict with char $ac_func (); below.
26644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26645 <limits.h> exists even on freestanding compilers. */
26646
26647 #ifdef __STDC__
26648 # include <limits.h>
26649 #else
26650 # include <assert.h>
26651 #endif
26652
26653 #undef $ac_func
26654
26655 /* Override any gcc2 internal prototype to avoid an error. */
26656 #ifdef __cplusplus
26657 extern "C"
26658 {
26659 #endif
26660 /* We use char because int might match the return type of a gcc2
26661 builtin and then its argument prototype would still apply. */
26662 char $ac_func ();
26663 /* The GNU C library defines this for functions which it implements
26664 to always fail with ENOSYS. Some functions are actually named
26665 something starting with __ and the normal name is an alias. */
26666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26667 choke me
26668 #else
26669 char (*f) () = $ac_func;
26670 #endif
26671 #ifdef __cplusplus
26672 }
26673 #endif
26674
26675 int
26676 main ()
26677 {
26678 return f != $ac_func;
26679 ;
26680 return 0;
26681 }
26682 _ACEOF
26683 rm -f conftest.$ac_objext conftest$ac_exeext
26684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26685 (eval $ac_link) 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } &&
26692 { ac_try='test -z "$ac_c_werror_flag"
26693 || test ! -s conftest.err'
26694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26695 (eval $ac_try) 2>&5
26696 ac_status=$?
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); }; } &&
26699 { ac_try='test -s conftest$ac_exeext'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26702 ac_status=$?
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; }; then
26705 eval "$as_ac_var=yes"
26706 else
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.$ac_ext >&5
26709
26710 eval "$as_ac_var=no"
26711 fi
26712 rm -f conftest.err conftest.$ac_objext \
26713 conftest$ac_exeext conftest.$ac_ext
26714 fi
26715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26717 if test `eval echo '${'$as_ac_var'}'` = yes; then
26718 cat >>confdefs.h <<_ACEOF
26719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26720 _ACEOF
26721
26722 fi
26723 done
26724
26725 fi
26726 fi
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741 echo "$as_me:$LINENO: checking for float round functions" >&5
26742 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
26743 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 else
26746
26747
26748
26749 ac_ext=cc
26750 ac_cpp='$CXXCPP $CPPFLAGS'
26751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26754
26755 cat >conftest.$ac_ext <<_ACEOF
26756 /* confdefs.h. */
26757 _ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26761 #include <math.h>
26762 int
26763 main ()
26764 {
26765 ceilf (0); floorf (0);
26766 ;
26767 return 0;
26768 }
26769 _ACEOF
26770 rm -f conftest.$ac_objext
26771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26772 (eval $ac_compile) 2>conftest.er1
26773 ac_status=$?
26774 grep -v '^ *+' conftest.er1 >conftest.err
26775 rm -f conftest.er1
26776 cat conftest.err >&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } &&
26779 { ac_try='test -z "$ac_cxx_werror_flag"
26780 || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26783 ac_status=$?
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26792 glibcxx_cv_func_float_round_use=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 glibcxx_cv_func_float_round_use=no
26798 fi
26799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26800 ac_ext=c
26801 ac_cpp='$CPP $CPPFLAGS'
26802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26805
26806 fi
26807
26808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
26809 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
26810 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
26811
26812
26813 for ac_func in ceilf floorf
26814 do
26815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26816 echo "$as_me:$LINENO: checking for $ac_func" >&5
26817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26818 if eval "test \"\${$as_ac_var+set}\" = set"; then
26819 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 else
26821 if test x$gcc_no_link = xyes; then
26822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26824 { (exit 1); exit 1; }; }
26825 fi
26826 cat >conftest.$ac_ext <<_ACEOF
26827 /* confdefs.h. */
26828 _ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26834 #define $ac_func innocuous_$ac_func
26835
26836 /* System header to define __stub macros and hopefully few prototypes,
26837 which can conflict with char $ac_func (); below.
26838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26839 <limits.h> exists even on freestanding compilers. */
26840
26841 #ifdef __STDC__
26842 # include <limits.h>
26843 #else
26844 # include <assert.h>
26845 #endif
26846
26847 #undef $ac_func
26848
26849 /* Override any gcc2 internal prototype to avoid an error. */
26850 #ifdef __cplusplus
26851 extern "C"
26852 {
26853 #endif
26854 /* We use char because int might match the return type of a gcc2
26855 builtin and then its argument prototype would still apply. */
26856 char $ac_func ();
26857 /* The GNU C library defines this for functions which it implements
26858 to always fail with ENOSYS. Some functions are actually named
26859 something starting with __ and the normal name is an alias. */
26860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26861 choke me
26862 #else
26863 char (*f) () = $ac_func;
26864 #endif
26865 #ifdef __cplusplus
26866 }
26867 #endif
26868
26869 int
26870 main ()
26871 {
26872 return f != $ac_func;
26873 ;
26874 return 0;
26875 }
26876 _ACEOF
26877 rm -f conftest.$ac_objext conftest$ac_exeext
26878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26879 (eval $ac_link) 2>conftest.er1
26880 ac_status=$?
26881 grep -v '^ *+' conftest.er1 >conftest.err
26882 rm -f conftest.er1
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } &&
26886 { ac_try='test -z "$ac_c_werror_flag"
26887 || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26890 ac_status=$?
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try='test -s conftest$ac_exeext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26896 ac_status=$?
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 eval "$as_ac_var=yes"
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 eval "$as_ac_var=no"
26905 fi
26906 rm -f conftest.err conftest.$ac_objext \
26907 conftest$ac_exeext conftest.$ac_ext
26908 fi
26909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26911 if test `eval echo '${'$as_ac_var'}'` = yes; then
26912 cat >>confdefs.h <<_ACEOF
26913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26914 _ACEOF
26915
26916 fi
26917 done
26918
26919 else
26920 echo "$as_me:$LINENO: checking for _float round functions" >&5
26921 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
26922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26925
26926
26927
26928 ac_ext=cc
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940 #include <math.h>
26941 int
26942 main ()
26943 {
26944 _ceilf (0); _floorf (0);
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>conftest.er1
26952 ac_status=$?
26953 grep -v '^ *+' conftest.er1 >conftest.err
26954 rm -f conftest.er1
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try='test -z "$ac_cxx_werror_flag"
26959 || test ! -s conftest.err'
26960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961 (eval $ac_try) 2>&5
26962 ac_status=$?
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; } &&
26965 { ac_try='test -s conftest.$ac_objext'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26968 ac_status=$?
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; }; then
26971 glibcxx_cv_func__float_round_use=yes
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 glibcxx_cv_func__float_round_use=no
26977 fi
26978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26979 ac_ext=c
26980 ac_cpp='$CPP $CPPFLAGS'
26981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26984
26985 fi
26986
26987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
26988 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
26989 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
26990
26991
26992 for ac_func in _ceilf _floorf
26993 do
26994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26995 echo "$as_me:$LINENO: checking for $ac_func" >&5
26996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26997 if eval "test \"\${$as_ac_var+set}\" = set"; then
26998 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 else
27000 if test x$gcc_no_link = xyes; then
27001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27003 { (exit 1); exit 1; }; }
27004 fi
27005 cat >conftest.$ac_ext <<_ACEOF
27006 /* confdefs.h. */
27007 _ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27013 #define $ac_func innocuous_$ac_func
27014
27015 /* System header to define __stub macros and hopefully few prototypes,
27016 which can conflict with char $ac_func (); below.
27017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27018 <limits.h> exists even on freestanding compilers. */
27019
27020 #ifdef __STDC__
27021 # include <limits.h>
27022 #else
27023 # include <assert.h>
27024 #endif
27025
27026 #undef $ac_func
27027
27028 /* Override any gcc2 internal prototype to avoid an error. */
27029 #ifdef __cplusplus
27030 extern "C"
27031 {
27032 #endif
27033 /* We use char because int might match the return type of a gcc2
27034 builtin and then its argument prototype would still apply. */
27035 char $ac_func ();
27036 /* The GNU C library defines this for functions which it implements
27037 to always fail with ENOSYS. Some functions are actually named
27038 something starting with __ and the normal name is an alias. */
27039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27040 choke me
27041 #else
27042 char (*f) () = $ac_func;
27043 #endif
27044 #ifdef __cplusplus
27045 }
27046 #endif
27047
27048 int
27049 main ()
27050 {
27051 return f != $ac_func;
27052 ;
27053 return 0;
27054 }
27055 _ACEOF
27056 rm -f conftest.$ac_objext conftest$ac_exeext
27057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27058 (eval $ac_link) 2>conftest.er1
27059 ac_status=$?
27060 grep -v '^ *+' conftest.er1 >conftest.err
27061 rm -f conftest.er1
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try='test -z "$ac_c_werror_flag"
27066 || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27069 ac_status=$?
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try='test -s conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27075 ac_status=$?
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 eval "$as_ac_var=yes"
27079 else
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27082
27083 eval "$as_ac_var=no"
27084 fi
27085 rm -f conftest.err conftest.$ac_objext \
27086 conftest$ac_exeext conftest.$ac_ext
27087 fi
27088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27090 if test `eval echo '${'$as_ac_var'}'` = yes; then
27091 cat >>confdefs.h <<_ACEOF
27092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27093 _ACEOF
27094
27095 fi
27096 done
27097
27098 fi
27099 fi
27100
27101
27102
27103
27104
27105
27106
27107
27108 echo "$as_me:$LINENO: checking for expf declaration" >&5
27109 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27110 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27111 if test "${glibcxx_cv_func_expf_use+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114
27115
27116
27117 ac_ext=cc
27118 ac_cpp='$CXXCPP $CPPFLAGS'
27119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27122
27123 cat >conftest.$ac_ext <<_ACEOF
27124 /* confdefs.h. */
27125 _ACEOF
27126 cat confdefs.h >>conftest.$ac_ext
27127 cat >>conftest.$ac_ext <<_ACEOF
27128 /* end confdefs.h. */
27129 #include <math.h>
27130 #ifdef HAVE_IEEEFP_H
27131 #include <ieeefp.h>
27132 #endif
27133
27134 int
27135 main ()
27136 {
27137 expf(0);
27138 ;
27139 return 0;
27140 }
27141 _ACEOF
27142 rm -f conftest.$ac_objext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27144 (eval $ac_compile) 2>conftest.er1
27145 ac_status=$?
27146 grep -v '^ *+' conftest.er1 >conftest.err
27147 rm -f conftest.er1
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } &&
27151 { ac_try='test -z "$ac_cxx_werror_flag"
27152 || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
27164 glibcxx_cv_func_expf_use=yes
27165 else
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27168
27169 glibcxx_cv_func_expf_use=no
27170 fi
27171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27172 ac_ext=c
27173 ac_cpp='$CPP $CPPFLAGS'
27174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27177
27178
27179 fi
27180
27181 fi
27182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27183 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27184
27185 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27186
27187 for ac_func in expf
27188 do
27189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27190 echo "$as_me:$LINENO: checking for $ac_func" >&5
27191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27192 if eval "test \"\${$as_ac_var+set}\" = set"; then
27193 echo $ECHO_N "(cached) $ECHO_C" >&6
27194 else
27195 if test x$gcc_no_link = xyes; then
27196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27198 { (exit 1); exit 1; }; }
27199 fi
27200 cat >conftest.$ac_ext <<_ACEOF
27201 /* confdefs.h. */
27202 _ACEOF
27203 cat confdefs.h >>conftest.$ac_ext
27204 cat >>conftest.$ac_ext <<_ACEOF
27205 /* end confdefs.h. */
27206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27208 #define $ac_func innocuous_$ac_func
27209
27210 /* System header to define __stub macros and hopefully few prototypes,
27211 which can conflict with char $ac_func (); below.
27212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27213 <limits.h> exists even on freestanding compilers. */
27214
27215 #ifdef __STDC__
27216 # include <limits.h>
27217 #else
27218 # include <assert.h>
27219 #endif
27220
27221 #undef $ac_func
27222
27223 /* Override any gcc2 internal prototype to avoid an error. */
27224 #ifdef __cplusplus
27225 extern "C"
27226 {
27227 #endif
27228 /* We use char because int might match the return type of a gcc2
27229 builtin and then its argument prototype would still apply. */
27230 char $ac_func ();
27231 /* The GNU C library defines this for functions which it implements
27232 to always fail with ENOSYS. Some functions are actually named
27233 something starting with __ and the normal name is an alias. */
27234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27235 choke me
27236 #else
27237 char (*f) () = $ac_func;
27238 #endif
27239 #ifdef __cplusplus
27240 }
27241 #endif
27242
27243 int
27244 main ()
27245 {
27246 return f != $ac_func;
27247 ;
27248 return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27253 (eval $ac_link) 2>conftest.er1
27254 ac_status=$?
27255 grep -v '^ *+' conftest.er1 >conftest.err
27256 rm -f conftest.er1
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } &&
27260 { ac_try='test -z "$ac_c_werror_flag"
27261 || test ! -s conftest.err'
27262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263 (eval $ac_try) 2>&5
27264 ac_status=$?
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); }; } &&
27267 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27273 eval "$as_ac_var=yes"
27274 else
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.$ac_ext >&5
27277
27278 eval "$as_ac_var=no"
27279 fi
27280 rm -f conftest.err conftest.$ac_objext \
27281 conftest$ac_exeext conftest.$ac_ext
27282 fi
27283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27285 if test `eval echo '${'$as_ac_var'}'` = yes; then
27286 cat >>confdefs.h <<_ACEOF
27287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27288 _ACEOF
27289
27290 fi
27291 done
27292
27293 else
27294
27295 echo "$as_me:$LINENO: checking for _expf declaration" >&5
27296 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27297 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27298 if test "${glibcxx_cv_func__expf_use+set}" = set; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 else
27301
27302
27303
27304 ac_ext=cc
27305 ac_cpp='$CXXCPP $CPPFLAGS'
27306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27309
27310 cat >conftest.$ac_ext <<_ACEOF
27311 /* confdefs.h. */
27312 _ACEOF
27313 cat confdefs.h >>conftest.$ac_ext
27314 cat >>conftest.$ac_ext <<_ACEOF
27315 /* end confdefs.h. */
27316 #include <math.h>
27317 #ifdef HAVE_IEEEFP_H
27318 #include <ieeefp.h>
27319 #endif
27320
27321 int
27322 main ()
27323 {
27324 _expf(0);
27325 ;
27326 return 0;
27327 }
27328 _ACEOF
27329 rm -f conftest.$ac_objext
27330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27331 (eval $ac_compile) 2>conftest.er1
27332 ac_status=$?
27333 grep -v '^ *+' conftest.er1 >conftest.err
27334 rm -f conftest.er1
27335 cat conftest.err >&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); } &&
27338 { ac_try='test -z "$ac_cxx_werror_flag"
27339 || test ! -s conftest.err'
27340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27341 (eval $ac_try) 2>&5
27342 ac_status=$?
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); }; } &&
27345 { ac_try='test -s conftest.$ac_objext'
27346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27347 (eval $ac_try) 2>&5
27348 ac_status=$?
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27351 glibcxx_cv_func__expf_use=yes
27352 else
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.$ac_ext >&5
27355
27356 glibcxx_cv_func__expf_use=no
27357 fi
27358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27359 ac_ext=c
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27364
27365
27366 fi
27367
27368 fi
27369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27370 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27371
27372 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27373
27374 for ac_func in _expf
27375 do
27376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27379 if eval "test \"\${$as_ac_var+set}\" = set"; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382 if test x$gcc_no_link = xyes; then
27383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27385 { (exit 1); exit 1; }; }
27386 fi
27387 cat >conftest.$ac_ext <<_ACEOF
27388 /* confdefs.h. */
27389 _ACEOF
27390 cat confdefs.h >>conftest.$ac_ext
27391 cat >>conftest.$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27395 #define $ac_func innocuous_$ac_func
27396
27397 /* System header to define __stub macros and hopefully few prototypes,
27398 which can conflict with char $ac_func (); below.
27399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27400 <limits.h> exists even on freestanding compilers. */
27401
27402 #ifdef __STDC__
27403 # include <limits.h>
27404 #else
27405 # include <assert.h>
27406 #endif
27407
27408 #undef $ac_func
27409
27410 /* Override any gcc2 internal prototype to avoid an error. */
27411 #ifdef __cplusplus
27412 extern "C"
27413 {
27414 #endif
27415 /* We use char because int might match the return type of a gcc2
27416 builtin and then its argument prototype would still apply. */
27417 char $ac_func ();
27418 /* The GNU C library defines this for functions which it implements
27419 to always fail with ENOSYS. Some functions are actually named
27420 something starting with __ and the normal name is an alias. */
27421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27422 choke me
27423 #else
27424 char (*f) () = $ac_func;
27425 #endif
27426 #ifdef __cplusplus
27427 }
27428 #endif
27429
27430 int
27431 main ()
27432 {
27433 return f != $ac_func;
27434 ;
27435 return 0;
27436 }
27437 _ACEOF
27438 rm -f conftest.$ac_objext conftest$ac_exeext
27439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27440 (eval $ac_link) 2>conftest.er1
27441 ac_status=$?
27442 grep -v '^ *+' conftest.er1 >conftest.err
27443 rm -f conftest.er1
27444 cat conftest.err >&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } &&
27447 { ac_try='test -z "$ac_c_werror_flag"
27448 || test ! -s conftest.err'
27449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27450 (eval $ac_try) 2>&5
27451 ac_status=$?
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); }; } &&
27454 { ac_try='test -s conftest$ac_exeext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 eval "$as_ac_var=yes"
27461 else
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27464
27465 eval "$as_ac_var=no"
27466 fi
27467 rm -f conftest.err conftest.$ac_objext \
27468 conftest$ac_exeext conftest.$ac_ext
27469 fi
27470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27472 if test `eval echo '${'$as_ac_var'}'` = yes; then
27473 cat >>confdefs.h <<_ACEOF
27474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27475 _ACEOF
27476
27477 fi
27478 done
27479
27480 fi
27481 fi
27482
27483
27484
27485
27486
27487
27488 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27489 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27490 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27491 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 else
27494
27495
27496
27497 ac_ext=cc
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502
27503 cat >conftest.$ac_ext <<_ACEOF
27504 /* confdefs.h. */
27505 _ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27509 #include <math.h>
27510 #ifdef HAVE_IEEEFP_H
27511 #include <ieeefp.h>
27512 #endif
27513
27514 int
27515 main ()
27516 {
27517 isnanf(0);
27518 ;
27519 return 0;
27520 }
27521 _ACEOF
27522 rm -f conftest.$ac_objext
27523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27524 (eval $ac_compile) 2>conftest.er1
27525 ac_status=$?
27526 grep -v '^ *+' conftest.er1 >conftest.err
27527 rm -f conftest.er1
27528 cat conftest.err >&5
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); } &&
27531 { ac_try='test -z "$ac_cxx_werror_flag"
27532 || test ! -s conftest.err'
27533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27534 (eval $ac_try) 2>&5
27535 ac_status=$?
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; } &&
27538 { ac_try='test -s conftest.$ac_objext'
27539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27540 (eval $ac_try) 2>&5
27541 ac_status=$?
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); }; }; then
27544 glibcxx_cv_func_isnanf_use=yes
27545 else
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.$ac_ext >&5
27548
27549 glibcxx_cv_func_isnanf_use=no
27550 fi
27551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27552 ac_ext=c
27553 ac_cpp='$CPP $CPPFLAGS'
27554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27557
27558
27559 fi
27560
27561 fi
27562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27563 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27564
27565 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27566
27567 for ac_func in isnanf
27568 do
27569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27570 echo "$as_me:$LINENO: checking for $ac_func" >&5
27571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27572 if eval "test \"\${$as_ac_var+set}\" = set"; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 else
27575 if test x$gcc_no_link = xyes; then
27576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27578 { (exit 1); exit 1; }; }
27579 fi
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27588 #define $ac_func innocuous_$ac_func
27589
27590 /* System header to define __stub macros and hopefully few prototypes,
27591 which can conflict with char $ac_func (); below.
27592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27593 <limits.h> exists even on freestanding compilers. */
27594
27595 #ifdef __STDC__
27596 # include <limits.h>
27597 #else
27598 # include <assert.h>
27599 #endif
27600
27601 #undef $ac_func
27602
27603 /* Override any gcc2 internal prototype to avoid an error. */
27604 #ifdef __cplusplus
27605 extern "C"
27606 {
27607 #endif
27608 /* We use char because int might match the return type of a gcc2
27609 builtin and then its argument prototype would still apply. */
27610 char $ac_func ();
27611 /* The GNU C library defines this for functions which it implements
27612 to always fail with ENOSYS. Some functions are actually named
27613 something starting with __ and the normal name is an alias. */
27614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27615 choke me
27616 #else
27617 char (*f) () = $ac_func;
27618 #endif
27619 #ifdef __cplusplus
27620 }
27621 #endif
27622
27623 int
27624 main ()
27625 {
27626 return f != $ac_func;
27627 ;
27628 return 0;
27629 }
27630 _ACEOF
27631 rm -f conftest.$ac_objext conftest$ac_exeext
27632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27633 (eval $ac_link) 2>conftest.er1
27634 ac_status=$?
27635 grep -v '^ *+' conftest.er1 >conftest.err
27636 rm -f conftest.er1
27637 cat conftest.err >&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } &&
27640 { ac_try='test -z "$ac_c_werror_flag"
27641 || test ! -s conftest.err'
27642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27643 (eval $ac_try) 2>&5
27644 ac_status=$?
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); }; } &&
27647 { ac_try='test -s conftest$ac_exeext'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27650 ac_status=$?
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; }; then
27653 eval "$as_ac_var=yes"
27654 else
27655 echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27657
27658 eval "$as_ac_var=no"
27659 fi
27660 rm -f conftest.err conftest.$ac_objext \
27661 conftest$ac_exeext conftest.$ac_ext
27662 fi
27663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27665 if test `eval echo '${'$as_ac_var'}'` = yes; then
27666 cat >>confdefs.h <<_ACEOF
27667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27668 _ACEOF
27669
27670 fi
27671 done
27672
27673 else
27674
27675 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27676 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
27677 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27678 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 else
27681
27682
27683
27684 ac_ext=cc
27685 ac_cpp='$CXXCPP $CPPFLAGS'
27686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27689
27690 cat >conftest.$ac_ext <<_ACEOF
27691 /* confdefs.h. */
27692 _ACEOF
27693 cat confdefs.h >>conftest.$ac_ext
27694 cat >>conftest.$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27696 #include <math.h>
27697 #ifdef HAVE_IEEEFP_H
27698 #include <ieeefp.h>
27699 #endif
27700
27701 int
27702 main ()
27703 {
27704 _isnanf(0);
27705 ;
27706 return 0;
27707 }
27708 _ACEOF
27709 rm -f conftest.$ac_objext
27710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27711 (eval $ac_compile) 2>conftest.er1
27712 ac_status=$?
27713 grep -v '^ *+' conftest.er1 >conftest.err
27714 rm -f conftest.er1
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } &&
27718 { ac_try='test -z "$ac_cxx_werror_flag"
27719 || test ! -s conftest.err'
27720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27721 (eval $ac_try) 2>&5
27722 ac_status=$?
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; } &&
27725 { ac_try='test -s conftest.$ac_objext'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; }; then
27731 glibcxx_cv_func__isnanf_use=yes
27732 else
27733 echo "$as_me: failed program was:" >&5
27734 sed 's/^/| /' conftest.$ac_ext >&5
27735
27736 glibcxx_cv_func__isnanf_use=no
27737 fi
27738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27739 ac_ext=c
27740 ac_cpp='$CPP $CPPFLAGS'
27741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27744
27745
27746 fi
27747
27748 fi
27749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
27750 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
27751
27752 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27753
27754 for ac_func in _isnanf
27755 do
27756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27757 echo "$as_me:$LINENO: checking for $ac_func" >&5
27758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27759 if eval "test \"\${$as_ac_var+set}\" = set"; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 else
27762 if test x$gcc_no_link = xyes; then
27763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27765 { (exit 1); exit 1; }; }
27766 fi
27767 cat >conftest.$ac_ext <<_ACEOF
27768 /* confdefs.h. */
27769 _ACEOF
27770 cat confdefs.h >>conftest.$ac_ext
27771 cat >>conftest.$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27775 #define $ac_func innocuous_$ac_func
27776
27777 /* System header to define __stub macros and hopefully few prototypes,
27778 which can conflict with char $ac_func (); below.
27779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27780 <limits.h> exists even on freestanding compilers. */
27781
27782 #ifdef __STDC__
27783 # include <limits.h>
27784 #else
27785 # include <assert.h>
27786 #endif
27787
27788 #undef $ac_func
27789
27790 /* Override any gcc2 internal prototype to avoid an error. */
27791 #ifdef __cplusplus
27792 extern "C"
27793 {
27794 #endif
27795 /* We use char because int might match the return type of a gcc2
27796 builtin and then its argument prototype would still apply. */
27797 char $ac_func ();
27798 /* The GNU C library defines this for functions which it implements
27799 to always fail with ENOSYS. Some functions are actually named
27800 something starting with __ and the normal name is an alias. */
27801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27802 choke me
27803 #else
27804 char (*f) () = $ac_func;
27805 #endif
27806 #ifdef __cplusplus
27807 }
27808 #endif
27809
27810 int
27811 main ()
27812 {
27813 return f != $ac_func;
27814 ;
27815 return 0;
27816 }
27817 _ACEOF
27818 rm -f conftest.$ac_objext conftest$ac_exeext
27819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27820 (eval $ac_link) 2>conftest.er1
27821 ac_status=$?
27822 grep -v '^ *+' conftest.er1 >conftest.err
27823 rm -f conftest.er1
27824 cat conftest.err >&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); } &&
27827 { ac_try='test -z "$ac_c_werror_flag"
27828 || test ! -s conftest.err'
27829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27830 (eval $ac_try) 2>&5
27831 ac_status=$?
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); }; } &&
27834 { ac_try='test -s conftest$ac_exeext'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27837 ac_status=$?
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; }; then
27840 eval "$as_ac_var=yes"
27841 else
27842 echo "$as_me: failed program was:" >&5
27843 sed 's/^/| /' conftest.$ac_ext >&5
27844
27845 eval "$as_ac_var=no"
27846 fi
27847 rm -f conftest.err conftest.$ac_objext \
27848 conftest$ac_exeext conftest.$ac_ext
27849 fi
27850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27852 if test `eval echo '${'$as_ac_var'}'` = yes; then
27853 cat >>confdefs.h <<_ACEOF
27854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27855 _ACEOF
27856
27857 fi
27858 done
27859
27860 fi
27861 fi
27862
27863
27864
27865
27866
27867
27868 echo "$as_me:$LINENO: checking for isinff declaration" >&5
27869 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
27870 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27871 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 else
27874
27875
27876
27877 ac_ext=cc
27878 ac_cpp='$CXXCPP $CPPFLAGS'
27879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27882
27883 cat >conftest.$ac_ext <<_ACEOF
27884 /* confdefs.h. */
27885 _ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889 #include <math.h>
27890 #ifdef HAVE_IEEEFP_H
27891 #include <ieeefp.h>
27892 #endif
27893
27894 int
27895 main ()
27896 {
27897 isinff(0);
27898 ;
27899 return 0;
27900 }
27901 _ACEOF
27902 rm -f conftest.$ac_objext
27903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27904 (eval $ac_compile) 2>conftest.er1
27905 ac_status=$?
27906 grep -v '^ *+' conftest.er1 >conftest.err
27907 rm -f conftest.er1
27908 cat conftest.err >&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); } &&
27911 { ac_try='test -z "$ac_cxx_werror_flag"
27912 || test ! -s conftest.err'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27915 ac_status=$?
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; } &&
27918 { ac_try='test -s conftest.$ac_objext'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27921 ac_status=$?
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; }; then
27924 glibcxx_cv_func_isinff_use=yes
27925 else
27926 echo "$as_me: failed program was:" >&5
27927 sed 's/^/| /' conftest.$ac_ext >&5
27928
27929 glibcxx_cv_func_isinff_use=no
27930 fi
27931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27932 ac_ext=c
27933 ac_cpp='$CPP $CPPFLAGS'
27934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27937
27938
27939 fi
27940
27941 fi
27942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
27943 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
27944
27945 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
27946
27947 for ac_func in isinff
27948 do
27949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27950 echo "$as_me:$LINENO: checking for $ac_func" >&5
27951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27952 if eval "test \"\${$as_ac_var+set}\" = set"; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 if test x$gcc_no_link = xyes; then
27956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27958 { (exit 1); exit 1; }; }
27959 fi
27960 cat >conftest.$ac_ext <<_ACEOF
27961 /* confdefs.h. */
27962 _ACEOF
27963 cat confdefs.h >>conftest.$ac_ext
27964 cat >>conftest.$ac_ext <<_ACEOF
27965 /* end confdefs.h. */
27966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27968 #define $ac_func innocuous_$ac_func
27969
27970 /* System header to define __stub macros and hopefully few prototypes,
27971 which can conflict with char $ac_func (); below.
27972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27973 <limits.h> exists even on freestanding compilers. */
27974
27975 #ifdef __STDC__
27976 # include <limits.h>
27977 #else
27978 # include <assert.h>
27979 #endif
27980
27981 #undef $ac_func
27982
27983 /* Override any gcc2 internal prototype to avoid an error. */
27984 #ifdef __cplusplus
27985 extern "C"
27986 {
27987 #endif
27988 /* We use char because int might match the return type of a gcc2
27989 builtin and then its argument prototype would still apply. */
27990 char $ac_func ();
27991 /* The GNU C library defines this for functions which it implements
27992 to always fail with ENOSYS. Some functions are actually named
27993 something starting with __ and the normal name is an alias. */
27994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27995 choke me
27996 #else
27997 char (*f) () = $ac_func;
27998 #endif
27999 #ifdef __cplusplus
28000 }
28001 #endif
28002
28003 int
28004 main ()
28005 {
28006 return f != $ac_func;
28007 ;
28008 return 0;
28009 }
28010 _ACEOF
28011 rm -f conftest.$ac_objext conftest$ac_exeext
28012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28013 (eval $ac_link) 2>conftest.er1
28014 ac_status=$?
28015 grep -v '^ *+' conftest.er1 >conftest.err
28016 rm -f conftest.er1
28017 cat conftest.err >&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } &&
28020 { ac_try='test -z "$ac_c_werror_flag"
28021 || test ! -s conftest.err'
28022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023 (eval $ac_try) 2>&5
28024 ac_status=$?
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; } &&
28027 { ac_try='test -s conftest$ac_exeext'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; }; then
28033 eval "$as_ac_var=yes"
28034 else
28035 echo "$as_me: failed program was:" >&5
28036 sed 's/^/| /' conftest.$ac_ext >&5
28037
28038 eval "$as_ac_var=no"
28039 fi
28040 rm -f conftest.err conftest.$ac_objext \
28041 conftest$ac_exeext conftest.$ac_ext
28042 fi
28043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28045 if test `eval echo '${'$as_ac_var'}'` = yes; then
28046 cat >>confdefs.h <<_ACEOF
28047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28048 _ACEOF
28049
28050 fi
28051 done
28052
28053 else
28054
28055 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28056 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28057 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28058 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061
28062
28063
28064 ac_ext=cc
28065 ac_cpp='$CXXCPP $CPPFLAGS'
28066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28069
28070 cat >conftest.$ac_ext <<_ACEOF
28071 /* confdefs.h. */
28072 _ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076 #include <math.h>
28077 #ifdef HAVE_IEEEFP_H
28078 #include <ieeefp.h>
28079 #endif
28080
28081 int
28082 main ()
28083 {
28084 _isinff(0);
28085 ;
28086 return 0;
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28092 ac_status=$?
28093 grep -v '^ *+' conftest.er1 >conftest.err
28094 rm -f conftest.er1
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -z "$ac_cxx_werror_flag"
28099 || test ! -s conftest.err'
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); }; } &&
28105 { ac_try='test -s conftest.$ac_objext'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28108 ac_status=$?
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; }; then
28111 glibcxx_cv_func__isinff_use=yes
28112 else
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.$ac_ext >&5
28115
28116 glibcxx_cv_func__isinff_use=no
28117 fi
28118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28119 ac_ext=c
28120 ac_cpp='$CPP $CPPFLAGS'
28121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28124
28125
28126 fi
28127
28128 fi
28129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28130 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28131
28132 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28133
28134 for ac_func in _isinff
28135 do
28136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28137 echo "$as_me:$LINENO: checking for $ac_func" >&5
28138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28139 if eval "test \"\${$as_ac_var+set}\" = set"; then
28140 echo $ECHO_N "(cached) $ECHO_C" >&6
28141 else
28142 if test x$gcc_no_link = xyes; then
28143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28145 { (exit 1); exit 1; }; }
28146 fi
28147 cat >conftest.$ac_ext <<_ACEOF
28148 /* confdefs.h. */
28149 _ACEOF
28150 cat confdefs.h >>conftest.$ac_ext
28151 cat >>conftest.$ac_ext <<_ACEOF
28152 /* end confdefs.h. */
28153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28155 #define $ac_func innocuous_$ac_func
28156
28157 /* System header to define __stub macros and hopefully few prototypes,
28158 which can conflict with char $ac_func (); below.
28159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28160 <limits.h> exists even on freestanding compilers. */
28161
28162 #ifdef __STDC__
28163 # include <limits.h>
28164 #else
28165 # include <assert.h>
28166 #endif
28167
28168 #undef $ac_func
28169
28170 /* Override any gcc2 internal prototype to avoid an error. */
28171 #ifdef __cplusplus
28172 extern "C"
28173 {
28174 #endif
28175 /* We use char because int might match the return type of a gcc2
28176 builtin and then its argument prototype would still apply. */
28177 char $ac_func ();
28178 /* The GNU C library defines this for functions which it implements
28179 to always fail with ENOSYS. Some functions are actually named
28180 something starting with __ and the normal name is an alias. */
28181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28182 choke me
28183 #else
28184 char (*f) () = $ac_func;
28185 #endif
28186 #ifdef __cplusplus
28187 }
28188 #endif
28189
28190 int
28191 main ()
28192 {
28193 return f != $ac_func;
28194 ;
28195 return 0;
28196 }
28197 _ACEOF
28198 rm -f conftest.$ac_objext conftest$ac_exeext
28199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28200 (eval $ac_link) 2>conftest.er1
28201 ac_status=$?
28202 grep -v '^ *+' conftest.er1 >conftest.err
28203 rm -f conftest.er1
28204 cat conftest.err >&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); } &&
28207 { ac_try='test -z "$ac_c_werror_flag"
28208 || test ! -s conftest.err'
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); }; } &&
28214 { ac_try='test -s conftest$ac_exeext'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28217 ac_status=$?
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; }; then
28220 eval "$as_ac_var=yes"
28221 else
28222 echo "$as_me: failed program was:" >&5
28223 sed 's/^/| /' conftest.$ac_ext >&5
28224
28225 eval "$as_ac_var=no"
28226 fi
28227 rm -f conftest.err conftest.$ac_objext \
28228 conftest$ac_exeext conftest.$ac_ext
28229 fi
28230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 _ACEOF
28236
28237 fi
28238 done
28239
28240 fi
28241 fi
28242
28243
28244
28245
28246
28247
28248 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28249 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28250 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28251 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28254
28255
28256
28257 ac_ext=cc
28258 ac_cpp='$CXXCPP $CPPFLAGS'
28259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28262
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269 #include <math.h>
28270 int
28271 main ()
28272 {
28273 atan2f(0, 0);
28274 ;
28275 return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext
28279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28280 (eval $ac_compile) 2>conftest.er1
28281 ac_status=$?
28282 grep -v '^ *+' conftest.er1 >conftest.err
28283 rm -f conftest.er1
28284 cat conftest.err >&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); } &&
28287 { ac_try='test -z "$ac_cxx_werror_flag"
28288 || test ! -s conftest.err'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28291 ac_status=$?
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; } &&
28294 { ac_try='test -s conftest.$ac_objext'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28300 glibcxx_cv_func_atan2f_use=yes
28301 else
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.$ac_ext >&5
28304
28305 glibcxx_cv_func_atan2f_use=no
28306 fi
28307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28308 ac_ext=c
28309 ac_cpp='$CPP $CPPFLAGS'
28310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28313
28314
28315 fi
28316
28317 fi
28318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28319 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28320
28321 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28322
28323 for ac_func in atan2f
28324 do
28325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28326 echo "$as_me:$LINENO: checking for $ac_func" >&5
28327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28328 if eval "test \"\${$as_ac_var+set}\" = set"; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 else
28331 if test x$gcc_no_link = xyes; then
28332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28334 { (exit 1); exit 1; }; }
28335 fi
28336 cat >conftest.$ac_ext <<_ACEOF
28337 /* confdefs.h. */
28338 _ACEOF
28339 cat confdefs.h >>conftest.$ac_ext
28340 cat >>conftest.$ac_ext <<_ACEOF
28341 /* end confdefs.h. */
28342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28344 #define $ac_func innocuous_$ac_func
28345
28346 /* System header to define __stub macros and hopefully few prototypes,
28347 which can conflict with char $ac_func (); below.
28348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28349 <limits.h> exists even on freestanding compilers. */
28350
28351 #ifdef __STDC__
28352 # include <limits.h>
28353 #else
28354 # include <assert.h>
28355 #endif
28356
28357 #undef $ac_func
28358
28359 /* Override any gcc2 internal prototype to avoid an error. */
28360 #ifdef __cplusplus
28361 extern "C"
28362 {
28363 #endif
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char $ac_func ();
28367 /* The GNU C library defines this for functions which it implements
28368 to always fail with ENOSYS. Some functions are actually named
28369 something starting with __ and the normal name is an alias. */
28370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28371 choke me
28372 #else
28373 char (*f) () = $ac_func;
28374 #endif
28375 #ifdef __cplusplus
28376 }
28377 #endif
28378
28379 int
28380 main ()
28381 {
28382 return f != $ac_func;
28383 ;
28384 return 0;
28385 }
28386 _ACEOF
28387 rm -f conftest.$ac_objext conftest$ac_exeext
28388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28389 (eval $ac_link) 2>conftest.er1
28390 ac_status=$?
28391 grep -v '^ *+' conftest.er1 >conftest.err
28392 rm -f conftest.er1
28393 cat conftest.err >&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } &&
28396 { ac_try='test -z "$ac_c_werror_flag"
28397 || test ! -s conftest.err'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28400 ac_status=$?
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; } &&
28403 { ac_try='test -s conftest$ac_exeext'
28404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28405 (eval $ac_try) 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 eval "$as_ac_var=yes"
28410 else
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.$ac_ext >&5
28413
28414 eval "$as_ac_var=no"
28415 fi
28416 rm -f conftest.err conftest.$ac_objext \
28417 conftest$ac_exeext conftest.$ac_ext
28418 fi
28419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28421 if test `eval echo '${'$as_ac_var'}'` = yes; then
28422 cat >>confdefs.h <<_ACEOF
28423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28424 _ACEOF
28425
28426 fi
28427 done
28428
28429 else
28430
28431 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28432 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28433 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28434 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 else
28437
28438
28439
28440 ac_ext=cc
28441 ac_cpp='$CXXCPP $CPPFLAGS'
28442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28445
28446 cat >conftest.$ac_ext <<_ACEOF
28447 /* confdefs.h. */
28448 _ACEOF
28449 cat confdefs.h >>conftest.$ac_ext
28450 cat >>conftest.$ac_ext <<_ACEOF
28451 /* end confdefs.h. */
28452 #include <math.h>
28453 int
28454 main ()
28455 {
28456 _atan2f(0, 0);
28457 ;
28458 return 0;
28459 }
28460 _ACEOF
28461 rm -f conftest.$ac_objext
28462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28463 (eval $ac_compile) 2>conftest.er1
28464 ac_status=$?
28465 grep -v '^ *+' conftest.er1 >conftest.err
28466 rm -f conftest.er1
28467 cat conftest.err >&5
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); } &&
28470 { ac_try='test -z "$ac_cxx_werror_flag"
28471 || test ! -s conftest.err'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28474 ac_status=$?
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; } &&
28477 { ac_try='test -s conftest.$ac_objext'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28480 ac_status=$?
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; }; then
28483 glibcxx_cv_func__atan2f_use=yes
28484 else
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.$ac_ext >&5
28487
28488 glibcxx_cv_func__atan2f_use=no
28489 fi
28490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28491 ac_ext=c
28492 ac_cpp='$CPP $CPPFLAGS'
28493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28496
28497
28498 fi
28499
28500 fi
28501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28502 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28503
28504 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28505
28506 for ac_func in _atan2f
28507 do
28508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28509 echo "$as_me:$LINENO: checking for $ac_func" >&5
28510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28511 if eval "test \"\${$as_ac_var+set}\" = set"; then
28512 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 else
28514 if test x$gcc_no_link = xyes; then
28515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28517 { (exit 1); exit 1; }; }
28518 fi
28519 cat >conftest.$ac_ext <<_ACEOF
28520 /* confdefs.h. */
28521 _ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28527 #define $ac_func innocuous_$ac_func
28528
28529 /* System header to define __stub macros and hopefully few prototypes,
28530 which can conflict with char $ac_func (); below.
28531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28532 <limits.h> exists even on freestanding compilers. */
28533
28534 #ifdef __STDC__
28535 # include <limits.h>
28536 #else
28537 # include <assert.h>
28538 #endif
28539
28540 #undef $ac_func
28541
28542 /* Override any gcc2 internal prototype to avoid an error. */
28543 #ifdef __cplusplus
28544 extern "C"
28545 {
28546 #endif
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549 char $ac_func ();
28550 /* The GNU C library defines this for functions which it implements
28551 to always fail with ENOSYS. Some functions are actually named
28552 something starting with __ and the normal name is an alias. */
28553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28554 choke me
28555 #else
28556 char (*f) () = $ac_func;
28557 #endif
28558 #ifdef __cplusplus
28559 }
28560 #endif
28561
28562 int
28563 main ()
28564 {
28565 return f != $ac_func;
28566 ;
28567 return 0;
28568 }
28569 _ACEOF
28570 rm -f conftest.$ac_objext conftest$ac_exeext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28572 (eval $ac_link) 2>conftest.er1
28573 ac_status=$?
28574 grep -v '^ *+' conftest.er1 >conftest.err
28575 rm -f conftest.er1
28576 cat conftest.err >&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } &&
28579 { ac_try='test -z "$ac_c_werror_flag"
28580 || test ! -s conftest.err'
28581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28582 (eval $ac_try) 2>&5
28583 ac_status=$?
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; } &&
28586 { ac_try='test -s conftest$ac_exeext'
28587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28588 (eval $ac_try) 2>&5
28589 ac_status=$?
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; }; then
28592 eval "$as_ac_var=yes"
28593 else
28594 echo "$as_me: failed program was:" >&5
28595 sed 's/^/| /' conftest.$ac_ext >&5
28596
28597 eval "$as_ac_var=no"
28598 fi
28599 rm -f conftest.err conftest.$ac_objext \
28600 conftest$ac_exeext conftest.$ac_ext
28601 fi
28602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28604 if test `eval echo '${'$as_ac_var'}'` = yes; then
28605 cat >>confdefs.h <<_ACEOF
28606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28607 _ACEOF
28608
28609 fi
28610 done
28611
28612 fi
28613 fi
28614
28615
28616
28617
28618
28619
28620 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28621 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28622 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28623 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 else
28626
28627
28628
28629 ac_ext=cc
28630 ac_cpp='$CXXCPP $CPPFLAGS'
28631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28634
28635 cat >conftest.$ac_ext <<_ACEOF
28636 /* confdefs.h. */
28637 _ACEOF
28638 cat confdefs.h >>conftest.$ac_ext
28639 cat >>conftest.$ac_ext <<_ACEOF
28640 /* end confdefs.h. */
28641 #include <math.h>
28642 #ifdef HAVE_IEEEFP_H
28643 #include <ieeefp.h>
28644 #endif
28645
28646 int
28647 main ()
28648 {
28649 fabsf(0);
28650 ;
28651 return 0;
28652 }
28653 _ACEOF
28654 rm -f conftest.$ac_objext
28655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28656 (eval $ac_compile) 2>conftest.er1
28657 ac_status=$?
28658 grep -v '^ *+' conftest.er1 >conftest.err
28659 rm -f conftest.er1
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } &&
28663 { ac_try='test -z "$ac_cxx_werror_flag"
28664 || test ! -s conftest.err'
28665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28666 (eval $ac_try) 2>&5
28667 ac_status=$?
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); }; } &&
28670 { ac_try='test -s conftest.$ac_objext'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28673 ac_status=$?
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; }; then
28676 glibcxx_cv_func_fabsf_use=yes
28677 else
28678 echo "$as_me: failed program was:" >&5
28679 sed 's/^/| /' conftest.$ac_ext >&5
28680
28681 glibcxx_cv_func_fabsf_use=no
28682 fi
28683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28684 ac_ext=c
28685 ac_cpp='$CPP $CPPFLAGS'
28686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28689
28690
28691 fi
28692
28693 fi
28694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
28695 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
28696
28697 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28698
28699 for ac_func in fabsf
28700 do
28701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28702 echo "$as_me:$LINENO: checking for $ac_func" >&5
28703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28704 if eval "test \"\${$as_ac_var+set}\" = set"; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28707 if test x$gcc_no_link = xyes; then
28708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28710 { (exit 1); exit 1; }; }
28711 fi
28712 cat >conftest.$ac_ext <<_ACEOF
28713 /* confdefs.h. */
28714 _ACEOF
28715 cat confdefs.h >>conftest.$ac_ext
28716 cat >>conftest.$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28720 #define $ac_func innocuous_$ac_func
28721
28722 /* System header to define __stub macros and hopefully few prototypes,
28723 which can conflict with char $ac_func (); below.
28724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28725 <limits.h> exists even on freestanding compilers. */
28726
28727 #ifdef __STDC__
28728 # include <limits.h>
28729 #else
28730 # include <assert.h>
28731 #endif
28732
28733 #undef $ac_func
28734
28735 /* Override any gcc2 internal prototype to avoid an error. */
28736 #ifdef __cplusplus
28737 extern "C"
28738 {
28739 #endif
28740 /* We use char because int might match the return type of a gcc2
28741 builtin and then its argument prototype would still apply. */
28742 char $ac_func ();
28743 /* The GNU C library defines this for functions which it implements
28744 to always fail with ENOSYS. Some functions are actually named
28745 something starting with __ and the normal name is an alias. */
28746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28747 choke me
28748 #else
28749 char (*f) () = $ac_func;
28750 #endif
28751 #ifdef __cplusplus
28752 }
28753 #endif
28754
28755 int
28756 main ()
28757 {
28758 return f != $ac_func;
28759 ;
28760 return 0;
28761 }
28762 _ACEOF
28763 rm -f conftest.$ac_objext conftest$ac_exeext
28764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28765 (eval $ac_link) 2>conftest.er1
28766 ac_status=$?
28767 grep -v '^ *+' conftest.er1 >conftest.err
28768 rm -f conftest.er1
28769 cat conftest.err >&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } &&
28772 { ac_try='test -z "$ac_c_werror_flag"
28773 || test ! -s conftest.err'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28776 ac_status=$?
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; } &&
28779 { ac_try='test -s conftest$ac_exeext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28782 ac_status=$?
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 eval "$as_ac_var=yes"
28786 else
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28789
28790 eval "$as_ac_var=no"
28791 fi
28792 rm -f conftest.err conftest.$ac_objext \
28793 conftest$ac_exeext conftest.$ac_ext
28794 fi
28795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28797 if test `eval echo '${'$as_ac_var'}'` = yes; then
28798 cat >>confdefs.h <<_ACEOF
28799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28800 _ACEOF
28801
28802 fi
28803 done
28804
28805 else
28806
28807 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
28808 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
28809 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28810 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28832
28833 int
28834 main ()
28835 {
28836 _fabsf(0);
28837 ;
28838 return 0;
28839 }
28840 _ACEOF
28841 rm -f conftest.$ac_objext
28842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28843 (eval $ac_compile) 2>conftest.er1
28844 ac_status=$?
28845 grep -v '^ *+' conftest.er1 >conftest.err
28846 rm -f conftest.er1
28847 cat conftest.err >&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); } &&
28850 { ac_try='test -z "$ac_cxx_werror_flag"
28851 || test ! -s conftest.err'
28852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853 (eval $ac_try) 2>&5
28854 ac_status=$?
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); }; } &&
28857 { ac_try='test -s conftest.$ac_objext'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; }; then
28863 glibcxx_cv_func__fabsf_use=yes
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28867
28868 glibcxx_cv_func__fabsf_use=no
28869 fi
28870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28871 ac_ext=c
28872 ac_cpp='$CPP $CPPFLAGS'
28873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28876
28877
28878 fi
28879
28880 fi
28881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
28882 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
28883
28884 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28885
28886 for ac_func in _fabsf
28887 do
28888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28889 echo "$as_me:$LINENO: checking for $ac_func" >&5
28890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28891 if eval "test \"\${$as_ac_var+set}\" = set"; then
28892 echo $ECHO_N "(cached) $ECHO_C" >&6
28893 else
28894 if test x$gcc_no_link = xyes; then
28895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28897 { (exit 1); exit 1; }; }
28898 fi
28899 cat >conftest.$ac_ext <<_ACEOF
28900 /* confdefs.h. */
28901 _ACEOF
28902 cat confdefs.h >>conftest.$ac_ext
28903 cat >>conftest.$ac_ext <<_ACEOF
28904 /* end confdefs.h. */
28905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28907 #define $ac_func innocuous_$ac_func
28908
28909 /* System header to define __stub macros and hopefully few prototypes,
28910 which can conflict with char $ac_func (); below.
28911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28912 <limits.h> exists even on freestanding compilers. */
28913
28914 #ifdef __STDC__
28915 # include <limits.h>
28916 #else
28917 # include <assert.h>
28918 #endif
28919
28920 #undef $ac_func
28921
28922 /* Override any gcc2 internal prototype to avoid an error. */
28923 #ifdef __cplusplus
28924 extern "C"
28925 {
28926 #endif
28927 /* We use char because int might match the return type of a gcc2
28928 builtin and then its argument prototype would still apply. */
28929 char $ac_func ();
28930 /* The GNU C library defines this for functions which it implements
28931 to always fail with ENOSYS. Some functions are actually named
28932 something starting with __ and the normal name is an alias. */
28933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28934 choke me
28935 #else
28936 char (*f) () = $ac_func;
28937 #endif
28938 #ifdef __cplusplus
28939 }
28940 #endif
28941
28942 int
28943 main ()
28944 {
28945 return f != $ac_func;
28946 ;
28947 return 0;
28948 }
28949 _ACEOF
28950 rm -f conftest.$ac_objext conftest$ac_exeext
28951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28952 (eval $ac_link) 2>conftest.er1
28953 ac_status=$?
28954 grep -v '^ *+' conftest.er1 >conftest.err
28955 rm -f conftest.er1
28956 cat conftest.err >&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } &&
28959 { ac_try='test -z "$ac_c_werror_flag"
28960 || test ! -s conftest.err'
28961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28962 (eval $ac_try) 2>&5
28963 ac_status=$?
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); }; } &&
28966 { ac_try='test -s conftest$ac_exeext'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28969 ac_status=$?
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; }; then
28972 eval "$as_ac_var=yes"
28973 else
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28976
28977 eval "$as_ac_var=no"
28978 fi
28979 rm -f conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28981 fi
28982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28984 if test `eval echo '${'$as_ac_var'}'` = yes; then
28985 cat >>confdefs.h <<_ACEOF
28986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28987 _ACEOF
28988
28989 fi
28990 done
28991
28992 fi
28993 fi
28994
28995
28996
28997
28998
28999
29000 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29001 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29002 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29003 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29005 else
29006
29007
29008
29009 ac_ext=cc
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29014
29015 cat >conftest.$ac_ext <<_ACEOF
29016 /* confdefs.h. */
29017 _ACEOF
29018 cat confdefs.h >>conftest.$ac_ext
29019 cat >>conftest.$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021 #include <math.h>
29022 int
29023 main ()
29024 {
29025 fmodf(0, 0);
29026 ;
29027 return 0;
29028 }
29029 _ACEOF
29030 rm -f conftest.$ac_objext
29031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29032 (eval $ac_compile) 2>conftest.er1
29033 ac_status=$?
29034 grep -v '^ *+' conftest.er1 >conftest.err
29035 rm -f conftest.er1
29036 cat conftest.err >&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); } &&
29039 { ac_try='test -z "$ac_cxx_werror_flag"
29040 || test ! -s conftest.err'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29043 ac_status=$?
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; } &&
29046 { ac_try='test -s conftest.$ac_objext'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29049 ac_status=$?
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; }; then
29052 glibcxx_cv_func_fmodf_use=yes
29053 else
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.$ac_ext >&5
29056
29057 glibcxx_cv_func_fmodf_use=no
29058 fi
29059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29060 ac_ext=c
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29065
29066
29067 fi
29068
29069 fi
29070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29071 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29072
29073 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29074
29075 for ac_func in fmodf
29076 do
29077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29078 echo "$as_me:$LINENO: checking for $ac_func" >&5
29079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29080 if eval "test \"\${$as_ac_var+set}\" = set"; then
29081 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 else
29083 if test x$gcc_no_link = xyes; then
29084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29086 { (exit 1); exit 1; }; }
29087 fi
29088 cat >conftest.$ac_ext <<_ACEOF
29089 /* confdefs.h. */
29090 _ACEOF
29091 cat confdefs.h >>conftest.$ac_ext
29092 cat >>conftest.$ac_ext <<_ACEOF
29093 /* end confdefs.h. */
29094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29096 #define $ac_func innocuous_$ac_func
29097
29098 /* System header to define __stub macros and hopefully few prototypes,
29099 which can conflict with char $ac_func (); below.
29100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29101 <limits.h> exists even on freestanding compilers. */
29102
29103 #ifdef __STDC__
29104 # include <limits.h>
29105 #else
29106 # include <assert.h>
29107 #endif
29108
29109 #undef $ac_func
29110
29111 /* Override any gcc2 internal prototype to avoid an error. */
29112 #ifdef __cplusplus
29113 extern "C"
29114 {
29115 #endif
29116 /* We use char because int might match the return type of a gcc2
29117 builtin and then its argument prototype would still apply. */
29118 char $ac_func ();
29119 /* The GNU C library defines this for functions which it implements
29120 to always fail with ENOSYS. Some functions are actually named
29121 something starting with __ and the normal name is an alias. */
29122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29123 choke me
29124 #else
29125 char (*f) () = $ac_func;
29126 #endif
29127 #ifdef __cplusplus
29128 }
29129 #endif
29130
29131 int
29132 main ()
29133 {
29134 return f != $ac_func;
29135 ;
29136 return 0;
29137 }
29138 _ACEOF
29139 rm -f conftest.$ac_objext conftest$ac_exeext
29140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29141 (eval $ac_link) 2>conftest.er1
29142 ac_status=$?
29143 grep -v '^ *+' conftest.er1 >conftest.err
29144 rm -f conftest.er1
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } &&
29148 { ac_try='test -z "$ac_c_werror_flag"
29149 || test ! -s conftest.err'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29152 ac_status=$?
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; } &&
29155 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29161 eval "$as_ac_var=yes"
29162 else
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.$ac_ext >&5
29165
29166 eval "$as_ac_var=no"
29167 fi
29168 rm -f conftest.err conftest.$ac_objext \
29169 conftest$ac_exeext conftest.$ac_ext
29170 fi
29171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29173 if test `eval echo '${'$as_ac_var'}'` = yes; then
29174 cat >>confdefs.h <<_ACEOF
29175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29176 _ACEOF
29177
29178 fi
29179 done
29180
29181 else
29182
29183 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29184 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29185 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29186 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 else
29189
29190
29191
29192 ac_ext=cc
29193 ac_cpp='$CXXCPP $CPPFLAGS'
29194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29197
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 #include <math.h>
29205 int
29206 main ()
29207 {
29208 _fmodf(0, 0);
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext
29214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29215 (eval $ac_compile) 2>conftest.er1
29216 ac_status=$?
29217 grep -v '^ *+' conftest.er1 >conftest.err
29218 rm -f conftest.er1
29219 cat conftest.err >&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try='test -z "$ac_cxx_werror_flag"
29223 || test ! -s conftest.err'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29226 ac_status=$?
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; } &&
29229 { ac_try='test -s conftest.$ac_objext'
29230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29231 (eval $ac_try) 2>&5
29232 ac_status=$?
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); }; }; then
29235 glibcxx_cv_func__fmodf_use=yes
29236 else
29237 echo "$as_me: failed program was:" >&5
29238 sed 's/^/| /' conftest.$ac_ext >&5
29239
29240 glibcxx_cv_func__fmodf_use=no
29241 fi
29242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29243 ac_ext=c
29244 ac_cpp='$CPP $CPPFLAGS'
29245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29248
29249
29250 fi
29251
29252 fi
29253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29254 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29255
29256 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29257
29258 for ac_func in _fmodf
29259 do
29260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29261 echo "$as_me:$LINENO: checking for $ac_func" >&5
29262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29263 if eval "test \"\${$as_ac_var+set}\" = set"; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 else
29266 if test x$gcc_no_link = xyes; then
29267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29269 { (exit 1); exit 1; }; }
29270 fi
29271 cat >conftest.$ac_ext <<_ACEOF
29272 /* confdefs.h. */
29273 _ACEOF
29274 cat confdefs.h >>conftest.$ac_ext
29275 cat >>conftest.$ac_ext <<_ACEOF
29276 /* end confdefs.h. */
29277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29279 #define $ac_func innocuous_$ac_func
29280
29281 /* System header to define __stub macros and hopefully few prototypes,
29282 which can conflict with char $ac_func (); below.
29283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29284 <limits.h> exists even on freestanding compilers. */
29285
29286 #ifdef __STDC__
29287 # include <limits.h>
29288 #else
29289 # include <assert.h>
29290 #endif
29291
29292 #undef $ac_func
29293
29294 /* Override any gcc2 internal prototype to avoid an error. */
29295 #ifdef __cplusplus
29296 extern "C"
29297 {
29298 #endif
29299 /* We use char because int might match the return type of a gcc2
29300 builtin and then its argument prototype would still apply. */
29301 char $ac_func ();
29302 /* The GNU C library defines this for functions which it implements
29303 to always fail with ENOSYS. Some functions are actually named
29304 something starting with __ and the normal name is an alias. */
29305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29306 choke me
29307 #else
29308 char (*f) () = $ac_func;
29309 #endif
29310 #ifdef __cplusplus
29311 }
29312 #endif
29313
29314 int
29315 main ()
29316 {
29317 return f != $ac_func;
29318 ;
29319 return 0;
29320 }
29321 _ACEOF
29322 rm -f conftest.$ac_objext conftest$ac_exeext
29323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29324 (eval $ac_link) 2>conftest.er1
29325 ac_status=$?
29326 grep -v '^ *+' conftest.er1 >conftest.err
29327 rm -f conftest.er1
29328 cat conftest.err >&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); } &&
29331 { ac_try='test -z "$ac_c_werror_flag"
29332 || test ! -s conftest.err'
29333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29334 (eval $ac_try) 2>&5
29335 ac_status=$?
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; } &&
29338 { ac_try='test -s conftest$ac_exeext'
29339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29340 (eval $ac_try) 2>&5
29341 ac_status=$?
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); }; }; then
29344 eval "$as_ac_var=yes"
29345 else
29346 echo "$as_me: failed program was:" >&5
29347 sed 's/^/| /' conftest.$ac_ext >&5
29348
29349 eval "$as_ac_var=no"
29350 fi
29351 rm -f conftest.err conftest.$ac_objext \
29352 conftest$ac_exeext conftest.$ac_ext
29353 fi
29354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29356 if test `eval echo '${'$as_ac_var'}'` = yes; then
29357 cat >>confdefs.h <<_ACEOF
29358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29359 _ACEOF
29360
29361 fi
29362 done
29363
29364 fi
29365 fi
29366
29367
29368
29369
29370
29371
29372 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29373 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29374 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29375 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29378
29379
29380
29381 ac_ext=cc
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29386
29387 cat >conftest.$ac_ext <<_ACEOF
29388 /* confdefs.h. */
29389 _ACEOF
29390 cat confdefs.h >>conftest.$ac_ext
29391 cat >>conftest.$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 #include <math.h>
29394 int
29395 main ()
29396 {
29397 frexpf(0, 0);
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 rm -f conftest.$ac_objext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29404 (eval $ac_compile) 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -z "$ac_cxx_werror_flag"
29412 || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29421 ac_status=$?
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 glibcxx_cv_func_frexpf_use=yes
29425 else
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29428
29429 glibcxx_cv_func_frexpf_use=no
29430 fi
29431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29432 ac_ext=c
29433 ac_cpp='$CPP $CPPFLAGS'
29434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29437
29438
29439 fi
29440
29441 fi
29442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29443 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29444
29445 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29446
29447 for ac_func in frexpf
29448 do
29449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29450 echo "$as_me:$LINENO: checking for $ac_func" >&5
29451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29452 if eval "test \"\${$as_ac_var+set}\" = set"; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 else
29455 if test x$gcc_no_link = xyes; then
29456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29458 { (exit 1); exit 1; }; }
29459 fi
29460 cat >conftest.$ac_ext <<_ACEOF
29461 /* confdefs.h. */
29462 _ACEOF
29463 cat confdefs.h >>conftest.$ac_ext
29464 cat >>conftest.$ac_ext <<_ACEOF
29465 /* end confdefs.h. */
29466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29468 #define $ac_func innocuous_$ac_func
29469
29470 /* System header to define __stub macros and hopefully few prototypes,
29471 which can conflict with char $ac_func (); below.
29472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29473 <limits.h> exists even on freestanding compilers. */
29474
29475 #ifdef __STDC__
29476 # include <limits.h>
29477 #else
29478 # include <assert.h>
29479 #endif
29480
29481 #undef $ac_func
29482
29483 /* Override any gcc2 internal prototype to avoid an error. */
29484 #ifdef __cplusplus
29485 extern "C"
29486 {
29487 #endif
29488 /* We use char because int might match the return type of a gcc2
29489 builtin and then its argument prototype would still apply. */
29490 char $ac_func ();
29491 /* The GNU C library defines this for functions which it implements
29492 to always fail with ENOSYS. Some functions are actually named
29493 something starting with __ and the normal name is an alias. */
29494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29495 choke me
29496 #else
29497 char (*f) () = $ac_func;
29498 #endif
29499 #ifdef __cplusplus
29500 }
29501 #endif
29502
29503 int
29504 main ()
29505 {
29506 return f != $ac_func;
29507 ;
29508 return 0;
29509 }
29510 _ACEOF
29511 rm -f conftest.$ac_objext conftest$ac_exeext
29512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29513 (eval $ac_link) 2>conftest.er1
29514 ac_status=$?
29515 grep -v '^ *+' conftest.er1 >conftest.err
29516 rm -f conftest.er1
29517 cat conftest.err >&5
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); } &&
29520 { ac_try='test -z "$ac_c_werror_flag"
29521 || test ! -s conftest.err'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; } &&
29527 { ac_try='test -s conftest$ac_exeext'
29528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29529 (eval $ac_try) 2>&5
29530 ac_status=$?
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); }; }; then
29533 eval "$as_ac_var=yes"
29534 else
29535 echo "$as_me: failed program was:" >&5
29536 sed 's/^/| /' conftest.$ac_ext >&5
29537
29538 eval "$as_ac_var=no"
29539 fi
29540 rm -f conftest.err conftest.$ac_objext \
29541 conftest$ac_exeext conftest.$ac_ext
29542 fi
29543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29545 if test `eval echo '${'$as_ac_var'}'` = yes; then
29546 cat >>confdefs.h <<_ACEOF
29547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29548 _ACEOF
29549
29550 fi
29551 done
29552
29553 else
29554
29555 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29556 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29557 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29558 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29559 echo $ECHO_N "(cached) $ECHO_C" >&6
29560 else
29561
29562
29563
29564 ac_ext=cc
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29569
29570 cat >conftest.$ac_ext <<_ACEOF
29571 /* confdefs.h. */
29572 _ACEOF
29573 cat confdefs.h >>conftest.$ac_ext
29574 cat >>conftest.$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29576 #include <math.h>
29577 int
29578 main ()
29579 {
29580 _frexpf(0, 0);
29581 ;
29582 return 0;
29583 }
29584 _ACEOF
29585 rm -f conftest.$ac_objext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29587 (eval $ac_compile) 2>conftest.er1
29588 ac_status=$?
29589 grep -v '^ *+' conftest.er1 >conftest.err
29590 rm -f conftest.er1
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try='test -z "$ac_cxx_werror_flag"
29595 || test ! -s conftest.err'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; } &&
29601 { ac_try='test -s conftest.$ac_objext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29607 glibcxx_cv_func__frexpf_use=yes
29608 else
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29611
29612 glibcxx_cv_func__frexpf_use=no
29613 fi
29614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29615 ac_ext=c
29616 ac_cpp='$CPP $CPPFLAGS'
29617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29620
29621
29622 fi
29623
29624 fi
29625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29626 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29627
29628 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29629
29630 for ac_func in _frexpf
29631 do
29632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29633 echo "$as_me:$LINENO: checking for $ac_func" >&5
29634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29635 if eval "test \"\${$as_ac_var+set}\" = set"; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 else
29638 if test x$gcc_no_link = xyes; then
29639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29641 { (exit 1); exit 1; }; }
29642 fi
29643 cat >conftest.$ac_ext <<_ACEOF
29644 /* confdefs.h. */
29645 _ACEOF
29646 cat confdefs.h >>conftest.$ac_ext
29647 cat >>conftest.$ac_ext <<_ACEOF
29648 /* end confdefs.h. */
29649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29651 #define $ac_func innocuous_$ac_func
29652
29653 /* System header to define __stub macros and hopefully few prototypes,
29654 which can conflict with char $ac_func (); below.
29655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29656 <limits.h> exists even on freestanding compilers. */
29657
29658 #ifdef __STDC__
29659 # include <limits.h>
29660 #else
29661 # include <assert.h>
29662 #endif
29663
29664 #undef $ac_func
29665
29666 /* Override any gcc2 internal prototype to avoid an error. */
29667 #ifdef __cplusplus
29668 extern "C"
29669 {
29670 #endif
29671 /* We use char because int might match the return type of a gcc2
29672 builtin and then its argument prototype would still apply. */
29673 char $ac_func ();
29674 /* The GNU C library defines this for functions which it implements
29675 to always fail with ENOSYS. Some functions are actually named
29676 something starting with __ and the normal name is an alias. */
29677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29678 choke me
29679 #else
29680 char (*f) () = $ac_func;
29681 #endif
29682 #ifdef __cplusplus
29683 }
29684 #endif
29685
29686 int
29687 main ()
29688 {
29689 return f != $ac_func;
29690 ;
29691 return 0;
29692 }
29693 _ACEOF
29694 rm -f conftest.$ac_objext conftest$ac_exeext
29695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29696 (eval $ac_link) 2>conftest.er1
29697 ac_status=$?
29698 grep -v '^ *+' conftest.er1 >conftest.err
29699 rm -f conftest.er1
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } &&
29703 { ac_try='test -z "$ac_c_werror_flag"
29704 || test ! -s conftest.err'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; } &&
29710 { ac_try='test -s conftest$ac_exeext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29716 eval "$as_ac_var=yes"
29717 else
29718 echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.$ac_ext >&5
29720
29721 eval "$as_ac_var=no"
29722 fi
29723 rm -f conftest.err conftest.$ac_objext \
29724 conftest$ac_exeext conftest.$ac_ext
29725 fi
29726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29728 if test `eval echo '${'$as_ac_var'}'` = yes; then
29729 cat >>confdefs.h <<_ACEOF
29730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29731 _ACEOF
29732
29733 fi
29734 done
29735
29736 fi
29737 fi
29738
29739
29740
29741
29742
29743
29744 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
29745 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
29746 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29747 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29749 else
29750
29751
29752
29753 ac_ext=cc
29754 ac_cpp='$CXXCPP $CPPFLAGS'
29755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29758
29759 cat >conftest.$ac_ext <<_ACEOF
29760 /* confdefs.h. */
29761 _ACEOF
29762 cat confdefs.h >>conftest.$ac_ext
29763 cat >>conftest.$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 #include <math.h>
29766 int
29767 main ()
29768 {
29769 hypotf(0, 0);
29770 ;
29771 return 0;
29772 }
29773 _ACEOF
29774 rm -f conftest.$ac_objext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29776 (eval $ac_compile) 2>conftest.er1
29777 ac_status=$?
29778 grep -v '^ *+' conftest.er1 >conftest.err
29779 rm -f conftest.er1
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try='test -z "$ac_cxx_werror_flag"
29784 || test ! -s conftest.err'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; } &&
29790 { ac_try='test -s conftest.$ac_objext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 glibcxx_cv_func_hypotf_use=yes
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 glibcxx_cv_func_hypotf_use=no
29802 fi
29803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29804 ac_ext=c
29805 ac_cpp='$CPP $CPPFLAGS'
29806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29809
29810
29811 fi
29812
29813 fi
29814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
29815 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
29816
29817 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29818
29819 for ac_func in hypotf
29820 do
29821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29822 echo "$as_me:$LINENO: checking for $ac_func" >&5
29823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29824 if eval "test \"\${$as_ac_var+set}\" = set"; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 if test x$gcc_no_link = xyes; then
29828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29830 { (exit 1); exit 1; }; }
29831 fi
29832 cat >conftest.$ac_ext <<_ACEOF
29833 /* confdefs.h. */
29834 _ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29840 #define $ac_func innocuous_$ac_func
29841
29842 /* System header to define __stub macros and hopefully few prototypes,
29843 which can conflict with char $ac_func (); below.
29844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29845 <limits.h> exists even on freestanding compilers. */
29846
29847 #ifdef __STDC__
29848 # include <limits.h>
29849 #else
29850 # include <assert.h>
29851 #endif
29852
29853 #undef $ac_func
29854
29855 /* Override any gcc2 internal prototype to avoid an error. */
29856 #ifdef __cplusplus
29857 extern "C"
29858 {
29859 #endif
29860 /* We use char because int might match the return type of a gcc2
29861 builtin and then its argument prototype would still apply. */
29862 char $ac_func ();
29863 /* The GNU C library defines this for functions which it implements
29864 to always fail with ENOSYS. Some functions are actually named
29865 something starting with __ and the normal name is an alias. */
29866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29867 choke me
29868 #else
29869 char (*f) () = $ac_func;
29870 #endif
29871 #ifdef __cplusplus
29872 }
29873 #endif
29874
29875 int
29876 main ()
29877 {
29878 return f != $ac_func;
29879 ;
29880 return 0;
29881 }
29882 _ACEOF
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29885 (eval $ac_link) 2>conftest.er1
29886 ac_status=$?
29887 grep -v '^ *+' conftest.er1 >conftest.err
29888 rm -f conftest.er1
29889 cat conftest.err >&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } &&
29892 { ac_try='test -z "$ac_c_werror_flag"
29893 || test ! -s conftest.err'
29894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895 (eval $ac_try) 2>&5
29896 ac_status=$?
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; } &&
29899 { ac_try='test -s conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29902 ac_status=$?
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905 eval "$as_ac_var=yes"
29906 else
29907 echo "$as_me: failed program was:" >&5
29908 sed 's/^/| /' conftest.$ac_ext >&5
29909
29910 eval "$as_ac_var=no"
29911 fi
29912 rm -f conftest.err conftest.$ac_objext \
29913 conftest$ac_exeext conftest.$ac_ext
29914 fi
29915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29917 if test `eval echo '${'$as_ac_var'}'` = yes; then
29918 cat >>confdefs.h <<_ACEOF
29919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29920 _ACEOF
29921
29922 fi
29923 done
29924
29925 else
29926
29927 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
29928 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
29929 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29930 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29932 else
29933
29934
29935
29936 ac_ext=cc
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941
29942 cat >conftest.$ac_ext <<_ACEOF
29943 /* confdefs.h. */
29944 _ACEOF
29945 cat confdefs.h >>conftest.$ac_ext
29946 cat >>conftest.$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29948 #include <math.h>
29949 int
29950 main ()
29951 {
29952 _hypotf(0, 0);
29953 ;
29954 return 0;
29955 }
29956 _ACEOF
29957 rm -f conftest.$ac_objext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29959 (eval $ac_compile) 2>conftest.er1
29960 ac_status=$?
29961 grep -v '^ *+' conftest.er1 >conftest.err
29962 rm -f conftest.er1
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try='test -z "$ac_cxx_werror_flag"
29967 || test ! -s conftest.err'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29970 ac_status=$?
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; } &&
29973 { ac_try='test -s conftest.$ac_objext'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29976 ac_status=$?
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; }; then
29979 glibcxx_cv_func__hypotf_use=yes
29980 else
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29983
29984 glibcxx_cv_func__hypotf_use=no
29985 fi
29986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29987 ac_ext=c
29988 ac_cpp='$CPP $CPPFLAGS'
29989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29992
29993
29994 fi
29995
29996 fi
29997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
29998 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
29999
30000 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30001
30002 for ac_func in _hypotf
30003 do
30004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30005 echo "$as_me:$LINENO: checking for $ac_func" >&5
30006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30007 if eval "test \"\${$as_ac_var+set}\" = set"; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30009 else
30010 if test x$gcc_no_link = xyes; then
30011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30013 { (exit 1); exit 1; }; }
30014 fi
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30023 #define $ac_func innocuous_$ac_func
30024
30025 /* System header to define __stub macros and hopefully few prototypes,
30026 which can conflict with char $ac_func (); below.
30027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30028 <limits.h> exists even on freestanding compilers. */
30029
30030 #ifdef __STDC__
30031 # include <limits.h>
30032 #else
30033 # include <assert.h>
30034 #endif
30035
30036 #undef $ac_func
30037
30038 /* Override any gcc2 internal prototype to avoid an error. */
30039 #ifdef __cplusplus
30040 extern "C"
30041 {
30042 #endif
30043 /* We use char because int might match the return type of a gcc2
30044 builtin and then its argument prototype would still apply. */
30045 char $ac_func ();
30046 /* The GNU C library defines this for functions which it implements
30047 to always fail with ENOSYS. Some functions are actually named
30048 something starting with __ and the normal name is an alias. */
30049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30050 choke me
30051 #else
30052 char (*f) () = $ac_func;
30053 #endif
30054 #ifdef __cplusplus
30055 }
30056 #endif
30057
30058 int
30059 main ()
30060 {
30061 return f != $ac_func;
30062 ;
30063 return 0;
30064 }
30065 _ACEOF
30066 rm -f conftest.$ac_objext conftest$ac_exeext
30067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30068 (eval $ac_link) 2>conftest.er1
30069 ac_status=$?
30070 grep -v '^ *+' conftest.er1 >conftest.err
30071 rm -f conftest.er1
30072 cat conftest.err >&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } &&
30075 { ac_try='test -z "$ac_c_werror_flag"
30076 || test ! -s conftest.err'
30077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30078 (eval $ac_try) 2>&5
30079 ac_status=$?
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); }; } &&
30082 { ac_try='test -s conftest$ac_exeext'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30085 ac_status=$?
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; }; then
30088 eval "$as_ac_var=yes"
30089 else
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30092
30093 eval "$as_ac_var=no"
30094 fi
30095 rm -f conftest.err conftest.$ac_objext \
30096 conftest$ac_exeext conftest.$ac_ext
30097 fi
30098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30100 if test `eval echo '${'$as_ac_var'}'` = yes; then
30101 cat >>confdefs.h <<_ACEOF
30102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30103 _ACEOF
30104
30105 fi
30106 done
30107
30108 fi
30109 fi
30110
30111
30112
30113
30114
30115
30116 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30117 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30118 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30119 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30120 echo $ECHO_N "(cached) $ECHO_C" >&6
30121 else
30122
30123
30124
30125 ac_ext=cc
30126 ac_cpp='$CXXCPP $CPPFLAGS'
30127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30130
30131 cat >conftest.$ac_ext <<_ACEOF
30132 /* confdefs.h. */
30133 _ACEOF
30134 cat confdefs.h >>conftest.$ac_ext
30135 cat >>conftest.$ac_ext <<_ACEOF
30136 /* end confdefs.h. */
30137 #include <math.h>
30138 int
30139 main ()
30140 {
30141 ldexpf(0, 0);
30142 ;
30143 return 0;
30144 }
30145 _ACEOF
30146 rm -f conftest.$ac_objext
30147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30148 (eval $ac_compile) 2>conftest.er1
30149 ac_status=$?
30150 grep -v '^ *+' conftest.er1 >conftest.err
30151 rm -f conftest.er1
30152 cat conftest.err >&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try='test -z "$ac_cxx_werror_flag"
30156 || test ! -s conftest.err'
30157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30158 (eval $ac_try) 2>&5
30159 ac_status=$?
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); }; } &&
30162 { ac_try='test -s conftest.$ac_objext'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; }; then
30168 glibcxx_cv_func_ldexpf_use=yes
30169 else
30170 echo "$as_me: failed program was:" >&5
30171 sed 's/^/| /' conftest.$ac_ext >&5
30172
30173 glibcxx_cv_func_ldexpf_use=no
30174 fi
30175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30176 ac_ext=c
30177 ac_cpp='$CPP $CPPFLAGS'
30178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30181
30182
30183 fi
30184
30185 fi
30186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30187 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30188
30189 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30190
30191 for ac_func in ldexpf
30192 do
30193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30194 echo "$as_me:$LINENO: checking for $ac_func" >&5
30195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30196 if eval "test \"\${$as_ac_var+set}\" = set"; then
30197 echo $ECHO_N "(cached) $ECHO_C" >&6
30198 else
30199 if test x$gcc_no_link = xyes; then
30200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30202 { (exit 1); exit 1; }; }
30203 fi
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30212 #define $ac_func innocuous_$ac_func
30213
30214 /* System header to define __stub macros and hopefully few prototypes,
30215 which can conflict with char $ac_func (); below.
30216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30217 <limits.h> exists even on freestanding compilers. */
30218
30219 #ifdef __STDC__
30220 # include <limits.h>
30221 #else
30222 # include <assert.h>
30223 #endif
30224
30225 #undef $ac_func
30226
30227 /* Override any gcc2 internal prototype to avoid an error. */
30228 #ifdef __cplusplus
30229 extern "C"
30230 {
30231 #endif
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30234 char $ac_func ();
30235 /* The GNU C library defines this for functions which it implements
30236 to always fail with ENOSYS. Some functions are actually named
30237 something starting with __ and the normal name is an alias. */
30238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30239 choke me
30240 #else
30241 char (*f) () = $ac_func;
30242 #endif
30243 #ifdef __cplusplus
30244 }
30245 #endif
30246
30247 int
30248 main ()
30249 {
30250 return f != $ac_func;
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 rm -f conftest.$ac_objext conftest$ac_exeext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30257 (eval $ac_link) 2>conftest.er1
30258 ac_status=$?
30259 grep -v '^ *+' conftest.er1 >conftest.err
30260 rm -f conftest.er1
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try='test -z "$ac_c_werror_flag"
30265 || test ! -s conftest.err'
30266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267 (eval $ac_try) 2>&5
30268 ac_status=$?
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); }; } &&
30271 { ac_try='test -s conftest$ac_exeext'
30272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30273 (eval $ac_try) 2>&5
30274 ac_status=$?
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); }; }; then
30277 eval "$as_ac_var=yes"
30278 else
30279 echo "$as_me: failed program was:" >&5
30280 sed 's/^/| /' conftest.$ac_ext >&5
30281
30282 eval "$as_ac_var=no"
30283 fi
30284 rm -f conftest.err conftest.$ac_objext \
30285 conftest$ac_exeext conftest.$ac_ext
30286 fi
30287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30289 if test `eval echo '${'$as_ac_var'}'` = yes; then
30290 cat >>confdefs.h <<_ACEOF
30291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30292 _ACEOF
30293
30294 fi
30295 done
30296
30297 else
30298
30299 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30300 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30301 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30302 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30305
30306
30307
30308 ac_ext=cc
30309 ac_cpp='$CXXCPP $CPPFLAGS'
30310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30313
30314 cat >conftest.$ac_ext <<_ACEOF
30315 /* confdefs.h. */
30316 _ACEOF
30317 cat confdefs.h >>conftest.$ac_ext
30318 cat >>conftest.$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 #include <math.h>
30321 int
30322 main ()
30323 {
30324 _ldexpf(0, 0);
30325 ;
30326 return 0;
30327 }
30328 _ACEOF
30329 rm -f conftest.$ac_objext
30330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30331 (eval $ac_compile) 2>conftest.er1
30332 ac_status=$?
30333 grep -v '^ *+' conftest.er1 >conftest.err
30334 rm -f conftest.er1
30335 cat conftest.err >&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); } &&
30338 { ac_try='test -z "$ac_cxx_werror_flag"
30339 || test ! -s conftest.err'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; } &&
30345 { ac_try='test -s conftest.$ac_objext'
30346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30347 (eval $ac_try) 2>&5
30348 ac_status=$?
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; }; then
30351 glibcxx_cv_func__ldexpf_use=yes
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30355
30356 glibcxx_cv_func__ldexpf_use=no
30357 fi
30358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30359 ac_ext=c
30360 ac_cpp='$CPP $CPPFLAGS'
30361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30364
30365
30366 fi
30367
30368 fi
30369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30370 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30371
30372 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30373
30374 for ac_func in _ldexpf
30375 do
30376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30377 echo "$as_me:$LINENO: checking for $ac_func" >&5
30378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30379 if eval "test \"\${$as_ac_var+set}\" = set"; then
30380 echo $ECHO_N "(cached) $ECHO_C" >&6
30381 else
30382 if test x$gcc_no_link = xyes; then
30383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30385 { (exit 1); exit 1; }; }
30386 fi
30387 cat >conftest.$ac_ext <<_ACEOF
30388 /* confdefs.h. */
30389 _ACEOF
30390 cat confdefs.h >>conftest.$ac_ext
30391 cat >>conftest.$ac_ext <<_ACEOF
30392 /* end confdefs.h. */
30393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30395 #define $ac_func innocuous_$ac_func
30396
30397 /* System header to define __stub macros and hopefully few prototypes,
30398 which can conflict with char $ac_func (); below.
30399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30400 <limits.h> exists even on freestanding compilers. */
30401
30402 #ifdef __STDC__
30403 # include <limits.h>
30404 #else
30405 # include <assert.h>
30406 #endif
30407
30408 #undef $ac_func
30409
30410 /* Override any gcc2 internal prototype to avoid an error. */
30411 #ifdef __cplusplus
30412 extern "C"
30413 {
30414 #endif
30415 /* We use char because int might match the return type of a gcc2
30416 builtin and then its argument prototype would still apply. */
30417 char $ac_func ();
30418 /* The GNU C library defines this for functions which it implements
30419 to always fail with ENOSYS. Some functions are actually named
30420 something starting with __ and the normal name is an alias. */
30421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30422 choke me
30423 #else
30424 char (*f) () = $ac_func;
30425 #endif
30426 #ifdef __cplusplus
30427 }
30428 #endif
30429
30430 int
30431 main ()
30432 {
30433 return f != $ac_func;
30434 ;
30435 return 0;
30436 }
30437 _ACEOF
30438 rm -f conftest.$ac_objext conftest$ac_exeext
30439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30440 (eval $ac_link) 2>conftest.er1
30441 ac_status=$?
30442 grep -v '^ *+' conftest.er1 >conftest.err
30443 rm -f conftest.er1
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } &&
30447 { ac_try='test -z "$ac_c_werror_flag"
30448 || test ! -s conftest.err'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30451 ac_status=$?
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; } &&
30454 { ac_try='test -s conftest$ac_exeext'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30457 ac_status=$?
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; }; then
30460 eval "$as_ac_var=yes"
30461 else
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30464
30465 eval "$as_ac_var=no"
30466 fi
30467 rm -f conftest.err conftest.$ac_objext \
30468 conftest$ac_exeext conftest.$ac_ext
30469 fi
30470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30472 if test `eval echo '${'$as_ac_var'}'` = yes; then
30473 cat >>confdefs.h <<_ACEOF
30474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30475 _ACEOF
30476
30477 fi
30478 done
30479
30480 fi
30481 fi
30482
30483
30484
30485
30486
30487
30488 echo "$as_me:$LINENO: checking for logf declaration" >&5
30489 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30490 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30491 if test "${glibcxx_cv_func_logf_use+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 else
30494
30495
30496
30497 ac_ext=cc
30498 ac_cpp='$CXXCPP $CPPFLAGS'
30499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30502
30503 cat >conftest.$ac_ext <<_ACEOF
30504 /* confdefs.h. */
30505 _ACEOF
30506 cat confdefs.h >>conftest.$ac_ext
30507 cat >>conftest.$ac_ext <<_ACEOF
30508 /* end confdefs.h. */
30509 #include <math.h>
30510 #ifdef HAVE_IEEEFP_H
30511 #include <ieeefp.h>
30512 #endif
30513
30514 int
30515 main ()
30516 {
30517 logf(0);
30518 ;
30519 return 0;
30520 }
30521 _ACEOF
30522 rm -f conftest.$ac_objext
30523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30524 (eval $ac_compile) 2>conftest.er1
30525 ac_status=$?
30526 grep -v '^ *+' conftest.er1 >conftest.err
30527 rm -f conftest.er1
30528 cat conftest.err >&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } &&
30531 { ac_try='test -z "$ac_cxx_werror_flag"
30532 || test ! -s conftest.err'
30533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30534 (eval $ac_try) 2>&5
30535 ac_status=$?
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); }; } &&
30538 { ac_try='test -s conftest.$ac_objext'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30541 ac_status=$?
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; }; then
30544 glibcxx_cv_func_logf_use=yes
30545 else
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30548
30549 glibcxx_cv_func_logf_use=no
30550 fi
30551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30552 ac_ext=c
30553 ac_cpp='$CPP $CPPFLAGS'
30554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30557
30558
30559 fi
30560
30561 fi
30562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30563 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30564
30565 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30566
30567 for ac_func in logf
30568 do
30569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30570 echo "$as_me:$LINENO: checking for $ac_func" >&5
30571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30572 if eval "test \"\${$as_ac_var+set}\" = set"; then
30573 echo $ECHO_N "(cached) $ECHO_C" >&6
30574 else
30575 if test x$gcc_no_link = xyes; then
30576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30578 { (exit 1); exit 1; }; }
30579 fi
30580 cat >conftest.$ac_ext <<_ACEOF
30581 /* confdefs.h. */
30582 _ACEOF
30583 cat confdefs.h >>conftest.$ac_ext
30584 cat >>conftest.$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30588 #define $ac_func innocuous_$ac_func
30589
30590 /* System header to define __stub macros and hopefully few prototypes,
30591 which can conflict with char $ac_func (); below.
30592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30593 <limits.h> exists even on freestanding compilers. */
30594
30595 #ifdef __STDC__
30596 # include <limits.h>
30597 #else
30598 # include <assert.h>
30599 #endif
30600
30601 #undef $ac_func
30602
30603 /* Override any gcc2 internal prototype to avoid an error. */
30604 #ifdef __cplusplus
30605 extern "C"
30606 {
30607 #endif
30608 /* We use char because int might match the return type of a gcc2
30609 builtin and then its argument prototype would still apply. */
30610 char $ac_func ();
30611 /* The GNU C library defines this for functions which it implements
30612 to always fail with ENOSYS. Some functions are actually named
30613 something starting with __ and the normal name is an alias. */
30614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30615 choke me
30616 #else
30617 char (*f) () = $ac_func;
30618 #endif
30619 #ifdef __cplusplus
30620 }
30621 #endif
30622
30623 int
30624 main ()
30625 {
30626 return f != $ac_func;
30627 ;
30628 return 0;
30629 }
30630 _ACEOF
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30633 (eval $ac_link) 2>conftest.er1
30634 ac_status=$?
30635 grep -v '^ *+' conftest.er1 >conftest.err
30636 rm -f conftest.er1
30637 cat conftest.err >&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try='test -z "$ac_c_werror_flag"
30641 || test ! -s conftest.err'
30642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30643 (eval $ac_try) 2>&5
30644 ac_status=$?
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); }; } &&
30647 { ac_try='test -s conftest$ac_exeext'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30650 ac_status=$?
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; }; then
30653 eval "$as_ac_var=yes"
30654 else
30655 echo "$as_me: failed program was:" >&5
30656 sed 's/^/| /' conftest.$ac_ext >&5
30657
30658 eval "$as_ac_var=no"
30659 fi
30660 rm -f conftest.err conftest.$ac_objext \
30661 conftest$ac_exeext conftest.$ac_ext
30662 fi
30663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30665 if test `eval echo '${'$as_ac_var'}'` = yes; then
30666 cat >>confdefs.h <<_ACEOF
30667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30668 _ACEOF
30669
30670 fi
30671 done
30672
30673 else
30674
30675 echo "$as_me:$LINENO: checking for _logf declaration" >&5
30676 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
30677 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30678 if test "${glibcxx_cv_func__logf_use+set}" = set; then
30679 echo $ECHO_N "(cached) $ECHO_C" >&6
30680 else
30681
30682
30683
30684 ac_ext=cc
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30689
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696 #include <math.h>
30697 #ifdef HAVE_IEEEFP_H
30698 #include <ieeefp.h>
30699 #endif
30700
30701 int
30702 main ()
30703 {
30704 _logf(0);
30705 ;
30706 return 0;
30707 }
30708 _ACEOF
30709 rm -f conftest.$ac_objext
30710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30711 (eval $ac_compile) 2>conftest.er1
30712 ac_status=$?
30713 grep -v '^ *+' conftest.er1 >conftest.err
30714 rm -f conftest.er1
30715 cat conftest.err >&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); } &&
30718 { ac_try='test -z "$ac_cxx_werror_flag"
30719 || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try='test -s conftest.$ac_objext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30728 ac_status=$?
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731 glibcxx_cv_func__logf_use=yes
30732 else
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30735
30736 glibcxx_cv_func__logf_use=no
30737 fi
30738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30739 ac_ext=c
30740 ac_cpp='$CPP $CPPFLAGS'
30741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30744
30745
30746 fi
30747
30748 fi
30749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
30750 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
30751
30752 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30753
30754 for ac_func in _logf
30755 do
30756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30757 echo "$as_me:$LINENO: checking for $ac_func" >&5
30758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30759 if eval "test \"\${$as_ac_var+set}\" = set"; then
30760 echo $ECHO_N "(cached) $ECHO_C" >&6
30761 else
30762 if test x$gcc_no_link = xyes; then
30763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30765 { (exit 1); exit 1; }; }
30766 fi
30767 cat >conftest.$ac_ext <<_ACEOF
30768 /* confdefs.h. */
30769 _ACEOF
30770 cat confdefs.h >>conftest.$ac_ext
30771 cat >>conftest.$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30775 #define $ac_func innocuous_$ac_func
30776
30777 /* System header to define __stub macros and hopefully few prototypes,
30778 which can conflict with char $ac_func (); below.
30779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30780 <limits.h> exists even on freestanding compilers. */
30781
30782 #ifdef __STDC__
30783 # include <limits.h>
30784 #else
30785 # include <assert.h>
30786 #endif
30787
30788 #undef $ac_func
30789
30790 /* Override any gcc2 internal prototype to avoid an error. */
30791 #ifdef __cplusplus
30792 extern "C"
30793 {
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797 char $ac_func ();
30798 /* The GNU C library defines this for functions which it implements
30799 to always fail with ENOSYS. Some functions are actually named
30800 something starting with __ and the normal name is an alias. */
30801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30802 choke me
30803 #else
30804 char (*f) () = $ac_func;
30805 #endif
30806 #ifdef __cplusplus
30807 }
30808 #endif
30809
30810 int
30811 main ()
30812 {
30813 return f != $ac_func;
30814 ;
30815 return 0;
30816 }
30817 _ACEOF
30818 rm -f conftest.$ac_objext conftest$ac_exeext
30819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30820 (eval $ac_link) 2>conftest.er1
30821 ac_status=$?
30822 grep -v '^ *+' conftest.er1 >conftest.err
30823 rm -f conftest.er1
30824 cat conftest.err >&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } &&
30827 { ac_try='test -z "$ac_c_werror_flag"
30828 || test ! -s conftest.err'
30829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30830 (eval $ac_try) 2>&5
30831 ac_status=$?
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); }; } &&
30834 { ac_try='test -s conftest$ac_exeext'
30835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30836 (eval $ac_try) 2>&5
30837 ac_status=$?
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); }; }; then
30840 eval "$as_ac_var=yes"
30841 else
30842 echo "$as_me: failed program was:" >&5
30843 sed 's/^/| /' conftest.$ac_ext >&5
30844
30845 eval "$as_ac_var=no"
30846 fi
30847 rm -f conftest.err conftest.$ac_objext \
30848 conftest$ac_exeext conftest.$ac_ext
30849 fi
30850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30852 if test `eval echo '${'$as_ac_var'}'` = yes; then
30853 cat >>confdefs.h <<_ACEOF
30854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30855 _ACEOF
30856
30857 fi
30858 done
30859
30860 fi
30861 fi
30862
30863
30864
30865
30866
30867
30868 echo "$as_me:$LINENO: checking for log10f declaration" >&5
30869 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
30870 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30871 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
30872 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 else
30874
30875
30876
30877 ac_ext=cc
30878 ac_cpp='$CXXCPP $CPPFLAGS'
30879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30882
30883 cat >conftest.$ac_ext <<_ACEOF
30884 /* confdefs.h. */
30885 _ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30889 #include <math.h>
30890 #ifdef HAVE_IEEEFP_H
30891 #include <ieeefp.h>
30892 #endif
30893
30894 int
30895 main ()
30896 {
30897 log10f(0);
30898 ;
30899 return 0;
30900 }
30901 _ACEOF
30902 rm -f conftest.$ac_objext
30903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30904 (eval $ac_compile) 2>conftest.er1
30905 ac_status=$?
30906 grep -v '^ *+' conftest.er1 >conftest.err
30907 rm -f conftest.er1
30908 cat conftest.err >&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } &&
30911 { ac_try='test -z "$ac_cxx_werror_flag"
30912 || test ! -s conftest.err'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; } &&
30918 { ac_try='test -s conftest.$ac_objext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924 glibcxx_cv_func_log10f_use=yes
30925 else
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30928
30929 glibcxx_cv_func_log10f_use=no
30930 fi
30931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30932 ac_ext=c
30933 ac_cpp='$CPP $CPPFLAGS'
30934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30937
30938
30939 fi
30940
30941 fi
30942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
30943 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
30944
30945 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30946
30947 for ac_func in log10f
30948 do
30949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30950 echo "$as_me:$LINENO: checking for $ac_func" >&5
30951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30952 if eval "test \"\${$as_ac_var+set}\" = set"; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 if test x$gcc_no_link = xyes; then
30956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30958 { (exit 1); exit 1; }; }
30959 fi
30960 cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h. */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30968 #define $ac_func innocuous_$ac_func
30969
30970 /* System header to define __stub macros and hopefully few prototypes,
30971 which can conflict with char $ac_func (); below.
30972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30973 <limits.h> exists even on freestanding compilers. */
30974
30975 #ifdef __STDC__
30976 # include <limits.h>
30977 #else
30978 # include <assert.h>
30979 #endif
30980
30981 #undef $ac_func
30982
30983 /* Override any gcc2 internal prototype to avoid an error. */
30984 #ifdef __cplusplus
30985 extern "C"
30986 {
30987 #endif
30988 /* We use char because int might match the return type of a gcc2
30989 builtin and then its argument prototype would still apply. */
30990 char $ac_func ();
30991 /* The GNU C library defines this for functions which it implements
30992 to always fail with ENOSYS. Some functions are actually named
30993 something starting with __ and the normal name is an alias. */
30994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30995 choke me
30996 #else
30997 char (*f) () = $ac_func;
30998 #endif
30999 #ifdef __cplusplus
31000 }
31001 #endif
31002
31003 int
31004 main ()
31005 {
31006 return f != $ac_func;
31007 ;
31008 return 0;
31009 }
31010 _ACEOF
31011 rm -f conftest.$ac_objext conftest$ac_exeext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31013 (eval $ac_link) 2>conftest.er1
31014 ac_status=$?
31015 grep -v '^ *+' conftest.er1 >conftest.err
31016 rm -f conftest.er1
31017 cat conftest.err >&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try='test -z "$ac_c_werror_flag"
31021 || test ! -s conftest.err'
31022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31023 (eval $ac_try) 2>&5
31024 ac_status=$?
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); }; } &&
31027 { ac_try='test -s conftest$ac_exeext'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; }; then
31033 eval "$as_ac_var=yes"
31034 else
31035 echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.$ac_ext >&5
31037
31038 eval "$as_ac_var=no"
31039 fi
31040 rm -f conftest.err conftest.$ac_objext \
31041 conftest$ac_exeext conftest.$ac_ext
31042 fi
31043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31045 if test `eval echo '${'$as_ac_var'}'` = yes; then
31046 cat >>confdefs.h <<_ACEOF
31047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31048 _ACEOF
31049
31050 fi
31051 done
31052
31053 else
31054
31055 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31056 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31057 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31058 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31060 else
31061
31062
31063
31064 ac_ext=cc
31065 ac_cpp='$CXXCPP $CPPFLAGS'
31066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31069
31070 cat >conftest.$ac_ext <<_ACEOF
31071 /* confdefs.h. */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31076 #include <math.h>
31077 #ifdef HAVE_IEEEFP_H
31078 #include <ieeefp.h>
31079 #endif
31080
31081 int
31082 main ()
31083 {
31084 _log10f(0);
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 rm -f conftest.$ac_objext
31090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31091 (eval $ac_compile) 2>conftest.er1
31092 ac_status=$?
31093 grep -v '^ *+' conftest.er1 >conftest.err
31094 rm -f conftest.er1
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } &&
31098 { ac_try='test -z "$ac_cxx_werror_flag"
31099 || test ! -s conftest.err'
31100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31101 (eval $ac_try) 2>&5
31102 ac_status=$?
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); }; } &&
31105 { ac_try='test -s conftest.$ac_objext'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; }; then
31111 glibcxx_cv_func__log10f_use=yes
31112 else
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.$ac_ext >&5
31115
31116 glibcxx_cv_func__log10f_use=no
31117 fi
31118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31119 ac_ext=c
31120 ac_cpp='$CPP $CPPFLAGS'
31121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31124
31125
31126 fi
31127
31128 fi
31129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31130 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31131
31132 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31133
31134 for ac_func in _log10f
31135 do
31136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31137 echo "$as_me:$LINENO: checking for $ac_func" >&5
31138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31139 if eval "test \"\${$as_ac_var+set}\" = set"; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31141 else
31142 if test x$gcc_no_link = xyes; then
31143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31145 { (exit 1); exit 1; }; }
31146 fi
31147 cat >conftest.$ac_ext <<_ACEOF
31148 /* confdefs.h. */
31149 _ACEOF
31150 cat confdefs.h >>conftest.$ac_ext
31151 cat >>conftest.$ac_ext <<_ACEOF
31152 /* end confdefs.h. */
31153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31155 #define $ac_func innocuous_$ac_func
31156
31157 /* System header to define __stub macros and hopefully few prototypes,
31158 which can conflict with char $ac_func (); below.
31159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31160 <limits.h> exists even on freestanding compilers. */
31161
31162 #ifdef __STDC__
31163 # include <limits.h>
31164 #else
31165 # include <assert.h>
31166 #endif
31167
31168 #undef $ac_func
31169
31170 /* Override any gcc2 internal prototype to avoid an error. */
31171 #ifdef __cplusplus
31172 extern "C"
31173 {
31174 #endif
31175 /* We use char because int might match the return type of a gcc2
31176 builtin and then its argument prototype would still apply. */
31177 char $ac_func ();
31178 /* The GNU C library defines this for functions which it implements
31179 to always fail with ENOSYS. Some functions are actually named
31180 something starting with __ and the normal name is an alias. */
31181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31182 choke me
31183 #else
31184 char (*f) () = $ac_func;
31185 #endif
31186 #ifdef __cplusplus
31187 }
31188 #endif
31189
31190 int
31191 main ()
31192 {
31193 return f != $ac_func;
31194 ;
31195 return 0;
31196 }
31197 _ACEOF
31198 rm -f conftest.$ac_objext conftest$ac_exeext
31199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31200 (eval $ac_link) 2>conftest.er1
31201 ac_status=$?
31202 grep -v '^ *+' conftest.er1 >conftest.err
31203 rm -f conftest.er1
31204 cat conftest.err >&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } &&
31207 { ac_try='test -z "$ac_c_werror_flag"
31208 || test ! -s conftest.err'
31209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31210 (eval $ac_try) 2>&5
31211 ac_status=$?
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; } &&
31214 { ac_try='test -s conftest$ac_exeext'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31217 ac_status=$?
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; }; then
31220 eval "$as_ac_var=yes"
31221 else
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31224
31225 eval "$as_ac_var=no"
31226 fi
31227 rm -f conftest.err conftest.$ac_objext \
31228 conftest$ac_exeext conftest.$ac_ext
31229 fi
31230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31232 if test `eval echo '${'$as_ac_var'}'` = yes; then
31233 cat >>confdefs.h <<_ACEOF
31234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31235 _ACEOF
31236
31237 fi
31238 done
31239
31240 fi
31241 fi
31242
31243
31244
31245
31246
31247
31248 echo "$as_me:$LINENO: checking for modff declaration" >&5
31249 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31250 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31251 if test "${glibcxx_cv_func_modff_use+set}" = set; then
31252 echo $ECHO_N "(cached) $ECHO_C" >&6
31253 else
31254
31255
31256
31257 ac_ext=cc
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31262
31263 cat >conftest.$ac_ext <<_ACEOF
31264 /* confdefs.h. */
31265 _ACEOF
31266 cat confdefs.h >>conftest.$ac_ext
31267 cat >>conftest.$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31269 #include <math.h>
31270 int
31271 main ()
31272 {
31273 modff(0, 0);
31274 ;
31275 return 0;
31276 }
31277 _ACEOF
31278 rm -f conftest.$ac_objext
31279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31280 (eval $ac_compile) 2>conftest.er1
31281 ac_status=$?
31282 grep -v '^ *+' conftest.er1 >conftest.err
31283 rm -f conftest.er1
31284 cat conftest.err >&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } &&
31287 { ac_try='test -z "$ac_cxx_werror_flag"
31288 || test ! -s conftest.err'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31291 ac_status=$?
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; } &&
31294 { ac_try='test -s conftest.$ac_objext'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31300 glibcxx_cv_func_modff_use=yes
31301 else
31302 echo "$as_me: failed program was:" >&5
31303 sed 's/^/| /' conftest.$ac_ext >&5
31304
31305 glibcxx_cv_func_modff_use=no
31306 fi
31307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31313
31314
31315 fi
31316
31317 fi
31318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31319 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31320
31321 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31322
31323 for ac_func in modff
31324 do
31325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31326 echo "$as_me:$LINENO: checking for $ac_func" >&5
31327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31328 if eval "test \"\${$as_ac_var+set}\" = set"; then
31329 echo $ECHO_N "(cached) $ECHO_C" >&6
31330 else
31331 if test x$gcc_no_link = xyes; then
31332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31334 { (exit 1); exit 1; }; }
31335 fi
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31344 #define $ac_func innocuous_$ac_func
31345
31346 /* System header to define __stub macros and hopefully few prototypes,
31347 which can conflict with char $ac_func (); below.
31348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31349 <limits.h> exists even on freestanding compilers. */
31350
31351 #ifdef __STDC__
31352 # include <limits.h>
31353 #else
31354 # include <assert.h>
31355 #endif
31356
31357 #undef $ac_func
31358
31359 /* Override any gcc2 internal prototype to avoid an error. */
31360 #ifdef __cplusplus
31361 extern "C"
31362 {
31363 #endif
31364 /* We use char because int might match the return type of a gcc2
31365 builtin and then its argument prototype would still apply. */
31366 char $ac_func ();
31367 /* The GNU C library defines this for functions which it implements
31368 to always fail with ENOSYS. Some functions are actually named
31369 something starting with __ and the normal name is an alias. */
31370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31371 choke me
31372 #else
31373 char (*f) () = $ac_func;
31374 #endif
31375 #ifdef __cplusplus
31376 }
31377 #endif
31378
31379 int
31380 main ()
31381 {
31382 return f != $ac_func;
31383 ;
31384 return 0;
31385 }
31386 _ACEOF
31387 rm -f conftest.$ac_objext conftest$ac_exeext
31388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31389 (eval $ac_link) 2>conftest.er1
31390 ac_status=$?
31391 grep -v '^ *+' conftest.er1 >conftest.err
31392 rm -f conftest.er1
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } &&
31396 { ac_try='test -z "$ac_c_werror_flag"
31397 || test ! -s conftest.err'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; } &&
31403 { ac_try='test -s conftest$ac_exeext'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 eval "$as_ac_var=yes"
31410 else
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.$ac_ext >&5
31413
31414 eval "$as_ac_var=no"
31415 fi
31416 rm -f conftest.err conftest.$ac_objext \
31417 conftest$ac_exeext conftest.$ac_ext
31418 fi
31419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31421 if test `eval echo '${'$as_ac_var'}'` = yes; then
31422 cat >>confdefs.h <<_ACEOF
31423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31424 _ACEOF
31425
31426 fi
31427 done
31428
31429 else
31430
31431 echo "$as_me:$LINENO: checking for _modff declaration" >&5
31432 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31433 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31434 if test "${glibcxx_cv_func__modff_use+set}" = set; then
31435 echo $ECHO_N "(cached) $ECHO_C" >&6
31436 else
31437
31438
31439
31440 ac_ext=cc
31441 ac_cpp='$CXXCPP $CPPFLAGS'
31442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31445
31446 cat >conftest.$ac_ext <<_ACEOF
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31452 #include <math.h>
31453 int
31454 main ()
31455 {
31456 _modff(0, 0);
31457 ;
31458 return 0;
31459 }
31460 _ACEOF
31461 rm -f conftest.$ac_objext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31463 (eval $ac_compile) 2>conftest.er1
31464 ac_status=$?
31465 grep -v '^ *+' conftest.er1 >conftest.err
31466 rm -f conftest.er1
31467 cat conftest.err >&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } &&
31470 { ac_try='test -z "$ac_cxx_werror_flag"
31471 || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31474 ac_status=$?
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try='test -s conftest.$ac_objext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 glibcxx_cv_func__modff_use=yes
31484 else
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.$ac_ext >&5
31487
31488 glibcxx_cv_func__modff_use=no
31489 fi
31490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31496
31497
31498 fi
31499
31500 fi
31501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31502 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31503
31504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31505
31506 for ac_func in _modff
31507 do
31508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31509 echo "$as_me:$LINENO: checking for $ac_func" >&5
31510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31511 if eval "test \"\${$as_ac_var+set}\" = set"; then
31512 echo $ECHO_N "(cached) $ECHO_C" >&6
31513 else
31514 if test x$gcc_no_link = xyes; then
31515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31517 { (exit 1); exit 1; }; }
31518 fi
31519 cat >conftest.$ac_ext <<_ACEOF
31520 /* confdefs.h. */
31521 _ACEOF
31522 cat confdefs.h >>conftest.$ac_ext
31523 cat >>conftest.$ac_ext <<_ACEOF
31524 /* end confdefs.h. */
31525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31527 #define $ac_func innocuous_$ac_func
31528
31529 /* System header to define __stub macros and hopefully few prototypes,
31530 which can conflict with char $ac_func (); below.
31531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31532 <limits.h> exists even on freestanding compilers. */
31533
31534 #ifdef __STDC__
31535 # include <limits.h>
31536 #else
31537 # include <assert.h>
31538 #endif
31539
31540 #undef $ac_func
31541
31542 /* Override any gcc2 internal prototype to avoid an error. */
31543 #ifdef __cplusplus
31544 extern "C"
31545 {
31546 #endif
31547 /* We use char because int might match the return type of a gcc2
31548 builtin and then its argument prototype would still apply. */
31549 char $ac_func ();
31550 /* The GNU C library defines this for functions which it implements
31551 to always fail with ENOSYS. Some functions are actually named
31552 something starting with __ and the normal name is an alias. */
31553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31554 choke me
31555 #else
31556 char (*f) () = $ac_func;
31557 #endif
31558 #ifdef __cplusplus
31559 }
31560 #endif
31561
31562 int
31563 main ()
31564 {
31565 return f != $ac_func;
31566 ;
31567 return 0;
31568 }
31569 _ACEOF
31570 rm -f conftest.$ac_objext conftest$ac_exeext
31571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31572 (eval $ac_link) 2>conftest.er1
31573 ac_status=$?
31574 grep -v '^ *+' conftest.er1 >conftest.err
31575 rm -f conftest.er1
31576 cat conftest.err >&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } &&
31579 { ac_try='test -z "$ac_c_werror_flag"
31580 || test ! -s conftest.err'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; } &&
31586 { ac_try='test -s conftest$ac_exeext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 eval "$as_ac_var=yes"
31593 else
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31596
31597 eval "$as_ac_var=no"
31598 fi
31599 rm -f conftest.err conftest.$ac_objext \
31600 conftest$ac_exeext conftest.$ac_ext
31601 fi
31602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31604 if test `eval echo '${'$as_ac_var'}'` = yes; then
31605 cat >>confdefs.h <<_ACEOF
31606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31607 _ACEOF
31608
31609 fi
31610 done
31611
31612 fi
31613 fi
31614
31615
31616
31617
31618
31619
31620 echo "$as_me:$LINENO: checking for modf declaration" >&5
31621 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31622 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31623 if test "${glibcxx_cv_func_modf_use+set}" = set; then
31624 echo $ECHO_N "(cached) $ECHO_C" >&6
31625 else
31626
31627
31628
31629 ac_ext=cc
31630 ac_cpp='$CXXCPP $CPPFLAGS'
31631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31634
31635 cat >conftest.$ac_ext <<_ACEOF
31636 /* confdefs.h. */
31637 _ACEOF
31638 cat confdefs.h >>conftest.$ac_ext
31639 cat >>conftest.$ac_ext <<_ACEOF
31640 /* end confdefs.h. */
31641 #include <math.h>
31642 int
31643 main ()
31644 {
31645 modf(0, 0);
31646 ;
31647 return 0;
31648 }
31649 _ACEOF
31650 rm -f conftest.$ac_objext
31651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31652 (eval $ac_compile) 2>conftest.er1
31653 ac_status=$?
31654 grep -v '^ *+' conftest.er1 >conftest.err
31655 rm -f conftest.er1
31656 cat conftest.err >&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); } &&
31659 { ac_try='test -z "$ac_cxx_werror_flag"
31660 || test ! -s conftest.err'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31663 ac_status=$?
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; } &&
31666 { ac_try='test -s conftest.$ac_objext'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31669 ac_status=$?
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; }; then
31672 glibcxx_cv_func_modf_use=yes
31673 else
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31676
31677 glibcxx_cv_func_modf_use=no
31678 fi
31679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31680 ac_ext=c
31681 ac_cpp='$CPP $CPPFLAGS'
31682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31685
31686
31687 fi
31688
31689 fi
31690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
31691 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
31692
31693 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31694
31695 for ac_func in modf
31696 do
31697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31698 echo "$as_me:$LINENO: checking for $ac_func" >&5
31699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31700 if eval "test \"\${$as_ac_var+set}\" = set"; then
31701 echo $ECHO_N "(cached) $ECHO_C" >&6
31702 else
31703 if test x$gcc_no_link = xyes; then
31704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31706 { (exit 1); exit 1; }; }
31707 fi
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h. */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31716 #define $ac_func innocuous_$ac_func
31717
31718 /* System header to define __stub macros and hopefully few prototypes,
31719 which can conflict with char $ac_func (); below.
31720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31721 <limits.h> exists even on freestanding compilers. */
31722
31723 #ifdef __STDC__
31724 # include <limits.h>
31725 #else
31726 # include <assert.h>
31727 #endif
31728
31729 #undef $ac_func
31730
31731 /* Override any gcc2 internal prototype to avoid an error. */
31732 #ifdef __cplusplus
31733 extern "C"
31734 {
31735 #endif
31736 /* We use char because int might match the return type of a gcc2
31737 builtin and then its argument prototype would still apply. */
31738 char $ac_func ();
31739 /* The GNU C library defines this for functions which it implements
31740 to always fail with ENOSYS. Some functions are actually named
31741 something starting with __ and the normal name is an alias. */
31742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31743 choke me
31744 #else
31745 char (*f) () = $ac_func;
31746 #endif
31747 #ifdef __cplusplus
31748 }
31749 #endif
31750
31751 int
31752 main ()
31753 {
31754 return f != $ac_func;
31755 ;
31756 return 0;
31757 }
31758 _ACEOF
31759 rm -f conftest.$ac_objext conftest$ac_exeext
31760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31761 (eval $ac_link) 2>conftest.er1
31762 ac_status=$?
31763 grep -v '^ *+' conftest.er1 >conftest.err
31764 rm -f conftest.er1
31765 cat conftest.err >&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); } &&
31768 { ac_try='test -z "$ac_c_werror_flag"
31769 || test ! -s conftest.err'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31772 ac_status=$?
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; } &&
31775 { ac_try='test -s conftest$ac_exeext'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31778 ac_status=$?
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; }; then
31781 eval "$as_ac_var=yes"
31782 else
31783 echo "$as_me: failed program was:" >&5
31784 sed 's/^/| /' conftest.$ac_ext >&5
31785
31786 eval "$as_ac_var=no"
31787 fi
31788 rm -f conftest.err conftest.$ac_objext \
31789 conftest$ac_exeext conftest.$ac_ext
31790 fi
31791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31793 if test `eval echo '${'$as_ac_var'}'` = yes; then
31794 cat >>confdefs.h <<_ACEOF
31795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31796 _ACEOF
31797
31798 fi
31799 done
31800
31801 else
31802
31803 echo "$as_me:$LINENO: checking for _modf declaration" >&5
31804 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
31805 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31806 if test "${glibcxx_cv_func__modf_use+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31808 else
31809
31810
31811
31812 ac_ext=cc
31813 ac_cpp='$CXXCPP $CPPFLAGS'
31814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31817
31818 cat >conftest.$ac_ext <<_ACEOF
31819 /* confdefs.h. */
31820 _ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824 #include <math.h>
31825 int
31826 main ()
31827 {
31828 _modf(0, 0);
31829 ;
31830 return 0;
31831 }
31832 _ACEOF
31833 rm -f conftest.$ac_objext
31834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31835 (eval $ac_compile) 2>conftest.er1
31836 ac_status=$?
31837 grep -v '^ *+' conftest.er1 >conftest.err
31838 rm -f conftest.er1
31839 cat conftest.err >&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); } &&
31842 { ac_try='test -z "$ac_cxx_werror_flag"
31843 || test ! -s conftest.err'
31844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845 (eval $ac_try) 2>&5
31846 ac_status=$?
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; } &&
31849 { ac_try='test -s conftest.$ac_objext'
31850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851 (eval $ac_try) 2>&5
31852 ac_status=$?
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); }; }; then
31855 glibcxx_cv_func__modf_use=yes
31856 else
31857 echo "$as_me: failed program was:" >&5
31858 sed 's/^/| /' conftest.$ac_ext >&5
31859
31860 glibcxx_cv_func__modf_use=no
31861 fi
31862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31863 ac_ext=c
31864 ac_cpp='$CPP $CPPFLAGS'
31865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31868
31869
31870 fi
31871
31872 fi
31873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
31874 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
31875
31876 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31877
31878 for ac_func in _modf
31879 do
31880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31881 echo "$as_me:$LINENO: checking for $ac_func" >&5
31882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31883 if eval "test \"\${$as_ac_var+set}\" = set"; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31885 else
31886 if test x$gcc_no_link = xyes; then
31887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31889 { (exit 1); exit 1; }; }
31890 fi
31891 cat >conftest.$ac_ext <<_ACEOF
31892 /* confdefs.h. */
31893 _ACEOF
31894 cat confdefs.h >>conftest.$ac_ext
31895 cat >>conftest.$ac_ext <<_ACEOF
31896 /* end confdefs.h. */
31897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31899 #define $ac_func innocuous_$ac_func
31900
31901 /* System header to define __stub macros and hopefully few prototypes,
31902 which can conflict with char $ac_func (); below.
31903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31904 <limits.h> exists even on freestanding compilers. */
31905
31906 #ifdef __STDC__
31907 # include <limits.h>
31908 #else
31909 # include <assert.h>
31910 #endif
31911
31912 #undef $ac_func
31913
31914 /* Override any gcc2 internal prototype to avoid an error. */
31915 #ifdef __cplusplus
31916 extern "C"
31917 {
31918 #endif
31919 /* We use char because int might match the return type of a gcc2
31920 builtin and then its argument prototype would still apply. */
31921 char $ac_func ();
31922 /* The GNU C library defines this for functions which it implements
31923 to always fail with ENOSYS. Some functions are actually named
31924 something starting with __ and the normal name is an alias. */
31925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31926 choke me
31927 #else
31928 char (*f) () = $ac_func;
31929 #endif
31930 #ifdef __cplusplus
31931 }
31932 #endif
31933
31934 int
31935 main ()
31936 {
31937 return f != $ac_func;
31938 ;
31939 return 0;
31940 }
31941 _ACEOF
31942 rm -f conftest.$ac_objext conftest$ac_exeext
31943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31944 (eval $ac_link) 2>conftest.er1
31945 ac_status=$?
31946 grep -v '^ *+' conftest.er1 >conftest.err
31947 rm -f conftest.er1
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } &&
31951 { ac_try='test -z "$ac_c_werror_flag"
31952 || test ! -s conftest.err'
31953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31954 (eval $ac_try) 2>&5
31955 ac_status=$?
31956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957 (exit $ac_status); }; } &&
31958 { ac_try='test -s conftest$ac_exeext'
31959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31960 (eval $ac_try) 2>&5
31961 ac_status=$?
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); }; }; then
31964 eval "$as_ac_var=yes"
31965 else
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969 eval "$as_ac_var=no"
31970 fi
31971 rm -f conftest.err conftest.$ac_objext \
31972 conftest$ac_exeext conftest.$ac_ext
31973 fi
31974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31976 if test `eval echo '${'$as_ac_var'}'` = yes; then
31977 cat >>confdefs.h <<_ACEOF
31978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31979 _ACEOF
31980
31981 fi
31982 done
31983
31984 fi
31985 fi
31986
31987
31988
31989
31990
31991
31992 echo "$as_me:$LINENO: checking for powf declaration" >&5
31993 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
31994 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31995 if test "${glibcxx_cv_func_powf_use+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 else
31998
31999
32000
32001 ac_ext=cc
32002 ac_cpp='$CXXCPP $CPPFLAGS'
32003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32006
32007 cat >conftest.$ac_ext <<_ACEOF
32008 /* confdefs.h. */
32009 _ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32013 #include <math.h>
32014 int
32015 main ()
32016 {
32017 powf(0, 0);
32018 ;
32019 return 0;
32020 }
32021 _ACEOF
32022 rm -f conftest.$ac_objext
32023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32024 (eval $ac_compile) 2>conftest.er1
32025 ac_status=$?
32026 grep -v '^ *+' conftest.er1 >conftest.err
32027 rm -f conftest.er1
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } &&
32031 { ac_try='test -z "$ac_cxx_werror_flag"
32032 || test ! -s conftest.err'
32033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32034 (eval $ac_try) 2>&5
32035 ac_status=$?
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); }; } &&
32038 { ac_try='test -s conftest.$ac_objext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 glibcxx_cv_func_powf_use=yes
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32048
32049 glibcxx_cv_func_powf_use=no
32050 fi
32051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32052 ac_ext=c
32053 ac_cpp='$CPP $CPPFLAGS'
32054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32057
32058
32059 fi
32060
32061 fi
32062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32063 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32064
32065 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32066
32067 for ac_func in powf
32068 do
32069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32070 echo "$as_me:$LINENO: checking for $ac_func" >&5
32071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32072 if eval "test \"\${$as_ac_var+set}\" = set"; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32074 else
32075 if test x$gcc_no_link = xyes; then
32076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32078 { (exit 1); exit 1; }; }
32079 fi
32080 cat >conftest.$ac_ext <<_ACEOF
32081 /* confdefs.h. */
32082 _ACEOF
32083 cat confdefs.h >>conftest.$ac_ext
32084 cat >>conftest.$ac_ext <<_ACEOF
32085 /* end confdefs.h. */
32086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32088 #define $ac_func innocuous_$ac_func
32089
32090 /* System header to define __stub macros and hopefully few prototypes,
32091 which can conflict with char $ac_func (); below.
32092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32093 <limits.h> exists even on freestanding compilers. */
32094
32095 #ifdef __STDC__
32096 # include <limits.h>
32097 #else
32098 # include <assert.h>
32099 #endif
32100
32101 #undef $ac_func
32102
32103 /* Override any gcc2 internal prototype to avoid an error. */
32104 #ifdef __cplusplus
32105 extern "C"
32106 {
32107 #endif
32108 /* We use char because int might match the return type of a gcc2
32109 builtin and then its argument prototype would still apply. */
32110 char $ac_func ();
32111 /* The GNU C library defines this for functions which it implements
32112 to always fail with ENOSYS. Some functions are actually named
32113 something starting with __ and the normal name is an alias. */
32114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32115 choke me
32116 #else
32117 char (*f) () = $ac_func;
32118 #endif
32119 #ifdef __cplusplus
32120 }
32121 #endif
32122
32123 int
32124 main ()
32125 {
32126 return f != $ac_func;
32127 ;
32128 return 0;
32129 }
32130 _ACEOF
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32133 (eval $ac_link) 2>conftest.er1
32134 ac_status=$?
32135 grep -v '^ *+' conftest.er1 >conftest.err
32136 rm -f conftest.er1
32137 cat conftest.err >&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try='test -z "$ac_c_werror_flag"
32141 || test ! -s conftest.err'
32142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32143 (eval $ac_try) 2>&5
32144 ac_status=$?
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; } &&
32147 { ac_try='test -s conftest$ac_exeext'
32148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32149 (eval $ac_try) 2>&5
32150 ac_status=$?
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); }; }; then
32153 eval "$as_ac_var=yes"
32154 else
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.$ac_ext >&5
32157
32158 eval "$as_ac_var=no"
32159 fi
32160 rm -f conftest.err conftest.$ac_objext \
32161 conftest$ac_exeext conftest.$ac_ext
32162 fi
32163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32165 if test `eval echo '${'$as_ac_var'}'` = yes; then
32166 cat >>confdefs.h <<_ACEOF
32167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32168 _ACEOF
32169
32170 fi
32171 done
32172
32173 else
32174
32175 echo "$as_me:$LINENO: checking for _powf declaration" >&5
32176 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32177 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32178 if test "${glibcxx_cv_func__powf_use+set}" = set; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 else
32181
32182
32183
32184 ac_ext=cc
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32189
32190 cat >conftest.$ac_ext <<_ACEOF
32191 /* confdefs.h. */
32192 _ACEOF
32193 cat confdefs.h >>conftest.$ac_ext
32194 cat >>conftest.$ac_ext <<_ACEOF
32195 /* end confdefs.h. */
32196 #include <math.h>
32197 int
32198 main ()
32199 {
32200 _powf(0, 0);
32201 ;
32202 return 0;
32203 }
32204 _ACEOF
32205 rm -f conftest.$ac_objext
32206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32207 (eval $ac_compile) 2>conftest.er1
32208 ac_status=$?
32209 grep -v '^ *+' conftest.er1 >conftest.err
32210 rm -f conftest.er1
32211 cat conftest.err >&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } &&
32214 { ac_try='test -z "$ac_cxx_werror_flag"
32215 || test ! -s conftest.err'
32216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32217 (eval $ac_try) 2>&5
32218 ac_status=$?
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); }; } &&
32221 { ac_try='test -s conftest.$ac_objext'
32222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32223 (eval $ac_try) 2>&5
32224 ac_status=$?
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); }; }; then
32227 glibcxx_cv_func__powf_use=yes
32228 else
32229 echo "$as_me: failed program was:" >&5
32230 sed 's/^/| /' conftest.$ac_ext >&5
32231
32232 glibcxx_cv_func__powf_use=no
32233 fi
32234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32235 ac_ext=c
32236 ac_cpp='$CPP $CPPFLAGS'
32237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32240
32241
32242 fi
32243
32244 fi
32245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32246 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32247
32248 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32249
32250 for ac_func in _powf
32251 do
32252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32253 echo "$as_me:$LINENO: checking for $ac_func" >&5
32254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32255 if eval "test \"\${$as_ac_var+set}\" = set"; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 else
32258 if test x$gcc_no_link = xyes; then
32259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32261 { (exit 1); exit 1; }; }
32262 fi
32263 cat >conftest.$ac_ext <<_ACEOF
32264 /* confdefs.h. */
32265 _ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32271 #define $ac_func innocuous_$ac_func
32272
32273 /* System header to define __stub macros and hopefully few prototypes,
32274 which can conflict with char $ac_func (); below.
32275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32276 <limits.h> exists even on freestanding compilers. */
32277
32278 #ifdef __STDC__
32279 # include <limits.h>
32280 #else
32281 # include <assert.h>
32282 #endif
32283
32284 #undef $ac_func
32285
32286 /* Override any gcc2 internal prototype to avoid an error. */
32287 #ifdef __cplusplus
32288 extern "C"
32289 {
32290 #endif
32291 /* We use char because int might match the return type of a gcc2
32292 builtin and then its argument prototype would still apply. */
32293 char $ac_func ();
32294 /* The GNU C library defines this for functions which it implements
32295 to always fail with ENOSYS. Some functions are actually named
32296 something starting with __ and the normal name is an alias. */
32297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32298 choke me
32299 #else
32300 char (*f) () = $ac_func;
32301 #endif
32302 #ifdef __cplusplus
32303 }
32304 #endif
32305
32306 int
32307 main ()
32308 {
32309 return f != $ac_func;
32310 ;
32311 return 0;
32312 }
32313 _ACEOF
32314 rm -f conftest.$ac_objext conftest$ac_exeext
32315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32316 (eval $ac_link) 2>conftest.er1
32317 ac_status=$?
32318 grep -v '^ *+' conftest.er1 >conftest.err
32319 rm -f conftest.er1
32320 cat conftest.err >&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } &&
32323 { ac_try='test -z "$ac_c_werror_flag"
32324 || test ! -s conftest.err'
32325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32326 (eval $ac_try) 2>&5
32327 ac_status=$?
32328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329 (exit $ac_status); }; } &&
32330 { ac_try='test -s conftest$ac_exeext'
32331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32332 (eval $ac_try) 2>&5
32333 ac_status=$?
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; }; then
32336 eval "$as_ac_var=yes"
32337 else
32338 echo "$as_me: failed program was:" >&5
32339 sed 's/^/| /' conftest.$ac_ext >&5
32340
32341 eval "$as_ac_var=no"
32342 fi
32343 rm -f conftest.err conftest.$ac_objext \
32344 conftest$ac_exeext conftest.$ac_ext
32345 fi
32346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32348 if test `eval echo '${'$as_ac_var'}'` = yes; then
32349 cat >>confdefs.h <<_ACEOF
32350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32351 _ACEOF
32352
32353 fi
32354 done
32355
32356 fi
32357 fi
32358
32359
32360
32361
32362
32363
32364 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32365 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32366 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32367 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32370
32371
32372
32373 ac_ext=cc
32374 ac_cpp='$CXXCPP $CPPFLAGS'
32375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32378
32379 cat >conftest.$ac_ext <<_ACEOF
32380 /* confdefs.h. */
32381 _ACEOF
32382 cat confdefs.h >>conftest.$ac_ext
32383 cat >>conftest.$ac_ext <<_ACEOF
32384 /* end confdefs.h. */
32385 #include <math.h>
32386 #ifdef HAVE_IEEEFP_H
32387 #include <ieeefp.h>
32388 #endif
32389
32390 int
32391 main ()
32392 {
32393 sqrtf(0);
32394 ;
32395 return 0;
32396 }
32397 _ACEOF
32398 rm -f conftest.$ac_objext
32399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32400 (eval $ac_compile) 2>conftest.er1
32401 ac_status=$?
32402 grep -v '^ *+' conftest.er1 >conftest.err
32403 rm -f conftest.er1
32404 cat conftest.err >&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } &&
32407 { ac_try='test -z "$ac_cxx_werror_flag"
32408 || test ! -s conftest.err'
32409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32410 (eval $ac_try) 2>&5
32411 ac_status=$?
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; } &&
32414 { ac_try='test -s conftest.$ac_objext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32417 ac_status=$?
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 glibcxx_cv_func_sqrtf_use=yes
32421 else
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.$ac_ext >&5
32424
32425 glibcxx_cv_func_sqrtf_use=no
32426 fi
32427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32433
32434
32435 fi
32436
32437 fi
32438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32439 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32440
32441 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32442
32443 for ac_func in sqrtf
32444 do
32445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32446 echo "$as_me:$LINENO: checking for $ac_func" >&5
32447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32448 if eval "test \"\${$as_ac_var+set}\" = set"; then
32449 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 else
32451 if test x$gcc_no_link = xyes; then
32452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32454 { (exit 1); exit 1; }; }
32455 fi
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32464 #define $ac_func innocuous_$ac_func
32465
32466 /* System header to define __stub macros and hopefully few prototypes,
32467 which can conflict with char $ac_func (); below.
32468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32469 <limits.h> exists even on freestanding compilers. */
32470
32471 #ifdef __STDC__
32472 # include <limits.h>
32473 #else
32474 # include <assert.h>
32475 #endif
32476
32477 #undef $ac_func
32478
32479 /* Override any gcc2 internal prototype to avoid an error. */
32480 #ifdef __cplusplus
32481 extern "C"
32482 {
32483 #endif
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char $ac_func ();
32487 /* The GNU C library defines this for functions which it implements
32488 to always fail with ENOSYS. Some functions are actually named
32489 something starting with __ and the normal name is an alias. */
32490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32491 choke me
32492 #else
32493 char (*f) () = $ac_func;
32494 #endif
32495 #ifdef __cplusplus
32496 }
32497 #endif
32498
32499 int
32500 main ()
32501 {
32502 return f != $ac_func;
32503 ;
32504 return 0;
32505 }
32506 _ACEOF
32507 rm -f conftest.$ac_objext conftest$ac_exeext
32508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32509 (eval $ac_link) 2>conftest.er1
32510 ac_status=$?
32511 grep -v '^ *+' conftest.er1 >conftest.err
32512 rm -f conftest.er1
32513 cat conftest.err >&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); } &&
32516 { ac_try='test -z "$ac_c_werror_flag"
32517 || test ! -s conftest.err'
32518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32519 (eval $ac_try) 2>&5
32520 ac_status=$?
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); }; } &&
32523 { ac_try='test -s conftest$ac_exeext'
32524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32525 (eval $ac_try) 2>&5
32526 ac_status=$?
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); }; }; then
32529 eval "$as_ac_var=yes"
32530 else
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32533
32534 eval "$as_ac_var=no"
32535 fi
32536 rm -f conftest.err conftest.$ac_objext \
32537 conftest$ac_exeext conftest.$ac_ext
32538 fi
32539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32541 if test `eval echo '${'$as_ac_var'}'` = yes; then
32542 cat >>confdefs.h <<_ACEOF
32543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32544 _ACEOF
32545
32546 fi
32547 done
32548
32549 else
32550
32551 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32552 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32553 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32554 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32555 echo $ECHO_N "(cached) $ECHO_C" >&6
32556 else
32557
32558
32559
32560 ac_ext=cc
32561 ac_cpp='$CXXCPP $CPPFLAGS'
32562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32565
32566 cat >conftest.$ac_ext <<_ACEOF
32567 /* confdefs.h. */
32568 _ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572 #include <math.h>
32573 #ifdef HAVE_IEEEFP_H
32574 #include <ieeefp.h>
32575 #endif
32576
32577 int
32578 main ()
32579 {
32580 _sqrtf(0);
32581 ;
32582 return 0;
32583 }
32584 _ACEOF
32585 rm -f conftest.$ac_objext
32586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32587 (eval $ac_compile) 2>conftest.er1
32588 ac_status=$?
32589 grep -v '^ *+' conftest.er1 >conftest.err
32590 rm -f conftest.er1
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } &&
32594 { ac_try='test -z "$ac_cxx_werror_flag"
32595 || test ! -s conftest.err'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32598 ac_status=$?
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; } &&
32601 { ac_try='test -s conftest.$ac_objext'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 glibcxx_cv_func__sqrtf_use=yes
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32611
32612 glibcxx_cv_func__sqrtf_use=no
32613 fi
32614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620
32621
32622 fi
32623
32624 fi
32625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32626 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32627
32628 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32629
32630 for ac_func in _sqrtf
32631 do
32632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32633 echo "$as_me:$LINENO: checking for $ac_func" >&5
32634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32635 if eval "test \"\${$as_ac_var+set}\" = set"; then
32636 echo $ECHO_N "(cached) $ECHO_C" >&6
32637 else
32638 if test x$gcc_no_link = xyes; then
32639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32641 { (exit 1); exit 1; }; }
32642 fi
32643 cat >conftest.$ac_ext <<_ACEOF
32644 /* confdefs.h. */
32645 _ACEOF
32646 cat confdefs.h >>conftest.$ac_ext
32647 cat >>conftest.$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32651 #define $ac_func innocuous_$ac_func
32652
32653 /* System header to define __stub macros and hopefully few prototypes,
32654 which can conflict with char $ac_func (); below.
32655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32656 <limits.h> exists even on freestanding compilers. */
32657
32658 #ifdef __STDC__
32659 # include <limits.h>
32660 #else
32661 # include <assert.h>
32662 #endif
32663
32664 #undef $ac_func
32665
32666 /* Override any gcc2 internal prototype to avoid an error. */
32667 #ifdef __cplusplus
32668 extern "C"
32669 {
32670 #endif
32671 /* We use char because int might match the return type of a gcc2
32672 builtin and then its argument prototype would still apply. */
32673 char $ac_func ();
32674 /* The GNU C library defines this for functions which it implements
32675 to always fail with ENOSYS. Some functions are actually named
32676 something starting with __ and the normal name is an alias. */
32677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32678 choke me
32679 #else
32680 char (*f) () = $ac_func;
32681 #endif
32682 #ifdef __cplusplus
32683 }
32684 #endif
32685
32686 int
32687 main ()
32688 {
32689 return f != $ac_func;
32690 ;
32691 return 0;
32692 }
32693 _ACEOF
32694 rm -f conftest.$ac_objext conftest$ac_exeext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32696 (eval $ac_link) 2>conftest.er1
32697 ac_status=$?
32698 grep -v '^ *+' conftest.er1 >conftest.err
32699 rm -f conftest.er1
32700 cat conftest.err >&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } &&
32703 { ac_try='test -z "$ac_c_werror_flag"
32704 || test ! -s conftest.err'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32707 ac_status=$?
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; } &&
32710 { ac_try='test -s conftest$ac_exeext'
32711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32712 (eval $ac_try) 2>&5
32713 ac_status=$?
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); }; }; then
32716 eval "$as_ac_var=yes"
32717 else
32718 echo "$as_me: failed program was:" >&5
32719 sed 's/^/| /' conftest.$ac_ext >&5
32720
32721 eval "$as_ac_var=no"
32722 fi
32723 rm -f conftest.err conftest.$ac_objext \
32724 conftest$ac_exeext conftest.$ac_ext
32725 fi
32726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32728 if test `eval echo '${'$as_ac_var'}'` = yes; then
32729 cat >>confdefs.h <<_ACEOF
32730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32731 _ACEOF
32732
32733 fi
32734 done
32735
32736 fi
32737 fi
32738
32739
32740
32741
32742
32743
32744 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
32745 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
32746 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32747 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
32748 echo $ECHO_N "(cached) $ECHO_C" >&6
32749 else
32750
32751
32752
32753 ac_ext=cc
32754 ac_cpp='$CXXCPP $CPPFLAGS'
32755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758
32759 cat >conftest.$ac_ext <<_ACEOF
32760 /* confdefs.h. */
32761 _ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32765 #include <math.h>
32766 int
32767 main ()
32768 {
32769 sincosf(0, 0, 0);
32770 ;
32771 return 0;
32772 }
32773 _ACEOF
32774 rm -f conftest.$ac_objext
32775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32776 (eval $ac_compile) 2>conftest.er1
32777 ac_status=$?
32778 grep -v '^ *+' conftest.er1 >conftest.err
32779 rm -f conftest.er1
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } &&
32783 { ac_try='test -z "$ac_cxx_werror_flag"
32784 || test ! -s conftest.err'
32785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32786 (eval $ac_try) 2>&5
32787 ac_status=$?
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); }; } &&
32790 { ac_try='test -s conftest.$ac_objext'
32791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 (eval $ac_try) 2>&5
32793 ac_status=$?
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; }; then
32796 glibcxx_cv_func_sincosf_use=yes
32797 else
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32800
32801 glibcxx_cv_func_sincosf_use=no
32802 fi
32803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809
32810
32811 fi
32812
32813 fi
32814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
32815 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
32816
32817 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32818
32819 for ac_func in sincosf
32820 do
32821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32822 echo "$as_me:$LINENO: checking for $ac_func" >&5
32823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32824 if eval "test \"\${$as_ac_var+set}\" = set"; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32826 else
32827 if test x$gcc_no_link = xyes; then
32828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32830 { (exit 1); exit 1; }; }
32831 fi
32832 cat >conftest.$ac_ext <<_ACEOF
32833 /* confdefs.h. */
32834 _ACEOF
32835 cat confdefs.h >>conftest.$ac_ext
32836 cat >>conftest.$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32840 #define $ac_func innocuous_$ac_func
32841
32842 /* System header to define __stub macros and hopefully few prototypes,
32843 which can conflict with char $ac_func (); below.
32844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32845 <limits.h> exists even on freestanding compilers. */
32846
32847 #ifdef __STDC__
32848 # include <limits.h>
32849 #else
32850 # include <assert.h>
32851 #endif
32852
32853 #undef $ac_func
32854
32855 /* Override any gcc2 internal prototype to avoid an error. */
32856 #ifdef __cplusplus
32857 extern "C"
32858 {
32859 #endif
32860 /* We use char because int might match the return type of a gcc2
32861 builtin and then its argument prototype would still apply. */
32862 char $ac_func ();
32863 /* The GNU C library defines this for functions which it implements
32864 to always fail with ENOSYS. Some functions are actually named
32865 something starting with __ and the normal name is an alias. */
32866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32867 choke me
32868 #else
32869 char (*f) () = $ac_func;
32870 #endif
32871 #ifdef __cplusplus
32872 }
32873 #endif
32874
32875 int
32876 main ()
32877 {
32878 return f != $ac_func;
32879 ;
32880 return 0;
32881 }
32882 _ACEOF
32883 rm -f conftest.$ac_objext conftest$ac_exeext
32884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32885 (eval $ac_link) 2>conftest.er1
32886 ac_status=$?
32887 grep -v '^ *+' conftest.er1 >conftest.err
32888 rm -f conftest.er1
32889 cat conftest.err >&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); } &&
32892 { ac_try='test -z "$ac_c_werror_flag"
32893 || test ! -s conftest.err'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32896 ac_status=$?
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; } &&
32899 { ac_try='test -s conftest$ac_exeext'
32900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901 (eval $ac_try) 2>&5
32902 ac_status=$?
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); }; }; then
32905 eval "$as_ac_var=yes"
32906 else
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.$ac_ext >&5
32909
32910 eval "$as_ac_var=no"
32911 fi
32912 rm -f conftest.err conftest.$ac_objext \
32913 conftest$ac_exeext conftest.$ac_ext
32914 fi
32915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32917 if test `eval echo '${'$as_ac_var'}'` = yes; then
32918 cat >>confdefs.h <<_ACEOF
32919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32920 _ACEOF
32921
32922 fi
32923 done
32924
32925 else
32926
32927 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
32928 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
32929 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32930 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32932 else
32933
32934
32935
32936 ac_ext=cc
32937 ac_cpp='$CXXCPP $CPPFLAGS'
32938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32941
32942 cat >conftest.$ac_ext <<_ACEOF
32943 /* confdefs.h. */
32944 _ACEOF
32945 cat confdefs.h >>conftest.$ac_ext
32946 cat >>conftest.$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32948 #include <math.h>
32949 int
32950 main ()
32951 {
32952 _sincosf(0, 0, 0);
32953 ;
32954 return 0;
32955 }
32956 _ACEOF
32957 rm -f conftest.$ac_objext
32958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32959 (eval $ac_compile) 2>conftest.er1
32960 ac_status=$?
32961 grep -v '^ *+' conftest.er1 >conftest.err
32962 rm -f conftest.er1
32963 cat conftest.err >&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } &&
32966 { ac_try='test -z "$ac_cxx_werror_flag"
32967 || test ! -s conftest.err'
32968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32969 (eval $ac_try) 2>&5
32970 ac_status=$?
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; } &&
32973 { ac_try='test -s conftest.$ac_objext'
32974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975 (eval $ac_try) 2>&5
32976 ac_status=$?
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); }; }; then
32979 glibcxx_cv_func__sincosf_use=yes
32980 else
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.$ac_ext >&5
32983
32984 glibcxx_cv_func__sincosf_use=no
32985 fi
32986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32987 ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32992
32993
32994 fi
32995
32996 fi
32997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
32998 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
32999
33000 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33001
33002 for ac_func in _sincosf
33003 do
33004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33005 echo "$as_me:$LINENO: checking for $ac_func" >&5
33006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33007 if eval "test \"\${$as_ac_var+set}\" = set"; then
33008 echo $ECHO_N "(cached) $ECHO_C" >&6
33009 else
33010 if test x$gcc_no_link = xyes; then
33011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33013 { (exit 1); exit 1; }; }
33014 fi
33015 cat >conftest.$ac_ext <<_ACEOF
33016 /* confdefs.h. */
33017 _ACEOF
33018 cat confdefs.h >>conftest.$ac_ext
33019 cat >>conftest.$ac_ext <<_ACEOF
33020 /* end confdefs.h. */
33021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33023 #define $ac_func innocuous_$ac_func
33024
33025 /* System header to define __stub macros and hopefully few prototypes,
33026 which can conflict with char $ac_func (); below.
33027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33028 <limits.h> exists even on freestanding compilers. */
33029
33030 #ifdef __STDC__
33031 # include <limits.h>
33032 #else
33033 # include <assert.h>
33034 #endif
33035
33036 #undef $ac_func
33037
33038 /* Override any gcc2 internal prototype to avoid an error. */
33039 #ifdef __cplusplus
33040 extern "C"
33041 {
33042 #endif
33043 /* We use char because int might match the return type of a gcc2
33044 builtin and then its argument prototype would still apply. */
33045 char $ac_func ();
33046 /* The GNU C library defines this for functions which it implements
33047 to always fail with ENOSYS. Some functions are actually named
33048 something starting with __ and the normal name is an alias. */
33049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33050 choke me
33051 #else
33052 char (*f) () = $ac_func;
33053 #endif
33054 #ifdef __cplusplus
33055 }
33056 #endif
33057
33058 int
33059 main ()
33060 {
33061 return f != $ac_func;
33062 ;
33063 return 0;
33064 }
33065 _ACEOF
33066 rm -f conftest.$ac_objext conftest$ac_exeext
33067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33068 (eval $ac_link) 2>conftest.er1
33069 ac_status=$?
33070 grep -v '^ *+' conftest.er1 >conftest.err
33071 rm -f conftest.er1
33072 cat conftest.err >&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } &&
33075 { ac_try='test -z "$ac_c_werror_flag"
33076 || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33079 ac_status=$?
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try='test -s conftest$ac_exeext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33085 ac_status=$?
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 eval "$as_ac_var=yes"
33089 else
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.$ac_ext >&5
33092
33093 eval "$as_ac_var=no"
33094 fi
33095 rm -f conftest.err conftest.$ac_objext \
33096 conftest$ac_exeext conftest.$ac_ext
33097 fi
33098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33100 if test `eval echo '${'$as_ac_var'}'` = yes; then
33101 cat >>confdefs.h <<_ACEOF
33102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33103 _ACEOF
33104
33105 fi
33106 done
33107
33108 fi
33109 fi
33110
33111
33112
33113
33114
33115
33116 echo "$as_me:$LINENO: checking for finitef declaration" >&5
33117 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33118 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33119 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 else
33122
33123
33124
33125 ac_ext=cc
33126 ac_cpp='$CXXCPP $CPPFLAGS'
33127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33130
33131 cat >conftest.$ac_ext <<_ACEOF
33132 /* confdefs.h. */
33133 _ACEOF
33134 cat confdefs.h >>conftest.$ac_ext
33135 cat >>conftest.$ac_ext <<_ACEOF
33136 /* end confdefs.h. */
33137 #include <math.h>
33138 #ifdef HAVE_IEEEFP_H
33139 #include <ieeefp.h>
33140 #endif
33141
33142 int
33143 main ()
33144 {
33145 finitef(0);
33146 ;
33147 return 0;
33148 }
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33153 ac_status=$?
33154 grep -v '^ *+' conftest.er1 >conftest.err
33155 rm -f conftest.er1
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try='test -z "$ac_cxx_werror_flag"
33160 || test ! -s conftest.err'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; } &&
33166 { ac_try='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 glibcxx_cv_func_finitef_use=yes
33173 else
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33176
33177 glibcxx_cv_func_finitef_use=no
33178 fi
33179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33180 ac_ext=c
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33185
33186
33187 fi
33188
33189 fi
33190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33191 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33192
33193 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33194
33195 for ac_func in finitef
33196 do
33197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33198 echo "$as_me:$LINENO: checking for $ac_func" >&5
33199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33200 if eval "test \"\${$as_ac_var+set}\" = set"; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203 if test x$gcc_no_link = xyes; then
33204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33206 { (exit 1); exit 1; }; }
33207 fi
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h. */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33216 #define $ac_func innocuous_$ac_func
33217
33218 /* System header to define __stub macros and hopefully few prototypes,
33219 which can conflict with char $ac_func (); below.
33220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221 <limits.h> exists even on freestanding compilers. */
33222
33223 #ifdef __STDC__
33224 # include <limits.h>
33225 #else
33226 # include <assert.h>
33227 #endif
33228
33229 #undef $ac_func
33230
33231 /* Override any gcc2 internal prototype to avoid an error. */
33232 #ifdef __cplusplus
33233 extern "C"
33234 {
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33238 char $ac_func ();
33239 /* The GNU C library defines this for functions which it implements
33240 to always fail with ENOSYS. Some functions are actually named
33241 something starting with __ and the normal name is an alias. */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33243 choke me
33244 #else
33245 char (*f) () = $ac_func;
33246 #endif
33247 #ifdef __cplusplus
33248 }
33249 #endif
33250
33251 int
33252 main ()
33253 {
33254 return f != $ac_func;
33255 ;
33256 return 0;
33257 }
33258 _ACEOF
33259 rm -f conftest.$ac_objext conftest$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261 (eval $ac_link) 2>conftest.er1
33262 ac_status=$?
33263 grep -v '^ *+' conftest.er1 >conftest.err
33264 rm -f conftest.er1
33265 cat conftest.err >&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try='test -s conftest$ac_exeext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 eval "$as_ac_var=yes"
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33285
33286 eval "$as_ac_var=no"
33287 fi
33288 rm -f conftest.err conftest.$ac_objext \
33289 conftest$ac_exeext conftest.$ac_ext
33290 fi
33291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33293 if test `eval echo '${'$as_ac_var'}'` = yes; then
33294 cat >>confdefs.h <<_ACEOF
33295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33296 _ACEOF
33297
33298 fi
33299 done
33300
33301 else
33302
33303 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33304 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33305 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33306 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33309
33310
33311
33312 ac_ext=cc
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33317
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 #include <math.h>
33325 #ifdef HAVE_IEEEFP_H
33326 #include <ieeefp.h>
33327 #endif
33328
33329 int
33330 main ()
33331 {
33332 _finitef(0);
33333 ;
33334 return 0;
33335 }
33336 _ACEOF
33337 rm -f conftest.$ac_objext
33338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33339 (eval $ac_compile) 2>conftest.er1
33340 ac_status=$?
33341 grep -v '^ *+' conftest.er1 >conftest.err
33342 rm -f conftest.er1
33343 cat conftest.err >&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); } &&
33346 { ac_try='test -z "$ac_cxx_werror_flag"
33347 || test ! -s conftest.err'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33350 ac_status=$?
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; } &&
33353 { ac_try='test -s conftest.$ac_objext'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; }; then
33359 glibcxx_cv_func__finitef_use=yes
33360 else
33361 echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.$ac_ext >&5
33363
33364 glibcxx_cv_func__finitef_use=no
33365 fi
33366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33372
33373
33374 fi
33375
33376 fi
33377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33378 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33379
33380 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33381
33382 for ac_func in _finitef
33383 do
33384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33385 echo "$as_me:$LINENO: checking for $ac_func" >&5
33386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33387 if eval "test \"\${$as_ac_var+set}\" = set"; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33389 else
33390 if test x$gcc_no_link = xyes; then
33391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33393 { (exit 1); exit 1; }; }
33394 fi
33395 cat >conftest.$ac_ext <<_ACEOF
33396 /* confdefs.h. */
33397 _ACEOF
33398 cat confdefs.h >>conftest.$ac_ext
33399 cat >>conftest.$ac_ext <<_ACEOF
33400 /* end confdefs.h. */
33401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33403 #define $ac_func innocuous_$ac_func
33404
33405 /* System header to define __stub macros and hopefully few prototypes,
33406 which can conflict with char $ac_func (); below.
33407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33408 <limits.h> exists even on freestanding compilers. */
33409
33410 #ifdef __STDC__
33411 # include <limits.h>
33412 #else
33413 # include <assert.h>
33414 #endif
33415
33416 #undef $ac_func
33417
33418 /* Override any gcc2 internal prototype to avoid an error. */
33419 #ifdef __cplusplus
33420 extern "C"
33421 {
33422 #endif
33423 /* We use char because int might match the return type of a gcc2
33424 builtin and then its argument prototype would still apply. */
33425 char $ac_func ();
33426 /* The GNU C library defines this for functions which it implements
33427 to always fail with ENOSYS. Some functions are actually named
33428 something starting with __ and the normal name is an alias. */
33429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33430 choke me
33431 #else
33432 char (*f) () = $ac_func;
33433 #endif
33434 #ifdef __cplusplus
33435 }
33436 #endif
33437
33438 int
33439 main ()
33440 {
33441 return f != $ac_func;
33442 ;
33443 return 0;
33444 }
33445 _ACEOF
33446 rm -f conftest.$ac_objext conftest$ac_exeext
33447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33448 (eval $ac_link) 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } &&
33455 { ac_try='test -z "$ac_c_werror_flag"
33456 || test ! -s conftest.err'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; } &&
33462 { ac_try='test -s conftest$ac_exeext'
33463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464 (eval $ac_try) 2>&5
33465 ac_status=$?
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); }; }; then
33468 eval "$as_ac_var=yes"
33469 else
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.$ac_ext >&5
33472
33473 eval "$as_ac_var=no"
33474 fi
33475 rm -f conftest.err conftest.$ac_objext \
33476 conftest$ac_exeext conftest.$ac_ext
33477 fi
33478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33480 if test `eval echo '${'$as_ac_var'}'` = yes; then
33481 cat >>confdefs.h <<_ACEOF
33482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33483 _ACEOF
33484
33485 fi
33486 done
33487
33488 fi
33489 fi
33490
33491
33492
33493
33494
33495
33496 echo "$as_me:$LINENO: checking for long double trig functions" >&5
33497 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33498 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 else
33501
33502
33503
33504 ac_ext=cc
33505 ac_cpp='$CXXCPP $CPPFLAGS'
33506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33509
33510 cat >conftest.$ac_ext <<_ACEOF
33511 /* confdefs.h. */
33512 _ACEOF
33513 cat confdefs.h >>conftest.$ac_ext
33514 cat >>conftest.$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33516 #include <math.h>
33517 int
33518 main ()
33519 {
33520 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33521 ;
33522 return 0;
33523 }
33524 _ACEOF
33525 rm -f conftest.$ac_objext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33527 (eval $ac_compile) 2>conftest.er1
33528 ac_status=$?
33529 grep -v '^ *+' conftest.er1 >conftest.err
33530 rm -f conftest.er1
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try='test -z "$ac_cxx_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try='test -s conftest.$ac_objext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33544 ac_status=$?
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 glibcxx_cv_func_long_double_trig_use=yes
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 glibcxx_cv_func_long_double_trig_use=no
33553 fi
33554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33555 ac_ext=c
33556 ac_cpp='$CPP $CPPFLAGS'
33557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33560
33561 fi
33562
33563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33564 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33565 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33576 do
33577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33578 echo "$as_me:$LINENO: checking for $ac_func" >&5
33579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33580 if eval "test \"\${$as_ac_var+set}\" = set"; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 else
33583 if test x$gcc_no_link = xyes; then
33584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33586 { (exit 1); exit 1; }; }
33587 fi
33588 cat >conftest.$ac_ext <<_ACEOF
33589 /* confdefs.h. */
33590 _ACEOF
33591 cat confdefs.h >>conftest.$ac_ext
33592 cat >>conftest.$ac_ext <<_ACEOF
33593 /* end confdefs.h. */
33594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33596 #define $ac_func innocuous_$ac_func
33597
33598 /* System header to define __stub macros and hopefully few prototypes,
33599 which can conflict with char $ac_func (); below.
33600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33601 <limits.h> exists even on freestanding compilers. */
33602
33603 #ifdef __STDC__
33604 # include <limits.h>
33605 #else
33606 # include <assert.h>
33607 #endif
33608
33609 #undef $ac_func
33610
33611 /* Override any gcc2 internal prototype to avoid an error. */
33612 #ifdef __cplusplus
33613 extern "C"
33614 {
33615 #endif
33616 /* We use char because int might match the return type of a gcc2
33617 builtin and then its argument prototype would still apply. */
33618 char $ac_func ();
33619 /* The GNU C library defines this for functions which it implements
33620 to always fail with ENOSYS. Some functions are actually named
33621 something starting with __ and the normal name is an alias. */
33622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33623 choke me
33624 #else
33625 char (*f) () = $ac_func;
33626 #endif
33627 #ifdef __cplusplus
33628 }
33629 #endif
33630
33631 int
33632 main ()
33633 {
33634 return f != $ac_func;
33635 ;
33636 return 0;
33637 }
33638 _ACEOF
33639 rm -f conftest.$ac_objext conftest$ac_exeext
33640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33641 (eval $ac_link) 2>conftest.er1
33642 ac_status=$?
33643 grep -v '^ *+' conftest.er1 >conftest.err
33644 rm -f conftest.er1
33645 cat conftest.err >&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); } &&
33648 { ac_try='test -z "$ac_c_werror_flag"
33649 || test ! -s conftest.err'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; } &&
33655 { ac_try='test -s conftest$ac_exeext'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33658 ac_status=$?
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; }; then
33661 eval "$as_ac_var=yes"
33662 else
33663 echo "$as_me: failed program was:" >&5
33664 sed 's/^/| /' conftest.$ac_ext >&5
33665
33666 eval "$as_ac_var=no"
33667 fi
33668 rm -f conftest.err conftest.$ac_objext \
33669 conftest$ac_exeext conftest.$ac_ext
33670 fi
33671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33673 if test `eval echo '${'$as_ac_var'}'` = yes; then
33674 cat >>confdefs.h <<_ACEOF
33675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681 else
33682 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33683 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33684 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33685 echo $ECHO_N "(cached) $ECHO_C" >&6
33686 else
33687
33688
33689
33690 ac_ext=cc
33691 ac_cpp='$CXXCPP $CPPFLAGS'
33692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695
33696 cat >conftest.$ac_ext <<_ACEOF
33697 /* confdefs.h. */
33698 _ACEOF
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33702 #include <math.h>
33703 int
33704 main ()
33705 {
33706 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33707 ;
33708 return 0;
33709 }
33710 _ACEOF
33711 rm -f conftest.$ac_objext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33713 (eval $ac_compile) 2>conftest.er1
33714 ac_status=$?
33715 grep -v '^ *+' conftest.er1 >conftest.err
33716 rm -f conftest.er1
33717 cat conftest.err >&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try='test -z "$ac_cxx_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33724 ac_status=$?
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try='test -s conftest.$ac_objext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33730 ac_status=$?
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 glibcxx_cv_func__long_double_trig_use=yes
33734 else
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33737
33738 glibcxx_cv_func__long_double_trig_use=no
33739 fi
33740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33741 ac_ext=c
33742 ac_cpp='$CPP $CPPFLAGS'
33743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33746
33747 fi
33748
33749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33750 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33751 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33762 do
33763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33764 echo "$as_me:$LINENO: checking for $ac_func" >&5
33765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33766 if eval "test \"\${$as_ac_var+set}\" = set"; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 else
33769 if test x$gcc_no_link = xyes; then
33770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33772 { (exit 1); exit 1; }; }
33773 fi
33774 cat >conftest.$ac_ext <<_ACEOF
33775 /* confdefs.h. */
33776 _ACEOF
33777 cat confdefs.h >>conftest.$ac_ext
33778 cat >>conftest.$ac_ext <<_ACEOF
33779 /* end confdefs.h. */
33780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33782 #define $ac_func innocuous_$ac_func
33783
33784 /* System header to define __stub macros and hopefully few prototypes,
33785 which can conflict with char $ac_func (); below.
33786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33787 <limits.h> exists even on freestanding compilers. */
33788
33789 #ifdef __STDC__
33790 # include <limits.h>
33791 #else
33792 # include <assert.h>
33793 #endif
33794
33795 #undef $ac_func
33796
33797 /* Override any gcc2 internal prototype to avoid an error. */
33798 #ifdef __cplusplus
33799 extern "C"
33800 {
33801 #endif
33802 /* We use char because int might match the return type of a gcc2
33803 builtin and then its argument prototype would still apply. */
33804 char $ac_func ();
33805 /* The GNU C library defines this for functions which it implements
33806 to always fail with ENOSYS. Some functions are actually named
33807 something starting with __ and the normal name is an alias. */
33808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33809 choke me
33810 #else
33811 char (*f) () = $ac_func;
33812 #endif
33813 #ifdef __cplusplus
33814 }
33815 #endif
33816
33817 int
33818 main ()
33819 {
33820 return f != $ac_func;
33821 ;
33822 return 0;
33823 }
33824 _ACEOF
33825 rm -f conftest.$ac_objext conftest$ac_exeext
33826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33827 (eval $ac_link) 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } &&
33834 { ac_try='test -z "$ac_c_werror_flag"
33835 || test ! -s conftest.err'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33838 ac_status=$?
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; } &&
33841 { ac_try='test -s conftest$ac_exeext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33844 ac_status=$?
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 eval "$as_ac_var=yes"
33848 else
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33851
33852 eval "$as_ac_var=no"
33853 fi
33854 rm -f conftest.err conftest.$ac_objext \
33855 conftest$ac_exeext conftest.$ac_ext
33856 fi
33857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33859 if test `eval echo '${'$as_ac_var'}'` = yes; then
33860 cat >>confdefs.h <<_ACEOF
33861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33862 _ACEOF
33863
33864 fi
33865 done
33866
33867 fi
33868 fi
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883 echo "$as_me:$LINENO: checking for long double round functions" >&5
33884 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
33885 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
33886 echo $ECHO_N "(cached) $ECHO_C" >&6
33887 else
33888
33889
33890
33891 ac_ext=cc
33892 ac_cpp='$CXXCPP $CPPFLAGS'
33893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33896
33897 cat >conftest.$ac_ext <<_ACEOF
33898 /* confdefs.h. */
33899 _ACEOF
33900 cat confdefs.h >>conftest.$ac_ext
33901 cat >>conftest.$ac_ext <<_ACEOF
33902 /* end confdefs.h. */
33903 #include <math.h>
33904 int
33905 main ()
33906 {
33907 ceill (0); floorl (0);
33908 ;
33909 return 0;
33910 }
33911 _ACEOF
33912 rm -f conftest.$ac_objext
33913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33914 (eval $ac_compile) 2>conftest.er1
33915 ac_status=$?
33916 grep -v '^ *+' conftest.er1 >conftest.err
33917 rm -f conftest.er1
33918 cat conftest.err >&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } &&
33921 { ac_try='test -z "$ac_cxx_werror_flag"
33922 || test ! -s conftest.err'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33925 ac_status=$?
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; } &&
33928 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
33934 glibcxx_cv_func_long_double_round_use=yes
33935 else
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33938
33939 glibcxx_cv_func_long_double_round_use=no
33940 fi
33941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33942 ac_ext=c
33943 ac_cpp='$CPP $CPPFLAGS'
33944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33947
33948 fi
33949
33950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
33951 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
33952 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33953
33954
33955 for ac_func in ceill floorl
33956 do
33957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33958 echo "$as_me:$LINENO: checking for $ac_func" >&5
33959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33960 if eval "test \"\${$as_ac_var+set}\" = set"; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 if test x$gcc_no_link = xyes; then
33964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33966 { (exit 1); exit 1; }; }
33967 fi
33968 cat >conftest.$ac_ext <<_ACEOF
33969 /* confdefs.h. */
33970 _ACEOF
33971 cat confdefs.h >>conftest.$ac_ext
33972 cat >>conftest.$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33977
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33982
33983 #ifdef __STDC__
33984 # include <limits.h>
33985 #else
33986 # include <assert.h>
33987 #endif
33988
33989 #undef $ac_func
33990
33991 /* Override any gcc2 internal prototype to avoid an error. */
33992 #ifdef __cplusplus
33993 extern "C"
33994 {
33995 #endif
33996 /* We use char because int might match the return type of a gcc2
33997 builtin and then its argument prototype would still apply. */
33998 char $ac_func ();
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34003 choke me
34004 #else
34005 char (*f) () = $ac_func;
34006 #endif
34007 #ifdef __cplusplus
34008 }
34009 #endif
34010
34011 int
34012 main ()
34013 {
34014 return f != $ac_func;
34015 ;
34016 return 0;
34017 }
34018 _ACEOF
34019 rm -f conftest.$ac_objext conftest$ac_exeext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021 (eval $ac_link) 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try='test -z "$ac_c_werror_flag"
34029 || test ! -s conftest.err'
34030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031 (eval $ac_try) 2>&5
34032 ac_status=$?
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); }; } &&
34035 { ac_try='test -s conftest$ac_exeext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 eval "$as_ac_var=yes"
34042 else
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34045
34046 eval "$as_ac_var=no"
34047 fi
34048 rm -f conftest.err conftest.$ac_objext \
34049 conftest$ac_exeext conftest.$ac_ext
34050 fi
34051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34053 if test `eval echo '${'$as_ac_var'}'` = yes; then
34054 cat >>confdefs.h <<_ACEOF
34055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34056 _ACEOF
34057
34058 fi
34059 done
34060
34061 else
34062 echo "$as_me:$LINENO: checking for _long double round functions" >&5
34063 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34064 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34065 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 else
34067
34068
34069
34070 ac_ext=cc
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075
34076 cat >conftest.$ac_ext <<_ACEOF
34077 /* confdefs.h. */
34078 _ACEOF
34079 cat confdefs.h >>conftest.$ac_ext
34080 cat >>conftest.$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34082 #include <math.h>
34083 int
34084 main ()
34085 {
34086 _ceill (0); _floorl (0);
34087 ;
34088 return 0;
34089 }
34090 _ACEOF
34091 rm -f conftest.$ac_objext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34093 (eval $ac_compile) 2>conftest.er1
34094 ac_status=$?
34095 grep -v '^ *+' conftest.er1 >conftest.err
34096 rm -f conftest.er1
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } &&
34100 { ac_try='test -z "$ac_cxx_werror_flag"
34101 || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34104 ac_status=$?
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try='test -s conftest.$ac_objext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34110 ac_status=$?
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 glibcxx_cv_func__long_double_round_use=yes
34114 else
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118 glibcxx_cv_func__long_double_round_use=no
34119 fi
34120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34121 ac_ext=c
34122 ac_cpp='$CPP $CPPFLAGS'
34123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34126
34127 fi
34128
34129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34130 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34131 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34132
34133
34134 for ac_func in _ceill _floorl
34135 do
34136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34137 echo "$as_me:$LINENO: checking for $ac_func" >&5
34138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34139 if eval "test \"\${$as_ac_var+set}\" = set"; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 else
34142 if test x$gcc_no_link = xyes; then
34143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34145 { (exit 1); exit 1; }; }
34146 fi
34147 cat >conftest.$ac_ext <<_ACEOF
34148 /* confdefs.h. */
34149 _ACEOF
34150 cat confdefs.h >>conftest.$ac_ext
34151 cat >>conftest.$ac_ext <<_ACEOF
34152 /* end confdefs.h. */
34153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34155 #define $ac_func innocuous_$ac_func
34156
34157 /* System header to define __stub macros and hopefully few prototypes,
34158 which can conflict with char $ac_func (); below.
34159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34160 <limits.h> exists even on freestanding compilers. */
34161
34162 #ifdef __STDC__
34163 # include <limits.h>
34164 #else
34165 # include <assert.h>
34166 #endif
34167
34168 #undef $ac_func
34169
34170 /* Override any gcc2 internal prototype to avoid an error. */
34171 #ifdef __cplusplus
34172 extern "C"
34173 {
34174 #endif
34175 /* We use char because int might match the return type of a gcc2
34176 builtin and then its argument prototype would still apply. */
34177 char $ac_func ();
34178 /* The GNU C library defines this for functions which it implements
34179 to always fail with ENOSYS. Some functions are actually named
34180 something starting with __ and the normal name is an alias. */
34181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34182 choke me
34183 #else
34184 char (*f) () = $ac_func;
34185 #endif
34186 #ifdef __cplusplus
34187 }
34188 #endif
34189
34190 int
34191 main ()
34192 {
34193 return f != $ac_func;
34194 ;
34195 return 0;
34196 }
34197 _ACEOF
34198 rm -f conftest.$ac_objext conftest$ac_exeext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34200 (eval $ac_link) 2>conftest.er1
34201 ac_status=$?
34202 grep -v '^ *+' conftest.er1 >conftest.err
34203 rm -f conftest.er1
34204 cat conftest.err >&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } &&
34207 { ac_try='test -z "$ac_c_werror_flag"
34208 || test ! -s conftest.err'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; } &&
34214 { ac_try='test -s conftest$ac_exeext'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34217 ac_status=$?
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; }; then
34220 eval "$as_ac_var=yes"
34221 else
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.$ac_ext >&5
34224
34225 eval "$as_ac_var=no"
34226 fi
34227 rm -f conftest.err conftest.$ac_objext \
34228 conftest$ac_exeext conftest.$ac_ext
34229 fi
34230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34232 if test `eval echo '${'$as_ac_var'}'` = yes; then
34233 cat >>confdefs.h <<_ACEOF
34234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34235 _ACEOF
34236
34237 fi
34238 done
34239
34240 fi
34241 fi
34242
34243
34244
34245
34246
34247
34248
34249
34250 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34251 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34252 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34253 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256
34257
34258
34259 ac_ext=cc
34260 ac_cpp='$CXXCPP $CPPFLAGS'
34261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34264
34265 cat >conftest.$ac_ext <<_ACEOF
34266 /* confdefs.h. */
34267 _ACEOF
34268 cat confdefs.h >>conftest.$ac_ext
34269 cat >>conftest.$ac_ext <<_ACEOF
34270 /* end confdefs.h. */
34271 #include <math.h>
34272 #ifdef HAVE_IEEEFP_H
34273 #include <ieeefp.h>
34274 #endif
34275
34276 int
34277 main ()
34278 {
34279 isnanl(0);
34280 ;
34281 return 0;
34282 }
34283 _ACEOF
34284 rm -f conftest.$ac_objext
34285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34286 (eval $ac_compile) 2>conftest.er1
34287 ac_status=$?
34288 grep -v '^ *+' conftest.er1 >conftest.err
34289 rm -f conftest.er1
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } &&
34293 { ac_try='test -z "$ac_cxx_werror_flag"
34294 || test ! -s conftest.err'
34295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34296 (eval $ac_try) 2>&5
34297 ac_status=$?
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; } &&
34300 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34306 glibcxx_cv_func_isnanl_use=yes
34307 else
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34310
34311 glibcxx_cv_func_isnanl_use=no
34312 fi
34313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34314 ac_ext=c
34315 ac_cpp='$CPP $CPPFLAGS'
34316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34319
34320
34321 fi
34322
34323 fi
34324 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34325 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34326
34327 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34328
34329 for ac_func in isnanl
34330 do
34331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34332 echo "$as_me:$LINENO: checking for $ac_func" >&5
34333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34334 if eval "test \"\${$as_ac_var+set}\" = set"; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 else
34337 if test x$gcc_no_link = xyes; then
34338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34340 { (exit 1); exit 1; }; }
34341 fi
34342 cat >conftest.$ac_ext <<_ACEOF
34343 /* confdefs.h. */
34344 _ACEOF
34345 cat confdefs.h >>conftest.$ac_ext
34346 cat >>conftest.$ac_ext <<_ACEOF
34347 /* end confdefs.h. */
34348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34350 #define $ac_func innocuous_$ac_func
34351
34352 /* System header to define __stub macros and hopefully few prototypes,
34353 which can conflict with char $ac_func (); below.
34354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34355 <limits.h> exists even on freestanding compilers. */
34356
34357 #ifdef __STDC__
34358 # include <limits.h>
34359 #else
34360 # include <assert.h>
34361 #endif
34362
34363 #undef $ac_func
34364
34365 /* Override any gcc2 internal prototype to avoid an error. */
34366 #ifdef __cplusplus
34367 extern "C"
34368 {
34369 #endif
34370 /* We use char because int might match the return type of a gcc2
34371 builtin and then its argument prototype would still apply. */
34372 char $ac_func ();
34373 /* The GNU C library defines this for functions which it implements
34374 to always fail with ENOSYS. Some functions are actually named
34375 something starting with __ and the normal name is an alias. */
34376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34377 choke me
34378 #else
34379 char (*f) () = $ac_func;
34380 #endif
34381 #ifdef __cplusplus
34382 }
34383 #endif
34384
34385 int
34386 main ()
34387 {
34388 return f != $ac_func;
34389 ;
34390 return 0;
34391 }
34392 _ACEOF
34393 rm -f conftest.$ac_objext conftest$ac_exeext
34394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34395 (eval $ac_link) 2>conftest.er1
34396 ac_status=$?
34397 grep -v '^ *+' conftest.er1 >conftest.err
34398 rm -f conftest.er1
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } &&
34402 { ac_try='test -z "$ac_c_werror_flag"
34403 || test ! -s conftest.err'
34404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34405 (eval $ac_try) 2>&5
34406 ac_status=$?
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); }; } &&
34409 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34415 eval "$as_ac_var=yes"
34416 else
34417 echo "$as_me: failed program was:" >&5
34418 sed 's/^/| /' conftest.$ac_ext >&5
34419
34420 eval "$as_ac_var=no"
34421 fi
34422 rm -f conftest.err conftest.$ac_objext \
34423 conftest$ac_exeext conftest.$ac_ext
34424 fi
34425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34427 if test `eval echo '${'$as_ac_var'}'` = yes; then
34428 cat >>confdefs.h <<_ACEOF
34429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34430 _ACEOF
34431
34432 fi
34433 done
34434
34435 else
34436
34437 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34438 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34439 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34440 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34441 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 else
34443
34444
34445
34446 ac_ext=cc
34447 ac_cpp='$CXXCPP $CPPFLAGS'
34448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34451
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458 #include <math.h>
34459 #ifdef HAVE_IEEEFP_H
34460 #include <ieeefp.h>
34461 #endif
34462
34463 int
34464 main ()
34465 {
34466 _isnanl(0);
34467 ;
34468 return 0;
34469 }
34470 _ACEOF
34471 rm -f conftest.$ac_objext
34472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34473 (eval $ac_compile) 2>conftest.er1
34474 ac_status=$?
34475 grep -v '^ *+' conftest.er1 >conftest.err
34476 rm -f conftest.er1
34477 cat conftest.err >&5
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); } &&
34480 { ac_try='test -z "$ac_cxx_werror_flag"
34481 || test ! -s conftest.err'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34484 ac_status=$?
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; } &&
34487 { ac_try='test -s conftest.$ac_objext'
34488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489 (eval $ac_try) 2>&5
34490 ac_status=$?
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; }; then
34493 glibcxx_cv_func__isnanl_use=yes
34494 else
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34497
34498 glibcxx_cv_func__isnanl_use=no
34499 fi
34500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34501 ac_ext=c
34502 ac_cpp='$CPP $CPPFLAGS'
34503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34506
34507
34508 fi
34509
34510 fi
34511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34512 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34513
34514 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34515
34516 for ac_func in _isnanl
34517 do
34518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34519 echo "$as_me:$LINENO: checking for $ac_func" >&5
34520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34521 if eval "test \"\${$as_ac_var+set}\" = set"; then
34522 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 else
34524 if test x$gcc_no_link = xyes; then
34525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34527 { (exit 1); exit 1; }; }
34528 fi
34529 cat >conftest.$ac_ext <<_ACEOF
34530 /* confdefs.h. */
34531 _ACEOF
34532 cat confdefs.h >>conftest.$ac_ext
34533 cat >>conftest.$ac_ext <<_ACEOF
34534 /* end confdefs.h. */
34535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34537 #define $ac_func innocuous_$ac_func
34538
34539 /* System header to define __stub macros and hopefully few prototypes,
34540 which can conflict with char $ac_func (); below.
34541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34542 <limits.h> exists even on freestanding compilers. */
34543
34544 #ifdef __STDC__
34545 # include <limits.h>
34546 #else
34547 # include <assert.h>
34548 #endif
34549
34550 #undef $ac_func
34551
34552 /* Override any gcc2 internal prototype to avoid an error. */
34553 #ifdef __cplusplus
34554 extern "C"
34555 {
34556 #endif
34557 /* We use char because int might match the return type of a gcc2
34558 builtin and then its argument prototype would still apply. */
34559 char $ac_func ();
34560 /* The GNU C library defines this for functions which it implements
34561 to always fail with ENOSYS. Some functions are actually named
34562 something starting with __ and the normal name is an alias. */
34563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34564 choke me
34565 #else
34566 char (*f) () = $ac_func;
34567 #endif
34568 #ifdef __cplusplus
34569 }
34570 #endif
34571
34572 int
34573 main ()
34574 {
34575 return f != $ac_func;
34576 ;
34577 return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext conftest$ac_exeext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34582 (eval $ac_link) 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } &&
34589 { ac_try='test -z "$ac_c_werror_flag"
34590 || test ! -s conftest.err'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; } &&
34596 { ac_try='test -s conftest$ac_exeext'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34599 ac_status=$?
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; }; then
34602 eval "$as_ac_var=yes"
34603 else
34604 echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34606
34607 eval "$as_ac_var=no"
34608 fi
34609 rm -f conftest.err conftest.$ac_objext \
34610 conftest$ac_exeext conftest.$ac_ext
34611 fi
34612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34614 if test `eval echo '${'$as_ac_var'}'` = yes; then
34615 cat >>confdefs.h <<_ACEOF
34616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34617 _ACEOF
34618
34619 fi
34620 done
34621
34622 fi
34623 fi
34624
34625
34626
34627
34628
34629
34630 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34631 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34632 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34633 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34634 echo $ECHO_N "(cached) $ECHO_C" >&6
34635 else
34636
34637
34638
34639 ac_ext=cc
34640 ac_cpp='$CXXCPP $CPPFLAGS'
34641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34644
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651 #include <math.h>
34652 #ifdef HAVE_IEEEFP_H
34653 #include <ieeefp.h>
34654 #endif
34655
34656 int
34657 main ()
34658 {
34659 isinfl(0);
34660 ;
34661 return 0;
34662 }
34663 _ACEOF
34664 rm -f conftest.$ac_objext
34665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34666 (eval $ac_compile) 2>conftest.er1
34667 ac_status=$?
34668 grep -v '^ *+' conftest.er1 >conftest.err
34669 rm -f conftest.er1
34670 cat conftest.err >&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } &&
34673 { ac_try='test -z "$ac_cxx_werror_flag"
34674 || test ! -s conftest.err'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34677 ac_status=$?
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; } &&
34680 { ac_try='test -s conftest.$ac_objext'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34683 ac_status=$?
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; }; then
34686 glibcxx_cv_func_isinfl_use=yes
34687 else
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34690
34691 glibcxx_cv_func_isinfl_use=no
34692 fi
34693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34694 ac_ext=c
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34699
34700
34701 fi
34702
34703 fi
34704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
34705 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
34706
34707 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34708
34709 for ac_func in isinfl
34710 do
34711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34712 echo "$as_me:$LINENO: checking for $ac_func" >&5
34713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34714 if eval "test \"\${$as_ac_var+set}\" = set"; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717 if test x$gcc_no_link = xyes; then
34718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34720 { (exit 1); exit 1; }; }
34721 fi
34722 cat >conftest.$ac_ext <<_ACEOF
34723 /* confdefs.h. */
34724 _ACEOF
34725 cat confdefs.h >>conftest.$ac_ext
34726 cat >>conftest.$ac_ext <<_ACEOF
34727 /* end confdefs.h. */
34728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34730 #define $ac_func innocuous_$ac_func
34731
34732 /* System header to define __stub macros and hopefully few prototypes,
34733 which can conflict with char $ac_func (); below.
34734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34735 <limits.h> exists even on freestanding compilers. */
34736
34737 #ifdef __STDC__
34738 # include <limits.h>
34739 #else
34740 # include <assert.h>
34741 #endif
34742
34743 #undef $ac_func
34744
34745 /* Override any gcc2 internal prototype to avoid an error. */
34746 #ifdef __cplusplus
34747 extern "C"
34748 {
34749 #endif
34750 /* We use char because int might match the return type of a gcc2
34751 builtin and then its argument prototype would still apply. */
34752 char $ac_func ();
34753 /* The GNU C library defines this for functions which it implements
34754 to always fail with ENOSYS. Some functions are actually named
34755 something starting with __ and the normal name is an alias. */
34756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34757 choke me
34758 #else
34759 char (*f) () = $ac_func;
34760 #endif
34761 #ifdef __cplusplus
34762 }
34763 #endif
34764
34765 int
34766 main ()
34767 {
34768 return f != $ac_func;
34769 ;
34770 return 0;
34771 }
34772 _ACEOF
34773 rm -f conftest.$ac_objext conftest$ac_exeext
34774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34775 (eval $ac_link) 2>conftest.er1
34776 ac_status=$?
34777 grep -v '^ *+' conftest.er1 >conftest.err
34778 rm -f conftest.er1
34779 cat conftest.err >&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); } &&
34782 { ac_try='test -z "$ac_c_werror_flag"
34783 || test ! -s conftest.err'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34786 ac_status=$?
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; } &&
34789 { ac_try='test -s conftest$ac_exeext'
34790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791 (eval $ac_try) 2>&5
34792 ac_status=$?
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); }; }; then
34795 eval "$as_ac_var=yes"
34796 else
34797 echo "$as_me: failed program was:" >&5
34798 sed 's/^/| /' conftest.$ac_ext >&5
34799
34800 eval "$as_ac_var=no"
34801 fi
34802 rm -f conftest.err conftest.$ac_objext \
34803 conftest$ac_exeext conftest.$ac_ext
34804 fi
34805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34807 if test `eval echo '${'$as_ac_var'}'` = yes; then
34808 cat >>confdefs.h <<_ACEOF
34809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34810 _ACEOF
34811
34812 fi
34813 done
34814
34815 else
34816
34817 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
34818 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
34819 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34820 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
34821 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 else
34823
34824
34825
34826 ac_ext=cc
34827 ac_cpp='$CXXCPP $CPPFLAGS'
34828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34831
34832 cat >conftest.$ac_ext <<_ACEOF
34833 /* confdefs.h. */
34834 _ACEOF
34835 cat confdefs.h >>conftest.$ac_ext
34836 cat >>conftest.$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838 #include <math.h>
34839 #ifdef HAVE_IEEEFP_H
34840 #include <ieeefp.h>
34841 #endif
34842
34843 int
34844 main ()
34845 {
34846 _isinfl(0);
34847 ;
34848 return 0;
34849 }
34850 _ACEOF
34851 rm -f conftest.$ac_objext
34852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34853 (eval $ac_compile) 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } &&
34860 { ac_try='test -z "$ac_cxx_werror_flag"
34861 || test ! -s conftest.err'
34862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863 (eval $ac_try) 2>&5
34864 ac_status=$?
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); }; } &&
34867 { ac_try='test -s conftest.$ac_objext'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34870 ac_status=$?
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; }; then
34873 glibcxx_cv_func__isinfl_use=yes
34874 else
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.$ac_ext >&5
34877
34878 glibcxx_cv_func__isinfl_use=no
34879 fi
34880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34881 ac_ext=c
34882 ac_cpp='$CPP $CPPFLAGS'
34883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34886
34887
34888 fi
34889
34890 fi
34891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
34892 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
34893
34894 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
34895
34896 for ac_func in _isinfl
34897 do
34898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34899 echo "$as_me:$LINENO: checking for $ac_func" >&5
34900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34901 if eval "test \"\${$as_ac_var+set}\" = set"; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 else
34904 if test x$gcc_no_link = xyes; then
34905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34907 { (exit 1); exit 1; }; }
34908 fi
34909 cat >conftest.$ac_ext <<_ACEOF
34910 /* confdefs.h. */
34911 _ACEOF
34912 cat confdefs.h >>conftest.$ac_ext
34913 cat >>conftest.$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34917 #define $ac_func innocuous_$ac_func
34918
34919 /* System header to define __stub macros and hopefully few prototypes,
34920 which can conflict with char $ac_func (); below.
34921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34922 <limits.h> exists even on freestanding compilers. */
34923
34924 #ifdef __STDC__
34925 # include <limits.h>
34926 #else
34927 # include <assert.h>
34928 #endif
34929
34930 #undef $ac_func
34931
34932 /* Override any gcc2 internal prototype to avoid an error. */
34933 #ifdef __cplusplus
34934 extern "C"
34935 {
34936 #endif
34937 /* We use char because int might match the return type of a gcc2
34938 builtin and then its argument prototype would still apply. */
34939 char $ac_func ();
34940 /* The GNU C library defines this for functions which it implements
34941 to always fail with ENOSYS. Some functions are actually named
34942 something starting with __ and the normal name is an alias. */
34943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34944 choke me
34945 #else
34946 char (*f) () = $ac_func;
34947 #endif
34948 #ifdef __cplusplus
34949 }
34950 #endif
34951
34952 int
34953 main ()
34954 {
34955 return f != $ac_func;
34956 ;
34957 return 0;
34958 }
34959 _ACEOF
34960 rm -f conftest.$ac_objext conftest$ac_exeext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34962 (eval $ac_link) 2>conftest.er1
34963 ac_status=$?
34964 grep -v '^ *+' conftest.er1 >conftest.err
34965 rm -f conftest.er1
34966 cat conftest.err >&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34973 ac_status=$?
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try='test -s conftest$ac_exeext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34979 ac_status=$?
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982 eval "$as_ac_var=yes"
34983 else
34984 echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.$ac_ext >&5
34986
34987 eval "$as_ac_var=no"
34988 fi
34989 rm -f conftest.err conftest.$ac_objext \
34990 conftest$ac_exeext conftest.$ac_ext
34991 fi
34992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34994 if test `eval echo '${'$as_ac_var'}'` = yes; then
34995 cat >>confdefs.h <<_ACEOF
34996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34997 _ACEOF
34998
34999 fi
35000 done
35001
35002 fi
35003 fi
35004
35005
35006
35007
35008
35009
35010 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35011 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35012 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35013 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35014 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 else
35016
35017
35018
35019 ac_ext=cc
35020 ac_cpp='$CXXCPP $CPPFLAGS'
35021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35024
35025 cat >conftest.$ac_ext <<_ACEOF
35026 /* confdefs.h. */
35027 _ACEOF
35028 cat confdefs.h >>conftest.$ac_ext
35029 cat >>conftest.$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35031 #include <math.h>
35032 int
35033 main ()
35034 {
35035 atan2l(0, 0);
35036 ;
35037 return 0;
35038 }
35039 _ACEOF
35040 rm -f conftest.$ac_objext
35041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35042 (eval $ac_compile) 2>conftest.er1
35043 ac_status=$?
35044 grep -v '^ *+' conftest.er1 >conftest.err
35045 rm -f conftest.er1
35046 cat conftest.err >&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } &&
35049 { ac_try='test -z "$ac_cxx_werror_flag"
35050 || test ! -s conftest.err'
35051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052 (eval $ac_try) 2>&5
35053 ac_status=$?
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); }; } &&
35056 { ac_try='test -s conftest.$ac_objext'
35057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35058 (eval $ac_try) 2>&5
35059 ac_status=$?
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); }; }; then
35062 glibcxx_cv_func_atan2l_use=yes
35063 else
35064 echo "$as_me: failed program was:" >&5
35065 sed 's/^/| /' conftest.$ac_ext >&5
35066
35067 glibcxx_cv_func_atan2l_use=no
35068 fi
35069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075
35076
35077 fi
35078
35079 fi
35080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35081 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35082
35083 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35084
35085 for ac_func in atan2l
35086 do
35087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35088 echo "$as_me:$LINENO: checking for $ac_func" >&5
35089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35090 if eval "test \"\${$as_ac_var+set}\" = set"; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093 if test x$gcc_no_link = xyes; then
35094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35096 { (exit 1); exit 1; }; }
35097 fi
35098 cat >conftest.$ac_ext <<_ACEOF
35099 /* confdefs.h. */
35100 _ACEOF
35101 cat confdefs.h >>conftest.$ac_ext
35102 cat >>conftest.$ac_ext <<_ACEOF
35103 /* end confdefs.h. */
35104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35106 #define $ac_func innocuous_$ac_func
35107
35108 /* System header to define __stub macros and hopefully few prototypes,
35109 which can conflict with char $ac_func (); below.
35110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35111 <limits.h> exists even on freestanding compilers. */
35112
35113 #ifdef __STDC__
35114 # include <limits.h>
35115 #else
35116 # include <assert.h>
35117 #endif
35118
35119 #undef $ac_func
35120
35121 /* Override any gcc2 internal prototype to avoid an error. */
35122 #ifdef __cplusplus
35123 extern "C"
35124 {
35125 #endif
35126 /* We use char because int might match the return type of a gcc2
35127 builtin and then its argument prototype would still apply. */
35128 char $ac_func ();
35129 /* The GNU C library defines this for functions which it implements
35130 to always fail with ENOSYS. Some functions are actually named
35131 something starting with __ and the normal name is an alias. */
35132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35133 choke me
35134 #else
35135 char (*f) () = $ac_func;
35136 #endif
35137 #ifdef __cplusplus
35138 }
35139 #endif
35140
35141 int
35142 main ()
35143 {
35144 return f != $ac_func;
35145 ;
35146 return 0;
35147 }
35148 _ACEOF
35149 rm -f conftest.$ac_objext conftest$ac_exeext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35151 (eval $ac_link) 2>conftest.er1
35152 ac_status=$?
35153 grep -v '^ *+' conftest.er1 >conftest.err
35154 rm -f conftest.er1
35155 cat conftest.err >&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try='test -z "$ac_c_werror_flag"
35159 || test ! -s conftest.err'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try='test -s conftest$ac_exeext'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35168 ac_status=$?
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; }; then
35171 eval "$as_ac_var=yes"
35172 else
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35175
35176 eval "$as_ac_var=no"
35177 fi
35178 rm -f conftest.err conftest.$ac_objext \
35179 conftest$ac_exeext conftest.$ac_ext
35180 fi
35181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35183 if test `eval echo '${'$as_ac_var'}'` = yes; then
35184 cat >>confdefs.h <<_ACEOF
35185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35186 _ACEOF
35187
35188 fi
35189 done
35190
35191 else
35192
35193 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35194 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35196 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35197 echo $ECHO_N "(cached) $ECHO_C" >&6
35198 else
35199
35200
35201
35202 ac_ext=cc
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207
35208 cat >conftest.$ac_ext <<_ACEOF
35209 /* confdefs.h. */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35214 #include <math.h>
35215 int
35216 main ()
35217 {
35218 _atan2l(0, 0);
35219 ;
35220 return 0;
35221 }
35222 _ACEOF
35223 rm -f conftest.$ac_objext
35224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35225 (eval $ac_compile) 2>conftest.er1
35226 ac_status=$?
35227 grep -v '^ *+' conftest.er1 >conftest.err
35228 rm -f conftest.er1
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } &&
35232 { ac_try='test -z "$ac_cxx_werror_flag"
35233 || test ! -s conftest.err'
35234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35235 (eval $ac_try) 2>&5
35236 ac_status=$?
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); }; } &&
35239 { ac_try='test -s conftest.$ac_objext'
35240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35241 (eval $ac_try) 2>&5
35242 ac_status=$?
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); }; }; then
35245 glibcxx_cv_func__atan2l_use=yes
35246 else
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35249
35250 glibcxx_cv_func__atan2l_use=no
35251 fi
35252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35253 ac_ext=c
35254 ac_cpp='$CPP $CPPFLAGS'
35255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35258
35259
35260 fi
35261
35262 fi
35263 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35264 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35265
35266 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35267
35268 for ac_func in _atan2l
35269 do
35270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35271 echo "$as_me:$LINENO: checking for $ac_func" >&5
35272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35273 if eval "test \"\${$as_ac_var+set}\" = set"; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 else
35276 if test x$gcc_no_link = xyes; then
35277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35279 { (exit 1); exit 1; }; }
35280 fi
35281 cat >conftest.$ac_ext <<_ACEOF
35282 /* confdefs.h. */
35283 _ACEOF
35284 cat confdefs.h >>conftest.$ac_ext
35285 cat >>conftest.$ac_ext <<_ACEOF
35286 /* end confdefs.h. */
35287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35289 #define $ac_func innocuous_$ac_func
35290
35291 /* System header to define __stub macros and hopefully few prototypes,
35292 which can conflict with char $ac_func (); below.
35293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35294 <limits.h> exists even on freestanding compilers. */
35295
35296 #ifdef __STDC__
35297 # include <limits.h>
35298 #else
35299 # include <assert.h>
35300 #endif
35301
35302 #undef $ac_func
35303
35304 /* Override any gcc2 internal prototype to avoid an error. */
35305 #ifdef __cplusplus
35306 extern "C"
35307 {
35308 #endif
35309 /* We use char because int might match the return type of a gcc2
35310 builtin and then its argument prototype would still apply. */
35311 char $ac_func ();
35312 /* The GNU C library defines this for functions which it implements
35313 to always fail with ENOSYS. Some functions are actually named
35314 something starting with __ and the normal name is an alias. */
35315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35316 choke me
35317 #else
35318 char (*f) () = $ac_func;
35319 #endif
35320 #ifdef __cplusplus
35321 }
35322 #endif
35323
35324 int
35325 main ()
35326 {
35327 return f != $ac_func;
35328 ;
35329 return 0;
35330 }
35331 _ACEOF
35332 rm -f conftest.$ac_objext conftest$ac_exeext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35334 (eval $ac_link) 2>conftest.er1
35335 ac_status=$?
35336 grep -v '^ *+' conftest.er1 >conftest.err
35337 rm -f conftest.er1
35338 cat conftest.err >&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); } &&
35341 { ac_try='test -z "$ac_c_werror_flag"
35342 || test ! -s conftest.err'
35343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35344 (eval $ac_try) 2>&5
35345 ac_status=$?
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); }; } &&
35348 { ac_try='test -s conftest$ac_exeext'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35351 ac_status=$?
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; }; then
35354 eval "$as_ac_var=yes"
35355 else
35356 echo "$as_me: failed program was:" >&5
35357 sed 's/^/| /' conftest.$ac_ext >&5
35358
35359 eval "$as_ac_var=no"
35360 fi
35361 rm -f conftest.err conftest.$ac_objext \
35362 conftest$ac_exeext conftest.$ac_ext
35363 fi
35364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35366 if test `eval echo '${'$as_ac_var'}'` = yes; then
35367 cat >>confdefs.h <<_ACEOF
35368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35369 _ACEOF
35370
35371 fi
35372 done
35373
35374 fi
35375 fi
35376
35377
35378
35379
35380
35381
35382 echo "$as_me:$LINENO: checking for expl declaration" >&5
35383 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35384 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35385 if test "${glibcxx_cv_func_expl_use+set}" = set; then
35386 echo $ECHO_N "(cached) $ECHO_C" >&6
35387 else
35388
35389
35390
35391 ac_ext=cc
35392 ac_cpp='$CXXCPP $CPPFLAGS'
35393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35396
35397 cat >conftest.$ac_ext <<_ACEOF
35398 /* confdefs.h. */
35399 _ACEOF
35400 cat confdefs.h >>conftest.$ac_ext
35401 cat >>conftest.$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35403 #include <math.h>
35404 #ifdef HAVE_IEEEFP_H
35405 #include <ieeefp.h>
35406 #endif
35407
35408 int
35409 main ()
35410 {
35411 expl(0);
35412 ;
35413 return 0;
35414 }
35415 _ACEOF
35416 rm -f conftest.$ac_objext
35417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35418 (eval $ac_compile) 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } &&
35425 { ac_try='test -z "$ac_cxx_werror_flag"
35426 || test ! -s conftest.err'
35427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35428 (eval $ac_try) 2>&5
35429 ac_status=$?
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); }; } &&
35432 { ac_try='test -s conftest.$ac_objext'
35433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35434 (eval $ac_try) 2>&5
35435 ac_status=$?
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); }; }; then
35438 glibcxx_cv_func_expl_use=yes
35439 else
35440 echo "$as_me: failed program was:" >&5
35441 sed 's/^/| /' conftest.$ac_ext >&5
35442
35443 glibcxx_cv_func_expl_use=no
35444 fi
35445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35446 ac_ext=c
35447 ac_cpp='$CPP $CPPFLAGS'
35448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35451
35452
35453 fi
35454
35455 fi
35456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35457 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35458
35459 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35460
35461 for ac_func in expl
35462 do
35463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35464 echo "$as_me:$LINENO: checking for $ac_func" >&5
35465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35466 if eval "test \"\${$as_ac_var+set}\" = set"; then
35467 echo $ECHO_N "(cached) $ECHO_C" >&6
35468 else
35469 if test x$gcc_no_link = xyes; then
35470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35472 { (exit 1); exit 1; }; }
35473 fi
35474 cat >conftest.$ac_ext <<_ACEOF
35475 /* confdefs.h. */
35476 _ACEOF
35477 cat confdefs.h >>conftest.$ac_ext
35478 cat >>conftest.$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35482 #define $ac_func innocuous_$ac_func
35483
35484 /* System header to define __stub macros and hopefully few prototypes,
35485 which can conflict with char $ac_func (); below.
35486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35487 <limits.h> exists even on freestanding compilers. */
35488
35489 #ifdef __STDC__
35490 # include <limits.h>
35491 #else
35492 # include <assert.h>
35493 #endif
35494
35495 #undef $ac_func
35496
35497 /* Override any gcc2 internal prototype to avoid an error. */
35498 #ifdef __cplusplus
35499 extern "C"
35500 {
35501 #endif
35502 /* We use char because int might match the return type of a gcc2
35503 builtin and then its argument prototype would still apply. */
35504 char $ac_func ();
35505 /* The GNU C library defines this for functions which it implements
35506 to always fail with ENOSYS. Some functions are actually named
35507 something starting with __ and the normal name is an alias. */
35508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35509 choke me
35510 #else
35511 char (*f) () = $ac_func;
35512 #endif
35513 #ifdef __cplusplus
35514 }
35515 #endif
35516
35517 int
35518 main ()
35519 {
35520 return f != $ac_func;
35521 ;
35522 return 0;
35523 }
35524 _ACEOF
35525 rm -f conftest.$ac_objext conftest$ac_exeext
35526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35527 (eval $ac_link) 2>conftest.er1
35528 ac_status=$?
35529 grep -v '^ *+' conftest.er1 >conftest.err
35530 rm -f conftest.er1
35531 cat conftest.err >&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } &&
35534 { ac_try='test -z "$ac_c_werror_flag"
35535 || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try='test -s conftest$ac_exeext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 eval "$as_ac_var=yes"
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35551
35552 eval "$as_ac_var=no"
35553 fi
35554 rm -f conftest.err conftest.$ac_objext \
35555 conftest$ac_exeext conftest.$ac_ext
35556 fi
35557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35559 if test `eval echo '${'$as_ac_var'}'` = yes; then
35560 cat >>confdefs.h <<_ACEOF
35561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35562 _ACEOF
35563
35564 fi
35565 done
35566
35567 else
35568
35569 echo "$as_me:$LINENO: checking for _expl declaration" >&5
35570 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
35571 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35572 if test "${glibcxx_cv_func__expl_use+set}" = set; then
35573 echo $ECHO_N "(cached) $ECHO_C" >&6
35574 else
35575
35576
35577
35578 ac_ext=cc
35579 ac_cpp='$CXXCPP $CPPFLAGS'
35580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35583
35584 cat >conftest.$ac_ext <<_ACEOF
35585 /* confdefs.h. */
35586 _ACEOF
35587 cat confdefs.h >>conftest.$ac_ext
35588 cat >>conftest.$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 #include <math.h>
35591 #ifdef HAVE_IEEEFP_H
35592 #include <ieeefp.h>
35593 #endif
35594
35595 int
35596 main ()
35597 {
35598 _expl(0);
35599 ;
35600 return 0;
35601 }
35602 _ACEOF
35603 rm -f conftest.$ac_objext
35604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35605 (eval $ac_compile) 2>conftest.er1
35606 ac_status=$?
35607 grep -v '^ *+' conftest.er1 >conftest.err
35608 rm -f conftest.er1
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } &&
35612 { ac_try='test -z "$ac_cxx_werror_flag"
35613 || test ! -s conftest.err'
35614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35615 (eval $ac_try) 2>&5
35616 ac_status=$?
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); }; } &&
35619 { ac_try='test -s conftest.$ac_objext'
35620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35621 (eval $ac_try) 2>&5
35622 ac_status=$?
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); }; }; then
35625 glibcxx_cv_func__expl_use=yes
35626 else
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35629
35630 glibcxx_cv_func__expl_use=no
35631 fi
35632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35633 ac_ext=c
35634 ac_cpp='$CPP $CPPFLAGS'
35635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35638
35639
35640 fi
35641
35642 fi
35643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
35644 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
35645
35646 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35647
35648 for ac_func in _expl
35649 do
35650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35651 echo "$as_me:$LINENO: checking for $ac_func" >&5
35652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35653 if eval "test \"\${$as_ac_var+set}\" = set"; then
35654 echo $ECHO_N "(cached) $ECHO_C" >&6
35655 else
35656 if test x$gcc_no_link = xyes; then
35657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35659 { (exit 1); exit 1; }; }
35660 fi
35661 cat >conftest.$ac_ext <<_ACEOF
35662 /* confdefs.h. */
35663 _ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h. */
35667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35669 #define $ac_func innocuous_$ac_func
35670
35671 /* System header to define __stub macros and hopefully few prototypes,
35672 which can conflict with char $ac_func (); below.
35673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35674 <limits.h> exists even on freestanding compilers. */
35675
35676 #ifdef __STDC__
35677 # include <limits.h>
35678 #else
35679 # include <assert.h>
35680 #endif
35681
35682 #undef $ac_func
35683
35684 /* Override any gcc2 internal prototype to avoid an error. */
35685 #ifdef __cplusplus
35686 extern "C"
35687 {
35688 #endif
35689 /* We use char because int might match the return type of a gcc2
35690 builtin and then its argument prototype would still apply. */
35691 char $ac_func ();
35692 /* The GNU C library defines this for functions which it implements
35693 to always fail with ENOSYS. Some functions are actually named
35694 something starting with __ and the normal name is an alias. */
35695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35696 choke me
35697 #else
35698 char (*f) () = $ac_func;
35699 #endif
35700 #ifdef __cplusplus
35701 }
35702 #endif
35703
35704 int
35705 main ()
35706 {
35707 return f != $ac_func;
35708 ;
35709 return 0;
35710 }
35711 _ACEOF
35712 rm -f conftest.$ac_objext conftest$ac_exeext
35713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35714 (eval $ac_link) 2>conftest.er1
35715 ac_status=$?
35716 grep -v '^ *+' conftest.er1 >conftest.err
35717 rm -f conftest.er1
35718 cat conftest.err >&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } &&
35721 { ac_try='test -z "$ac_c_werror_flag"
35722 || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try='test -s conftest$ac_exeext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35731 ac_status=$?
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35734 eval "$as_ac_var=yes"
35735 else
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.$ac_ext >&5
35738
35739 eval "$as_ac_var=no"
35740 fi
35741 rm -f conftest.err conftest.$ac_objext \
35742 conftest$ac_exeext conftest.$ac_ext
35743 fi
35744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747 cat >>confdefs.h <<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35749 _ACEOF
35750
35751 fi
35752 done
35753
35754 fi
35755 fi
35756
35757
35758
35759
35760
35761
35762 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
35763 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
35764 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35765 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35768
35769
35770
35771 ac_ext=cc
35772 ac_cpp='$CXXCPP $CPPFLAGS'
35773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35776
35777 cat >conftest.$ac_ext <<_ACEOF
35778 /* confdefs.h. */
35779 _ACEOF
35780 cat confdefs.h >>conftest.$ac_ext
35781 cat >>conftest.$ac_ext <<_ACEOF
35782 /* end confdefs.h. */
35783 #include <math.h>
35784 #ifdef HAVE_IEEEFP_H
35785 #include <ieeefp.h>
35786 #endif
35787
35788 int
35789 main ()
35790 {
35791 fabsl(0);
35792 ;
35793 return 0;
35794 }
35795 _ACEOF
35796 rm -f conftest.$ac_objext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35798 (eval $ac_compile) 2>conftest.er1
35799 ac_status=$?
35800 grep -v '^ *+' conftest.er1 >conftest.err
35801 rm -f conftest.er1
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try='test -z "$ac_cxx_werror_flag"
35806 || test ! -s conftest.err'
35807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35808 (eval $ac_try) 2>&5
35809 ac_status=$?
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); }; } &&
35812 { ac_try='test -s conftest.$ac_objext'
35813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35814 (eval $ac_try) 2>&5
35815 ac_status=$?
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); }; }; then
35818 glibcxx_cv_func_fabsl_use=yes
35819 else
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.$ac_ext >&5
35822
35823 glibcxx_cv_func_fabsl_use=no
35824 fi
35825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831
35832
35833 fi
35834
35835 fi
35836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
35837 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
35838
35839 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35840
35841 for ac_func in fabsl
35842 do
35843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35844 echo "$as_me:$LINENO: checking for $ac_func" >&5
35845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35846 if eval "test \"\${$as_ac_var+set}\" = set"; then
35847 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 else
35849 if test x$gcc_no_link = xyes; then
35850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35852 { (exit 1); exit 1; }; }
35853 fi
35854 cat >conftest.$ac_ext <<_ACEOF
35855 /* confdefs.h. */
35856 _ACEOF
35857 cat confdefs.h >>conftest.$ac_ext
35858 cat >>conftest.$ac_ext <<_ACEOF
35859 /* end confdefs.h. */
35860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35862 #define $ac_func innocuous_$ac_func
35863
35864 /* System header to define __stub macros and hopefully few prototypes,
35865 which can conflict with char $ac_func (); below.
35866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35867 <limits.h> exists even on freestanding compilers. */
35868
35869 #ifdef __STDC__
35870 # include <limits.h>
35871 #else
35872 # include <assert.h>
35873 #endif
35874
35875 #undef $ac_func
35876
35877 /* Override any gcc2 internal prototype to avoid an error. */
35878 #ifdef __cplusplus
35879 extern "C"
35880 {
35881 #endif
35882 /* We use char because int might match the return type of a gcc2
35883 builtin and then its argument prototype would still apply. */
35884 char $ac_func ();
35885 /* The GNU C library defines this for functions which it implements
35886 to always fail with ENOSYS. Some functions are actually named
35887 something starting with __ and the normal name is an alias. */
35888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35889 choke me
35890 #else
35891 char (*f) () = $ac_func;
35892 #endif
35893 #ifdef __cplusplus
35894 }
35895 #endif
35896
35897 int
35898 main ()
35899 {
35900 return f != $ac_func;
35901 ;
35902 return 0;
35903 }
35904 _ACEOF
35905 rm -f conftest.$ac_objext conftest$ac_exeext
35906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35907 (eval $ac_link) 2>conftest.er1
35908 ac_status=$?
35909 grep -v '^ *+' conftest.er1 >conftest.err
35910 rm -f conftest.er1
35911 cat conftest.err >&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } &&
35914 { ac_try='test -z "$ac_c_werror_flag"
35915 || test ! -s conftest.err'
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35918 ac_status=$?
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; } &&
35921 { ac_try='test -s conftest$ac_exeext'
35922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35923 (eval $ac_try) 2>&5
35924 ac_status=$?
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); }; }; then
35927 eval "$as_ac_var=yes"
35928 else
35929 echo "$as_me: failed program was:" >&5
35930 sed 's/^/| /' conftest.$ac_ext >&5
35931
35932 eval "$as_ac_var=no"
35933 fi
35934 rm -f conftest.err conftest.$ac_objext \
35935 conftest$ac_exeext conftest.$ac_ext
35936 fi
35937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35939 if test `eval echo '${'$as_ac_var'}'` = yes; then
35940 cat >>confdefs.h <<_ACEOF
35941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35942 _ACEOF
35943
35944 fi
35945 done
35946
35947 else
35948
35949 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
35950 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
35951 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35952 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 else
35955
35956
35957
35958 ac_ext=cc
35959 ac_cpp='$CXXCPP $CPPFLAGS'
35960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35963
35964 cat >conftest.$ac_ext <<_ACEOF
35965 /* confdefs.h. */
35966 _ACEOF
35967 cat confdefs.h >>conftest.$ac_ext
35968 cat >>conftest.$ac_ext <<_ACEOF
35969 /* end confdefs.h. */
35970 #include <math.h>
35971 #ifdef HAVE_IEEEFP_H
35972 #include <ieeefp.h>
35973 #endif
35974
35975 int
35976 main ()
35977 {
35978 _fabsl(0);
35979 ;
35980 return 0;
35981 }
35982 _ACEOF
35983 rm -f conftest.$ac_objext
35984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35985 (eval $ac_compile) 2>conftest.er1
35986 ac_status=$?
35987 grep -v '^ *+' conftest.er1 >conftest.err
35988 rm -f conftest.er1
35989 cat conftest.err >&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } &&
35992 { ac_try='test -z "$ac_cxx_werror_flag"
35993 || test ! -s conftest.err'
35994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35995 (eval $ac_try) 2>&5
35996 ac_status=$?
35997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998 (exit $ac_status); }; } &&
35999 { ac_try='test -s conftest.$ac_objext'
36000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36001 (eval $ac_try) 2>&5
36002 ac_status=$?
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); }; }; then
36005 glibcxx_cv_func__fabsl_use=yes
36006 else
36007 echo "$as_me: failed program was:" >&5
36008 sed 's/^/| /' conftest.$ac_ext >&5
36009
36010 glibcxx_cv_func__fabsl_use=no
36011 fi
36012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36013 ac_ext=c
36014 ac_cpp='$CPP $CPPFLAGS'
36015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36018
36019
36020 fi
36021
36022 fi
36023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36024 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36025
36026 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36027
36028 for ac_func in _fabsl
36029 do
36030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36031 echo "$as_me:$LINENO: checking for $ac_func" >&5
36032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36033 if eval "test \"\${$as_ac_var+set}\" = set"; then
36034 echo $ECHO_N "(cached) $ECHO_C" >&6
36035 else
36036 if test x$gcc_no_link = xyes; then
36037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36039 { (exit 1); exit 1; }; }
36040 fi
36041 cat >conftest.$ac_ext <<_ACEOF
36042 /* confdefs.h. */
36043 _ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36049 #define $ac_func innocuous_$ac_func
36050
36051 /* System header to define __stub macros and hopefully few prototypes,
36052 which can conflict with char $ac_func (); below.
36053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36054 <limits.h> exists even on freestanding compilers. */
36055
36056 #ifdef __STDC__
36057 # include <limits.h>
36058 #else
36059 # include <assert.h>
36060 #endif
36061
36062 #undef $ac_func
36063
36064 /* Override any gcc2 internal prototype to avoid an error. */
36065 #ifdef __cplusplus
36066 extern "C"
36067 {
36068 #endif
36069 /* We use char because int might match the return type of a gcc2
36070 builtin and then its argument prototype would still apply. */
36071 char $ac_func ();
36072 /* The GNU C library defines this for functions which it implements
36073 to always fail with ENOSYS. Some functions are actually named
36074 something starting with __ and the normal name is an alias. */
36075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36076 choke me
36077 #else
36078 char (*f) () = $ac_func;
36079 #endif
36080 #ifdef __cplusplus
36081 }
36082 #endif
36083
36084 int
36085 main ()
36086 {
36087 return f != $ac_func;
36088 ;
36089 return 0;
36090 }
36091 _ACEOF
36092 rm -f conftest.$ac_objext conftest$ac_exeext
36093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36094 (eval $ac_link) 2>conftest.er1
36095 ac_status=$?
36096 grep -v '^ *+' conftest.er1 >conftest.err
36097 rm -f conftest.er1
36098 cat conftest.err >&5
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); } &&
36101 { ac_try='test -z "$ac_c_werror_flag"
36102 || test ! -s conftest.err'
36103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36104 (eval $ac_try) 2>&5
36105 ac_status=$?
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); }; } &&
36108 { ac_try='test -s conftest$ac_exeext'
36109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36110 (eval $ac_try) 2>&5
36111 ac_status=$?
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); }; }; then
36114 eval "$as_ac_var=yes"
36115 else
36116 echo "$as_me: failed program was:" >&5
36117 sed 's/^/| /' conftest.$ac_ext >&5
36118
36119 eval "$as_ac_var=no"
36120 fi
36121 rm -f conftest.err conftest.$ac_objext \
36122 conftest$ac_exeext conftest.$ac_ext
36123 fi
36124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36126 if test `eval echo '${'$as_ac_var'}'` = yes; then
36127 cat >>confdefs.h <<_ACEOF
36128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36129 _ACEOF
36130
36131 fi
36132 done
36133
36134 fi
36135 fi
36136
36137
36138
36139
36140
36141
36142 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36143 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36144 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36145 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36146 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 else
36148
36149
36150
36151 ac_ext=cc
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36156
36157 cat >conftest.$ac_ext <<_ACEOF
36158 /* confdefs.h. */
36159 _ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36163 #include <math.h>
36164 int
36165 main ()
36166 {
36167 fmodl(0, 0);
36168 ;
36169 return 0;
36170 }
36171 _ACEOF
36172 rm -f conftest.$ac_objext
36173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36174 (eval $ac_compile) 2>conftest.er1
36175 ac_status=$?
36176 grep -v '^ *+' conftest.er1 >conftest.err
36177 rm -f conftest.er1
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } &&
36181 { ac_try='test -z "$ac_cxx_werror_flag"
36182 || test ! -s conftest.err'
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); }; } &&
36188 { ac_try='test -s conftest.$ac_objext'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36191 ac_status=$?
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; }; then
36194 glibcxx_cv_func_fmodl_use=yes
36195 else
36196 echo "$as_me: failed program was:" >&5
36197 sed 's/^/| /' conftest.$ac_ext >&5
36198
36199 glibcxx_cv_func_fmodl_use=no
36200 fi
36201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36202 ac_ext=c
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36207
36208
36209 fi
36210
36211 fi
36212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36213 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36214
36215 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36216
36217 for ac_func in fmodl
36218 do
36219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36220 echo "$as_me:$LINENO: checking for $ac_func" >&5
36221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36222 if eval "test \"\${$as_ac_var+set}\" = set"; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36225 if test x$gcc_no_link = xyes; then
36226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36228 { (exit 1); exit 1; }; }
36229 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36238 #define $ac_func innocuous_$ac_func
36239
36240 /* System header to define __stub macros and hopefully few prototypes,
36241 which can conflict with char $ac_func (); below.
36242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36243 <limits.h> exists even on freestanding compilers. */
36244
36245 #ifdef __STDC__
36246 # include <limits.h>
36247 #else
36248 # include <assert.h>
36249 #endif
36250
36251 #undef $ac_func
36252
36253 /* Override any gcc2 internal prototype to avoid an error. */
36254 #ifdef __cplusplus
36255 extern "C"
36256 {
36257 #endif
36258 /* We use char because int might match the return type of a gcc2
36259 builtin and then its argument prototype would still apply. */
36260 char $ac_func ();
36261 /* The GNU C library defines this for functions which it implements
36262 to always fail with ENOSYS. Some functions are actually named
36263 something starting with __ and the normal name is an alias. */
36264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36265 choke me
36266 #else
36267 char (*f) () = $ac_func;
36268 #endif
36269 #ifdef __cplusplus
36270 }
36271 #endif
36272
36273 int
36274 main ()
36275 {
36276 return f != $ac_func;
36277 ;
36278 return 0;
36279 }
36280 _ACEOF
36281 rm -f conftest.$ac_objext conftest$ac_exeext
36282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36283 (eval $ac_link) 2>conftest.er1
36284 ac_status=$?
36285 grep -v '^ *+' conftest.er1 >conftest.err
36286 rm -f conftest.er1
36287 cat conftest.err >&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); } &&
36290 { ac_try='test -z "$ac_c_werror_flag"
36291 || test ! -s conftest.err'
36292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36293 (eval $ac_try) 2>&5
36294 ac_status=$?
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); }; } &&
36297 { ac_try='test -s conftest$ac_exeext'
36298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36299 (eval $ac_try) 2>&5
36300 ac_status=$?
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); }; }; then
36303 eval "$as_ac_var=yes"
36304 else
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.$ac_ext >&5
36307
36308 eval "$as_ac_var=no"
36309 fi
36310 rm -f conftest.err conftest.$ac_objext \
36311 conftest$ac_exeext conftest.$ac_ext
36312 fi
36313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36315 if test `eval echo '${'$as_ac_var'}'` = yes; then
36316 cat >>confdefs.h <<_ACEOF
36317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36318 _ACEOF
36319
36320 fi
36321 done
36322
36323 else
36324
36325 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36326 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36327 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36328 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 else
36331
36332
36333
36334 ac_ext=cc
36335 ac_cpp='$CXXCPP $CPPFLAGS'
36336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36339
36340 cat >conftest.$ac_ext <<_ACEOF
36341 /* confdefs.h. */
36342 _ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346 #include <math.h>
36347 int
36348 main ()
36349 {
36350 _fmodl(0, 0);
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 rm -f conftest.$ac_objext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36357 (eval $ac_compile) 2>conftest.er1
36358 ac_status=$?
36359 grep -v '^ *+' conftest.er1 >conftest.err
36360 rm -f conftest.er1
36361 cat conftest.err >&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try='test -z "$ac_cxx_werror_flag"
36365 || test ! -s conftest.err'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36368 ac_status=$?
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; } &&
36371 { ac_try='test -s conftest.$ac_objext'
36372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36373 (eval $ac_try) 2>&5
36374 ac_status=$?
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); }; }; then
36377 glibcxx_cv_func__fmodl_use=yes
36378 else
36379 echo "$as_me: failed program was:" >&5
36380 sed 's/^/| /' conftest.$ac_ext >&5
36381
36382 glibcxx_cv_func__fmodl_use=no
36383 fi
36384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36385 ac_ext=c
36386 ac_cpp='$CPP $CPPFLAGS'
36387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36390
36391
36392 fi
36393
36394 fi
36395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36396 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36397
36398 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36399
36400 for ac_func in _fmodl
36401 do
36402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36403 echo "$as_me:$LINENO: checking for $ac_func" >&5
36404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36405 if eval "test \"\${$as_ac_var+set}\" = set"; then
36406 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 else
36408 if test x$gcc_no_link = xyes; then
36409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36411 { (exit 1); exit 1; }; }
36412 fi
36413 cat >conftest.$ac_ext <<_ACEOF
36414 /* confdefs.h. */
36415 _ACEOF
36416 cat confdefs.h >>conftest.$ac_ext
36417 cat >>conftest.$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36421 #define $ac_func innocuous_$ac_func
36422
36423 /* System header to define __stub macros and hopefully few prototypes,
36424 which can conflict with char $ac_func (); below.
36425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36426 <limits.h> exists even on freestanding compilers. */
36427
36428 #ifdef __STDC__
36429 # include <limits.h>
36430 #else
36431 # include <assert.h>
36432 #endif
36433
36434 #undef $ac_func
36435
36436 /* Override any gcc2 internal prototype to avoid an error. */
36437 #ifdef __cplusplus
36438 extern "C"
36439 {
36440 #endif
36441 /* We use char because int might match the return type of a gcc2
36442 builtin and then its argument prototype would still apply. */
36443 char $ac_func ();
36444 /* The GNU C library defines this for functions which it implements
36445 to always fail with ENOSYS. Some functions are actually named
36446 something starting with __ and the normal name is an alias. */
36447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36448 choke me
36449 #else
36450 char (*f) () = $ac_func;
36451 #endif
36452 #ifdef __cplusplus
36453 }
36454 #endif
36455
36456 int
36457 main ()
36458 {
36459 return f != $ac_func;
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 eval "$as_ac_var=yes"
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36490
36491 eval "$as_ac_var=no"
36492 fi
36493 rm -f conftest.err conftest.$ac_objext \
36494 conftest$ac_exeext conftest.$ac_ext
36495 fi
36496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36498 if test `eval echo '${'$as_ac_var'}'` = yes; then
36499 cat >>confdefs.h <<_ACEOF
36500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36501 _ACEOF
36502
36503 fi
36504 done
36505
36506 fi
36507 fi
36508
36509
36510
36511
36512
36513
36514 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36515 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36516 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36517 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 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_frexpl_use=yes
36567 else
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36570
36571 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
36585 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
36586
36587 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36588
36589 for ac_func in frexpl
36590 do
36591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36592 echo "$as_me:$LINENO: checking for $ac_func" >&5
36593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36594 if eval "test \"\${$as_ac_var+set}\" = set"; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597 if test x$gcc_no_link = xyes; then
36598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36600 { (exit 1); exit 1; }; }
36601 fi
36602 cat >conftest.$ac_ext <<_ACEOF
36603 /* confdefs.h. */
36604 _ACEOF
36605 cat confdefs.h >>conftest.$ac_ext
36606 cat >>conftest.$ac_ext <<_ACEOF
36607 /* end confdefs.h. */
36608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36610 #define $ac_func innocuous_$ac_func
36611
36612 /* System header to define __stub macros and hopefully few prototypes,
36613 which can conflict with char $ac_func (); below.
36614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36615 <limits.h> exists even on freestanding compilers. */
36616
36617 #ifdef __STDC__
36618 # include <limits.h>
36619 #else
36620 # include <assert.h>
36621 #endif
36622
36623 #undef $ac_func
36624
36625 /* Override any gcc2 internal prototype to avoid an error. */
36626 #ifdef __cplusplus
36627 extern "C"
36628 {
36629 #endif
36630 /* We use char because int might match the return type of a gcc2
36631 builtin and then its argument prototype would still apply. */
36632 char $ac_func ();
36633 /* The GNU C library defines this for functions which it implements
36634 to always fail with ENOSYS. Some functions are actually named
36635 something starting with __ and the normal name is an alias. */
36636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36637 choke me
36638 #else
36639 char (*f) () = $ac_func;
36640 #endif
36641 #ifdef __cplusplus
36642 }
36643 #endif
36644
36645 int
36646 main ()
36647 {
36648 return f != $ac_func;
36649 ;
36650 return 0;
36651 }
36652 _ACEOF
36653 rm -f conftest.$ac_objext conftest$ac_exeext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36655 (eval $ac_link) 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try='test -z "$ac_c_werror_flag"
36663 || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try='test -s conftest$ac_exeext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675 eval "$as_ac_var=yes"
36676 else
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.$ac_ext >&5
36679
36680 eval "$as_ac_var=no"
36681 fi
36682 rm -f conftest.err conftest.$ac_objext \
36683 conftest$ac_exeext conftest.$ac_ext
36684 fi
36685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36687 if test `eval echo '${'$as_ac_var'}'` = yes; then
36688 cat >>confdefs.h <<_ACEOF
36689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36690 _ACEOF
36691
36692 fi
36693 done
36694
36695 else
36696
36697 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
36698 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
36699 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36700 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 else
36703
36704
36705
36706 ac_ext=cc
36707 ac_cpp='$CXXCPP $CPPFLAGS'
36708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36711
36712 cat >conftest.$ac_ext <<_ACEOF
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 #include <math.h>
36719 int
36720 main ()
36721 {
36722 _frexpl(0, 0);
36723 ;
36724 return 0;
36725 }
36726 _ACEOF
36727 rm -f conftest.$ac_objext
36728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36729 (eval $ac_compile) 2>conftest.er1
36730 ac_status=$?
36731 grep -v '^ *+' conftest.er1 >conftest.err
36732 rm -f conftest.er1
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } &&
36736 { ac_try='test -z "$ac_cxx_werror_flag"
36737 || test ! -s conftest.err'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36740 ac_status=$?
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; } &&
36743 { ac_try='test -s conftest.$ac_objext'
36744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745 (eval $ac_try) 2>&5
36746 ac_status=$?
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); }; }; then
36749 glibcxx_cv_func__frexpl_use=yes
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 glibcxx_cv_func__frexpl_use=no
36755 fi
36756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762
36763
36764 fi
36765
36766 fi
36767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
36768 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
36769
36770 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36771
36772 for ac_func in _frexpl
36773 do
36774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36775 echo "$as_me:$LINENO: checking for $ac_func" >&5
36776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36777 if eval "test \"\${$as_ac_var+set}\" = set"; then
36778 echo $ECHO_N "(cached) $ECHO_C" >&6
36779 else
36780 if test x$gcc_no_link = xyes; then
36781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36783 { (exit 1); exit 1; }; }
36784 fi
36785 cat >conftest.$ac_ext <<_ACEOF
36786 /* confdefs.h. */
36787 _ACEOF
36788 cat confdefs.h >>conftest.$ac_ext
36789 cat >>conftest.$ac_ext <<_ACEOF
36790 /* end confdefs.h. */
36791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36793 #define $ac_func innocuous_$ac_func
36794
36795 /* System header to define __stub macros and hopefully few prototypes,
36796 which can conflict with char $ac_func (); below.
36797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36798 <limits.h> exists even on freestanding compilers. */
36799
36800 #ifdef __STDC__
36801 # include <limits.h>
36802 #else
36803 # include <assert.h>
36804 #endif
36805
36806 #undef $ac_func
36807
36808 /* Override any gcc2 internal prototype to avoid an error. */
36809 #ifdef __cplusplus
36810 extern "C"
36811 {
36812 #endif
36813 /* We use char because int might match the return type of a gcc2
36814 builtin and then its argument prototype would still apply. */
36815 char $ac_func ();
36816 /* The GNU C library defines this for functions which it implements
36817 to always fail with ENOSYS. Some functions are actually named
36818 something starting with __ and the normal name is an alias. */
36819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36820 choke me
36821 #else
36822 char (*f) () = $ac_func;
36823 #endif
36824 #ifdef __cplusplus
36825 }
36826 #endif
36827
36828 int
36829 main ()
36830 {
36831 return f != $ac_func;
36832 ;
36833 return 0;
36834 }
36835 _ACEOF
36836 rm -f conftest.$ac_objext conftest$ac_exeext
36837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36838 (eval $ac_link) 2>conftest.er1
36839 ac_status=$?
36840 grep -v '^ *+' conftest.er1 >conftest.err
36841 rm -f conftest.er1
36842 cat conftest.err >&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); } &&
36845 { ac_try='test -z "$ac_c_werror_flag"
36846 || test ! -s conftest.err'
36847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36848 (eval $ac_try) 2>&5
36849 ac_status=$?
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); }; } &&
36852 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36858 eval "$as_ac_var=yes"
36859 else
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.$ac_ext >&5
36862
36863 eval "$as_ac_var=no"
36864 fi
36865 rm -f conftest.err conftest.$ac_objext \
36866 conftest$ac_exeext conftest.$ac_ext
36867 fi
36868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36870 if test `eval echo '${'$as_ac_var'}'` = yes; then
36871 cat >>confdefs.h <<_ACEOF
36872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36873 _ACEOF
36874
36875 fi
36876 done
36877
36878 fi
36879 fi
36880
36881
36882
36883
36884
36885
36886 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
36887 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
36888 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36889 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36892
36893
36894
36895 ac_ext=cc
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36900
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <math.h>
36908 int
36909 main ()
36910 {
36911 hypotl(0, 0);
36912 ;
36913 return 0;
36914 }
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36918 (eval $ac_compile) 2>conftest.er1
36919 ac_status=$?
36920 grep -v '^ *+' conftest.er1 >conftest.err
36921 rm -f conftest.er1
36922 cat conftest.err >&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); } &&
36925 { ac_try='test -z "$ac_cxx_werror_flag"
36926 || test ! -s conftest.err'
36927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36928 (eval $ac_try) 2>&5
36929 ac_status=$?
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); }; } &&
36932 { ac_try='test -s conftest.$ac_objext'
36933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36934 (eval $ac_try) 2>&5
36935 ac_status=$?
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); }; }; then
36938 glibcxx_cv_func_hypotl_use=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36942
36943 glibcxx_cv_func_hypotl_use=no
36944 fi
36945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36951
36952
36953 fi
36954
36955 fi
36956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
36957 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
36958
36959 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36960
36961 for ac_func in hypotl
36962 do
36963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36964 echo "$as_me:$LINENO: checking for $ac_func" >&5
36965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36966 if eval "test \"\${$as_ac_var+set}\" = set"; then
36967 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 else
36969 if test x$gcc_no_link = xyes; then
36970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36972 { (exit 1); exit 1; }; }
36973 fi
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36982 #define $ac_func innocuous_$ac_func
36983
36984 /* System header to define __stub macros and hopefully few prototypes,
36985 which can conflict with char $ac_func (); below.
36986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36987 <limits.h> exists even on freestanding compilers. */
36988
36989 #ifdef __STDC__
36990 # include <limits.h>
36991 #else
36992 # include <assert.h>
36993 #endif
36994
36995 #undef $ac_func
36996
36997 /* Override any gcc2 internal prototype to avoid an error. */
36998 #ifdef __cplusplus
36999 extern "C"
37000 {
37001 #endif
37002 /* We use char because int might match the return type of a gcc2
37003 builtin and then its argument prototype would still apply. */
37004 char $ac_func ();
37005 /* The GNU C library defines this for functions which it implements
37006 to always fail with ENOSYS. Some functions are actually named
37007 something starting with __ and the normal name is an alias. */
37008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37009 choke me
37010 #else
37011 char (*f) () = $ac_func;
37012 #endif
37013 #ifdef __cplusplus
37014 }
37015 #endif
37016
37017 int
37018 main ()
37019 {
37020 return f != $ac_func;
37021 ;
37022 return 0;
37023 }
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37027 (eval $ac_link) 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try='test -z "$ac_c_werror_flag"
37035 || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try='test -s conftest$ac_exeext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 eval "$as_ac_var=yes"
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 eval "$as_ac_var=no"
37053 fi
37054 rm -f conftest.err conftest.$ac_objext \
37055 conftest$ac_exeext conftest.$ac_ext
37056 fi
37057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37059 if test `eval echo '${'$as_ac_var'}'` = yes; then
37060 cat >>confdefs.h <<_ACEOF
37061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37062 _ACEOF
37063
37064 fi
37065 done
37066
37067 else
37068
37069 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37070 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37071 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37072 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075
37076
37077
37078 ac_ext=cc
37079 ac_cpp='$CXXCPP $CPPFLAGS'
37080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37083
37084 cat >conftest.$ac_ext <<_ACEOF
37085 /* confdefs.h. */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37090 #include <math.h>
37091 int
37092 main ()
37093 {
37094 _hypotl(0, 0);
37095 ;
37096 return 0;
37097 }
37098 _ACEOF
37099 rm -f conftest.$ac_objext
37100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37101 (eval $ac_compile) 2>conftest.er1
37102 ac_status=$?
37103 grep -v '^ *+' conftest.er1 >conftest.err
37104 rm -f conftest.er1
37105 cat conftest.err >&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } &&
37108 { ac_try='test -z "$ac_cxx_werror_flag"
37109 || test ! -s conftest.err'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37112 ac_status=$?
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; } &&
37115 { ac_try='test -s conftest.$ac_objext'
37116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37117 (eval $ac_try) 2>&5
37118 ac_status=$?
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); }; }; then
37121 glibcxx_cv_func__hypotl_use=yes
37122 else
37123 echo "$as_me: failed program was:" >&5
37124 sed 's/^/| /' conftest.$ac_ext >&5
37125
37126 glibcxx_cv_func__hypotl_use=no
37127 fi
37128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37129 ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37134
37135
37136 fi
37137
37138 fi
37139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37140 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37141
37142 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37143
37144 for ac_func in _hypotl
37145 do
37146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37147 echo "$as_me:$LINENO: checking for $ac_func" >&5
37148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37149 if eval "test \"\${$as_ac_var+set}\" = set"; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37151 else
37152 if test x$gcc_no_link = xyes; then
37153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37155 { (exit 1); exit 1; }; }
37156 fi
37157 cat >conftest.$ac_ext <<_ACEOF
37158 /* confdefs.h. */
37159 _ACEOF
37160 cat confdefs.h >>conftest.$ac_ext
37161 cat >>conftest.$ac_ext <<_ACEOF
37162 /* end confdefs.h. */
37163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37165 #define $ac_func innocuous_$ac_func
37166
37167 /* System header to define __stub macros and hopefully few prototypes,
37168 which can conflict with char $ac_func (); below.
37169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37170 <limits.h> exists even on freestanding compilers. */
37171
37172 #ifdef __STDC__
37173 # include <limits.h>
37174 #else
37175 # include <assert.h>
37176 #endif
37177
37178 #undef $ac_func
37179
37180 /* Override any gcc2 internal prototype to avoid an error. */
37181 #ifdef __cplusplus
37182 extern "C"
37183 {
37184 #endif
37185 /* We use char because int might match the return type of a gcc2
37186 builtin and then its argument prototype would still apply. */
37187 char $ac_func ();
37188 /* The GNU C library defines this for functions which it implements
37189 to always fail with ENOSYS. Some functions are actually named
37190 something starting with __ and the normal name is an alias. */
37191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37192 choke me
37193 #else
37194 char (*f) () = $ac_func;
37195 #endif
37196 #ifdef __cplusplus
37197 }
37198 #endif
37199
37200 int
37201 main ()
37202 {
37203 return f != $ac_func;
37204 ;
37205 return 0;
37206 }
37207 _ACEOF
37208 rm -f conftest.$ac_objext conftest$ac_exeext
37209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37210 (eval $ac_link) 2>conftest.er1
37211 ac_status=$?
37212 grep -v '^ *+' conftest.er1 >conftest.err
37213 rm -f conftest.er1
37214 cat conftest.err >&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); } &&
37217 { ac_try='test -z "$ac_c_werror_flag"
37218 || test ! -s conftest.err'
37219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220 (eval $ac_try) 2>&5
37221 ac_status=$?
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); }; } &&
37224 { ac_try='test -s conftest$ac_exeext'
37225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37226 (eval $ac_try) 2>&5
37227 ac_status=$?
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); }; }; then
37230 eval "$as_ac_var=yes"
37231 else
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.$ac_ext >&5
37234
37235 eval "$as_ac_var=no"
37236 fi
37237 rm -f conftest.err conftest.$ac_objext \
37238 conftest$ac_exeext conftest.$ac_ext
37239 fi
37240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37242 if test `eval echo '${'$as_ac_var'}'` = yes; then
37243 cat >>confdefs.h <<_ACEOF
37244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37245 _ACEOF
37246
37247 fi
37248 done
37249
37250 fi
37251 fi
37252
37253
37254
37255
37256
37257
37258 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37259 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37260 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37261 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37262 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 else
37264
37265
37266
37267 ac_ext=cc
37268 ac_cpp='$CXXCPP $CPPFLAGS'
37269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272
37273 cat >conftest.$ac_ext <<_ACEOF
37274 /* confdefs.h. */
37275 _ACEOF
37276 cat confdefs.h >>conftest.$ac_ext
37277 cat >>conftest.$ac_ext <<_ACEOF
37278 /* end confdefs.h. */
37279 #include <math.h>
37280 int
37281 main ()
37282 {
37283 ldexpl(0, 0);
37284 ;
37285 return 0;
37286 }
37287 _ACEOF
37288 rm -f conftest.$ac_objext
37289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37290 (eval $ac_compile) 2>conftest.er1
37291 ac_status=$?
37292 grep -v '^ *+' conftest.er1 >conftest.err
37293 rm -f conftest.er1
37294 cat conftest.err >&5
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); } &&
37297 { ac_try='test -z "$ac_cxx_werror_flag"
37298 || test ! -s conftest.err'
37299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37300 (eval $ac_try) 2>&5
37301 ac_status=$?
37302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37303 (exit $ac_status); }; } &&
37304 { ac_try='test -s conftest.$ac_objext'
37305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37306 (eval $ac_try) 2>&5
37307 ac_status=$?
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); }; }; then
37310 glibcxx_cv_func_ldexpl_use=yes
37311 else
37312 echo "$as_me: failed program was:" >&5
37313 sed 's/^/| /' conftest.$ac_ext >&5
37314
37315 glibcxx_cv_func_ldexpl_use=no
37316 fi
37317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37318 ac_ext=c
37319 ac_cpp='$CPP $CPPFLAGS'
37320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323
37324
37325 fi
37326
37327 fi
37328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37329 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37330
37331 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37332
37333 for ac_func in ldexpl
37334 do
37335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37336 echo "$as_me:$LINENO: checking for $ac_func" >&5
37337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37338 if eval "test \"\${$as_ac_var+set}\" = set"; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37341 if test x$gcc_no_link = xyes; then
37342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37344 { (exit 1); exit 1; }; }
37345 fi
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37355
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37360
37361 #ifdef __STDC__
37362 # include <limits.h>
37363 #else
37364 # include <assert.h>
37365 #endif
37366
37367 #undef $ac_func
37368
37369 /* Override any gcc2 internal prototype to avoid an error. */
37370 #ifdef __cplusplus
37371 extern "C"
37372 {
37373 #endif
37374 /* We use char because int might match the return type of a gcc2
37375 builtin and then its argument prototype would still apply. */
37376 char $ac_func ();
37377 /* The GNU C library defines this for functions which it implements
37378 to always fail with ENOSYS. Some functions are actually named
37379 something starting with __ and the normal name is an alias. */
37380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37381 choke me
37382 #else
37383 char (*f) () = $ac_func;
37384 #endif
37385 #ifdef __cplusplus
37386 }
37387 #endif
37388
37389 int
37390 main ()
37391 {
37392 return f != $ac_func;
37393 ;
37394 return 0;
37395 }
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>conftest.er1
37400 ac_status=$?
37401 grep -v '^ *+' conftest.er1 >conftest.err
37402 rm -f conftest.er1
37403 cat conftest.err >&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); } &&
37406 { ac_try='test -z "$ac_c_werror_flag"
37407 || test ! -s conftest.err'
37408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37409 (eval $ac_try) 2>&5
37410 ac_status=$?
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); }; } &&
37413 { ac_try='test -s conftest$ac_exeext'
37414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37415 (eval $ac_try) 2>&5
37416 ac_status=$?
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); }; }; then
37419 eval "$as_ac_var=yes"
37420 else
37421 echo "$as_me: failed program was:" >&5
37422 sed 's/^/| /' conftest.$ac_ext >&5
37423
37424 eval "$as_ac_var=no"
37425 fi
37426 rm -f conftest.err conftest.$ac_objext \
37427 conftest$ac_exeext conftest.$ac_ext
37428 fi
37429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37431 if test `eval echo '${'$as_ac_var'}'` = yes; then
37432 cat >>confdefs.h <<_ACEOF
37433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37434 _ACEOF
37435
37436 fi
37437 done
37438
37439 else
37440
37441 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37442 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37443 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37444 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37445 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37447
37448
37449
37450 ac_ext=cc
37451 ac_cpp='$CXXCPP $CPPFLAGS'
37452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37455
37456 cat >conftest.$ac_ext <<_ACEOF
37457 /* confdefs.h. */
37458 _ACEOF
37459 cat confdefs.h >>conftest.$ac_ext
37460 cat >>conftest.$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 #include <math.h>
37463 int
37464 main ()
37465 {
37466 _ldexpl(0, 0);
37467 ;
37468 return 0;
37469 }
37470 _ACEOF
37471 rm -f conftest.$ac_objext
37472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37473 (eval $ac_compile) 2>conftest.er1
37474 ac_status=$?
37475 grep -v '^ *+' conftest.er1 >conftest.err
37476 rm -f conftest.er1
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } &&
37480 { ac_try='test -z "$ac_cxx_werror_flag"
37481 || test ! -s conftest.err'
37482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37483 (eval $ac_try) 2>&5
37484 ac_status=$?
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); }; } &&
37487 { ac_try='test -s conftest.$ac_objext'
37488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37489 (eval $ac_try) 2>&5
37490 ac_status=$?
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); }; }; then
37493 glibcxx_cv_func__ldexpl_use=yes
37494 else
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37497
37498 glibcxx_cv_func__ldexpl_use=no
37499 fi
37500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37506
37507
37508 fi
37509
37510 fi
37511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37512 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37513
37514 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37515
37516 for ac_func in _ldexpl
37517 do
37518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37521 if eval "test \"\${$as_ac_var+set}\" = set"; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 if test x$gcc_no_link = xyes; then
37525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37527 { (exit 1); exit 1; }; }
37528 fi
37529 cat >conftest.$ac_ext <<_ACEOF
37530 /* confdefs.h. */
37531 _ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37537 #define $ac_func innocuous_$ac_func
37538
37539 /* System header to define __stub macros and hopefully few prototypes,
37540 which can conflict with char $ac_func (); below.
37541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37542 <limits.h> exists even on freestanding compilers. */
37543
37544 #ifdef __STDC__
37545 # include <limits.h>
37546 #else
37547 # include <assert.h>
37548 #endif
37549
37550 #undef $ac_func
37551
37552 /* Override any gcc2 internal prototype to avoid an error. */
37553 #ifdef __cplusplus
37554 extern "C"
37555 {
37556 #endif
37557 /* We use char because int might match the return type of a gcc2
37558 builtin and then its argument prototype would still apply. */
37559 char $ac_func ();
37560 /* The GNU C library defines this for functions which it implements
37561 to always fail with ENOSYS. Some functions are actually named
37562 something starting with __ and the normal name is an alias. */
37563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37564 choke me
37565 #else
37566 char (*f) () = $ac_func;
37567 #endif
37568 #ifdef __cplusplus
37569 }
37570 #endif
37571
37572 int
37573 main ()
37574 {
37575 return f != $ac_func;
37576 ;
37577 return 0;
37578 }
37579 _ACEOF
37580 rm -f conftest.$ac_objext conftest$ac_exeext
37581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37582 (eval $ac_link) 2>conftest.er1
37583 ac_status=$?
37584 grep -v '^ *+' conftest.er1 >conftest.err
37585 rm -f conftest.er1
37586 cat conftest.err >&5
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); } &&
37589 { ac_try='test -z "$ac_c_werror_flag"
37590 || test ! -s conftest.err'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37593 ac_status=$?
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; } &&
37596 { ac_try='test -s conftest$ac_exeext'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37599 ac_status=$?
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; }; then
37602 eval "$as_ac_var=yes"
37603 else
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.$ac_ext >&5
37606
37607 eval "$as_ac_var=no"
37608 fi
37609 rm -f conftest.err conftest.$ac_objext \
37610 conftest$ac_exeext conftest.$ac_ext
37611 fi
37612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37614 if test `eval echo '${'$as_ac_var'}'` = yes; then
37615 cat >>confdefs.h <<_ACEOF
37616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37617 _ACEOF
37618
37619 fi
37620 done
37621
37622 fi
37623 fi
37624
37625
37626
37627
37628
37629
37630 echo "$as_me:$LINENO: checking for logl declaration" >&5
37631 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
37632 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37633 if test "${glibcxx_cv_func_logl_use+set}" = set; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 else
37636
37637
37638
37639 ac_ext=cc
37640 ac_cpp='$CXXCPP $CPPFLAGS'
37641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37644
37645 cat >conftest.$ac_ext <<_ACEOF
37646 /* confdefs.h. */
37647 _ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37651 #include <math.h>
37652 #ifdef HAVE_IEEEFP_H
37653 #include <ieeefp.h>
37654 #endif
37655
37656 int
37657 main ()
37658 {
37659 logl(0);
37660 ;
37661 return 0;
37662 }
37663 _ACEOF
37664 rm -f conftest.$ac_objext
37665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37666 (eval $ac_compile) 2>conftest.er1
37667 ac_status=$?
37668 grep -v '^ *+' conftest.er1 >conftest.err
37669 rm -f conftest.er1
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } &&
37673 { ac_try='test -z "$ac_cxx_werror_flag"
37674 || test ! -s conftest.err'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37677 ac_status=$?
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; } &&
37680 { ac_try='test -s conftest.$ac_objext'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37683 ac_status=$?
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; }; then
37686 glibcxx_cv_func_logl_use=yes
37687 else
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37690
37691 glibcxx_cv_func_logl_use=no
37692 fi
37693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37694 ac_ext=c
37695 ac_cpp='$CPP $CPPFLAGS'
37696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37699
37700
37701 fi
37702
37703 fi
37704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
37705 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
37706
37707 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37708
37709 for ac_func in logl
37710 do
37711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37712 echo "$as_me:$LINENO: checking for $ac_func" >&5
37713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37714 if eval "test \"\${$as_ac_var+set}\" = set"; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 else
37717 if test x$gcc_no_link = xyes; then
37718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37720 { (exit 1); exit 1; }; }
37721 fi
37722 cat >conftest.$ac_ext <<_ACEOF
37723 /* confdefs.h. */
37724 _ACEOF
37725 cat confdefs.h >>conftest.$ac_ext
37726 cat >>conftest.$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define $ac_func innocuous_$ac_func
37731
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char $ac_func (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37736
37737 #ifdef __STDC__
37738 # include <limits.h>
37739 #else
37740 # include <assert.h>
37741 #endif
37742
37743 #undef $ac_func
37744
37745 /* Override any gcc2 internal prototype to avoid an error. */
37746 #ifdef __cplusplus
37747 extern "C"
37748 {
37749 #endif
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37752 char $ac_func ();
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37757 choke me
37758 #else
37759 char (*f) () = $ac_func;
37760 #endif
37761 #ifdef __cplusplus
37762 }
37763 #endif
37764
37765 int
37766 main ()
37767 {
37768 return f != $ac_func;
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try='test -z "$ac_c_werror_flag"
37783 || test ! -s conftest.err'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37786 ac_status=$?
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; } &&
37789 { ac_try='test -s conftest$ac_exeext'
37790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791 (eval $ac_try) 2>&5
37792 ac_status=$?
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); }; }; then
37795 eval "$as_ac_var=yes"
37796 else
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.$ac_ext >&5
37799
37800 eval "$as_ac_var=no"
37801 fi
37802 rm -f conftest.err conftest.$ac_objext \
37803 conftest$ac_exeext conftest.$ac_ext
37804 fi
37805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37807 if test `eval echo '${'$as_ac_var'}'` = yes; then
37808 cat >>confdefs.h <<_ACEOF
37809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37810 _ACEOF
37811
37812 fi
37813 done
37814
37815 else
37816
37817 echo "$as_me:$LINENO: checking for _logl declaration" >&5
37818 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
37819 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37820 if test "${glibcxx_cv_func__logl_use+set}" = set; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 else
37823
37824
37825
37826 ac_ext=cc
37827 ac_cpp='$CXXCPP $CPPFLAGS'
37828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37831
37832 cat >conftest.$ac_ext <<_ACEOF
37833 /* confdefs.h. */
37834 _ACEOF
37835 cat confdefs.h >>conftest.$ac_ext
37836 cat >>conftest.$ac_ext <<_ACEOF
37837 /* end confdefs.h. */
37838 #include <math.h>
37839 #ifdef HAVE_IEEEFP_H
37840 #include <ieeefp.h>
37841 #endif
37842
37843 int
37844 main ()
37845 {
37846 _logl(0);
37847 ;
37848 return 0;
37849 }
37850 _ACEOF
37851 rm -f conftest.$ac_objext
37852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37853 (eval $ac_compile) 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } &&
37860 { ac_try='test -z "$ac_cxx_werror_flag"
37861 || test ! -s conftest.err'
37862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37863 (eval $ac_try) 2>&5
37864 ac_status=$?
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); }; } &&
37867 { ac_try='test -s conftest.$ac_objext'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37870 ac_status=$?
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; }; then
37873 glibcxx_cv_func__logl_use=yes
37874 else
37875 echo "$as_me: failed program was:" >&5
37876 sed 's/^/| /' conftest.$ac_ext >&5
37877
37878 glibcxx_cv_func__logl_use=no
37879 fi
37880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37881 ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37886
37887
37888 fi
37889
37890 fi
37891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
37892 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
37893
37894 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37895
37896 for ac_func in _logl
37897 do
37898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37899 echo "$as_me:$LINENO: checking for $ac_func" >&5
37900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37901 if eval "test \"\${$as_ac_var+set}\" = set"; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 else
37904 if test x$gcc_no_link = xyes; then
37905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37907 { (exit 1); exit 1; }; }
37908 fi
37909 cat >conftest.$ac_ext <<_ACEOF
37910 /* confdefs.h. */
37911 _ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37917 #define $ac_func innocuous_$ac_func
37918
37919 /* System header to define __stub macros and hopefully few prototypes,
37920 which can conflict with char $ac_func (); below.
37921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37922 <limits.h> exists even on freestanding compilers. */
37923
37924 #ifdef __STDC__
37925 # include <limits.h>
37926 #else
37927 # include <assert.h>
37928 #endif
37929
37930 #undef $ac_func
37931
37932 /* Override any gcc2 internal prototype to avoid an error. */
37933 #ifdef __cplusplus
37934 extern "C"
37935 {
37936 #endif
37937 /* We use char because int might match the return type of a gcc2
37938 builtin and then its argument prototype would still apply. */
37939 char $ac_func ();
37940 /* The GNU C library defines this for functions which it implements
37941 to always fail with ENOSYS. Some functions are actually named
37942 something starting with __ and the normal name is an alias. */
37943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37944 choke me
37945 #else
37946 char (*f) () = $ac_func;
37947 #endif
37948 #ifdef __cplusplus
37949 }
37950 #endif
37951
37952 int
37953 main ()
37954 {
37955 return f != $ac_func;
37956 ;
37957 return 0;
37958 }
37959 _ACEOF
37960 rm -f conftest.$ac_objext conftest$ac_exeext
37961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37962 (eval $ac_link) 2>conftest.er1
37963 ac_status=$?
37964 grep -v '^ *+' conftest.er1 >conftest.err
37965 rm -f conftest.er1
37966 cat conftest.err >&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); } &&
37969 { ac_try='test -z "$ac_c_werror_flag"
37970 || test ! -s conftest.err'
37971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37972 (eval $ac_try) 2>&5
37973 ac_status=$?
37974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37975 (exit $ac_status); }; } &&
37976 { ac_try='test -s conftest$ac_exeext'
37977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37978 (eval $ac_try) 2>&5
37979 ac_status=$?
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); }; }; then
37982 eval "$as_ac_var=yes"
37983 else
37984 echo "$as_me: failed program was:" >&5
37985 sed 's/^/| /' conftest.$ac_ext >&5
37986
37987 eval "$as_ac_var=no"
37988 fi
37989 rm -f conftest.err conftest.$ac_objext \
37990 conftest$ac_exeext conftest.$ac_ext
37991 fi
37992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37994 if test `eval echo '${'$as_ac_var'}'` = yes; then
37995 cat >>confdefs.h <<_ACEOF
37996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37997 _ACEOF
37998
37999 fi
38000 done
38001
38002 fi
38003 fi
38004
38005
38006
38007
38008
38009
38010 echo "$as_me:$LINENO: checking for log10l declaration" >&5
38011 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38012 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38013 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 else
38016
38017
38018
38019 ac_ext=cc
38020 ac_cpp='$CXXCPP $CPPFLAGS'
38021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38024
38025 cat >conftest.$ac_ext <<_ACEOF
38026 /* confdefs.h. */
38027 _ACEOF
38028 cat confdefs.h >>conftest.$ac_ext
38029 cat >>conftest.$ac_ext <<_ACEOF
38030 /* end confdefs.h. */
38031 #include <math.h>
38032 #ifdef HAVE_IEEEFP_H
38033 #include <ieeefp.h>
38034 #endif
38035
38036 int
38037 main ()
38038 {
38039 log10l(0);
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 rm -f conftest.$ac_objext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38046 (eval $ac_compile) 2>conftest.er1
38047 ac_status=$?
38048 grep -v '^ *+' conftest.er1 >conftest.err
38049 rm -f conftest.er1
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } &&
38053 { ac_try='test -z "$ac_cxx_werror_flag"
38054 || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38057 ac_status=$?
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try='test -s conftest.$ac_objext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 glibcxx_cv_func_log10l_use=yes
38067 else
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38070
38071 glibcxx_cv_func_log10l_use=no
38072 fi
38073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38074 ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38079
38080
38081 fi
38082
38083 fi
38084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38085 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38086
38087 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38088
38089 for ac_func in log10l
38090 do
38091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38092 echo "$as_me:$LINENO: checking for $ac_func" >&5
38093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38094 if eval "test \"\${$as_ac_var+set}\" = set"; then
38095 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 else
38097 if test x$gcc_no_link = xyes; then
38098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38100 { (exit 1); exit 1; }; }
38101 fi
38102 cat >conftest.$ac_ext <<_ACEOF
38103 /* confdefs.h. */
38104 _ACEOF
38105 cat confdefs.h >>conftest.$ac_ext
38106 cat >>conftest.$ac_ext <<_ACEOF
38107 /* end confdefs.h. */
38108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38110 #define $ac_func innocuous_$ac_func
38111
38112 /* System header to define __stub macros and hopefully few prototypes,
38113 which can conflict with char $ac_func (); below.
38114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38115 <limits.h> exists even on freestanding compilers. */
38116
38117 #ifdef __STDC__
38118 # include <limits.h>
38119 #else
38120 # include <assert.h>
38121 #endif
38122
38123 #undef $ac_func
38124
38125 /* Override any gcc2 internal prototype to avoid an error. */
38126 #ifdef __cplusplus
38127 extern "C"
38128 {
38129 #endif
38130 /* We use char because int might match the return type of a gcc2
38131 builtin and then its argument prototype would still apply. */
38132 char $ac_func ();
38133 /* The GNU C library defines this for functions which it implements
38134 to always fail with ENOSYS. Some functions are actually named
38135 something starting with __ and the normal name is an alias. */
38136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38137 choke me
38138 #else
38139 char (*f) () = $ac_func;
38140 #endif
38141 #ifdef __cplusplus
38142 }
38143 #endif
38144
38145 int
38146 main ()
38147 {
38148 return f != $ac_func;
38149 ;
38150 return 0;
38151 }
38152 _ACEOF
38153 rm -f conftest.$ac_objext conftest$ac_exeext
38154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38155 (eval $ac_link) 2>conftest.er1
38156 ac_status=$?
38157 grep -v '^ *+' conftest.er1 >conftest.err
38158 rm -f conftest.er1
38159 cat conftest.err >&5
38160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 (exit $ac_status); } &&
38162 { ac_try='test -z "$ac_c_werror_flag"
38163 || test ! -s conftest.err'
38164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38165 (eval $ac_try) 2>&5
38166 ac_status=$?
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); }; } &&
38169 { ac_try='test -s conftest$ac_exeext'
38170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38171 (eval $ac_try) 2>&5
38172 ac_status=$?
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); }; }; then
38175 eval "$as_ac_var=yes"
38176 else
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38179
38180 eval "$as_ac_var=no"
38181 fi
38182 rm -f conftest.err conftest.$ac_objext \
38183 conftest$ac_exeext conftest.$ac_ext
38184 fi
38185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38187 if test `eval echo '${'$as_ac_var'}'` = yes; then
38188 cat >>confdefs.h <<_ACEOF
38189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38190 _ACEOF
38191
38192 fi
38193 done
38194
38195 else
38196
38197 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38198 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38199 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38200 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38202 else
38203
38204
38205
38206 ac_ext=cc
38207 ac_cpp='$CXXCPP $CPPFLAGS'
38208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38211
38212 cat >conftest.$ac_ext <<_ACEOF
38213 /* confdefs.h. */
38214 _ACEOF
38215 cat confdefs.h >>conftest.$ac_ext
38216 cat >>conftest.$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38218 #include <math.h>
38219 #ifdef HAVE_IEEEFP_H
38220 #include <ieeefp.h>
38221 #endif
38222
38223 int
38224 main ()
38225 {
38226 _log10l(0);
38227 ;
38228 return 0;
38229 }
38230 _ACEOF
38231 rm -f conftest.$ac_objext
38232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38233 (eval $ac_compile) 2>conftest.er1
38234 ac_status=$?
38235 grep -v '^ *+' conftest.er1 >conftest.err
38236 rm -f conftest.er1
38237 cat conftest.err >&5
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); } &&
38240 { ac_try='test -z "$ac_cxx_werror_flag"
38241 || test ! -s conftest.err'
38242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38243 (eval $ac_try) 2>&5
38244 ac_status=$?
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); }; } &&
38247 { ac_try='test -s conftest.$ac_objext'
38248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38249 (eval $ac_try) 2>&5
38250 ac_status=$?
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; }; then
38253 glibcxx_cv_func__log10l_use=yes
38254 else
38255 echo "$as_me: failed program was:" >&5
38256 sed 's/^/| /' conftest.$ac_ext >&5
38257
38258 glibcxx_cv_func__log10l_use=no
38259 fi
38260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38261 ac_ext=c
38262 ac_cpp='$CPP $CPPFLAGS'
38263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38266
38267
38268 fi
38269
38270 fi
38271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38272 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38273
38274 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38275
38276 for ac_func in _log10l
38277 do
38278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38279 echo "$as_me:$LINENO: checking for $ac_func" >&5
38280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38281 if eval "test \"\${$as_ac_var+set}\" = set"; then
38282 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 else
38284 if test x$gcc_no_link = xyes; then
38285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38287 { (exit 1); exit 1; }; }
38288 fi
38289 cat >conftest.$ac_ext <<_ACEOF
38290 /* confdefs.h. */
38291 _ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38297 #define $ac_func innocuous_$ac_func
38298
38299 /* System header to define __stub macros and hopefully few prototypes,
38300 which can conflict with char $ac_func (); below.
38301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38302 <limits.h> exists even on freestanding compilers. */
38303
38304 #ifdef __STDC__
38305 # include <limits.h>
38306 #else
38307 # include <assert.h>
38308 #endif
38309
38310 #undef $ac_func
38311
38312 /* Override any gcc2 internal prototype to avoid an error. */
38313 #ifdef __cplusplus
38314 extern "C"
38315 {
38316 #endif
38317 /* We use char because int might match the return type of a gcc2
38318 builtin and then its argument prototype would still apply. */
38319 char $ac_func ();
38320 /* The GNU C library defines this for functions which it implements
38321 to always fail with ENOSYS. Some functions are actually named
38322 something starting with __ and the normal name is an alias. */
38323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38324 choke me
38325 #else
38326 char (*f) () = $ac_func;
38327 #endif
38328 #ifdef __cplusplus
38329 }
38330 #endif
38331
38332 int
38333 main ()
38334 {
38335 return f != $ac_func;
38336 ;
38337 return 0;
38338 }
38339 _ACEOF
38340 rm -f conftest.$ac_objext conftest$ac_exeext
38341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38342 (eval $ac_link) 2>conftest.er1
38343 ac_status=$?
38344 grep -v '^ *+' conftest.er1 >conftest.err
38345 rm -f conftest.er1
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } &&
38349 { ac_try='test -z "$ac_c_werror_flag"
38350 || test ! -s conftest.err'
38351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38352 (eval $ac_try) 2>&5
38353 ac_status=$?
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); }; } &&
38356 { ac_try='test -s conftest$ac_exeext'
38357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38358 (eval $ac_try) 2>&5
38359 ac_status=$?
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); }; }; then
38362 eval "$as_ac_var=yes"
38363 else
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38366
38367 eval "$as_ac_var=no"
38368 fi
38369 rm -f conftest.err conftest.$ac_objext \
38370 conftest$ac_exeext conftest.$ac_ext
38371 fi
38372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38374 if test `eval echo '${'$as_ac_var'}'` = yes; then
38375 cat >>confdefs.h <<_ACEOF
38376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38377 _ACEOF
38378
38379 fi
38380 done
38381
38382 fi
38383 fi
38384
38385
38386
38387
38388
38389
38390 echo "$as_me:$LINENO: checking for modfl declaration" >&5
38391 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38392 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38393 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38394 echo $ECHO_N "(cached) $ECHO_C" >&6
38395 else
38396
38397
38398
38399 ac_ext=cc
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404
38405 cat >conftest.$ac_ext <<_ACEOF
38406 /* confdefs.h. */
38407 _ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411 #include <math.h>
38412 int
38413 main ()
38414 {
38415 modfl(0, 0);
38416 ;
38417 return 0;
38418 }
38419 _ACEOF
38420 rm -f conftest.$ac_objext
38421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38422 (eval $ac_compile) 2>conftest.er1
38423 ac_status=$?
38424 grep -v '^ *+' conftest.er1 >conftest.err
38425 rm -f conftest.er1
38426 cat conftest.err >&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); } &&
38429 { ac_try='test -z "$ac_cxx_werror_flag"
38430 || test ! -s conftest.err'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38433 ac_status=$?
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; } &&
38436 { ac_try='test -s conftest.$ac_objext'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38439 ac_status=$?
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; }; then
38442 glibcxx_cv_func_modfl_use=yes
38443 else
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.$ac_ext >&5
38446
38447 glibcxx_cv_func_modfl_use=no
38448 fi
38449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38450 ac_ext=c
38451 ac_cpp='$CPP $CPPFLAGS'
38452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38455
38456
38457 fi
38458
38459 fi
38460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38461 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38462
38463 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38464
38465 for ac_func in modfl
38466 do
38467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38468 echo "$as_me:$LINENO: checking for $ac_func" >&5
38469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38470 if eval "test \"\${$as_ac_var+set}\" = set"; then
38471 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 else
38473 if test x$gcc_no_link = xyes; then
38474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38476 { (exit 1); exit 1; }; }
38477 fi
38478 cat >conftest.$ac_ext <<_ACEOF
38479 /* confdefs.h. */
38480 _ACEOF
38481 cat confdefs.h >>conftest.$ac_ext
38482 cat >>conftest.$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38486 #define $ac_func innocuous_$ac_func
38487
38488 /* System header to define __stub macros and hopefully few prototypes,
38489 which can conflict with char $ac_func (); below.
38490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38491 <limits.h> exists even on freestanding compilers. */
38492
38493 #ifdef __STDC__
38494 # include <limits.h>
38495 #else
38496 # include <assert.h>
38497 #endif
38498
38499 #undef $ac_func
38500
38501 /* Override any gcc2 internal prototype to avoid an error. */
38502 #ifdef __cplusplus
38503 extern "C"
38504 {
38505 #endif
38506 /* We use char because int might match the return type of a gcc2
38507 builtin and then its argument prototype would still apply. */
38508 char $ac_func ();
38509 /* The GNU C library defines this for functions which it implements
38510 to always fail with ENOSYS. Some functions are actually named
38511 something starting with __ and the normal name is an alias. */
38512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38513 choke me
38514 #else
38515 char (*f) () = $ac_func;
38516 #endif
38517 #ifdef __cplusplus
38518 }
38519 #endif
38520
38521 int
38522 main ()
38523 {
38524 return f != $ac_func;
38525 ;
38526 return 0;
38527 }
38528 _ACEOF
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38531 (eval $ac_link) 2>conftest.er1
38532 ac_status=$?
38533 grep -v '^ *+' conftest.er1 >conftest.err
38534 rm -f conftest.er1
38535 cat conftest.err >&5
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); } &&
38538 { ac_try='test -z "$ac_c_werror_flag"
38539 || test ! -s conftest.err'
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); }; } &&
38545 { ac_try='test -s conftest$ac_exeext'
38546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547 (eval $ac_try) 2>&5
38548 ac_status=$?
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); }; }; then
38551 eval "$as_ac_var=yes"
38552 else
38553 echo "$as_me: failed program was:" >&5
38554 sed 's/^/| /' conftest.$ac_ext >&5
38555
38556 eval "$as_ac_var=no"
38557 fi
38558 rm -f conftest.err conftest.$ac_objext \
38559 conftest$ac_exeext conftest.$ac_ext
38560 fi
38561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38563 if test `eval echo '${'$as_ac_var'}'` = yes; then
38564 cat >>confdefs.h <<_ACEOF
38565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38566 _ACEOF
38567
38568 fi
38569 done
38570
38571 else
38572
38573 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
38574 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
38575 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38576 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38578 else
38579
38580
38581
38582 ac_ext=cc
38583 ac_cpp='$CXXCPP $CPPFLAGS'
38584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38587
38588 cat >conftest.$ac_ext <<_ACEOF
38589 /* confdefs.h. */
38590 _ACEOF
38591 cat confdefs.h >>conftest.$ac_ext
38592 cat >>conftest.$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38594 #include <math.h>
38595 int
38596 main ()
38597 {
38598 _modfl(0, 0);
38599 ;
38600 return 0;
38601 }
38602 _ACEOF
38603 rm -f conftest.$ac_objext
38604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38605 (eval $ac_compile) 2>conftest.er1
38606 ac_status=$?
38607 grep -v '^ *+' conftest.er1 >conftest.err
38608 rm -f conftest.er1
38609 cat conftest.err >&5
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); } &&
38612 { ac_try='test -z "$ac_cxx_werror_flag"
38613 || test ! -s conftest.err'
38614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38615 (eval $ac_try) 2>&5
38616 ac_status=$?
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); }; } &&
38619 { ac_try='test -s conftest.$ac_objext'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; }; then
38625 glibcxx_cv_func__modfl_use=yes
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38629
38630 glibcxx_cv_func__modfl_use=no
38631 fi
38632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38638
38639
38640 fi
38641
38642 fi
38643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
38644 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
38645
38646 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38647
38648 for ac_func in _modfl
38649 do
38650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38651 echo "$as_me:$LINENO: checking for $ac_func" >&5
38652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38653 if eval "test \"\${$as_ac_var+set}\" = set"; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38655 else
38656 if test x$gcc_no_link = xyes; then
38657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38659 { (exit 1); exit 1; }; }
38660 fi
38661 cat >conftest.$ac_ext <<_ACEOF
38662 /* confdefs.h. */
38663 _ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38669 #define $ac_func innocuous_$ac_func
38670
38671 /* System header to define __stub macros and hopefully few prototypes,
38672 which can conflict with char $ac_func (); below.
38673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38674 <limits.h> exists even on freestanding compilers. */
38675
38676 #ifdef __STDC__
38677 # include <limits.h>
38678 #else
38679 # include <assert.h>
38680 #endif
38681
38682 #undef $ac_func
38683
38684 /* Override any gcc2 internal prototype to avoid an error. */
38685 #ifdef __cplusplus
38686 extern "C"
38687 {
38688 #endif
38689 /* We use char because int might match the return type of a gcc2
38690 builtin and then its argument prototype would still apply. */
38691 char $ac_func ();
38692 /* The GNU C library defines this for functions which it implements
38693 to always fail with ENOSYS. Some functions are actually named
38694 something starting with __ and the normal name is an alias. */
38695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38696 choke me
38697 #else
38698 char (*f) () = $ac_func;
38699 #endif
38700 #ifdef __cplusplus
38701 }
38702 #endif
38703
38704 int
38705 main ()
38706 {
38707 return f != $ac_func;
38708 ;
38709 return 0;
38710 }
38711 _ACEOF
38712 rm -f conftest.$ac_objext conftest$ac_exeext
38713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38714 (eval $ac_link) 2>conftest.er1
38715 ac_status=$?
38716 grep -v '^ *+' conftest.er1 >conftest.err
38717 rm -f conftest.er1
38718 cat conftest.err >&5
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); } &&
38721 { ac_try='test -z "$ac_c_werror_flag"
38722 || test ! -s conftest.err'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38725 ac_status=$?
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; } &&
38728 { ac_try='test -s conftest$ac_exeext'
38729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38730 (eval $ac_try) 2>&5
38731 ac_status=$?
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); }; }; then
38734 eval "$as_ac_var=yes"
38735 else
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38738
38739 eval "$as_ac_var=no"
38740 fi
38741 rm -f conftest.err conftest.$ac_objext \
38742 conftest$ac_exeext conftest.$ac_ext
38743 fi
38744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38746 if test `eval echo '${'$as_ac_var'}'` = yes; then
38747 cat >>confdefs.h <<_ACEOF
38748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38749 _ACEOF
38750
38751 fi
38752 done
38753
38754 fi
38755 fi
38756
38757
38758
38759
38760
38761
38762 echo "$as_me:$LINENO: checking for powl declaration" >&5
38763 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
38764 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38765 if test "${glibcxx_cv_func_powl_use+set}" = set; then
38766 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 else
38768
38769
38770
38771 ac_ext=cc
38772 ac_cpp='$CXXCPP $CPPFLAGS'
38773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38776
38777 cat >conftest.$ac_ext <<_ACEOF
38778 /* confdefs.h. */
38779 _ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38783 #include <math.h>
38784 int
38785 main ()
38786 {
38787 powl(0, 0);
38788 ;
38789 return 0;
38790 }
38791 _ACEOF
38792 rm -f conftest.$ac_objext
38793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38794 (eval $ac_compile) 2>conftest.er1
38795 ac_status=$?
38796 grep -v '^ *+' conftest.er1 >conftest.err
38797 rm -f conftest.er1
38798 cat conftest.err >&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); } &&
38801 { ac_try='test -z "$ac_cxx_werror_flag"
38802 || test ! -s conftest.err'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38805 ac_status=$?
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; } &&
38808 { ac_try='test -s conftest.$ac_objext'
38809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38810 (eval $ac_try) 2>&5
38811 ac_status=$?
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); }; }; then
38814 glibcxx_cv_func_powl_use=yes
38815 else
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.$ac_ext >&5
38818
38819 glibcxx_cv_func_powl_use=no
38820 fi
38821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38822 ac_ext=c
38823 ac_cpp='$CPP $CPPFLAGS'
38824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38827
38828
38829 fi
38830
38831 fi
38832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
38833 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
38834
38835 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38836
38837 for ac_func in powl
38838 do
38839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38840 echo "$as_me:$LINENO: checking for $ac_func" >&5
38841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38842 if eval "test \"\${$as_ac_var+set}\" = set"; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 else
38845 if test x$gcc_no_link = xyes; then
38846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38848 { (exit 1); exit 1; }; }
38849 fi
38850 cat >conftest.$ac_ext <<_ACEOF
38851 /* confdefs.h. */
38852 _ACEOF
38853 cat confdefs.h >>conftest.$ac_ext
38854 cat >>conftest.$ac_ext <<_ACEOF
38855 /* end confdefs.h. */
38856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38858 #define $ac_func innocuous_$ac_func
38859
38860 /* System header to define __stub macros and hopefully few prototypes,
38861 which can conflict with char $ac_func (); below.
38862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38863 <limits.h> exists even on freestanding compilers. */
38864
38865 #ifdef __STDC__
38866 # include <limits.h>
38867 #else
38868 # include <assert.h>
38869 #endif
38870
38871 #undef $ac_func
38872
38873 /* Override any gcc2 internal prototype to avoid an error. */
38874 #ifdef __cplusplus
38875 extern "C"
38876 {
38877 #endif
38878 /* We use char because int might match the return type of a gcc2
38879 builtin and then its argument prototype would still apply. */
38880 char $ac_func ();
38881 /* The GNU C library defines this for functions which it implements
38882 to always fail with ENOSYS. Some functions are actually named
38883 something starting with __ and the normal name is an alias. */
38884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38885 choke me
38886 #else
38887 char (*f) () = $ac_func;
38888 #endif
38889 #ifdef __cplusplus
38890 }
38891 #endif
38892
38893 int
38894 main ()
38895 {
38896 return f != $ac_func;
38897 ;
38898 return 0;
38899 }
38900 _ACEOF
38901 rm -f conftest.$ac_objext conftest$ac_exeext
38902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38903 (eval $ac_link) 2>conftest.er1
38904 ac_status=$?
38905 grep -v '^ *+' conftest.er1 >conftest.err
38906 rm -f conftest.er1
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } &&
38910 { ac_try='test -z "$ac_c_werror_flag"
38911 || test ! -s conftest.err'
38912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38913 (eval $ac_try) 2>&5
38914 ac_status=$?
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); }; } &&
38917 { ac_try='test -s conftest$ac_exeext'
38918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38919 (eval $ac_try) 2>&5
38920 ac_status=$?
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); }; }; then
38923 eval "$as_ac_var=yes"
38924 else
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.$ac_ext >&5
38927
38928 eval "$as_ac_var=no"
38929 fi
38930 rm -f conftest.err conftest.$ac_objext \
38931 conftest$ac_exeext conftest.$ac_ext
38932 fi
38933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38935 if test `eval echo '${'$as_ac_var'}'` = yes; then
38936 cat >>confdefs.h <<_ACEOF
38937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38938 _ACEOF
38939
38940 fi
38941 done
38942
38943 else
38944
38945 echo "$as_me:$LINENO: checking for _powl declaration" >&5
38946 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
38947 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38948 if test "${glibcxx_cv_func__powl_use+set}" = set; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951
38952
38953
38954 ac_ext=cc
38955 ac_cpp='$CXXCPP $CPPFLAGS'
38956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38959
38960 cat >conftest.$ac_ext <<_ACEOF
38961 /* confdefs.h. */
38962 _ACEOF
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 #include <math.h>
38967 int
38968 main ()
38969 {
38970 _powl(0, 0);
38971 ;
38972 return 0;
38973 }
38974 _ACEOF
38975 rm -f conftest.$ac_objext
38976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38977 (eval $ac_compile) 2>conftest.er1
38978 ac_status=$?
38979 grep -v '^ *+' conftest.er1 >conftest.err
38980 rm -f conftest.er1
38981 cat conftest.err >&5
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); } &&
38984 { ac_try='test -z "$ac_cxx_werror_flag"
38985 || test ! -s conftest.err'
38986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38987 (eval $ac_try) 2>&5
38988 ac_status=$?
38989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38990 (exit $ac_status); }; } &&
38991 { ac_try='test -s conftest.$ac_objext'
38992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38993 (eval $ac_try) 2>&5
38994 ac_status=$?
38995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38996 (exit $ac_status); }; }; then
38997 glibcxx_cv_func__powl_use=yes
38998 else
38999 echo "$as_me: failed program was:" >&5
39000 sed 's/^/| /' conftest.$ac_ext >&5
39001
39002 glibcxx_cv_func__powl_use=no
39003 fi
39004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39005 ac_ext=c
39006 ac_cpp='$CPP $CPPFLAGS'
39007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39010
39011
39012 fi
39013
39014 fi
39015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39016 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39017
39018 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39019
39020 for ac_func in _powl
39021 do
39022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39023 echo "$as_me:$LINENO: checking for $ac_func" >&5
39024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39025 if eval "test \"\${$as_ac_var+set}\" = set"; then
39026 echo $ECHO_N "(cached) $ECHO_C" >&6
39027 else
39028 if test x$gcc_no_link = xyes; then
39029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39031 { (exit 1); exit 1; }; }
39032 fi
39033 cat >conftest.$ac_ext <<_ACEOF
39034 /* confdefs.h. */
39035 _ACEOF
39036 cat confdefs.h >>conftest.$ac_ext
39037 cat >>conftest.$ac_ext <<_ACEOF
39038 /* end confdefs.h. */
39039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39041 #define $ac_func innocuous_$ac_func
39042
39043 /* System header to define __stub macros and hopefully few prototypes,
39044 which can conflict with char $ac_func (); below.
39045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39046 <limits.h> exists even on freestanding compilers. */
39047
39048 #ifdef __STDC__
39049 # include <limits.h>
39050 #else
39051 # include <assert.h>
39052 #endif
39053
39054 #undef $ac_func
39055
39056 /* Override any gcc2 internal prototype to avoid an error. */
39057 #ifdef __cplusplus
39058 extern "C"
39059 {
39060 #endif
39061 /* We use char because int might match the return type of a gcc2
39062 builtin and then its argument prototype would still apply. */
39063 char $ac_func ();
39064 /* The GNU C library defines this for functions which it implements
39065 to always fail with ENOSYS. Some functions are actually named
39066 something starting with __ and the normal name is an alias. */
39067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39068 choke me
39069 #else
39070 char (*f) () = $ac_func;
39071 #endif
39072 #ifdef __cplusplus
39073 }
39074 #endif
39075
39076 int
39077 main ()
39078 {
39079 return f != $ac_func;
39080 ;
39081 return 0;
39082 }
39083 _ACEOF
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39086 (eval $ac_link) 2>conftest.er1
39087 ac_status=$?
39088 grep -v '^ *+' conftest.er1 >conftest.err
39089 rm -f conftest.er1
39090 cat conftest.err >&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } &&
39093 { ac_try='test -z "$ac_c_werror_flag"
39094 || test ! -s conftest.err'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39097 ac_status=$?
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; } &&
39100 { ac_try='test -s conftest$ac_exeext'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; }; then
39106 eval "$as_ac_var=yes"
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39110
39111 eval "$as_ac_var=no"
39112 fi
39113 rm -f conftest.err conftest.$ac_objext \
39114 conftest$ac_exeext conftest.$ac_ext
39115 fi
39116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39118 if test `eval echo '${'$as_ac_var'}'` = yes; then
39119 cat >>confdefs.h <<_ACEOF
39120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39121 _ACEOF
39122
39123 fi
39124 done
39125
39126 fi
39127 fi
39128
39129
39130
39131
39132
39133
39134 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39135 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39136 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39137 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 else
39140
39141
39142
39143 ac_ext=cc
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39148
39149 cat >conftest.$ac_ext <<_ACEOF
39150 /* confdefs.h. */
39151 _ACEOF
39152 cat confdefs.h >>conftest.$ac_ext
39153 cat >>conftest.$ac_ext <<_ACEOF
39154 /* end confdefs.h. */
39155 #include <math.h>
39156 #ifdef HAVE_IEEEFP_H
39157 #include <ieeefp.h>
39158 #endif
39159
39160 int
39161 main ()
39162 {
39163 sqrtl(0);
39164 ;
39165 return 0;
39166 }
39167 _ACEOF
39168 rm -f conftest.$ac_objext
39169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39170 (eval $ac_compile) 2>conftest.er1
39171 ac_status=$?
39172 grep -v '^ *+' conftest.er1 >conftest.err
39173 rm -f conftest.er1
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } &&
39177 { ac_try='test -z "$ac_cxx_werror_flag"
39178 || test ! -s conftest.err'
39179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39180 (eval $ac_try) 2>&5
39181 ac_status=$?
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); }; } &&
39184 { ac_try='test -s conftest.$ac_objext'
39185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39186 (eval $ac_try) 2>&5
39187 ac_status=$?
39188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39189 (exit $ac_status); }; }; then
39190 glibcxx_cv_func_sqrtl_use=yes
39191 else
39192 echo "$as_me: failed program was:" >&5
39193 sed 's/^/| /' conftest.$ac_ext >&5
39194
39195 glibcxx_cv_func_sqrtl_use=no
39196 fi
39197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39198 ac_ext=c
39199 ac_cpp='$CPP $CPPFLAGS'
39200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39203
39204
39205 fi
39206
39207 fi
39208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39209 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39210
39211 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39212
39213 for ac_func in sqrtl
39214 do
39215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39216 echo "$as_me:$LINENO: checking for $ac_func" >&5
39217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39218 if eval "test \"\${$as_ac_var+set}\" = set"; then
39219 echo $ECHO_N "(cached) $ECHO_C" >&6
39220 else
39221 if test x$gcc_no_link = xyes; then
39222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39224 { (exit 1); exit 1; }; }
39225 fi
39226 cat >conftest.$ac_ext <<_ACEOF
39227 /* confdefs.h. */
39228 _ACEOF
39229 cat confdefs.h >>conftest.$ac_ext
39230 cat >>conftest.$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39234 #define $ac_func innocuous_$ac_func
39235
39236 /* System header to define __stub macros and hopefully few prototypes,
39237 which can conflict with char $ac_func (); below.
39238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39239 <limits.h> exists even on freestanding compilers. */
39240
39241 #ifdef __STDC__
39242 # include <limits.h>
39243 #else
39244 # include <assert.h>
39245 #endif
39246
39247 #undef $ac_func
39248
39249 /* Override any gcc2 internal prototype to avoid an error. */
39250 #ifdef __cplusplus
39251 extern "C"
39252 {
39253 #endif
39254 /* We use char because int might match the return type of a gcc2
39255 builtin and then its argument prototype would still apply. */
39256 char $ac_func ();
39257 /* The GNU C library defines this for functions which it implements
39258 to always fail with ENOSYS. Some functions are actually named
39259 something starting with __ and the normal name is an alias. */
39260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39261 choke me
39262 #else
39263 char (*f) () = $ac_func;
39264 #endif
39265 #ifdef __cplusplus
39266 }
39267 #endif
39268
39269 int
39270 main ()
39271 {
39272 return f != $ac_func;
39273 ;
39274 return 0;
39275 }
39276 _ACEOF
39277 rm -f conftest.$ac_objext conftest$ac_exeext
39278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39279 (eval $ac_link) 2>conftest.er1
39280 ac_status=$?
39281 grep -v '^ *+' conftest.er1 >conftest.err
39282 rm -f conftest.er1
39283 cat conftest.err >&5
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); } &&
39286 { ac_try='test -z "$ac_c_werror_flag"
39287 || test ! -s conftest.err'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39290 ac_status=$?
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; } &&
39293 { ac_try='test -s conftest$ac_exeext'
39294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39295 (eval $ac_try) 2>&5
39296 ac_status=$?
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); }; }; then
39299 eval "$as_ac_var=yes"
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39303
39304 eval "$as_ac_var=no"
39305 fi
39306 rm -f conftest.err conftest.$ac_objext \
39307 conftest$ac_exeext conftest.$ac_ext
39308 fi
39309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39311 if test `eval echo '${'$as_ac_var'}'` = yes; then
39312 cat >>confdefs.h <<_ACEOF
39313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39314 _ACEOF
39315
39316 fi
39317 done
39318
39319 else
39320
39321 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39322 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39323 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39324 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39326 else
39327
39328
39329
39330 ac_ext=cc
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39335
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 #include <math.h>
39343 #ifdef HAVE_IEEEFP_H
39344 #include <ieeefp.h>
39345 #endif
39346
39347 int
39348 main ()
39349 {
39350 _sqrtl(0);
39351 ;
39352 return 0;
39353 }
39354 _ACEOF
39355 rm -f conftest.$ac_objext
39356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39357 (eval $ac_compile) 2>conftest.er1
39358 ac_status=$?
39359 grep -v '^ *+' conftest.er1 >conftest.err
39360 rm -f conftest.er1
39361 cat conftest.err >&5
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); } &&
39364 { ac_try='test -z "$ac_cxx_werror_flag"
39365 || test ! -s conftest.err'
39366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39367 (eval $ac_try) 2>&5
39368 ac_status=$?
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); }; } &&
39371 { ac_try='test -s conftest.$ac_objext'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39374 ac_status=$?
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; }; then
39377 glibcxx_cv_func__sqrtl_use=yes
39378 else
39379 echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39381
39382 glibcxx_cv_func__sqrtl_use=no
39383 fi
39384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39385 ac_ext=c
39386 ac_cpp='$CPP $CPPFLAGS'
39387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39390
39391
39392 fi
39393
39394 fi
39395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39396 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39397
39398 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39399
39400 for ac_func in _sqrtl
39401 do
39402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39403 echo "$as_me:$LINENO: checking for $ac_func" >&5
39404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39405 if eval "test \"\${$as_ac_var+set}\" = set"; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39408 if test x$gcc_no_link = xyes; then
39409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39411 { (exit 1); exit 1; }; }
39412 fi
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h. */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h. */
39419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39421 #define $ac_func innocuous_$ac_func
39422
39423 /* System header to define __stub macros and hopefully few prototypes,
39424 which can conflict with char $ac_func (); below.
39425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39426 <limits.h> exists even on freestanding compilers. */
39427
39428 #ifdef __STDC__
39429 # include <limits.h>
39430 #else
39431 # include <assert.h>
39432 #endif
39433
39434 #undef $ac_func
39435
39436 /* Override any gcc2 internal prototype to avoid an error. */
39437 #ifdef __cplusplus
39438 extern "C"
39439 {
39440 #endif
39441 /* We use char because int might match the return type of a gcc2
39442 builtin and then its argument prototype would still apply. */
39443 char $ac_func ();
39444 /* The GNU C library defines this for functions which it implements
39445 to always fail with ENOSYS. Some functions are actually named
39446 something starting with __ and the normal name is an alias. */
39447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39448 choke me
39449 #else
39450 char (*f) () = $ac_func;
39451 #endif
39452 #ifdef __cplusplus
39453 }
39454 #endif
39455
39456 int
39457 main ()
39458 {
39459 return f != $ac_func;
39460 ;
39461 return 0;
39462 }
39463 _ACEOF
39464 rm -f conftest.$ac_objext conftest$ac_exeext
39465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39466 (eval $ac_link) 2>conftest.er1
39467 ac_status=$?
39468 grep -v '^ *+' conftest.er1 >conftest.err
39469 rm -f conftest.er1
39470 cat conftest.err >&5
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); } &&
39473 { ac_try='test -z "$ac_c_werror_flag"
39474 || test ! -s conftest.err'
39475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39476 (eval $ac_try) 2>&5
39477 ac_status=$?
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); }; } &&
39480 { ac_try='test -s conftest$ac_exeext'
39481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39482 (eval $ac_try) 2>&5
39483 ac_status=$?
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); }; }; then
39486 eval "$as_ac_var=yes"
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39490
39491 eval "$as_ac_var=no"
39492 fi
39493 rm -f conftest.err conftest.$ac_objext \
39494 conftest$ac_exeext conftest.$ac_ext
39495 fi
39496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39498 if test `eval echo '${'$as_ac_var'}'` = yes; then
39499 cat >>confdefs.h <<_ACEOF
39500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39501 _ACEOF
39502
39503 fi
39504 done
39505
39506 fi
39507 fi
39508
39509
39510
39511
39512
39513
39514 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39515 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39516 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39517 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39518 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 else
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 cat >conftest.$ac_ext <<_ACEOF
39530 /* confdefs.h. */
39531 _ACEOF
39532 cat confdefs.h >>conftest.$ac_ext
39533 cat >>conftest.$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 int
39537 main ()
39538 {
39539 sincosl(0, 0, 0);
39540 ;
39541 return 0;
39542 }
39543 _ACEOF
39544 rm -f conftest.$ac_objext
39545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39546 (eval $ac_compile) 2>conftest.er1
39547 ac_status=$?
39548 grep -v '^ *+' conftest.er1 >conftest.err
39549 rm -f conftest.er1
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } &&
39553 { ac_try='test -z "$ac_cxx_werror_flag"
39554 || test ! -s conftest.err'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39557 ac_status=$?
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; } &&
39560 { ac_try='test -s conftest.$ac_objext'
39561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39562 (eval $ac_try) 2>&5
39563 ac_status=$?
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); }; }; then
39566 glibcxx_cv_func_sincosl_use=yes
39567 else
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39570
39571 glibcxx_cv_func_sincosl_use=no
39572 fi
39573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39574 ac_ext=c
39575 ac_cpp='$CPP $CPPFLAGS'
39576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39579
39580
39581 fi
39582
39583 fi
39584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
39585 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
39586
39587 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39588
39589 for ac_func in sincosl
39590 do
39591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39592 echo "$as_me:$LINENO: checking for $ac_func" >&5
39593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39594 if eval "test \"\${$as_ac_var+set}\" = set"; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 else
39597 if test x$gcc_no_link = xyes; then
39598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39600 { (exit 1); exit 1; }; }
39601 fi
39602 cat >conftest.$ac_ext <<_ACEOF
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39610 #define $ac_func innocuous_$ac_func
39611
39612 /* System header to define __stub macros and hopefully few prototypes,
39613 which can conflict with char $ac_func (); below.
39614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39615 <limits.h> exists even on freestanding compilers. */
39616
39617 #ifdef __STDC__
39618 # include <limits.h>
39619 #else
39620 # include <assert.h>
39621 #endif
39622
39623 #undef $ac_func
39624
39625 /* Override any gcc2 internal prototype to avoid an error. */
39626 #ifdef __cplusplus
39627 extern "C"
39628 {
39629 #endif
39630 /* We use char because int might match the return type of a gcc2
39631 builtin and then its argument prototype would still apply. */
39632 char $ac_func ();
39633 /* The GNU C library defines this for functions which it implements
39634 to always fail with ENOSYS. Some functions are actually named
39635 something starting with __ and the normal name is an alias. */
39636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39637 choke me
39638 #else
39639 char (*f) () = $ac_func;
39640 #endif
39641 #ifdef __cplusplus
39642 }
39643 #endif
39644
39645 int
39646 main ()
39647 {
39648 return f != $ac_func;
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext conftest$ac_exeext
39654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39655 (eval $ac_link) 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } &&
39662 { ac_try='test -z "$ac_c_werror_flag"
39663 || test ! -s conftest.err'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39666 ac_status=$?
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; } &&
39669 { ac_try='test -s conftest$ac_exeext'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39672 ac_status=$?
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; }; then
39675 eval "$as_ac_var=yes"
39676 else
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39679
39680 eval "$as_ac_var=no"
39681 fi
39682 rm -f conftest.err conftest.$ac_objext \
39683 conftest$ac_exeext conftest.$ac_ext
39684 fi
39685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39687 if test `eval echo '${'$as_ac_var'}'` = yes; then
39688 cat >>confdefs.h <<_ACEOF
39689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39690 _ACEOF
39691
39692 fi
39693 done
39694
39695 else
39696
39697 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
39698 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
39699 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39700 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39703
39704
39705
39706 ac_ext=cc
39707 ac_cpp='$CXXCPP $CPPFLAGS'
39708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39711
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718 #include <math.h>
39719 int
39720 main ()
39721 {
39722 _sincosl(0, 0, 0);
39723 ;
39724 return 0;
39725 }
39726 _ACEOF
39727 rm -f conftest.$ac_objext
39728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39729 (eval $ac_compile) 2>conftest.er1
39730 ac_status=$?
39731 grep -v '^ *+' conftest.er1 >conftest.err
39732 rm -f conftest.er1
39733 cat conftest.err >&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); } &&
39736 { ac_try='test -z "$ac_cxx_werror_flag"
39737 || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39740 ac_status=$?
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try='test -s conftest.$ac_objext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39746 ac_status=$?
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 glibcxx_cv_func__sincosl_use=yes
39750 else
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.$ac_ext >&5
39753
39754 glibcxx_cv_func__sincosl_use=no
39755 fi
39756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39757 ac_ext=c
39758 ac_cpp='$CPP $CPPFLAGS'
39759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39762
39763
39764 fi
39765
39766 fi
39767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
39768 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
39769
39770 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39771
39772 for ac_func in _sincosl
39773 do
39774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39775 echo "$as_me:$LINENO: checking for $ac_func" >&5
39776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39777 if eval "test \"\${$as_ac_var+set}\" = set"; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 else
39780 if test x$gcc_no_link = xyes; then
39781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39783 { (exit 1); exit 1; }; }
39784 fi
39785 cat >conftest.$ac_ext <<_ACEOF
39786 /* confdefs.h. */
39787 _ACEOF
39788 cat confdefs.h >>conftest.$ac_ext
39789 cat >>conftest.$ac_ext <<_ACEOF
39790 /* end confdefs.h. */
39791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39793 #define $ac_func innocuous_$ac_func
39794
39795 /* System header to define __stub macros and hopefully few prototypes,
39796 which can conflict with char $ac_func (); below.
39797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39798 <limits.h> exists even on freestanding compilers. */
39799
39800 #ifdef __STDC__
39801 # include <limits.h>
39802 #else
39803 # include <assert.h>
39804 #endif
39805
39806 #undef $ac_func
39807
39808 /* Override any gcc2 internal prototype to avoid an error. */
39809 #ifdef __cplusplus
39810 extern "C"
39811 {
39812 #endif
39813 /* We use char because int might match the return type of a gcc2
39814 builtin and then its argument prototype would still apply. */
39815 char $ac_func ();
39816 /* The GNU C library defines this for functions which it implements
39817 to always fail with ENOSYS. Some functions are actually named
39818 something starting with __ and the normal name is an alias. */
39819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39820 choke me
39821 #else
39822 char (*f) () = $ac_func;
39823 #endif
39824 #ifdef __cplusplus
39825 }
39826 #endif
39827
39828 int
39829 main ()
39830 {
39831 return f != $ac_func;
39832 ;
39833 return 0;
39834 }
39835 _ACEOF
39836 rm -f conftest.$ac_objext conftest$ac_exeext
39837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39838 (eval $ac_link) 2>conftest.er1
39839 ac_status=$?
39840 grep -v '^ *+' conftest.er1 >conftest.err
39841 rm -f conftest.er1
39842 cat conftest.err >&5
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); } &&
39845 { ac_try='test -z "$ac_c_werror_flag"
39846 || test ! -s conftest.err'
39847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39848 (eval $ac_try) 2>&5
39849 ac_status=$?
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); }; } &&
39852 { ac_try='test -s conftest$ac_exeext'
39853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39854 (eval $ac_try) 2>&5
39855 ac_status=$?
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); }; }; then
39858 eval "$as_ac_var=yes"
39859 else
39860 echo "$as_me: failed program was:" >&5
39861 sed 's/^/| /' conftest.$ac_ext >&5
39862
39863 eval "$as_ac_var=no"
39864 fi
39865 rm -f conftest.err conftest.$ac_objext \
39866 conftest$ac_exeext conftest.$ac_ext
39867 fi
39868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39870 if test `eval echo '${'$as_ac_var'}'` = yes; then
39871 cat >>confdefs.h <<_ACEOF
39872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39873 _ACEOF
39874
39875 fi
39876 done
39877
39878 fi
39879 fi
39880
39881
39882
39883
39884
39885
39886 echo "$as_me:$LINENO: checking for finitel declaration" >&5
39887 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
39888 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39889 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
39890 echo $ECHO_N "(cached) $ECHO_C" >&6
39891 else
39892
39893
39894
39895 ac_ext=cc
39896 ac_cpp='$CXXCPP $CPPFLAGS'
39897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39900
39901 cat >conftest.$ac_ext <<_ACEOF
39902 /* confdefs.h. */
39903 _ACEOF
39904 cat confdefs.h >>conftest.$ac_ext
39905 cat >>conftest.$ac_ext <<_ACEOF
39906 /* end confdefs.h. */
39907 #include <math.h>
39908 #ifdef HAVE_IEEEFP_H
39909 #include <ieeefp.h>
39910 #endif
39911
39912 int
39913 main ()
39914 {
39915 finitel(0);
39916 ;
39917 return 0;
39918 }
39919 _ACEOF
39920 rm -f conftest.$ac_objext
39921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39922 (eval $ac_compile) 2>conftest.er1
39923 ac_status=$?
39924 grep -v '^ *+' conftest.er1 >conftest.err
39925 rm -f conftest.er1
39926 cat conftest.err >&5
39927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928 (exit $ac_status); } &&
39929 { ac_try='test -z "$ac_cxx_werror_flag"
39930 || test ! -s conftest.err'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39933 ac_status=$?
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; } &&
39936 { ac_try='test -s conftest.$ac_objext'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39939 ac_status=$?
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; }; then
39942 glibcxx_cv_func_finitel_use=yes
39943 else
39944 echo "$as_me: failed program was:" >&5
39945 sed 's/^/| /' conftest.$ac_ext >&5
39946
39947 glibcxx_cv_func_finitel_use=no
39948 fi
39949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39950 ac_ext=c
39951 ac_cpp='$CPP $CPPFLAGS'
39952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39955
39956
39957 fi
39958
39959 fi
39960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
39961 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
39962
39963 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39964
39965 for ac_func in finitel
39966 do
39967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39968 echo "$as_me:$LINENO: checking for $ac_func" >&5
39969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39970 if eval "test \"\${$as_ac_var+set}\" = set"; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973 if test x$gcc_no_link = xyes; then
39974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39976 { (exit 1); exit 1; }; }
39977 fi
39978 cat >conftest.$ac_ext <<_ACEOF
39979 /* confdefs.h. */
39980 _ACEOF
39981 cat confdefs.h >>conftest.$ac_ext
39982 cat >>conftest.$ac_ext <<_ACEOF
39983 /* end confdefs.h. */
39984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39986 #define $ac_func innocuous_$ac_func
39987
39988 /* System header to define __stub macros and hopefully few prototypes,
39989 which can conflict with char $ac_func (); below.
39990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39991 <limits.h> exists even on freestanding compilers. */
39992
39993 #ifdef __STDC__
39994 # include <limits.h>
39995 #else
39996 # include <assert.h>
39997 #endif
39998
39999 #undef $ac_func
40000
40001 /* Override any gcc2 internal prototype to avoid an error. */
40002 #ifdef __cplusplus
40003 extern "C"
40004 {
40005 #endif
40006 /* We use char because int might match the return type of a gcc2
40007 builtin and then its argument prototype would still apply. */
40008 char $ac_func ();
40009 /* The GNU C library defines this for functions which it implements
40010 to always fail with ENOSYS. Some functions are actually named
40011 something starting with __ and the normal name is an alias. */
40012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40013 choke me
40014 #else
40015 char (*f) () = $ac_func;
40016 #endif
40017 #ifdef __cplusplus
40018 }
40019 #endif
40020
40021 int
40022 main ()
40023 {
40024 return f != $ac_func;
40025 ;
40026 return 0;
40027 }
40028 _ACEOF
40029 rm -f conftest.$ac_objext conftest$ac_exeext
40030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40031 (eval $ac_link) 2>conftest.er1
40032 ac_status=$?
40033 grep -v '^ *+' conftest.er1 >conftest.err
40034 rm -f conftest.er1
40035 cat conftest.err >&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); } &&
40038 { ac_try='test -z "$ac_c_werror_flag"
40039 || test ! -s conftest.err'
40040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40041 (eval $ac_try) 2>&5
40042 ac_status=$?
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); }; } &&
40045 { ac_try='test -s conftest$ac_exeext'
40046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047 (eval $ac_try) 2>&5
40048 ac_status=$?
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); }; }; then
40051 eval "$as_ac_var=yes"
40052 else
40053 echo "$as_me: failed program was:" >&5
40054 sed 's/^/| /' conftest.$ac_ext >&5
40055
40056 eval "$as_ac_var=no"
40057 fi
40058 rm -f conftest.err conftest.$ac_objext \
40059 conftest$ac_exeext conftest.$ac_ext
40060 fi
40061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40063 if test `eval echo '${'$as_ac_var'}'` = yes; then
40064 cat >>confdefs.h <<_ACEOF
40065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40066 _ACEOF
40067
40068 fi
40069 done
40070
40071 else
40072
40073 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40074 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40075 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40076 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40077 echo $ECHO_N "(cached) $ECHO_C" >&6
40078 else
40079
40080
40081
40082 ac_ext=cc
40083 ac_cpp='$CXXCPP $CPPFLAGS'
40084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40087
40088 cat >conftest.$ac_ext <<_ACEOF
40089 /* confdefs.h. */
40090 _ACEOF
40091 cat confdefs.h >>conftest.$ac_ext
40092 cat >>conftest.$ac_ext <<_ACEOF
40093 /* end confdefs.h. */
40094 #include <math.h>
40095 #ifdef HAVE_IEEEFP_H
40096 #include <ieeefp.h>
40097 #endif
40098
40099 int
40100 main ()
40101 {
40102 _finitel(0);
40103 ;
40104 return 0;
40105 }
40106 _ACEOF
40107 rm -f conftest.$ac_objext
40108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40109 (eval $ac_compile) 2>conftest.er1
40110 ac_status=$?
40111 grep -v '^ *+' conftest.er1 >conftest.err
40112 rm -f conftest.er1
40113 cat conftest.err >&5
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); } &&
40116 { ac_try='test -z "$ac_cxx_werror_flag"
40117 || test ! -s conftest.err'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; } &&
40123 { ac_try='test -s conftest.$ac_objext'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; }; then
40129 glibcxx_cv_func__finitel_use=yes
40130 else
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40133
40134 glibcxx_cv_func__finitel_use=no
40135 fi
40136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40137 ac_ext=c
40138 ac_cpp='$CPP $CPPFLAGS'
40139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40142
40143
40144 fi
40145
40146 fi
40147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40148 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40149
40150 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40151
40152 for ac_func in _finitel
40153 do
40154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40155 echo "$as_me:$LINENO: checking for $ac_func" >&5
40156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40157 if eval "test \"\${$as_ac_var+set}\" = set"; then
40158 echo $ECHO_N "(cached) $ECHO_C" >&6
40159 else
40160 if test x$gcc_no_link = xyes; then
40161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40163 { (exit 1); exit 1; }; }
40164 fi
40165 cat >conftest.$ac_ext <<_ACEOF
40166 /* confdefs.h. */
40167 _ACEOF
40168 cat confdefs.h >>conftest.$ac_ext
40169 cat >>conftest.$ac_ext <<_ACEOF
40170 /* end confdefs.h. */
40171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40173 #define $ac_func innocuous_$ac_func
40174
40175 /* System header to define __stub macros and hopefully few prototypes,
40176 which can conflict with char $ac_func (); below.
40177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40178 <limits.h> exists even on freestanding compilers. */
40179
40180 #ifdef __STDC__
40181 # include <limits.h>
40182 #else
40183 # include <assert.h>
40184 #endif
40185
40186 #undef $ac_func
40187
40188 /* Override any gcc2 internal prototype to avoid an error. */
40189 #ifdef __cplusplus
40190 extern "C"
40191 {
40192 #endif
40193 /* We use char because int might match the return type of a gcc2
40194 builtin and then its argument prototype would still apply. */
40195 char $ac_func ();
40196 /* The GNU C library defines this for functions which it implements
40197 to always fail with ENOSYS. Some functions are actually named
40198 something starting with __ and the normal name is an alias. */
40199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40200 choke me
40201 #else
40202 char (*f) () = $ac_func;
40203 #endif
40204 #ifdef __cplusplus
40205 }
40206 #endif
40207
40208 int
40209 main ()
40210 {
40211 return f != $ac_func;
40212 ;
40213 return 0;
40214 }
40215 _ACEOF
40216 rm -f conftest.$ac_objext conftest$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_c_werror_flag"
40226 || test ! -s conftest.err'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40229 ac_status=$?
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; } &&
40232 { ac_try='test -s conftest$ac_exeext'
40233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234 (eval $ac_try) 2>&5
40235 ac_status=$?
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); }; }; then
40238 eval "$as_ac_var=yes"
40239 else
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.$ac_ext >&5
40242
40243 eval "$as_ac_var=no"
40244 fi
40245 rm -f conftest.err conftest.$ac_objext \
40246 conftest$ac_exeext conftest.$ac_ext
40247 fi
40248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40250 if test `eval echo '${'$as_ac_var'}'` = yes; then
40251 cat >>confdefs.h <<_ACEOF
40252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40253 _ACEOF
40254
40255 fi
40256 done
40257
40258 fi
40259 fi
40260
40261
40262
40263
40264
40265 LIBS="$ac_save_LIBS"
40266 CXXFLAGS="$ac_save_CXXFLAGS"
40267
40268
40269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40270 ac_save_CXXFLAGS="$CXXFLAGS"
40271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40272
40273
40274 echo "$as_me:$LINENO: checking for strtold declaration" >&5
40275 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
40276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
40278 echo $ECHO_N "(cached) $ECHO_C" >&6
40279 else
40280
40281
40282
40283 ac_ext=cc
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40288
40289 cat >conftest.$ac_ext <<_ACEOF
40290 /* confdefs.h. */
40291 _ACEOF
40292 cat confdefs.h >>conftest.$ac_ext
40293 cat >>conftest.$ac_ext <<_ACEOF
40294 /* end confdefs.h. */
40295 #include <stdlib.h>
40296 int
40297 main ()
40298 {
40299 strtold(0, 0);
40300 ;
40301 return 0;
40302 }
40303 _ACEOF
40304 rm -f conftest.$ac_objext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40306 (eval $ac_compile) 2>conftest.er1
40307 ac_status=$?
40308 grep -v '^ *+' conftest.er1 >conftest.err
40309 rm -f conftest.er1
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } &&
40313 { ac_try='test -z "$ac_cxx_werror_flag"
40314 || test ! -s conftest.err'
40315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40316 (eval $ac_try) 2>&5
40317 ac_status=$?
40318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319 (exit $ac_status); }; } &&
40320 { ac_try='test -s conftest.$ac_objext'
40321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40322 (eval $ac_try) 2>&5
40323 ac_status=$?
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); }; }; then
40326 glibcxx_cv_func_strtold_use=yes
40327 else
40328 echo "$as_me: failed program was:" >&5
40329 sed 's/^/| /' conftest.$ac_ext >&5
40330
40331 glibcxx_cv_func_strtold_use=no
40332 fi
40333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40339
40340
40341 fi
40342
40343 fi
40344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
40345 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
40346 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40347
40348 for ac_func in strtold
40349 do
40350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40351 echo "$as_me:$LINENO: checking for $ac_func" >&5
40352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40353 if eval "test \"\${$as_ac_var+set}\" = set"; then
40354 echo $ECHO_N "(cached) $ECHO_C" >&6
40355 else
40356 if test x$gcc_no_link = xyes; then
40357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40359 { (exit 1); exit 1; }; }
40360 fi
40361 cat >conftest.$ac_ext <<_ACEOF
40362 /* confdefs.h. */
40363 _ACEOF
40364 cat confdefs.h >>conftest.$ac_ext
40365 cat >>conftest.$ac_ext <<_ACEOF
40366 /* end confdefs.h. */
40367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40369 #define $ac_func innocuous_$ac_func
40370
40371 /* System header to define __stub macros and hopefully few prototypes,
40372 which can conflict with char $ac_func (); below.
40373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40374 <limits.h> exists even on freestanding compilers. */
40375
40376 #ifdef __STDC__
40377 # include <limits.h>
40378 #else
40379 # include <assert.h>
40380 #endif
40381
40382 #undef $ac_func
40383
40384 /* Override any gcc2 internal prototype to avoid an error. */
40385 #ifdef __cplusplus
40386 extern "C"
40387 {
40388 #endif
40389 /* We use char because int might match the return type of a gcc2
40390 builtin and then its argument prototype would still apply. */
40391 char $ac_func ();
40392 /* The GNU C library defines this for functions which it implements
40393 to always fail with ENOSYS. Some functions are actually named
40394 something starting with __ and the normal name is an alias. */
40395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40396 choke me
40397 #else
40398 char (*f) () = $ac_func;
40399 #endif
40400 #ifdef __cplusplus
40401 }
40402 #endif
40403
40404 int
40405 main ()
40406 {
40407 return f != $ac_func;
40408 ;
40409 return 0;
40410 }
40411 _ACEOF
40412 rm -f conftest.$ac_objext conftest$ac_exeext
40413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40414 (eval $ac_link) 2>conftest.er1
40415 ac_status=$?
40416 grep -v '^ *+' conftest.er1 >conftest.err
40417 rm -f conftest.er1
40418 cat conftest.err >&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); } &&
40421 { ac_try='test -z "$ac_c_werror_flag"
40422 || test ! -s conftest.err'
40423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40424 (eval $ac_try) 2>&5
40425 ac_status=$?
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); }; } &&
40428 { ac_try='test -s conftest$ac_exeext'
40429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40430 (eval $ac_try) 2>&5
40431 ac_status=$?
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); }; }; then
40434 eval "$as_ac_var=yes"
40435 else
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40438
40439 eval "$as_ac_var=no"
40440 fi
40441 rm -f conftest.err conftest.$ac_objext \
40442 conftest$ac_exeext conftest.$ac_ext
40443 fi
40444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40446 if test `eval echo '${'$as_ac_var'}'` = yes; then
40447 cat >>confdefs.h <<_ACEOF
40448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40449 _ACEOF
40450
40451 fi
40452 done
40453
40454 fi
40455
40456
40457
40458
40459
40460 echo "$as_me:$LINENO: checking for strtof declaration" >&5
40461 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
40462 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40463 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
40464 echo $ECHO_N "(cached) $ECHO_C" >&6
40465 else
40466
40467
40468
40469 ac_ext=cc
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40474
40475 cat >conftest.$ac_ext <<_ACEOF
40476 /* confdefs.h. */
40477 _ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 #include <stdlib.h>
40482 int
40483 main ()
40484 {
40485 strtof(0, 0);
40486 ;
40487 return 0;
40488 }
40489 _ACEOF
40490 rm -f conftest.$ac_objext
40491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40492 (eval $ac_compile) 2>conftest.er1
40493 ac_status=$?
40494 grep -v '^ *+' conftest.er1 >conftest.err
40495 rm -f conftest.er1
40496 cat conftest.err >&5
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); } &&
40499 { ac_try='test -z "$ac_cxx_werror_flag"
40500 || test ! -s conftest.err'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40503 ac_status=$?
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; } &&
40506 { ac_try='test -s conftest.$ac_objext'
40507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40508 (eval $ac_try) 2>&5
40509 ac_status=$?
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); }; }; then
40512 glibcxx_cv_func_strtof_use=yes
40513 else
40514 echo "$as_me: failed program was:" >&5
40515 sed 's/^/| /' conftest.$ac_ext >&5
40516
40517 glibcxx_cv_func_strtof_use=no
40518 fi
40519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525
40526
40527 fi
40528
40529 fi
40530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
40531 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
40532 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40533
40534 for ac_func in strtof
40535 do
40536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40537 echo "$as_me:$LINENO: checking for $ac_func" >&5
40538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40539 if eval "test \"\${$as_ac_var+set}\" = set"; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 if test x$gcc_no_link = xyes; then
40543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40545 { (exit 1); exit 1; }; }
40546 fi
40547 cat >conftest.$ac_ext <<_ACEOF
40548 /* confdefs.h. */
40549 _ACEOF
40550 cat confdefs.h >>conftest.$ac_ext
40551 cat >>conftest.$ac_ext <<_ACEOF
40552 /* end confdefs.h. */
40553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40555 #define $ac_func innocuous_$ac_func
40556
40557 /* System header to define __stub macros and hopefully few prototypes,
40558 which can conflict with char $ac_func (); below.
40559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40560 <limits.h> exists even on freestanding compilers. */
40561
40562 #ifdef __STDC__
40563 # include <limits.h>
40564 #else
40565 # include <assert.h>
40566 #endif
40567
40568 #undef $ac_func
40569
40570 /* Override any gcc2 internal prototype to avoid an error. */
40571 #ifdef __cplusplus
40572 extern "C"
40573 {
40574 #endif
40575 /* We use char because int might match the return type of a gcc2
40576 builtin and then its argument prototype would still apply. */
40577 char $ac_func ();
40578 /* The GNU C library defines this for functions which it implements
40579 to always fail with ENOSYS. Some functions are actually named
40580 something starting with __ and the normal name is an alias. */
40581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40582 choke me
40583 #else
40584 char (*f) () = $ac_func;
40585 #endif
40586 #ifdef __cplusplus
40587 }
40588 #endif
40589
40590 int
40591 main ()
40592 {
40593 return f != $ac_func;
40594 ;
40595 return 0;
40596 }
40597 _ACEOF
40598 rm -f conftest.$ac_objext conftest$ac_exeext
40599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40600 (eval $ac_link) 2>conftest.er1
40601 ac_status=$?
40602 grep -v '^ *+' conftest.er1 >conftest.err
40603 rm -f conftest.er1
40604 cat conftest.err >&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); } &&
40607 { ac_try='test -z "$ac_c_werror_flag"
40608 || test ! -s conftest.err'
40609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40610 (eval $ac_try) 2>&5
40611 ac_status=$?
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); }; } &&
40614 { ac_try='test -s conftest$ac_exeext'
40615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40616 (eval $ac_try) 2>&5
40617 ac_status=$?
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); }; }; then
40620 eval "$as_ac_var=yes"
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40624
40625 eval "$as_ac_var=no"
40626 fi
40627 rm -f conftest.err conftest.$ac_objext \
40628 conftest$ac_exeext conftest.$ac_ext
40629 fi
40630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40632 if test `eval echo '${'$as_ac_var'}'` = yes; then
40633 cat >>confdefs.h <<_ACEOF
40634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40635 _ACEOF
40636
40637 fi
40638 done
40639
40640 fi
40641
40642
40643
40644
40645
40646 CXXFLAGS="$ac_save_CXXFLAGS"
40647
40648
40649 # For /dev/random and /dev/urandom for TR1.
40650
40651
40652 echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
40653 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40654 if test "${glibcxx_cv_random_tr1+set}" = set; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 else
40657
40658 if test -r /dev/random && test -r /dev/urandom; then
40659 glibcxx_cv_random_tr1=yes;
40660 else
40661 glibcxx_cv_random_tr1=no;
40662 fi
40663
40664 fi
40665
40666 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40667 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40668
40669 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40670
40671 cat >>confdefs.h <<\_ACEOF
40672 #define _GLIBCXX_USE_RANDOM_TR1 1
40673 _ACEOF
40674
40675 fi
40676
40677
40678
40679 # For TLS support.
40680
40681 # Check whether --enable-tls or --disable-tls was given.
40682 if test "${enable_tls+set}" = set; then
40683 enableval="$enable_tls"
40684
40685 case "$enableval" in
40686 yes|no) ;;
40687 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40688 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40689 { (exit 1); exit 1; }; } ;;
40690 esac
40691
40692 else
40693 enable_tls=yes
40694 fi;
40695
40696 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40697 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40698 if test "${gcc_cv_have_tls+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40700 else
40701
40702 if test "$cross_compiling" = yes; then
40703 if test x$gcc_no_link = xyes; then
40704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40706 { (exit 1); exit 1; }; }
40707 fi
40708 cat >conftest.$ac_ext <<_ACEOF
40709 __thread int a; int b; int main() { return a = b; }
40710 _ACEOF
40711 rm -f conftest.$ac_objext conftest$ac_exeext
40712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40713 (eval $ac_link) 2>conftest.er1
40714 ac_status=$?
40715 grep -v '^ *+' conftest.er1 >conftest.err
40716 rm -f conftest.er1
40717 cat conftest.err >&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); } &&
40720 { ac_try='test -z "$ac_c_werror_flag"
40721 || test ! -s conftest.err'
40722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40723 (eval $ac_try) 2>&5
40724 ac_status=$?
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); }; } &&
40727 { ac_try='test -s conftest$ac_exeext'
40728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40729 (eval $ac_try) 2>&5
40730 ac_status=$?
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); }; }; then
40733 gcc_cv_have_tls=yes
40734 else
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40737
40738 gcc_cv_have_tls=no
40739 fi
40740 rm -f conftest.err conftest.$ac_objext \
40741 conftest$ac_exeext conftest.$ac_ext
40742
40743
40744 else
40745 cat >conftest.$ac_ext <<_ACEOF
40746 __thread int a; int b; int main() { return a = b; }
40747 _ACEOF
40748 rm -f conftest$ac_exeext
40749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40750 (eval $ac_link) 2>&5
40751 ac_status=$?
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 chktls_save_LDFLAGS="$LDFLAGS"
40760 LDFLAGS="-static $LDFLAGS"
40761 if test x$gcc_no_link = xyes; then
40762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40764 { (exit 1); exit 1; }; }
40765 fi
40766 cat >conftest.$ac_ext <<_ACEOF
40767 int main() { return 0; }
40768 _ACEOF
40769 rm -f conftest.$ac_objext conftest$ac_exeext
40770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40771 (eval $ac_link) 2>conftest.er1
40772 ac_status=$?
40773 grep -v '^ *+' conftest.er1 >conftest.err
40774 rm -f conftest.er1
40775 cat conftest.err >&5
40776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777 (exit $ac_status); } &&
40778 { ac_try='test -z "$ac_c_werror_flag"
40779 || test ! -s conftest.err'
40780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40781 (eval $ac_try) 2>&5
40782 ac_status=$?
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); }; } &&
40785 { ac_try='test -s conftest$ac_exeext'
40786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40787 (eval $ac_try) 2>&5
40788 ac_status=$?
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); }; }; then
40791 if test "$cross_compiling" = yes; then
40792 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40793 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40794 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40795 See \`config.log' for more details." >&5
40796 echo "$as_me: error: cannot run test program while cross compiling
40797 See \`config.log' for more details." >&2;}
40798 { (exit 1); exit 1; }; }; }
40799 else
40800 cat >conftest.$ac_ext <<_ACEOF
40801 __thread int a; int b; int main() { return a = b; }
40802 _ACEOF
40803 rm -f conftest$ac_exeext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40805 (eval $ac_link) 2>&5
40806 ac_status=$?
40807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40810 (eval $ac_try) 2>&5
40811 ac_status=$?
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); }; }; then
40814 gcc_cv_have_tls=yes
40815 else
40816 echo "$as_me: program exited with status $ac_status" >&5
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40819
40820 ( exit $ac_status )
40821 gcc_cv_have_tls=no
40822 fi
40823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40824 fi
40825 else
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40828
40829 gcc_cv_have_tls=yes
40830 fi
40831 rm -f conftest.err conftest.$ac_objext \
40832 conftest$ac_exeext conftest.$ac_ext
40833 LDFLAGS="$chktls_save_LDFLAGS"
40834 if test $gcc_cv_have_tls = yes; then
40835 chktls_save_CFLAGS="$CFLAGS"
40836 thread_CFLAGS=failed
40837 for flag in '' '-pthread' '-lpthread'; do
40838 CFLAGS="$flag $chktls_save_CFLAGS"
40839 if test x$gcc_no_link = xyes; then
40840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40842 { (exit 1); exit 1; }; }
40843 fi
40844 cat >conftest.$ac_ext <<_ACEOF
40845 /* confdefs.h. */
40846 _ACEOF
40847 cat confdefs.h >>conftest.$ac_ext
40848 cat >>conftest.$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40850 #include <pthread.h>
40851 void *g(void *d) { return NULL; }
40852 int
40853 main ()
40854 {
40855 pthread_t t; pthread_create(&t,NULL,g,NULL);
40856 ;
40857 return 0;
40858 }
40859 _ACEOF
40860 rm -f conftest.$ac_objext conftest$ac_exeext
40861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40862 (eval $ac_link) 2>conftest.er1
40863 ac_status=$?
40864 grep -v '^ *+' conftest.er1 >conftest.err
40865 rm -f conftest.er1
40866 cat conftest.err >&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } &&
40869 { ac_try='test -z "$ac_c_werror_flag"
40870 || test ! -s conftest.err'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40873 ac_status=$?
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; } &&
40876 { ac_try='test -s conftest$ac_exeext'
40877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40878 (eval $ac_try) 2>&5
40879 ac_status=$?
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); }; }; then
40882 thread_CFLAGS="$flag"
40883 else
40884 echo "$as_me: failed program was:" >&5
40885 sed 's/^/| /' conftest.$ac_ext >&5
40886
40887 fi
40888 rm -f conftest.err conftest.$ac_objext \
40889 conftest$ac_exeext conftest.$ac_ext
40890 if test "X$thread_CFLAGS" != Xfailed; then
40891 break
40892 fi
40893 done
40894 CFLAGS="$chktls_save_CFLAGS"
40895 if test "X$thread_CFLAGS" != Xfailed; then
40896 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40897 if test "$cross_compiling" = yes; then
40898 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40899 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40901 See \`config.log' for more details." >&5
40902 echo "$as_me: error: cannot run test program while cross compiling
40903 See \`config.log' for more details." >&2;}
40904 { (exit 1); exit 1; }; }; }
40905 else
40906 cat >conftest.$ac_ext <<_ACEOF
40907 /* confdefs.h. */
40908 _ACEOF
40909 cat confdefs.h >>conftest.$ac_ext
40910 cat >>conftest.$ac_ext <<_ACEOF
40911 /* end confdefs.h. */
40912 #include <pthread.h>
40913 __thread int a;
40914 static int *a_in_other_thread;
40915 static void *
40916 thread_func (void *arg)
40917 {
40918 a_in_other_thread = &a;
40919 return (void *)0;
40920 }
40921 int
40922 main ()
40923 {
40924 pthread_t thread;
40925 void *thread_retval;
40926 int *a_in_main_thread;
40927 if (pthread_create (&thread, (pthread_attr_t *)0,
40928 thread_func, (void *)0))
40929 return 0;
40930 a_in_main_thread = &a;
40931 if (pthread_join (thread, &thread_retval))
40932 return 0;
40933 return (a_in_other_thread == a_in_main_thread);
40934 ;
40935 return 0;
40936 }
40937 _ACEOF
40938 rm -f conftest$ac_exeext
40939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40940 (eval $ac_link) 2>&5
40941 ac_status=$?
40942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40945 (eval $ac_try) 2>&5
40946 ac_status=$?
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); }; }; then
40949 gcc_cv_have_tls=yes
40950 else
40951 echo "$as_me: program exited with status $ac_status" >&5
40952 echo "$as_me: failed program was:" >&5
40953 sed 's/^/| /' conftest.$ac_ext >&5
40954
40955 ( exit $ac_status )
40956 gcc_cv_have_tls=no
40957 fi
40958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40959 fi
40960 CFLAGS="$chktls_save_CFLAGS"
40961 fi
40962 fi
40963 else
40964 echo "$as_me: program exited with status $ac_status" >&5
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40967
40968 ( exit $ac_status )
40969 gcc_cv_have_tls=no
40970 fi
40971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40972 fi
40973 fi
40974 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40975 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40976 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40977
40978 cat >>confdefs.h <<\_ACEOF
40979 #define HAVE_TLS 1
40980 _ACEOF
40981
40982 fi
40983
40984 # For iconv support.
40985
40986 if test "X$prefix" = "XNONE"; then
40987 acl_final_prefix="$ac_default_prefix"
40988 else
40989 acl_final_prefix="$prefix"
40990 fi
40991 if test "X$exec_prefix" = "XNONE"; then
40992 acl_final_exec_prefix='${prefix}'
40993 else
40994 acl_final_exec_prefix="$exec_prefix"
40995 fi
40996 acl_save_prefix="$prefix"
40997 prefix="$acl_final_prefix"
40998 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40999 prefix="$acl_save_prefix"
41000
41001
41002 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41003 if test "${with_gnu_ld+set}" = set; then
41004 withval="$with_gnu_ld"
41005 test "$withval" = no || with_gnu_ld=yes
41006 else
41007 with_gnu_ld=no
41008 fi;
41009 # Prepare PATH_SEPARATOR.
41010 # The user is always right.
41011 if test "${PATH_SEPARATOR+set}" != set; then
41012 echo "#! /bin/sh" >conf$$.sh
41013 echo "exit 0" >>conf$$.sh
41014 chmod +x conf$$.sh
41015 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41016 PATH_SEPARATOR=';'
41017 else
41018 PATH_SEPARATOR=:
41019 fi
41020 rm -f conf$$.sh
41021 fi
41022 ac_prog=ld
41023 if test "$GCC" = yes; then
41024 # Check if gcc -print-prog-name=ld gives a path.
41025 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41026 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41027 case $host in
41028 *-*-mingw*)
41029 # gcc leaves a trailing carriage return which upsets mingw
41030 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41031 *)
41032 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41033 esac
41034 case $ac_prog in
41035 # Accept absolute paths.
41036 [\\/]* | [A-Za-z]:[\\/]*)
41037 re_direlt='/[^/][^/]*/\.\./'
41038 # Canonicalize the path of ld
41039 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41040 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41041 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41042 done
41043 test -z "$LD" && LD="$ac_prog"
41044 ;;
41045 "")
41046 # If it fails, then pretend we aren't using GCC.
41047 ac_prog=ld
41048 ;;
41049 *)
41050 # If it is relative, then search for the first ld in PATH.
41051 with_gnu_ld=unknown
41052 ;;
41053 esac
41054 elif test "$with_gnu_ld" = yes; then
41055 echo "$as_me:$LINENO: checking for GNU ld" >&5
41056 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41057 else
41058 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41059 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41060 fi
41061 if test "${acl_cv_path_LD+set}" = set; then
41062 echo $ECHO_N "(cached) $ECHO_C" >&6
41063 else
41064 if test -z "$LD"; then
41065 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41066 for ac_dir in $PATH; do
41067 test -z "$ac_dir" && ac_dir=.
41068 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41069 acl_cv_path_LD="$ac_dir/$ac_prog"
41070 # Check to see if the program is GNU ld. I'd rather use --version,
41071 # but apparently some GNU ld's only accept -v.
41072 # Break only if it was the GNU/non-GNU ld that we prefer.
41073 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41074 test "$with_gnu_ld" != no && break
41075 else
41076 test "$with_gnu_ld" != yes && break
41077 fi
41078 fi
41079 done
41080 IFS="$ac_save_ifs"
41081 else
41082 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41083 fi
41084 fi
41085
41086 LD="$acl_cv_path_LD"
41087 if test -n "$LD"; then
41088 echo "$as_me:$LINENO: result: $LD" >&5
41089 echo "${ECHO_T}$LD" >&6
41090 else
41091 echo "$as_me:$LINENO: result: no" >&5
41092 echo "${ECHO_T}no" >&6
41093 fi
41094 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41095 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41096 { (exit 1); exit 1; }; }
41097 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41098 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41099 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 else
41102 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41103 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41104 acl_cv_prog_gnu_ld=yes
41105 else
41106 acl_cv_prog_gnu_ld=no
41107 fi
41108 fi
41109 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41110 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41111 with_gnu_ld=$acl_cv_prog_gnu_ld
41112
41113
41114
41115 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41116 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41117 if test "${acl_cv_rpath+set}" = set; then
41118 echo $ECHO_N "(cached) $ECHO_C" >&6
41119 else
41120
41121 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41122 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41123 . ./conftest.sh
41124 rm -f ./conftest.sh
41125 acl_cv_rpath=done
41126
41127 fi
41128 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41129 echo "${ECHO_T}$acl_cv_rpath" >&6
41130 wl="$acl_cv_wl"
41131 libext="$acl_cv_libext"
41132 shlibext="$acl_cv_shlibext"
41133 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41134 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41135 hardcode_direct="$acl_cv_hardcode_direct"
41136 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41137 # Check whether --enable-rpath or --disable-rpath was given.
41138 if test "${enable_rpath+set}" = set; then
41139 enableval="$enable_rpath"
41140 :
41141 else
41142 enable_rpath=yes
41143 fi;
41144
41145
41146
41147
41148
41149
41150
41151 use_additional=yes
41152
41153 acl_save_prefix="$prefix"
41154 prefix="$acl_final_prefix"
41155 acl_save_exec_prefix="$exec_prefix"
41156 exec_prefix="$acl_final_exec_prefix"
41157
41158 eval additional_includedir=\"$includedir\"
41159 eval additional_libdir=\"$libdir\"
41160
41161 exec_prefix="$acl_save_exec_prefix"
41162 prefix="$acl_save_prefix"
41163
41164
41165 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41166 if test "${with_libiconv_prefix+set}" = set; then
41167 withval="$with_libiconv_prefix"
41168
41169 if test "X$withval" = "Xno"; then
41170 use_additional=no
41171 else
41172 if test "X$withval" = "X"; then
41173
41174 acl_save_prefix="$prefix"
41175 prefix="$acl_final_prefix"
41176 acl_save_exec_prefix="$exec_prefix"
41177 exec_prefix="$acl_final_exec_prefix"
41178
41179 eval additional_includedir=\"$includedir\"
41180 eval additional_libdir=\"$libdir\"
41181
41182 exec_prefix="$acl_save_exec_prefix"
41183 prefix="$acl_save_prefix"
41184
41185 else
41186 additional_includedir="$withval/include"
41187 additional_libdir="$withval/lib"
41188 fi
41189 fi
41190
41191 fi;
41192 LIBICONV=
41193 LTLIBICONV=
41194 INCICONV=
41195 rpathdirs=
41196 ltrpathdirs=
41197 names_already_handled=
41198 names_next_round='iconv '
41199 while test -n "$names_next_round"; do
41200 names_this_round="$names_next_round"
41201 names_next_round=
41202 for name in $names_this_round; do
41203 already_handled=
41204 for n in $names_already_handled; do
41205 if test "$n" = "$name"; then
41206 already_handled=yes
41207 break
41208 fi
41209 done
41210 if test -z "$already_handled"; then
41211 names_already_handled="$names_already_handled $name"
41212 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41213 eval value=\"\$HAVE_LIB$uppername\"
41214 if test -n "$value"; then
41215 if test "$value" = yes; then
41216 eval value=\"\$LIB$uppername\"
41217 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41218 eval value=\"\$LTLIB$uppername\"
41219 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41220 else
41221 :
41222 fi
41223 else
41224 found_dir=
41225 found_la=
41226 found_so=
41227 found_a=
41228 if test $use_additional = yes; then
41229 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41230 found_dir="$additional_libdir"
41231 found_so="$additional_libdir/lib$name.$shlibext"
41232 if test -f "$additional_libdir/lib$name.la"; then
41233 found_la="$additional_libdir/lib$name.la"
41234 fi
41235 else
41236 if test -f "$additional_libdir/lib$name.$libext"; then
41237 found_dir="$additional_libdir"
41238 found_a="$additional_libdir/lib$name.$libext"
41239 if test -f "$additional_libdir/lib$name.la"; then
41240 found_la="$additional_libdir/lib$name.la"
41241 fi
41242 fi
41243 fi
41244 fi
41245 if test "X$found_dir" = "X"; then
41246 for x in $LDFLAGS $LTLIBICONV; do
41247
41248 acl_save_prefix="$prefix"
41249 prefix="$acl_final_prefix"
41250 acl_save_exec_prefix="$exec_prefix"
41251 exec_prefix="$acl_final_exec_prefix"
41252 eval x=\"$x\"
41253 exec_prefix="$acl_save_exec_prefix"
41254 prefix="$acl_save_prefix"
41255
41256 case "$x" in
41257 -L*)
41258 dir=`echo "X$x" | sed -e 's/^X-L//'`
41259 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41260 found_dir="$dir"
41261 found_so="$dir/lib$name.$shlibext"
41262 if test -f "$dir/lib$name.la"; then
41263 found_la="$dir/lib$name.la"
41264 fi
41265 else
41266 if test -f "$dir/lib$name.$libext"; then
41267 found_dir="$dir"
41268 found_a="$dir/lib$name.$libext"
41269 if test -f "$dir/lib$name.la"; then
41270 found_la="$dir/lib$name.la"
41271 fi
41272 fi
41273 fi
41274 ;;
41275 esac
41276 if test "X$found_dir" != "X"; then
41277 break
41278 fi
41279 done
41280 fi
41281 if test "X$found_dir" != "X"; then
41282 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41283 if test "X$found_so" != "X"; then
41284 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41285 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41286 else
41287 haveit=
41288 for x in $ltrpathdirs; do
41289 if test "X$x" = "X$found_dir"; then
41290 haveit=yes
41291 break
41292 fi
41293 done
41294 if test -z "$haveit"; then
41295 ltrpathdirs="$ltrpathdirs $found_dir"
41296 fi
41297 if test "$hardcode_direct" = yes; then
41298 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41299 else
41300 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41301 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41302 haveit=
41303 for x in $rpathdirs; do
41304 if test "X$x" = "X$found_dir"; then
41305 haveit=yes
41306 break
41307 fi
41308 done
41309 if test -z "$haveit"; then
41310 rpathdirs="$rpathdirs $found_dir"
41311 fi
41312 else
41313 haveit=
41314 for x in $LDFLAGS $LIBICONV; do
41315
41316 acl_save_prefix="$prefix"
41317 prefix="$acl_final_prefix"
41318 acl_save_exec_prefix="$exec_prefix"
41319 exec_prefix="$acl_final_exec_prefix"
41320 eval x=\"$x\"
41321 exec_prefix="$acl_save_exec_prefix"
41322 prefix="$acl_save_prefix"
41323
41324 if test "X$x" = "X-L$found_dir"; then
41325 haveit=yes
41326 break
41327 fi
41328 done
41329 if test -z "$haveit"; then
41330 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41331 fi
41332 if test "$hardcode_minus_L" != no; then
41333 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41334 else
41335 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41336 fi
41337 fi
41338 fi
41339 fi
41340 else
41341 if test "X$found_a" != "X"; then
41342 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41343 else
41344 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41345 fi
41346 fi
41347 additional_includedir=
41348 case "$found_dir" in
41349 */lib | */lib/)
41350 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41351 additional_includedir="$basedir/include"
41352 ;;
41353 esac
41354 if test "X$additional_includedir" != "X"; then
41355 if test "X$additional_includedir" != "X/usr/include"; then
41356 haveit=
41357 if test "X$additional_includedir" = "X/usr/local/include"; then
41358 if test -n "$GCC"; then
41359 case $host_os in
41360 linux*) haveit=yes;;
41361 esac
41362 fi
41363 fi
41364 if test -z "$haveit"; then
41365 for x in $CPPFLAGS $INCICONV; do
41366
41367 acl_save_prefix="$prefix"
41368 prefix="$acl_final_prefix"
41369 acl_save_exec_prefix="$exec_prefix"
41370 exec_prefix="$acl_final_exec_prefix"
41371 eval x=\"$x\"
41372 exec_prefix="$acl_save_exec_prefix"
41373 prefix="$acl_save_prefix"
41374
41375 if test "X$x" = "X-I$additional_includedir"; then
41376 haveit=yes
41377 break
41378 fi
41379 done
41380 if test -z "$haveit"; then
41381 if test -d "$additional_includedir"; then
41382 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41383 fi
41384 fi
41385 fi
41386 fi
41387 fi
41388 if test -n "$found_la"; then
41389 save_libdir="$libdir"
41390 case "$found_la" in
41391 */* | *\\*) . "$found_la" ;;
41392 *) . "./$found_la" ;;
41393 esac
41394 libdir="$save_libdir"
41395 for dep in $dependency_libs; do
41396 case "$dep" in
41397 -L*)
41398 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41399 if test "X$additional_libdir" != "X/usr/lib"; then
41400 haveit=
41401 if test "X$additional_libdir" = "X/usr/local/lib"; then
41402 if test -n "$GCC"; then
41403 case $host_os in
41404 linux*) haveit=yes;;
41405 esac
41406 fi
41407 fi
41408 if test -z "$haveit"; then
41409 haveit=
41410 for x in $LDFLAGS $LIBICONV; do
41411
41412 acl_save_prefix="$prefix"
41413 prefix="$acl_final_prefix"
41414 acl_save_exec_prefix="$exec_prefix"
41415 exec_prefix="$acl_final_exec_prefix"
41416 eval x=\"$x\"
41417 exec_prefix="$acl_save_exec_prefix"
41418 prefix="$acl_save_prefix"
41419
41420 if test "X$x" = "X-L$additional_libdir"; then
41421 haveit=yes
41422 break
41423 fi
41424 done
41425 if test -z "$haveit"; then
41426 if test -d "$additional_libdir"; then
41427 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41428 fi
41429 fi
41430 haveit=
41431 for x in $LDFLAGS $LTLIBICONV; do
41432
41433 acl_save_prefix="$prefix"
41434 prefix="$acl_final_prefix"
41435 acl_save_exec_prefix="$exec_prefix"
41436 exec_prefix="$acl_final_exec_prefix"
41437 eval x=\"$x\"
41438 exec_prefix="$acl_save_exec_prefix"
41439 prefix="$acl_save_prefix"
41440
41441 if test "X$x" = "X-L$additional_libdir"; then
41442 haveit=yes
41443 break
41444 fi
41445 done
41446 if test -z "$haveit"; then
41447 if test -d "$additional_libdir"; then
41448 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41449 fi
41450 fi
41451 fi
41452 fi
41453 ;;
41454 -R*)
41455 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41456 if test "$enable_rpath" != no; then
41457 haveit=
41458 for x in $rpathdirs; do
41459 if test "X$x" = "X$dir"; then
41460 haveit=yes
41461 break
41462 fi
41463 done
41464 if test -z "$haveit"; then
41465 rpathdirs="$rpathdirs $dir"
41466 fi
41467 haveit=
41468 for x in $ltrpathdirs; do
41469 if test "X$x" = "X$dir"; then
41470 haveit=yes
41471 break
41472 fi
41473 done
41474 if test -z "$haveit"; then
41475 ltrpathdirs="$ltrpathdirs $dir"
41476 fi
41477 fi
41478 ;;
41479 -l*)
41480 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41481 ;;
41482 *.la)
41483 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41484 ;;
41485 *)
41486 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41487 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41488 ;;
41489 esac
41490 done
41491 fi
41492 else
41493 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41494 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41495 fi
41496 fi
41497 fi
41498 done
41499 done
41500 if test "X$rpathdirs" != "X"; then
41501 if test -n "$hardcode_libdir_separator"; then
41502 alldirs=
41503 for found_dir in $rpathdirs; do
41504 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41505 done
41506 acl_save_libdir="$libdir"
41507 libdir="$alldirs"
41508 eval flag=\"$hardcode_libdir_flag_spec\"
41509 libdir="$acl_save_libdir"
41510 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41511 else
41512 for found_dir in $rpathdirs; do
41513 acl_save_libdir="$libdir"
41514 libdir="$found_dir"
41515 eval flag=\"$hardcode_libdir_flag_spec\"
41516 libdir="$acl_save_libdir"
41517 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41518 done
41519 fi
41520 fi
41521 if test "X$ltrpathdirs" != "X"; then
41522 for found_dir in $ltrpathdirs; do
41523 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41524 done
41525 fi
41526
41527
41528
41529
41530
41531
41532
41533 am_save_CPPFLAGS="$CPPFLAGS"
41534
41535 for element in $INCICONV; do
41536 haveit=
41537 for x in $CPPFLAGS; do
41538
41539 acl_save_prefix="$prefix"
41540 prefix="$acl_final_prefix"
41541 acl_save_exec_prefix="$exec_prefix"
41542 exec_prefix="$acl_final_exec_prefix"
41543 eval x=\"$x\"
41544 exec_prefix="$acl_save_exec_prefix"
41545 prefix="$acl_save_prefix"
41546
41547 if test "X$x" = "X$element"; then
41548 haveit=yes
41549 break
41550 fi
41551 done
41552 if test -z "$haveit"; then
41553 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41554 fi
41555 done
41556
41557
41558 echo "$as_me:$LINENO: checking for iconv" >&5
41559 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41560 if test "${am_cv_func_iconv+set}" = set; then
41561 echo $ECHO_N "(cached) $ECHO_C" >&6
41562 else
41563
41564 am_cv_func_iconv="no, consider installing GNU libiconv"
41565 am_cv_lib_iconv=no
41566 if test x$gcc_no_link = xyes; then
41567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41569 { (exit 1); exit 1; }; }
41570 fi
41571 cat >conftest.$ac_ext <<_ACEOF
41572 /* confdefs.h. */
41573 _ACEOF
41574 cat confdefs.h >>conftest.$ac_ext
41575 cat >>conftest.$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41577 #include <stdlib.h>
41578 #include <iconv.h>
41579 int
41580 main ()
41581 {
41582 iconv_t cd = iconv_open("","");
41583 iconv(cd,NULL,NULL,NULL,NULL);
41584 iconv_close(cd);
41585 ;
41586 return 0;
41587 }
41588 _ACEOF
41589 rm -f conftest.$ac_objext conftest$ac_exeext
41590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41591 (eval $ac_link) 2>conftest.er1
41592 ac_status=$?
41593 grep -v '^ *+' conftest.er1 >conftest.err
41594 rm -f conftest.er1
41595 cat conftest.err >&5
41596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41597 (exit $ac_status); } &&
41598 { ac_try='test -z "$ac_c_werror_flag"
41599 || test ! -s conftest.err'
41600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41601 (eval $ac_try) 2>&5
41602 ac_status=$?
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); }; } &&
41605 { ac_try='test -s conftest$ac_exeext'
41606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41607 (eval $ac_try) 2>&5
41608 ac_status=$?
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; }; then
41611 am_cv_func_iconv=yes
41612 else
41613 echo "$as_me: failed program was:" >&5
41614 sed 's/^/| /' conftest.$ac_ext >&5
41615
41616 fi
41617 rm -f conftest.err conftest.$ac_objext \
41618 conftest$ac_exeext conftest.$ac_ext
41619 if test "$am_cv_func_iconv" != yes; then
41620 am_save_LIBS="$LIBS"
41621 LIBS="$LIBS $LIBICONV"
41622 if test x$gcc_no_link = xyes; then
41623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41625 { (exit 1); exit 1; }; }
41626 fi
41627 cat >conftest.$ac_ext <<_ACEOF
41628 /* confdefs.h. */
41629 _ACEOF
41630 cat confdefs.h >>conftest.$ac_ext
41631 cat >>conftest.$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41633 #include <stdlib.h>
41634 #include <iconv.h>
41635 int
41636 main ()
41637 {
41638 iconv_t cd = iconv_open("","");
41639 iconv(cd,NULL,NULL,NULL,NULL);
41640 iconv_close(cd);
41641 ;
41642 return 0;
41643 }
41644 _ACEOF
41645 rm -f conftest.$ac_objext conftest$ac_exeext
41646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41647 (eval $ac_link) 2>conftest.er1
41648 ac_status=$?
41649 grep -v '^ *+' conftest.er1 >conftest.err
41650 rm -f conftest.er1
41651 cat conftest.err >&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); } &&
41654 { ac_try='test -z "$ac_c_werror_flag"
41655 || test ! -s conftest.err'
41656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41657 (eval $ac_try) 2>&5
41658 ac_status=$?
41659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41660 (exit $ac_status); }; } &&
41661 { ac_try='test -s conftest$ac_exeext'
41662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663 (eval $ac_try) 2>&5
41664 ac_status=$?
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; }; then
41667 am_cv_lib_iconv=yes
41668 am_cv_func_iconv=yes
41669 else
41670 echo "$as_me: failed program was:" >&5
41671 sed 's/^/| /' conftest.$ac_ext >&5
41672
41673 fi
41674 rm -f conftest.err conftest.$ac_objext \
41675 conftest$ac_exeext conftest.$ac_ext
41676 LIBS="$am_save_LIBS"
41677 fi
41678
41679 fi
41680 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41681 echo "${ECHO_T}$am_cv_func_iconv" >&6
41682 if test "$am_cv_func_iconv" = yes; then
41683
41684 cat >>confdefs.h <<\_ACEOF
41685 #define HAVE_ICONV 1
41686 _ACEOF
41687
41688 fi
41689 if test "$am_cv_lib_iconv" = yes; then
41690 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41691 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41692 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41693 echo "${ECHO_T}$LIBICONV" >&6
41694 else
41695 CPPFLAGS="$am_save_CPPFLAGS"
41696 LIBICONV=
41697 LTLIBICONV=
41698 fi
41699
41700
41701
41702 if test "$am_cv_func_iconv" = yes; then
41703 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41704 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41705 if test "${am_cv_proto_iconv+set}" = set; then
41706 echo $ECHO_N "(cached) $ECHO_C" >&6
41707 else
41708
41709 cat >conftest.$ac_ext <<_ACEOF
41710 /* confdefs.h. */
41711 _ACEOF
41712 cat confdefs.h >>conftest.$ac_ext
41713 cat >>conftest.$ac_ext <<_ACEOF
41714 /* end confdefs.h. */
41715
41716 #include <stdlib.h>
41717 #include <iconv.h>
41718 extern
41719 #ifdef __cplusplus
41720 "C"
41721 #endif
41722 #if defined(__STDC__) || defined(__cplusplus)
41723 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41724 #else
41725 size_t iconv();
41726 #endif
41727
41728 int
41729 main ()
41730 {
41731
41732 ;
41733 return 0;
41734 }
41735 _ACEOF
41736 rm -f conftest.$ac_objext
41737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41738 (eval $ac_compile) 2>conftest.er1
41739 ac_status=$?
41740 grep -v '^ *+' conftest.er1 >conftest.err
41741 rm -f conftest.er1
41742 cat conftest.err >&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } &&
41745 { ac_try='test -z "$ac_c_werror_flag"
41746 || test ! -s conftest.err'
41747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41748 (eval $ac_try) 2>&5
41749 ac_status=$?
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); }; } &&
41752 { ac_try='test -s conftest.$ac_objext'
41753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41754 (eval $ac_try) 2>&5
41755 ac_status=$?
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; }; then
41758 am_cv_proto_iconv_arg1=""
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763 am_cv_proto_iconv_arg1="const"
41764 fi
41765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41766 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);"
41767 fi
41768
41769 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41770 echo "$as_me:$LINENO: result: ${ac_t:-
41771 }$am_cv_proto_iconv" >&5
41772 echo "${ECHO_T}${ac_t:-
41773 }$am_cv_proto_iconv" >&6
41774
41775 cat >>confdefs.h <<_ACEOF
41776 #define ICONV_CONST $am_cv_proto_iconv_arg1
41777 _ACEOF
41778
41779 fi
41780
41781
41782 else
41783
41784 # This lets us hard-code the functionality we know we'll have in the cross
41785 # target environment. "Let" is a sugar-coated word placed on an especially
41786 # dull and tedious hack, actually.
41787 #
41788 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41789 # that involve linking, can't be used:
41790 # "cannot open sim-crt0.o"
41791 # "cannot open crt0.o"
41792 # etc. All this is because there currently exists no unified, consistent
41793 # way for top level CC information to be passed down to target directories:
41794 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41795 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41796 # crosses can be removed.
41797
41798 # If Canadian cross, then don't pick up tools from the build directory.
41799 # Used only in GLIBCXX_EXPORT_INCLUDES.
41800 if test -n "$with_cross_host" &&
41801 test x"$build_alias" != x"$with_cross_host" &&
41802 test x"$build" != x"$target";
41803 then
41804 CANADIAN=yes
41805 else
41806 CANADIAN=no
41807 fi
41808
41809 # Construct crosses by hand, eliminating bits that need ld...
41810 # GLIBCXX_CHECK_MATH_SUPPORT
41811
41812 # First, test for "known" system libraries. We may be using newlib even
41813 # on a hosted environment.
41814 if test "x${with_newlib}" = "xyes"; then
41815 os_include_dir="os/newlib"
41816 cat >>confdefs.h <<\_ACEOF
41817 #define HAVE_HYPOT 1
41818 _ACEOF
41819
41820
41821 # GLIBCXX_CHECK_STDLIB_SUPPORT
41822 cat >>confdefs.h <<\_ACEOF
41823 #define HAVE_STRTOF 1
41824 _ACEOF
41825
41826
41827 cat >>confdefs.h <<\_ACEOF
41828 #define HAVE_ACOSF 1
41829 _ACEOF
41830
41831 cat >>confdefs.h <<\_ACEOF
41832 #define HAVE_ASINF 1
41833 _ACEOF
41834
41835 cat >>confdefs.h <<\_ACEOF
41836 #define HAVE_ATAN2F 1
41837 _ACEOF
41838
41839 cat >>confdefs.h <<\_ACEOF
41840 #define HAVE_ATANF 1
41841 _ACEOF
41842
41843 cat >>confdefs.h <<\_ACEOF
41844 #define HAVE_CEILF 1
41845 _ACEOF
41846
41847 cat >>confdefs.h <<\_ACEOF
41848 #define HAVE_COSF 1
41849 _ACEOF
41850
41851 cat >>confdefs.h <<\_ACEOF
41852 #define HAVE_COSHF 1
41853 _ACEOF
41854
41855 cat >>confdefs.h <<\_ACEOF
41856 #define HAVE_EXPF 1
41857 _ACEOF
41858
41859 cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_FABSF 1
41861 _ACEOF
41862
41863 cat >>confdefs.h <<\_ACEOF
41864 #define HAVE_FLOORF 1
41865 _ACEOF
41866
41867 cat >>confdefs.h <<\_ACEOF
41868 #define HAVE_FMODF 1
41869 _ACEOF
41870
41871 cat >>confdefs.h <<\_ACEOF
41872 #define HAVE_FREXPF 1
41873 _ACEOF
41874
41875 cat >>confdefs.h <<\_ACEOF
41876 #define HAVE_LDEXPF 1
41877 _ACEOF
41878
41879 cat >>confdefs.h <<\_ACEOF
41880 #define HAVE_LOG10F 1
41881 _ACEOF
41882
41883 cat >>confdefs.h <<\_ACEOF
41884 #define HAVE_LOGF 1
41885 _ACEOF
41886
41887 cat >>confdefs.h <<\_ACEOF
41888 #define HAVE_MODFF 1
41889 _ACEOF
41890
41891 cat >>confdefs.h <<\_ACEOF
41892 #define HAVE_POWF 1
41893 _ACEOF
41894
41895 cat >>confdefs.h <<\_ACEOF
41896 #define HAVE_SINF 1
41897 _ACEOF
41898
41899 cat >>confdefs.h <<\_ACEOF
41900 #define HAVE_SINHF 1
41901 _ACEOF
41902
41903 cat >>confdefs.h <<\_ACEOF
41904 #define HAVE_SQRTF 1
41905 _ACEOF
41906
41907 cat >>confdefs.h <<\_ACEOF
41908 #define HAVE_TANF 1
41909 _ACEOF
41910
41911 cat >>confdefs.h <<\_ACEOF
41912 #define HAVE_TANHF 1
41913 _ACEOF
41914
41915
41916 cat >>confdefs.h <<\_ACEOF
41917 #define HAVE_ICONV 1
41918 _ACEOF
41919
41920 else
41921
41922 # Base decisions on target environment.
41923 case "${host}" in
41924 arm*-*-symbianelf*)
41925 # This is a freestanding configuration; there is nothing to do here.
41926 ;;
41927
41928 mips*-sde-elf*)
41929 # These definitions are for the SDE C library rather than newlib.
41930 SECTION_FLAGS='-ffunction-sections -fdata-sections'
41931
41932
41933 # All these tests are for C++; save the language and the compiler flags.
41934 # The CXXFLAGS thing is suspicious, but based on similar bits previously
41935 # found in GLIBCXX_CONFIGURE.
41936
41937
41938 ac_ext=cc
41939 ac_cpp='$CXXCPP $CPPFLAGS'
41940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41943
41944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41945 ac_save_CXXFLAGS="$CXXFLAGS"
41946
41947 # Check for maintainer-mode bits.
41948 if test x"$USE_MAINTAINER_MODE" = xno; then
41949 WERROR=''
41950 else
41951 WERROR='-Werror'
41952 fi
41953
41954 # Check for -ffunction-sections -fdata-sections
41955 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
41956 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
41957 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
41958 cat >conftest.$ac_ext <<_ACEOF
41959 /* confdefs.h. */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964 int foo; void bar() { };
41965 int
41966 main ()
41967 {
41968
41969 ;
41970 return 0;
41971 }
41972 _ACEOF
41973 rm -f conftest.$ac_objext
41974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41975 (eval $ac_compile) 2>conftest.er1
41976 ac_status=$?
41977 grep -v '^ *+' conftest.er1 >conftest.err
41978 rm -f conftest.er1
41979 cat conftest.err >&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } &&
41982 { ac_try='test -z "$ac_cxx_werror_flag"
41983 || test ! -s conftest.err'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41986 ac_status=$?
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; } &&
41989 { ac_try='test -s conftest.$ac_objext'
41990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41991 (eval $ac_try) 2>&5
41992 ac_status=$?
41993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41994 (exit $ac_status); }; }; then
41995 ac_fdsections=yes
41996 else
41997 echo "$as_me: failed program was:" >&5
41998 sed 's/^/| /' conftest.$ac_ext >&5
41999
42000 ac_fdsections=no
42001 fi
42002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42003 if test "$ac_test_CXXFLAGS" = set; then
42004 CXXFLAGS="$ac_save_CXXFLAGS"
42005 else
42006 # this is the suspicious part
42007 CXXFLAGS=''
42008 fi
42009 if test x"$ac_fdsections" = x"yes"; then
42010 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42011 fi
42012 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42013 echo "${ECHO_T}$ac_fdsections" >&6
42014
42015 ac_ext=c
42016 ac_cpp='$CPP $CPPFLAGS'
42017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42020
42021
42022
42023
42024
42025 # If we're not using GNU ld, then there's no point in even trying these
42026 # tests. Check for that first. We should have already tested for gld
42027 # by now (in libtool), but require it now just to be safe...
42028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42030
42031
42032
42033 # The name set by libtool depends on the version of libtool. Shame on us
42034 # for depending on an impl detail, but c'est la vie. Older versions used
42035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42038 # set (hence we're using an older libtool), then set it.
42039 if test x${with_gnu_ld+set} != xset; then
42040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42042 with_gnu_ld=no
42043 else
42044 with_gnu_ld=$ac_cv_prog_gnu_ld
42045 fi
42046 fi
42047
42048 # Start by getting the version number. I think the libtool test already
42049 # does some of this, but throws away the result.
42050 glibcxx_ld_is_gold=no
42051 if test x"$with_gnu_ld" = x"yes"; then
42052 echo "$as_me:$LINENO: checking for ld version" >&5
42053 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42054
42055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
42056 glibcxx_ld_is_gold=yes
42057 fi
42058 ldver=`$LD --version 2>/dev/null | head -1 | \
42059 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
42060
42061 glibcxx_gnu_ld_version=`echo $ldver | \
42062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42063 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42064 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42065 fi
42066
42067 # Set --gc-sections.
42068 glibcxx_have_gc_sections=no
42069 if test "$glibcxx_ld_is_gold" = "yes"; then
42070 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
42071 glibcxx_have_gc_sections=yes
42072 fi
42073 else
42074 glibcxx_gcsections_min_ld=21602
42075 if test x"$with_gnu_ld" = x"yes" &&
42076 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42077 glibcxx_have_gc_sections=yes
42078 fi
42079 fi
42080 if test "$glibcxx_have_gc_sections" = "yes"; then
42081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42082 # NB: This flag only works reliably after 2.16.1. Configure tests
42083 # for this are difficult, so hard wire a value that should work.
42084
42085 ac_test_CFLAGS="${CFLAGS+set}"
42086 ac_save_CFLAGS="$CFLAGS"
42087 CFLAGS='-Wl,--gc-sections'
42088
42089 # Check for -Wl,--gc-sections
42090 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42091 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42092 if test x$gcc_no_link = xyes; then
42093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42095 { (exit 1); exit 1; }; }
42096 fi
42097 cat >conftest.$ac_ext <<_ACEOF
42098 /* confdefs.h. */
42099 _ACEOF
42100 cat confdefs.h >>conftest.$ac_ext
42101 cat >>conftest.$ac_ext <<_ACEOF
42102 /* end confdefs.h. */
42103 int one(void) { return 1; }
42104 int two(void) { return 2; }
42105
42106 int
42107 main ()
42108 {
42109 two();
42110 ;
42111 return 0;
42112 }
42113 _ACEOF
42114 rm -f conftest.$ac_objext conftest$ac_exeext
42115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42116 (eval $ac_link) 2>conftest.er1
42117 ac_status=$?
42118 grep -v '^ *+' conftest.er1 >conftest.err
42119 rm -f conftest.er1
42120 cat conftest.err >&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); } &&
42123 { ac_try='test -z "$ac_c_werror_flag"
42124 || test ! -s conftest.err'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42127 ac_status=$?
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; } &&
42130 { ac_try='test -s conftest$ac_exeext'
42131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42132 (eval $ac_try) 2>&5
42133 ac_status=$?
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); }; }; then
42136 ac_gcsections=yes
42137 else
42138 echo "$as_me: failed program was:" >&5
42139 sed 's/^/| /' conftest.$ac_ext >&5
42140
42141 ac_gcsections=no
42142 fi
42143 rm -f conftest.err conftest.$ac_objext \
42144 conftest$ac_exeext conftest.$ac_ext
42145 if test "$ac_gcsections" = "yes"; then
42146 rm -f conftest.c
42147 touch conftest.c
42148 if $CC -c conftest.c; then
42149 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42150 grep "Warning: gc-sections option ignored" > /dev/null; then
42151 ac_gcsections=no
42152 fi
42153 fi
42154 rm -f conftest.c conftest.o conftest
42155 fi
42156 if test "$ac_gcsections" = "yes"; then
42157 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42158 fi
42159 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42160 echo "${ECHO_T}$ac_gcsections" >&6
42161
42162 if test "$ac_test_CFLAGS" = set; then
42163 CFLAGS="$ac_save_CFLAGS"
42164 else
42165 # this is the suspicious part
42166 CFLAGS=''
42167 fi
42168 fi
42169
42170 # Set -z,relro.
42171 # Note this is only for shared objects.
42172 ac_ld_relro=no
42173 if test x"$with_gnu_ld" = x"yes"; then
42174 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42175 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42176 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42177 if test -n "$cxx_z_relo"; then
42178 OPT_LDFLAGS="-Wl,-z,relro"
42179 ac_ld_relro=yes
42180 fi
42181 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42182 echo "${ECHO_T}$ac_ld_relro" >&6
42183 fi
42184
42185 # Set linker optimization flags.
42186 if test x"$with_gnu_ld" = x"yes"; then
42187 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42188 fi
42189
42190
42191
42192
42193
42194 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42195 ac_save_CXXFLAGS="$CXXFLAGS"
42196 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42197
42198 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42199 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42200 if test "${ac_cv_lib_m_sin+set}" = set; then
42201 echo $ECHO_N "(cached) $ECHO_C" >&6
42202 else
42203 ac_check_lib_save_LIBS=$LIBS
42204 LIBS="-lm $LIBS"
42205 if test x$gcc_no_link = xyes; then
42206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42208 { (exit 1); exit 1; }; }
42209 fi
42210 cat >conftest.$ac_ext <<_ACEOF
42211 /* confdefs.h. */
42212 _ACEOF
42213 cat confdefs.h >>conftest.$ac_ext
42214 cat >>conftest.$ac_ext <<_ACEOF
42215 /* end confdefs.h. */
42216
42217 /* Override any gcc2 internal prototype to avoid an error. */
42218 #ifdef __cplusplus
42219 extern "C"
42220 #endif
42221 /* We use char because int might match the return type of a gcc2
42222 builtin and then its argument prototype would still apply. */
42223 char sin ();
42224 int
42225 main ()
42226 {
42227 sin ();
42228 ;
42229 return 0;
42230 }
42231 _ACEOF
42232 rm -f conftest.$ac_objext conftest$ac_exeext
42233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42234 (eval $ac_link) 2>conftest.er1
42235 ac_status=$?
42236 grep -v '^ *+' conftest.er1 >conftest.err
42237 rm -f conftest.er1
42238 cat conftest.err >&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); } &&
42241 { ac_try='test -z "$ac_c_werror_flag"
42242 || test ! -s conftest.err'
42243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 (eval $ac_try) 2>&5
42245 ac_status=$?
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); }; } &&
42248 { ac_try='test -s conftest$ac_exeext'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; }; then
42254 ac_cv_lib_m_sin=yes
42255 else
42256 echo "$as_me: failed program was:" >&5
42257 sed 's/^/| /' conftest.$ac_ext >&5
42258
42259 ac_cv_lib_m_sin=no
42260 fi
42261 rm -f conftest.err conftest.$ac_objext \
42262 conftest$ac_exeext conftest.$ac_ext
42263 LIBS=$ac_check_lib_save_LIBS
42264 fi
42265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42266 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42267 if test $ac_cv_lib_m_sin = yes; then
42268 libm="-lm"
42269 fi
42270
42271 ac_save_LIBS="$LIBS"
42272 LIBS="$LIBS $libm"
42273
42274
42275
42276 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42277 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42278 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42279 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42281 else
42282
42283
42284
42285 ac_ext=cc
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42290
42291 cat >conftest.$ac_ext <<_ACEOF
42292 /* confdefs.h. */
42293 _ACEOF
42294 cat confdefs.h >>conftest.$ac_ext
42295 cat >>conftest.$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42297 #include <math.h>
42298 #ifdef HAVE_IEEEFP_H
42299 #include <ieeefp.h>
42300 #endif
42301
42302 int
42303 main ()
42304 {
42305 isinf(0);
42306 ;
42307 return 0;
42308 }
42309 _ACEOF
42310 rm -f conftest.$ac_objext
42311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42312 (eval $ac_compile) 2>conftest.er1
42313 ac_status=$?
42314 grep -v '^ *+' conftest.er1 >conftest.err
42315 rm -f conftest.er1
42316 cat conftest.err >&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } &&
42319 { ac_try='test -z "$ac_cxx_werror_flag"
42320 || test ! -s conftest.err'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; } &&
42326 { ac_try='test -s conftest.$ac_objext'
42327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42328 (eval $ac_try) 2>&5
42329 ac_status=$?
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); }; }; then
42332 glibcxx_cv_func_isinf_use=yes
42333 else
42334 echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.$ac_ext >&5
42336
42337 glibcxx_cv_func_isinf_use=no
42338 fi
42339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42340 ac_ext=c
42341 ac_cpp='$CPP $CPPFLAGS'
42342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42345
42346
42347 fi
42348
42349 fi
42350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42351 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42352
42353 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42354
42355 for ac_func in isinf
42356 do
42357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42358 echo "$as_me:$LINENO: checking for $ac_func" >&5
42359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42360 if eval "test \"\${$as_ac_var+set}\" = set"; then
42361 echo $ECHO_N "(cached) $ECHO_C" >&6
42362 else
42363 if test x$gcc_no_link = xyes; then
42364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42366 { (exit 1); exit 1; }; }
42367 fi
42368 cat >conftest.$ac_ext <<_ACEOF
42369 /* confdefs.h. */
42370 _ACEOF
42371 cat confdefs.h >>conftest.$ac_ext
42372 cat >>conftest.$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42376 #define $ac_func innocuous_$ac_func
42377
42378 /* System header to define __stub macros and hopefully few prototypes,
42379 which can conflict with char $ac_func (); below.
42380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42381 <limits.h> exists even on freestanding compilers. */
42382
42383 #ifdef __STDC__
42384 # include <limits.h>
42385 #else
42386 # include <assert.h>
42387 #endif
42388
42389 #undef $ac_func
42390
42391 /* Override any gcc2 internal prototype to avoid an error. */
42392 #ifdef __cplusplus
42393 extern "C"
42394 {
42395 #endif
42396 /* We use char because int might match the return type of a gcc2
42397 builtin and then its argument prototype would still apply. */
42398 char $ac_func ();
42399 /* The GNU C library defines this for functions which it implements
42400 to always fail with ENOSYS. Some functions are actually named
42401 something starting with __ and the normal name is an alias. */
42402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42403 choke me
42404 #else
42405 char (*f) () = $ac_func;
42406 #endif
42407 #ifdef __cplusplus
42408 }
42409 #endif
42410
42411 int
42412 main ()
42413 {
42414 return f != $ac_func;
42415 ;
42416 return 0;
42417 }
42418 _ACEOF
42419 rm -f conftest.$ac_objext conftest$ac_exeext
42420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42421 (eval $ac_link) 2>conftest.er1
42422 ac_status=$?
42423 grep -v '^ *+' conftest.er1 >conftest.err
42424 rm -f conftest.er1
42425 cat conftest.err >&5
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); } &&
42428 { ac_try='test -z "$ac_c_werror_flag"
42429 || test ! -s conftest.err'
42430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42431 (eval $ac_try) 2>&5
42432 ac_status=$?
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); }; } &&
42435 { ac_try='test -s conftest$ac_exeext'
42436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42437 (eval $ac_try) 2>&5
42438 ac_status=$?
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); }; }; then
42441 eval "$as_ac_var=yes"
42442 else
42443 echo "$as_me: failed program was:" >&5
42444 sed 's/^/| /' conftest.$ac_ext >&5
42445
42446 eval "$as_ac_var=no"
42447 fi
42448 rm -f conftest.err conftest.$ac_objext \
42449 conftest$ac_exeext conftest.$ac_ext
42450 fi
42451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42453 if test `eval echo '${'$as_ac_var'}'` = yes; then
42454 cat >>confdefs.h <<_ACEOF
42455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42456 _ACEOF
42457
42458 fi
42459 done
42460
42461 else
42462
42463 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42464 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42465 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42466 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42467 echo $ECHO_N "(cached) $ECHO_C" >&6
42468 else
42469
42470
42471
42472 ac_ext=cc
42473 ac_cpp='$CXXCPP $CPPFLAGS'
42474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42477
42478 cat >conftest.$ac_ext <<_ACEOF
42479 /* confdefs.h. */
42480 _ACEOF
42481 cat confdefs.h >>conftest.$ac_ext
42482 cat >>conftest.$ac_ext <<_ACEOF
42483 /* end confdefs.h. */
42484 #include <math.h>
42485 #ifdef HAVE_IEEEFP_H
42486 #include <ieeefp.h>
42487 #endif
42488
42489 int
42490 main ()
42491 {
42492 _isinf(0);
42493 ;
42494 return 0;
42495 }
42496 _ACEOF
42497 rm -f conftest.$ac_objext
42498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42499 (eval $ac_compile) 2>conftest.er1
42500 ac_status=$?
42501 grep -v '^ *+' conftest.er1 >conftest.err
42502 rm -f conftest.er1
42503 cat conftest.err >&5
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); } &&
42506 { ac_try='test -z "$ac_cxx_werror_flag"
42507 || test ! -s conftest.err'
42508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42509 (eval $ac_try) 2>&5
42510 ac_status=$?
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); }; } &&
42513 { ac_try='test -s conftest.$ac_objext'
42514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42515 (eval $ac_try) 2>&5
42516 ac_status=$?
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); }; }; then
42519 glibcxx_cv_func__isinf_use=yes
42520 else
42521 echo "$as_me: failed program was:" >&5
42522 sed 's/^/| /' conftest.$ac_ext >&5
42523
42524 glibcxx_cv_func__isinf_use=no
42525 fi
42526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42527 ac_ext=c
42528 ac_cpp='$CPP $CPPFLAGS'
42529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42532
42533
42534 fi
42535
42536 fi
42537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42538 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42539
42540 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42541
42542 for ac_func in _isinf
42543 do
42544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42545 echo "$as_me:$LINENO: checking for $ac_func" >&5
42546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42547 if eval "test \"\${$as_ac_var+set}\" = set"; then
42548 echo $ECHO_N "(cached) $ECHO_C" >&6
42549 else
42550 if test x$gcc_no_link = xyes; then
42551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42553 { (exit 1); exit 1; }; }
42554 fi
42555 cat >conftest.$ac_ext <<_ACEOF
42556 /* confdefs.h. */
42557 _ACEOF
42558 cat confdefs.h >>conftest.$ac_ext
42559 cat >>conftest.$ac_ext <<_ACEOF
42560 /* end confdefs.h. */
42561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42563 #define $ac_func innocuous_$ac_func
42564
42565 /* System header to define __stub macros and hopefully few prototypes,
42566 which can conflict with char $ac_func (); below.
42567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42568 <limits.h> exists even on freestanding compilers. */
42569
42570 #ifdef __STDC__
42571 # include <limits.h>
42572 #else
42573 # include <assert.h>
42574 #endif
42575
42576 #undef $ac_func
42577
42578 /* Override any gcc2 internal prototype to avoid an error. */
42579 #ifdef __cplusplus
42580 extern "C"
42581 {
42582 #endif
42583 /* We use char because int might match the return type of a gcc2
42584 builtin and then its argument prototype would still apply. */
42585 char $ac_func ();
42586 /* The GNU C library defines this for functions which it implements
42587 to always fail with ENOSYS. Some functions are actually named
42588 something starting with __ and the normal name is an alias. */
42589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42590 choke me
42591 #else
42592 char (*f) () = $ac_func;
42593 #endif
42594 #ifdef __cplusplus
42595 }
42596 #endif
42597
42598 int
42599 main ()
42600 {
42601 return f != $ac_func;
42602 ;
42603 return 0;
42604 }
42605 _ACEOF
42606 rm -f conftest.$ac_objext conftest$ac_exeext
42607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42608 (eval $ac_link) 2>conftest.er1
42609 ac_status=$?
42610 grep -v '^ *+' conftest.er1 >conftest.err
42611 rm -f conftest.er1
42612 cat conftest.err >&5
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); } &&
42615 { ac_try='test -z "$ac_c_werror_flag"
42616 || test ! -s conftest.err'
42617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42618 (eval $ac_try) 2>&5
42619 ac_status=$?
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); }; } &&
42622 { ac_try='test -s conftest$ac_exeext'
42623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42624 (eval $ac_try) 2>&5
42625 ac_status=$?
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); }; }; then
42628 eval "$as_ac_var=yes"
42629 else
42630 echo "$as_me: failed program was:" >&5
42631 sed 's/^/| /' conftest.$ac_ext >&5
42632
42633 eval "$as_ac_var=no"
42634 fi
42635 rm -f conftest.err conftest.$ac_objext \
42636 conftest$ac_exeext conftest.$ac_ext
42637 fi
42638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42640 if test `eval echo '${'$as_ac_var'}'` = yes; then
42641 cat >>confdefs.h <<_ACEOF
42642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42643 _ACEOF
42644
42645 fi
42646 done
42647
42648 fi
42649 fi
42650
42651
42652
42653
42654
42655
42656 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42657 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42658 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42659 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42660 echo $ECHO_N "(cached) $ECHO_C" >&6
42661 else
42662
42663
42664
42665 ac_ext=cc
42666 ac_cpp='$CXXCPP $CPPFLAGS'
42667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42670
42671 cat >conftest.$ac_ext <<_ACEOF
42672 /* confdefs.h. */
42673 _ACEOF
42674 cat confdefs.h >>conftest.$ac_ext
42675 cat >>conftest.$ac_ext <<_ACEOF
42676 /* end confdefs.h. */
42677 #include <math.h>
42678 #ifdef HAVE_IEEEFP_H
42679 #include <ieeefp.h>
42680 #endif
42681
42682 int
42683 main ()
42684 {
42685 isnan(0);
42686 ;
42687 return 0;
42688 }
42689 _ACEOF
42690 rm -f conftest.$ac_objext
42691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42692 (eval $ac_compile) 2>conftest.er1
42693 ac_status=$?
42694 grep -v '^ *+' conftest.er1 >conftest.err
42695 rm -f conftest.er1
42696 cat conftest.err >&5
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); } &&
42699 { ac_try='test -z "$ac_cxx_werror_flag"
42700 || test ! -s conftest.err'
42701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42702 (eval $ac_try) 2>&5
42703 ac_status=$?
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); }; } &&
42706 { ac_try='test -s conftest.$ac_objext'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42709 ac_status=$?
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; }; then
42712 glibcxx_cv_func_isnan_use=yes
42713 else
42714 echo "$as_me: failed program was:" >&5
42715 sed 's/^/| /' conftest.$ac_ext >&5
42716
42717 glibcxx_cv_func_isnan_use=no
42718 fi
42719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42720 ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42725
42726
42727 fi
42728
42729 fi
42730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42731 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42732
42733 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42734
42735 for ac_func in isnan
42736 do
42737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42738 echo "$as_me:$LINENO: checking for $ac_func" >&5
42739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42740 if eval "test \"\${$as_ac_var+set}\" = set"; then
42741 echo $ECHO_N "(cached) $ECHO_C" >&6
42742 else
42743 if test x$gcc_no_link = xyes; then
42744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42746 { (exit 1); exit 1; }; }
42747 fi
42748 cat >conftest.$ac_ext <<_ACEOF
42749 /* confdefs.h. */
42750 _ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42756 #define $ac_func innocuous_$ac_func
42757
42758 /* System header to define __stub macros and hopefully few prototypes,
42759 which can conflict with char $ac_func (); below.
42760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42761 <limits.h> exists even on freestanding compilers. */
42762
42763 #ifdef __STDC__
42764 # include <limits.h>
42765 #else
42766 # include <assert.h>
42767 #endif
42768
42769 #undef $ac_func
42770
42771 /* Override any gcc2 internal prototype to avoid an error. */
42772 #ifdef __cplusplus
42773 extern "C"
42774 {
42775 #endif
42776 /* We use char because int might match the return type of a gcc2
42777 builtin and then its argument prototype would still apply. */
42778 char $ac_func ();
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42783 choke me
42784 #else
42785 char (*f) () = $ac_func;
42786 #endif
42787 #ifdef __cplusplus
42788 }
42789 #endif
42790
42791 int
42792 main ()
42793 {
42794 return f != $ac_func;
42795 ;
42796 return 0;
42797 }
42798 _ACEOF
42799 rm -f conftest.$ac_objext conftest$ac_exeext
42800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42801 (eval $ac_link) 2>conftest.er1
42802 ac_status=$?
42803 grep -v '^ *+' conftest.er1 >conftest.err
42804 rm -f conftest.er1
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } &&
42808 { ac_try='test -z "$ac_c_werror_flag"
42809 || test ! -s conftest.err'
42810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42811 (eval $ac_try) 2>&5
42812 ac_status=$?
42813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42814 (exit $ac_status); }; } &&
42815 { ac_try='test -s conftest$ac_exeext'
42816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42817 (eval $ac_try) 2>&5
42818 ac_status=$?
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); }; }; then
42821 eval "$as_ac_var=yes"
42822 else
42823 echo "$as_me: failed program was:" >&5
42824 sed 's/^/| /' conftest.$ac_ext >&5
42825
42826 eval "$as_ac_var=no"
42827 fi
42828 rm -f conftest.err conftest.$ac_objext \
42829 conftest$ac_exeext conftest.$ac_ext
42830 fi
42831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42833 if test `eval echo '${'$as_ac_var'}'` = yes; then
42834 cat >>confdefs.h <<_ACEOF
42835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42836 _ACEOF
42837
42838 fi
42839 done
42840
42841 else
42842
42843 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42844 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42845 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42846 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 else
42849
42850
42851
42852 ac_ext=cc
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857
42858 cat >conftest.$ac_ext <<_ACEOF
42859 /* confdefs.h. */
42860 _ACEOF
42861 cat confdefs.h >>conftest.$ac_ext
42862 cat >>conftest.$ac_ext <<_ACEOF
42863 /* end confdefs.h. */
42864 #include <math.h>
42865 #ifdef HAVE_IEEEFP_H
42866 #include <ieeefp.h>
42867 #endif
42868
42869 int
42870 main ()
42871 {
42872 _isnan(0);
42873 ;
42874 return 0;
42875 }
42876 _ACEOF
42877 rm -f conftest.$ac_objext
42878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42879 (eval $ac_compile) 2>conftest.er1
42880 ac_status=$?
42881 grep -v '^ *+' conftest.er1 >conftest.err
42882 rm -f conftest.er1
42883 cat conftest.err >&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); } &&
42886 { ac_try='test -z "$ac_cxx_werror_flag"
42887 || test ! -s conftest.err'
42888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42889 (eval $ac_try) 2>&5
42890 ac_status=$?
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); }; } &&
42893 { ac_try='test -s conftest.$ac_objext'
42894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42895 (eval $ac_try) 2>&5
42896 ac_status=$?
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); }; }; then
42899 glibcxx_cv_func__isnan_use=yes
42900 else
42901 echo "$as_me: failed program was:" >&5
42902 sed 's/^/| /' conftest.$ac_ext >&5
42903
42904 glibcxx_cv_func__isnan_use=no
42905 fi
42906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42907 ac_ext=c
42908 ac_cpp='$CPP $CPPFLAGS'
42909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42912
42913
42914 fi
42915
42916 fi
42917 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42918 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
42919
42920 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42921
42922 for ac_func in _isnan
42923 do
42924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42925 echo "$as_me:$LINENO: checking for $ac_func" >&5
42926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42927 if eval "test \"\${$as_ac_var+set}\" = set"; then
42928 echo $ECHO_N "(cached) $ECHO_C" >&6
42929 else
42930 if test x$gcc_no_link = xyes; then
42931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42933 { (exit 1); exit 1; }; }
42934 fi
42935 cat >conftest.$ac_ext <<_ACEOF
42936 /* confdefs.h. */
42937 _ACEOF
42938 cat confdefs.h >>conftest.$ac_ext
42939 cat >>conftest.$ac_ext <<_ACEOF
42940 /* end confdefs.h. */
42941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42943 #define $ac_func innocuous_$ac_func
42944
42945 /* System header to define __stub macros and hopefully few prototypes,
42946 which can conflict with char $ac_func (); below.
42947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42948 <limits.h> exists even on freestanding compilers. */
42949
42950 #ifdef __STDC__
42951 # include <limits.h>
42952 #else
42953 # include <assert.h>
42954 #endif
42955
42956 #undef $ac_func
42957
42958 /* Override any gcc2 internal prototype to avoid an error. */
42959 #ifdef __cplusplus
42960 extern "C"
42961 {
42962 #endif
42963 /* We use char because int might match the return type of a gcc2
42964 builtin and then its argument prototype would still apply. */
42965 char $ac_func ();
42966 /* The GNU C library defines this for functions which it implements
42967 to always fail with ENOSYS. Some functions are actually named
42968 something starting with __ and the normal name is an alias. */
42969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42970 choke me
42971 #else
42972 char (*f) () = $ac_func;
42973 #endif
42974 #ifdef __cplusplus
42975 }
42976 #endif
42977
42978 int
42979 main ()
42980 {
42981 return f != $ac_func;
42982 ;
42983 return 0;
42984 }
42985 _ACEOF
42986 rm -f conftest.$ac_objext conftest$ac_exeext
42987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42988 (eval $ac_link) 2>conftest.er1
42989 ac_status=$?
42990 grep -v '^ *+' conftest.er1 >conftest.err
42991 rm -f conftest.er1
42992 cat conftest.err >&5
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); } &&
42995 { ac_try='test -z "$ac_c_werror_flag"
42996 || test ! -s conftest.err'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
42999 ac_status=$?
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; } &&
43002 { ac_try='test -s conftest$ac_exeext'
43003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43004 (eval $ac_try) 2>&5
43005 ac_status=$?
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; }; then
43008 eval "$as_ac_var=yes"
43009 else
43010 echo "$as_me: failed program was:" >&5
43011 sed 's/^/| /' conftest.$ac_ext >&5
43012
43013 eval "$as_ac_var=no"
43014 fi
43015 rm -f conftest.err conftest.$ac_objext \
43016 conftest$ac_exeext conftest.$ac_ext
43017 fi
43018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43020 if test `eval echo '${'$as_ac_var'}'` = yes; then
43021 cat >>confdefs.h <<_ACEOF
43022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43023 _ACEOF
43024
43025 fi
43026 done
43027
43028 fi
43029 fi
43030
43031
43032
43033
43034
43035
43036 echo "$as_me:$LINENO: checking for finite declaration" >&5
43037 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43038 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43039 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43041 else
43042
43043
43044
43045 ac_ext=cc
43046 ac_cpp='$CXXCPP $CPPFLAGS'
43047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43050
43051 cat >conftest.$ac_ext <<_ACEOF
43052 /* confdefs.h. */
43053 _ACEOF
43054 cat confdefs.h >>conftest.$ac_ext
43055 cat >>conftest.$ac_ext <<_ACEOF
43056 /* end confdefs.h. */
43057 #include <math.h>
43058 #ifdef HAVE_IEEEFP_H
43059 #include <ieeefp.h>
43060 #endif
43061
43062 int
43063 main ()
43064 {
43065 finite(0);
43066 ;
43067 return 0;
43068 }
43069 _ACEOF
43070 rm -f conftest.$ac_objext
43071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43072 (eval $ac_compile) 2>conftest.er1
43073 ac_status=$?
43074 grep -v '^ *+' conftest.er1 >conftest.err
43075 rm -f conftest.er1
43076 cat conftest.err >&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); } &&
43079 { ac_try='test -z "$ac_cxx_werror_flag"
43080 || test ! -s conftest.err'
43081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43082 (eval $ac_try) 2>&5
43083 ac_status=$?
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); }; } &&
43086 { ac_try='test -s conftest.$ac_objext'
43087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43088 (eval $ac_try) 2>&5
43089 ac_status=$?
43090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091 (exit $ac_status); }; }; then
43092 glibcxx_cv_func_finite_use=yes
43093 else
43094 echo "$as_me: failed program was:" >&5
43095 sed 's/^/| /' conftest.$ac_ext >&5
43096
43097 glibcxx_cv_func_finite_use=no
43098 fi
43099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43100 ac_ext=c
43101 ac_cpp='$CPP $CPPFLAGS'
43102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43105
43106
43107 fi
43108
43109 fi
43110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43111 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43112
43113 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43114
43115 for ac_func in finite
43116 do
43117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43118 echo "$as_me:$LINENO: checking for $ac_func" >&5
43119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43120 if eval "test \"\${$as_ac_var+set}\" = set"; then
43121 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 else
43123 if test x$gcc_no_link = xyes; then
43124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43126 { (exit 1); exit 1; }; }
43127 fi
43128 cat >conftest.$ac_ext <<_ACEOF
43129 /* confdefs.h. */
43130 _ACEOF
43131 cat confdefs.h >>conftest.$ac_ext
43132 cat >>conftest.$ac_ext <<_ACEOF
43133 /* end confdefs.h. */
43134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43136 #define $ac_func innocuous_$ac_func
43137
43138 /* System header to define __stub macros and hopefully few prototypes,
43139 which can conflict with char $ac_func (); below.
43140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43141 <limits.h> exists even on freestanding compilers. */
43142
43143 #ifdef __STDC__
43144 # include <limits.h>
43145 #else
43146 # include <assert.h>
43147 #endif
43148
43149 #undef $ac_func
43150
43151 /* Override any gcc2 internal prototype to avoid an error. */
43152 #ifdef __cplusplus
43153 extern "C"
43154 {
43155 #endif
43156 /* We use char because int might match the return type of a gcc2
43157 builtin and then its argument prototype would still apply. */
43158 char $ac_func ();
43159 /* The GNU C library defines this for functions which it implements
43160 to always fail with ENOSYS. Some functions are actually named
43161 something starting with __ and the normal name is an alias. */
43162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43163 choke me
43164 #else
43165 char (*f) () = $ac_func;
43166 #endif
43167 #ifdef __cplusplus
43168 }
43169 #endif
43170
43171 int
43172 main ()
43173 {
43174 return f != $ac_func;
43175 ;
43176 return 0;
43177 }
43178 _ACEOF
43179 rm -f conftest.$ac_objext conftest$ac_exeext
43180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43181 (eval $ac_link) 2>conftest.er1
43182 ac_status=$?
43183 grep -v '^ *+' conftest.er1 >conftest.err
43184 rm -f conftest.er1
43185 cat conftest.err >&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); } &&
43188 { ac_try='test -z "$ac_c_werror_flag"
43189 || test ! -s conftest.err'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43192 ac_status=$?
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; } &&
43195 { ac_try='test -s conftest$ac_exeext'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; }; then
43201 eval "$as_ac_var=yes"
43202 else
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.$ac_ext >&5
43205
43206 eval "$as_ac_var=no"
43207 fi
43208 rm -f conftest.err conftest.$ac_objext \
43209 conftest$ac_exeext conftest.$ac_ext
43210 fi
43211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43213 if test `eval echo '${'$as_ac_var'}'` = yes; then
43214 cat >>confdefs.h <<_ACEOF
43215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43216 _ACEOF
43217
43218 fi
43219 done
43220
43221 else
43222
43223 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43224 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43226 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43227 echo $ECHO_N "(cached) $ECHO_C" >&6
43228 else
43229
43230
43231
43232 ac_ext=cc
43233 ac_cpp='$CXXCPP $CPPFLAGS'
43234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237
43238 cat >conftest.$ac_ext <<_ACEOF
43239 /* confdefs.h. */
43240 _ACEOF
43241 cat confdefs.h >>conftest.$ac_ext
43242 cat >>conftest.$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244 #include <math.h>
43245 #ifdef HAVE_IEEEFP_H
43246 #include <ieeefp.h>
43247 #endif
43248
43249 int
43250 main ()
43251 {
43252 _finite(0);
43253 ;
43254 return 0;
43255 }
43256 _ACEOF
43257 rm -f conftest.$ac_objext
43258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43259 (eval $ac_compile) 2>conftest.er1
43260 ac_status=$?
43261 grep -v '^ *+' conftest.er1 >conftest.err
43262 rm -f conftest.er1
43263 cat conftest.err >&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); } &&
43266 { ac_try='test -z "$ac_cxx_werror_flag"
43267 || test ! -s conftest.err'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; } &&
43273 { ac_try='test -s conftest.$ac_objext'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; }; then
43279 glibcxx_cv_func__finite_use=yes
43280 else
43281 echo "$as_me: failed program was:" >&5
43282 sed 's/^/| /' conftest.$ac_ext >&5
43283
43284 glibcxx_cv_func__finite_use=no
43285 fi
43286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43287 ac_ext=c
43288 ac_cpp='$CPP $CPPFLAGS'
43289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43292
43293
43294 fi
43295
43296 fi
43297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43298 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43299
43300 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43301
43302 for ac_func in _finite
43303 do
43304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43305 echo "$as_me:$LINENO: checking for $ac_func" >&5
43306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43307 if eval "test \"\${$as_ac_var+set}\" = set"; then
43308 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 else
43310 if test x$gcc_no_link = xyes; then
43311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43313 { (exit 1); exit 1; }; }
43314 fi
43315 cat >conftest.$ac_ext <<_ACEOF
43316 /* confdefs.h. */
43317 _ACEOF
43318 cat confdefs.h >>conftest.$ac_ext
43319 cat >>conftest.$ac_ext <<_ACEOF
43320 /* end confdefs.h. */
43321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43323 #define $ac_func innocuous_$ac_func
43324
43325 /* System header to define __stub macros and hopefully few prototypes,
43326 which can conflict with char $ac_func (); below.
43327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43328 <limits.h> exists even on freestanding compilers. */
43329
43330 #ifdef __STDC__
43331 # include <limits.h>
43332 #else
43333 # include <assert.h>
43334 #endif
43335
43336 #undef $ac_func
43337
43338 /* Override any gcc2 internal prototype to avoid an error. */
43339 #ifdef __cplusplus
43340 extern "C"
43341 {
43342 #endif
43343 /* We use char because int might match the return type of a gcc2
43344 builtin and then its argument prototype would still apply. */
43345 char $ac_func ();
43346 /* The GNU C library defines this for functions which it implements
43347 to always fail with ENOSYS. Some functions are actually named
43348 something starting with __ and the normal name is an alias. */
43349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43350 choke me
43351 #else
43352 char (*f) () = $ac_func;
43353 #endif
43354 #ifdef __cplusplus
43355 }
43356 #endif
43357
43358 int
43359 main ()
43360 {
43361 return f != $ac_func;
43362 ;
43363 return 0;
43364 }
43365 _ACEOF
43366 rm -f conftest.$ac_objext conftest$ac_exeext
43367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43368 (eval $ac_link) 2>conftest.er1
43369 ac_status=$?
43370 grep -v '^ *+' conftest.er1 >conftest.err
43371 rm -f conftest.er1
43372 cat conftest.err >&5
43373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374 (exit $ac_status); } &&
43375 { ac_try='test -z "$ac_c_werror_flag"
43376 || test ! -s conftest.err'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43379 ac_status=$?
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; } &&
43382 { ac_try='test -s conftest$ac_exeext'
43383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43384 (eval $ac_try) 2>&5
43385 ac_status=$?
43386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43387 (exit $ac_status); }; }; then
43388 eval "$as_ac_var=yes"
43389 else
43390 echo "$as_me: failed program was:" >&5
43391 sed 's/^/| /' conftest.$ac_ext >&5
43392
43393 eval "$as_ac_var=no"
43394 fi
43395 rm -f conftest.err conftest.$ac_objext \
43396 conftest$ac_exeext conftest.$ac_ext
43397 fi
43398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43400 if test `eval echo '${'$as_ac_var'}'` = yes; then
43401 cat >>confdefs.h <<_ACEOF
43402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43403 _ACEOF
43404
43405 fi
43406 done
43407
43408 fi
43409 fi
43410
43411
43412
43413
43414
43415
43416 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43417 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43418 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43419 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43420 echo $ECHO_N "(cached) $ECHO_C" >&6
43421 else
43422
43423
43424
43425 ac_ext=cc
43426 ac_cpp='$CXXCPP $CPPFLAGS'
43427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43430
43431 cat >conftest.$ac_ext <<_ACEOF
43432 /* confdefs.h. */
43433 _ACEOF
43434 cat confdefs.h >>conftest.$ac_ext
43435 cat >>conftest.$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43437 #include <math.h>
43438 int
43439 main ()
43440 {
43441 sincos(0, 0, 0);
43442 ;
43443 return 0;
43444 }
43445 _ACEOF
43446 rm -f conftest.$ac_objext
43447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43448 (eval $ac_compile) 2>conftest.er1
43449 ac_status=$?
43450 grep -v '^ *+' conftest.er1 >conftest.err
43451 rm -f conftest.er1
43452 cat conftest.err >&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } &&
43455 { ac_try='test -z "$ac_cxx_werror_flag"
43456 || test ! -s conftest.err'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43459 ac_status=$?
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; } &&
43462 { ac_try='test -s conftest.$ac_objext'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43465 ac_status=$?
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; }; then
43468 glibcxx_cv_func_sincos_use=yes
43469 else
43470 echo "$as_me: failed program was:" >&5
43471 sed 's/^/| /' conftest.$ac_ext >&5
43472
43473 glibcxx_cv_func_sincos_use=no
43474 fi
43475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481
43482
43483 fi
43484
43485 fi
43486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43487 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43488
43489 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43490
43491 for ac_func in sincos
43492 do
43493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43494 echo "$as_me:$LINENO: checking for $ac_func" >&5
43495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43496 if eval "test \"\${$as_ac_var+set}\" = set"; then
43497 echo $ECHO_N "(cached) $ECHO_C" >&6
43498 else
43499 if test x$gcc_no_link = xyes; then
43500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43502 { (exit 1); exit 1; }; }
43503 fi
43504 cat >conftest.$ac_ext <<_ACEOF
43505 /* confdefs.h. */
43506 _ACEOF
43507 cat confdefs.h >>conftest.$ac_ext
43508 cat >>conftest.$ac_ext <<_ACEOF
43509 /* end confdefs.h. */
43510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43512 #define $ac_func innocuous_$ac_func
43513
43514 /* System header to define __stub macros and hopefully few prototypes,
43515 which can conflict with char $ac_func (); below.
43516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43517 <limits.h> exists even on freestanding compilers. */
43518
43519 #ifdef __STDC__
43520 # include <limits.h>
43521 #else
43522 # include <assert.h>
43523 #endif
43524
43525 #undef $ac_func
43526
43527 /* Override any gcc2 internal prototype to avoid an error. */
43528 #ifdef __cplusplus
43529 extern "C"
43530 {
43531 #endif
43532 /* We use char because int might match the return type of a gcc2
43533 builtin and then its argument prototype would still apply. */
43534 char $ac_func ();
43535 /* The GNU C library defines this for functions which it implements
43536 to always fail with ENOSYS. Some functions are actually named
43537 something starting with __ and the normal name is an alias. */
43538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43539 choke me
43540 #else
43541 char (*f) () = $ac_func;
43542 #endif
43543 #ifdef __cplusplus
43544 }
43545 #endif
43546
43547 int
43548 main ()
43549 {
43550 return f != $ac_func;
43551 ;
43552 return 0;
43553 }
43554 _ACEOF
43555 rm -f conftest.$ac_objext conftest$ac_exeext
43556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43557 (eval $ac_link) 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } &&
43564 { ac_try='test -z "$ac_c_werror_flag"
43565 || test ! -s conftest.err'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; } &&
43571 { ac_try='test -s conftest$ac_exeext'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; }; then
43577 eval "$as_ac_var=yes"
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43581
43582 eval "$as_ac_var=no"
43583 fi
43584 rm -f conftest.err conftest.$ac_objext \
43585 conftest$ac_exeext conftest.$ac_ext
43586 fi
43587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43589 if test `eval echo '${'$as_ac_var'}'` = yes; then
43590 cat >>confdefs.h <<_ACEOF
43591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43592 _ACEOF
43593
43594 fi
43595 done
43596
43597 else
43598
43599 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43600 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43601 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43602 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43603 echo $ECHO_N "(cached) $ECHO_C" >&6
43604 else
43605
43606
43607
43608 ac_ext=cc
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43613
43614 cat >conftest.$ac_ext <<_ACEOF
43615 /* confdefs.h. */
43616 _ACEOF
43617 cat confdefs.h >>conftest.$ac_ext
43618 cat >>conftest.$ac_ext <<_ACEOF
43619 /* end confdefs.h. */
43620 #include <math.h>
43621 int
43622 main ()
43623 {
43624 _sincos(0, 0, 0);
43625 ;
43626 return 0;
43627 }
43628 _ACEOF
43629 rm -f conftest.$ac_objext
43630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43631 (eval $ac_compile) 2>conftest.er1
43632 ac_status=$?
43633 grep -v '^ *+' conftest.er1 >conftest.err
43634 rm -f conftest.er1
43635 cat conftest.err >&5
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); } &&
43638 { ac_try='test -z "$ac_cxx_werror_flag"
43639 || test ! -s conftest.err'
43640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43641 (eval $ac_try) 2>&5
43642 ac_status=$?
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; } &&
43645 { ac_try='test -s conftest.$ac_objext'
43646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43647 (eval $ac_try) 2>&5
43648 ac_status=$?
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); }; }; then
43651 glibcxx_cv_func__sincos_use=yes
43652 else
43653 echo "$as_me: failed program was:" >&5
43654 sed 's/^/| /' conftest.$ac_ext >&5
43655
43656 glibcxx_cv_func__sincos_use=no
43657 fi
43658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43659 ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664
43665
43666 fi
43667
43668 fi
43669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43670 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43671
43672 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43673
43674 for ac_func in _sincos
43675 do
43676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43677 echo "$as_me:$LINENO: checking for $ac_func" >&5
43678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43679 if eval "test \"\${$as_ac_var+set}\" = set"; then
43680 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 else
43682 if test x$gcc_no_link = xyes; then
43683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43685 { (exit 1); exit 1; }; }
43686 fi
43687 cat >conftest.$ac_ext <<_ACEOF
43688 /* confdefs.h. */
43689 _ACEOF
43690 cat confdefs.h >>conftest.$ac_ext
43691 cat >>conftest.$ac_ext <<_ACEOF
43692 /* end confdefs.h. */
43693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43695 #define $ac_func innocuous_$ac_func
43696
43697 /* System header to define __stub macros and hopefully few prototypes,
43698 which can conflict with char $ac_func (); below.
43699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43700 <limits.h> exists even on freestanding compilers. */
43701
43702 #ifdef __STDC__
43703 # include <limits.h>
43704 #else
43705 # include <assert.h>
43706 #endif
43707
43708 #undef $ac_func
43709
43710 /* Override any gcc2 internal prototype to avoid an error. */
43711 #ifdef __cplusplus
43712 extern "C"
43713 {
43714 #endif
43715 /* We use char because int might match the return type of a gcc2
43716 builtin and then its argument prototype would still apply. */
43717 char $ac_func ();
43718 /* The GNU C library defines this for functions which it implements
43719 to always fail with ENOSYS. Some functions are actually named
43720 something starting with __ and the normal name is an alias. */
43721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43722 choke me
43723 #else
43724 char (*f) () = $ac_func;
43725 #endif
43726 #ifdef __cplusplus
43727 }
43728 #endif
43729
43730 int
43731 main ()
43732 {
43733 return f != $ac_func;
43734 ;
43735 return 0;
43736 }
43737 _ACEOF
43738 rm -f conftest.$ac_objext conftest$ac_exeext
43739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43740 (eval $ac_link) 2>conftest.er1
43741 ac_status=$?
43742 grep -v '^ *+' conftest.er1 >conftest.err
43743 rm -f conftest.er1
43744 cat conftest.err >&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); } &&
43747 { ac_try='test -z "$ac_c_werror_flag"
43748 || test ! -s conftest.err'
43749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43750 (eval $ac_try) 2>&5
43751 ac_status=$?
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); }; } &&
43754 { ac_try='test -s conftest$ac_exeext'
43755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43756 (eval $ac_try) 2>&5
43757 ac_status=$?
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43760 eval "$as_ac_var=yes"
43761 else
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.$ac_ext >&5
43764
43765 eval "$as_ac_var=no"
43766 fi
43767 rm -f conftest.err conftest.$ac_objext \
43768 conftest$ac_exeext conftest.$ac_ext
43769 fi
43770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43772 if test `eval echo '${'$as_ac_var'}'` = yes; then
43773 cat >>confdefs.h <<_ACEOF
43774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43775 _ACEOF
43776
43777 fi
43778 done
43779
43780 fi
43781 fi
43782
43783
43784
43785
43786
43787
43788 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
43789 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
43790 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43791 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43793 else
43794
43795
43796
43797 ac_ext=cc
43798 ac_cpp='$CXXCPP $CPPFLAGS'
43799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802
43803 cat >conftest.$ac_ext <<_ACEOF
43804 /* confdefs.h. */
43805 _ACEOF
43806 cat confdefs.h >>conftest.$ac_ext
43807 cat >>conftest.$ac_ext <<_ACEOF
43808 /* end confdefs.h. */
43809 #include <math.h>
43810 #ifdef HAVE_IEEEFP_H
43811 #include <ieeefp.h>
43812 #endif
43813
43814 int
43815 main ()
43816 {
43817 fpclass(0);
43818 ;
43819 return 0;
43820 }
43821 _ACEOF
43822 rm -f conftest.$ac_objext
43823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43824 (eval $ac_compile) 2>conftest.er1
43825 ac_status=$?
43826 grep -v '^ *+' conftest.er1 >conftest.err
43827 rm -f conftest.er1
43828 cat conftest.err >&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); } &&
43831 { ac_try='test -z "$ac_cxx_werror_flag"
43832 || test ! -s conftest.err'
43833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43834 (eval $ac_try) 2>&5
43835 ac_status=$?
43836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837 (exit $ac_status); }; } &&
43838 { ac_try='test -s conftest.$ac_objext'
43839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43840 (eval $ac_try) 2>&5
43841 ac_status=$?
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); }; }; then
43844 glibcxx_cv_func_fpclass_use=yes
43845 else
43846 echo "$as_me: failed program was:" >&5
43847 sed 's/^/| /' conftest.$ac_ext >&5
43848
43849 glibcxx_cv_func_fpclass_use=no
43850 fi
43851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43852 ac_ext=c
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43857
43858
43859 fi
43860
43861 fi
43862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
43863 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
43864
43865 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43866
43867 for ac_func in fpclass
43868 do
43869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43870 echo "$as_me:$LINENO: checking for $ac_func" >&5
43871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43872 if eval "test \"\${$as_ac_var+set}\" = set"; then
43873 echo $ECHO_N "(cached) $ECHO_C" >&6
43874 else
43875 if test x$gcc_no_link = xyes; then
43876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43878 { (exit 1); exit 1; }; }
43879 fi
43880 cat >conftest.$ac_ext <<_ACEOF
43881 /* confdefs.h. */
43882 _ACEOF
43883 cat confdefs.h >>conftest.$ac_ext
43884 cat >>conftest.$ac_ext <<_ACEOF
43885 /* end confdefs.h. */
43886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43888 #define $ac_func innocuous_$ac_func
43889
43890 /* System header to define __stub macros and hopefully few prototypes,
43891 which can conflict with char $ac_func (); below.
43892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43893 <limits.h> exists even on freestanding compilers. */
43894
43895 #ifdef __STDC__
43896 # include <limits.h>
43897 #else
43898 # include <assert.h>
43899 #endif
43900
43901 #undef $ac_func
43902
43903 /* Override any gcc2 internal prototype to avoid an error. */
43904 #ifdef __cplusplus
43905 extern "C"
43906 {
43907 #endif
43908 /* We use char because int might match the return type of a gcc2
43909 builtin and then its argument prototype would still apply. */
43910 char $ac_func ();
43911 /* The GNU C library defines this for functions which it implements
43912 to always fail with ENOSYS. Some functions are actually named
43913 something starting with __ and the normal name is an alias. */
43914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43915 choke me
43916 #else
43917 char (*f) () = $ac_func;
43918 #endif
43919 #ifdef __cplusplus
43920 }
43921 #endif
43922
43923 int
43924 main ()
43925 {
43926 return f != $ac_func;
43927 ;
43928 return 0;
43929 }
43930 _ACEOF
43931 rm -f conftest.$ac_objext conftest$ac_exeext
43932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43933 (eval $ac_link) 2>conftest.er1
43934 ac_status=$?
43935 grep -v '^ *+' conftest.er1 >conftest.err
43936 rm -f conftest.er1
43937 cat conftest.err >&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } &&
43940 { ac_try='test -z "$ac_c_werror_flag"
43941 || test ! -s conftest.err'
43942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43943 (eval $ac_try) 2>&5
43944 ac_status=$?
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); }; } &&
43947 { ac_try='test -s conftest$ac_exeext'
43948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43949 (eval $ac_try) 2>&5
43950 ac_status=$?
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); }; }; then
43953 eval "$as_ac_var=yes"
43954 else
43955 echo "$as_me: failed program was:" >&5
43956 sed 's/^/| /' conftest.$ac_ext >&5
43957
43958 eval "$as_ac_var=no"
43959 fi
43960 rm -f conftest.err conftest.$ac_objext \
43961 conftest$ac_exeext conftest.$ac_ext
43962 fi
43963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43965 if test `eval echo '${'$as_ac_var'}'` = yes; then
43966 cat >>confdefs.h <<_ACEOF
43967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43968 _ACEOF
43969
43970 fi
43971 done
43972
43973 else
43974
43975 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
43976 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
43977 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43978 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
43979 echo $ECHO_N "(cached) $ECHO_C" >&6
43980 else
43981
43982
43983
43984 ac_ext=cc
43985 ac_cpp='$CXXCPP $CPPFLAGS'
43986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43989
43990 cat >conftest.$ac_ext <<_ACEOF
43991 /* confdefs.h. */
43992 _ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
43996 #include <math.h>
43997 #ifdef HAVE_IEEEFP_H
43998 #include <ieeefp.h>
43999 #endif
44000
44001 int
44002 main ()
44003 {
44004 _fpclass(0);
44005 ;
44006 return 0;
44007 }
44008 _ACEOF
44009 rm -f conftest.$ac_objext
44010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44011 (eval $ac_compile) 2>conftest.er1
44012 ac_status=$?
44013 grep -v '^ *+' conftest.er1 >conftest.err
44014 rm -f conftest.er1
44015 cat conftest.err >&5
44016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44017 (exit $ac_status); } &&
44018 { ac_try='test -z "$ac_cxx_werror_flag"
44019 || test ! -s conftest.err'
44020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44021 (eval $ac_try) 2>&5
44022 ac_status=$?
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); }; } &&
44025 { ac_try='test -s conftest.$ac_objext'
44026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027 (eval $ac_try) 2>&5
44028 ac_status=$?
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); }; }; then
44031 glibcxx_cv_func__fpclass_use=yes
44032 else
44033 echo "$as_me: failed program was:" >&5
44034 sed 's/^/| /' conftest.$ac_ext >&5
44035
44036 glibcxx_cv_func__fpclass_use=no
44037 fi
44038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44039 ac_ext=c
44040 ac_cpp='$CPP $CPPFLAGS'
44041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44044
44045
44046 fi
44047
44048 fi
44049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44050 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44051
44052 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44053
44054 for ac_func in _fpclass
44055 do
44056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44057 echo "$as_me:$LINENO: checking for $ac_func" >&5
44058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44059 if eval "test \"\${$as_ac_var+set}\" = set"; then
44060 echo $ECHO_N "(cached) $ECHO_C" >&6
44061 else
44062 if test x$gcc_no_link = xyes; then
44063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44065 { (exit 1); exit 1; }; }
44066 fi
44067 cat >conftest.$ac_ext <<_ACEOF
44068 /* confdefs.h. */
44069 _ACEOF
44070 cat confdefs.h >>conftest.$ac_ext
44071 cat >>conftest.$ac_ext <<_ACEOF
44072 /* end confdefs.h. */
44073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44075 #define $ac_func innocuous_$ac_func
44076
44077 /* System header to define __stub macros and hopefully few prototypes,
44078 which can conflict with char $ac_func (); below.
44079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44080 <limits.h> exists even on freestanding compilers. */
44081
44082 #ifdef __STDC__
44083 # include <limits.h>
44084 #else
44085 # include <assert.h>
44086 #endif
44087
44088 #undef $ac_func
44089
44090 /* Override any gcc2 internal prototype to avoid an error. */
44091 #ifdef __cplusplus
44092 extern "C"
44093 {
44094 #endif
44095 /* We use char because int might match the return type of a gcc2
44096 builtin and then its argument prototype would still apply. */
44097 char $ac_func ();
44098 /* The GNU C library defines this for functions which it implements
44099 to always fail with ENOSYS. Some functions are actually named
44100 something starting with __ and the normal name is an alias. */
44101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44102 choke me
44103 #else
44104 char (*f) () = $ac_func;
44105 #endif
44106 #ifdef __cplusplus
44107 }
44108 #endif
44109
44110 int
44111 main ()
44112 {
44113 return f != $ac_func;
44114 ;
44115 return 0;
44116 }
44117 _ACEOF
44118 rm -f conftest.$ac_objext conftest$ac_exeext
44119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44120 (eval $ac_link) 2>conftest.er1
44121 ac_status=$?
44122 grep -v '^ *+' conftest.er1 >conftest.err
44123 rm -f conftest.er1
44124 cat conftest.err >&5
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); } &&
44127 { ac_try='test -z "$ac_c_werror_flag"
44128 || test ! -s conftest.err'
44129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130 (eval $ac_try) 2>&5
44131 ac_status=$?
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; } &&
44134 { ac_try='test -s conftest$ac_exeext'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44137 ac_status=$?
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; }; then
44140 eval "$as_ac_var=yes"
44141 else
44142 echo "$as_me: failed program was:" >&5
44143 sed 's/^/| /' conftest.$ac_ext >&5
44144
44145 eval "$as_ac_var=no"
44146 fi
44147 rm -f conftest.err conftest.$ac_objext \
44148 conftest$ac_exeext conftest.$ac_ext
44149 fi
44150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44152 if test `eval echo '${'$as_ac_var'}'` = yes; then
44153 cat >>confdefs.h <<_ACEOF
44154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44155 _ACEOF
44156
44157 fi
44158 done
44159
44160 fi
44161 fi
44162
44163
44164
44165
44166
44167
44168 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44169 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44170 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44171 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44172 echo $ECHO_N "(cached) $ECHO_C" >&6
44173 else
44174
44175
44176
44177 ac_ext=cc
44178 ac_cpp='$CXXCPP $CPPFLAGS'
44179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44182
44183 cat >conftest.$ac_ext <<_ACEOF
44184 /* confdefs.h. */
44185 _ACEOF
44186 cat confdefs.h >>conftest.$ac_ext
44187 cat >>conftest.$ac_ext <<_ACEOF
44188 /* end confdefs.h. */
44189 #include <math.h>
44190 #ifdef HAVE_IEEEFP_H
44191 #include <ieeefp.h>
44192 #endif
44193
44194 int
44195 main ()
44196 {
44197 qfpclass(0);
44198 ;
44199 return 0;
44200 }
44201 _ACEOF
44202 rm -f conftest.$ac_objext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44204 (eval $ac_compile) 2>conftest.er1
44205 ac_status=$?
44206 grep -v '^ *+' conftest.er1 >conftest.err
44207 rm -f conftest.er1
44208 cat conftest.err >&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } &&
44211 { ac_try='test -z "$ac_cxx_werror_flag"
44212 || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44215 ac_status=$?
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try='test -s conftest.$ac_objext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 glibcxx_cv_func_qfpclass_use=yes
44225 else
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.$ac_ext >&5
44228
44229 glibcxx_cv_func_qfpclass_use=no
44230 fi
44231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44232 ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44237
44238
44239 fi
44240
44241 fi
44242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44243 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44244
44245 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44246
44247 for ac_func in qfpclass
44248 do
44249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44250 echo "$as_me:$LINENO: checking for $ac_func" >&5
44251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44252 if eval "test \"\${$as_ac_var+set}\" = set"; then
44253 echo $ECHO_N "(cached) $ECHO_C" >&6
44254 else
44255 if test x$gcc_no_link = xyes; then
44256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44258 { (exit 1); exit 1; }; }
44259 fi
44260 cat >conftest.$ac_ext <<_ACEOF
44261 /* confdefs.h. */
44262 _ACEOF
44263 cat confdefs.h >>conftest.$ac_ext
44264 cat >>conftest.$ac_ext <<_ACEOF
44265 /* end confdefs.h. */
44266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44268 #define $ac_func innocuous_$ac_func
44269
44270 /* System header to define __stub macros and hopefully few prototypes,
44271 which can conflict with char $ac_func (); below.
44272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44273 <limits.h> exists even on freestanding compilers. */
44274
44275 #ifdef __STDC__
44276 # include <limits.h>
44277 #else
44278 # include <assert.h>
44279 #endif
44280
44281 #undef $ac_func
44282
44283 /* Override any gcc2 internal prototype to avoid an error. */
44284 #ifdef __cplusplus
44285 extern "C"
44286 {
44287 #endif
44288 /* We use char because int might match the return type of a gcc2
44289 builtin and then its argument prototype would still apply. */
44290 char $ac_func ();
44291 /* The GNU C library defines this for functions which it implements
44292 to always fail with ENOSYS. Some functions are actually named
44293 something starting with __ and the normal name is an alias. */
44294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44295 choke me
44296 #else
44297 char (*f) () = $ac_func;
44298 #endif
44299 #ifdef __cplusplus
44300 }
44301 #endif
44302
44303 int
44304 main ()
44305 {
44306 return f != $ac_func;
44307 ;
44308 return 0;
44309 }
44310 _ACEOF
44311 rm -f conftest.$ac_objext conftest$ac_exeext
44312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44313 (eval $ac_link) 2>conftest.er1
44314 ac_status=$?
44315 grep -v '^ *+' conftest.er1 >conftest.err
44316 rm -f conftest.er1
44317 cat conftest.err >&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); } &&
44320 { ac_try='test -z "$ac_c_werror_flag"
44321 || test ! -s conftest.err'
44322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44323 (eval $ac_try) 2>&5
44324 ac_status=$?
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); }; } &&
44327 { ac_try='test -s conftest$ac_exeext'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; }; then
44333 eval "$as_ac_var=yes"
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44337
44338 eval "$as_ac_var=no"
44339 fi
44340 rm -f conftest.err conftest.$ac_objext \
44341 conftest$ac_exeext conftest.$ac_ext
44342 fi
44343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44345 if test `eval echo '${'$as_ac_var'}'` = yes; then
44346 cat >>confdefs.h <<_ACEOF
44347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44348 _ACEOF
44349
44350 fi
44351 done
44352
44353 else
44354
44355 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44356 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44357 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44358 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44359 echo $ECHO_N "(cached) $ECHO_C" >&6
44360 else
44361
44362
44363
44364 ac_ext=cc
44365 ac_cpp='$CXXCPP $CPPFLAGS'
44366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44369
44370 cat >conftest.$ac_ext <<_ACEOF
44371 /* confdefs.h. */
44372 _ACEOF
44373 cat confdefs.h >>conftest.$ac_ext
44374 cat >>conftest.$ac_ext <<_ACEOF
44375 /* end confdefs.h. */
44376 #include <math.h>
44377 #ifdef HAVE_IEEEFP_H
44378 #include <ieeefp.h>
44379 #endif
44380
44381 int
44382 main ()
44383 {
44384 _qfpclass(0);
44385 ;
44386 return 0;
44387 }
44388 _ACEOF
44389 rm -f conftest.$ac_objext
44390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44391 (eval $ac_compile) 2>conftest.er1
44392 ac_status=$?
44393 grep -v '^ *+' conftest.er1 >conftest.err
44394 rm -f conftest.er1
44395 cat conftest.err >&5
44396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44397 (exit $ac_status); } &&
44398 { ac_try='test -z "$ac_cxx_werror_flag"
44399 || test ! -s conftest.err'
44400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44401 (eval $ac_try) 2>&5
44402 ac_status=$?
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); }; } &&
44405 { ac_try='test -s conftest.$ac_objext'
44406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44407 (eval $ac_try) 2>&5
44408 ac_status=$?
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); }; }; then
44411 glibcxx_cv_func__qfpclass_use=yes
44412 else
44413 echo "$as_me: failed program was:" >&5
44414 sed 's/^/| /' conftest.$ac_ext >&5
44415
44416 glibcxx_cv_func__qfpclass_use=no
44417 fi
44418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44419 ac_ext=c
44420 ac_cpp='$CPP $CPPFLAGS'
44421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44424
44425
44426 fi
44427
44428 fi
44429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44430 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44431
44432 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44433
44434 for ac_func in _qfpclass
44435 do
44436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44437 echo "$as_me:$LINENO: checking for $ac_func" >&5
44438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44439 if eval "test \"\${$as_ac_var+set}\" = set"; then
44440 echo $ECHO_N "(cached) $ECHO_C" >&6
44441 else
44442 if test x$gcc_no_link = xyes; then
44443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44445 { (exit 1); exit 1; }; }
44446 fi
44447 cat >conftest.$ac_ext <<_ACEOF
44448 /* confdefs.h. */
44449 _ACEOF
44450 cat confdefs.h >>conftest.$ac_ext
44451 cat >>conftest.$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44455 #define $ac_func innocuous_$ac_func
44456
44457 /* System header to define __stub macros and hopefully few prototypes,
44458 which can conflict with char $ac_func (); below.
44459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44460 <limits.h> exists even on freestanding compilers. */
44461
44462 #ifdef __STDC__
44463 # include <limits.h>
44464 #else
44465 # include <assert.h>
44466 #endif
44467
44468 #undef $ac_func
44469
44470 /* Override any gcc2 internal prototype to avoid an error. */
44471 #ifdef __cplusplus
44472 extern "C"
44473 {
44474 #endif
44475 /* We use char because int might match the return type of a gcc2
44476 builtin and then its argument prototype would still apply. */
44477 char $ac_func ();
44478 /* The GNU C library defines this for functions which it implements
44479 to always fail with ENOSYS. Some functions are actually named
44480 something starting with __ and the normal name is an alias. */
44481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44482 choke me
44483 #else
44484 char (*f) () = $ac_func;
44485 #endif
44486 #ifdef __cplusplus
44487 }
44488 #endif
44489
44490 int
44491 main ()
44492 {
44493 return f != $ac_func;
44494 ;
44495 return 0;
44496 }
44497 _ACEOF
44498 rm -f conftest.$ac_objext conftest$ac_exeext
44499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44500 (eval $ac_link) 2>conftest.er1
44501 ac_status=$?
44502 grep -v '^ *+' conftest.er1 >conftest.err
44503 rm -f conftest.er1
44504 cat conftest.err >&5
44505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44506 (exit $ac_status); } &&
44507 { ac_try='test -z "$ac_c_werror_flag"
44508 || test ! -s conftest.err'
44509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44510 (eval $ac_try) 2>&5
44511 ac_status=$?
44512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44513 (exit $ac_status); }; } &&
44514 { ac_try='test -s conftest$ac_exeext'
44515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44516 (eval $ac_try) 2>&5
44517 ac_status=$?
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); }; }; then
44520 eval "$as_ac_var=yes"
44521 else
44522 echo "$as_me: failed program was:" >&5
44523 sed 's/^/| /' conftest.$ac_ext >&5
44524
44525 eval "$as_ac_var=no"
44526 fi
44527 rm -f conftest.err conftest.$ac_objext \
44528 conftest$ac_exeext conftest.$ac_ext
44529 fi
44530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44532 if test `eval echo '${'$as_ac_var'}'` = yes; then
44533 cat >>confdefs.h <<_ACEOF
44534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44535 _ACEOF
44536
44537 fi
44538 done
44539
44540 fi
44541 fi
44542
44543
44544
44545
44546
44547
44548 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44549 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44550 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44551 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44552 echo $ECHO_N "(cached) $ECHO_C" >&6
44553 else
44554
44555
44556
44557 ac_ext=cc
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562
44563 cat >conftest.$ac_ext <<_ACEOF
44564 /* confdefs.h. */
44565 _ACEOF
44566 cat confdefs.h >>conftest.$ac_ext
44567 cat >>conftest.$ac_ext <<_ACEOF
44568 /* end confdefs.h. */
44569 #include <math.h>
44570 int
44571 main ()
44572 {
44573 hypot(0, 0);
44574 ;
44575 return 0;
44576 }
44577 _ACEOF
44578 rm -f conftest.$ac_objext
44579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44580 (eval $ac_compile) 2>conftest.er1
44581 ac_status=$?
44582 grep -v '^ *+' conftest.er1 >conftest.err
44583 rm -f conftest.er1
44584 cat conftest.err >&5
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); } &&
44587 { ac_try='test -z "$ac_cxx_werror_flag"
44588 || test ! -s conftest.err'
44589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44590 (eval $ac_try) 2>&5
44591 ac_status=$?
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; } &&
44594 { ac_try='test -s conftest.$ac_objext'
44595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44596 (eval $ac_try) 2>&5
44597 ac_status=$?
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; }; then
44600 glibcxx_cv_func_hypot_use=yes
44601 else
44602 echo "$as_me: failed program was:" >&5
44603 sed 's/^/| /' conftest.$ac_ext >&5
44604
44605 glibcxx_cv_func_hypot_use=no
44606 fi
44607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44608 ac_ext=c
44609 ac_cpp='$CPP $CPPFLAGS'
44610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44613
44614
44615 fi
44616
44617 fi
44618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44619 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44620
44621 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44622
44623 for ac_func in hypot
44624 do
44625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44626 echo "$as_me:$LINENO: checking for $ac_func" >&5
44627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44628 if eval "test \"\${$as_ac_var+set}\" = set"; then
44629 echo $ECHO_N "(cached) $ECHO_C" >&6
44630 else
44631 if test x$gcc_no_link = xyes; then
44632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44634 { (exit 1); exit 1; }; }
44635 fi
44636 cat >conftest.$ac_ext <<_ACEOF
44637 /* confdefs.h. */
44638 _ACEOF
44639 cat confdefs.h >>conftest.$ac_ext
44640 cat >>conftest.$ac_ext <<_ACEOF
44641 /* end confdefs.h. */
44642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44644 #define $ac_func innocuous_$ac_func
44645
44646 /* System header to define __stub macros and hopefully few prototypes,
44647 which can conflict with char $ac_func (); below.
44648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44649 <limits.h> exists even on freestanding compilers. */
44650
44651 #ifdef __STDC__
44652 # include <limits.h>
44653 #else
44654 # include <assert.h>
44655 #endif
44656
44657 #undef $ac_func
44658
44659 /* Override any gcc2 internal prototype to avoid an error. */
44660 #ifdef __cplusplus
44661 extern "C"
44662 {
44663 #endif
44664 /* We use char because int might match the return type of a gcc2
44665 builtin and then its argument prototype would still apply. */
44666 char $ac_func ();
44667 /* The GNU C library defines this for functions which it implements
44668 to always fail with ENOSYS. Some functions are actually named
44669 something starting with __ and the normal name is an alias. */
44670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44671 choke me
44672 #else
44673 char (*f) () = $ac_func;
44674 #endif
44675 #ifdef __cplusplus
44676 }
44677 #endif
44678
44679 int
44680 main ()
44681 {
44682 return f != $ac_func;
44683 ;
44684 return 0;
44685 }
44686 _ACEOF
44687 rm -f conftest.$ac_objext conftest$ac_exeext
44688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44689 (eval $ac_link) 2>conftest.er1
44690 ac_status=$?
44691 grep -v '^ *+' conftest.er1 >conftest.err
44692 rm -f conftest.er1
44693 cat conftest.err >&5
44694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695 (exit $ac_status); } &&
44696 { ac_try='test -z "$ac_c_werror_flag"
44697 || test ! -s conftest.err'
44698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44699 (eval $ac_try) 2>&5
44700 ac_status=$?
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); }; } &&
44703 { ac_try='test -s conftest$ac_exeext'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44706 ac_status=$?
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; }; then
44709 eval "$as_ac_var=yes"
44710 else
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44713
44714 eval "$as_ac_var=no"
44715 fi
44716 rm -f conftest.err conftest.$ac_objext \
44717 conftest$ac_exeext conftest.$ac_ext
44718 fi
44719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44721 if test `eval echo '${'$as_ac_var'}'` = yes; then
44722 cat >>confdefs.h <<_ACEOF
44723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44724 _ACEOF
44725
44726 fi
44727 done
44728
44729 else
44730
44731 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
44732 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
44733 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44734 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
44735 echo $ECHO_N "(cached) $ECHO_C" >&6
44736 else
44737
44738
44739
44740 ac_ext=cc
44741 ac_cpp='$CXXCPP $CPPFLAGS'
44742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44745
44746 cat >conftest.$ac_ext <<_ACEOF
44747 /* confdefs.h. */
44748 _ACEOF
44749 cat confdefs.h >>conftest.$ac_ext
44750 cat >>conftest.$ac_ext <<_ACEOF
44751 /* end confdefs.h. */
44752 #include <math.h>
44753 int
44754 main ()
44755 {
44756 _hypot(0, 0);
44757 ;
44758 return 0;
44759 }
44760 _ACEOF
44761 rm -f conftest.$ac_objext
44762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44763 (eval $ac_compile) 2>conftest.er1
44764 ac_status=$?
44765 grep -v '^ *+' conftest.er1 >conftest.err
44766 rm -f conftest.er1
44767 cat conftest.err >&5
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); } &&
44770 { ac_try='test -z "$ac_cxx_werror_flag"
44771 || test ! -s conftest.err'
44772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44773 (eval $ac_try) 2>&5
44774 ac_status=$?
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); }; } &&
44777 { ac_try='test -s conftest.$ac_objext'
44778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44779 (eval $ac_try) 2>&5
44780 ac_status=$?
44781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782 (exit $ac_status); }; }; then
44783 glibcxx_cv_func__hypot_use=yes
44784 else
44785 echo "$as_me: failed program was:" >&5
44786 sed 's/^/| /' conftest.$ac_ext >&5
44787
44788 glibcxx_cv_func__hypot_use=no
44789 fi
44790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44791 ac_ext=c
44792 ac_cpp='$CPP $CPPFLAGS'
44793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44796
44797
44798 fi
44799
44800 fi
44801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
44802 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
44803
44804 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44805
44806 for ac_func in _hypot
44807 do
44808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44809 echo "$as_me:$LINENO: checking for $ac_func" >&5
44810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44811 if eval "test \"\${$as_ac_var+set}\" = set"; then
44812 echo $ECHO_N "(cached) $ECHO_C" >&6
44813 else
44814 if test x$gcc_no_link = xyes; then
44815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44817 { (exit 1); exit 1; }; }
44818 fi
44819 cat >conftest.$ac_ext <<_ACEOF
44820 /* confdefs.h. */
44821 _ACEOF
44822 cat confdefs.h >>conftest.$ac_ext
44823 cat >>conftest.$ac_ext <<_ACEOF
44824 /* end confdefs.h. */
44825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44827 #define $ac_func innocuous_$ac_func
44828
44829 /* System header to define __stub macros and hopefully few prototypes,
44830 which can conflict with char $ac_func (); below.
44831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44832 <limits.h> exists even on freestanding compilers. */
44833
44834 #ifdef __STDC__
44835 # include <limits.h>
44836 #else
44837 # include <assert.h>
44838 #endif
44839
44840 #undef $ac_func
44841
44842 /* Override any gcc2 internal prototype to avoid an error. */
44843 #ifdef __cplusplus
44844 extern "C"
44845 {
44846 #endif
44847 /* We use char because int might match the return type of a gcc2
44848 builtin and then its argument prototype would still apply. */
44849 char $ac_func ();
44850 /* The GNU C library defines this for functions which it implements
44851 to always fail with ENOSYS. Some functions are actually named
44852 something starting with __ and the normal name is an alias. */
44853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44854 choke me
44855 #else
44856 char (*f) () = $ac_func;
44857 #endif
44858 #ifdef __cplusplus
44859 }
44860 #endif
44861
44862 int
44863 main ()
44864 {
44865 return f != $ac_func;
44866 ;
44867 return 0;
44868 }
44869 _ACEOF
44870 rm -f conftest.$ac_objext conftest$ac_exeext
44871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44872 (eval $ac_link) 2>conftest.er1
44873 ac_status=$?
44874 grep -v '^ *+' conftest.er1 >conftest.err
44875 rm -f conftest.er1
44876 cat conftest.err >&5
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); } &&
44879 { ac_try='test -z "$ac_c_werror_flag"
44880 || test ! -s conftest.err'
44881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44882 (eval $ac_try) 2>&5
44883 ac_status=$?
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); }; } &&
44886 { ac_try='test -s conftest$ac_exeext'
44887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44888 (eval $ac_try) 2>&5
44889 ac_status=$?
44890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44891 (exit $ac_status); }; }; then
44892 eval "$as_ac_var=yes"
44893 else
44894 echo "$as_me: failed program was:" >&5
44895 sed 's/^/| /' conftest.$ac_ext >&5
44896
44897 eval "$as_ac_var=no"
44898 fi
44899 rm -f conftest.err conftest.$ac_objext \
44900 conftest$ac_exeext conftest.$ac_ext
44901 fi
44902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44904 if test `eval echo '${'$as_ac_var'}'` = yes; then
44905 cat >>confdefs.h <<_ACEOF
44906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44907 _ACEOF
44908
44909 fi
44910 done
44911
44912 fi
44913 fi
44914
44915
44916
44917
44918
44919
44920 echo "$as_me:$LINENO: checking for float trig functions" >&5
44921 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
44922 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44925
44926
44927
44928 ac_ext=cc
44929 ac_cpp='$CXXCPP $CPPFLAGS'
44930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44933
44934 cat >conftest.$ac_ext <<_ACEOF
44935 /* confdefs.h. */
44936 _ACEOF
44937 cat confdefs.h >>conftest.$ac_ext
44938 cat >>conftest.$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 int
44942 main ()
44943 {
44944 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44945 ;
44946 return 0;
44947 }
44948 _ACEOF
44949 rm -f conftest.$ac_objext
44950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44951 (eval $ac_compile) 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } &&
44958 { ac_try='test -z "$ac_cxx_werror_flag"
44959 || test ! -s conftest.err'
44960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44961 (eval $ac_try) 2>&5
44962 ac_status=$?
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); }; } &&
44965 { ac_try='test -s conftest.$ac_objext'
44966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967 (eval $ac_try) 2>&5
44968 ac_status=$?
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; }; then
44971 glibcxx_cv_func_float_trig_use=yes
44972 else
44973 echo "$as_me: failed program was:" >&5
44974 sed 's/^/| /' conftest.$ac_ext >&5
44975
44976 glibcxx_cv_func_float_trig_use=no
44977 fi
44978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44979 ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44984
44985 fi
44986
44987 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
44988 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
44989 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45000 do
45001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45002 echo "$as_me:$LINENO: checking for $ac_func" >&5
45003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45004 if eval "test \"\${$as_ac_var+set}\" = set"; then
45005 echo $ECHO_N "(cached) $ECHO_C" >&6
45006 else
45007 if test x$gcc_no_link = xyes; then
45008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45010 { (exit 1); exit 1; }; }
45011 fi
45012 cat >conftest.$ac_ext <<_ACEOF
45013 /* confdefs.h. */
45014 _ACEOF
45015 cat confdefs.h >>conftest.$ac_ext
45016 cat >>conftest.$ac_ext <<_ACEOF
45017 /* end confdefs.h. */
45018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45020 #define $ac_func innocuous_$ac_func
45021
45022 /* System header to define __stub macros and hopefully few prototypes,
45023 which can conflict with char $ac_func (); below.
45024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45025 <limits.h> exists even on freestanding compilers. */
45026
45027 #ifdef __STDC__
45028 # include <limits.h>
45029 #else
45030 # include <assert.h>
45031 #endif
45032
45033 #undef $ac_func
45034
45035 /* Override any gcc2 internal prototype to avoid an error. */
45036 #ifdef __cplusplus
45037 extern "C"
45038 {
45039 #endif
45040 /* We use char because int might match the return type of a gcc2
45041 builtin and then its argument prototype would still apply. */
45042 char $ac_func ();
45043 /* The GNU C library defines this for functions which it implements
45044 to always fail with ENOSYS. Some functions are actually named
45045 something starting with __ and the normal name is an alias. */
45046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45047 choke me
45048 #else
45049 char (*f) () = $ac_func;
45050 #endif
45051 #ifdef __cplusplus
45052 }
45053 #endif
45054
45055 int
45056 main ()
45057 {
45058 return f != $ac_func;
45059 ;
45060 return 0;
45061 }
45062 _ACEOF
45063 rm -f conftest.$ac_objext conftest$ac_exeext
45064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45065 (eval $ac_link) 2>conftest.er1
45066 ac_status=$?
45067 grep -v '^ *+' conftest.er1 >conftest.err
45068 rm -f conftest.er1
45069 cat conftest.err >&5
45070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071 (exit $ac_status); } &&
45072 { ac_try='test -z "$ac_c_werror_flag"
45073 || test ! -s conftest.err'
45074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45075 (eval $ac_try) 2>&5
45076 ac_status=$?
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); }; } &&
45079 { ac_try='test -s conftest$ac_exeext'
45080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45081 (eval $ac_try) 2>&5
45082 ac_status=$?
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); }; }; then
45085 eval "$as_ac_var=yes"
45086 else
45087 echo "$as_me: failed program was:" >&5
45088 sed 's/^/| /' conftest.$ac_ext >&5
45089
45090 eval "$as_ac_var=no"
45091 fi
45092 rm -f conftest.err conftest.$ac_objext \
45093 conftest$ac_exeext conftest.$ac_ext
45094 fi
45095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45097 if test `eval echo '${'$as_ac_var'}'` = yes; then
45098 cat >>confdefs.h <<_ACEOF
45099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45100 _ACEOF
45101
45102 fi
45103 done
45104
45105 else
45106 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45107 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45108 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45109 echo $ECHO_N "(cached) $ECHO_C" >&6
45110 else
45111
45112
45113
45114 ac_ext=cc
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45119
45120 cat >conftest.$ac_ext <<_ACEOF
45121 /* confdefs.h. */
45122 _ACEOF
45123 cat confdefs.h >>conftest.$ac_ext
45124 cat >>conftest.$ac_ext <<_ACEOF
45125 /* end confdefs.h. */
45126 #include <math.h>
45127 int
45128 main ()
45129 {
45130 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45131 ;
45132 return 0;
45133 }
45134 _ACEOF
45135 rm -f conftest.$ac_objext
45136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45137 (eval $ac_compile) 2>conftest.er1
45138 ac_status=$?
45139 grep -v '^ *+' conftest.er1 >conftest.err
45140 rm -f conftest.er1
45141 cat conftest.err >&5
45142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143 (exit $ac_status); } &&
45144 { ac_try='test -z "$ac_cxx_werror_flag"
45145 || test ! -s conftest.err'
45146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45147 (eval $ac_try) 2>&5
45148 ac_status=$?
45149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45150 (exit $ac_status); }; } &&
45151 { ac_try='test -s conftest.$ac_objext'
45152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45153 (eval $ac_try) 2>&5
45154 ac_status=$?
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); }; }; then
45157 glibcxx_cv_func__float_trig_use=yes
45158 else
45159 echo "$as_me: failed program was:" >&5
45160 sed 's/^/| /' conftest.$ac_ext >&5
45161
45162 glibcxx_cv_func__float_trig_use=no
45163 fi
45164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45165 ac_ext=c
45166 ac_cpp='$CPP $CPPFLAGS'
45167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45170
45171 fi
45172
45173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45174 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45175 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45186 do
45187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45188 echo "$as_me:$LINENO: checking for $ac_func" >&5
45189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45190 if eval "test \"\${$as_ac_var+set}\" = set"; then
45191 echo $ECHO_N "(cached) $ECHO_C" >&6
45192 else
45193 if test x$gcc_no_link = xyes; then
45194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45196 { (exit 1); exit 1; }; }
45197 fi
45198 cat >conftest.$ac_ext <<_ACEOF
45199 /* confdefs.h. */
45200 _ACEOF
45201 cat confdefs.h >>conftest.$ac_ext
45202 cat >>conftest.$ac_ext <<_ACEOF
45203 /* end confdefs.h. */
45204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45206 #define $ac_func innocuous_$ac_func
45207
45208 /* System header to define __stub macros and hopefully few prototypes,
45209 which can conflict with char $ac_func (); below.
45210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45211 <limits.h> exists even on freestanding compilers. */
45212
45213 #ifdef __STDC__
45214 # include <limits.h>
45215 #else
45216 # include <assert.h>
45217 #endif
45218
45219 #undef $ac_func
45220
45221 /* Override any gcc2 internal prototype to avoid an error. */
45222 #ifdef __cplusplus
45223 extern "C"
45224 {
45225 #endif
45226 /* We use char because int might match the return type of a gcc2
45227 builtin and then its argument prototype would still apply. */
45228 char $ac_func ();
45229 /* The GNU C library defines this for functions which it implements
45230 to always fail with ENOSYS. Some functions are actually named
45231 something starting with __ and the normal name is an alias. */
45232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45233 choke me
45234 #else
45235 char (*f) () = $ac_func;
45236 #endif
45237 #ifdef __cplusplus
45238 }
45239 #endif
45240
45241 int
45242 main ()
45243 {
45244 return f != $ac_func;
45245 ;
45246 return 0;
45247 }
45248 _ACEOF
45249 rm -f conftest.$ac_objext conftest$ac_exeext
45250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45251 (eval $ac_link) 2>conftest.er1
45252 ac_status=$?
45253 grep -v '^ *+' conftest.er1 >conftest.err
45254 rm -f conftest.er1
45255 cat conftest.err >&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } &&
45258 { ac_try='test -z "$ac_c_werror_flag"
45259 || test ! -s conftest.err'
45260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261 (eval $ac_try) 2>&5
45262 ac_status=$?
45263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264 (exit $ac_status); }; } &&
45265 { ac_try='test -s conftest$ac_exeext'
45266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45267 (eval $ac_try) 2>&5
45268 ac_status=$?
45269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270 (exit $ac_status); }; }; then
45271 eval "$as_ac_var=yes"
45272 else
45273 echo "$as_me: failed program was:" >&5
45274 sed 's/^/| /' conftest.$ac_ext >&5
45275
45276 eval "$as_ac_var=no"
45277 fi
45278 rm -f conftest.err conftest.$ac_objext \
45279 conftest$ac_exeext conftest.$ac_ext
45280 fi
45281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45283 if test `eval echo '${'$as_ac_var'}'` = yes; then
45284 cat >>confdefs.h <<_ACEOF
45285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45286 _ACEOF
45287
45288 fi
45289 done
45290
45291 fi
45292 fi
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307 echo "$as_me:$LINENO: checking for float round functions" >&5
45308 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45309 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45310 echo $ECHO_N "(cached) $ECHO_C" >&6
45311 else
45312
45313
45314
45315 ac_ext=cc
45316 ac_cpp='$CXXCPP $CPPFLAGS'
45317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45320
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h. */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h. */
45327 #include <math.h>
45328 int
45329 main ()
45330 {
45331 ceilf (0); floorf (0);
45332 ;
45333 return 0;
45334 }
45335 _ACEOF
45336 rm -f conftest.$ac_objext
45337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45338 (eval $ac_compile) 2>conftest.er1
45339 ac_status=$?
45340 grep -v '^ *+' conftest.er1 >conftest.err
45341 rm -f conftest.er1
45342 cat conftest.err >&5
45343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344 (exit $ac_status); } &&
45345 { ac_try='test -z "$ac_cxx_werror_flag"
45346 || test ! -s conftest.err'
45347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45348 (eval $ac_try) 2>&5
45349 ac_status=$?
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; } &&
45352 { ac_try='test -s conftest.$ac_objext'
45353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354 (eval $ac_try) 2>&5
45355 ac_status=$?
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); }; }; then
45358 glibcxx_cv_func_float_round_use=yes
45359 else
45360 echo "$as_me: failed program was:" >&5
45361 sed 's/^/| /' conftest.$ac_ext >&5
45362
45363 glibcxx_cv_func_float_round_use=no
45364 fi
45365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45371
45372 fi
45373
45374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45375 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45376 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45377
45378
45379 for ac_func in ceilf floorf
45380 do
45381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45382 echo "$as_me:$LINENO: checking for $ac_func" >&5
45383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45384 if eval "test \"\${$as_ac_var+set}\" = set"; then
45385 echo $ECHO_N "(cached) $ECHO_C" >&6
45386 else
45387 if test x$gcc_no_link = xyes; then
45388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45390 { (exit 1); exit 1; }; }
45391 fi
45392 cat >conftest.$ac_ext <<_ACEOF
45393 /* confdefs.h. */
45394 _ACEOF
45395 cat confdefs.h >>conftest.$ac_ext
45396 cat >>conftest.$ac_ext <<_ACEOF
45397 /* end confdefs.h. */
45398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45400 #define $ac_func innocuous_$ac_func
45401
45402 /* System header to define __stub macros and hopefully few prototypes,
45403 which can conflict with char $ac_func (); below.
45404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45405 <limits.h> exists even on freestanding compilers. */
45406
45407 #ifdef __STDC__
45408 # include <limits.h>
45409 #else
45410 # include <assert.h>
45411 #endif
45412
45413 #undef $ac_func
45414
45415 /* Override any gcc2 internal prototype to avoid an error. */
45416 #ifdef __cplusplus
45417 extern "C"
45418 {
45419 #endif
45420 /* We use char because int might match the return type of a gcc2
45421 builtin and then its argument prototype would still apply. */
45422 char $ac_func ();
45423 /* The GNU C library defines this for functions which it implements
45424 to always fail with ENOSYS. Some functions are actually named
45425 something starting with __ and the normal name is an alias. */
45426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45427 choke me
45428 #else
45429 char (*f) () = $ac_func;
45430 #endif
45431 #ifdef __cplusplus
45432 }
45433 #endif
45434
45435 int
45436 main ()
45437 {
45438 return f != $ac_func;
45439 ;
45440 return 0;
45441 }
45442 _ACEOF
45443 rm -f conftest.$ac_objext conftest$ac_exeext
45444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45445 (eval $ac_link) 2>conftest.er1
45446 ac_status=$?
45447 grep -v '^ *+' conftest.er1 >conftest.err
45448 rm -f conftest.er1
45449 cat conftest.err >&5
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); } &&
45452 { ac_try='test -z "$ac_c_werror_flag"
45453 || test ! -s conftest.err'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; } &&
45459 { ac_try='test -s conftest$ac_exeext'
45460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461 (eval $ac_try) 2>&5
45462 ac_status=$?
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); }; }; then
45465 eval "$as_ac_var=yes"
45466 else
45467 echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45469
45470 eval "$as_ac_var=no"
45471 fi
45472 rm -f conftest.err conftest.$ac_objext \
45473 conftest$ac_exeext conftest.$ac_ext
45474 fi
45475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45477 if test `eval echo '${'$as_ac_var'}'` = yes; then
45478 cat >>confdefs.h <<_ACEOF
45479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45480 _ACEOF
45481
45482 fi
45483 done
45484
45485 else
45486 echo "$as_me:$LINENO: checking for _float round functions" >&5
45487 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45488 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45489 echo $ECHO_N "(cached) $ECHO_C" >&6
45490 else
45491
45492
45493
45494 ac_ext=cc
45495 ac_cpp='$CXXCPP $CPPFLAGS'
45496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45499
45500 cat >conftest.$ac_ext <<_ACEOF
45501 /* confdefs.h. */
45502 _ACEOF
45503 cat confdefs.h >>conftest.$ac_ext
45504 cat >>conftest.$ac_ext <<_ACEOF
45505 /* end confdefs.h. */
45506 #include <math.h>
45507 int
45508 main ()
45509 {
45510 _ceilf (0); _floorf (0);
45511 ;
45512 return 0;
45513 }
45514 _ACEOF
45515 rm -f conftest.$ac_objext
45516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45517 (eval $ac_compile) 2>conftest.er1
45518 ac_status=$?
45519 grep -v '^ *+' conftest.er1 >conftest.err
45520 rm -f conftest.er1
45521 cat conftest.err >&5
45522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45523 (exit $ac_status); } &&
45524 { ac_try='test -z "$ac_cxx_werror_flag"
45525 || test ! -s conftest.err'
45526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45527 (eval $ac_try) 2>&5
45528 ac_status=$?
45529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45530 (exit $ac_status); }; } &&
45531 { ac_try='test -s conftest.$ac_objext'
45532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45533 (eval $ac_try) 2>&5
45534 ac_status=$?
45535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45536 (exit $ac_status); }; }; then
45537 glibcxx_cv_func__float_round_use=yes
45538 else
45539 echo "$as_me: failed program was:" >&5
45540 sed 's/^/| /' conftest.$ac_ext >&5
45541
45542 glibcxx_cv_func__float_round_use=no
45543 fi
45544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45550
45551 fi
45552
45553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45554 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45555 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45556
45557
45558 for ac_func in _ceilf _floorf
45559 do
45560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45561 echo "$as_me:$LINENO: checking for $ac_func" >&5
45562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45563 if eval "test \"\${$as_ac_var+set}\" = set"; then
45564 echo $ECHO_N "(cached) $ECHO_C" >&6
45565 else
45566 if test x$gcc_no_link = xyes; then
45567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45569 { (exit 1); exit 1; }; }
45570 fi
45571 cat >conftest.$ac_ext <<_ACEOF
45572 /* confdefs.h. */
45573 _ACEOF
45574 cat confdefs.h >>conftest.$ac_ext
45575 cat >>conftest.$ac_ext <<_ACEOF
45576 /* end confdefs.h. */
45577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45579 #define $ac_func innocuous_$ac_func
45580
45581 /* System header to define __stub macros and hopefully few prototypes,
45582 which can conflict with char $ac_func (); below.
45583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45584 <limits.h> exists even on freestanding compilers. */
45585
45586 #ifdef __STDC__
45587 # include <limits.h>
45588 #else
45589 # include <assert.h>
45590 #endif
45591
45592 #undef $ac_func
45593
45594 /* Override any gcc2 internal prototype to avoid an error. */
45595 #ifdef __cplusplus
45596 extern "C"
45597 {
45598 #endif
45599 /* We use char because int might match the return type of a gcc2
45600 builtin and then its argument prototype would still apply. */
45601 char $ac_func ();
45602 /* The GNU C library defines this for functions which it implements
45603 to always fail with ENOSYS. Some functions are actually named
45604 something starting with __ and the normal name is an alias. */
45605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45606 choke me
45607 #else
45608 char (*f) () = $ac_func;
45609 #endif
45610 #ifdef __cplusplus
45611 }
45612 #endif
45613
45614 int
45615 main ()
45616 {
45617 return f != $ac_func;
45618 ;
45619 return 0;
45620 }
45621 _ACEOF
45622 rm -f conftest.$ac_objext conftest$ac_exeext
45623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45624 (eval $ac_link) 2>conftest.er1
45625 ac_status=$?
45626 grep -v '^ *+' conftest.er1 >conftest.err
45627 rm -f conftest.er1
45628 cat conftest.err >&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } &&
45631 { ac_try='test -z "$ac_c_werror_flag"
45632 || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest$ac_exeext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 eval "$as_ac_var=yes"
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45648
45649 eval "$as_ac_var=no"
45650 fi
45651 rm -f conftest.err conftest.$ac_objext \
45652 conftest$ac_exeext conftest.$ac_ext
45653 fi
45654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45656 if test `eval echo '${'$as_ac_var'}'` = yes; then
45657 cat >>confdefs.h <<_ACEOF
45658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45659 _ACEOF
45660
45661 fi
45662 done
45663
45664 fi
45665 fi
45666
45667
45668
45669
45670
45671
45672
45673
45674 echo "$as_me:$LINENO: checking for expf declaration" >&5
45675 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45676 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45677 if test "${glibcxx_cv_func_expf_use+set}" = set; then
45678 echo $ECHO_N "(cached) $ECHO_C" >&6
45679 else
45680
45681
45682
45683 ac_ext=cc
45684 ac_cpp='$CXXCPP $CPPFLAGS'
45685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45688
45689 cat >conftest.$ac_ext <<_ACEOF
45690 /* confdefs.h. */
45691 _ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695 #include <math.h>
45696 #ifdef HAVE_IEEEFP_H
45697 #include <ieeefp.h>
45698 #endif
45699
45700 int
45701 main ()
45702 {
45703 expf(0);
45704 ;
45705 return 0;
45706 }
45707 _ACEOF
45708 rm -f conftest.$ac_objext
45709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45710 (eval $ac_compile) 2>conftest.er1
45711 ac_status=$?
45712 grep -v '^ *+' conftest.er1 >conftest.err
45713 rm -f conftest.er1
45714 cat conftest.err >&5
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); } &&
45717 { ac_try='test -z "$ac_cxx_werror_flag"
45718 || test ! -s conftest.err'
45719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45720 (eval $ac_try) 2>&5
45721 ac_status=$?
45722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45723 (exit $ac_status); }; } &&
45724 { ac_try='test -s conftest.$ac_objext'
45725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45726 (eval $ac_try) 2>&5
45727 ac_status=$?
45728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45729 (exit $ac_status); }; }; then
45730 glibcxx_cv_func_expf_use=yes
45731 else
45732 echo "$as_me: failed program was:" >&5
45733 sed 's/^/| /' conftest.$ac_ext >&5
45734
45735 glibcxx_cv_func_expf_use=no
45736 fi
45737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45738 ac_ext=c
45739 ac_cpp='$CPP $CPPFLAGS'
45740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45743
45744
45745 fi
45746
45747 fi
45748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45749 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
45750
45751 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45752
45753 for ac_func in expf
45754 do
45755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45756 echo "$as_me:$LINENO: checking for $ac_func" >&5
45757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45758 if eval "test \"\${$as_ac_var+set}\" = set"; then
45759 echo $ECHO_N "(cached) $ECHO_C" >&6
45760 else
45761 if test x$gcc_no_link = xyes; then
45762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45764 { (exit 1); exit 1; }; }
45765 fi
45766 cat >conftest.$ac_ext <<_ACEOF
45767 /* confdefs.h. */
45768 _ACEOF
45769 cat confdefs.h >>conftest.$ac_ext
45770 cat >>conftest.$ac_ext <<_ACEOF
45771 /* end confdefs.h. */
45772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45774 #define $ac_func innocuous_$ac_func
45775
45776 /* System header to define __stub macros and hopefully few prototypes,
45777 which can conflict with char $ac_func (); below.
45778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45779 <limits.h> exists even on freestanding compilers. */
45780
45781 #ifdef __STDC__
45782 # include <limits.h>
45783 #else
45784 # include <assert.h>
45785 #endif
45786
45787 #undef $ac_func
45788
45789 /* Override any gcc2 internal prototype to avoid an error. */
45790 #ifdef __cplusplus
45791 extern "C"
45792 {
45793 #endif
45794 /* We use char because int might match the return type of a gcc2
45795 builtin and then its argument prototype would still apply. */
45796 char $ac_func ();
45797 /* The GNU C library defines this for functions which it implements
45798 to always fail with ENOSYS. Some functions are actually named
45799 something starting with __ and the normal name is an alias. */
45800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45801 choke me
45802 #else
45803 char (*f) () = $ac_func;
45804 #endif
45805 #ifdef __cplusplus
45806 }
45807 #endif
45808
45809 int
45810 main ()
45811 {
45812 return f != $ac_func;
45813 ;
45814 return 0;
45815 }
45816 _ACEOF
45817 rm -f conftest.$ac_objext conftest$ac_exeext
45818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45819 (eval $ac_link) 2>conftest.er1
45820 ac_status=$?
45821 grep -v '^ *+' conftest.er1 >conftest.err
45822 rm -f conftest.er1
45823 cat conftest.err >&5
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); } &&
45826 { ac_try='test -z "$ac_c_werror_flag"
45827 || test ! -s conftest.err'
45828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45829 (eval $ac_try) 2>&5
45830 ac_status=$?
45831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45832 (exit $ac_status); }; } &&
45833 { ac_try='test -s conftest$ac_exeext'
45834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45835 (eval $ac_try) 2>&5
45836 ac_status=$?
45837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838 (exit $ac_status); }; }; then
45839 eval "$as_ac_var=yes"
45840 else
45841 echo "$as_me: failed program was:" >&5
45842 sed 's/^/| /' conftest.$ac_ext >&5
45843
45844 eval "$as_ac_var=no"
45845 fi
45846 rm -f conftest.err conftest.$ac_objext \
45847 conftest$ac_exeext conftest.$ac_ext
45848 fi
45849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45851 if test `eval echo '${'$as_ac_var'}'` = yes; then
45852 cat >>confdefs.h <<_ACEOF
45853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45854 _ACEOF
45855
45856 fi
45857 done
45858
45859 else
45860
45861 echo "$as_me:$LINENO: checking for _expf declaration" >&5
45862 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
45863 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45864 if test "${glibcxx_cv_func__expf_use+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 else
45867
45868
45869
45870 ac_ext=cc
45871 ac_cpp='$CXXCPP $CPPFLAGS'
45872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45875
45876 cat >conftest.$ac_ext <<_ACEOF
45877 /* confdefs.h. */
45878 _ACEOF
45879 cat confdefs.h >>conftest.$ac_ext
45880 cat >>conftest.$ac_ext <<_ACEOF
45881 /* end confdefs.h. */
45882 #include <math.h>
45883 #ifdef HAVE_IEEEFP_H
45884 #include <ieeefp.h>
45885 #endif
45886
45887 int
45888 main ()
45889 {
45890 _expf(0);
45891 ;
45892 return 0;
45893 }
45894 _ACEOF
45895 rm -f conftest.$ac_objext
45896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45897 (eval $ac_compile) 2>conftest.er1
45898 ac_status=$?
45899 grep -v '^ *+' conftest.er1 >conftest.err
45900 rm -f conftest.er1
45901 cat conftest.err >&5
45902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45903 (exit $ac_status); } &&
45904 { ac_try='test -z "$ac_cxx_werror_flag"
45905 || test ! -s conftest.err'
45906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45907 (eval $ac_try) 2>&5
45908 ac_status=$?
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); }; } &&
45911 { ac_try='test -s conftest.$ac_objext'
45912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45913 (eval $ac_try) 2>&5
45914 ac_status=$?
45915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916 (exit $ac_status); }; }; then
45917 glibcxx_cv_func__expf_use=yes
45918 else
45919 echo "$as_me: failed program was:" >&5
45920 sed 's/^/| /' conftest.$ac_ext >&5
45921
45922 glibcxx_cv_func__expf_use=no
45923 fi
45924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45925 ac_ext=c
45926 ac_cpp='$CPP $CPPFLAGS'
45927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45930
45931
45932 fi
45933
45934 fi
45935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
45936 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
45937
45938 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45939
45940 for ac_func in _expf
45941 do
45942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45943 echo "$as_me:$LINENO: checking for $ac_func" >&5
45944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45945 if eval "test \"\${$as_ac_var+set}\" = set"; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45948 if test x$gcc_no_link = xyes; then
45949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45951 { (exit 1); exit 1; }; }
45952 fi
45953 cat >conftest.$ac_ext <<_ACEOF
45954 /* confdefs.h. */
45955 _ACEOF
45956 cat confdefs.h >>conftest.$ac_ext
45957 cat >>conftest.$ac_ext <<_ACEOF
45958 /* end confdefs.h. */
45959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45961 #define $ac_func innocuous_$ac_func
45962
45963 /* System header to define __stub macros and hopefully few prototypes,
45964 which can conflict with char $ac_func (); below.
45965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45966 <limits.h> exists even on freestanding compilers. */
45967
45968 #ifdef __STDC__
45969 # include <limits.h>
45970 #else
45971 # include <assert.h>
45972 #endif
45973
45974 #undef $ac_func
45975
45976 /* Override any gcc2 internal prototype to avoid an error. */
45977 #ifdef __cplusplus
45978 extern "C"
45979 {
45980 #endif
45981 /* We use char because int might match the return type of a gcc2
45982 builtin and then its argument prototype would still apply. */
45983 char $ac_func ();
45984 /* The GNU C library defines this for functions which it implements
45985 to always fail with ENOSYS. Some functions are actually named
45986 something starting with __ and the normal name is an alias. */
45987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45988 choke me
45989 #else
45990 char (*f) () = $ac_func;
45991 #endif
45992 #ifdef __cplusplus
45993 }
45994 #endif
45995
45996 int
45997 main ()
45998 {
45999 return f != $ac_func;
46000 ;
46001 return 0;
46002 }
46003 _ACEOF
46004 rm -f conftest.$ac_objext conftest$ac_exeext
46005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46006 (eval $ac_link) 2>conftest.er1
46007 ac_status=$?
46008 grep -v '^ *+' conftest.er1 >conftest.err
46009 rm -f conftest.er1
46010 cat conftest.err >&5
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); } &&
46013 { ac_try='test -z "$ac_c_werror_flag"
46014 || test ! -s conftest.err'
46015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46016 (eval $ac_try) 2>&5
46017 ac_status=$?
46018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46019 (exit $ac_status); }; } &&
46020 { ac_try='test -s conftest$ac_exeext'
46021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46022 (eval $ac_try) 2>&5
46023 ac_status=$?
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); }; }; then
46026 eval "$as_ac_var=yes"
46027 else
46028 echo "$as_me: failed program was:" >&5
46029 sed 's/^/| /' conftest.$ac_ext >&5
46030
46031 eval "$as_ac_var=no"
46032 fi
46033 rm -f conftest.err conftest.$ac_objext \
46034 conftest$ac_exeext conftest.$ac_ext
46035 fi
46036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46038 if test `eval echo '${'$as_ac_var'}'` = yes; then
46039 cat >>confdefs.h <<_ACEOF
46040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46041 _ACEOF
46042
46043 fi
46044 done
46045
46046 fi
46047 fi
46048
46049
46050
46051
46052
46053
46054 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46055 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46056 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46057 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46058 echo $ECHO_N "(cached) $ECHO_C" >&6
46059 else
46060
46061
46062
46063 ac_ext=cc
46064 ac_cpp='$CXXCPP $CPPFLAGS'
46065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46068
46069 cat >conftest.$ac_ext <<_ACEOF
46070 /* confdefs.h. */
46071 _ACEOF
46072 cat confdefs.h >>conftest.$ac_ext
46073 cat >>conftest.$ac_ext <<_ACEOF
46074 /* end confdefs.h. */
46075 #include <math.h>
46076 #ifdef HAVE_IEEEFP_H
46077 #include <ieeefp.h>
46078 #endif
46079
46080 int
46081 main ()
46082 {
46083 isnanf(0);
46084 ;
46085 return 0;
46086 }
46087 _ACEOF
46088 rm -f conftest.$ac_objext
46089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46090 (eval $ac_compile) 2>conftest.er1
46091 ac_status=$?
46092 grep -v '^ *+' conftest.er1 >conftest.err
46093 rm -f conftest.er1
46094 cat conftest.err >&5
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); } &&
46097 { ac_try='test -z "$ac_cxx_werror_flag"
46098 || test ! -s conftest.err'
46099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46100 (eval $ac_try) 2>&5
46101 ac_status=$?
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); }; } &&
46104 { ac_try='test -s conftest.$ac_objext'
46105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46106 (eval $ac_try) 2>&5
46107 ac_status=$?
46108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46109 (exit $ac_status); }; }; then
46110 glibcxx_cv_func_isnanf_use=yes
46111 else
46112 echo "$as_me: failed program was:" >&5
46113 sed 's/^/| /' conftest.$ac_ext >&5
46114
46115 glibcxx_cv_func_isnanf_use=no
46116 fi
46117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46123
46124
46125 fi
46126
46127 fi
46128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46129 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46130
46131 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46132
46133 for ac_func in isnanf
46134 do
46135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46136 echo "$as_me:$LINENO: checking for $ac_func" >&5
46137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46138 if eval "test \"\${$as_ac_var+set}\" = set"; then
46139 echo $ECHO_N "(cached) $ECHO_C" >&6
46140 else
46141 if test x$gcc_no_link = xyes; then
46142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46144 { (exit 1); exit 1; }; }
46145 fi
46146 cat >conftest.$ac_ext <<_ACEOF
46147 /* confdefs.h. */
46148 _ACEOF
46149 cat confdefs.h >>conftest.$ac_ext
46150 cat >>conftest.$ac_ext <<_ACEOF
46151 /* end confdefs.h. */
46152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46154 #define $ac_func innocuous_$ac_func
46155
46156 /* System header to define __stub macros and hopefully few prototypes,
46157 which can conflict with char $ac_func (); below.
46158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46159 <limits.h> exists even on freestanding compilers. */
46160
46161 #ifdef __STDC__
46162 # include <limits.h>
46163 #else
46164 # include <assert.h>
46165 #endif
46166
46167 #undef $ac_func
46168
46169 /* Override any gcc2 internal prototype to avoid an error. */
46170 #ifdef __cplusplus
46171 extern "C"
46172 {
46173 #endif
46174 /* We use char because int might match the return type of a gcc2
46175 builtin and then its argument prototype would still apply. */
46176 char $ac_func ();
46177 /* The GNU C library defines this for functions which it implements
46178 to always fail with ENOSYS. Some functions are actually named
46179 something starting with __ and the normal name is an alias. */
46180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46181 choke me
46182 #else
46183 char (*f) () = $ac_func;
46184 #endif
46185 #ifdef __cplusplus
46186 }
46187 #endif
46188
46189 int
46190 main ()
46191 {
46192 return f != $ac_func;
46193 ;
46194 return 0;
46195 }
46196 _ACEOF
46197 rm -f conftest.$ac_objext conftest$ac_exeext
46198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46199 (eval $ac_link) 2>conftest.er1
46200 ac_status=$?
46201 grep -v '^ *+' conftest.er1 >conftest.err
46202 rm -f conftest.er1
46203 cat conftest.err >&5
46204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205 (exit $ac_status); } &&
46206 { ac_try='test -z "$ac_c_werror_flag"
46207 || test ! -s conftest.err'
46208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46209 (eval $ac_try) 2>&5
46210 ac_status=$?
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); }; } &&
46213 { ac_try='test -s conftest$ac_exeext'
46214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46215 (eval $ac_try) 2>&5
46216 ac_status=$?
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); }; }; then
46219 eval "$as_ac_var=yes"
46220 else
46221 echo "$as_me: failed program was:" >&5
46222 sed 's/^/| /' conftest.$ac_ext >&5
46223
46224 eval "$as_ac_var=no"
46225 fi
46226 rm -f conftest.err conftest.$ac_objext \
46227 conftest$ac_exeext conftest.$ac_ext
46228 fi
46229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46231 if test `eval echo '${'$as_ac_var'}'` = yes; then
46232 cat >>confdefs.h <<_ACEOF
46233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46234 _ACEOF
46235
46236 fi
46237 done
46238
46239 else
46240
46241 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46242 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46243 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46244 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46245 echo $ECHO_N "(cached) $ECHO_C" >&6
46246 else
46247
46248
46249
46250 ac_ext=cc
46251 ac_cpp='$CXXCPP $CPPFLAGS'
46252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46255
46256 cat >conftest.$ac_ext <<_ACEOF
46257 /* confdefs.h. */
46258 _ACEOF
46259 cat confdefs.h >>conftest.$ac_ext
46260 cat >>conftest.$ac_ext <<_ACEOF
46261 /* end confdefs.h. */
46262 #include <math.h>
46263 #ifdef HAVE_IEEEFP_H
46264 #include <ieeefp.h>
46265 #endif
46266
46267 int
46268 main ()
46269 {
46270 _isnanf(0);
46271 ;
46272 return 0;
46273 }
46274 _ACEOF
46275 rm -f conftest.$ac_objext
46276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46277 (eval $ac_compile) 2>conftest.er1
46278 ac_status=$?
46279 grep -v '^ *+' conftest.er1 >conftest.err
46280 rm -f conftest.er1
46281 cat conftest.err >&5
46282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46283 (exit $ac_status); } &&
46284 { ac_try='test -z "$ac_cxx_werror_flag"
46285 || test ! -s conftest.err'
46286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46287 (eval $ac_try) 2>&5
46288 ac_status=$?
46289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46290 (exit $ac_status); }; } &&
46291 { ac_try='test -s conftest.$ac_objext'
46292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46293 (eval $ac_try) 2>&5
46294 ac_status=$?
46295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296 (exit $ac_status); }; }; then
46297 glibcxx_cv_func__isnanf_use=yes
46298 else
46299 echo "$as_me: failed program was:" >&5
46300 sed 's/^/| /' conftest.$ac_ext >&5
46301
46302 glibcxx_cv_func__isnanf_use=no
46303 fi
46304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46305 ac_ext=c
46306 ac_cpp='$CPP $CPPFLAGS'
46307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46310
46311
46312 fi
46313
46314 fi
46315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46316 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46317
46318 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46319
46320 for ac_func in _isnanf
46321 do
46322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46323 echo "$as_me:$LINENO: checking for $ac_func" >&5
46324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46325 if eval "test \"\${$as_ac_var+set}\" = set"; then
46326 echo $ECHO_N "(cached) $ECHO_C" >&6
46327 else
46328 if test x$gcc_no_link = xyes; then
46329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46331 { (exit 1); exit 1; }; }
46332 fi
46333 cat >conftest.$ac_ext <<_ACEOF
46334 /* confdefs.h. */
46335 _ACEOF
46336 cat confdefs.h >>conftest.$ac_ext
46337 cat >>conftest.$ac_ext <<_ACEOF
46338 /* end confdefs.h. */
46339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46341 #define $ac_func innocuous_$ac_func
46342
46343 /* System header to define __stub macros and hopefully few prototypes,
46344 which can conflict with char $ac_func (); below.
46345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46346 <limits.h> exists even on freestanding compilers. */
46347
46348 #ifdef __STDC__
46349 # include <limits.h>
46350 #else
46351 # include <assert.h>
46352 #endif
46353
46354 #undef $ac_func
46355
46356 /* Override any gcc2 internal prototype to avoid an error. */
46357 #ifdef __cplusplus
46358 extern "C"
46359 {
46360 #endif
46361 /* We use char because int might match the return type of a gcc2
46362 builtin and then its argument prototype would still apply. */
46363 char $ac_func ();
46364 /* The GNU C library defines this for functions which it implements
46365 to always fail with ENOSYS. Some functions are actually named
46366 something starting with __ and the normal name is an alias. */
46367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46368 choke me
46369 #else
46370 char (*f) () = $ac_func;
46371 #endif
46372 #ifdef __cplusplus
46373 }
46374 #endif
46375
46376 int
46377 main ()
46378 {
46379 return f != $ac_func;
46380 ;
46381 return 0;
46382 }
46383 _ACEOF
46384 rm -f conftest.$ac_objext conftest$ac_exeext
46385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46386 (eval $ac_link) 2>conftest.er1
46387 ac_status=$?
46388 grep -v '^ *+' conftest.er1 >conftest.err
46389 rm -f conftest.er1
46390 cat conftest.err >&5
46391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392 (exit $ac_status); } &&
46393 { ac_try='test -z "$ac_c_werror_flag"
46394 || test ! -s conftest.err'
46395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46396 (eval $ac_try) 2>&5
46397 ac_status=$?
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); }; } &&
46400 { ac_try='test -s conftest$ac_exeext'
46401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46402 (eval $ac_try) 2>&5
46403 ac_status=$?
46404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46405 (exit $ac_status); }; }; then
46406 eval "$as_ac_var=yes"
46407 else
46408 echo "$as_me: failed program was:" >&5
46409 sed 's/^/| /' conftest.$ac_ext >&5
46410
46411 eval "$as_ac_var=no"
46412 fi
46413 rm -f conftest.err conftest.$ac_objext \
46414 conftest$ac_exeext conftest.$ac_ext
46415 fi
46416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46418 if test `eval echo '${'$as_ac_var'}'` = yes; then
46419 cat >>confdefs.h <<_ACEOF
46420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46421 _ACEOF
46422
46423 fi
46424 done
46425
46426 fi
46427 fi
46428
46429
46430
46431
46432
46433
46434 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46435 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46436 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46437 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46438 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 else
46440
46441
46442
46443 ac_ext=cc
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455 #include <math.h>
46456 #ifdef HAVE_IEEEFP_H
46457 #include <ieeefp.h>
46458 #endif
46459
46460 int
46461 main ()
46462 {
46463 isinff(0);
46464 ;
46465 return 0;
46466 }
46467 _ACEOF
46468 rm -f conftest.$ac_objext
46469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46470 (eval $ac_compile) 2>conftest.er1
46471 ac_status=$?
46472 grep -v '^ *+' conftest.er1 >conftest.err
46473 rm -f conftest.er1
46474 cat conftest.err >&5
46475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46476 (exit $ac_status); } &&
46477 { ac_try='test -z "$ac_cxx_werror_flag"
46478 || test ! -s conftest.err'
46479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46480 (eval $ac_try) 2>&5
46481 ac_status=$?
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; } &&
46484 { ac_try='test -s conftest.$ac_objext'
46485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46486 (eval $ac_try) 2>&5
46487 ac_status=$?
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); }; }; then
46490 glibcxx_cv_func_isinff_use=yes
46491 else
46492 echo "$as_me: failed program was:" >&5
46493 sed 's/^/| /' conftest.$ac_ext >&5
46494
46495 glibcxx_cv_func_isinff_use=no
46496 fi
46497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46498 ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46503
46504
46505 fi
46506
46507 fi
46508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46509 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46510
46511 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46512
46513 for ac_func in isinff
46514 do
46515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46516 echo "$as_me:$LINENO: checking for $ac_func" >&5
46517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46518 if eval "test \"\${$as_ac_var+set}\" = set"; then
46519 echo $ECHO_N "(cached) $ECHO_C" >&6
46520 else
46521 if test x$gcc_no_link = xyes; then
46522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46524 { (exit 1); exit 1; }; }
46525 fi
46526 cat >conftest.$ac_ext <<_ACEOF
46527 /* confdefs.h. */
46528 _ACEOF
46529 cat confdefs.h >>conftest.$ac_ext
46530 cat >>conftest.$ac_ext <<_ACEOF
46531 /* end confdefs.h. */
46532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46534 #define $ac_func innocuous_$ac_func
46535
46536 /* System header to define __stub macros and hopefully few prototypes,
46537 which can conflict with char $ac_func (); below.
46538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46539 <limits.h> exists even on freestanding compilers. */
46540
46541 #ifdef __STDC__
46542 # include <limits.h>
46543 #else
46544 # include <assert.h>
46545 #endif
46546
46547 #undef $ac_func
46548
46549 /* Override any gcc2 internal prototype to avoid an error. */
46550 #ifdef __cplusplus
46551 extern "C"
46552 {
46553 #endif
46554 /* We use char because int might match the return type of a gcc2
46555 builtin and then its argument prototype would still apply. */
46556 char $ac_func ();
46557 /* The GNU C library defines this for functions which it implements
46558 to always fail with ENOSYS. Some functions are actually named
46559 something starting with __ and the normal name is an alias. */
46560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46561 choke me
46562 #else
46563 char (*f) () = $ac_func;
46564 #endif
46565 #ifdef __cplusplus
46566 }
46567 #endif
46568
46569 int
46570 main ()
46571 {
46572 return f != $ac_func;
46573 ;
46574 return 0;
46575 }
46576 _ACEOF
46577 rm -f conftest.$ac_objext conftest$ac_exeext
46578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46579 (eval $ac_link) 2>conftest.er1
46580 ac_status=$?
46581 grep -v '^ *+' conftest.er1 >conftest.err
46582 rm -f conftest.er1
46583 cat conftest.err >&5
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); } &&
46586 { ac_try='test -z "$ac_c_werror_flag"
46587 || test ! -s conftest.err'
46588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46589 (eval $ac_try) 2>&5
46590 ac_status=$?
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); }; } &&
46593 { ac_try='test -s conftest$ac_exeext'
46594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46595 (eval $ac_try) 2>&5
46596 ac_status=$?
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); }; }; then
46599 eval "$as_ac_var=yes"
46600 else
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.$ac_ext >&5
46603
46604 eval "$as_ac_var=no"
46605 fi
46606 rm -f conftest.err conftest.$ac_objext \
46607 conftest$ac_exeext conftest.$ac_ext
46608 fi
46609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46611 if test `eval echo '${'$as_ac_var'}'` = yes; then
46612 cat >>confdefs.h <<_ACEOF
46613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46614 _ACEOF
46615
46616 fi
46617 done
46618
46619 else
46620
46621 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46622 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46623 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46624 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46625 echo $ECHO_N "(cached) $ECHO_C" >&6
46626 else
46627
46628
46629
46630 ac_ext=cc
46631 ac_cpp='$CXXCPP $CPPFLAGS'
46632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46635
46636 cat >conftest.$ac_ext <<_ACEOF
46637 /* confdefs.h. */
46638 _ACEOF
46639 cat confdefs.h >>conftest.$ac_ext
46640 cat >>conftest.$ac_ext <<_ACEOF
46641 /* end confdefs.h. */
46642 #include <math.h>
46643 #ifdef HAVE_IEEEFP_H
46644 #include <ieeefp.h>
46645 #endif
46646
46647 int
46648 main ()
46649 {
46650 _isinff(0);
46651 ;
46652 return 0;
46653 }
46654 _ACEOF
46655 rm -f conftest.$ac_objext
46656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46657 (eval $ac_compile) 2>conftest.er1
46658 ac_status=$?
46659 grep -v '^ *+' conftest.er1 >conftest.err
46660 rm -f conftest.er1
46661 cat conftest.err >&5
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); } &&
46664 { ac_try='test -z "$ac_cxx_werror_flag"
46665 || test ! -s conftest.err'
46666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46667 (eval $ac_try) 2>&5
46668 ac_status=$?
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); }; } &&
46671 { ac_try='test -s conftest.$ac_objext'
46672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46673 (eval $ac_try) 2>&5
46674 ac_status=$?
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); }; }; then
46677 glibcxx_cv_func__isinff_use=yes
46678 else
46679 echo "$as_me: failed program was:" >&5
46680 sed 's/^/| /' conftest.$ac_ext >&5
46681
46682 glibcxx_cv_func__isinff_use=no
46683 fi
46684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46685 ac_ext=c
46686 ac_cpp='$CPP $CPPFLAGS'
46687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46690
46691
46692 fi
46693
46694 fi
46695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46696 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
46697
46698 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46699
46700 for ac_func in _isinff
46701 do
46702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46703 echo "$as_me:$LINENO: checking for $ac_func" >&5
46704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46705 if eval "test \"\${$as_ac_var+set}\" = set"; then
46706 echo $ECHO_N "(cached) $ECHO_C" >&6
46707 else
46708 if test x$gcc_no_link = xyes; then
46709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46711 { (exit 1); exit 1; }; }
46712 fi
46713 cat >conftest.$ac_ext <<_ACEOF
46714 /* confdefs.h. */
46715 _ACEOF
46716 cat confdefs.h >>conftest.$ac_ext
46717 cat >>conftest.$ac_ext <<_ACEOF
46718 /* end confdefs.h. */
46719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46721 #define $ac_func innocuous_$ac_func
46722
46723 /* System header to define __stub macros and hopefully few prototypes,
46724 which can conflict with char $ac_func (); below.
46725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46726 <limits.h> exists even on freestanding compilers. */
46727
46728 #ifdef __STDC__
46729 # include <limits.h>
46730 #else
46731 # include <assert.h>
46732 #endif
46733
46734 #undef $ac_func
46735
46736 /* Override any gcc2 internal prototype to avoid an error. */
46737 #ifdef __cplusplus
46738 extern "C"
46739 {
46740 #endif
46741 /* We use char because int might match the return type of a gcc2
46742 builtin and then its argument prototype would still apply. */
46743 char $ac_func ();
46744 /* The GNU C library defines this for functions which it implements
46745 to always fail with ENOSYS. Some functions are actually named
46746 something starting with __ and the normal name is an alias. */
46747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46748 choke me
46749 #else
46750 char (*f) () = $ac_func;
46751 #endif
46752 #ifdef __cplusplus
46753 }
46754 #endif
46755
46756 int
46757 main ()
46758 {
46759 return f != $ac_func;
46760 ;
46761 return 0;
46762 }
46763 _ACEOF
46764 rm -f conftest.$ac_objext conftest$ac_exeext
46765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46766 (eval $ac_link) 2>conftest.er1
46767 ac_status=$?
46768 grep -v '^ *+' conftest.er1 >conftest.err
46769 rm -f conftest.er1
46770 cat conftest.err >&5
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); } &&
46773 { ac_try='test -z "$ac_c_werror_flag"
46774 || test ! -s conftest.err'
46775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776 (eval $ac_try) 2>&5
46777 ac_status=$?
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); }; } &&
46780 { ac_try='test -s conftest$ac_exeext'
46781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782 (eval $ac_try) 2>&5
46783 ac_status=$?
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); }; }; then
46786 eval "$as_ac_var=yes"
46787 else
46788 echo "$as_me: failed program was:" >&5
46789 sed 's/^/| /' conftest.$ac_ext >&5
46790
46791 eval "$as_ac_var=no"
46792 fi
46793 rm -f conftest.err conftest.$ac_objext \
46794 conftest$ac_exeext conftest.$ac_ext
46795 fi
46796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46798 if test `eval echo '${'$as_ac_var'}'` = yes; then
46799 cat >>confdefs.h <<_ACEOF
46800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46801 _ACEOF
46802
46803 fi
46804 done
46805
46806 fi
46807 fi
46808
46809
46810
46811
46812
46813
46814 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46815 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
46816 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46817 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46818 echo $ECHO_N "(cached) $ECHO_C" >&6
46819 else
46820
46821
46822
46823 ac_ext=cc
46824 ac_cpp='$CXXCPP $CPPFLAGS'
46825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46828
46829 cat >conftest.$ac_ext <<_ACEOF
46830 /* confdefs.h. */
46831 _ACEOF
46832 cat confdefs.h >>conftest.$ac_ext
46833 cat >>conftest.$ac_ext <<_ACEOF
46834 /* end confdefs.h. */
46835 #include <math.h>
46836 int
46837 main ()
46838 {
46839 atan2f(0, 0);
46840 ;
46841 return 0;
46842 }
46843 _ACEOF
46844 rm -f conftest.$ac_objext
46845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46846 (eval $ac_compile) 2>conftest.er1
46847 ac_status=$?
46848 grep -v '^ *+' conftest.er1 >conftest.err
46849 rm -f conftest.er1
46850 cat conftest.err >&5
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); } &&
46853 { ac_try='test -z "$ac_cxx_werror_flag"
46854 || test ! -s conftest.err'
46855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46856 (eval $ac_try) 2>&5
46857 ac_status=$?
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); }; } &&
46860 { ac_try='test -s conftest.$ac_objext'
46861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46862 (eval $ac_try) 2>&5
46863 ac_status=$?
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); }; }; then
46866 glibcxx_cv_func_atan2f_use=yes
46867 else
46868 echo "$as_me: failed program was:" >&5
46869 sed 's/^/| /' conftest.$ac_ext >&5
46870
46871 glibcxx_cv_func_atan2f_use=no
46872 fi
46873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46874 ac_ext=c
46875 ac_cpp='$CPP $CPPFLAGS'
46876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46879
46880
46881 fi
46882
46883 fi
46884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
46885 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
46886
46887 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46888
46889 for ac_func in atan2f
46890 do
46891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46892 echo "$as_me:$LINENO: checking for $ac_func" >&5
46893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46894 if eval "test \"\${$as_ac_var+set}\" = set"; then
46895 echo $ECHO_N "(cached) $ECHO_C" >&6
46896 else
46897 if test x$gcc_no_link = xyes; then
46898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46900 { (exit 1); exit 1; }; }
46901 fi
46902 cat >conftest.$ac_ext <<_ACEOF
46903 /* confdefs.h. */
46904 _ACEOF
46905 cat confdefs.h >>conftest.$ac_ext
46906 cat >>conftest.$ac_ext <<_ACEOF
46907 /* end confdefs.h. */
46908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46910 #define $ac_func innocuous_$ac_func
46911
46912 /* System header to define __stub macros and hopefully few prototypes,
46913 which can conflict with char $ac_func (); below.
46914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46915 <limits.h> exists even on freestanding compilers. */
46916
46917 #ifdef __STDC__
46918 # include <limits.h>
46919 #else
46920 # include <assert.h>
46921 #endif
46922
46923 #undef $ac_func
46924
46925 /* Override any gcc2 internal prototype to avoid an error. */
46926 #ifdef __cplusplus
46927 extern "C"
46928 {
46929 #endif
46930 /* We use char because int might match the return type of a gcc2
46931 builtin and then its argument prototype would still apply. */
46932 char $ac_func ();
46933 /* The GNU C library defines this for functions which it implements
46934 to always fail with ENOSYS. Some functions are actually named
46935 something starting with __ and the normal name is an alias. */
46936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46937 choke me
46938 #else
46939 char (*f) () = $ac_func;
46940 #endif
46941 #ifdef __cplusplus
46942 }
46943 #endif
46944
46945 int
46946 main ()
46947 {
46948 return f != $ac_func;
46949 ;
46950 return 0;
46951 }
46952 _ACEOF
46953 rm -f conftest.$ac_objext conftest$ac_exeext
46954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46955 (eval $ac_link) 2>conftest.er1
46956 ac_status=$?
46957 grep -v '^ *+' conftest.er1 >conftest.err
46958 rm -f conftest.er1
46959 cat conftest.err >&5
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); } &&
46962 { ac_try='test -z "$ac_c_werror_flag"
46963 || test ! -s conftest.err'
46964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965 (eval $ac_try) 2>&5
46966 ac_status=$?
46967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968 (exit $ac_status); }; } &&
46969 { ac_try='test -s conftest$ac_exeext'
46970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971 (eval $ac_try) 2>&5
46972 ac_status=$?
46973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974 (exit $ac_status); }; }; then
46975 eval "$as_ac_var=yes"
46976 else
46977 echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46979
46980 eval "$as_ac_var=no"
46981 fi
46982 rm -f conftest.err conftest.$ac_objext \
46983 conftest$ac_exeext conftest.$ac_ext
46984 fi
46985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46987 if test `eval echo '${'$as_ac_var'}'` = yes; then
46988 cat >>confdefs.h <<_ACEOF
46989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46990 _ACEOF
46991
46992 fi
46993 done
46994
46995 else
46996
46997 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
46998 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
46999 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47000 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47001 echo $ECHO_N "(cached) $ECHO_C" >&6
47002 else
47003
47004
47005
47006 ac_ext=cc
47007 ac_cpp='$CXXCPP $CPPFLAGS'
47008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47011
47012 cat >conftest.$ac_ext <<_ACEOF
47013 /* confdefs.h. */
47014 _ACEOF
47015 cat confdefs.h >>conftest.$ac_ext
47016 cat >>conftest.$ac_ext <<_ACEOF
47017 /* end confdefs.h. */
47018 #include <math.h>
47019 int
47020 main ()
47021 {
47022 _atan2f(0, 0);
47023 ;
47024 return 0;
47025 }
47026 _ACEOF
47027 rm -f conftest.$ac_objext
47028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47029 (eval $ac_compile) 2>conftest.er1
47030 ac_status=$?
47031 grep -v '^ *+' conftest.er1 >conftest.err
47032 rm -f conftest.er1
47033 cat conftest.err >&5
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); } &&
47036 { ac_try='test -z "$ac_cxx_werror_flag"
47037 || test ! -s conftest.err'
47038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47039 (eval $ac_try) 2>&5
47040 ac_status=$?
47041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042 (exit $ac_status); }; } &&
47043 { ac_try='test -s conftest.$ac_objext'
47044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47045 (eval $ac_try) 2>&5
47046 ac_status=$?
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); }; }; then
47049 glibcxx_cv_func__atan2f_use=yes
47050 else
47051 echo "$as_me: failed program was:" >&5
47052 sed 's/^/| /' conftest.$ac_ext >&5
47053
47054 glibcxx_cv_func__atan2f_use=no
47055 fi
47056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062
47063
47064 fi
47065
47066 fi
47067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47068 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47069
47070 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47071
47072 for ac_func in _atan2f
47073 do
47074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47075 echo "$as_me:$LINENO: checking for $ac_func" >&5
47076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47077 if eval "test \"\${$as_ac_var+set}\" = set"; then
47078 echo $ECHO_N "(cached) $ECHO_C" >&6
47079 else
47080 if test x$gcc_no_link = xyes; then
47081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47083 { (exit 1); exit 1; }; }
47084 fi
47085 cat >conftest.$ac_ext <<_ACEOF
47086 /* confdefs.h. */
47087 _ACEOF
47088 cat confdefs.h >>conftest.$ac_ext
47089 cat >>conftest.$ac_ext <<_ACEOF
47090 /* end confdefs.h. */
47091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47093 #define $ac_func innocuous_$ac_func
47094
47095 /* System header to define __stub macros and hopefully few prototypes,
47096 which can conflict with char $ac_func (); below.
47097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47098 <limits.h> exists even on freestanding compilers. */
47099
47100 #ifdef __STDC__
47101 # include <limits.h>
47102 #else
47103 # include <assert.h>
47104 #endif
47105
47106 #undef $ac_func
47107
47108 /* Override any gcc2 internal prototype to avoid an error. */
47109 #ifdef __cplusplus
47110 extern "C"
47111 {
47112 #endif
47113 /* We use char because int might match the return type of a gcc2
47114 builtin and then its argument prototype would still apply. */
47115 char $ac_func ();
47116 /* The GNU C library defines this for functions which it implements
47117 to always fail with ENOSYS. Some functions are actually named
47118 something starting with __ and the normal name is an alias. */
47119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47120 choke me
47121 #else
47122 char (*f) () = $ac_func;
47123 #endif
47124 #ifdef __cplusplus
47125 }
47126 #endif
47127
47128 int
47129 main ()
47130 {
47131 return f != $ac_func;
47132 ;
47133 return 0;
47134 }
47135 _ACEOF
47136 rm -f conftest.$ac_objext conftest$ac_exeext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47138 (eval $ac_link) 2>conftest.er1
47139 ac_status=$?
47140 grep -v '^ *+' conftest.er1 >conftest.err
47141 rm -f conftest.er1
47142 cat conftest.err >&5
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); } &&
47145 { ac_try='test -z "$ac_c_werror_flag"
47146 || test ! -s conftest.err'
47147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148 (eval $ac_try) 2>&5
47149 ac_status=$?
47150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151 (exit $ac_status); }; } &&
47152 { ac_try='test -s conftest$ac_exeext'
47153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154 (eval $ac_try) 2>&5
47155 ac_status=$?
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; }; then
47158 eval "$as_ac_var=yes"
47159 else
47160 echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47162
47163 eval "$as_ac_var=no"
47164 fi
47165 rm -f conftest.err conftest.$ac_objext \
47166 conftest$ac_exeext conftest.$ac_ext
47167 fi
47168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47170 if test `eval echo '${'$as_ac_var'}'` = yes; then
47171 cat >>confdefs.h <<_ACEOF
47172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47173 _ACEOF
47174
47175 fi
47176 done
47177
47178 fi
47179 fi
47180
47181
47182
47183
47184
47185
47186 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47187 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47188 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47189 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47190 echo $ECHO_N "(cached) $ECHO_C" >&6
47191 else
47192
47193
47194
47195 ac_ext=cc
47196 ac_cpp='$CXXCPP $CPPFLAGS'
47197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47200
47201 cat >conftest.$ac_ext <<_ACEOF
47202 /* confdefs.h. */
47203 _ACEOF
47204 cat confdefs.h >>conftest.$ac_ext
47205 cat >>conftest.$ac_ext <<_ACEOF
47206 /* end confdefs.h. */
47207 #include <math.h>
47208 #ifdef HAVE_IEEEFP_H
47209 #include <ieeefp.h>
47210 #endif
47211
47212 int
47213 main ()
47214 {
47215 fabsf(0);
47216 ;
47217 return 0;
47218 }
47219 _ACEOF
47220 rm -f conftest.$ac_objext
47221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47222 (eval $ac_compile) 2>conftest.er1
47223 ac_status=$?
47224 grep -v '^ *+' conftest.er1 >conftest.err
47225 rm -f conftest.er1
47226 cat conftest.err >&5
47227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47228 (exit $ac_status); } &&
47229 { ac_try='test -z "$ac_cxx_werror_flag"
47230 || test ! -s conftest.err'
47231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47232 (eval $ac_try) 2>&5
47233 ac_status=$?
47234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47235 (exit $ac_status); }; } &&
47236 { ac_try='test -s conftest.$ac_objext'
47237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47238 (eval $ac_try) 2>&5
47239 ac_status=$?
47240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241 (exit $ac_status); }; }; then
47242 glibcxx_cv_func_fabsf_use=yes
47243 else
47244 echo "$as_me: failed program was:" >&5
47245 sed 's/^/| /' conftest.$ac_ext >&5
47246
47247 glibcxx_cv_func_fabsf_use=no
47248 fi
47249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47250 ac_ext=c
47251 ac_cpp='$CPP $CPPFLAGS'
47252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47255
47256
47257 fi
47258
47259 fi
47260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47261 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47262
47263 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47264
47265 for ac_func in fabsf
47266 do
47267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47268 echo "$as_me:$LINENO: checking for $ac_func" >&5
47269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47270 if eval "test \"\${$as_ac_var+set}\" = set"; then
47271 echo $ECHO_N "(cached) $ECHO_C" >&6
47272 else
47273 if test x$gcc_no_link = xyes; then
47274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47276 { (exit 1); exit 1; }; }
47277 fi
47278 cat >conftest.$ac_ext <<_ACEOF
47279 /* confdefs.h. */
47280 _ACEOF
47281 cat confdefs.h >>conftest.$ac_ext
47282 cat >>conftest.$ac_ext <<_ACEOF
47283 /* end confdefs.h. */
47284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47286 #define $ac_func innocuous_$ac_func
47287
47288 /* System header to define __stub macros and hopefully few prototypes,
47289 which can conflict with char $ac_func (); below.
47290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47291 <limits.h> exists even on freestanding compilers. */
47292
47293 #ifdef __STDC__
47294 # include <limits.h>
47295 #else
47296 # include <assert.h>
47297 #endif
47298
47299 #undef $ac_func
47300
47301 /* Override any gcc2 internal prototype to avoid an error. */
47302 #ifdef __cplusplus
47303 extern "C"
47304 {
47305 #endif
47306 /* We use char because int might match the return type of a gcc2
47307 builtin and then its argument prototype would still apply. */
47308 char $ac_func ();
47309 /* The GNU C library defines this for functions which it implements
47310 to always fail with ENOSYS. Some functions are actually named
47311 something starting with __ and the normal name is an alias. */
47312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47313 choke me
47314 #else
47315 char (*f) () = $ac_func;
47316 #endif
47317 #ifdef __cplusplus
47318 }
47319 #endif
47320
47321 int
47322 main ()
47323 {
47324 return f != $ac_func;
47325 ;
47326 return 0;
47327 }
47328 _ACEOF
47329 rm -f conftest.$ac_objext conftest$ac_exeext
47330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47331 (eval $ac_link) 2>conftest.er1
47332 ac_status=$?
47333 grep -v '^ *+' conftest.er1 >conftest.err
47334 rm -f conftest.er1
47335 cat conftest.err >&5
47336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337 (exit $ac_status); } &&
47338 { ac_try='test -z "$ac_c_werror_flag"
47339 || test ! -s conftest.err'
47340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341 (eval $ac_try) 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; } &&
47345 { ac_try='test -s conftest$ac_exeext'
47346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47347 (eval $ac_try) 2>&5
47348 ac_status=$?
47349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47350 (exit $ac_status); }; }; then
47351 eval "$as_ac_var=yes"
47352 else
47353 echo "$as_me: failed program was:" >&5
47354 sed 's/^/| /' conftest.$ac_ext >&5
47355
47356 eval "$as_ac_var=no"
47357 fi
47358 rm -f conftest.err conftest.$ac_objext \
47359 conftest$ac_exeext conftest.$ac_ext
47360 fi
47361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47363 if test `eval echo '${'$as_ac_var'}'` = yes; then
47364 cat >>confdefs.h <<_ACEOF
47365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47366 _ACEOF
47367
47368 fi
47369 done
47370
47371 else
47372
47373 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47374 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47375 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47376 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47377 echo $ECHO_N "(cached) $ECHO_C" >&6
47378 else
47379
47380
47381
47382 ac_ext=cc
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387
47388 cat >conftest.$ac_ext <<_ACEOF
47389 /* confdefs.h. */
47390 _ACEOF
47391 cat confdefs.h >>conftest.$ac_ext
47392 cat >>conftest.$ac_ext <<_ACEOF
47393 /* end confdefs.h. */
47394 #include <math.h>
47395 #ifdef HAVE_IEEEFP_H
47396 #include <ieeefp.h>
47397 #endif
47398
47399 int
47400 main ()
47401 {
47402 _fabsf(0);
47403 ;
47404 return 0;
47405 }
47406 _ACEOF
47407 rm -f conftest.$ac_objext
47408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47409 (eval $ac_compile) 2>conftest.er1
47410 ac_status=$?
47411 grep -v '^ *+' conftest.er1 >conftest.err
47412 rm -f conftest.er1
47413 cat conftest.err >&5
47414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47415 (exit $ac_status); } &&
47416 { ac_try='test -z "$ac_cxx_werror_flag"
47417 || test ! -s conftest.err'
47418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47419 (eval $ac_try) 2>&5
47420 ac_status=$?
47421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47422 (exit $ac_status); }; } &&
47423 { ac_try='test -s conftest.$ac_objext'
47424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47425 (eval $ac_try) 2>&5
47426 ac_status=$?
47427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47428 (exit $ac_status); }; }; then
47429 glibcxx_cv_func__fabsf_use=yes
47430 else
47431 echo "$as_me: failed program was:" >&5
47432 sed 's/^/| /' conftest.$ac_ext >&5
47433
47434 glibcxx_cv_func__fabsf_use=no
47435 fi
47436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47437 ac_ext=c
47438 ac_cpp='$CPP $CPPFLAGS'
47439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47442
47443
47444 fi
47445
47446 fi
47447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47448 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47449
47450 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47451
47452 for ac_func in _fabsf
47453 do
47454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47455 echo "$as_me:$LINENO: checking for $ac_func" >&5
47456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47457 if eval "test \"\${$as_ac_var+set}\" = set"; then
47458 echo $ECHO_N "(cached) $ECHO_C" >&6
47459 else
47460 if test x$gcc_no_link = xyes; then
47461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47463 { (exit 1); exit 1; }; }
47464 fi
47465 cat >conftest.$ac_ext <<_ACEOF
47466 /* confdefs.h. */
47467 _ACEOF
47468 cat confdefs.h >>conftest.$ac_ext
47469 cat >>conftest.$ac_ext <<_ACEOF
47470 /* end confdefs.h. */
47471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47473 #define $ac_func innocuous_$ac_func
47474
47475 /* System header to define __stub macros and hopefully few prototypes,
47476 which can conflict with char $ac_func (); below.
47477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47478 <limits.h> exists even on freestanding compilers. */
47479
47480 #ifdef __STDC__
47481 # include <limits.h>
47482 #else
47483 # include <assert.h>
47484 #endif
47485
47486 #undef $ac_func
47487
47488 /* Override any gcc2 internal prototype to avoid an error. */
47489 #ifdef __cplusplus
47490 extern "C"
47491 {
47492 #endif
47493 /* We use char because int might match the return type of a gcc2
47494 builtin and then its argument prototype would still apply. */
47495 char $ac_func ();
47496 /* The GNU C library defines this for functions which it implements
47497 to always fail with ENOSYS. Some functions are actually named
47498 something starting with __ and the normal name is an alias. */
47499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47500 choke me
47501 #else
47502 char (*f) () = $ac_func;
47503 #endif
47504 #ifdef __cplusplus
47505 }
47506 #endif
47507
47508 int
47509 main ()
47510 {
47511 return f != $ac_func;
47512 ;
47513 return 0;
47514 }
47515 _ACEOF
47516 rm -f conftest.$ac_objext conftest$ac_exeext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47518 (eval $ac_link) 2>conftest.er1
47519 ac_status=$?
47520 grep -v '^ *+' conftest.er1 >conftest.err
47521 rm -f conftest.er1
47522 cat conftest.err >&5
47523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524 (exit $ac_status); } &&
47525 { ac_try='test -z "$ac_c_werror_flag"
47526 || test ! -s conftest.err'
47527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528 (eval $ac_try) 2>&5
47529 ac_status=$?
47530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531 (exit $ac_status); }; } &&
47532 { ac_try='test -s conftest$ac_exeext'
47533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47534 (eval $ac_try) 2>&5
47535 ac_status=$?
47536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537 (exit $ac_status); }; }; then
47538 eval "$as_ac_var=yes"
47539 else
47540 echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47542
47543 eval "$as_ac_var=no"
47544 fi
47545 rm -f conftest.err conftest.$ac_objext \
47546 conftest$ac_exeext conftest.$ac_ext
47547 fi
47548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47550 if test `eval echo '${'$as_ac_var'}'` = yes; then
47551 cat >>confdefs.h <<_ACEOF
47552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47553 _ACEOF
47554
47555 fi
47556 done
47557
47558 fi
47559 fi
47560
47561
47562
47563
47564
47565
47566 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47567 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47568 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47569 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47570 echo $ECHO_N "(cached) $ECHO_C" >&6
47571 else
47572
47573
47574
47575 ac_ext=cc
47576 ac_cpp='$CXXCPP $CPPFLAGS'
47577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47580
47581 cat >conftest.$ac_ext <<_ACEOF
47582 /* confdefs.h. */
47583 _ACEOF
47584 cat confdefs.h >>conftest.$ac_ext
47585 cat >>conftest.$ac_ext <<_ACEOF
47586 /* end confdefs.h. */
47587 #include <math.h>
47588 int
47589 main ()
47590 {
47591 fmodf(0, 0);
47592 ;
47593 return 0;
47594 }
47595 _ACEOF
47596 rm -f conftest.$ac_objext
47597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47598 (eval $ac_compile) 2>conftest.er1
47599 ac_status=$?
47600 grep -v '^ *+' conftest.er1 >conftest.err
47601 rm -f conftest.er1
47602 cat conftest.err >&5
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); } &&
47605 { ac_try='test -z "$ac_cxx_werror_flag"
47606 || test ! -s conftest.err'
47607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47608 (eval $ac_try) 2>&5
47609 ac_status=$?
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); }; } &&
47612 { ac_try='test -s conftest.$ac_objext'
47613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47614 (eval $ac_try) 2>&5
47615 ac_status=$?
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); }; }; then
47618 glibcxx_cv_func_fmodf_use=yes
47619 else
47620 echo "$as_me: failed program was:" >&5
47621 sed 's/^/| /' conftest.$ac_ext >&5
47622
47623 glibcxx_cv_func_fmodf_use=no
47624 fi
47625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47626 ac_ext=c
47627 ac_cpp='$CPP $CPPFLAGS'
47628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47631
47632
47633 fi
47634
47635 fi
47636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47637 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47638
47639 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47640
47641 for ac_func in fmodf
47642 do
47643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47644 echo "$as_me:$LINENO: checking for $ac_func" >&5
47645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47646 if eval "test \"\${$as_ac_var+set}\" = set"; then
47647 echo $ECHO_N "(cached) $ECHO_C" >&6
47648 else
47649 if test x$gcc_no_link = xyes; then
47650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47652 { (exit 1); exit 1; }; }
47653 fi
47654 cat >conftest.$ac_ext <<_ACEOF
47655 /* confdefs.h. */
47656 _ACEOF
47657 cat confdefs.h >>conftest.$ac_ext
47658 cat >>conftest.$ac_ext <<_ACEOF
47659 /* end confdefs.h. */
47660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47662 #define $ac_func innocuous_$ac_func
47663
47664 /* System header to define __stub macros and hopefully few prototypes,
47665 which can conflict with char $ac_func (); below.
47666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47667 <limits.h> exists even on freestanding compilers. */
47668
47669 #ifdef __STDC__
47670 # include <limits.h>
47671 #else
47672 # include <assert.h>
47673 #endif
47674
47675 #undef $ac_func
47676
47677 /* Override any gcc2 internal prototype to avoid an error. */
47678 #ifdef __cplusplus
47679 extern "C"
47680 {
47681 #endif
47682 /* We use char because int might match the return type of a gcc2
47683 builtin and then its argument prototype would still apply. */
47684 char $ac_func ();
47685 /* The GNU C library defines this for functions which it implements
47686 to always fail with ENOSYS. Some functions are actually named
47687 something starting with __ and the normal name is an alias. */
47688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47689 choke me
47690 #else
47691 char (*f) () = $ac_func;
47692 #endif
47693 #ifdef __cplusplus
47694 }
47695 #endif
47696
47697 int
47698 main ()
47699 {
47700 return f != $ac_func;
47701 ;
47702 return 0;
47703 }
47704 _ACEOF
47705 rm -f conftest.$ac_objext conftest$ac_exeext
47706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47707 (eval $ac_link) 2>conftest.er1
47708 ac_status=$?
47709 grep -v '^ *+' conftest.er1 >conftest.err
47710 rm -f conftest.er1
47711 cat conftest.err >&5
47712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47713 (exit $ac_status); } &&
47714 { ac_try='test -z "$ac_c_werror_flag"
47715 || test ! -s conftest.err'
47716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47717 (eval $ac_try) 2>&5
47718 ac_status=$?
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; } &&
47721 { ac_try='test -s conftest$ac_exeext'
47722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47723 (eval $ac_try) 2>&5
47724 ac_status=$?
47725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47726 (exit $ac_status); }; }; then
47727 eval "$as_ac_var=yes"
47728 else
47729 echo "$as_me: failed program was:" >&5
47730 sed 's/^/| /' conftest.$ac_ext >&5
47731
47732 eval "$as_ac_var=no"
47733 fi
47734 rm -f conftest.err conftest.$ac_objext \
47735 conftest$ac_exeext conftest.$ac_ext
47736 fi
47737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47739 if test `eval echo '${'$as_ac_var'}'` = yes; then
47740 cat >>confdefs.h <<_ACEOF
47741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47742 _ACEOF
47743
47744 fi
47745 done
47746
47747 else
47748
47749 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47750 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
47751 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47752 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47753 echo $ECHO_N "(cached) $ECHO_C" >&6
47754 else
47755
47756
47757
47758 ac_ext=cc
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47763
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h. */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47770 #include <math.h>
47771 int
47772 main ()
47773 {
47774 _fmodf(0, 0);
47775 ;
47776 return 0;
47777 }
47778 _ACEOF
47779 rm -f conftest.$ac_objext
47780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47781 (eval $ac_compile) 2>conftest.er1
47782 ac_status=$?
47783 grep -v '^ *+' conftest.er1 >conftest.err
47784 rm -f conftest.er1
47785 cat conftest.err >&5
47786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47787 (exit $ac_status); } &&
47788 { ac_try='test -z "$ac_cxx_werror_flag"
47789 || test ! -s conftest.err'
47790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47791 (eval $ac_try) 2>&5
47792 ac_status=$?
47793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47794 (exit $ac_status); }; } &&
47795 { ac_try='test -s conftest.$ac_objext'
47796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47797 (eval $ac_try) 2>&5
47798 ac_status=$?
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); }; }; then
47801 glibcxx_cv_func__fmodf_use=yes
47802 else
47803 echo "$as_me: failed program was:" >&5
47804 sed 's/^/| /' conftest.$ac_ext >&5
47805
47806 glibcxx_cv_func__fmodf_use=no
47807 fi
47808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47809 ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47814
47815
47816 fi
47817
47818 fi
47819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47820 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
47821
47822 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47823
47824 for ac_func in _fmodf
47825 do
47826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47827 echo "$as_me:$LINENO: checking for $ac_func" >&5
47828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47829 if eval "test \"\${$as_ac_var+set}\" = set"; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47831 else
47832 if test x$gcc_no_link = xyes; then
47833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47835 { (exit 1); exit 1; }; }
47836 fi
47837 cat >conftest.$ac_ext <<_ACEOF
47838 /* confdefs.h. */
47839 _ACEOF
47840 cat confdefs.h >>conftest.$ac_ext
47841 cat >>conftest.$ac_ext <<_ACEOF
47842 /* end confdefs.h. */
47843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47845 #define $ac_func innocuous_$ac_func
47846
47847 /* System header to define __stub macros and hopefully few prototypes,
47848 which can conflict with char $ac_func (); below.
47849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47850 <limits.h> exists even on freestanding compilers. */
47851
47852 #ifdef __STDC__
47853 # include <limits.h>
47854 #else
47855 # include <assert.h>
47856 #endif
47857
47858 #undef $ac_func
47859
47860 /* Override any gcc2 internal prototype to avoid an error. */
47861 #ifdef __cplusplus
47862 extern "C"
47863 {
47864 #endif
47865 /* We use char because int might match the return type of a gcc2
47866 builtin and then its argument prototype would still apply. */
47867 char $ac_func ();
47868 /* The GNU C library defines this for functions which it implements
47869 to always fail with ENOSYS. Some functions are actually named
47870 something starting with __ and the normal name is an alias. */
47871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47872 choke me
47873 #else
47874 char (*f) () = $ac_func;
47875 #endif
47876 #ifdef __cplusplus
47877 }
47878 #endif
47879
47880 int
47881 main ()
47882 {
47883 return f != $ac_func;
47884 ;
47885 return 0;
47886 }
47887 _ACEOF
47888 rm -f conftest.$ac_objext conftest$ac_exeext
47889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47890 (eval $ac_link) 2>conftest.er1
47891 ac_status=$?
47892 grep -v '^ *+' conftest.er1 >conftest.err
47893 rm -f conftest.er1
47894 cat conftest.err >&5
47895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47896 (exit $ac_status); } &&
47897 { ac_try='test -z "$ac_c_werror_flag"
47898 || test ! -s conftest.err'
47899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47900 (eval $ac_try) 2>&5
47901 ac_status=$?
47902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47903 (exit $ac_status); }; } &&
47904 { ac_try='test -s conftest$ac_exeext'
47905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47906 (eval $ac_try) 2>&5
47907 ac_status=$?
47908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47909 (exit $ac_status); }; }; then
47910 eval "$as_ac_var=yes"
47911 else
47912 echo "$as_me: failed program was:" >&5
47913 sed 's/^/| /' conftest.$ac_ext >&5
47914
47915 eval "$as_ac_var=no"
47916 fi
47917 rm -f conftest.err conftest.$ac_objext \
47918 conftest$ac_exeext conftest.$ac_ext
47919 fi
47920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47922 if test `eval echo '${'$as_ac_var'}'` = yes; then
47923 cat >>confdefs.h <<_ACEOF
47924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47925 _ACEOF
47926
47927 fi
47928 done
47929
47930 fi
47931 fi
47932
47933
47934
47935
47936
47937
47938 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
47939 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
47940 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47941 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
47942 echo $ECHO_N "(cached) $ECHO_C" >&6
47943 else
47944
47945
47946
47947 ac_ext=cc
47948 ac_cpp='$CXXCPP $CPPFLAGS'
47949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47952
47953 cat >conftest.$ac_ext <<_ACEOF
47954 /* confdefs.h. */
47955 _ACEOF
47956 cat confdefs.h >>conftest.$ac_ext
47957 cat >>conftest.$ac_ext <<_ACEOF
47958 /* end confdefs.h. */
47959 #include <math.h>
47960 int
47961 main ()
47962 {
47963 frexpf(0, 0);
47964 ;
47965 return 0;
47966 }
47967 _ACEOF
47968 rm -f conftest.$ac_objext
47969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47970 (eval $ac_compile) 2>conftest.er1
47971 ac_status=$?
47972 grep -v '^ *+' conftest.er1 >conftest.err
47973 rm -f conftest.er1
47974 cat conftest.err >&5
47975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47976 (exit $ac_status); } &&
47977 { ac_try='test -z "$ac_cxx_werror_flag"
47978 || test ! -s conftest.err'
47979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47980 (eval $ac_try) 2>&5
47981 ac_status=$?
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); }; } &&
47984 { ac_try='test -s conftest.$ac_objext'
47985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47986 (eval $ac_try) 2>&5
47987 ac_status=$?
47988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47989 (exit $ac_status); }; }; then
47990 glibcxx_cv_func_frexpf_use=yes
47991 else
47992 echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.$ac_ext >&5
47994
47995 glibcxx_cv_func_frexpf_use=no
47996 fi
47997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48003
48004
48005 fi
48006
48007 fi
48008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48009 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48010
48011 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48012
48013 for ac_func in frexpf
48014 do
48015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48016 echo "$as_me:$LINENO: checking for $ac_func" >&5
48017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48018 if eval "test \"\${$as_ac_var+set}\" = set"; then
48019 echo $ECHO_N "(cached) $ECHO_C" >&6
48020 else
48021 if test x$gcc_no_link = xyes; then
48022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48024 { (exit 1); exit 1; }; }
48025 fi
48026 cat >conftest.$ac_ext <<_ACEOF
48027 /* confdefs.h. */
48028 _ACEOF
48029 cat confdefs.h >>conftest.$ac_ext
48030 cat >>conftest.$ac_ext <<_ACEOF
48031 /* end confdefs.h. */
48032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48034 #define $ac_func innocuous_$ac_func
48035
48036 /* System header to define __stub macros and hopefully few prototypes,
48037 which can conflict with char $ac_func (); below.
48038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48039 <limits.h> exists even on freestanding compilers. */
48040
48041 #ifdef __STDC__
48042 # include <limits.h>
48043 #else
48044 # include <assert.h>
48045 #endif
48046
48047 #undef $ac_func
48048
48049 /* Override any gcc2 internal prototype to avoid an error. */
48050 #ifdef __cplusplus
48051 extern "C"
48052 {
48053 #endif
48054 /* We use char because int might match the return type of a gcc2
48055 builtin and then its argument prototype would still apply. */
48056 char $ac_func ();
48057 /* The GNU C library defines this for functions which it implements
48058 to always fail with ENOSYS. Some functions are actually named
48059 something starting with __ and the normal name is an alias. */
48060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48061 choke me
48062 #else
48063 char (*f) () = $ac_func;
48064 #endif
48065 #ifdef __cplusplus
48066 }
48067 #endif
48068
48069 int
48070 main ()
48071 {
48072 return f != $ac_func;
48073 ;
48074 return 0;
48075 }
48076 _ACEOF
48077 rm -f conftest.$ac_objext conftest$ac_exeext
48078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48079 (eval $ac_link) 2>conftest.er1
48080 ac_status=$?
48081 grep -v '^ *+' conftest.er1 >conftest.err
48082 rm -f conftest.er1
48083 cat conftest.err >&5
48084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); } &&
48086 { ac_try='test -z "$ac_c_werror_flag"
48087 || test ! -s conftest.err'
48088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48089 (eval $ac_try) 2>&5
48090 ac_status=$?
48091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48092 (exit $ac_status); }; } &&
48093 { ac_try='test -s conftest$ac_exeext'
48094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48095 (eval $ac_try) 2>&5
48096 ac_status=$?
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; }; then
48099 eval "$as_ac_var=yes"
48100 else
48101 echo "$as_me: failed program was:" >&5
48102 sed 's/^/| /' conftest.$ac_ext >&5
48103
48104 eval "$as_ac_var=no"
48105 fi
48106 rm -f conftest.err conftest.$ac_objext \
48107 conftest$ac_exeext conftest.$ac_ext
48108 fi
48109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48111 if test `eval echo '${'$as_ac_var'}'` = yes; then
48112 cat >>confdefs.h <<_ACEOF
48113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48114 _ACEOF
48115
48116 fi
48117 done
48118
48119 else
48120
48121 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48122 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48123 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48124 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48125 echo $ECHO_N "(cached) $ECHO_C" >&6
48126 else
48127
48128
48129
48130 ac_ext=cc
48131 ac_cpp='$CXXCPP $CPPFLAGS'
48132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48135
48136 cat >conftest.$ac_ext <<_ACEOF
48137 /* confdefs.h. */
48138 _ACEOF
48139 cat confdefs.h >>conftest.$ac_ext
48140 cat >>conftest.$ac_ext <<_ACEOF
48141 /* end confdefs.h. */
48142 #include <math.h>
48143 int
48144 main ()
48145 {
48146 _frexpf(0, 0);
48147 ;
48148 return 0;
48149 }
48150 _ACEOF
48151 rm -f conftest.$ac_objext
48152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48153 (eval $ac_compile) 2>conftest.er1
48154 ac_status=$?
48155 grep -v '^ *+' conftest.er1 >conftest.err
48156 rm -f conftest.er1
48157 cat conftest.err >&5
48158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48159 (exit $ac_status); } &&
48160 { ac_try='test -z "$ac_cxx_werror_flag"
48161 || test ! -s conftest.err'
48162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48163 (eval $ac_try) 2>&5
48164 ac_status=$?
48165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48166 (exit $ac_status); }; } &&
48167 { ac_try='test -s conftest.$ac_objext'
48168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48169 (eval $ac_try) 2>&5
48170 ac_status=$?
48171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48172 (exit $ac_status); }; }; then
48173 glibcxx_cv_func__frexpf_use=yes
48174 else
48175 echo "$as_me: failed program was:" >&5
48176 sed 's/^/| /' conftest.$ac_ext >&5
48177
48178 glibcxx_cv_func__frexpf_use=no
48179 fi
48180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48181 ac_ext=c
48182 ac_cpp='$CPP $CPPFLAGS'
48183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48186
48187
48188 fi
48189
48190 fi
48191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48192 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48193
48194 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48195
48196 for ac_func in _frexpf
48197 do
48198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48199 echo "$as_me:$LINENO: checking for $ac_func" >&5
48200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48201 if eval "test \"\${$as_ac_var+set}\" = set"; then
48202 echo $ECHO_N "(cached) $ECHO_C" >&6
48203 else
48204 if test x$gcc_no_link = xyes; then
48205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48207 { (exit 1); exit 1; }; }
48208 fi
48209 cat >conftest.$ac_ext <<_ACEOF
48210 /* confdefs.h. */
48211 _ACEOF
48212 cat confdefs.h >>conftest.$ac_ext
48213 cat >>conftest.$ac_ext <<_ACEOF
48214 /* end confdefs.h. */
48215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48217 #define $ac_func innocuous_$ac_func
48218
48219 /* System header to define __stub macros and hopefully few prototypes,
48220 which can conflict with char $ac_func (); below.
48221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48222 <limits.h> exists even on freestanding compilers. */
48223
48224 #ifdef __STDC__
48225 # include <limits.h>
48226 #else
48227 # include <assert.h>
48228 #endif
48229
48230 #undef $ac_func
48231
48232 /* Override any gcc2 internal prototype to avoid an error. */
48233 #ifdef __cplusplus
48234 extern "C"
48235 {
48236 #endif
48237 /* We use char because int might match the return type of a gcc2
48238 builtin and then its argument prototype would still apply. */
48239 char $ac_func ();
48240 /* The GNU C library defines this for functions which it implements
48241 to always fail with ENOSYS. Some functions are actually named
48242 something starting with __ and the normal name is an alias. */
48243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48244 choke me
48245 #else
48246 char (*f) () = $ac_func;
48247 #endif
48248 #ifdef __cplusplus
48249 }
48250 #endif
48251
48252 int
48253 main ()
48254 {
48255 return f != $ac_func;
48256 ;
48257 return 0;
48258 }
48259 _ACEOF
48260 rm -f conftest.$ac_objext conftest$ac_exeext
48261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48262 (eval $ac_link) 2>conftest.er1
48263 ac_status=$?
48264 grep -v '^ *+' conftest.er1 >conftest.err
48265 rm -f conftest.er1
48266 cat conftest.err >&5
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); } &&
48269 { ac_try='test -z "$ac_c_werror_flag"
48270 || test ! -s conftest.err'
48271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48272 (eval $ac_try) 2>&5
48273 ac_status=$?
48274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48275 (exit $ac_status); }; } &&
48276 { ac_try='test -s conftest$ac_exeext'
48277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48278 (eval $ac_try) 2>&5
48279 ac_status=$?
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; }; then
48282 eval "$as_ac_var=yes"
48283 else
48284 echo "$as_me: failed program was:" >&5
48285 sed 's/^/| /' conftest.$ac_ext >&5
48286
48287 eval "$as_ac_var=no"
48288 fi
48289 rm -f conftest.err conftest.$ac_objext \
48290 conftest$ac_exeext conftest.$ac_ext
48291 fi
48292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48294 if test `eval echo '${'$as_ac_var'}'` = yes; then
48295 cat >>confdefs.h <<_ACEOF
48296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48297 _ACEOF
48298
48299 fi
48300 done
48301
48302 fi
48303 fi
48304
48305
48306
48307
48308
48309
48310 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48311 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48312 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48313 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48314 echo $ECHO_N "(cached) $ECHO_C" >&6
48315 else
48316
48317
48318
48319 ac_ext=cc
48320 ac_cpp='$CXXCPP $CPPFLAGS'
48321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324
48325 cat >conftest.$ac_ext <<_ACEOF
48326 /* confdefs.h. */
48327 _ACEOF
48328 cat confdefs.h >>conftest.$ac_ext
48329 cat >>conftest.$ac_ext <<_ACEOF
48330 /* end confdefs.h. */
48331 #include <math.h>
48332 int
48333 main ()
48334 {
48335 hypotf(0, 0);
48336 ;
48337 return 0;
48338 }
48339 _ACEOF
48340 rm -f conftest.$ac_objext
48341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48342 (eval $ac_compile) 2>conftest.er1
48343 ac_status=$?
48344 grep -v '^ *+' conftest.er1 >conftest.err
48345 rm -f conftest.er1
48346 cat conftest.err >&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try='test -z "$ac_cxx_werror_flag"
48350 || test ! -s conftest.err'
48351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48352 (eval $ac_try) 2>&5
48353 ac_status=$?
48354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48355 (exit $ac_status); }; } &&
48356 { ac_try='test -s conftest.$ac_objext'
48357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48358 (eval $ac_try) 2>&5
48359 ac_status=$?
48360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48361 (exit $ac_status); }; }; then
48362 glibcxx_cv_func_hypotf_use=yes
48363 else
48364 echo "$as_me: failed program was:" >&5
48365 sed 's/^/| /' conftest.$ac_ext >&5
48366
48367 glibcxx_cv_func_hypotf_use=no
48368 fi
48369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48370 ac_ext=c
48371 ac_cpp='$CPP $CPPFLAGS'
48372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48375
48376
48377 fi
48378
48379 fi
48380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48381 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48382
48383 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48384
48385 for ac_func in hypotf
48386 do
48387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48388 echo "$as_me:$LINENO: checking for $ac_func" >&5
48389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48390 if eval "test \"\${$as_ac_var+set}\" = set"; then
48391 echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48393 if test x$gcc_no_link = xyes; then
48394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48396 { (exit 1); exit 1; }; }
48397 fi
48398 cat >conftest.$ac_ext <<_ACEOF
48399 /* confdefs.h. */
48400 _ACEOF
48401 cat confdefs.h >>conftest.$ac_ext
48402 cat >>conftest.$ac_ext <<_ACEOF
48403 /* end confdefs.h. */
48404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48406 #define $ac_func innocuous_$ac_func
48407
48408 /* System header to define __stub macros and hopefully few prototypes,
48409 which can conflict with char $ac_func (); below.
48410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48411 <limits.h> exists even on freestanding compilers. */
48412
48413 #ifdef __STDC__
48414 # include <limits.h>
48415 #else
48416 # include <assert.h>
48417 #endif
48418
48419 #undef $ac_func
48420
48421 /* Override any gcc2 internal prototype to avoid an error. */
48422 #ifdef __cplusplus
48423 extern "C"
48424 {
48425 #endif
48426 /* We use char because int might match the return type of a gcc2
48427 builtin and then its argument prototype would still apply. */
48428 char $ac_func ();
48429 /* The GNU C library defines this for functions which it implements
48430 to always fail with ENOSYS. Some functions are actually named
48431 something starting with __ and the normal name is an alias. */
48432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48433 choke me
48434 #else
48435 char (*f) () = $ac_func;
48436 #endif
48437 #ifdef __cplusplus
48438 }
48439 #endif
48440
48441 int
48442 main ()
48443 {
48444 return f != $ac_func;
48445 ;
48446 return 0;
48447 }
48448 _ACEOF
48449 rm -f conftest.$ac_objext conftest$ac_exeext
48450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48451 (eval $ac_link) 2>conftest.er1
48452 ac_status=$?
48453 grep -v '^ *+' conftest.er1 >conftest.err
48454 rm -f conftest.er1
48455 cat conftest.err >&5
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); } &&
48458 { ac_try='test -z "$ac_c_werror_flag"
48459 || test ! -s conftest.err'
48460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48461 (eval $ac_try) 2>&5
48462 ac_status=$?
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); }; } &&
48465 { ac_try='test -s conftest$ac_exeext'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; }; then
48471 eval "$as_ac_var=yes"
48472 else
48473 echo "$as_me: failed program was:" >&5
48474 sed 's/^/| /' conftest.$ac_ext >&5
48475
48476 eval "$as_ac_var=no"
48477 fi
48478 rm -f conftest.err conftest.$ac_objext \
48479 conftest$ac_exeext conftest.$ac_ext
48480 fi
48481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48483 if test `eval echo '${'$as_ac_var'}'` = yes; then
48484 cat >>confdefs.h <<_ACEOF
48485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48486 _ACEOF
48487
48488 fi
48489 done
48490
48491 else
48492
48493 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48494 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48495 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48496 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48497 echo $ECHO_N "(cached) $ECHO_C" >&6
48498 else
48499
48500
48501
48502 ac_ext=cc
48503 ac_cpp='$CXXCPP $CPPFLAGS'
48504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48507
48508 cat >conftest.$ac_ext <<_ACEOF
48509 /* confdefs.h. */
48510 _ACEOF
48511 cat confdefs.h >>conftest.$ac_ext
48512 cat >>conftest.$ac_ext <<_ACEOF
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 int
48516 main ()
48517 {
48518 _hypotf(0, 0);
48519 ;
48520 return 0;
48521 }
48522 _ACEOF
48523 rm -f conftest.$ac_objext
48524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48525 (eval $ac_compile) 2>conftest.er1
48526 ac_status=$?
48527 grep -v '^ *+' conftest.er1 >conftest.err
48528 rm -f conftest.er1
48529 cat conftest.err >&5
48530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531 (exit $ac_status); } &&
48532 { ac_try='test -z "$ac_cxx_werror_flag"
48533 || test ! -s conftest.err'
48534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48535 (eval $ac_try) 2>&5
48536 ac_status=$?
48537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48538 (exit $ac_status); }; } &&
48539 { ac_try='test -s conftest.$ac_objext'
48540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48541 (eval $ac_try) 2>&5
48542 ac_status=$?
48543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48544 (exit $ac_status); }; }; then
48545 glibcxx_cv_func__hypotf_use=yes
48546 else
48547 echo "$as_me: failed program was:" >&5
48548 sed 's/^/| /' conftest.$ac_ext >&5
48549
48550 glibcxx_cv_func__hypotf_use=no
48551 fi
48552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48553 ac_ext=c
48554 ac_cpp='$CPP $CPPFLAGS'
48555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558
48559
48560 fi
48561
48562 fi
48563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48564 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48565
48566 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48567
48568 for ac_func in _hypotf
48569 do
48570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48571 echo "$as_me:$LINENO: checking for $ac_func" >&5
48572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48573 if eval "test \"\${$as_ac_var+set}\" = set"; then
48574 echo $ECHO_N "(cached) $ECHO_C" >&6
48575 else
48576 if test x$gcc_no_link = xyes; then
48577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48579 { (exit 1); exit 1; }; }
48580 fi
48581 cat >conftest.$ac_ext <<_ACEOF
48582 /* confdefs.h. */
48583 _ACEOF
48584 cat confdefs.h >>conftest.$ac_ext
48585 cat >>conftest.$ac_ext <<_ACEOF
48586 /* end confdefs.h. */
48587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48589 #define $ac_func innocuous_$ac_func
48590
48591 /* System header to define __stub macros and hopefully few prototypes,
48592 which can conflict with char $ac_func (); below.
48593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48594 <limits.h> exists even on freestanding compilers. */
48595
48596 #ifdef __STDC__
48597 # include <limits.h>
48598 #else
48599 # include <assert.h>
48600 #endif
48601
48602 #undef $ac_func
48603
48604 /* Override any gcc2 internal prototype to avoid an error. */
48605 #ifdef __cplusplus
48606 extern "C"
48607 {
48608 #endif
48609 /* We use char because int might match the return type of a gcc2
48610 builtin and then its argument prototype would still apply. */
48611 char $ac_func ();
48612 /* The GNU C library defines this for functions which it implements
48613 to always fail with ENOSYS. Some functions are actually named
48614 something starting with __ and the normal name is an alias. */
48615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48616 choke me
48617 #else
48618 char (*f) () = $ac_func;
48619 #endif
48620 #ifdef __cplusplus
48621 }
48622 #endif
48623
48624 int
48625 main ()
48626 {
48627 return f != $ac_func;
48628 ;
48629 return 0;
48630 }
48631 _ACEOF
48632 rm -f conftest.$ac_objext conftest$ac_exeext
48633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48634 (eval $ac_link) 2>conftest.er1
48635 ac_status=$?
48636 grep -v '^ *+' conftest.er1 >conftest.err
48637 rm -f conftest.er1
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } &&
48641 { ac_try='test -z "$ac_c_werror_flag"
48642 || test ! -s conftest.err'
48643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48644 (eval $ac_try) 2>&5
48645 ac_status=$?
48646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48647 (exit $ac_status); }; } &&
48648 { ac_try='test -s conftest$ac_exeext'
48649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48650 (eval $ac_try) 2>&5
48651 ac_status=$?
48652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48653 (exit $ac_status); }; }; then
48654 eval "$as_ac_var=yes"
48655 else
48656 echo "$as_me: failed program was:" >&5
48657 sed 's/^/| /' conftest.$ac_ext >&5
48658
48659 eval "$as_ac_var=no"
48660 fi
48661 rm -f conftest.err conftest.$ac_objext \
48662 conftest$ac_exeext conftest.$ac_ext
48663 fi
48664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48666 if test `eval echo '${'$as_ac_var'}'` = yes; then
48667 cat >>confdefs.h <<_ACEOF
48668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48669 _ACEOF
48670
48671 fi
48672 done
48673
48674 fi
48675 fi
48676
48677
48678
48679
48680
48681
48682 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48683 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
48684 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48685 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48686 echo $ECHO_N "(cached) $ECHO_C" >&6
48687 else
48688
48689
48690
48691 ac_ext=cc
48692 ac_cpp='$CXXCPP $CPPFLAGS'
48693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48696
48697 cat >conftest.$ac_ext <<_ACEOF
48698 /* confdefs.h. */
48699 _ACEOF
48700 cat confdefs.h >>conftest.$ac_ext
48701 cat >>conftest.$ac_ext <<_ACEOF
48702 /* end confdefs.h. */
48703 #include <math.h>
48704 int
48705 main ()
48706 {
48707 ldexpf(0, 0);
48708 ;
48709 return 0;
48710 }
48711 _ACEOF
48712 rm -f conftest.$ac_objext
48713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48714 (eval $ac_compile) 2>conftest.er1
48715 ac_status=$?
48716 grep -v '^ *+' conftest.er1 >conftest.err
48717 rm -f conftest.er1
48718 cat conftest.err >&5
48719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720 (exit $ac_status); } &&
48721 { ac_try='test -z "$ac_cxx_werror_flag"
48722 || test ! -s conftest.err'
48723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48724 (eval $ac_try) 2>&5
48725 ac_status=$?
48726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48727 (exit $ac_status); }; } &&
48728 { ac_try='test -s conftest.$ac_objext'
48729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48730 (eval $ac_try) 2>&5
48731 ac_status=$?
48732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48733 (exit $ac_status); }; }; then
48734 glibcxx_cv_func_ldexpf_use=yes
48735 else
48736 echo "$as_me: failed program was:" >&5
48737 sed 's/^/| /' conftest.$ac_ext >&5
48738
48739 glibcxx_cv_func_ldexpf_use=no
48740 fi
48741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48747
48748
48749 fi
48750
48751 fi
48752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48753 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
48754
48755 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48756
48757 for ac_func in ldexpf
48758 do
48759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48760 echo "$as_me:$LINENO: checking for $ac_func" >&5
48761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48762 if eval "test \"\${$as_ac_var+set}\" = set"; then
48763 echo $ECHO_N "(cached) $ECHO_C" >&6
48764 else
48765 if test x$gcc_no_link = xyes; then
48766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48768 { (exit 1); exit 1; }; }
48769 fi
48770 cat >conftest.$ac_ext <<_ACEOF
48771 /* confdefs.h. */
48772 _ACEOF
48773 cat confdefs.h >>conftest.$ac_ext
48774 cat >>conftest.$ac_ext <<_ACEOF
48775 /* end confdefs.h. */
48776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48778 #define $ac_func innocuous_$ac_func
48779
48780 /* System header to define __stub macros and hopefully few prototypes,
48781 which can conflict with char $ac_func (); below.
48782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48783 <limits.h> exists even on freestanding compilers. */
48784
48785 #ifdef __STDC__
48786 # include <limits.h>
48787 #else
48788 # include <assert.h>
48789 #endif
48790
48791 #undef $ac_func
48792
48793 /* Override any gcc2 internal prototype to avoid an error. */
48794 #ifdef __cplusplus
48795 extern "C"
48796 {
48797 #endif
48798 /* We use char because int might match the return type of a gcc2
48799 builtin and then its argument prototype would still apply. */
48800 char $ac_func ();
48801 /* The GNU C library defines this for functions which it implements
48802 to always fail with ENOSYS. Some functions are actually named
48803 something starting with __ and the normal name is an alias. */
48804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48805 choke me
48806 #else
48807 char (*f) () = $ac_func;
48808 #endif
48809 #ifdef __cplusplus
48810 }
48811 #endif
48812
48813 int
48814 main ()
48815 {
48816 return f != $ac_func;
48817 ;
48818 return 0;
48819 }
48820 _ACEOF
48821 rm -f conftest.$ac_objext conftest$ac_exeext
48822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48823 (eval $ac_link) 2>conftest.er1
48824 ac_status=$?
48825 grep -v '^ *+' conftest.er1 >conftest.err
48826 rm -f conftest.er1
48827 cat conftest.err >&5
48828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48829 (exit $ac_status); } &&
48830 { ac_try='test -z "$ac_c_werror_flag"
48831 || test ! -s conftest.err'
48832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48833 (eval $ac_try) 2>&5
48834 ac_status=$?
48835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836 (exit $ac_status); }; } &&
48837 { ac_try='test -s conftest$ac_exeext'
48838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48839 (eval $ac_try) 2>&5
48840 ac_status=$?
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); }; }; then
48843 eval "$as_ac_var=yes"
48844 else
48845 echo "$as_me: failed program was:" >&5
48846 sed 's/^/| /' conftest.$ac_ext >&5
48847
48848 eval "$as_ac_var=no"
48849 fi
48850 rm -f conftest.err conftest.$ac_objext \
48851 conftest$ac_exeext conftest.$ac_ext
48852 fi
48853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48855 if test `eval echo '${'$as_ac_var'}'` = yes; then
48856 cat >>confdefs.h <<_ACEOF
48857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48858 _ACEOF
48859
48860 fi
48861 done
48862
48863 else
48864
48865 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48866 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
48867 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48868 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48869 echo $ECHO_N "(cached) $ECHO_C" >&6
48870 else
48871
48872
48873
48874 ac_ext=cc
48875 ac_cpp='$CXXCPP $CPPFLAGS'
48876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48879
48880 cat >conftest.$ac_ext <<_ACEOF
48881 /* confdefs.h. */
48882 _ACEOF
48883 cat confdefs.h >>conftest.$ac_ext
48884 cat >>conftest.$ac_ext <<_ACEOF
48885 /* end confdefs.h. */
48886 #include <math.h>
48887 int
48888 main ()
48889 {
48890 _ldexpf(0, 0);
48891 ;
48892 return 0;
48893 }
48894 _ACEOF
48895 rm -f conftest.$ac_objext
48896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48897 (eval $ac_compile) 2>conftest.er1
48898 ac_status=$?
48899 grep -v '^ *+' conftest.er1 >conftest.err
48900 rm -f conftest.er1
48901 cat conftest.err >&5
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); } &&
48904 { ac_try='test -z "$ac_cxx_werror_flag"
48905 || test ! -s conftest.err'
48906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48907 (eval $ac_try) 2>&5
48908 ac_status=$?
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); }; } &&
48911 { ac_try='test -s conftest.$ac_objext'
48912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48913 (eval $ac_try) 2>&5
48914 ac_status=$?
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); }; }; then
48917 glibcxx_cv_func__ldexpf_use=yes
48918 else
48919 echo "$as_me: failed program was:" >&5
48920 sed 's/^/| /' conftest.$ac_ext >&5
48921
48922 glibcxx_cv_func__ldexpf_use=no
48923 fi
48924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48925 ac_ext=c
48926 ac_cpp='$CPP $CPPFLAGS'
48927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930
48931
48932 fi
48933
48934 fi
48935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
48936 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
48937
48938 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48939
48940 for ac_func in _ldexpf
48941 do
48942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48943 echo "$as_me:$LINENO: checking for $ac_func" >&5
48944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48945 if eval "test \"\${$as_ac_var+set}\" = set"; then
48946 echo $ECHO_N "(cached) $ECHO_C" >&6
48947 else
48948 if test x$gcc_no_link = xyes; then
48949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48951 { (exit 1); exit 1; }; }
48952 fi
48953 cat >conftest.$ac_ext <<_ACEOF
48954 /* confdefs.h. */
48955 _ACEOF
48956 cat confdefs.h >>conftest.$ac_ext
48957 cat >>conftest.$ac_ext <<_ACEOF
48958 /* end confdefs.h. */
48959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48961 #define $ac_func innocuous_$ac_func
48962
48963 /* System header to define __stub macros and hopefully few prototypes,
48964 which can conflict with char $ac_func (); below.
48965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48966 <limits.h> exists even on freestanding compilers. */
48967
48968 #ifdef __STDC__
48969 # include <limits.h>
48970 #else
48971 # include <assert.h>
48972 #endif
48973
48974 #undef $ac_func
48975
48976 /* Override any gcc2 internal prototype to avoid an error. */
48977 #ifdef __cplusplus
48978 extern "C"
48979 {
48980 #endif
48981 /* We use char because int might match the return type of a gcc2
48982 builtin and then its argument prototype would still apply. */
48983 char $ac_func ();
48984 /* The GNU C library defines this for functions which it implements
48985 to always fail with ENOSYS. Some functions are actually named
48986 something starting with __ and the normal name is an alias. */
48987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48988 choke me
48989 #else
48990 char (*f) () = $ac_func;
48991 #endif
48992 #ifdef __cplusplus
48993 }
48994 #endif
48995
48996 int
48997 main ()
48998 {
48999 return f != $ac_func;
49000 ;
49001 return 0;
49002 }
49003 _ACEOF
49004 rm -f conftest.$ac_objext conftest$ac_exeext
49005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49006 (eval $ac_link) 2>conftest.er1
49007 ac_status=$?
49008 grep -v '^ *+' conftest.er1 >conftest.err
49009 rm -f conftest.er1
49010 cat conftest.err >&5
49011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49012 (exit $ac_status); } &&
49013 { ac_try='test -z "$ac_c_werror_flag"
49014 || test ! -s conftest.err'
49015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49016 (eval $ac_try) 2>&5
49017 ac_status=$?
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); }; } &&
49020 { ac_try='test -s conftest$ac_exeext'
49021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49022 (eval $ac_try) 2>&5
49023 ac_status=$?
49024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49025 (exit $ac_status); }; }; then
49026 eval "$as_ac_var=yes"
49027 else
49028 echo "$as_me: failed program was:" >&5
49029 sed 's/^/| /' conftest.$ac_ext >&5
49030
49031 eval "$as_ac_var=no"
49032 fi
49033 rm -f conftest.err conftest.$ac_objext \
49034 conftest$ac_exeext conftest.$ac_ext
49035 fi
49036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49038 if test `eval echo '${'$as_ac_var'}'` = yes; then
49039 cat >>confdefs.h <<_ACEOF
49040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49041 _ACEOF
49042
49043 fi
49044 done
49045
49046 fi
49047 fi
49048
49049
49050
49051
49052
49053
49054 echo "$as_me:$LINENO: checking for logf declaration" >&5
49055 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49056 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49057 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49058 echo $ECHO_N "(cached) $ECHO_C" >&6
49059 else
49060
49061
49062
49063 ac_ext=cc
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49068
49069 cat >conftest.$ac_ext <<_ACEOF
49070 /* confdefs.h. */
49071 _ACEOF
49072 cat confdefs.h >>conftest.$ac_ext
49073 cat >>conftest.$ac_ext <<_ACEOF
49074 /* end confdefs.h. */
49075 #include <math.h>
49076 #ifdef HAVE_IEEEFP_H
49077 #include <ieeefp.h>
49078 #endif
49079
49080 int
49081 main ()
49082 {
49083 logf(0);
49084 ;
49085 return 0;
49086 }
49087 _ACEOF
49088 rm -f conftest.$ac_objext
49089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49090 (eval $ac_compile) 2>conftest.er1
49091 ac_status=$?
49092 grep -v '^ *+' conftest.er1 >conftest.err
49093 rm -f conftest.er1
49094 cat conftest.err >&5
49095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096 (exit $ac_status); } &&
49097 { ac_try='test -z "$ac_cxx_werror_flag"
49098 || test ! -s conftest.err'
49099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49100 (eval $ac_try) 2>&5
49101 ac_status=$?
49102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49103 (exit $ac_status); }; } &&
49104 { ac_try='test -s conftest.$ac_objext'
49105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49106 (eval $ac_try) 2>&5
49107 ac_status=$?
49108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49109 (exit $ac_status); }; }; then
49110 glibcxx_cv_func_logf_use=yes
49111 else
49112 echo "$as_me: failed program was:" >&5
49113 sed 's/^/| /' conftest.$ac_ext >&5
49114
49115 glibcxx_cv_func_logf_use=no
49116 fi
49117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123
49124
49125 fi
49126
49127 fi
49128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49129 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49130
49131 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49132
49133 for ac_func in logf
49134 do
49135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49136 echo "$as_me:$LINENO: checking for $ac_func" >&5
49137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49138 if eval "test \"\${$as_ac_var+set}\" = set"; then
49139 echo $ECHO_N "(cached) $ECHO_C" >&6
49140 else
49141 if test x$gcc_no_link = xyes; then
49142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49144 { (exit 1); exit 1; }; }
49145 fi
49146 cat >conftest.$ac_ext <<_ACEOF
49147 /* confdefs.h. */
49148 _ACEOF
49149 cat confdefs.h >>conftest.$ac_ext
49150 cat >>conftest.$ac_ext <<_ACEOF
49151 /* end confdefs.h. */
49152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49154 #define $ac_func innocuous_$ac_func
49155
49156 /* System header to define __stub macros and hopefully few prototypes,
49157 which can conflict with char $ac_func (); below.
49158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49159 <limits.h> exists even on freestanding compilers. */
49160
49161 #ifdef __STDC__
49162 # include <limits.h>
49163 #else
49164 # include <assert.h>
49165 #endif
49166
49167 #undef $ac_func
49168
49169 /* Override any gcc2 internal prototype to avoid an error. */
49170 #ifdef __cplusplus
49171 extern "C"
49172 {
49173 #endif
49174 /* We use char because int might match the return type of a gcc2
49175 builtin and then its argument prototype would still apply. */
49176 char $ac_func ();
49177 /* The GNU C library defines this for functions which it implements
49178 to always fail with ENOSYS. Some functions are actually named
49179 something starting with __ and the normal name is an alias. */
49180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49181 choke me
49182 #else
49183 char (*f) () = $ac_func;
49184 #endif
49185 #ifdef __cplusplus
49186 }
49187 #endif
49188
49189 int
49190 main ()
49191 {
49192 return f != $ac_func;
49193 ;
49194 return 0;
49195 }
49196 _ACEOF
49197 rm -f conftest.$ac_objext conftest$ac_exeext
49198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49199 (eval $ac_link) 2>conftest.er1
49200 ac_status=$?
49201 grep -v '^ *+' conftest.er1 >conftest.err
49202 rm -f conftest.er1
49203 cat conftest.err >&5
49204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49205 (exit $ac_status); } &&
49206 { ac_try='test -z "$ac_c_werror_flag"
49207 || test ! -s conftest.err'
49208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49209 (eval $ac_try) 2>&5
49210 ac_status=$?
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; } &&
49213 { ac_try='test -s conftest$ac_exeext'
49214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49215 (eval $ac_try) 2>&5
49216 ac_status=$?
49217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218 (exit $ac_status); }; }; then
49219 eval "$as_ac_var=yes"
49220 else
49221 echo "$as_me: failed program was:" >&5
49222 sed 's/^/| /' conftest.$ac_ext >&5
49223
49224 eval "$as_ac_var=no"
49225 fi
49226 rm -f conftest.err conftest.$ac_objext \
49227 conftest$ac_exeext conftest.$ac_ext
49228 fi
49229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49231 if test `eval echo '${'$as_ac_var'}'` = yes; then
49232 cat >>confdefs.h <<_ACEOF
49233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49234 _ACEOF
49235
49236 fi
49237 done
49238
49239 else
49240
49241 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49242 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49243 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49244 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49245 echo $ECHO_N "(cached) $ECHO_C" >&6
49246 else
49247
49248
49249
49250 ac_ext=cc
49251 ac_cpp='$CXXCPP $CPPFLAGS'
49252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49255
49256 cat >conftest.$ac_ext <<_ACEOF
49257 /* confdefs.h. */
49258 _ACEOF
49259 cat confdefs.h >>conftest.$ac_ext
49260 cat >>conftest.$ac_ext <<_ACEOF
49261 /* end confdefs.h. */
49262 #include <math.h>
49263 #ifdef HAVE_IEEEFP_H
49264 #include <ieeefp.h>
49265 #endif
49266
49267 int
49268 main ()
49269 {
49270 _logf(0);
49271 ;
49272 return 0;
49273 }
49274 _ACEOF
49275 rm -f conftest.$ac_objext
49276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49277 (eval $ac_compile) 2>conftest.er1
49278 ac_status=$?
49279 grep -v '^ *+' conftest.er1 >conftest.err
49280 rm -f conftest.er1
49281 cat conftest.err >&5
49282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49283 (exit $ac_status); } &&
49284 { ac_try='test -z "$ac_cxx_werror_flag"
49285 || test ! -s conftest.err'
49286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49287 (eval $ac_try) 2>&5
49288 ac_status=$?
49289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49290 (exit $ac_status); }; } &&
49291 { ac_try='test -s conftest.$ac_objext'
49292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49293 (eval $ac_try) 2>&5
49294 ac_status=$?
49295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49296 (exit $ac_status); }; }; then
49297 glibcxx_cv_func__logf_use=yes
49298 else
49299 echo "$as_me: failed program was:" >&5
49300 sed 's/^/| /' conftest.$ac_ext >&5
49301
49302 glibcxx_cv_func__logf_use=no
49303 fi
49304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49310
49311
49312 fi
49313
49314 fi
49315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49316 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49317
49318 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49319
49320 for ac_func in _logf
49321 do
49322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49323 echo "$as_me:$LINENO: checking for $ac_func" >&5
49324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49325 if eval "test \"\${$as_ac_var+set}\" = set"; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49328 if test x$gcc_no_link = xyes; then
49329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49331 { (exit 1); exit 1; }; }
49332 fi
49333 cat >conftest.$ac_ext <<_ACEOF
49334 /* confdefs.h. */
49335 _ACEOF
49336 cat confdefs.h >>conftest.$ac_ext
49337 cat >>conftest.$ac_ext <<_ACEOF
49338 /* end confdefs.h. */
49339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49341 #define $ac_func innocuous_$ac_func
49342
49343 /* System header to define __stub macros and hopefully few prototypes,
49344 which can conflict with char $ac_func (); below.
49345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49346 <limits.h> exists even on freestanding compilers. */
49347
49348 #ifdef __STDC__
49349 # include <limits.h>
49350 #else
49351 # include <assert.h>
49352 #endif
49353
49354 #undef $ac_func
49355
49356 /* Override any gcc2 internal prototype to avoid an error. */
49357 #ifdef __cplusplus
49358 extern "C"
49359 {
49360 #endif
49361 /* We use char because int might match the return type of a gcc2
49362 builtin and then its argument prototype would still apply. */
49363 char $ac_func ();
49364 /* The GNU C library defines this for functions which it implements
49365 to always fail with ENOSYS. Some functions are actually named
49366 something starting with __ and the normal name is an alias. */
49367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49368 choke me
49369 #else
49370 char (*f) () = $ac_func;
49371 #endif
49372 #ifdef __cplusplus
49373 }
49374 #endif
49375
49376 int
49377 main ()
49378 {
49379 return f != $ac_func;
49380 ;
49381 return 0;
49382 }
49383 _ACEOF
49384 rm -f conftest.$ac_objext conftest$ac_exeext
49385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49386 (eval $ac_link) 2>conftest.er1
49387 ac_status=$?
49388 grep -v '^ *+' conftest.er1 >conftest.err
49389 rm -f conftest.er1
49390 cat conftest.err >&5
49391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392 (exit $ac_status); } &&
49393 { ac_try='test -z "$ac_c_werror_flag"
49394 || test ! -s conftest.err'
49395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49396 (eval $ac_try) 2>&5
49397 ac_status=$?
49398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49399 (exit $ac_status); }; } &&
49400 { ac_try='test -s conftest$ac_exeext'
49401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49402 (eval $ac_try) 2>&5
49403 ac_status=$?
49404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49405 (exit $ac_status); }; }; then
49406 eval "$as_ac_var=yes"
49407 else
49408 echo "$as_me: failed program was:" >&5
49409 sed 's/^/| /' conftest.$ac_ext >&5
49410
49411 eval "$as_ac_var=no"
49412 fi
49413 rm -f conftest.err conftest.$ac_objext \
49414 conftest$ac_exeext conftest.$ac_ext
49415 fi
49416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49418 if test `eval echo '${'$as_ac_var'}'` = yes; then
49419 cat >>confdefs.h <<_ACEOF
49420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49421 _ACEOF
49422
49423 fi
49424 done
49425
49426 fi
49427 fi
49428
49429
49430
49431
49432
49433
49434 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49435 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49436 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49437 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49438 echo $ECHO_N "(cached) $ECHO_C" >&6
49439 else
49440
49441
49442
49443 ac_ext=cc
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448
49449 cat >conftest.$ac_ext <<_ACEOF
49450 /* confdefs.h. */
49451 _ACEOF
49452 cat confdefs.h >>conftest.$ac_ext
49453 cat >>conftest.$ac_ext <<_ACEOF
49454 /* end confdefs.h. */
49455 #include <math.h>
49456 #ifdef HAVE_IEEEFP_H
49457 #include <ieeefp.h>
49458 #endif
49459
49460 int
49461 main ()
49462 {
49463 log10f(0);
49464 ;
49465 return 0;
49466 }
49467 _ACEOF
49468 rm -f conftest.$ac_objext
49469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49470 (eval $ac_compile) 2>conftest.er1
49471 ac_status=$?
49472 grep -v '^ *+' conftest.er1 >conftest.err
49473 rm -f conftest.er1
49474 cat conftest.err >&5
49475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476 (exit $ac_status); } &&
49477 { ac_try='test -z "$ac_cxx_werror_flag"
49478 || test ! -s conftest.err'
49479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49480 (eval $ac_try) 2>&5
49481 ac_status=$?
49482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49483 (exit $ac_status); }; } &&
49484 { ac_try='test -s conftest.$ac_objext'
49485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49486 (eval $ac_try) 2>&5
49487 ac_status=$?
49488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49489 (exit $ac_status); }; }; then
49490 glibcxx_cv_func_log10f_use=yes
49491 else
49492 echo "$as_me: failed program was:" >&5
49493 sed 's/^/| /' conftest.$ac_ext >&5
49494
49495 glibcxx_cv_func_log10f_use=no
49496 fi
49497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49498 ac_ext=c
49499 ac_cpp='$CPP $CPPFLAGS'
49500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49503
49504
49505 fi
49506
49507 fi
49508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49509 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49510
49511 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49512
49513 for ac_func in log10f
49514 do
49515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49516 echo "$as_me:$LINENO: checking for $ac_func" >&5
49517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49518 if eval "test \"\${$as_ac_var+set}\" = set"; then
49519 echo $ECHO_N "(cached) $ECHO_C" >&6
49520 else
49521 if test x$gcc_no_link = xyes; then
49522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49524 { (exit 1); exit 1; }; }
49525 fi
49526 cat >conftest.$ac_ext <<_ACEOF
49527 /* confdefs.h. */
49528 _ACEOF
49529 cat confdefs.h >>conftest.$ac_ext
49530 cat >>conftest.$ac_ext <<_ACEOF
49531 /* end confdefs.h. */
49532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49534 #define $ac_func innocuous_$ac_func
49535
49536 /* System header to define __stub macros and hopefully few prototypes,
49537 which can conflict with char $ac_func (); below.
49538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49539 <limits.h> exists even on freestanding compilers. */
49540
49541 #ifdef __STDC__
49542 # include <limits.h>
49543 #else
49544 # include <assert.h>
49545 #endif
49546
49547 #undef $ac_func
49548
49549 /* Override any gcc2 internal prototype to avoid an error. */
49550 #ifdef __cplusplus
49551 extern "C"
49552 {
49553 #endif
49554 /* We use char because int might match the return type of a gcc2
49555 builtin and then its argument prototype would still apply. */
49556 char $ac_func ();
49557 /* The GNU C library defines this for functions which it implements
49558 to always fail with ENOSYS. Some functions are actually named
49559 something starting with __ and the normal name is an alias. */
49560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49561 choke me
49562 #else
49563 char (*f) () = $ac_func;
49564 #endif
49565 #ifdef __cplusplus
49566 }
49567 #endif
49568
49569 int
49570 main ()
49571 {
49572 return f != $ac_func;
49573 ;
49574 return 0;
49575 }
49576 _ACEOF
49577 rm -f conftest.$ac_objext conftest$ac_exeext
49578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49579 (eval $ac_link) 2>conftest.er1
49580 ac_status=$?
49581 grep -v '^ *+' conftest.er1 >conftest.err
49582 rm -f conftest.er1
49583 cat conftest.err >&5
49584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49585 (exit $ac_status); } &&
49586 { ac_try='test -z "$ac_c_werror_flag"
49587 || test ! -s conftest.err'
49588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49589 (eval $ac_try) 2>&5
49590 ac_status=$?
49591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49592 (exit $ac_status); }; } &&
49593 { ac_try='test -s conftest$ac_exeext'
49594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49595 (eval $ac_try) 2>&5
49596 ac_status=$?
49597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49598 (exit $ac_status); }; }; then
49599 eval "$as_ac_var=yes"
49600 else
49601 echo "$as_me: failed program was:" >&5
49602 sed 's/^/| /' conftest.$ac_ext >&5
49603
49604 eval "$as_ac_var=no"
49605 fi
49606 rm -f conftest.err conftest.$ac_objext \
49607 conftest$ac_exeext conftest.$ac_ext
49608 fi
49609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49611 if test `eval echo '${'$as_ac_var'}'` = yes; then
49612 cat >>confdefs.h <<_ACEOF
49613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49614 _ACEOF
49615
49616 fi
49617 done
49618
49619 else
49620
49621 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49622 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49623 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49624 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49625 echo $ECHO_N "(cached) $ECHO_C" >&6
49626 else
49627
49628
49629
49630 ac_ext=cc
49631 ac_cpp='$CXXCPP $CPPFLAGS'
49632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49635
49636 cat >conftest.$ac_ext <<_ACEOF
49637 /* confdefs.h. */
49638 _ACEOF
49639 cat confdefs.h >>conftest.$ac_ext
49640 cat >>conftest.$ac_ext <<_ACEOF
49641 /* end confdefs.h. */
49642 #include <math.h>
49643 #ifdef HAVE_IEEEFP_H
49644 #include <ieeefp.h>
49645 #endif
49646
49647 int
49648 main ()
49649 {
49650 _log10f(0);
49651 ;
49652 return 0;
49653 }
49654 _ACEOF
49655 rm -f conftest.$ac_objext
49656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49657 (eval $ac_compile) 2>conftest.er1
49658 ac_status=$?
49659 grep -v '^ *+' conftest.er1 >conftest.err
49660 rm -f conftest.er1
49661 cat conftest.err >&5
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); } &&
49664 { ac_try='test -z "$ac_cxx_werror_flag"
49665 || test ! -s conftest.err'
49666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49667 (eval $ac_try) 2>&5
49668 ac_status=$?
49669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49670 (exit $ac_status); }; } &&
49671 { ac_try='test -s conftest.$ac_objext'
49672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49673 (eval $ac_try) 2>&5
49674 ac_status=$?
49675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49676 (exit $ac_status); }; }; then
49677 glibcxx_cv_func__log10f_use=yes
49678 else
49679 echo "$as_me: failed program was:" >&5
49680 sed 's/^/| /' conftest.$ac_ext >&5
49681
49682 glibcxx_cv_func__log10f_use=no
49683 fi
49684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49685 ac_ext=c
49686 ac_cpp='$CPP $CPPFLAGS'
49687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49690
49691
49692 fi
49693
49694 fi
49695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49696 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
49697
49698 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49699
49700 for ac_func in _log10f
49701 do
49702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49703 echo "$as_me:$LINENO: checking for $ac_func" >&5
49704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49705 if eval "test \"\${$as_ac_var+set}\" = set"; then
49706 echo $ECHO_N "(cached) $ECHO_C" >&6
49707 else
49708 if test x$gcc_no_link = xyes; then
49709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49711 { (exit 1); exit 1; }; }
49712 fi
49713 cat >conftest.$ac_ext <<_ACEOF
49714 /* confdefs.h. */
49715 _ACEOF
49716 cat confdefs.h >>conftest.$ac_ext
49717 cat >>conftest.$ac_ext <<_ACEOF
49718 /* end confdefs.h. */
49719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49721 #define $ac_func innocuous_$ac_func
49722
49723 /* System header to define __stub macros and hopefully few prototypes,
49724 which can conflict with char $ac_func (); below.
49725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49726 <limits.h> exists even on freestanding compilers. */
49727
49728 #ifdef __STDC__
49729 # include <limits.h>
49730 #else
49731 # include <assert.h>
49732 #endif
49733
49734 #undef $ac_func
49735
49736 /* Override any gcc2 internal prototype to avoid an error. */
49737 #ifdef __cplusplus
49738 extern "C"
49739 {
49740 #endif
49741 /* We use char because int might match the return type of a gcc2
49742 builtin and then its argument prototype would still apply. */
49743 char $ac_func ();
49744 /* The GNU C library defines this for functions which it implements
49745 to always fail with ENOSYS. Some functions are actually named
49746 something starting with __ and the normal name is an alias. */
49747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49748 choke me
49749 #else
49750 char (*f) () = $ac_func;
49751 #endif
49752 #ifdef __cplusplus
49753 }
49754 #endif
49755
49756 int
49757 main ()
49758 {
49759 return f != $ac_func;
49760 ;
49761 return 0;
49762 }
49763 _ACEOF
49764 rm -f conftest.$ac_objext conftest$ac_exeext
49765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49766 (eval $ac_link) 2>conftest.er1
49767 ac_status=$?
49768 grep -v '^ *+' conftest.er1 >conftest.err
49769 rm -f conftest.er1
49770 cat conftest.err >&5
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); } &&
49773 { ac_try='test -z "$ac_c_werror_flag"
49774 || test ! -s conftest.err'
49775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49776 (eval $ac_try) 2>&5
49777 ac_status=$?
49778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49779 (exit $ac_status); }; } &&
49780 { ac_try='test -s conftest$ac_exeext'
49781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49782 (eval $ac_try) 2>&5
49783 ac_status=$?
49784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49785 (exit $ac_status); }; }; then
49786 eval "$as_ac_var=yes"
49787 else
49788 echo "$as_me: failed program was:" >&5
49789 sed 's/^/| /' conftest.$ac_ext >&5
49790
49791 eval "$as_ac_var=no"
49792 fi
49793 rm -f conftest.err conftest.$ac_objext \
49794 conftest$ac_exeext conftest.$ac_ext
49795 fi
49796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49798 if test `eval echo '${'$as_ac_var'}'` = yes; then
49799 cat >>confdefs.h <<_ACEOF
49800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49801 _ACEOF
49802
49803 fi
49804 done
49805
49806 fi
49807 fi
49808
49809
49810
49811
49812
49813
49814 echo "$as_me:$LINENO: checking for modff declaration" >&5
49815 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
49816 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49817 if test "${glibcxx_cv_func_modff_use+set}" = set; then
49818 echo $ECHO_N "(cached) $ECHO_C" >&6
49819 else
49820
49821
49822
49823 ac_ext=cc
49824 ac_cpp='$CXXCPP $CPPFLAGS'
49825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49828
49829 cat >conftest.$ac_ext <<_ACEOF
49830 /* confdefs.h. */
49831 _ACEOF
49832 cat confdefs.h >>conftest.$ac_ext
49833 cat >>conftest.$ac_ext <<_ACEOF
49834 /* end confdefs.h. */
49835 #include <math.h>
49836 int
49837 main ()
49838 {
49839 modff(0, 0);
49840 ;
49841 return 0;
49842 }
49843 _ACEOF
49844 rm -f conftest.$ac_objext
49845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49846 (eval $ac_compile) 2>conftest.er1
49847 ac_status=$?
49848 grep -v '^ *+' conftest.er1 >conftest.err
49849 rm -f conftest.er1
49850 cat conftest.err >&5
49851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49852 (exit $ac_status); } &&
49853 { ac_try='test -z "$ac_cxx_werror_flag"
49854 || test ! -s conftest.err'
49855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49856 (eval $ac_try) 2>&5
49857 ac_status=$?
49858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49859 (exit $ac_status); }; } &&
49860 { ac_try='test -s conftest.$ac_objext'
49861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49862 (eval $ac_try) 2>&5
49863 ac_status=$?
49864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49865 (exit $ac_status); }; }; then
49866 glibcxx_cv_func_modff_use=yes
49867 else
49868 echo "$as_me: failed program was:" >&5
49869 sed 's/^/| /' conftest.$ac_ext >&5
49870
49871 glibcxx_cv_func_modff_use=no
49872 fi
49873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49874 ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49879
49880
49881 fi
49882
49883 fi
49884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49885 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
49886
49887 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49888
49889 for ac_func in modff
49890 do
49891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49892 echo "$as_me:$LINENO: checking for $ac_func" >&5
49893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49894 if eval "test \"\${$as_ac_var+set}\" = set"; then
49895 echo $ECHO_N "(cached) $ECHO_C" >&6
49896 else
49897 if test x$gcc_no_link = xyes; then
49898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49900 { (exit 1); exit 1; }; }
49901 fi
49902 cat >conftest.$ac_ext <<_ACEOF
49903 /* confdefs.h. */
49904 _ACEOF
49905 cat confdefs.h >>conftest.$ac_ext
49906 cat >>conftest.$ac_ext <<_ACEOF
49907 /* end confdefs.h. */
49908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49910 #define $ac_func innocuous_$ac_func
49911
49912 /* System header to define __stub macros and hopefully few prototypes,
49913 which can conflict with char $ac_func (); below.
49914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49915 <limits.h> exists even on freestanding compilers. */
49916
49917 #ifdef __STDC__
49918 # include <limits.h>
49919 #else
49920 # include <assert.h>
49921 #endif
49922
49923 #undef $ac_func
49924
49925 /* Override any gcc2 internal prototype to avoid an error. */
49926 #ifdef __cplusplus
49927 extern "C"
49928 {
49929 #endif
49930 /* We use char because int might match the return type of a gcc2
49931 builtin and then its argument prototype would still apply. */
49932 char $ac_func ();
49933 /* The GNU C library defines this for functions which it implements
49934 to always fail with ENOSYS. Some functions are actually named
49935 something starting with __ and the normal name is an alias. */
49936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49937 choke me
49938 #else
49939 char (*f) () = $ac_func;
49940 #endif
49941 #ifdef __cplusplus
49942 }
49943 #endif
49944
49945 int
49946 main ()
49947 {
49948 return f != $ac_func;
49949 ;
49950 return 0;
49951 }
49952 _ACEOF
49953 rm -f conftest.$ac_objext conftest$ac_exeext
49954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49955 (eval $ac_link) 2>conftest.er1
49956 ac_status=$?
49957 grep -v '^ *+' conftest.er1 >conftest.err
49958 rm -f conftest.er1
49959 cat conftest.err >&5
49960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49961 (exit $ac_status); } &&
49962 { ac_try='test -z "$ac_c_werror_flag"
49963 || test ! -s conftest.err'
49964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49965 (eval $ac_try) 2>&5
49966 ac_status=$?
49967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49968 (exit $ac_status); }; } &&
49969 { ac_try='test -s conftest$ac_exeext'
49970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49971 (eval $ac_try) 2>&5
49972 ac_status=$?
49973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49974 (exit $ac_status); }; }; then
49975 eval "$as_ac_var=yes"
49976 else
49977 echo "$as_me: failed program was:" >&5
49978 sed 's/^/| /' conftest.$ac_ext >&5
49979
49980 eval "$as_ac_var=no"
49981 fi
49982 rm -f conftest.err conftest.$ac_objext \
49983 conftest$ac_exeext conftest.$ac_ext
49984 fi
49985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49987 if test `eval echo '${'$as_ac_var'}'` = yes; then
49988 cat >>confdefs.h <<_ACEOF
49989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49990 _ACEOF
49991
49992 fi
49993 done
49994
49995 else
49996
49997 echo "$as_me:$LINENO: checking for _modff declaration" >&5
49998 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
49999 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50000 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50001 echo $ECHO_N "(cached) $ECHO_C" >&6
50002 else
50003
50004
50005
50006 ac_ext=cc
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011
50012 cat >conftest.$ac_ext <<_ACEOF
50013 /* confdefs.h. */
50014 _ACEOF
50015 cat confdefs.h >>conftest.$ac_ext
50016 cat >>conftest.$ac_ext <<_ACEOF
50017 /* end confdefs.h. */
50018 #include <math.h>
50019 int
50020 main ()
50021 {
50022 _modff(0, 0);
50023 ;
50024 return 0;
50025 }
50026 _ACEOF
50027 rm -f conftest.$ac_objext
50028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50029 (eval $ac_compile) 2>conftest.er1
50030 ac_status=$?
50031 grep -v '^ *+' conftest.er1 >conftest.err
50032 rm -f conftest.er1
50033 cat conftest.err >&5
50034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50035 (exit $ac_status); } &&
50036 { ac_try='test -z "$ac_cxx_werror_flag"
50037 || test ! -s conftest.err'
50038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50039 (eval $ac_try) 2>&5
50040 ac_status=$?
50041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50042 (exit $ac_status); }; } &&
50043 { ac_try='test -s conftest.$ac_objext'
50044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50045 (eval $ac_try) 2>&5
50046 ac_status=$?
50047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50048 (exit $ac_status); }; }; then
50049 glibcxx_cv_func__modff_use=yes
50050 else
50051 echo "$as_me: failed program was:" >&5
50052 sed 's/^/| /' conftest.$ac_ext >&5
50053
50054 glibcxx_cv_func__modff_use=no
50055 fi
50056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50057 ac_ext=c
50058 ac_cpp='$CPP $CPPFLAGS'
50059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50062
50063
50064 fi
50065
50066 fi
50067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50068 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50069
50070 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50071
50072 for ac_func in _modff
50073 do
50074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50075 echo "$as_me:$LINENO: checking for $ac_func" >&5
50076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50077 if eval "test \"\${$as_ac_var+set}\" = set"; then
50078 echo $ECHO_N "(cached) $ECHO_C" >&6
50079 else
50080 if test x$gcc_no_link = xyes; then
50081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50083 { (exit 1); exit 1; }; }
50084 fi
50085 cat >conftest.$ac_ext <<_ACEOF
50086 /* confdefs.h. */
50087 _ACEOF
50088 cat confdefs.h >>conftest.$ac_ext
50089 cat >>conftest.$ac_ext <<_ACEOF
50090 /* end confdefs.h. */
50091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50093 #define $ac_func innocuous_$ac_func
50094
50095 /* System header to define __stub macros and hopefully few prototypes,
50096 which can conflict with char $ac_func (); below.
50097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50098 <limits.h> exists even on freestanding compilers. */
50099
50100 #ifdef __STDC__
50101 # include <limits.h>
50102 #else
50103 # include <assert.h>
50104 #endif
50105
50106 #undef $ac_func
50107
50108 /* Override any gcc2 internal prototype to avoid an error. */
50109 #ifdef __cplusplus
50110 extern "C"
50111 {
50112 #endif
50113 /* We use char because int might match the return type of a gcc2
50114 builtin and then its argument prototype would still apply. */
50115 char $ac_func ();
50116 /* The GNU C library defines this for functions which it implements
50117 to always fail with ENOSYS. Some functions are actually named
50118 something starting with __ and the normal name is an alias. */
50119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50120 choke me
50121 #else
50122 char (*f) () = $ac_func;
50123 #endif
50124 #ifdef __cplusplus
50125 }
50126 #endif
50127
50128 int
50129 main ()
50130 {
50131 return f != $ac_func;
50132 ;
50133 return 0;
50134 }
50135 _ACEOF
50136 rm -f conftest.$ac_objext conftest$ac_exeext
50137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50138 (eval $ac_link) 2>conftest.er1
50139 ac_status=$?
50140 grep -v '^ *+' conftest.er1 >conftest.err
50141 rm -f conftest.er1
50142 cat conftest.err >&5
50143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50144 (exit $ac_status); } &&
50145 { ac_try='test -z "$ac_c_werror_flag"
50146 || test ! -s conftest.err'
50147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50148 (eval $ac_try) 2>&5
50149 ac_status=$?
50150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50151 (exit $ac_status); }; } &&
50152 { ac_try='test -s conftest$ac_exeext'
50153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50154 (eval $ac_try) 2>&5
50155 ac_status=$?
50156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50157 (exit $ac_status); }; }; then
50158 eval "$as_ac_var=yes"
50159 else
50160 echo "$as_me: failed program was:" >&5
50161 sed 's/^/| /' conftest.$ac_ext >&5
50162
50163 eval "$as_ac_var=no"
50164 fi
50165 rm -f conftest.err conftest.$ac_objext \
50166 conftest$ac_exeext conftest.$ac_ext
50167 fi
50168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50170 if test `eval echo '${'$as_ac_var'}'` = yes; then
50171 cat >>confdefs.h <<_ACEOF
50172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50173 _ACEOF
50174
50175 fi
50176 done
50177
50178 fi
50179 fi
50180
50181
50182
50183
50184
50185
50186 echo "$as_me:$LINENO: checking for modf declaration" >&5
50187 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50188 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50189 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50190 echo $ECHO_N "(cached) $ECHO_C" >&6
50191 else
50192
50193
50194
50195 ac_ext=cc
50196 ac_cpp='$CXXCPP $CPPFLAGS'
50197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50200
50201 cat >conftest.$ac_ext <<_ACEOF
50202 /* confdefs.h. */
50203 _ACEOF
50204 cat confdefs.h >>conftest.$ac_ext
50205 cat >>conftest.$ac_ext <<_ACEOF
50206 /* end confdefs.h. */
50207 #include <math.h>
50208 int
50209 main ()
50210 {
50211 modf(0, 0);
50212 ;
50213 return 0;
50214 }
50215 _ACEOF
50216 rm -f conftest.$ac_objext
50217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50218 (eval $ac_compile) 2>conftest.er1
50219 ac_status=$?
50220 grep -v '^ *+' conftest.er1 >conftest.err
50221 rm -f conftest.er1
50222 cat conftest.err >&5
50223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50224 (exit $ac_status); } &&
50225 { ac_try='test -z "$ac_cxx_werror_flag"
50226 || test ! -s conftest.err'
50227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50228 (eval $ac_try) 2>&5
50229 ac_status=$?
50230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50231 (exit $ac_status); }; } &&
50232 { ac_try='test -s conftest.$ac_objext'
50233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50234 (eval $ac_try) 2>&5
50235 ac_status=$?
50236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50237 (exit $ac_status); }; }; then
50238 glibcxx_cv_func_modf_use=yes
50239 else
50240 echo "$as_me: failed program was:" >&5
50241 sed 's/^/| /' conftest.$ac_ext >&5
50242
50243 glibcxx_cv_func_modf_use=no
50244 fi
50245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50251
50252
50253 fi
50254
50255 fi
50256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50257 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50258
50259 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50260
50261 for ac_func in modf
50262 do
50263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50264 echo "$as_me:$LINENO: checking for $ac_func" >&5
50265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50266 if eval "test \"\${$as_ac_var+set}\" = set"; then
50267 echo $ECHO_N "(cached) $ECHO_C" >&6
50268 else
50269 if test x$gcc_no_link = xyes; then
50270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50272 { (exit 1); exit 1; }; }
50273 fi
50274 cat >conftest.$ac_ext <<_ACEOF
50275 /* confdefs.h. */
50276 _ACEOF
50277 cat confdefs.h >>conftest.$ac_ext
50278 cat >>conftest.$ac_ext <<_ACEOF
50279 /* end confdefs.h. */
50280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50282 #define $ac_func innocuous_$ac_func
50283
50284 /* System header to define __stub macros and hopefully few prototypes,
50285 which can conflict with char $ac_func (); below.
50286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50287 <limits.h> exists even on freestanding compilers. */
50288
50289 #ifdef __STDC__
50290 # include <limits.h>
50291 #else
50292 # include <assert.h>
50293 #endif
50294
50295 #undef $ac_func
50296
50297 /* Override any gcc2 internal prototype to avoid an error. */
50298 #ifdef __cplusplus
50299 extern "C"
50300 {
50301 #endif
50302 /* We use char because int might match the return type of a gcc2
50303 builtin and then its argument prototype would still apply. */
50304 char $ac_func ();
50305 /* The GNU C library defines this for functions which it implements
50306 to always fail with ENOSYS. Some functions are actually named
50307 something starting with __ and the normal name is an alias. */
50308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50309 choke me
50310 #else
50311 char (*f) () = $ac_func;
50312 #endif
50313 #ifdef __cplusplus
50314 }
50315 #endif
50316
50317 int
50318 main ()
50319 {
50320 return f != $ac_func;
50321 ;
50322 return 0;
50323 }
50324 _ACEOF
50325 rm -f conftest.$ac_objext conftest$ac_exeext
50326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50327 (eval $ac_link) 2>conftest.er1
50328 ac_status=$?
50329 grep -v '^ *+' conftest.er1 >conftest.err
50330 rm -f conftest.er1
50331 cat conftest.err >&5
50332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50333 (exit $ac_status); } &&
50334 { ac_try='test -z "$ac_c_werror_flag"
50335 || test ! -s conftest.err'
50336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50337 (eval $ac_try) 2>&5
50338 ac_status=$?
50339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50340 (exit $ac_status); }; } &&
50341 { ac_try='test -s conftest$ac_exeext'
50342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50343 (eval $ac_try) 2>&5
50344 ac_status=$?
50345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50346 (exit $ac_status); }; }; then
50347 eval "$as_ac_var=yes"
50348 else
50349 echo "$as_me: failed program was:" >&5
50350 sed 's/^/| /' conftest.$ac_ext >&5
50351
50352 eval "$as_ac_var=no"
50353 fi
50354 rm -f conftest.err conftest.$ac_objext \
50355 conftest$ac_exeext conftest.$ac_ext
50356 fi
50357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50359 if test `eval echo '${'$as_ac_var'}'` = yes; then
50360 cat >>confdefs.h <<_ACEOF
50361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367 else
50368
50369 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50370 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50371 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50372 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50373 echo $ECHO_N "(cached) $ECHO_C" >&6
50374 else
50375
50376
50377
50378 ac_ext=cc
50379 ac_cpp='$CXXCPP $CPPFLAGS'
50380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383
50384 cat >conftest.$ac_ext <<_ACEOF
50385 /* confdefs.h. */
50386 _ACEOF
50387 cat confdefs.h >>conftest.$ac_ext
50388 cat >>conftest.$ac_ext <<_ACEOF
50389 /* end confdefs.h. */
50390 #include <math.h>
50391 int
50392 main ()
50393 {
50394 _modf(0, 0);
50395 ;
50396 return 0;
50397 }
50398 _ACEOF
50399 rm -f conftest.$ac_objext
50400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50401 (eval $ac_compile) 2>conftest.er1
50402 ac_status=$?
50403 grep -v '^ *+' conftest.er1 >conftest.err
50404 rm -f conftest.er1
50405 cat conftest.err >&5
50406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50407 (exit $ac_status); } &&
50408 { ac_try='test -z "$ac_cxx_werror_flag"
50409 || test ! -s conftest.err'
50410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50411 (eval $ac_try) 2>&5
50412 ac_status=$?
50413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50414 (exit $ac_status); }; } &&
50415 { ac_try='test -s conftest.$ac_objext'
50416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50417 (eval $ac_try) 2>&5
50418 ac_status=$?
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); }; }; then
50421 glibcxx_cv_func__modf_use=yes
50422 else
50423 echo "$as_me: failed program was:" >&5
50424 sed 's/^/| /' conftest.$ac_ext >&5
50425
50426 glibcxx_cv_func__modf_use=no
50427 fi
50428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50429 ac_ext=c
50430 ac_cpp='$CPP $CPPFLAGS'
50431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50434
50435
50436 fi
50437
50438 fi
50439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50440 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50441
50442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50443
50444 for ac_func in _modf
50445 do
50446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50447 echo "$as_me:$LINENO: checking for $ac_func" >&5
50448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50449 if eval "test \"\${$as_ac_var+set}\" = set"; then
50450 echo $ECHO_N "(cached) $ECHO_C" >&6
50451 else
50452 if test x$gcc_no_link = xyes; then
50453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50455 { (exit 1); exit 1; }; }
50456 fi
50457 cat >conftest.$ac_ext <<_ACEOF
50458 /* confdefs.h. */
50459 _ACEOF
50460 cat confdefs.h >>conftest.$ac_ext
50461 cat >>conftest.$ac_ext <<_ACEOF
50462 /* end confdefs.h. */
50463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50465 #define $ac_func innocuous_$ac_func
50466
50467 /* System header to define __stub macros and hopefully few prototypes,
50468 which can conflict with char $ac_func (); below.
50469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50470 <limits.h> exists even on freestanding compilers. */
50471
50472 #ifdef __STDC__
50473 # include <limits.h>
50474 #else
50475 # include <assert.h>
50476 #endif
50477
50478 #undef $ac_func
50479
50480 /* Override any gcc2 internal prototype to avoid an error. */
50481 #ifdef __cplusplus
50482 extern "C"
50483 {
50484 #endif
50485 /* We use char because int might match the return type of a gcc2
50486 builtin and then its argument prototype would still apply. */
50487 char $ac_func ();
50488 /* The GNU C library defines this for functions which it implements
50489 to always fail with ENOSYS. Some functions are actually named
50490 something starting with __ and the normal name is an alias. */
50491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50492 choke me
50493 #else
50494 char (*f) () = $ac_func;
50495 #endif
50496 #ifdef __cplusplus
50497 }
50498 #endif
50499
50500 int
50501 main ()
50502 {
50503 return f != $ac_func;
50504 ;
50505 return 0;
50506 }
50507 _ACEOF
50508 rm -f conftest.$ac_objext conftest$ac_exeext
50509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50510 (eval $ac_link) 2>conftest.er1
50511 ac_status=$?
50512 grep -v '^ *+' conftest.er1 >conftest.err
50513 rm -f conftest.er1
50514 cat conftest.err >&5
50515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516 (exit $ac_status); } &&
50517 { ac_try='test -z "$ac_c_werror_flag"
50518 || test ! -s conftest.err'
50519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50520 (eval $ac_try) 2>&5
50521 ac_status=$?
50522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50523 (exit $ac_status); }; } &&
50524 { ac_try='test -s conftest$ac_exeext'
50525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50526 (eval $ac_try) 2>&5
50527 ac_status=$?
50528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50529 (exit $ac_status); }; }; then
50530 eval "$as_ac_var=yes"
50531 else
50532 echo "$as_me: failed program was:" >&5
50533 sed 's/^/| /' conftest.$ac_ext >&5
50534
50535 eval "$as_ac_var=no"
50536 fi
50537 rm -f conftest.err conftest.$ac_objext \
50538 conftest$ac_exeext conftest.$ac_ext
50539 fi
50540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50542 if test `eval echo '${'$as_ac_var'}'` = yes; then
50543 cat >>confdefs.h <<_ACEOF
50544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50545 _ACEOF
50546
50547 fi
50548 done
50549
50550 fi
50551 fi
50552
50553
50554
50555
50556
50557
50558 echo "$as_me:$LINENO: checking for powf declaration" >&5
50559 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50560 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50561 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50562 echo $ECHO_N "(cached) $ECHO_C" >&6
50563 else
50564
50565
50566
50567 ac_ext=cc
50568 ac_cpp='$CXXCPP $CPPFLAGS'
50569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50572
50573 cat >conftest.$ac_ext <<_ACEOF
50574 /* confdefs.h. */
50575 _ACEOF
50576 cat confdefs.h >>conftest.$ac_ext
50577 cat >>conftest.$ac_ext <<_ACEOF
50578 /* end confdefs.h. */
50579 #include <math.h>
50580 int
50581 main ()
50582 {
50583 powf(0, 0);
50584 ;
50585 return 0;
50586 }
50587 _ACEOF
50588 rm -f conftest.$ac_objext
50589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50590 (eval $ac_compile) 2>conftest.er1
50591 ac_status=$?
50592 grep -v '^ *+' conftest.er1 >conftest.err
50593 rm -f conftest.er1
50594 cat conftest.err >&5
50595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50596 (exit $ac_status); } &&
50597 { ac_try='test -z "$ac_cxx_werror_flag"
50598 || test ! -s conftest.err'
50599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50600 (eval $ac_try) 2>&5
50601 ac_status=$?
50602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50603 (exit $ac_status); }; } &&
50604 { ac_try='test -s conftest.$ac_objext'
50605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50606 (eval $ac_try) 2>&5
50607 ac_status=$?
50608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50609 (exit $ac_status); }; }; then
50610 glibcxx_cv_func_powf_use=yes
50611 else
50612 echo "$as_me: failed program was:" >&5
50613 sed 's/^/| /' conftest.$ac_ext >&5
50614
50615 glibcxx_cv_func_powf_use=no
50616 fi
50617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50618 ac_ext=c
50619 ac_cpp='$CPP $CPPFLAGS'
50620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50623
50624
50625 fi
50626
50627 fi
50628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50629 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50630
50631 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50632
50633 for ac_func in powf
50634 do
50635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50636 echo "$as_me:$LINENO: checking for $ac_func" >&5
50637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50638 if eval "test \"\${$as_ac_var+set}\" = set"; then
50639 echo $ECHO_N "(cached) $ECHO_C" >&6
50640 else
50641 if test x$gcc_no_link = xyes; then
50642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50644 { (exit 1); exit 1; }; }
50645 fi
50646 cat >conftest.$ac_ext <<_ACEOF
50647 /* confdefs.h. */
50648 _ACEOF
50649 cat confdefs.h >>conftest.$ac_ext
50650 cat >>conftest.$ac_ext <<_ACEOF
50651 /* end confdefs.h. */
50652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50654 #define $ac_func innocuous_$ac_func
50655
50656 /* System header to define __stub macros and hopefully few prototypes,
50657 which can conflict with char $ac_func (); below.
50658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50659 <limits.h> exists even on freestanding compilers. */
50660
50661 #ifdef __STDC__
50662 # include <limits.h>
50663 #else
50664 # include <assert.h>
50665 #endif
50666
50667 #undef $ac_func
50668
50669 /* Override any gcc2 internal prototype to avoid an error. */
50670 #ifdef __cplusplus
50671 extern "C"
50672 {
50673 #endif
50674 /* We use char because int might match the return type of a gcc2
50675 builtin and then its argument prototype would still apply. */
50676 char $ac_func ();
50677 /* The GNU C library defines this for functions which it implements
50678 to always fail with ENOSYS. Some functions are actually named
50679 something starting with __ and the normal name is an alias. */
50680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50681 choke me
50682 #else
50683 char (*f) () = $ac_func;
50684 #endif
50685 #ifdef __cplusplus
50686 }
50687 #endif
50688
50689 int
50690 main ()
50691 {
50692 return f != $ac_func;
50693 ;
50694 return 0;
50695 }
50696 _ACEOF
50697 rm -f conftest.$ac_objext conftest$ac_exeext
50698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50699 (eval $ac_link) 2>conftest.er1
50700 ac_status=$?
50701 grep -v '^ *+' conftest.er1 >conftest.err
50702 rm -f conftest.er1
50703 cat conftest.err >&5
50704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50705 (exit $ac_status); } &&
50706 { ac_try='test -z "$ac_c_werror_flag"
50707 || test ! -s conftest.err'
50708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50709 (eval $ac_try) 2>&5
50710 ac_status=$?
50711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50712 (exit $ac_status); }; } &&
50713 { ac_try='test -s conftest$ac_exeext'
50714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50715 (eval $ac_try) 2>&5
50716 ac_status=$?
50717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50718 (exit $ac_status); }; }; then
50719 eval "$as_ac_var=yes"
50720 else
50721 echo "$as_me: failed program was:" >&5
50722 sed 's/^/| /' conftest.$ac_ext >&5
50723
50724 eval "$as_ac_var=no"
50725 fi
50726 rm -f conftest.err conftest.$ac_objext \
50727 conftest$ac_exeext conftest.$ac_ext
50728 fi
50729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50731 if test `eval echo '${'$as_ac_var'}'` = yes; then
50732 cat >>confdefs.h <<_ACEOF
50733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50734 _ACEOF
50735
50736 fi
50737 done
50738
50739 else
50740
50741 echo "$as_me:$LINENO: checking for _powf declaration" >&5
50742 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
50743 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50744 if test "${glibcxx_cv_func__powf_use+set}" = set; then
50745 echo $ECHO_N "(cached) $ECHO_C" >&6
50746 else
50747
50748
50749
50750 ac_ext=cc
50751 ac_cpp='$CXXCPP $CPPFLAGS'
50752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50755
50756 cat >conftest.$ac_ext <<_ACEOF
50757 /* confdefs.h. */
50758 _ACEOF
50759 cat confdefs.h >>conftest.$ac_ext
50760 cat >>conftest.$ac_ext <<_ACEOF
50761 /* end confdefs.h. */
50762 #include <math.h>
50763 int
50764 main ()
50765 {
50766 _powf(0, 0);
50767 ;
50768 return 0;
50769 }
50770 _ACEOF
50771 rm -f conftest.$ac_objext
50772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50773 (eval $ac_compile) 2>conftest.er1
50774 ac_status=$?
50775 grep -v '^ *+' conftest.er1 >conftest.err
50776 rm -f conftest.er1
50777 cat conftest.err >&5
50778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50779 (exit $ac_status); } &&
50780 { ac_try='test -z "$ac_cxx_werror_flag"
50781 || test ! -s conftest.err'
50782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50783 (eval $ac_try) 2>&5
50784 ac_status=$?
50785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50786 (exit $ac_status); }; } &&
50787 { ac_try='test -s conftest.$ac_objext'
50788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50789 (eval $ac_try) 2>&5
50790 ac_status=$?
50791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792 (exit $ac_status); }; }; then
50793 glibcxx_cv_func__powf_use=yes
50794 else
50795 echo "$as_me: failed program was:" >&5
50796 sed 's/^/| /' conftest.$ac_ext >&5
50797
50798 glibcxx_cv_func__powf_use=no
50799 fi
50800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50801 ac_ext=c
50802 ac_cpp='$CPP $CPPFLAGS'
50803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50806
50807
50808 fi
50809
50810 fi
50811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50812 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
50813
50814 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50815
50816 for ac_func in _powf
50817 do
50818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50819 echo "$as_me:$LINENO: checking for $ac_func" >&5
50820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50821 if eval "test \"\${$as_ac_var+set}\" = set"; then
50822 echo $ECHO_N "(cached) $ECHO_C" >&6
50823 else
50824 if test x$gcc_no_link = xyes; then
50825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50827 { (exit 1); exit 1; }; }
50828 fi
50829 cat >conftest.$ac_ext <<_ACEOF
50830 /* confdefs.h. */
50831 _ACEOF
50832 cat confdefs.h >>conftest.$ac_ext
50833 cat >>conftest.$ac_ext <<_ACEOF
50834 /* end confdefs.h. */
50835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50837 #define $ac_func innocuous_$ac_func
50838
50839 /* System header to define __stub macros and hopefully few prototypes,
50840 which can conflict with char $ac_func (); below.
50841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50842 <limits.h> exists even on freestanding compilers. */
50843
50844 #ifdef __STDC__
50845 # include <limits.h>
50846 #else
50847 # include <assert.h>
50848 #endif
50849
50850 #undef $ac_func
50851
50852 /* Override any gcc2 internal prototype to avoid an error. */
50853 #ifdef __cplusplus
50854 extern "C"
50855 {
50856 #endif
50857 /* We use char because int might match the return type of a gcc2
50858 builtin and then its argument prototype would still apply. */
50859 char $ac_func ();
50860 /* The GNU C library defines this for functions which it implements
50861 to always fail with ENOSYS. Some functions are actually named
50862 something starting with __ and the normal name is an alias. */
50863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50864 choke me
50865 #else
50866 char (*f) () = $ac_func;
50867 #endif
50868 #ifdef __cplusplus
50869 }
50870 #endif
50871
50872 int
50873 main ()
50874 {
50875 return f != $ac_func;
50876 ;
50877 return 0;
50878 }
50879 _ACEOF
50880 rm -f conftest.$ac_objext conftest$ac_exeext
50881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50882 (eval $ac_link) 2>conftest.er1
50883 ac_status=$?
50884 grep -v '^ *+' conftest.er1 >conftest.err
50885 rm -f conftest.er1
50886 cat conftest.err >&5
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); } &&
50889 { ac_try='test -z "$ac_c_werror_flag"
50890 || test ! -s conftest.err'
50891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50892 (eval $ac_try) 2>&5
50893 ac_status=$?
50894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50895 (exit $ac_status); }; } &&
50896 { ac_try='test -s conftest$ac_exeext'
50897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50898 (eval $ac_try) 2>&5
50899 ac_status=$?
50900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50901 (exit $ac_status); }; }; then
50902 eval "$as_ac_var=yes"
50903 else
50904 echo "$as_me: failed program was:" >&5
50905 sed 's/^/| /' conftest.$ac_ext >&5
50906
50907 eval "$as_ac_var=no"
50908 fi
50909 rm -f conftest.err conftest.$ac_objext \
50910 conftest$ac_exeext conftest.$ac_ext
50911 fi
50912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50914 if test `eval echo '${'$as_ac_var'}'` = yes; then
50915 cat >>confdefs.h <<_ACEOF
50916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50917 _ACEOF
50918
50919 fi
50920 done
50921
50922 fi
50923 fi
50924
50925
50926
50927
50928
50929
50930 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
50931 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
50932 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50933 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
50934 echo $ECHO_N "(cached) $ECHO_C" >&6
50935 else
50936
50937
50938
50939 ac_ext=cc
50940 ac_cpp='$CXXCPP $CPPFLAGS'
50941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50944
50945 cat >conftest.$ac_ext <<_ACEOF
50946 /* confdefs.h. */
50947 _ACEOF
50948 cat confdefs.h >>conftest.$ac_ext
50949 cat >>conftest.$ac_ext <<_ACEOF
50950 /* end confdefs.h. */
50951 #include <math.h>
50952 #ifdef HAVE_IEEEFP_H
50953 #include <ieeefp.h>
50954 #endif
50955
50956 int
50957 main ()
50958 {
50959 sqrtf(0);
50960 ;
50961 return 0;
50962 }
50963 _ACEOF
50964 rm -f conftest.$ac_objext
50965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50966 (eval $ac_compile) 2>conftest.er1
50967 ac_status=$?
50968 grep -v '^ *+' conftest.er1 >conftest.err
50969 rm -f conftest.er1
50970 cat conftest.err >&5
50971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972 (exit $ac_status); } &&
50973 { ac_try='test -z "$ac_cxx_werror_flag"
50974 || test ! -s conftest.err'
50975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50976 (eval $ac_try) 2>&5
50977 ac_status=$?
50978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50979 (exit $ac_status); }; } &&
50980 { ac_try='test -s conftest.$ac_objext'
50981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50982 (eval $ac_try) 2>&5
50983 ac_status=$?
50984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50985 (exit $ac_status); }; }; then
50986 glibcxx_cv_func_sqrtf_use=yes
50987 else
50988 echo "$as_me: failed program was:" >&5
50989 sed 's/^/| /' conftest.$ac_ext >&5
50990
50991 glibcxx_cv_func_sqrtf_use=no
50992 fi
50993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50994 ac_ext=c
50995 ac_cpp='$CPP $CPPFLAGS'
50996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50999
51000
51001 fi
51002
51003 fi
51004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51005 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51006
51007 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51008
51009 for ac_func in sqrtf
51010 do
51011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51012 echo "$as_me:$LINENO: checking for $ac_func" >&5
51013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51014 if eval "test \"\${$as_ac_var+set}\" = set"; then
51015 echo $ECHO_N "(cached) $ECHO_C" >&6
51016 else
51017 if test x$gcc_no_link = xyes; then
51018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51020 { (exit 1); exit 1; }; }
51021 fi
51022 cat >conftest.$ac_ext <<_ACEOF
51023 /* confdefs.h. */
51024 _ACEOF
51025 cat confdefs.h >>conftest.$ac_ext
51026 cat >>conftest.$ac_ext <<_ACEOF
51027 /* end confdefs.h. */
51028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51030 #define $ac_func innocuous_$ac_func
51031
51032 /* System header to define __stub macros and hopefully few prototypes,
51033 which can conflict with char $ac_func (); below.
51034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51035 <limits.h> exists even on freestanding compilers. */
51036
51037 #ifdef __STDC__
51038 # include <limits.h>
51039 #else
51040 # include <assert.h>
51041 #endif
51042
51043 #undef $ac_func
51044
51045 /* Override any gcc2 internal prototype to avoid an error. */
51046 #ifdef __cplusplus
51047 extern "C"
51048 {
51049 #endif
51050 /* We use char because int might match the return type of a gcc2
51051 builtin and then its argument prototype would still apply. */
51052 char $ac_func ();
51053 /* The GNU C library defines this for functions which it implements
51054 to always fail with ENOSYS. Some functions are actually named
51055 something starting with __ and the normal name is an alias. */
51056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51057 choke me
51058 #else
51059 char (*f) () = $ac_func;
51060 #endif
51061 #ifdef __cplusplus
51062 }
51063 #endif
51064
51065 int
51066 main ()
51067 {
51068 return f != $ac_func;
51069 ;
51070 return 0;
51071 }
51072 _ACEOF
51073 rm -f conftest.$ac_objext conftest$ac_exeext
51074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51075 (eval $ac_link) 2>conftest.er1
51076 ac_status=$?
51077 grep -v '^ *+' conftest.er1 >conftest.err
51078 rm -f conftest.er1
51079 cat conftest.err >&5
51080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081 (exit $ac_status); } &&
51082 { ac_try='test -z "$ac_c_werror_flag"
51083 || test ! -s conftest.err'
51084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51085 (eval $ac_try) 2>&5
51086 ac_status=$?
51087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51088 (exit $ac_status); }; } &&
51089 { ac_try='test -s conftest$ac_exeext'
51090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51091 (eval $ac_try) 2>&5
51092 ac_status=$?
51093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51094 (exit $ac_status); }; }; then
51095 eval "$as_ac_var=yes"
51096 else
51097 echo "$as_me: failed program was:" >&5
51098 sed 's/^/| /' conftest.$ac_ext >&5
51099
51100 eval "$as_ac_var=no"
51101 fi
51102 rm -f conftest.err conftest.$ac_objext \
51103 conftest$ac_exeext conftest.$ac_ext
51104 fi
51105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51107 if test `eval echo '${'$as_ac_var'}'` = yes; then
51108 cat >>confdefs.h <<_ACEOF
51109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51110 _ACEOF
51111
51112 fi
51113 done
51114
51115 else
51116
51117 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51118 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51119 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51120 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51121 echo $ECHO_N "(cached) $ECHO_C" >&6
51122 else
51123
51124
51125
51126 ac_ext=cc
51127 ac_cpp='$CXXCPP $CPPFLAGS'
51128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51131
51132 cat >conftest.$ac_ext <<_ACEOF
51133 /* confdefs.h. */
51134 _ACEOF
51135 cat confdefs.h >>conftest.$ac_ext
51136 cat >>conftest.$ac_ext <<_ACEOF
51137 /* end confdefs.h. */
51138 #include <math.h>
51139 #ifdef HAVE_IEEEFP_H
51140 #include <ieeefp.h>
51141 #endif
51142
51143 int
51144 main ()
51145 {
51146 _sqrtf(0);
51147 ;
51148 return 0;
51149 }
51150 _ACEOF
51151 rm -f conftest.$ac_objext
51152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51153 (eval $ac_compile) 2>conftest.er1
51154 ac_status=$?
51155 grep -v '^ *+' conftest.er1 >conftest.err
51156 rm -f conftest.er1
51157 cat conftest.err >&5
51158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51159 (exit $ac_status); } &&
51160 { ac_try='test -z "$ac_cxx_werror_flag"
51161 || test ! -s conftest.err'
51162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51163 (eval $ac_try) 2>&5
51164 ac_status=$?
51165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51166 (exit $ac_status); }; } &&
51167 { ac_try='test -s conftest.$ac_objext'
51168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51169 (eval $ac_try) 2>&5
51170 ac_status=$?
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); }; }; then
51173 glibcxx_cv_func__sqrtf_use=yes
51174 else
51175 echo "$as_me: failed program was:" >&5
51176 sed 's/^/| /' conftest.$ac_ext >&5
51177
51178 glibcxx_cv_func__sqrtf_use=no
51179 fi
51180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51181 ac_ext=c
51182 ac_cpp='$CPP $CPPFLAGS'
51183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51186
51187
51188 fi
51189
51190 fi
51191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51192 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51193
51194 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51195
51196 for ac_func in _sqrtf
51197 do
51198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51199 echo "$as_me:$LINENO: checking for $ac_func" >&5
51200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51201 if eval "test \"\${$as_ac_var+set}\" = set"; then
51202 echo $ECHO_N "(cached) $ECHO_C" >&6
51203 else
51204 if test x$gcc_no_link = xyes; then
51205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51207 { (exit 1); exit 1; }; }
51208 fi
51209 cat >conftest.$ac_ext <<_ACEOF
51210 /* confdefs.h. */
51211 _ACEOF
51212 cat confdefs.h >>conftest.$ac_ext
51213 cat >>conftest.$ac_ext <<_ACEOF
51214 /* end confdefs.h. */
51215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51217 #define $ac_func innocuous_$ac_func
51218
51219 /* System header to define __stub macros and hopefully few prototypes,
51220 which can conflict with char $ac_func (); below.
51221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51222 <limits.h> exists even on freestanding compilers. */
51223
51224 #ifdef __STDC__
51225 # include <limits.h>
51226 #else
51227 # include <assert.h>
51228 #endif
51229
51230 #undef $ac_func
51231
51232 /* Override any gcc2 internal prototype to avoid an error. */
51233 #ifdef __cplusplus
51234 extern "C"
51235 {
51236 #endif
51237 /* We use char because int might match the return type of a gcc2
51238 builtin and then its argument prototype would still apply. */
51239 char $ac_func ();
51240 /* The GNU C library defines this for functions which it implements
51241 to always fail with ENOSYS. Some functions are actually named
51242 something starting with __ and the normal name is an alias. */
51243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51244 choke me
51245 #else
51246 char (*f) () = $ac_func;
51247 #endif
51248 #ifdef __cplusplus
51249 }
51250 #endif
51251
51252 int
51253 main ()
51254 {
51255 return f != $ac_func;
51256 ;
51257 return 0;
51258 }
51259 _ACEOF
51260 rm -f conftest.$ac_objext conftest$ac_exeext
51261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51262 (eval $ac_link) 2>conftest.er1
51263 ac_status=$?
51264 grep -v '^ *+' conftest.er1 >conftest.err
51265 rm -f conftest.er1
51266 cat conftest.err >&5
51267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268 (exit $ac_status); } &&
51269 { ac_try='test -z "$ac_c_werror_flag"
51270 || test ! -s conftest.err'
51271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51272 (eval $ac_try) 2>&5
51273 ac_status=$?
51274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51275 (exit $ac_status); }; } &&
51276 { ac_try='test -s conftest$ac_exeext'
51277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51278 (eval $ac_try) 2>&5
51279 ac_status=$?
51280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51281 (exit $ac_status); }; }; then
51282 eval "$as_ac_var=yes"
51283 else
51284 echo "$as_me: failed program was:" >&5
51285 sed 's/^/| /' conftest.$ac_ext >&5
51286
51287 eval "$as_ac_var=no"
51288 fi
51289 rm -f conftest.err conftest.$ac_objext \
51290 conftest$ac_exeext conftest.$ac_ext
51291 fi
51292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51294 if test `eval echo '${'$as_ac_var'}'` = yes; then
51295 cat >>confdefs.h <<_ACEOF
51296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51297 _ACEOF
51298
51299 fi
51300 done
51301
51302 fi
51303 fi
51304
51305
51306
51307
51308
51309
51310 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51311 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51312 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51313 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51314 echo $ECHO_N "(cached) $ECHO_C" >&6
51315 else
51316
51317
51318
51319 ac_ext=cc
51320 ac_cpp='$CXXCPP $CPPFLAGS'
51321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51324
51325 cat >conftest.$ac_ext <<_ACEOF
51326 /* confdefs.h. */
51327 _ACEOF
51328 cat confdefs.h >>conftest.$ac_ext
51329 cat >>conftest.$ac_ext <<_ACEOF
51330 /* end confdefs.h. */
51331 #include <math.h>
51332 int
51333 main ()
51334 {
51335 sincosf(0, 0, 0);
51336 ;
51337 return 0;
51338 }
51339 _ACEOF
51340 rm -f conftest.$ac_objext
51341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51342 (eval $ac_compile) 2>conftest.er1
51343 ac_status=$?
51344 grep -v '^ *+' conftest.er1 >conftest.err
51345 rm -f conftest.er1
51346 cat conftest.err >&5
51347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51348 (exit $ac_status); } &&
51349 { ac_try='test -z "$ac_cxx_werror_flag"
51350 || test ! -s conftest.err'
51351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51352 (eval $ac_try) 2>&5
51353 ac_status=$?
51354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51355 (exit $ac_status); }; } &&
51356 { ac_try='test -s conftest.$ac_objext'
51357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51358 (eval $ac_try) 2>&5
51359 ac_status=$?
51360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51361 (exit $ac_status); }; }; then
51362 glibcxx_cv_func_sincosf_use=yes
51363 else
51364 echo "$as_me: failed program was:" >&5
51365 sed 's/^/| /' conftest.$ac_ext >&5
51366
51367 glibcxx_cv_func_sincosf_use=no
51368 fi
51369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51370 ac_ext=c
51371 ac_cpp='$CPP $CPPFLAGS'
51372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51375
51376
51377 fi
51378
51379 fi
51380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51381 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51382
51383 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51384
51385 for ac_func in sincosf
51386 do
51387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51388 echo "$as_me:$LINENO: checking for $ac_func" >&5
51389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51390 if eval "test \"\${$as_ac_var+set}\" = set"; then
51391 echo $ECHO_N "(cached) $ECHO_C" >&6
51392 else
51393 if test x$gcc_no_link = xyes; then
51394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51396 { (exit 1); exit 1; }; }
51397 fi
51398 cat >conftest.$ac_ext <<_ACEOF
51399 /* confdefs.h. */
51400 _ACEOF
51401 cat confdefs.h >>conftest.$ac_ext
51402 cat >>conftest.$ac_ext <<_ACEOF
51403 /* end confdefs.h. */
51404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51406 #define $ac_func innocuous_$ac_func
51407
51408 /* System header to define __stub macros and hopefully few prototypes,
51409 which can conflict with char $ac_func (); below.
51410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51411 <limits.h> exists even on freestanding compilers. */
51412
51413 #ifdef __STDC__
51414 # include <limits.h>
51415 #else
51416 # include <assert.h>
51417 #endif
51418
51419 #undef $ac_func
51420
51421 /* Override any gcc2 internal prototype to avoid an error. */
51422 #ifdef __cplusplus
51423 extern "C"
51424 {
51425 #endif
51426 /* We use char because int might match the return type of a gcc2
51427 builtin and then its argument prototype would still apply. */
51428 char $ac_func ();
51429 /* The GNU C library defines this for functions which it implements
51430 to always fail with ENOSYS. Some functions are actually named
51431 something starting with __ and the normal name is an alias. */
51432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51433 choke me
51434 #else
51435 char (*f) () = $ac_func;
51436 #endif
51437 #ifdef __cplusplus
51438 }
51439 #endif
51440
51441 int
51442 main ()
51443 {
51444 return f != $ac_func;
51445 ;
51446 return 0;
51447 }
51448 _ACEOF
51449 rm -f conftest.$ac_objext conftest$ac_exeext
51450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51451 (eval $ac_link) 2>conftest.er1
51452 ac_status=$?
51453 grep -v '^ *+' conftest.er1 >conftest.err
51454 rm -f conftest.er1
51455 cat conftest.err >&5
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); } &&
51458 { ac_try='test -z "$ac_c_werror_flag"
51459 || test ! -s conftest.err'
51460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51461 (eval $ac_try) 2>&5
51462 ac_status=$?
51463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51464 (exit $ac_status); }; } &&
51465 { ac_try='test -s conftest$ac_exeext'
51466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51467 (eval $ac_try) 2>&5
51468 ac_status=$?
51469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51470 (exit $ac_status); }; }; then
51471 eval "$as_ac_var=yes"
51472 else
51473 echo "$as_me: failed program was:" >&5
51474 sed 's/^/| /' conftest.$ac_ext >&5
51475
51476 eval "$as_ac_var=no"
51477 fi
51478 rm -f conftest.err conftest.$ac_objext \
51479 conftest$ac_exeext conftest.$ac_ext
51480 fi
51481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51483 if test `eval echo '${'$as_ac_var'}'` = yes; then
51484 cat >>confdefs.h <<_ACEOF
51485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51486 _ACEOF
51487
51488 fi
51489 done
51490
51491 else
51492
51493 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51494 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51495 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51496 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51497 echo $ECHO_N "(cached) $ECHO_C" >&6
51498 else
51499
51500
51501
51502 ac_ext=cc
51503 ac_cpp='$CXXCPP $CPPFLAGS'
51504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51507
51508 cat >conftest.$ac_ext <<_ACEOF
51509 /* confdefs.h. */
51510 _ACEOF
51511 cat confdefs.h >>conftest.$ac_ext
51512 cat >>conftest.$ac_ext <<_ACEOF
51513 /* end confdefs.h. */
51514 #include <math.h>
51515 int
51516 main ()
51517 {
51518 _sincosf(0, 0, 0);
51519 ;
51520 return 0;
51521 }
51522 _ACEOF
51523 rm -f conftest.$ac_objext
51524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51525 (eval $ac_compile) 2>conftest.er1
51526 ac_status=$?
51527 grep -v '^ *+' conftest.er1 >conftest.err
51528 rm -f conftest.er1
51529 cat conftest.err >&5
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); } &&
51532 { ac_try='test -z "$ac_cxx_werror_flag"
51533 || test ! -s conftest.err'
51534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51535 (eval $ac_try) 2>&5
51536 ac_status=$?
51537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51538 (exit $ac_status); }; } &&
51539 { ac_try='test -s conftest.$ac_objext'
51540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51541 (eval $ac_try) 2>&5
51542 ac_status=$?
51543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51544 (exit $ac_status); }; }; then
51545 glibcxx_cv_func__sincosf_use=yes
51546 else
51547 echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51549
51550 glibcxx_cv_func__sincosf_use=no
51551 fi
51552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51553 ac_ext=c
51554 ac_cpp='$CPP $CPPFLAGS'
51555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51558
51559
51560 fi
51561
51562 fi
51563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51564 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51565
51566 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51567
51568 for ac_func in _sincosf
51569 do
51570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51571 echo "$as_me:$LINENO: checking for $ac_func" >&5
51572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51573 if eval "test \"\${$as_ac_var+set}\" = set"; then
51574 echo $ECHO_N "(cached) $ECHO_C" >&6
51575 else
51576 if test x$gcc_no_link = xyes; then
51577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51579 { (exit 1); exit 1; }; }
51580 fi
51581 cat >conftest.$ac_ext <<_ACEOF
51582 /* confdefs.h. */
51583 _ACEOF
51584 cat confdefs.h >>conftest.$ac_ext
51585 cat >>conftest.$ac_ext <<_ACEOF
51586 /* end confdefs.h. */
51587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51589 #define $ac_func innocuous_$ac_func
51590
51591 /* System header to define __stub macros and hopefully few prototypes,
51592 which can conflict with char $ac_func (); below.
51593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51594 <limits.h> exists even on freestanding compilers. */
51595
51596 #ifdef __STDC__
51597 # include <limits.h>
51598 #else
51599 # include <assert.h>
51600 #endif
51601
51602 #undef $ac_func
51603
51604 /* Override any gcc2 internal prototype to avoid an error. */
51605 #ifdef __cplusplus
51606 extern "C"
51607 {
51608 #endif
51609 /* We use char because int might match the return type of a gcc2
51610 builtin and then its argument prototype would still apply. */
51611 char $ac_func ();
51612 /* The GNU C library defines this for functions which it implements
51613 to always fail with ENOSYS. Some functions are actually named
51614 something starting with __ and the normal name is an alias. */
51615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51616 choke me
51617 #else
51618 char (*f) () = $ac_func;
51619 #endif
51620 #ifdef __cplusplus
51621 }
51622 #endif
51623
51624 int
51625 main ()
51626 {
51627 return f != $ac_func;
51628 ;
51629 return 0;
51630 }
51631 _ACEOF
51632 rm -f conftest.$ac_objext conftest$ac_exeext
51633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51634 (eval $ac_link) 2>conftest.er1
51635 ac_status=$?
51636 grep -v '^ *+' conftest.er1 >conftest.err
51637 rm -f conftest.er1
51638 cat conftest.err >&5
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); } &&
51641 { ac_try='test -z "$ac_c_werror_flag"
51642 || test ! -s conftest.err'
51643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51644 (eval $ac_try) 2>&5
51645 ac_status=$?
51646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51647 (exit $ac_status); }; } &&
51648 { ac_try='test -s conftest$ac_exeext'
51649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51650 (eval $ac_try) 2>&5
51651 ac_status=$?
51652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51653 (exit $ac_status); }; }; then
51654 eval "$as_ac_var=yes"
51655 else
51656 echo "$as_me: failed program was:" >&5
51657 sed 's/^/| /' conftest.$ac_ext >&5
51658
51659 eval "$as_ac_var=no"
51660 fi
51661 rm -f conftest.err conftest.$ac_objext \
51662 conftest$ac_exeext conftest.$ac_ext
51663 fi
51664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51666 if test `eval echo '${'$as_ac_var'}'` = yes; then
51667 cat >>confdefs.h <<_ACEOF
51668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51669 _ACEOF
51670
51671 fi
51672 done
51673
51674 fi
51675 fi
51676
51677
51678
51679
51680
51681
51682 echo "$as_me:$LINENO: checking for finitef declaration" >&5
51683 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
51684 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51685 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51686 echo $ECHO_N "(cached) $ECHO_C" >&6
51687 else
51688
51689
51690
51691 ac_ext=cc
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696
51697 cat >conftest.$ac_ext <<_ACEOF
51698 /* confdefs.h. */
51699 _ACEOF
51700 cat confdefs.h >>conftest.$ac_ext
51701 cat >>conftest.$ac_ext <<_ACEOF
51702 /* end confdefs.h. */
51703 #include <math.h>
51704 #ifdef HAVE_IEEEFP_H
51705 #include <ieeefp.h>
51706 #endif
51707
51708 int
51709 main ()
51710 {
51711 finitef(0);
51712 ;
51713 return 0;
51714 }
51715 _ACEOF
51716 rm -f conftest.$ac_objext
51717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51718 (eval $ac_compile) 2>conftest.er1
51719 ac_status=$?
51720 grep -v '^ *+' conftest.er1 >conftest.err
51721 rm -f conftest.er1
51722 cat conftest.err >&5
51723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51724 (exit $ac_status); } &&
51725 { ac_try='test -z "$ac_cxx_werror_flag"
51726 || test ! -s conftest.err'
51727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51728 (eval $ac_try) 2>&5
51729 ac_status=$?
51730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51731 (exit $ac_status); }; } &&
51732 { ac_try='test -s conftest.$ac_objext'
51733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51734 (eval $ac_try) 2>&5
51735 ac_status=$?
51736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51737 (exit $ac_status); }; }; then
51738 glibcxx_cv_func_finitef_use=yes
51739 else
51740 echo "$as_me: failed program was:" >&5
51741 sed 's/^/| /' conftest.$ac_ext >&5
51742
51743 glibcxx_cv_func_finitef_use=no
51744 fi
51745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51751
51752
51753 fi
51754
51755 fi
51756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51757 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
51758
51759 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51760
51761 for ac_func in finitef
51762 do
51763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51764 echo "$as_me:$LINENO: checking for $ac_func" >&5
51765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51766 if eval "test \"\${$as_ac_var+set}\" = set"; then
51767 echo $ECHO_N "(cached) $ECHO_C" >&6
51768 else
51769 if test x$gcc_no_link = xyes; then
51770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51772 { (exit 1); exit 1; }; }
51773 fi
51774 cat >conftest.$ac_ext <<_ACEOF
51775 /* confdefs.h. */
51776 _ACEOF
51777 cat confdefs.h >>conftest.$ac_ext
51778 cat >>conftest.$ac_ext <<_ACEOF
51779 /* end confdefs.h. */
51780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51782 #define $ac_func innocuous_$ac_func
51783
51784 /* System header to define __stub macros and hopefully few prototypes,
51785 which can conflict with char $ac_func (); below.
51786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51787 <limits.h> exists even on freestanding compilers. */
51788
51789 #ifdef __STDC__
51790 # include <limits.h>
51791 #else
51792 # include <assert.h>
51793 #endif
51794
51795 #undef $ac_func
51796
51797 /* Override any gcc2 internal prototype to avoid an error. */
51798 #ifdef __cplusplus
51799 extern "C"
51800 {
51801 #endif
51802 /* We use char because int might match the return type of a gcc2
51803 builtin and then its argument prototype would still apply. */
51804 char $ac_func ();
51805 /* The GNU C library defines this for functions which it implements
51806 to always fail with ENOSYS. Some functions are actually named
51807 something starting with __ and the normal name is an alias. */
51808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51809 choke me
51810 #else
51811 char (*f) () = $ac_func;
51812 #endif
51813 #ifdef __cplusplus
51814 }
51815 #endif
51816
51817 int
51818 main ()
51819 {
51820 return f != $ac_func;
51821 ;
51822 return 0;
51823 }
51824 _ACEOF
51825 rm -f conftest.$ac_objext conftest$ac_exeext
51826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51827 (eval $ac_link) 2>conftest.er1
51828 ac_status=$?
51829 grep -v '^ *+' conftest.er1 >conftest.err
51830 rm -f conftest.er1
51831 cat conftest.err >&5
51832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51833 (exit $ac_status); } &&
51834 { ac_try='test -z "$ac_c_werror_flag"
51835 || test ! -s conftest.err'
51836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51837 (eval $ac_try) 2>&5
51838 ac_status=$?
51839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51840 (exit $ac_status); }; } &&
51841 { ac_try='test -s conftest$ac_exeext'
51842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51843 (eval $ac_try) 2>&5
51844 ac_status=$?
51845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846 (exit $ac_status); }; }; then
51847 eval "$as_ac_var=yes"
51848 else
51849 echo "$as_me: failed program was:" >&5
51850 sed 's/^/| /' conftest.$ac_ext >&5
51851
51852 eval "$as_ac_var=no"
51853 fi
51854 rm -f conftest.err conftest.$ac_objext \
51855 conftest$ac_exeext conftest.$ac_ext
51856 fi
51857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51859 if test `eval echo '${'$as_ac_var'}'` = yes; then
51860 cat >>confdefs.h <<_ACEOF
51861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51862 _ACEOF
51863
51864 fi
51865 done
51866
51867 else
51868
51869 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51870 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
51871 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51872 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51873 echo $ECHO_N "(cached) $ECHO_C" >&6
51874 else
51875
51876
51877
51878 ac_ext=cc
51879 ac_cpp='$CXXCPP $CPPFLAGS'
51880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51883
51884 cat >conftest.$ac_ext <<_ACEOF
51885 /* confdefs.h. */
51886 _ACEOF
51887 cat confdefs.h >>conftest.$ac_ext
51888 cat >>conftest.$ac_ext <<_ACEOF
51889 /* end confdefs.h. */
51890 #include <math.h>
51891 #ifdef HAVE_IEEEFP_H
51892 #include <ieeefp.h>
51893 #endif
51894
51895 int
51896 main ()
51897 {
51898 _finitef(0);
51899 ;
51900 return 0;
51901 }
51902 _ACEOF
51903 rm -f conftest.$ac_objext
51904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51905 (eval $ac_compile) 2>conftest.er1
51906 ac_status=$?
51907 grep -v '^ *+' conftest.er1 >conftest.err
51908 rm -f conftest.er1
51909 cat conftest.err >&5
51910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51911 (exit $ac_status); } &&
51912 { ac_try='test -z "$ac_cxx_werror_flag"
51913 || test ! -s conftest.err'
51914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51915 (eval $ac_try) 2>&5
51916 ac_status=$?
51917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51918 (exit $ac_status); }; } &&
51919 { ac_try='test -s conftest.$ac_objext'
51920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51921 (eval $ac_try) 2>&5
51922 ac_status=$?
51923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924 (exit $ac_status); }; }; then
51925 glibcxx_cv_func__finitef_use=yes
51926 else
51927 echo "$as_me: failed program was:" >&5
51928 sed 's/^/| /' conftest.$ac_ext >&5
51929
51930 glibcxx_cv_func__finitef_use=no
51931 fi
51932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51933 ac_ext=c
51934 ac_cpp='$CPP $CPPFLAGS'
51935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51938
51939
51940 fi
51941
51942 fi
51943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
51944 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
51945
51946 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51947
51948 for ac_func in _finitef
51949 do
51950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51951 echo "$as_me:$LINENO: checking for $ac_func" >&5
51952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51953 if eval "test \"\${$as_ac_var+set}\" = set"; then
51954 echo $ECHO_N "(cached) $ECHO_C" >&6
51955 else
51956 if test x$gcc_no_link = xyes; then
51957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51959 { (exit 1); exit 1; }; }
51960 fi
51961 cat >conftest.$ac_ext <<_ACEOF
51962 /* confdefs.h. */
51963 _ACEOF
51964 cat confdefs.h >>conftest.$ac_ext
51965 cat >>conftest.$ac_ext <<_ACEOF
51966 /* end confdefs.h. */
51967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51969 #define $ac_func innocuous_$ac_func
51970
51971 /* System header to define __stub macros and hopefully few prototypes,
51972 which can conflict with char $ac_func (); below.
51973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51974 <limits.h> exists even on freestanding compilers. */
51975
51976 #ifdef __STDC__
51977 # include <limits.h>
51978 #else
51979 # include <assert.h>
51980 #endif
51981
51982 #undef $ac_func
51983
51984 /* Override any gcc2 internal prototype to avoid an error. */
51985 #ifdef __cplusplus
51986 extern "C"
51987 {
51988 #endif
51989 /* We use char because int might match the return type of a gcc2
51990 builtin and then its argument prototype would still apply. */
51991 char $ac_func ();
51992 /* The GNU C library defines this for functions which it implements
51993 to always fail with ENOSYS. Some functions are actually named
51994 something starting with __ and the normal name is an alias. */
51995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51996 choke me
51997 #else
51998 char (*f) () = $ac_func;
51999 #endif
52000 #ifdef __cplusplus
52001 }
52002 #endif
52003
52004 int
52005 main ()
52006 {
52007 return f != $ac_func;
52008 ;
52009 return 0;
52010 }
52011 _ACEOF
52012 rm -f conftest.$ac_objext conftest$ac_exeext
52013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52014 (eval $ac_link) 2>conftest.er1
52015 ac_status=$?
52016 grep -v '^ *+' conftest.er1 >conftest.err
52017 rm -f conftest.er1
52018 cat conftest.err >&5
52019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52020 (exit $ac_status); } &&
52021 { ac_try='test -z "$ac_c_werror_flag"
52022 || test ! -s conftest.err'
52023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52024 (eval $ac_try) 2>&5
52025 ac_status=$?
52026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52027 (exit $ac_status); }; } &&
52028 { ac_try='test -s conftest$ac_exeext'
52029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52030 (eval $ac_try) 2>&5
52031 ac_status=$?
52032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52033 (exit $ac_status); }; }; then
52034 eval "$as_ac_var=yes"
52035 else
52036 echo "$as_me: failed program was:" >&5
52037 sed 's/^/| /' conftest.$ac_ext >&5
52038
52039 eval "$as_ac_var=no"
52040 fi
52041 rm -f conftest.err conftest.$ac_objext \
52042 conftest$ac_exeext conftest.$ac_ext
52043 fi
52044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52046 if test `eval echo '${'$as_ac_var'}'` = yes; then
52047 cat >>confdefs.h <<_ACEOF
52048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52049 _ACEOF
52050
52051 fi
52052 done
52053
52054 fi
52055 fi
52056
52057
52058
52059
52060
52061
52062 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52063 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52064 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52065 echo $ECHO_N "(cached) $ECHO_C" >&6
52066 else
52067
52068
52069
52070 ac_ext=cc
52071 ac_cpp='$CXXCPP $CPPFLAGS'
52072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52075
52076 cat >conftest.$ac_ext <<_ACEOF
52077 /* confdefs.h. */
52078 _ACEOF
52079 cat confdefs.h >>conftest.$ac_ext
52080 cat >>conftest.$ac_ext <<_ACEOF
52081 /* end confdefs.h. */
52082 #include <math.h>
52083 int
52084 main ()
52085 {
52086 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52087 ;
52088 return 0;
52089 }
52090 _ACEOF
52091 rm -f conftest.$ac_objext
52092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52093 (eval $ac_compile) 2>conftest.er1
52094 ac_status=$?
52095 grep -v '^ *+' conftest.er1 >conftest.err
52096 rm -f conftest.er1
52097 cat conftest.err >&5
52098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52099 (exit $ac_status); } &&
52100 { ac_try='test -z "$ac_cxx_werror_flag"
52101 || test ! -s conftest.err'
52102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52103 (eval $ac_try) 2>&5
52104 ac_status=$?
52105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52106 (exit $ac_status); }; } &&
52107 { ac_try='test -s conftest.$ac_objext'
52108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52109 (eval $ac_try) 2>&5
52110 ac_status=$?
52111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52112 (exit $ac_status); }; }; then
52113 glibcxx_cv_func_long_double_trig_use=yes
52114 else
52115 echo "$as_me: failed program was:" >&5
52116 sed 's/^/| /' conftest.$ac_ext >&5
52117
52118 glibcxx_cv_func_long_double_trig_use=no
52119 fi
52120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52121 ac_ext=c
52122 ac_cpp='$CPP $CPPFLAGS'
52123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52126
52127 fi
52128
52129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52130 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52131 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52132
52133
52134
52135
52136
52137
52138
52139
52140
52141 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52142 do
52143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52144 echo "$as_me:$LINENO: checking for $ac_func" >&5
52145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52146 if eval "test \"\${$as_ac_var+set}\" = set"; then
52147 echo $ECHO_N "(cached) $ECHO_C" >&6
52148 else
52149 if test x$gcc_no_link = xyes; then
52150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52152 { (exit 1); exit 1; }; }
52153 fi
52154 cat >conftest.$ac_ext <<_ACEOF
52155 /* confdefs.h. */
52156 _ACEOF
52157 cat confdefs.h >>conftest.$ac_ext
52158 cat >>conftest.$ac_ext <<_ACEOF
52159 /* end confdefs.h. */
52160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52162 #define $ac_func innocuous_$ac_func
52163
52164 /* System header to define __stub macros and hopefully few prototypes,
52165 which can conflict with char $ac_func (); below.
52166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52167 <limits.h> exists even on freestanding compilers. */
52168
52169 #ifdef __STDC__
52170 # include <limits.h>
52171 #else
52172 # include <assert.h>
52173 #endif
52174
52175 #undef $ac_func
52176
52177 /* Override any gcc2 internal prototype to avoid an error. */
52178 #ifdef __cplusplus
52179 extern "C"
52180 {
52181 #endif
52182 /* We use char because int might match the return type of a gcc2
52183 builtin and then its argument prototype would still apply. */
52184 char $ac_func ();
52185 /* The GNU C library defines this for functions which it implements
52186 to always fail with ENOSYS. Some functions are actually named
52187 something starting with __ and the normal name is an alias. */
52188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52189 choke me
52190 #else
52191 char (*f) () = $ac_func;
52192 #endif
52193 #ifdef __cplusplus
52194 }
52195 #endif
52196
52197 int
52198 main ()
52199 {
52200 return f != $ac_func;
52201 ;
52202 return 0;
52203 }
52204 _ACEOF
52205 rm -f conftest.$ac_objext conftest$ac_exeext
52206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52207 (eval $ac_link) 2>conftest.er1
52208 ac_status=$?
52209 grep -v '^ *+' conftest.er1 >conftest.err
52210 rm -f conftest.er1
52211 cat conftest.err >&5
52212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52213 (exit $ac_status); } &&
52214 { ac_try='test -z "$ac_c_werror_flag"
52215 || test ! -s conftest.err'
52216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52217 (eval $ac_try) 2>&5
52218 ac_status=$?
52219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52220 (exit $ac_status); }; } &&
52221 { ac_try='test -s conftest$ac_exeext'
52222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52223 (eval $ac_try) 2>&5
52224 ac_status=$?
52225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52226 (exit $ac_status); }; }; then
52227 eval "$as_ac_var=yes"
52228 else
52229 echo "$as_me: failed program was:" >&5
52230 sed 's/^/| /' conftest.$ac_ext >&5
52231
52232 eval "$as_ac_var=no"
52233 fi
52234 rm -f conftest.err conftest.$ac_objext \
52235 conftest$ac_exeext conftest.$ac_ext
52236 fi
52237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52239 if test `eval echo '${'$as_ac_var'}'` = yes; then
52240 cat >>confdefs.h <<_ACEOF
52241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52242 _ACEOF
52243
52244 fi
52245 done
52246
52247 else
52248 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52249 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52250 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52251 echo $ECHO_N "(cached) $ECHO_C" >&6
52252 else
52253
52254
52255
52256 ac_ext=cc
52257 ac_cpp='$CXXCPP $CPPFLAGS'
52258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52261
52262 cat >conftest.$ac_ext <<_ACEOF
52263 /* confdefs.h. */
52264 _ACEOF
52265 cat confdefs.h >>conftest.$ac_ext
52266 cat >>conftest.$ac_ext <<_ACEOF
52267 /* end confdefs.h. */
52268 #include <math.h>
52269 int
52270 main ()
52271 {
52272 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52273 ;
52274 return 0;
52275 }
52276 _ACEOF
52277 rm -f conftest.$ac_objext
52278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52279 (eval $ac_compile) 2>conftest.er1
52280 ac_status=$?
52281 grep -v '^ *+' conftest.er1 >conftest.err
52282 rm -f conftest.er1
52283 cat conftest.err >&5
52284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285 (exit $ac_status); } &&
52286 { ac_try='test -z "$ac_cxx_werror_flag"
52287 || test ! -s conftest.err'
52288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52289 (eval $ac_try) 2>&5
52290 ac_status=$?
52291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52292 (exit $ac_status); }; } &&
52293 { ac_try='test -s conftest.$ac_objext'
52294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52295 (eval $ac_try) 2>&5
52296 ac_status=$?
52297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52298 (exit $ac_status); }; }; then
52299 glibcxx_cv_func__long_double_trig_use=yes
52300 else
52301 echo "$as_me: failed program was:" >&5
52302 sed 's/^/| /' conftest.$ac_ext >&5
52303
52304 glibcxx_cv_func__long_double_trig_use=no
52305 fi
52306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52307 ac_ext=c
52308 ac_cpp='$CPP $CPPFLAGS'
52309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52312
52313 fi
52314
52315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52316 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52317 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52328 do
52329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52330 echo "$as_me:$LINENO: checking for $ac_func" >&5
52331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52332 if eval "test \"\${$as_ac_var+set}\" = set"; then
52333 echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52335 if test x$gcc_no_link = xyes; then
52336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52338 { (exit 1); exit 1; }; }
52339 fi
52340 cat >conftest.$ac_ext <<_ACEOF
52341 /* confdefs.h. */
52342 _ACEOF
52343 cat confdefs.h >>conftest.$ac_ext
52344 cat >>conftest.$ac_ext <<_ACEOF
52345 /* end confdefs.h. */
52346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52348 #define $ac_func innocuous_$ac_func
52349
52350 /* System header to define __stub macros and hopefully few prototypes,
52351 which can conflict with char $ac_func (); below.
52352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52353 <limits.h> exists even on freestanding compilers. */
52354
52355 #ifdef __STDC__
52356 # include <limits.h>
52357 #else
52358 # include <assert.h>
52359 #endif
52360
52361 #undef $ac_func
52362
52363 /* Override any gcc2 internal prototype to avoid an error. */
52364 #ifdef __cplusplus
52365 extern "C"
52366 {
52367 #endif
52368 /* We use char because int might match the return type of a gcc2
52369 builtin and then its argument prototype would still apply. */
52370 char $ac_func ();
52371 /* The GNU C library defines this for functions which it implements
52372 to always fail with ENOSYS. Some functions are actually named
52373 something starting with __ and the normal name is an alias. */
52374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52375 choke me
52376 #else
52377 char (*f) () = $ac_func;
52378 #endif
52379 #ifdef __cplusplus
52380 }
52381 #endif
52382
52383 int
52384 main ()
52385 {
52386 return f != $ac_func;
52387 ;
52388 return 0;
52389 }
52390 _ACEOF
52391 rm -f conftest.$ac_objext conftest$ac_exeext
52392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52393 (eval $ac_link) 2>conftest.er1
52394 ac_status=$?
52395 grep -v '^ *+' conftest.er1 >conftest.err
52396 rm -f conftest.er1
52397 cat conftest.err >&5
52398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52399 (exit $ac_status); } &&
52400 { ac_try='test -z "$ac_c_werror_flag"
52401 || test ! -s conftest.err'
52402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52403 (eval $ac_try) 2>&5
52404 ac_status=$?
52405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52406 (exit $ac_status); }; } &&
52407 { ac_try='test -s conftest$ac_exeext'
52408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52409 (eval $ac_try) 2>&5
52410 ac_status=$?
52411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412 (exit $ac_status); }; }; then
52413 eval "$as_ac_var=yes"
52414 else
52415 echo "$as_me: failed program was:" >&5
52416 sed 's/^/| /' conftest.$ac_ext >&5
52417
52418 eval "$as_ac_var=no"
52419 fi
52420 rm -f conftest.err conftest.$ac_objext \
52421 conftest$ac_exeext conftest.$ac_ext
52422 fi
52423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52425 if test `eval echo '${'$as_ac_var'}'` = yes; then
52426 cat >>confdefs.h <<_ACEOF
52427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52428 _ACEOF
52429
52430 fi
52431 done
52432
52433 fi
52434 fi
52435
52436
52437
52438
52439
52440
52441
52442
52443
52444
52445
52446
52447
52448
52449 echo "$as_me:$LINENO: checking for long double round functions" >&5
52450 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52451 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52453 else
52454
52455
52456
52457 ac_ext=cc
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52462
52463 cat >conftest.$ac_ext <<_ACEOF
52464 /* confdefs.h. */
52465 _ACEOF
52466 cat confdefs.h >>conftest.$ac_ext
52467 cat >>conftest.$ac_ext <<_ACEOF
52468 /* end confdefs.h. */
52469 #include <math.h>
52470 int
52471 main ()
52472 {
52473 ceill (0); floorl (0);
52474 ;
52475 return 0;
52476 }
52477 _ACEOF
52478 rm -f conftest.$ac_objext
52479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52480 (eval $ac_compile) 2>conftest.er1
52481 ac_status=$?
52482 grep -v '^ *+' conftest.er1 >conftest.err
52483 rm -f conftest.er1
52484 cat conftest.err >&5
52485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52486 (exit $ac_status); } &&
52487 { ac_try='test -z "$ac_cxx_werror_flag"
52488 || test ! -s conftest.err'
52489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52490 (eval $ac_try) 2>&5
52491 ac_status=$?
52492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52493 (exit $ac_status); }; } &&
52494 { ac_try='test -s conftest.$ac_objext'
52495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52496 (eval $ac_try) 2>&5
52497 ac_status=$?
52498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52499 (exit $ac_status); }; }; then
52500 glibcxx_cv_func_long_double_round_use=yes
52501 else
52502 echo "$as_me: failed program was:" >&5
52503 sed 's/^/| /' conftest.$ac_ext >&5
52504
52505 glibcxx_cv_func_long_double_round_use=no
52506 fi
52507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52513
52514 fi
52515
52516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52517 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52518 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52519
52520
52521 for ac_func in ceill floorl
52522 do
52523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52524 echo "$as_me:$LINENO: checking for $ac_func" >&5
52525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52526 if eval "test \"\${$as_ac_var+set}\" = set"; then
52527 echo $ECHO_N "(cached) $ECHO_C" >&6
52528 else
52529 if test x$gcc_no_link = xyes; then
52530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52532 { (exit 1); exit 1; }; }
52533 fi
52534 cat >conftest.$ac_ext <<_ACEOF
52535 /* confdefs.h. */
52536 _ACEOF
52537 cat confdefs.h >>conftest.$ac_ext
52538 cat >>conftest.$ac_ext <<_ACEOF
52539 /* end confdefs.h. */
52540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52542 #define $ac_func innocuous_$ac_func
52543
52544 /* System header to define __stub macros and hopefully few prototypes,
52545 which can conflict with char $ac_func (); below.
52546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52547 <limits.h> exists even on freestanding compilers. */
52548
52549 #ifdef __STDC__
52550 # include <limits.h>
52551 #else
52552 # include <assert.h>
52553 #endif
52554
52555 #undef $ac_func
52556
52557 /* Override any gcc2 internal prototype to avoid an error. */
52558 #ifdef __cplusplus
52559 extern "C"
52560 {
52561 #endif
52562 /* We use char because int might match the return type of a gcc2
52563 builtin and then its argument prototype would still apply. */
52564 char $ac_func ();
52565 /* The GNU C library defines this for functions which it implements
52566 to always fail with ENOSYS. Some functions are actually named
52567 something starting with __ and the normal name is an alias. */
52568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52569 choke me
52570 #else
52571 char (*f) () = $ac_func;
52572 #endif
52573 #ifdef __cplusplus
52574 }
52575 #endif
52576
52577 int
52578 main ()
52579 {
52580 return f != $ac_func;
52581 ;
52582 return 0;
52583 }
52584 _ACEOF
52585 rm -f conftest.$ac_objext conftest$ac_exeext
52586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52587 (eval $ac_link) 2>conftest.er1
52588 ac_status=$?
52589 grep -v '^ *+' conftest.er1 >conftest.err
52590 rm -f conftest.er1
52591 cat conftest.err >&5
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); } &&
52594 { ac_try='test -z "$ac_c_werror_flag"
52595 || test ! -s conftest.err'
52596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52597 (eval $ac_try) 2>&5
52598 ac_status=$?
52599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600 (exit $ac_status); }; } &&
52601 { ac_try='test -s conftest$ac_exeext'
52602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52603 (eval $ac_try) 2>&5
52604 ac_status=$?
52605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606 (exit $ac_status); }; }; then
52607 eval "$as_ac_var=yes"
52608 else
52609 echo "$as_me: failed program was:" >&5
52610 sed 's/^/| /' conftest.$ac_ext >&5
52611
52612 eval "$as_ac_var=no"
52613 fi
52614 rm -f conftest.err conftest.$ac_objext \
52615 conftest$ac_exeext conftest.$ac_ext
52616 fi
52617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52619 if test `eval echo '${'$as_ac_var'}'` = yes; then
52620 cat >>confdefs.h <<_ACEOF
52621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52622 _ACEOF
52623
52624 fi
52625 done
52626
52627 else
52628 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52629 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52630 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52631 echo $ECHO_N "(cached) $ECHO_C" >&6
52632 else
52633
52634
52635
52636 ac_ext=cc
52637 ac_cpp='$CXXCPP $CPPFLAGS'
52638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52641
52642 cat >conftest.$ac_ext <<_ACEOF
52643 /* confdefs.h. */
52644 _ACEOF
52645 cat confdefs.h >>conftest.$ac_ext
52646 cat >>conftest.$ac_ext <<_ACEOF
52647 /* end confdefs.h. */
52648 #include <math.h>
52649 int
52650 main ()
52651 {
52652 _ceill (0); _floorl (0);
52653 ;
52654 return 0;
52655 }
52656 _ACEOF
52657 rm -f conftest.$ac_objext
52658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52659 (eval $ac_compile) 2>conftest.er1
52660 ac_status=$?
52661 grep -v '^ *+' conftest.er1 >conftest.err
52662 rm -f conftest.er1
52663 cat conftest.err >&5
52664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52665 (exit $ac_status); } &&
52666 { ac_try='test -z "$ac_cxx_werror_flag"
52667 || test ! -s conftest.err'
52668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52669 (eval $ac_try) 2>&5
52670 ac_status=$?
52671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52672 (exit $ac_status); }; } &&
52673 { ac_try='test -s conftest.$ac_objext'
52674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52675 (eval $ac_try) 2>&5
52676 ac_status=$?
52677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52678 (exit $ac_status); }; }; then
52679 glibcxx_cv_func__long_double_round_use=yes
52680 else
52681 echo "$as_me: failed program was:" >&5
52682 sed 's/^/| /' conftest.$ac_ext >&5
52683
52684 glibcxx_cv_func__long_double_round_use=no
52685 fi
52686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52687 ac_ext=c
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52692
52693 fi
52694
52695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52696 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
52697 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52698
52699
52700 for ac_func in _ceill _floorl
52701 do
52702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52703 echo "$as_me:$LINENO: checking for $ac_func" >&5
52704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52705 if eval "test \"\${$as_ac_var+set}\" = set"; then
52706 echo $ECHO_N "(cached) $ECHO_C" >&6
52707 else
52708 if test x$gcc_no_link = xyes; then
52709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52711 { (exit 1); exit 1; }; }
52712 fi
52713 cat >conftest.$ac_ext <<_ACEOF
52714 /* confdefs.h. */
52715 _ACEOF
52716 cat confdefs.h >>conftest.$ac_ext
52717 cat >>conftest.$ac_ext <<_ACEOF
52718 /* end confdefs.h. */
52719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52721 #define $ac_func innocuous_$ac_func
52722
52723 /* System header to define __stub macros and hopefully few prototypes,
52724 which can conflict with char $ac_func (); below.
52725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52726 <limits.h> exists even on freestanding compilers. */
52727
52728 #ifdef __STDC__
52729 # include <limits.h>
52730 #else
52731 # include <assert.h>
52732 #endif
52733
52734 #undef $ac_func
52735
52736 /* Override any gcc2 internal prototype to avoid an error. */
52737 #ifdef __cplusplus
52738 extern "C"
52739 {
52740 #endif
52741 /* We use char because int might match the return type of a gcc2
52742 builtin and then its argument prototype would still apply. */
52743 char $ac_func ();
52744 /* The GNU C library defines this for functions which it implements
52745 to always fail with ENOSYS. Some functions are actually named
52746 something starting with __ and the normal name is an alias. */
52747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52748 choke me
52749 #else
52750 char (*f) () = $ac_func;
52751 #endif
52752 #ifdef __cplusplus
52753 }
52754 #endif
52755
52756 int
52757 main ()
52758 {
52759 return f != $ac_func;
52760 ;
52761 return 0;
52762 }
52763 _ACEOF
52764 rm -f conftest.$ac_objext conftest$ac_exeext
52765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52766 (eval $ac_link) 2>conftest.er1
52767 ac_status=$?
52768 grep -v '^ *+' conftest.er1 >conftest.err
52769 rm -f conftest.er1
52770 cat conftest.err >&5
52771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52772 (exit $ac_status); } &&
52773 { ac_try='test -z "$ac_c_werror_flag"
52774 || test ! -s conftest.err'
52775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52776 (eval $ac_try) 2>&5
52777 ac_status=$?
52778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52779 (exit $ac_status); }; } &&
52780 { ac_try='test -s conftest$ac_exeext'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52783 ac_status=$?
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; }; then
52786 eval "$as_ac_var=yes"
52787 else
52788 echo "$as_me: failed program was:" >&5
52789 sed 's/^/| /' conftest.$ac_ext >&5
52790
52791 eval "$as_ac_var=no"
52792 fi
52793 rm -f conftest.err conftest.$ac_objext \
52794 conftest$ac_exeext conftest.$ac_ext
52795 fi
52796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52798 if test `eval echo '${'$as_ac_var'}'` = yes; then
52799 cat >>confdefs.h <<_ACEOF
52800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52801 _ACEOF
52802
52803 fi
52804 done
52805
52806 fi
52807 fi
52808
52809
52810
52811
52812
52813
52814
52815
52816 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52817 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
52818 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52819 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52820 echo $ECHO_N "(cached) $ECHO_C" >&6
52821 else
52822
52823
52824
52825 ac_ext=cc
52826 ac_cpp='$CXXCPP $CPPFLAGS'
52827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52830
52831 cat >conftest.$ac_ext <<_ACEOF
52832 /* confdefs.h. */
52833 _ACEOF
52834 cat confdefs.h >>conftest.$ac_ext
52835 cat >>conftest.$ac_ext <<_ACEOF
52836 /* end confdefs.h. */
52837 #include <math.h>
52838 #ifdef HAVE_IEEEFP_H
52839 #include <ieeefp.h>
52840 #endif
52841
52842 int
52843 main ()
52844 {
52845 isnanl(0);
52846 ;
52847 return 0;
52848 }
52849 _ACEOF
52850 rm -f conftest.$ac_objext
52851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52852 (eval $ac_compile) 2>conftest.er1
52853 ac_status=$?
52854 grep -v '^ *+' conftest.er1 >conftest.err
52855 rm -f conftest.er1
52856 cat conftest.err >&5
52857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52858 (exit $ac_status); } &&
52859 { ac_try='test -z "$ac_cxx_werror_flag"
52860 || test ! -s conftest.err'
52861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52862 (eval $ac_try) 2>&5
52863 ac_status=$?
52864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52865 (exit $ac_status); }; } &&
52866 { ac_try='test -s conftest.$ac_objext'
52867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52868 (eval $ac_try) 2>&5
52869 ac_status=$?
52870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52871 (exit $ac_status); }; }; then
52872 glibcxx_cv_func_isnanl_use=yes
52873 else
52874 echo "$as_me: failed program was:" >&5
52875 sed 's/^/| /' conftest.$ac_ext >&5
52876
52877 glibcxx_cv_func_isnanl_use=no
52878 fi
52879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52880 ac_ext=c
52881 ac_cpp='$CPP $CPPFLAGS'
52882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52885
52886
52887 fi
52888
52889 fi
52890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52891 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
52892
52893 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52894
52895 for ac_func in isnanl
52896 do
52897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52898 echo "$as_me:$LINENO: checking for $ac_func" >&5
52899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52900 if eval "test \"\${$as_ac_var+set}\" = set"; then
52901 echo $ECHO_N "(cached) $ECHO_C" >&6
52902 else
52903 if test x$gcc_no_link = xyes; then
52904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52906 { (exit 1); exit 1; }; }
52907 fi
52908 cat >conftest.$ac_ext <<_ACEOF
52909 /* confdefs.h. */
52910 _ACEOF
52911 cat confdefs.h >>conftest.$ac_ext
52912 cat >>conftest.$ac_ext <<_ACEOF
52913 /* end confdefs.h. */
52914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52916 #define $ac_func innocuous_$ac_func
52917
52918 /* System header to define __stub macros and hopefully few prototypes,
52919 which can conflict with char $ac_func (); below.
52920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52921 <limits.h> exists even on freestanding compilers. */
52922
52923 #ifdef __STDC__
52924 # include <limits.h>
52925 #else
52926 # include <assert.h>
52927 #endif
52928
52929 #undef $ac_func
52930
52931 /* Override any gcc2 internal prototype to avoid an error. */
52932 #ifdef __cplusplus
52933 extern "C"
52934 {
52935 #endif
52936 /* We use char because int might match the return type of a gcc2
52937 builtin and then its argument prototype would still apply. */
52938 char $ac_func ();
52939 /* The GNU C library defines this for functions which it implements
52940 to always fail with ENOSYS. Some functions are actually named
52941 something starting with __ and the normal name is an alias. */
52942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52943 choke me
52944 #else
52945 char (*f) () = $ac_func;
52946 #endif
52947 #ifdef __cplusplus
52948 }
52949 #endif
52950
52951 int
52952 main ()
52953 {
52954 return f != $ac_func;
52955 ;
52956 return 0;
52957 }
52958 _ACEOF
52959 rm -f conftest.$ac_objext conftest$ac_exeext
52960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52961 (eval $ac_link) 2>conftest.er1
52962 ac_status=$?
52963 grep -v '^ *+' conftest.er1 >conftest.err
52964 rm -f conftest.er1
52965 cat conftest.err >&5
52966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967 (exit $ac_status); } &&
52968 { ac_try='test -z "$ac_c_werror_flag"
52969 || test ! -s conftest.err'
52970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52971 (eval $ac_try) 2>&5
52972 ac_status=$?
52973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52974 (exit $ac_status); }; } &&
52975 { ac_try='test -s conftest$ac_exeext'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; }; then
52981 eval "$as_ac_var=yes"
52982 else
52983 echo "$as_me: failed program was:" >&5
52984 sed 's/^/| /' conftest.$ac_ext >&5
52985
52986 eval "$as_ac_var=no"
52987 fi
52988 rm -f conftest.err conftest.$ac_objext \
52989 conftest$ac_exeext conftest.$ac_ext
52990 fi
52991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52993 if test `eval echo '${'$as_ac_var'}'` = yes; then
52994 cat >>confdefs.h <<_ACEOF
52995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52996 _ACEOF
52997
52998 fi
52999 done
53000
53001 else
53002
53003 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53004 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53005 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53006 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53007 echo $ECHO_N "(cached) $ECHO_C" >&6
53008 else
53009
53010
53011
53012 ac_ext=cc
53013 ac_cpp='$CXXCPP $CPPFLAGS'
53014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53017
53018 cat >conftest.$ac_ext <<_ACEOF
53019 /* confdefs.h. */
53020 _ACEOF
53021 cat confdefs.h >>conftest.$ac_ext
53022 cat >>conftest.$ac_ext <<_ACEOF
53023 /* end confdefs.h. */
53024 #include <math.h>
53025 #ifdef HAVE_IEEEFP_H
53026 #include <ieeefp.h>
53027 #endif
53028
53029 int
53030 main ()
53031 {
53032 _isnanl(0);
53033 ;
53034 return 0;
53035 }
53036 _ACEOF
53037 rm -f conftest.$ac_objext
53038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53039 (eval $ac_compile) 2>conftest.er1
53040 ac_status=$?
53041 grep -v '^ *+' conftest.er1 >conftest.err
53042 rm -f conftest.er1
53043 cat conftest.err >&5
53044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53045 (exit $ac_status); } &&
53046 { ac_try='test -z "$ac_cxx_werror_flag"
53047 || test ! -s conftest.err'
53048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53049 (eval $ac_try) 2>&5
53050 ac_status=$?
53051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53052 (exit $ac_status); }; } &&
53053 { ac_try='test -s conftest.$ac_objext'
53054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53055 (eval $ac_try) 2>&5
53056 ac_status=$?
53057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53058 (exit $ac_status); }; }; then
53059 glibcxx_cv_func__isnanl_use=yes
53060 else
53061 echo "$as_me: failed program was:" >&5
53062 sed 's/^/| /' conftest.$ac_ext >&5
53063
53064 glibcxx_cv_func__isnanl_use=no
53065 fi
53066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53072
53073
53074 fi
53075
53076 fi
53077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53078 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53079
53080 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53081
53082 for ac_func in _isnanl
53083 do
53084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53085 echo "$as_me:$LINENO: checking for $ac_func" >&5
53086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53087 if eval "test \"\${$as_ac_var+set}\" = set"; then
53088 echo $ECHO_N "(cached) $ECHO_C" >&6
53089 else
53090 if test x$gcc_no_link = xyes; then
53091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53093 { (exit 1); exit 1; }; }
53094 fi
53095 cat >conftest.$ac_ext <<_ACEOF
53096 /* confdefs.h. */
53097 _ACEOF
53098 cat confdefs.h >>conftest.$ac_ext
53099 cat >>conftest.$ac_ext <<_ACEOF
53100 /* end confdefs.h. */
53101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53103 #define $ac_func innocuous_$ac_func
53104
53105 /* System header to define __stub macros and hopefully few prototypes,
53106 which can conflict with char $ac_func (); below.
53107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53108 <limits.h> exists even on freestanding compilers. */
53109
53110 #ifdef __STDC__
53111 # include <limits.h>
53112 #else
53113 # include <assert.h>
53114 #endif
53115
53116 #undef $ac_func
53117
53118 /* Override any gcc2 internal prototype to avoid an error. */
53119 #ifdef __cplusplus
53120 extern "C"
53121 {
53122 #endif
53123 /* We use char because int might match the return type of a gcc2
53124 builtin and then its argument prototype would still apply. */
53125 char $ac_func ();
53126 /* The GNU C library defines this for functions which it implements
53127 to always fail with ENOSYS. Some functions are actually named
53128 something starting with __ and the normal name is an alias. */
53129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53130 choke me
53131 #else
53132 char (*f) () = $ac_func;
53133 #endif
53134 #ifdef __cplusplus
53135 }
53136 #endif
53137
53138 int
53139 main ()
53140 {
53141 return f != $ac_func;
53142 ;
53143 return 0;
53144 }
53145 _ACEOF
53146 rm -f conftest.$ac_objext conftest$ac_exeext
53147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53148 (eval $ac_link) 2>conftest.er1
53149 ac_status=$?
53150 grep -v '^ *+' conftest.er1 >conftest.err
53151 rm -f conftest.er1
53152 cat conftest.err >&5
53153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53154 (exit $ac_status); } &&
53155 { ac_try='test -z "$ac_c_werror_flag"
53156 || test ! -s conftest.err'
53157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53158 (eval $ac_try) 2>&5
53159 ac_status=$?
53160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53161 (exit $ac_status); }; } &&
53162 { ac_try='test -s conftest$ac_exeext'
53163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53164 (eval $ac_try) 2>&5
53165 ac_status=$?
53166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53167 (exit $ac_status); }; }; then
53168 eval "$as_ac_var=yes"
53169 else
53170 echo "$as_me: failed program was:" >&5
53171 sed 's/^/| /' conftest.$ac_ext >&5
53172
53173 eval "$as_ac_var=no"
53174 fi
53175 rm -f conftest.err conftest.$ac_objext \
53176 conftest$ac_exeext conftest.$ac_ext
53177 fi
53178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53180 if test `eval echo '${'$as_ac_var'}'` = yes; then
53181 cat >>confdefs.h <<_ACEOF
53182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53183 _ACEOF
53184
53185 fi
53186 done
53187
53188 fi
53189 fi
53190
53191
53192
53193
53194
53195
53196 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53197 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53198 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53199 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53200 echo $ECHO_N "(cached) $ECHO_C" >&6
53201 else
53202
53203
53204
53205 ac_ext=cc
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53210
53211 cat >conftest.$ac_ext <<_ACEOF
53212 /* confdefs.h. */
53213 _ACEOF
53214 cat confdefs.h >>conftest.$ac_ext
53215 cat >>conftest.$ac_ext <<_ACEOF
53216 /* end confdefs.h. */
53217 #include <math.h>
53218 #ifdef HAVE_IEEEFP_H
53219 #include <ieeefp.h>
53220 #endif
53221
53222 int
53223 main ()
53224 {
53225 isinfl(0);
53226 ;
53227 return 0;
53228 }
53229 _ACEOF
53230 rm -f conftest.$ac_objext
53231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53232 (eval $ac_compile) 2>conftest.er1
53233 ac_status=$?
53234 grep -v '^ *+' conftest.er1 >conftest.err
53235 rm -f conftest.er1
53236 cat conftest.err >&5
53237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53238 (exit $ac_status); } &&
53239 { ac_try='test -z "$ac_cxx_werror_flag"
53240 || test ! -s conftest.err'
53241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53242 (eval $ac_try) 2>&5
53243 ac_status=$?
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); }; } &&
53246 { ac_try='test -s conftest.$ac_objext'
53247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53248 (eval $ac_try) 2>&5
53249 ac_status=$?
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); }; }; then
53252 glibcxx_cv_func_isinfl_use=yes
53253 else
53254 echo "$as_me: failed program was:" >&5
53255 sed 's/^/| /' conftest.$ac_ext >&5
53256
53257 glibcxx_cv_func_isinfl_use=no
53258 fi
53259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265
53266
53267 fi
53268
53269 fi
53270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53271 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53272
53273 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53274
53275 for ac_func in isinfl
53276 do
53277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53278 echo "$as_me:$LINENO: checking for $ac_func" >&5
53279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53280 if eval "test \"\${$as_ac_var+set}\" = set"; then
53281 echo $ECHO_N "(cached) $ECHO_C" >&6
53282 else
53283 if test x$gcc_no_link = xyes; then
53284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53286 { (exit 1); exit 1; }; }
53287 fi
53288 cat >conftest.$ac_ext <<_ACEOF
53289 /* confdefs.h. */
53290 _ACEOF
53291 cat confdefs.h >>conftest.$ac_ext
53292 cat >>conftest.$ac_ext <<_ACEOF
53293 /* end confdefs.h. */
53294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53296 #define $ac_func innocuous_$ac_func
53297
53298 /* System header to define __stub macros and hopefully few prototypes,
53299 which can conflict with char $ac_func (); below.
53300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53301 <limits.h> exists even on freestanding compilers. */
53302
53303 #ifdef __STDC__
53304 # include <limits.h>
53305 #else
53306 # include <assert.h>
53307 #endif
53308
53309 #undef $ac_func
53310
53311 /* Override any gcc2 internal prototype to avoid an error. */
53312 #ifdef __cplusplus
53313 extern "C"
53314 {
53315 #endif
53316 /* We use char because int might match the return type of a gcc2
53317 builtin and then its argument prototype would still apply. */
53318 char $ac_func ();
53319 /* The GNU C library defines this for functions which it implements
53320 to always fail with ENOSYS. Some functions are actually named
53321 something starting with __ and the normal name is an alias. */
53322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53323 choke me
53324 #else
53325 char (*f) () = $ac_func;
53326 #endif
53327 #ifdef __cplusplus
53328 }
53329 #endif
53330
53331 int
53332 main ()
53333 {
53334 return f != $ac_func;
53335 ;
53336 return 0;
53337 }
53338 _ACEOF
53339 rm -f conftest.$ac_objext conftest$ac_exeext
53340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53341 (eval $ac_link) 2>conftest.er1
53342 ac_status=$?
53343 grep -v '^ *+' conftest.er1 >conftest.err
53344 rm -f conftest.er1
53345 cat conftest.err >&5
53346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53347 (exit $ac_status); } &&
53348 { ac_try='test -z "$ac_c_werror_flag"
53349 || test ! -s conftest.err'
53350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53351 (eval $ac_try) 2>&5
53352 ac_status=$?
53353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53354 (exit $ac_status); }; } &&
53355 { ac_try='test -s conftest$ac_exeext'
53356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53357 (eval $ac_try) 2>&5
53358 ac_status=$?
53359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53360 (exit $ac_status); }; }; then
53361 eval "$as_ac_var=yes"
53362 else
53363 echo "$as_me: failed program was:" >&5
53364 sed 's/^/| /' conftest.$ac_ext >&5
53365
53366 eval "$as_ac_var=no"
53367 fi
53368 rm -f conftest.err conftest.$ac_objext \
53369 conftest$ac_exeext conftest.$ac_ext
53370 fi
53371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53373 if test `eval echo '${'$as_ac_var'}'` = yes; then
53374 cat >>confdefs.h <<_ACEOF
53375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53376 _ACEOF
53377
53378 fi
53379 done
53380
53381 else
53382
53383 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53384 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53385 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53386 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53387 echo $ECHO_N "(cached) $ECHO_C" >&6
53388 else
53389
53390
53391
53392 ac_ext=cc
53393 ac_cpp='$CXXCPP $CPPFLAGS'
53394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53397
53398 cat >conftest.$ac_ext <<_ACEOF
53399 /* confdefs.h. */
53400 _ACEOF
53401 cat confdefs.h >>conftest.$ac_ext
53402 cat >>conftest.$ac_ext <<_ACEOF
53403 /* end confdefs.h. */
53404 #include <math.h>
53405 #ifdef HAVE_IEEEFP_H
53406 #include <ieeefp.h>
53407 #endif
53408
53409 int
53410 main ()
53411 {
53412 _isinfl(0);
53413 ;
53414 return 0;
53415 }
53416 _ACEOF
53417 rm -f conftest.$ac_objext
53418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53419 (eval $ac_compile) 2>conftest.er1
53420 ac_status=$?
53421 grep -v '^ *+' conftest.er1 >conftest.err
53422 rm -f conftest.er1
53423 cat conftest.err >&5
53424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53425 (exit $ac_status); } &&
53426 { ac_try='test -z "$ac_cxx_werror_flag"
53427 || test ! -s conftest.err'
53428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53429 (eval $ac_try) 2>&5
53430 ac_status=$?
53431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432 (exit $ac_status); }; } &&
53433 { ac_try='test -s conftest.$ac_objext'
53434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53435 (eval $ac_try) 2>&5
53436 ac_status=$?
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); }; }; then
53439 glibcxx_cv_func__isinfl_use=yes
53440 else
53441 echo "$as_me: failed program was:" >&5
53442 sed 's/^/| /' conftest.$ac_ext >&5
53443
53444 glibcxx_cv_func__isinfl_use=no
53445 fi
53446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53447 ac_ext=c
53448 ac_cpp='$CPP $CPPFLAGS'
53449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53452
53453
53454 fi
53455
53456 fi
53457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53458 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53459
53460 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53461
53462 for ac_func in _isinfl
53463 do
53464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53465 echo "$as_me:$LINENO: checking for $ac_func" >&5
53466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53467 if eval "test \"\${$as_ac_var+set}\" = set"; then
53468 echo $ECHO_N "(cached) $ECHO_C" >&6
53469 else
53470 if test x$gcc_no_link = xyes; then
53471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53473 { (exit 1); exit 1; }; }
53474 fi
53475 cat >conftest.$ac_ext <<_ACEOF
53476 /* confdefs.h. */
53477 _ACEOF
53478 cat confdefs.h >>conftest.$ac_ext
53479 cat >>conftest.$ac_ext <<_ACEOF
53480 /* end confdefs.h. */
53481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53483 #define $ac_func innocuous_$ac_func
53484
53485 /* System header to define __stub macros and hopefully few prototypes,
53486 which can conflict with char $ac_func (); below.
53487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53488 <limits.h> exists even on freestanding compilers. */
53489
53490 #ifdef __STDC__
53491 # include <limits.h>
53492 #else
53493 # include <assert.h>
53494 #endif
53495
53496 #undef $ac_func
53497
53498 /* Override any gcc2 internal prototype to avoid an error. */
53499 #ifdef __cplusplus
53500 extern "C"
53501 {
53502 #endif
53503 /* We use char because int might match the return type of a gcc2
53504 builtin and then its argument prototype would still apply. */
53505 char $ac_func ();
53506 /* The GNU C library defines this for functions which it implements
53507 to always fail with ENOSYS. Some functions are actually named
53508 something starting with __ and the normal name is an alias. */
53509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53510 choke me
53511 #else
53512 char (*f) () = $ac_func;
53513 #endif
53514 #ifdef __cplusplus
53515 }
53516 #endif
53517
53518 int
53519 main ()
53520 {
53521 return f != $ac_func;
53522 ;
53523 return 0;
53524 }
53525 _ACEOF
53526 rm -f conftest.$ac_objext conftest$ac_exeext
53527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53528 (eval $ac_link) 2>conftest.er1
53529 ac_status=$?
53530 grep -v '^ *+' conftest.er1 >conftest.err
53531 rm -f conftest.er1
53532 cat conftest.err >&5
53533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53534 (exit $ac_status); } &&
53535 { ac_try='test -z "$ac_c_werror_flag"
53536 || test ! -s conftest.err'
53537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53538 (eval $ac_try) 2>&5
53539 ac_status=$?
53540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53541 (exit $ac_status); }; } &&
53542 { ac_try='test -s conftest$ac_exeext'
53543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53544 (eval $ac_try) 2>&5
53545 ac_status=$?
53546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53547 (exit $ac_status); }; }; then
53548 eval "$as_ac_var=yes"
53549 else
53550 echo "$as_me: failed program was:" >&5
53551 sed 's/^/| /' conftest.$ac_ext >&5
53552
53553 eval "$as_ac_var=no"
53554 fi
53555 rm -f conftest.err conftest.$ac_objext \
53556 conftest$ac_exeext conftest.$ac_ext
53557 fi
53558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53560 if test `eval echo '${'$as_ac_var'}'` = yes; then
53561 cat >>confdefs.h <<_ACEOF
53562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53563 _ACEOF
53564
53565 fi
53566 done
53567
53568 fi
53569 fi
53570
53571
53572
53573
53574
53575
53576 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53577 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53578 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53579 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53580 echo $ECHO_N "(cached) $ECHO_C" >&6
53581 else
53582
53583
53584
53585 ac_ext=cc
53586 ac_cpp='$CXXCPP $CPPFLAGS'
53587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53590
53591 cat >conftest.$ac_ext <<_ACEOF
53592 /* confdefs.h. */
53593 _ACEOF
53594 cat confdefs.h >>conftest.$ac_ext
53595 cat >>conftest.$ac_ext <<_ACEOF
53596 /* end confdefs.h. */
53597 #include <math.h>
53598 int
53599 main ()
53600 {
53601 atan2l(0, 0);
53602 ;
53603 return 0;
53604 }
53605 _ACEOF
53606 rm -f conftest.$ac_objext
53607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53608 (eval $ac_compile) 2>conftest.er1
53609 ac_status=$?
53610 grep -v '^ *+' conftest.er1 >conftest.err
53611 rm -f conftest.er1
53612 cat conftest.err >&5
53613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53614 (exit $ac_status); } &&
53615 { ac_try='test -z "$ac_cxx_werror_flag"
53616 || test ! -s conftest.err'
53617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53618 (eval $ac_try) 2>&5
53619 ac_status=$?
53620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53621 (exit $ac_status); }; } &&
53622 { ac_try='test -s conftest.$ac_objext'
53623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53624 (eval $ac_try) 2>&5
53625 ac_status=$?
53626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627 (exit $ac_status); }; }; then
53628 glibcxx_cv_func_atan2l_use=yes
53629 else
53630 echo "$as_me: failed program was:" >&5
53631 sed 's/^/| /' conftest.$ac_ext >&5
53632
53633 glibcxx_cv_func_atan2l_use=no
53634 fi
53635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53636 ac_ext=c
53637 ac_cpp='$CPP $CPPFLAGS'
53638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53641
53642
53643 fi
53644
53645 fi
53646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53647 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53648
53649 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53650
53651 for ac_func in atan2l
53652 do
53653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53654 echo "$as_me:$LINENO: checking for $ac_func" >&5
53655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53656 if eval "test \"\${$as_ac_var+set}\" = set"; then
53657 echo $ECHO_N "(cached) $ECHO_C" >&6
53658 else
53659 if test x$gcc_no_link = xyes; then
53660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53662 { (exit 1); exit 1; }; }
53663 fi
53664 cat >conftest.$ac_ext <<_ACEOF
53665 /* confdefs.h. */
53666 _ACEOF
53667 cat confdefs.h >>conftest.$ac_ext
53668 cat >>conftest.$ac_ext <<_ACEOF
53669 /* end confdefs.h. */
53670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53672 #define $ac_func innocuous_$ac_func
53673
53674 /* System header to define __stub macros and hopefully few prototypes,
53675 which can conflict with char $ac_func (); below.
53676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53677 <limits.h> exists even on freestanding compilers. */
53678
53679 #ifdef __STDC__
53680 # include <limits.h>
53681 #else
53682 # include <assert.h>
53683 #endif
53684
53685 #undef $ac_func
53686
53687 /* Override any gcc2 internal prototype to avoid an error. */
53688 #ifdef __cplusplus
53689 extern "C"
53690 {
53691 #endif
53692 /* We use char because int might match the return type of a gcc2
53693 builtin and then its argument prototype would still apply. */
53694 char $ac_func ();
53695 /* The GNU C library defines this for functions which it implements
53696 to always fail with ENOSYS. Some functions are actually named
53697 something starting with __ and the normal name is an alias. */
53698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53699 choke me
53700 #else
53701 char (*f) () = $ac_func;
53702 #endif
53703 #ifdef __cplusplus
53704 }
53705 #endif
53706
53707 int
53708 main ()
53709 {
53710 return f != $ac_func;
53711 ;
53712 return 0;
53713 }
53714 _ACEOF
53715 rm -f conftest.$ac_objext conftest$ac_exeext
53716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53717 (eval $ac_link) 2>conftest.er1
53718 ac_status=$?
53719 grep -v '^ *+' conftest.er1 >conftest.err
53720 rm -f conftest.er1
53721 cat conftest.err >&5
53722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53723 (exit $ac_status); } &&
53724 { ac_try='test -z "$ac_c_werror_flag"
53725 || test ! -s conftest.err'
53726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53727 (eval $ac_try) 2>&5
53728 ac_status=$?
53729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53730 (exit $ac_status); }; } &&
53731 { ac_try='test -s conftest$ac_exeext'
53732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53733 (eval $ac_try) 2>&5
53734 ac_status=$?
53735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53736 (exit $ac_status); }; }; then
53737 eval "$as_ac_var=yes"
53738 else
53739 echo "$as_me: failed program was:" >&5
53740 sed 's/^/| /' conftest.$ac_ext >&5
53741
53742 eval "$as_ac_var=no"
53743 fi
53744 rm -f conftest.err conftest.$ac_objext \
53745 conftest$ac_exeext conftest.$ac_ext
53746 fi
53747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53749 if test `eval echo '${'$as_ac_var'}'` = yes; then
53750 cat >>confdefs.h <<_ACEOF
53751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53752 _ACEOF
53753
53754 fi
53755 done
53756
53757 else
53758
53759 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53760 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
53761 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53762 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53763 echo $ECHO_N "(cached) $ECHO_C" >&6
53764 else
53765
53766
53767
53768 ac_ext=cc
53769 ac_cpp='$CXXCPP $CPPFLAGS'
53770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53773
53774 cat >conftest.$ac_ext <<_ACEOF
53775 /* confdefs.h. */
53776 _ACEOF
53777 cat confdefs.h >>conftest.$ac_ext
53778 cat >>conftest.$ac_ext <<_ACEOF
53779 /* end confdefs.h. */
53780 #include <math.h>
53781 int
53782 main ()
53783 {
53784 _atan2l(0, 0);
53785 ;
53786 return 0;
53787 }
53788 _ACEOF
53789 rm -f conftest.$ac_objext
53790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53791 (eval $ac_compile) 2>conftest.er1
53792 ac_status=$?
53793 grep -v '^ *+' conftest.er1 >conftest.err
53794 rm -f conftest.er1
53795 cat conftest.err >&5
53796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53797 (exit $ac_status); } &&
53798 { ac_try='test -z "$ac_cxx_werror_flag"
53799 || test ! -s conftest.err'
53800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53801 (eval $ac_try) 2>&5
53802 ac_status=$?
53803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53804 (exit $ac_status); }; } &&
53805 { ac_try='test -s conftest.$ac_objext'
53806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53807 (eval $ac_try) 2>&5
53808 ac_status=$?
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); }; }; then
53811 glibcxx_cv_func__atan2l_use=yes
53812 else
53813 echo "$as_me: failed program was:" >&5
53814 sed 's/^/| /' conftest.$ac_ext >&5
53815
53816 glibcxx_cv_func__atan2l_use=no
53817 fi
53818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53819 ac_ext=c
53820 ac_cpp='$CPP $CPPFLAGS'
53821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53824
53825
53826 fi
53827
53828 fi
53829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
53830 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
53831
53832 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53833
53834 for ac_func in _atan2l
53835 do
53836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53837 echo "$as_me:$LINENO: checking for $ac_func" >&5
53838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53839 if eval "test \"\${$as_ac_var+set}\" = set"; then
53840 echo $ECHO_N "(cached) $ECHO_C" >&6
53841 else
53842 if test x$gcc_no_link = xyes; then
53843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53845 { (exit 1); exit 1; }; }
53846 fi
53847 cat >conftest.$ac_ext <<_ACEOF
53848 /* confdefs.h. */
53849 _ACEOF
53850 cat confdefs.h >>conftest.$ac_ext
53851 cat >>conftest.$ac_ext <<_ACEOF
53852 /* end confdefs.h. */
53853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53855 #define $ac_func innocuous_$ac_func
53856
53857 /* System header to define __stub macros and hopefully few prototypes,
53858 which can conflict with char $ac_func (); below.
53859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53860 <limits.h> exists even on freestanding compilers. */
53861
53862 #ifdef __STDC__
53863 # include <limits.h>
53864 #else
53865 # include <assert.h>
53866 #endif
53867
53868 #undef $ac_func
53869
53870 /* Override any gcc2 internal prototype to avoid an error. */
53871 #ifdef __cplusplus
53872 extern "C"
53873 {
53874 #endif
53875 /* We use char because int might match the return type of a gcc2
53876 builtin and then its argument prototype would still apply. */
53877 char $ac_func ();
53878 /* The GNU C library defines this for functions which it implements
53879 to always fail with ENOSYS. Some functions are actually named
53880 something starting with __ and the normal name is an alias. */
53881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53882 choke me
53883 #else
53884 char (*f) () = $ac_func;
53885 #endif
53886 #ifdef __cplusplus
53887 }
53888 #endif
53889
53890 int
53891 main ()
53892 {
53893 return f != $ac_func;
53894 ;
53895 return 0;
53896 }
53897 _ACEOF
53898 rm -f conftest.$ac_objext conftest$ac_exeext
53899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53900 (eval $ac_link) 2>conftest.er1
53901 ac_status=$?
53902 grep -v '^ *+' conftest.er1 >conftest.err
53903 rm -f conftest.er1
53904 cat conftest.err >&5
53905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53906 (exit $ac_status); } &&
53907 { ac_try='test -z "$ac_c_werror_flag"
53908 || test ! -s conftest.err'
53909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53910 (eval $ac_try) 2>&5
53911 ac_status=$?
53912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913 (exit $ac_status); }; } &&
53914 { ac_try='test -s conftest$ac_exeext'
53915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53916 (eval $ac_try) 2>&5
53917 ac_status=$?
53918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919 (exit $ac_status); }; }; then
53920 eval "$as_ac_var=yes"
53921 else
53922 echo "$as_me: failed program was:" >&5
53923 sed 's/^/| /' conftest.$ac_ext >&5
53924
53925 eval "$as_ac_var=no"
53926 fi
53927 rm -f conftest.err conftest.$ac_objext \
53928 conftest$ac_exeext conftest.$ac_ext
53929 fi
53930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53932 if test `eval echo '${'$as_ac_var'}'` = yes; then
53933 cat >>confdefs.h <<_ACEOF
53934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53935 _ACEOF
53936
53937 fi
53938 done
53939
53940 fi
53941 fi
53942
53943
53944
53945
53946
53947
53948 echo "$as_me:$LINENO: checking for expl declaration" >&5
53949 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
53950 if test x${glibcxx_cv_func_expl_use+set} != xset; then
53951 if test "${glibcxx_cv_func_expl_use+set}" = set; then
53952 echo $ECHO_N "(cached) $ECHO_C" >&6
53953 else
53954
53955
53956
53957 ac_ext=cc
53958 ac_cpp='$CXXCPP $CPPFLAGS'
53959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53962
53963 cat >conftest.$ac_ext <<_ACEOF
53964 /* confdefs.h. */
53965 _ACEOF
53966 cat confdefs.h >>conftest.$ac_ext
53967 cat >>conftest.$ac_ext <<_ACEOF
53968 /* end confdefs.h. */
53969 #include <math.h>
53970 #ifdef HAVE_IEEEFP_H
53971 #include <ieeefp.h>
53972 #endif
53973
53974 int
53975 main ()
53976 {
53977 expl(0);
53978 ;
53979 return 0;
53980 }
53981 _ACEOF
53982 rm -f conftest.$ac_objext
53983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53984 (eval $ac_compile) 2>conftest.er1
53985 ac_status=$?
53986 grep -v '^ *+' conftest.er1 >conftest.err
53987 rm -f conftest.er1
53988 cat conftest.err >&5
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); } &&
53991 { ac_try='test -z "$ac_cxx_werror_flag"
53992 || test ! -s conftest.err'
53993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53994 (eval $ac_try) 2>&5
53995 ac_status=$?
53996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53997 (exit $ac_status); }; } &&
53998 { ac_try='test -s conftest.$ac_objext'
53999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54000 (eval $ac_try) 2>&5
54001 ac_status=$?
54002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003 (exit $ac_status); }; }; then
54004 glibcxx_cv_func_expl_use=yes
54005 else
54006 echo "$as_me: failed program was:" >&5
54007 sed 's/^/| /' conftest.$ac_ext >&5
54008
54009 glibcxx_cv_func_expl_use=no
54010 fi
54011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54012 ac_ext=c
54013 ac_cpp='$CPP $CPPFLAGS'
54014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54017
54018
54019 fi
54020
54021 fi
54022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54023 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54024
54025 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54026
54027 for ac_func in expl
54028 do
54029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54030 echo "$as_me:$LINENO: checking for $ac_func" >&5
54031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54032 if eval "test \"\${$as_ac_var+set}\" = set"; then
54033 echo $ECHO_N "(cached) $ECHO_C" >&6
54034 else
54035 if test x$gcc_no_link = xyes; then
54036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54038 { (exit 1); exit 1; }; }
54039 fi
54040 cat >conftest.$ac_ext <<_ACEOF
54041 /* confdefs.h. */
54042 _ACEOF
54043 cat confdefs.h >>conftest.$ac_ext
54044 cat >>conftest.$ac_ext <<_ACEOF
54045 /* end confdefs.h. */
54046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54048 #define $ac_func innocuous_$ac_func
54049
54050 /* System header to define __stub macros and hopefully few prototypes,
54051 which can conflict with char $ac_func (); below.
54052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54053 <limits.h> exists even on freestanding compilers. */
54054
54055 #ifdef __STDC__
54056 # include <limits.h>
54057 #else
54058 # include <assert.h>
54059 #endif
54060
54061 #undef $ac_func
54062
54063 /* Override any gcc2 internal prototype to avoid an error. */
54064 #ifdef __cplusplus
54065 extern "C"
54066 {
54067 #endif
54068 /* We use char because int might match the return type of a gcc2
54069 builtin and then its argument prototype would still apply. */
54070 char $ac_func ();
54071 /* The GNU C library defines this for functions which it implements
54072 to always fail with ENOSYS. Some functions are actually named
54073 something starting with __ and the normal name is an alias. */
54074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54075 choke me
54076 #else
54077 char (*f) () = $ac_func;
54078 #endif
54079 #ifdef __cplusplus
54080 }
54081 #endif
54082
54083 int
54084 main ()
54085 {
54086 return f != $ac_func;
54087 ;
54088 return 0;
54089 }
54090 _ACEOF
54091 rm -f conftest.$ac_objext conftest$ac_exeext
54092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54093 (eval $ac_link) 2>conftest.er1
54094 ac_status=$?
54095 grep -v '^ *+' conftest.er1 >conftest.err
54096 rm -f conftest.er1
54097 cat conftest.err >&5
54098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54099 (exit $ac_status); } &&
54100 { ac_try='test -z "$ac_c_werror_flag"
54101 || test ! -s conftest.err'
54102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54103 (eval $ac_try) 2>&5
54104 ac_status=$?
54105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54106 (exit $ac_status); }; } &&
54107 { ac_try='test -s conftest$ac_exeext'
54108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54109 (eval $ac_try) 2>&5
54110 ac_status=$?
54111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54112 (exit $ac_status); }; }; then
54113 eval "$as_ac_var=yes"
54114 else
54115 echo "$as_me: failed program was:" >&5
54116 sed 's/^/| /' conftest.$ac_ext >&5
54117
54118 eval "$as_ac_var=no"
54119 fi
54120 rm -f conftest.err conftest.$ac_objext \
54121 conftest$ac_exeext conftest.$ac_ext
54122 fi
54123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54125 if test `eval echo '${'$as_ac_var'}'` = yes; then
54126 cat >>confdefs.h <<_ACEOF
54127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54128 _ACEOF
54129
54130 fi
54131 done
54132
54133 else
54134
54135 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54136 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54137 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54138 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54139 echo $ECHO_N "(cached) $ECHO_C" >&6
54140 else
54141
54142
54143
54144 ac_ext=cc
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54149
54150 cat >conftest.$ac_ext <<_ACEOF
54151 /* confdefs.h. */
54152 _ACEOF
54153 cat confdefs.h >>conftest.$ac_ext
54154 cat >>conftest.$ac_ext <<_ACEOF
54155 /* end confdefs.h. */
54156 #include <math.h>
54157 #ifdef HAVE_IEEEFP_H
54158 #include <ieeefp.h>
54159 #endif
54160
54161 int
54162 main ()
54163 {
54164 _expl(0);
54165 ;
54166 return 0;
54167 }
54168 _ACEOF
54169 rm -f conftest.$ac_objext
54170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54171 (eval $ac_compile) 2>conftest.er1
54172 ac_status=$?
54173 grep -v '^ *+' conftest.er1 >conftest.err
54174 rm -f conftest.er1
54175 cat conftest.err >&5
54176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54177 (exit $ac_status); } &&
54178 { ac_try='test -z "$ac_cxx_werror_flag"
54179 || test ! -s conftest.err'
54180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54181 (eval $ac_try) 2>&5
54182 ac_status=$?
54183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54184 (exit $ac_status); }; } &&
54185 { ac_try='test -s conftest.$ac_objext'
54186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54187 (eval $ac_try) 2>&5
54188 ac_status=$?
54189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54190 (exit $ac_status); }; }; then
54191 glibcxx_cv_func__expl_use=yes
54192 else
54193 echo "$as_me: failed program was:" >&5
54194 sed 's/^/| /' conftest.$ac_ext >&5
54195
54196 glibcxx_cv_func__expl_use=no
54197 fi
54198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54199 ac_ext=c
54200 ac_cpp='$CPP $CPPFLAGS'
54201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54204
54205
54206 fi
54207
54208 fi
54209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54210 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54211
54212 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54213
54214 for ac_func in _expl
54215 do
54216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54217 echo "$as_me:$LINENO: checking for $ac_func" >&5
54218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54219 if eval "test \"\${$as_ac_var+set}\" = set"; then
54220 echo $ECHO_N "(cached) $ECHO_C" >&6
54221 else
54222 if test x$gcc_no_link = xyes; then
54223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54225 { (exit 1); exit 1; }; }
54226 fi
54227 cat >conftest.$ac_ext <<_ACEOF
54228 /* confdefs.h. */
54229 _ACEOF
54230 cat confdefs.h >>conftest.$ac_ext
54231 cat >>conftest.$ac_ext <<_ACEOF
54232 /* end confdefs.h. */
54233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54235 #define $ac_func innocuous_$ac_func
54236
54237 /* System header to define __stub macros and hopefully few prototypes,
54238 which can conflict with char $ac_func (); below.
54239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54240 <limits.h> exists even on freestanding compilers. */
54241
54242 #ifdef __STDC__
54243 # include <limits.h>
54244 #else
54245 # include <assert.h>
54246 #endif
54247
54248 #undef $ac_func
54249
54250 /* Override any gcc2 internal prototype to avoid an error. */
54251 #ifdef __cplusplus
54252 extern "C"
54253 {
54254 #endif
54255 /* We use char because int might match the return type of a gcc2
54256 builtin and then its argument prototype would still apply. */
54257 char $ac_func ();
54258 /* The GNU C library defines this for functions which it implements
54259 to always fail with ENOSYS. Some functions are actually named
54260 something starting with __ and the normal name is an alias. */
54261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54262 choke me
54263 #else
54264 char (*f) () = $ac_func;
54265 #endif
54266 #ifdef __cplusplus
54267 }
54268 #endif
54269
54270 int
54271 main ()
54272 {
54273 return f != $ac_func;
54274 ;
54275 return 0;
54276 }
54277 _ACEOF
54278 rm -f conftest.$ac_objext conftest$ac_exeext
54279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54280 (eval $ac_link) 2>conftest.er1
54281 ac_status=$?
54282 grep -v '^ *+' conftest.er1 >conftest.err
54283 rm -f conftest.er1
54284 cat conftest.err >&5
54285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54286 (exit $ac_status); } &&
54287 { ac_try='test -z "$ac_c_werror_flag"
54288 || test ! -s conftest.err'
54289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290 (eval $ac_try) 2>&5
54291 ac_status=$?
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); }; } &&
54294 { ac_try='test -s conftest$ac_exeext'
54295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296 (eval $ac_try) 2>&5
54297 ac_status=$?
54298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299 (exit $ac_status); }; }; then
54300 eval "$as_ac_var=yes"
54301 else
54302 echo "$as_me: failed program was:" >&5
54303 sed 's/^/| /' conftest.$ac_ext >&5
54304
54305 eval "$as_ac_var=no"
54306 fi
54307 rm -f conftest.err conftest.$ac_objext \
54308 conftest$ac_exeext conftest.$ac_ext
54309 fi
54310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54312 if test `eval echo '${'$as_ac_var'}'` = yes; then
54313 cat >>confdefs.h <<_ACEOF
54314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54315 _ACEOF
54316
54317 fi
54318 done
54319
54320 fi
54321 fi
54322
54323
54324
54325
54326
54327
54328 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54329 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54330 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54331 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54332 echo $ECHO_N "(cached) $ECHO_C" >&6
54333 else
54334
54335
54336
54337 ac_ext=cc
54338 ac_cpp='$CXXCPP $CPPFLAGS'
54339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54342
54343 cat >conftest.$ac_ext <<_ACEOF
54344 /* confdefs.h. */
54345 _ACEOF
54346 cat confdefs.h >>conftest.$ac_ext
54347 cat >>conftest.$ac_ext <<_ACEOF
54348 /* end confdefs.h. */
54349 #include <math.h>
54350 #ifdef HAVE_IEEEFP_H
54351 #include <ieeefp.h>
54352 #endif
54353
54354 int
54355 main ()
54356 {
54357 fabsl(0);
54358 ;
54359 return 0;
54360 }
54361 _ACEOF
54362 rm -f conftest.$ac_objext
54363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54364 (eval $ac_compile) 2>conftest.er1
54365 ac_status=$?
54366 grep -v '^ *+' conftest.er1 >conftest.err
54367 rm -f conftest.er1
54368 cat conftest.err >&5
54369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54370 (exit $ac_status); } &&
54371 { ac_try='test -z "$ac_cxx_werror_flag"
54372 || test ! -s conftest.err'
54373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54374 (eval $ac_try) 2>&5
54375 ac_status=$?
54376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54377 (exit $ac_status); }; } &&
54378 { ac_try='test -s conftest.$ac_objext'
54379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380 (eval $ac_try) 2>&5
54381 ac_status=$?
54382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383 (exit $ac_status); }; }; then
54384 glibcxx_cv_func_fabsl_use=yes
54385 else
54386 echo "$as_me: failed program was:" >&5
54387 sed 's/^/| /' conftest.$ac_ext >&5
54388
54389 glibcxx_cv_func_fabsl_use=no
54390 fi
54391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54397
54398
54399 fi
54400
54401 fi
54402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54403 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54404
54405 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54406
54407 for ac_func in fabsl
54408 do
54409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54410 echo "$as_me:$LINENO: checking for $ac_func" >&5
54411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54412 if eval "test \"\${$as_ac_var+set}\" = set"; then
54413 echo $ECHO_N "(cached) $ECHO_C" >&6
54414 else
54415 if test x$gcc_no_link = xyes; then
54416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54418 { (exit 1); exit 1; }; }
54419 fi
54420 cat >conftest.$ac_ext <<_ACEOF
54421 /* confdefs.h. */
54422 _ACEOF
54423 cat confdefs.h >>conftest.$ac_ext
54424 cat >>conftest.$ac_ext <<_ACEOF
54425 /* end confdefs.h. */
54426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54428 #define $ac_func innocuous_$ac_func
54429
54430 /* System header to define __stub macros and hopefully few prototypes,
54431 which can conflict with char $ac_func (); below.
54432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54433 <limits.h> exists even on freestanding compilers. */
54434
54435 #ifdef __STDC__
54436 # include <limits.h>
54437 #else
54438 # include <assert.h>
54439 #endif
54440
54441 #undef $ac_func
54442
54443 /* Override any gcc2 internal prototype to avoid an error. */
54444 #ifdef __cplusplus
54445 extern "C"
54446 {
54447 #endif
54448 /* We use char because int might match the return type of a gcc2
54449 builtin and then its argument prototype would still apply. */
54450 char $ac_func ();
54451 /* The GNU C library defines this for functions which it implements
54452 to always fail with ENOSYS. Some functions are actually named
54453 something starting with __ and the normal name is an alias. */
54454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54455 choke me
54456 #else
54457 char (*f) () = $ac_func;
54458 #endif
54459 #ifdef __cplusplus
54460 }
54461 #endif
54462
54463 int
54464 main ()
54465 {
54466 return f != $ac_func;
54467 ;
54468 return 0;
54469 }
54470 _ACEOF
54471 rm -f conftest.$ac_objext conftest$ac_exeext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54473 (eval $ac_link) 2>conftest.er1
54474 ac_status=$?
54475 grep -v '^ *+' conftest.er1 >conftest.err
54476 rm -f conftest.er1
54477 cat conftest.err >&5
54478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479 (exit $ac_status); } &&
54480 { ac_try='test -z "$ac_c_werror_flag"
54481 || test ! -s conftest.err'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; } &&
54487 { ac_try='test -s conftest$ac_exeext'
54488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489 (eval $ac_try) 2>&5
54490 ac_status=$?
54491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492 (exit $ac_status); }; }; then
54493 eval "$as_ac_var=yes"
54494 else
54495 echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54497
54498 eval "$as_ac_var=no"
54499 fi
54500 rm -f conftest.err conftest.$ac_objext \
54501 conftest$ac_exeext conftest.$ac_ext
54502 fi
54503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54505 if test `eval echo '${'$as_ac_var'}'` = yes; then
54506 cat >>confdefs.h <<_ACEOF
54507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54508 _ACEOF
54509
54510 fi
54511 done
54512
54513 else
54514
54515 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54516 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54517 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54518 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54519 echo $ECHO_N "(cached) $ECHO_C" >&6
54520 else
54521
54522
54523
54524 ac_ext=cc
54525 ac_cpp='$CXXCPP $CPPFLAGS'
54526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54529
54530 cat >conftest.$ac_ext <<_ACEOF
54531 /* confdefs.h. */
54532 _ACEOF
54533 cat confdefs.h >>conftest.$ac_ext
54534 cat >>conftest.$ac_ext <<_ACEOF
54535 /* end confdefs.h. */
54536 #include <math.h>
54537 #ifdef HAVE_IEEEFP_H
54538 #include <ieeefp.h>
54539 #endif
54540
54541 int
54542 main ()
54543 {
54544 _fabsl(0);
54545 ;
54546 return 0;
54547 }
54548 _ACEOF
54549 rm -f conftest.$ac_objext
54550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54551 (eval $ac_compile) 2>conftest.er1
54552 ac_status=$?
54553 grep -v '^ *+' conftest.er1 >conftest.err
54554 rm -f conftest.er1
54555 cat conftest.err >&5
54556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54557 (exit $ac_status); } &&
54558 { ac_try='test -z "$ac_cxx_werror_flag"
54559 || test ! -s conftest.err'
54560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54561 (eval $ac_try) 2>&5
54562 ac_status=$?
54563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54564 (exit $ac_status); }; } &&
54565 { ac_try='test -s conftest.$ac_objext'
54566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54567 (eval $ac_try) 2>&5
54568 ac_status=$?
54569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54570 (exit $ac_status); }; }; then
54571 glibcxx_cv_func__fabsl_use=yes
54572 else
54573 echo "$as_me: failed program was:" >&5
54574 sed 's/^/| /' conftest.$ac_ext >&5
54575
54576 glibcxx_cv_func__fabsl_use=no
54577 fi
54578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54579 ac_ext=c
54580 ac_cpp='$CPP $CPPFLAGS'
54581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54584
54585
54586 fi
54587
54588 fi
54589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54590 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54591
54592 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54593
54594 for ac_func in _fabsl
54595 do
54596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54597 echo "$as_me:$LINENO: checking for $ac_func" >&5
54598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54599 if eval "test \"\${$as_ac_var+set}\" = set"; then
54600 echo $ECHO_N "(cached) $ECHO_C" >&6
54601 else
54602 if test x$gcc_no_link = xyes; then
54603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54605 { (exit 1); exit 1; }; }
54606 fi
54607 cat >conftest.$ac_ext <<_ACEOF
54608 /* confdefs.h. */
54609 _ACEOF
54610 cat confdefs.h >>conftest.$ac_ext
54611 cat >>conftest.$ac_ext <<_ACEOF
54612 /* end confdefs.h. */
54613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54615 #define $ac_func innocuous_$ac_func
54616
54617 /* System header to define __stub macros and hopefully few prototypes,
54618 which can conflict with char $ac_func (); below.
54619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54620 <limits.h> exists even on freestanding compilers. */
54621
54622 #ifdef __STDC__
54623 # include <limits.h>
54624 #else
54625 # include <assert.h>
54626 #endif
54627
54628 #undef $ac_func
54629
54630 /* Override any gcc2 internal prototype to avoid an error. */
54631 #ifdef __cplusplus
54632 extern "C"
54633 {
54634 #endif
54635 /* We use char because int might match the return type of a gcc2
54636 builtin and then its argument prototype would still apply. */
54637 char $ac_func ();
54638 /* The GNU C library defines this for functions which it implements
54639 to always fail with ENOSYS. Some functions are actually named
54640 something starting with __ and the normal name is an alias. */
54641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54642 choke me
54643 #else
54644 char (*f) () = $ac_func;
54645 #endif
54646 #ifdef __cplusplus
54647 }
54648 #endif
54649
54650 int
54651 main ()
54652 {
54653 return f != $ac_func;
54654 ;
54655 return 0;
54656 }
54657 _ACEOF
54658 rm -f conftest.$ac_objext conftest$ac_exeext
54659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54660 (eval $ac_link) 2>conftest.er1
54661 ac_status=$?
54662 grep -v '^ *+' conftest.er1 >conftest.err
54663 rm -f conftest.er1
54664 cat conftest.err >&5
54665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54666 (exit $ac_status); } &&
54667 { ac_try='test -z "$ac_c_werror_flag"
54668 || test ! -s conftest.err'
54669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54670 (eval $ac_try) 2>&5
54671 ac_status=$?
54672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673 (exit $ac_status); }; } &&
54674 { ac_try='test -s conftest$ac_exeext'
54675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54676 (eval $ac_try) 2>&5
54677 ac_status=$?
54678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679 (exit $ac_status); }; }; then
54680 eval "$as_ac_var=yes"
54681 else
54682 echo "$as_me: failed program was:" >&5
54683 sed 's/^/| /' conftest.$ac_ext >&5
54684
54685 eval "$as_ac_var=no"
54686 fi
54687 rm -f conftest.err conftest.$ac_objext \
54688 conftest$ac_exeext conftest.$ac_ext
54689 fi
54690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54692 if test `eval echo '${'$as_ac_var'}'` = yes; then
54693 cat >>confdefs.h <<_ACEOF
54694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54695 _ACEOF
54696
54697 fi
54698 done
54699
54700 fi
54701 fi
54702
54703
54704
54705
54706
54707
54708 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54709 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
54710 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54711 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54712 echo $ECHO_N "(cached) $ECHO_C" >&6
54713 else
54714
54715
54716
54717 ac_ext=cc
54718 ac_cpp='$CXXCPP $CPPFLAGS'
54719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54722
54723 cat >conftest.$ac_ext <<_ACEOF
54724 /* confdefs.h. */
54725 _ACEOF
54726 cat confdefs.h >>conftest.$ac_ext
54727 cat >>conftest.$ac_ext <<_ACEOF
54728 /* end confdefs.h. */
54729 #include <math.h>
54730 int
54731 main ()
54732 {
54733 fmodl(0, 0);
54734 ;
54735 return 0;
54736 }
54737 _ACEOF
54738 rm -f conftest.$ac_objext
54739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54740 (eval $ac_compile) 2>conftest.er1
54741 ac_status=$?
54742 grep -v '^ *+' conftest.er1 >conftest.err
54743 rm -f conftest.er1
54744 cat conftest.err >&5
54745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54746 (exit $ac_status); } &&
54747 { ac_try='test -z "$ac_cxx_werror_flag"
54748 || test ! -s conftest.err'
54749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54750 (eval $ac_try) 2>&5
54751 ac_status=$?
54752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54753 (exit $ac_status); }; } &&
54754 { ac_try='test -s conftest.$ac_objext'
54755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54756 (eval $ac_try) 2>&5
54757 ac_status=$?
54758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54759 (exit $ac_status); }; }; then
54760 glibcxx_cv_func_fmodl_use=yes
54761 else
54762 echo "$as_me: failed program was:" >&5
54763 sed 's/^/| /' conftest.$ac_ext >&5
54764
54765 glibcxx_cv_func_fmodl_use=no
54766 fi
54767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54768 ac_ext=c
54769 ac_cpp='$CPP $CPPFLAGS'
54770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54773
54774
54775 fi
54776
54777 fi
54778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54779 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
54780
54781 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54782
54783 for ac_func in fmodl
54784 do
54785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54786 echo "$as_me:$LINENO: checking for $ac_func" >&5
54787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54788 if eval "test \"\${$as_ac_var+set}\" = set"; then
54789 echo $ECHO_N "(cached) $ECHO_C" >&6
54790 else
54791 if test x$gcc_no_link = xyes; then
54792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54794 { (exit 1); exit 1; }; }
54795 fi
54796 cat >conftest.$ac_ext <<_ACEOF
54797 /* confdefs.h. */
54798 _ACEOF
54799 cat confdefs.h >>conftest.$ac_ext
54800 cat >>conftest.$ac_ext <<_ACEOF
54801 /* end confdefs.h. */
54802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54804 #define $ac_func innocuous_$ac_func
54805
54806 /* System header to define __stub macros and hopefully few prototypes,
54807 which can conflict with char $ac_func (); below.
54808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54809 <limits.h> exists even on freestanding compilers. */
54810
54811 #ifdef __STDC__
54812 # include <limits.h>
54813 #else
54814 # include <assert.h>
54815 #endif
54816
54817 #undef $ac_func
54818
54819 /* Override any gcc2 internal prototype to avoid an error. */
54820 #ifdef __cplusplus
54821 extern "C"
54822 {
54823 #endif
54824 /* We use char because int might match the return type of a gcc2
54825 builtin and then its argument prototype would still apply. */
54826 char $ac_func ();
54827 /* The GNU C library defines this for functions which it implements
54828 to always fail with ENOSYS. Some functions are actually named
54829 something starting with __ and the normal name is an alias. */
54830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54831 choke me
54832 #else
54833 char (*f) () = $ac_func;
54834 #endif
54835 #ifdef __cplusplus
54836 }
54837 #endif
54838
54839 int
54840 main ()
54841 {
54842 return f != $ac_func;
54843 ;
54844 return 0;
54845 }
54846 _ACEOF
54847 rm -f conftest.$ac_objext conftest$ac_exeext
54848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54849 (eval $ac_link) 2>conftest.er1
54850 ac_status=$?
54851 grep -v '^ *+' conftest.er1 >conftest.err
54852 rm -f conftest.er1
54853 cat conftest.err >&5
54854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54855 (exit $ac_status); } &&
54856 { ac_try='test -z "$ac_c_werror_flag"
54857 || test ! -s conftest.err'
54858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54859 (eval $ac_try) 2>&5
54860 ac_status=$?
54861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54862 (exit $ac_status); }; } &&
54863 { ac_try='test -s conftest$ac_exeext'
54864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54865 (eval $ac_try) 2>&5
54866 ac_status=$?
54867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54868 (exit $ac_status); }; }; then
54869 eval "$as_ac_var=yes"
54870 else
54871 echo "$as_me: failed program was:" >&5
54872 sed 's/^/| /' conftest.$ac_ext >&5
54873
54874 eval "$as_ac_var=no"
54875 fi
54876 rm -f conftest.err conftest.$ac_objext \
54877 conftest$ac_exeext conftest.$ac_ext
54878 fi
54879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54881 if test `eval echo '${'$as_ac_var'}'` = yes; then
54882 cat >>confdefs.h <<_ACEOF
54883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54884 _ACEOF
54885
54886 fi
54887 done
54888
54889 else
54890
54891 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
54892 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
54893 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54894 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
54895 echo $ECHO_N "(cached) $ECHO_C" >&6
54896 else
54897
54898
54899
54900 ac_ext=cc
54901 ac_cpp='$CXXCPP $CPPFLAGS'
54902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54905
54906 cat >conftest.$ac_ext <<_ACEOF
54907 /* confdefs.h. */
54908 _ACEOF
54909 cat confdefs.h >>conftest.$ac_ext
54910 cat >>conftest.$ac_ext <<_ACEOF
54911 /* end confdefs.h. */
54912 #include <math.h>
54913 int
54914 main ()
54915 {
54916 _fmodl(0, 0);
54917 ;
54918 return 0;
54919 }
54920 _ACEOF
54921 rm -f conftest.$ac_objext
54922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54923 (eval $ac_compile) 2>conftest.er1
54924 ac_status=$?
54925 grep -v '^ *+' conftest.er1 >conftest.err
54926 rm -f conftest.er1
54927 cat conftest.err >&5
54928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54929 (exit $ac_status); } &&
54930 { ac_try='test -z "$ac_cxx_werror_flag"
54931 || test ! -s conftest.err'
54932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54933 (eval $ac_try) 2>&5
54934 ac_status=$?
54935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54936 (exit $ac_status); }; } &&
54937 { ac_try='test -s conftest.$ac_objext'
54938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54939 (eval $ac_try) 2>&5
54940 ac_status=$?
54941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942 (exit $ac_status); }; }; then
54943 glibcxx_cv_func__fmodl_use=yes
54944 else
54945 echo "$as_me: failed program was:" >&5
54946 sed 's/^/| /' conftest.$ac_ext >&5
54947
54948 glibcxx_cv_func__fmodl_use=no
54949 fi
54950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54951 ac_ext=c
54952 ac_cpp='$CPP $CPPFLAGS'
54953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54956
54957
54958 fi
54959
54960 fi
54961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
54962 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
54963
54964 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54965
54966 for ac_func in _fmodl
54967 do
54968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54969 echo "$as_me:$LINENO: checking for $ac_func" >&5
54970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54971 if eval "test \"\${$as_ac_var+set}\" = set"; then
54972 echo $ECHO_N "(cached) $ECHO_C" >&6
54973 else
54974 if test x$gcc_no_link = xyes; then
54975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54977 { (exit 1); exit 1; }; }
54978 fi
54979 cat >conftest.$ac_ext <<_ACEOF
54980 /* confdefs.h. */
54981 _ACEOF
54982 cat confdefs.h >>conftest.$ac_ext
54983 cat >>conftest.$ac_ext <<_ACEOF
54984 /* end confdefs.h. */
54985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54987 #define $ac_func innocuous_$ac_func
54988
54989 /* System header to define __stub macros and hopefully few prototypes,
54990 which can conflict with char $ac_func (); below.
54991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54992 <limits.h> exists even on freestanding compilers. */
54993
54994 #ifdef __STDC__
54995 # include <limits.h>
54996 #else
54997 # include <assert.h>
54998 #endif
54999
55000 #undef $ac_func
55001
55002 /* Override any gcc2 internal prototype to avoid an error. */
55003 #ifdef __cplusplus
55004 extern "C"
55005 {
55006 #endif
55007 /* We use char because int might match the return type of a gcc2
55008 builtin and then its argument prototype would still apply. */
55009 char $ac_func ();
55010 /* The GNU C library defines this for functions which it implements
55011 to always fail with ENOSYS. Some functions are actually named
55012 something starting with __ and the normal name is an alias. */
55013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55014 choke me
55015 #else
55016 char (*f) () = $ac_func;
55017 #endif
55018 #ifdef __cplusplus
55019 }
55020 #endif
55021
55022 int
55023 main ()
55024 {
55025 return f != $ac_func;
55026 ;
55027 return 0;
55028 }
55029 _ACEOF
55030 rm -f conftest.$ac_objext conftest$ac_exeext
55031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55032 (eval $ac_link) 2>conftest.er1
55033 ac_status=$?
55034 grep -v '^ *+' conftest.er1 >conftest.err
55035 rm -f conftest.er1
55036 cat conftest.err >&5
55037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55038 (exit $ac_status); } &&
55039 { ac_try='test -z "$ac_c_werror_flag"
55040 || test ! -s conftest.err'
55041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55042 (eval $ac_try) 2>&5
55043 ac_status=$?
55044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55045 (exit $ac_status); }; } &&
55046 { ac_try='test -s conftest$ac_exeext'
55047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55048 (eval $ac_try) 2>&5
55049 ac_status=$?
55050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051 (exit $ac_status); }; }; then
55052 eval "$as_ac_var=yes"
55053 else
55054 echo "$as_me: failed program was:" >&5
55055 sed 's/^/| /' conftest.$ac_ext >&5
55056
55057 eval "$as_ac_var=no"
55058 fi
55059 rm -f conftest.err conftest.$ac_objext \
55060 conftest$ac_exeext conftest.$ac_ext
55061 fi
55062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55064 if test `eval echo '${'$as_ac_var'}'` = yes; then
55065 cat >>confdefs.h <<_ACEOF
55066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55067 _ACEOF
55068
55069 fi
55070 done
55071
55072 fi
55073 fi
55074
55075
55076
55077
55078
55079
55080 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55081 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55082 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55083 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55084 echo $ECHO_N "(cached) $ECHO_C" >&6
55085 else
55086
55087
55088
55089 ac_ext=cc
55090 ac_cpp='$CXXCPP $CPPFLAGS'
55091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55094
55095 cat >conftest.$ac_ext <<_ACEOF
55096 /* confdefs.h. */
55097 _ACEOF
55098 cat confdefs.h >>conftest.$ac_ext
55099 cat >>conftest.$ac_ext <<_ACEOF
55100 /* end confdefs.h. */
55101 #include <math.h>
55102 int
55103 main ()
55104 {
55105 frexpl(0, 0);
55106 ;
55107 return 0;
55108 }
55109 _ACEOF
55110 rm -f conftest.$ac_objext
55111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55112 (eval $ac_compile) 2>conftest.er1
55113 ac_status=$?
55114 grep -v '^ *+' conftest.er1 >conftest.err
55115 rm -f conftest.er1
55116 cat conftest.err >&5
55117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55118 (exit $ac_status); } &&
55119 { ac_try='test -z "$ac_cxx_werror_flag"
55120 || test ! -s conftest.err'
55121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55122 (eval $ac_try) 2>&5
55123 ac_status=$?
55124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55125 (exit $ac_status); }; } &&
55126 { ac_try='test -s conftest.$ac_objext'
55127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55128 (eval $ac_try) 2>&5
55129 ac_status=$?
55130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55131 (exit $ac_status); }; }; then
55132 glibcxx_cv_func_frexpl_use=yes
55133 else
55134 echo "$as_me: failed program was:" >&5
55135 sed 's/^/| /' conftest.$ac_ext >&5
55136
55137 glibcxx_cv_func_frexpl_use=no
55138 fi
55139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55140 ac_ext=c
55141 ac_cpp='$CPP $CPPFLAGS'
55142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55145
55146
55147 fi
55148
55149 fi
55150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55151 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55152
55153 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55154
55155 for ac_func in frexpl
55156 do
55157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55158 echo "$as_me:$LINENO: checking for $ac_func" >&5
55159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55160 if eval "test \"\${$as_ac_var+set}\" = set"; then
55161 echo $ECHO_N "(cached) $ECHO_C" >&6
55162 else
55163 if test x$gcc_no_link = xyes; then
55164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55166 { (exit 1); exit 1; }; }
55167 fi
55168 cat >conftest.$ac_ext <<_ACEOF
55169 /* confdefs.h. */
55170 _ACEOF
55171 cat confdefs.h >>conftest.$ac_ext
55172 cat >>conftest.$ac_ext <<_ACEOF
55173 /* end confdefs.h. */
55174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55176 #define $ac_func innocuous_$ac_func
55177
55178 /* System header to define __stub macros and hopefully few prototypes,
55179 which can conflict with char $ac_func (); below.
55180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55181 <limits.h> exists even on freestanding compilers. */
55182
55183 #ifdef __STDC__
55184 # include <limits.h>
55185 #else
55186 # include <assert.h>
55187 #endif
55188
55189 #undef $ac_func
55190
55191 /* Override any gcc2 internal prototype to avoid an error. */
55192 #ifdef __cplusplus
55193 extern "C"
55194 {
55195 #endif
55196 /* We use char because int might match the return type of a gcc2
55197 builtin and then its argument prototype would still apply. */
55198 char $ac_func ();
55199 /* The GNU C library defines this for functions which it implements
55200 to always fail with ENOSYS. Some functions are actually named
55201 something starting with __ and the normal name is an alias. */
55202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55203 choke me
55204 #else
55205 char (*f) () = $ac_func;
55206 #endif
55207 #ifdef __cplusplus
55208 }
55209 #endif
55210
55211 int
55212 main ()
55213 {
55214 return f != $ac_func;
55215 ;
55216 return 0;
55217 }
55218 _ACEOF
55219 rm -f conftest.$ac_objext conftest$ac_exeext
55220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55221 (eval $ac_link) 2>conftest.er1
55222 ac_status=$?
55223 grep -v '^ *+' conftest.er1 >conftest.err
55224 rm -f conftest.er1
55225 cat conftest.err >&5
55226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55227 (exit $ac_status); } &&
55228 { ac_try='test -z "$ac_c_werror_flag"
55229 || test ! -s conftest.err'
55230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55231 (eval $ac_try) 2>&5
55232 ac_status=$?
55233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55234 (exit $ac_status); }; } &&
55235 { ac_try='test -s conftest$ac_exeext'
55236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55237 (eval $ac_try) 2>&5
55238 ac_status=$?
55239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55240 (exit $ac_status); }; }; then
55241 eval "$as_ac_var=yes"
55242 else
55243 echo "$as_me: failed program was:" >&5
55244 sed 's/^/| /' conftest.$ac_ext >&5
55245
55246 eval "$as_ac_var=no"
55247 fi
55248 rm -f conftest.err conftest.$ac_objext \
55249 conftest$ac_exeext conftest.$ac_ext
55250 fi
55251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55253 if test `eval echo '${'$as_ac_var'}'` = yes; then
55254 cat >>confdefs.h <<_ACEOF
55255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55256 _ACEOF
55257
55258 fi
55259 done
55260
55261 else
55262
55263 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55264 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55265 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55266 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55267 echo $ECHO_N "(cached) $ECHO_C" >&6
55268 else
55269
55270
55271
55272 ac_ext=cc
55273 ac_cpp='$CXXCPP $CPPFLAGS'
55274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55277
55278 cat >conftest.$ac_ext <<_ACEOF
55279 /* confdefs.h. */
55280 _ACEOF
55281 cat confdefs.h >>conftest.$ac_ext
55282 cat >>conftest.$ac_ext <<_ACEOF
55283 /* end confdefs.h. */
55284 #include <math.h>
55285 int
55286 main ()
55287 {
55288 _frexpl(0, 0);
55289 ;
55290 return 0;
55291 }
55292 _ACEOF
55293 rm -f conftest.$ac_objext
55294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55295 (eval $ac_compile) 2>conftest.er1
55296 ac_status=$?
55297 grep -v '^ *+' conftest.er1 >conftest.err
55298 rm -f conftest.er1
55299 cat conftest.err >&5
55300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55301 (exit $ac_status); } &&
55302 { ac_try='test -z "$ac_cxx_werror_flag"
55303 || test ! -s conftest.err'
55304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55305 (eval $ac_try) 2>&5
55306 ac_status=$?
55307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55308 (exit $ac_status); }; } &&
55309 { ac_try='test -s conftest.$ac_objext'
55310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55311 (eval $ac_try) 2>&5
55312 ac_status=$?
55313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55314 (exit $ac_status); }; }; then
55315 glibcxx_cv_func__frexpl_use=yes
55316 else
55317 echo "$as_me: failed program was:" >&5
55318 sed 's/^/| /' conftest.$ac_ext >&5
55319
55320 glibcxx_cv_func__frexpl_use=no
55321 fi
55322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55323 ac_ext=c
55324 ac_cpp='$CPP $CPPFLAGS'
55325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328
55329
55330 fi
55331
55332 fi
55333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55334 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55335
55336 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55337
55338 for ac_func in _frexpl
55339 do
55340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55341 echo "$as_me:$LINENO: checking for $ac_func" >&5
55342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55343 if eval "test \"\${$as_ac_var+set}\" = set"; then
55344 echo $ECHO_N "(cached) $ECHO_C" >&6
55345 else
55346 if test x$gcc_no_link = xyes; then
55347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55349 { (exit 1); exit 1; }; }
55350 fi
55351 cat >conftest.$ac_ext <<_ACEOF
55352 /* confdefs.h. */
55353 _ACEOF
55354 cat confdefs.h >>conftest.$ac_ext
55355 cat >>conftest.$ac_ext <<_ACEOF
55356 /* end confdefs.h. */
55357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55359 #define $ac_func innocuous_$ac_func
55360
55361 /* System header to define __stub macros and hopefully few prototypes,
55362 which can conflict with char $ac_func (); below.
55363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55364 <limits.h> exists even on freestanding compilers. */
55365
55366 #ifdef __STDC__
55367 # include <limits.h>
55368 #else
55369 # include <assert.h>
55370 #endif
55371
55372 #undef $ac_func
55373
55374 /* Override any gcc2 internal prototype to avoid an error. */
55375 #ifdef __cplusplus
55376 extern "C"
55377 {
55378 #endif
55379 /* We use char because int might match the return type of a gcc2
55380 builtin and then its argument prototype would still apply. */
55381 char $ac_func ();
55382 /* The GNU C library defines this for functions which it implements
55383 to always fail with ENOSYS. Some functions are actually named
55384 something starting with __ and the normal name is an alias. */
55385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55386 choke me
55387 #else
55388 char (*f) () = $ac_func;
55389 #endif
55390 #ifdef __cplusplus
55391 }
55392 #endif
55393
55394 int
55395 main ()
55396 {
55397 return f != $ac_func;
55398 ;
55399 return 0;
55400 }
55401 _ACEOF
55402 rm -f conftest.$ac_objext conftest$ac_exeext
55403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55404 (eval $ac_link) 2>conftest.er1
55405 ac_status=$?
55406 grep -v '^ *+' conftest.er1 >conftest.err
55407 rm -f conftest.er1
55408 cat conftest.err >&5
55409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55410 (exit $ac_status); } &&
55411 { ac_try='test -z "$ac_c_werror_flag"
55412 || test ! -s conftest.err'
55413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55414 (eval $ac_try) 2>&5
55415 ac_status=$?
55416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55417 (exit $ac_status); }; } &&
55418 { ac_try='test -s conftest$ac_exeext'
55419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55420 (eval $ac_try) 2>&5
55421 ac_status=$?
55422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55423 (exit $ac_status); }; }; then
55424 eval "$as_ac_var=yes"
55425 else
55426 echo "$as_me: failed program was:" >&5
55427 sed 's/^/| /' conftest.$ac_ext >&5
55428
55429 eval "$as_ac_var=no"
55430 fi
55431 rm -f conftest.err conftest.$ac_objext \
55432 conftest$ac_exeext conftest.$ac_ext
55433 fi
55434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55436 if test `eval echo '${'$as_ac_var'}'` = yes; then
55437 cat >>confdefs.h <<_ACEOF
55438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55439 _ACEOF
55440
55441 fi
55442 done
55443
55444 fi
55445 fi
55446
55447
55448
55449
55450
55451
55452 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55453 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55454 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55455 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55456 echo $ECHO_N "(cached) $ECHO_C" >&6
55457 else
55458
55459
55460
55461 ac_ext=cc
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55466
55467 cat >conftest.$ac_ext <<_ACEOF
55468 /* confdefs.h. */
55469 _ACEOF
55470 cat confdefs.h >>conftest.$ac_ext
55471 cat >>conftest.$ac_ext <<_ACEOF
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 int
55475 main ()
55476 {
55477 hypotl(0, 0);
55478 ;
55479 return 0;
55480 }
55481 _ACEOF
55482 rm -f conftest.$ac_objext
55483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55484 (eval $ac_compile) 2>conftest.er1
55485 ac_status=$?
55486 grep -v '^ *+' conftest.er1 >conftest.err
55487 rm -f conftest.er1
55488 cat conftest.err >&5
55489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55490 (exit $ac_status); } &&
55491 { ac_try='test -z "$ac_cxx_werror_flag"
55492 || test ! -s conftest.err'
55493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55494 (eval $ac_try) 2>&5
55495 ac_status=$?
55496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55497 (exit $ac_status); }; } &&
55498 { ac_try='test -s conftest.$ac_objext'
55499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55500 (eval $ac_try) 2>&5
55501 ac_status=$?
55502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55503 (exit $ac_status); }; }; then
55504 glibcxx_cv_func_hypotl_use=yes
55505 else
55506 echo "$as_me: failed program was:" >&5
55507 sed 's/^/| /' conftest.$ac_ext >&5
55508
55509 glibcxx_cv_func_hypotl_use=no
55510 fi
55511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55512 ac_ext=c
55513 ac_cpp='$CPP $CPPFLAGS'
55514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55517
55518
55519 fi
55520
55521 fi
55522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55523 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55524
55525 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55526
55527 for ac_func in hypotl
55528 do
55529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55530 echo "$as_me:$LINENO: checking for $ac_func" >&5
55531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55532 if eval "test \"\${$as_ac_var+set}\" = set"; then
55533 echo $ECHO_N "(cached) $ECHO_C" >&6
55534 else
55535 if test x$gcc_no_link = xyes; then
55536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55538 { (exit 1); exit 1; }; }
55539 fi
55540 cat >conftest.$ac_ext <<_ACEOF
55541 /* confdefs.h. */
55542 _ACEOF
55543 cat confdefs.h >>conftest.$ac_ext
55544 cat >>conftest.$ac_ext <<_ACEOF
55545 /* end confdefs.h. */
55546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55548 #define $ac_func innocuous_$ac_func
55549
55550 /* System header to define __stub macros and hopefully few prototypes,
55551 which can conflict with char $ac_func (); below.
55552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55553 <limits.h> exists even on freestanding compilers. */
55554
55555 #ifdef __STDC__
55556 # include <limits.h>
55557 #else
55558 # include <assert.h>
55559 #endif
55560
55561 #undef $ac_func
55562
55563 /* Override any gcc2 internal prototype to avoid an error. */
55564 #ifdef __cplusplus
55565 extern "C"
55566 {
55567 #endif
55568 /* We use char because int might match the return type of a gcc2
55569 builtin and then its argument prototype would still apply. */
55570 char $ac_func ();
55571 /* The GNU C library defines this for functions which it implements
55572 to always fail with ENOSYS. Some functions are actually named
55573 something starting with __ and the normal name is an alias. */
55574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55575 choke me
55576 #else
55577 char (*f) () = $ac_func;
55578 #endif
55579 #ifdef __cplusplus
55580 }
55581 #endif
55582
55583 int
55584 main ()
55585 {
55586 return f != $ac_func;
55587 ;
55588 return 0;
55589 }
55590 _ACEOF
55591 rm -f conftest.$ac_objext conftest$ac_exeext
55592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55593 (eval $ac_link) 2>conftest.er1
55594 ac_status=$?
55595 grep -v '^ *+' conftest.er1 >conftest.err
55596 rm -f conftest.er1
55597 cat conftest.err >&5
55598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55599 (exit $ac_status); } &&
55600 { ac_try='test -z "$ac_c_werror_flag"
55601 || test ! -s conftest.err'
55602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55603 (eval $ac_try) 2>&5
55604 ac_status=$?
55605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55606 (exit $ac_status); }; } &&
55607 { ac_try='test -s conftest$ac_exeext'
55608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55609 (eval $ac_try) 2>&5
55610 ac_status=$?
55611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55612 (exit $ac_status); }; }; then
55613 eval "$as_ac_var=yes"
55614 else
55615 echo "$as_me: failed program was:" >&5
55616 sed 's/^/| /' conftest.$ac_ext >&5
55617
55618 eval "$as_ac_var=no"
55619 fi
55620 rm -f conftest.err conftest.$ac_objext \
55621 conftest$ac_exeext conftest.$ac_ext
55622 fi
55623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55625 if test `eval echo '${'$as_ac_var'}'` = yes; then
55626 cat >>confdefs.h <<_ACEOF
55627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55628 _ACEOF
55629
55630 fi
55631 done
55632
55633 else
55634
55635 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55636 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55637 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55638 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55639 echo $ECHO_N "(cached) $ECHO_C" >&6
55640 else
55641
55642
55643
55644 ac_ext=cc
55645 ac_cpp='$CXXCPP $CPPFLAGS'
55646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649
55650 cat >conftest.$ac_ext <<_ACEOF
55651 /* confdefs.h. */
55652 _ACEOF
55653 cat confdefs.h >>conftest.$ac_ext
55654 cat >>conftest.$ac_ext <<_ACEOF
55655 /* end confdefs.h. */
55656 #include <math.h>
55657 int
55658 main ()
55659 {
55660 _hypotl(0, 0);
55661 ;
55662 return 0;
55663 }
55664 _ACEOF
55665 rm -f conftest.$ac_objext
55666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55667 (eval $ac_compile) 2>conftest.er1
55668 ac_status=$?
55669 grep -v '^ *+' conftest.er1 >conftest.err
55670 rm -f conftest.er1
55671 cat conftest.err >&5
55672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55673 (exit $ac_status); } &&
55674 { ac_try='test -z "$ac_cxx_werror_flag"
55675 || test ! -s conftest.err'
55676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55677 (eval $ac_try) 2>&5
55678 ac_status=$?
55679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55680 (exit $ac_status); }; } &&
55681 { ac_try='test -s conftest.$ac_objext'
55682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55683 (eval $ac_try) 2>&5
55684 ac_status=$?
55685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55686 (exit $ac_status); }; }; then
55687 glibcxx_cv_func__hypotl_use=yes
55688 else
55689 echo "$as_me: failed program was:" >&5
55690 sed 's/^/| /' conftest.$ac_ext >&5
55691
55692 glibcxx_cv_func__hypotl_use=no
55693 fi
55694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55695 ac_ext=c
55696 ac_cpp='$CPP $CPPFLAGS'
55697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55700
55701
55702 fi
55703
55704 fi
55705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55706 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
55707
55708 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55709
55710 for ac_func in _hypotl
55711 do
55712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55713 echo "$as_me:$LINENO: checking for $ac_func" >&5
55714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55715 if eval "test \"\${$as_ac_var+set}\" = set"; then
55716 echo $ECHO_N "(cached) $ECHO_C" >&6
55717 else
55718 if test x$gcc_no_link = xyes; then
55719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55721 { (exit 1); exit 1; }; }
55722 fi
55723 cat >conftest.$ac_ext <<_ACEOF
55724 /* confdefs.h. */
55725 _ACEOF
55726 cat confdefs.h >>conftest.$ac_ext
55727 cat >>conftest.$ac_ext <<_ACEOF
55728 /* end confdefs.h. */
55729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55731 #define $ac_func innocuous_$ac_func
55732
55733 /* System header to define __stub macros and hopefully few prototypes,
55734 which can conflict with char $ac_func (); below.
55735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55736 <limits.h> exists even on freestanding compilers. */
55737
55738 #ifdef __STDC__
55739 # include <limits.h>
55740 #else
55741 # include <assert.h>
55742 #endif
55743
55744 #undef $ac_func
55745
55746 /* Override any gcc2 internal prototype to avoid an error. */
55747 #ifdef __cplusplus
55748 extern "C"
55749 {
55750 #endif
55751 /* We use char because int might match the return type of a gcc2
55752 builtin and then its argument prototype would still apply. */
55753 char $ac_func ();
55754 /* The GNU C library defines this for functions which it implements
55755 to always fail with ENOSYS. Some functions are actually named
55756 something starting with __ and the normal name is an alias. */
55757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55758 choke me
55759 #else
55760 char (*f) () = $ac_func;
55761 #endif
55762 #ifdef __cplusplus
55763 }
55764 #endif
55765
55766 int
55767 main ()
55768 {
55769 return f != $ac_func;
55770 ;
55771 return 0;
55772 }
55773 _ACEOF
55774 rm -f conftest.$ac_objext conftest$ac_exeext
55775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55776 (eval $ac_link) 2>conftest.er1
55777 ac_status=$?
55778 grep -v '^ *+' conftest.er1 >conftest.err
55779 rm -f conftest.er1
55780 cat conftest.err >&5
55781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55782 (exit $ac_status); } &&
55783 { ac_try='test -z "$ac_c_werror_flag"
55784 || test ! -s conftest.err'
55785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55786 (eval $ac_try) 2>&5
55787 ac_status=$?
55788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55789 (exit $ac_status); }; } &&
55790 { ac_try='test -s conftest$ac_exeext'
55791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55792 (eval $ac_try) 2>&5
55793 ac_status=$?
55794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55795 (exit $ac_status); }; }; then
55796 eval "$as_ac_var=yes"
55797 else
55798 echo "$as_me: failed program was:" >&5
55799 sed 's/^/| /' conftest.$ac_ext >&5
55800
55801 eval "$as_ac_var=no"
55802 fi
55803 rm -f conftest.err conftest.$ac_objext \
55804 conftest$ac_exeext conftest.$ac_ext
55805 fi
55806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55808 if test `eval echo '${'$as_ac_var'}'` = yes; then
55809 cat >>confdefs.h <<_ACEOF
55810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55811 _ACEOF
55812
55813 fi
55814 done
55815
55816 fi
55817 fi
55818
55819
55820
55821
55822
55823
55824 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
55825 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
55826 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55827 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
55828 echo $ECHO_N "(cached) $ECHO_C" >&6
55829 else
55830
55831
55832
55833 ac_ext=cc
55834 ac_cpp='$CXXCPP $CPPFLAGS'
55835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55838
55839 cat >conftest.$ac_ext <<_ACEOF
55840 /* confdefs.h. */
55841 _ACEOF
55842 cat confdefs.h >>conftest.$ac_ext
55843 cat >>conftest.$ac_ext <<_ACEOF
55844 /* end confdefs.h. */
55845 #include <math.h>
55846 int
55847 main ()
55848 {
55849 ldexpl(0, 0);
55850 ;
55851 return 0;
55852 }
55853 _ACEOF
55854 rm -f conftest.$ac_objext
55855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55856 (eval $ac_compile) 2>conftest.er1
55857 ac_status=$?
55858 grep -v '^ *+' conftest.er1 >conftest.err
55859 rm -f conftest.er1
55860 cat conftest.err >&5
55861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55862 (exit $ac_status); } &&
55863 { ac_try='test -z "$ac_cxx_werror_flag"
55864 || test ! -s conftest.err'
55865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55866 (eval $ac_try) 2>&5
55867 ac_status=$?
55868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55869 (exit $ac_status); }; } &&
55870 { ac_try='test -s conftest.$ac_objext'
55871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55872 (eval $ac_try) 2>&5
55873 ac_status=$?
55874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55875 (exit $ac_status); }; }; then
55876 glibcxx_cv_func_ldexpl_use=yes
55877 else
55878 echo "$as_me: failed program was:" >&5
55879 sed 's/^/| /' conftest.$ac_ext >&5
55880
55881 glibcxx_cv_func_ldexpl_use=no
55882 fi
55883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55884 ac_ext=c
55885 ac_cpp='$CPP $CPPFLAGS'
55886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55889
55890
55891 fi
55892
55893 fi
55894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
55895 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
55896
55897 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55898
55899 for ac_func in ldexpl
55900 do
55901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55902 echo "$as_me:$LINENO: checking for $ac_func" >&5
55903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55904 if eval "test \"\${$as_ac_var+set}\" = set"; then
55905 echo $ECHO_N "(cached) $ECHO_C" >&6
55906 else
55907 if test x$gcc_no_link = xyes; then
55908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55910 { (exit 1); exit 1; }; }
55911 fi
55912 cat >conftest.$ac_ext <<_ACEOF
55913 /* confdefs.h. */
55914 _ACEOF
55915 cat confdefs.h >>conftest.$ac_ext
55916 cat >>conftest.$ac_ext <<_ACEOF
55917 /* end confdefs.h. */
55918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55920 #define $ac_func innocuous_$ac_func
55921
55922 /* System header to define __stub macros and hopefully few prototypes,
55923 which can conflict with char $ac_func (); below.
55924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55925 <limits.h> exists even on freestanding compilers. */
55926
55927 #ifdef __STDC__
55928 # include <limits.h>
55929 #else
55930 # include <assert.h>
55931 #endif
55932
55933 #undef $ac_func
55934
55935 /* Override any gcc2 internal prototype to avoid an error. */
55936 #ifdef __cplusplus
55937 extern "C"
55938 {
55939 #endif
55940 /* We use char because int might match the return type of a gcc2
55941 builtin and then its argument prototype would still apply. */
55942 char $ac_func ();
55943 /* The GNU C library defines this for functions which it implements
55944 to always fail with ENOSYS. Some functions are actually named
55945 something starting with __ and the normal name is an alias. */
55946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55947 choke me
55948 #else
55949 char (*f) () = $ac_func;
55950 #endif
55951 #ifdef __cplusplus
55952 }
55953 #endif
55954
55955 int
55956 main ()
55957 {
55958 return f != $ac_func;
55959 ;
55960 return 0;
55961 }
55962 _ACEOF
55963 rm -f conftest.$ac_objext conftest$ac_exeext
55964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55965 (eval $ac_link) 2>conftest.er1
55966 ac_status=$?
55967 grep -v '^ *+' conftest.er1 >conftest.err
55968 rm -f conftest.er1
55969 cat conftest.err >&5
55970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55971 (exit $ac_status); } &&
55972 { ac_try='test -z "$ac_c_werror_flag"
55973 || test ! -s conftest.err'
55974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55975 (eval $ac_try) 2>&5
55976 ac_status=$?
55977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55978 (exit $ac_status); }; } &&
55979 { ac_try='test -s conftest$ac_exeext'
55980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55981 (eval $ac_try) 2>&5
55982 ac_status=$?
55983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55984 (exit $ac_status); }; }; then
55985 eval "$as_ac_var=yes"
55986 else
55987 echo "$as_me: failed program was:" >&5
55988 sed 's/^/| /' conftest.$ac_ext >&5
55989
55990 eval "$as_ac_var=no"
55991 fi
55992 rm -f conftest.err conftest.$ac_objext \
55993 conftest$ac_exeext conftest.$ac_ext
55994 fi
55995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55997 if test `eval echo '${'$as_ac_var'}'` = yes; then
55998 cat >>confdefs.h <<_ACEOF
55999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56000 _ACEOF
56001
56002 fi
56003 done
56004
56005 else
56006
56007 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56008 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56009 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56010 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56011 echo $ECHO_N "(cached) $ECHO_C" >&6
56012 else
56013
56014
56015
56016 ac_ext=cc
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56021
56022 cat >conftest.$ac_ext <<_ACEOF
56023 /* confdefs.h. */
56024 _ACEOF
56025 cat confdefs.h >>conftest.$ac_ext
56026 cat >>conftest.$ac_ext <<_ACEOF
56027 /* end confdefs.h. */
56028 #include <math.h>
56029 int
56030 main ()
56031 {
56032 _ldexpl(0, 0);
56033 ;
56034 return 0;
56035 }
56036 _ACEOF
56037 rm -f conftest.$ac_objext
56038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56039 (eval $ac_compile) 2>conftest.er1
56040 ac_status=$?
56041 grep -v '^ *+' conftest.er1 >conftest.err
56042 rm -f conftest.er1
56043 cat conftest.err >&5
56044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56045 (exit $ac_status); } &&
56046 { ac_try='test -z "$ac_cxx_werror_flag"
56047 || test ! -s conftest.err'
56048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56049 (eval $ac_try) 2>&5
56050 ac_status=$?
56051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56052 (exit $ac_status); }; } &&
56053 { ac_try='test -s conftest.$ac_objext'
56054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56055 (eval $ac_try) 2>&5
56056 ac_status=$?
56057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56058 (exit $ac_status); }; }; then
56059 glibcxx_cv_func__ldexpl_use=yes
56060 else
56061 echo "$as_me: failed program was:" >&5
56062 sed 's/^/| /' conftest.$ac_ext >&5
56063
56064 glibcxx_cv_func__ldexpl_use=no
56065 fi
56066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56067 ac_ext=c
56068 ac_cpp='$CPP $CPPFLAGS'
56069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56072
56073
56074 fi
56075
56076 fi
56077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56078 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56079
56080 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56081
56082 for ac_func in _ldexpl
56083 do
56084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56085 echo "$as_me:$LINENO: checking for $ac_func" >&5
56086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56087 if eval "test \"\${$as_ac_var+set}\" = set"; then
56088 echo $ECHO_N "(cached) $ECHO_C" >&6
56089 else
56090 if test x$gcc_no_link = xyes; then
56091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56093 { (exit 1); exit 1; }; }
56094 fi
56095 cat >conftest.$ac_ext <<_ACEOF
56096 /* confdefs.h. */
56097 _ACEOF
56098 cat confdefs.h >>conftest.$ac_ext
56099 cat >>conftest.$ac_ext <<_ACEOF
56100 /* end confdefs.h. */
56101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56103 #define $ac_func innocuous_$ac_func
56104
56105 /* System header to define __stub macros and hopefully few prototypes,
56106 which can conflict with char $ac_func (); below.
56107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56108 <limits.h> exists even on freestanding compilers. */
56109
56110 #ifdef __STDC__
56111 # include <limits.h>
56112 #else
56113 # include <assert.h>
56114 #endif
56115
56116 #undef $ac_func
56117
56118 /* Override any gcc2 internal prototype to avoid an error. */
56119 #ifdef __cplusplus
56120 extern "C"
56121 {
56122 #endif
56123 /* We use char because int might match the return type of a gcc2
56124 builtin and then its argument prototype would still apply. */
56125 char $ac_func ();
56126 /* The GNU C library defines this for functions which it implements
56127 to always fail with ENOSYS. Some functions are actually named
56128 something starting with __ and the normal name is an alias. */
56129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56130 choke me
56131 #else
56132 char (*f) () = $ac_func;
56133 #endif
56134 #ifdef __cplusplus
56135 }
56136 #endif
56137
56138 int
56139 main ()
56140 {
56141 return f != $ac_func;
56142 ;
56143 return 0;
56144 }
56145 _ACEOF
56146 rm -f conftest.$ac_objext conftest$ac_exeext
56147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56148 (eval $ac_link) 2>conftest.er1
56149 ac_status=$?
56150 grep -v '^ *+' conftest.er1 >conftest.err
56151 rm -f conftest.er1
56152 cat conftest.err >&5
56153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56154 (exit $ac_status); } &&
56155 { ac_try='test -z "$ac_c_werror_flag"
56156 || test ! -s conftest.err'
56157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56158 (eval $ac_try) 2>&5
56159 ac_status=$?
56160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56161 (exit $ac_status); }; } &&
56162 { ac_try='test -s conftest$ac_exeext'
56163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56164 (eval $ac_try) 2>&5
56165 ac_status=$?
56166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56167 (exit $ac_status); }; }; then
56168 eval "$as_ac_var=yes"
56169 else
56170 echo "$as_me: failed program was:" >&5
56171 sed 's/^/| /' conftest.$ac_ext >&5
56172
56173 eval "$as_ac_var=no"
56174 fi
56175 rm -f conftest.err conftest.$ac_objext \
56176 conftest$ac_exeext conftest.$ac_ext
56177 fi
56178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56180 if test `eval echo '${'$as_ac_var'}'` = yes; then
56181 cat >>confdefs.h <<_ACEOF
56182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56183 _ACEOF
56184
56185 fi
56186 done
56187
56188 fi
56189 fi
56190
56191
56192
56193
56194
56195
56196 echo "$as_me:$LINENO: checking for logl declaration" >&5
56197 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56198 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56199 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56200 echo $ECHO_N "(cached) $ECHO_C" >&6
56201 else
56202
56203
56204
56205 ac_ext=cc
56206 ac_cpp='$CXXCPP $CPPFLAGS'
56207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56210
56211 cat >conftest.$ac_ext <<_ACEOF
56212 /* confdefs.h. */
56213 _ACEOF
56214 cat confdefs.h >>conftest.$ac_ext
56215 cat >>conftest.$ac_ext <<_ACEOF
56216 /* end confdefs.h. */
56217 #include <math.h>
56218 #ifdef HAVE_IEEEFP_H
56219 #include <ieeefp.h>
56220 #endif
56221
56222 int
56223 main ()
56224 {
56225 logl(0);
56226 ;
56227 return 0;
56228 }
56229 _ACEOF
56230 rm -f conftest.$ac_objext
56231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56232 (eval $ac_compile) 2>conftest.er1
56233 ac_status=$?
56234 grep -v '^ *+' conftest.er1 >conftest.err
56235 rm -f conftest.er1
56236 cat conftest.err >&5
56237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56238 (exit $ac_status); } &&
56239 { ac_try='test -z "$ac_cxx_werror_flag"
56240 || test ! -s conftest.err'
56241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56242 (eval $ac_try) 2>&5
56243 ac_status=$?
56244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56245 (exit $ac_status); }; } &&
56246 { ac_try='test -s conftest.$ac_objext'
56247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56248 (eval $ac_try) 2>&5
56249 ac_status=$?
56250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56251 (exit $ac_status); }; }; then
56252 glibcxx_cv_func_logl_use=yes
56253 else
56254 echo "$as_me: failed program was:" >&5
56255 sed 's/^/| /' conftest.$ac_ext >&5
56256
56257 glibcxx_cv_func_logl_use=no
56258 fi
56259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56265
56266
56267 fi
56268
56269 fi
56270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56271 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56272
56273 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56274
56275 for ac_func in logl
56276 do
56277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56278 echo "$as_me:$LINENO: checking for $ac_func" >&5
56279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56280 if eval "test \"\${$as_ac_var+set}\" = set"; then
56281 echo $ECHO_N "(cached) $ECHO_C" >&6
56282 else
56283 if test x$gcc_no_link = xyes; then
56284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56286 { (exit 1); exit 1; }; }
56287 fi
56288 cat >conftest.$ac_ext <<_ACEOF
56289 /* confdefs.h. */
56290 _ACEOF
56291 cat confdefs.h >>conftest.$ac_ext
56292 cat >>conftest.$ac_ext <<_ACEOF
56293 /* end confdefs.h. */
56294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56296 #define $ac_func innocuous_$ac_func
56297
56298 /* System header to define __stub macros and hopefully few prototypes,
56299 which can conflict with char $ac_func (); below.
56300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56301 <limits.h> exists even on freestanding compilers. */
56302
56303 #ifdef __STDC__
56304 # include <limits.h>
56305 #else
56306 # include <assert.h>
56307 #endif
56308
56309 #undef $ac_func
56310
56311 /* Override any gcc2 internal prototype to avoid an error. */
56312 #ifdef __cplusplus
56313 extern "C"
56314 {
56315 #endif
56316 /* We use char because int might match the return type of a gcc2
56317 builtin and then its argument prototype would still apply. */
56318 char $ac_func ();
56319 /* The GNU C library defines this for functions which it implements
56320 to always fail with ENOSYS. Some functions are actually named
56321 something starting with __ and the normal name is an alias. */
56322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56323 choke me
56324 #else
56325 char (*f) () = $ac_func;
56326 #endif
56327 #ifdef __cplusplus
56328 }
56329 #endif
56330
56331 int
56332 main ()
56333 {
56334 return f != $ac_func;
56335 ;
56336 return 0;
56337 }
56338 _ACEOF
56339 rm -f conftest.$ac_objext conftest$ac_exeext
56340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56341 (eval $ac_link) 2>conftest.er1
56342 ac_status=$?
56343 grep -v '^ *+' conftest.er1 >conftest.err
56344 rm -f conftest.er1
56345 cat conftest.err >&5
56346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56347 (exit $ac_status); } &&
56348 { ac_try='test -z "$ac_c_werror_flag"
56349 || test ! -s conftest.err'
56350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56351 (eval $ac_try) 2>&5
56352 ac_status=$?
56353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56354 (exit $ac_status); }; } &&
56355 { ac_try='test -s conftest$ac_exeext'
56356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56357 (eval $ac_try) 2>&5
56358 ac_status=$?
56359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56360 (exit $ac_status); }; }; then
56361 eval "$as_ac_var=yes"
56362 else
56363 echo "$as_me: failed program was:" >&5
56364 sed 's/^/| /' conftest.$ac_ext >&5
56365
56366 eval "$as_ac_var=no"
56367 fi
56368 rm -f conftest.err conftest.$ac_objext \
56369 conftest$ac_exeext conftest.$ac_ext
56370 fi
56371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56373 if test `eval echo '${'$as_ac_var'}'` = yes; then
56374 cat >>confdefs.h <<_ACEOF
56375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56376 _ACEOF
56377
56378 fi
56379 done
56380
56381 else
56382
56383 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56384 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56385 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56386 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56387 echo $ECHO_N "(cached) $ECHO_C" >&6
56388 else
56389
56390
56391
56392 ac_ext=cc
56393 ac_cpp='$CXXCPP $CPPFLAGS'
56394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56397
56398 cat >conftest.$ac_ext <<_ACEOF
56399 /* confdefs.h. */
56400 _ACEOF
56401 cat confdefs.h >>conftest.$ac_ext
56402 cat >>conftest.$ac_ext <<_ACEOF
56403 /* end confdefs.h. */
56404 #include <math.h>
56405 #ifdef HAVE_IEEEFP_H
56406 #include <ieeefp.h>
56407 #endif
56408
56409 int
56410 main ()
56411 {
56412 _logl(0);
56413 ;
56414 return 0;
56415 }
56416 _ACEOF
56417 rm -f conftest.$ac_objext
56418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56419 (eval $ac_compile) 2>conftest.er1
56420 ac_status=$?
56421 grep -v '^ *+' conftest.er1 >conftest.err
56422 rm -f conftest.er1
56423 cat conftest.err >&5
56424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56425 (exit $ac_status); } &&
56426 { ac_try='test -z "$ac_cxx_werror_flag"
56427 || test ! -s conftest.err'
56428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56429 (eval $ac_try) 2>&5
56430 ac_status=$?
56431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432 (exit $ac_status); }; } &&
56433 { ac_try='test -s conftest.$ac_objext'
56434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56435 (eval $ac_try) 2>&5
56436 ac_status=$?
56437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56438 (exit $ac_status); }; }; then
56439 glibcxx_cv_func__logl_use=yes
56440 else
56441 echo "$as_me: failed program was:" >&5
56442 sed 's/^/| /' conftest.$ac_ext >&5
56443
56444 glibcxx_cv_func__logl_use=no
56445 fi
56446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56447 ac_ext=c
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56452
56453
56454 fi
56455
56456 fi
56457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56458 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56459
56460 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56461
56462 for ac_func in _logl
56463 do
56464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56465 echo "$as_me:$LINENO: checking for $ac_func" >&5
56466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56467 if eval "test \"\${$as_ac_var+set}\" = set"; then
56468 echo $ECHO_N "(cached) $ECHO_C" >&6
56469 else
56470 if test x$gcc_no_link = xyes; then
56471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56473 { (exit 1); exit 1; }; }
56474 fi
56475 cat >conftest.$ac_ext <<_ACEOF
56476 /* confdefs.h. */
56477 _ACEOF
56478 cat confdefs.h >>conftest.$ac_ext
56479 cat >>conftest.$ac_ext <<_ACEOF
56480 /* end confdefs.h. */
56481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56483 #define $ac_func innocuous_$ac_func
56484
56485 /* System header to define __stub macros and hopefully few prototypes,
56486 which can conflict with char $ac_func (); below.
56487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56488 <limits.h> exists even on freestanding compilers. */
56489
56490 #ifdef __STDC__
56491 # include <limits.h>
56492 #else
56493 # include <assert.h>
56494 #endif
56495
56496 #undef $ac_func
56497
56498 /* Override any gcc2 internal prototype to avoid an error. */
56499 #ifdef __cplusplus
56500 extern "C"
56501 {
56502 #endif
56503 /* We use char because int might match the return type of a gcc2
56504 builtin and then its argument prototype would still apply. */
56505 char $ac_func ();
56506 /* The GNU C library defines this for functions which it implements
56507 to always fail with ENOSYS. Some functions are actually named
56508 something starting with __ and the normal name is an alias. */
56509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56510 choke me
56511 #else
56512 char (*f) () = $ac_func;
56513 #endif
56514 #ifdef __cplusplus
56515 }
56516 #endif
56517
56518 int
56519 main ()
56520 {
56521 return f != $ac_func;
56522 ;
56523 return 0;
56524 }
56525 _ACEOF
56526 rm -f conftest.$ac_objext conftest$ac_exeext
56527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56528 (eval $ac_link) 2>conftest.er1
56529 ac_status=$?
56530 grep -v '^ *+' conftest.er1 >conftest.err
56531 rm -f conftest.er1
56532 cat conftest.err >&5
56533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56534 (exit $ac_status); } &&
56535 { ac_try='test -z "$ac_c_werror_flag"
56536 || test ! -s conftest.err'
56537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56538 (eval $ac_try) 2>&5
56539 ac_status=$?
56540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56541 (exit $ac_status); }; } &&
56542 { ac_try='test -s conftest$ac_exeext'
56543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56544 (eval $ac_try) 2>&5
56545 ac_status=$?
56546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56547 (exit $ac_status); }; }; then
56548 eval "$as_ac_var=yes"
56549 else
56550 echo "$as_me: failed program was:" >&5
56551 sed 's/^/| /' conftest.$ac_ext >&5
56552
56553 eval "$as_ac_var=no"
56554 fi
56555 rm -f conftest.err conftest.$ac_objext \
56556 conftest$ac_exeext conftest.$ac_ext
56557 fi
56558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56560 if test `eval echo '${'$as_ac_var'}'` = yes; then
56561 cat >>confdefs.h <<_ACEOF
56562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56563 _ACEOF
56564
56565 fi
56566 done
56567
56568 fi
56569 fi
56570
56571
56572
56573
56574
56575
56576 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56577 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56578 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56579 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56580 echo $ECHO_N "(cached) $ECHO_C" >&6
56581 else
56582
56583
56584
56585 ac_ext=cc
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56590
56591 cat >conftest.$ac_ext <<_ACEOF
56592 /* confdefs.h. */
56593 _ACEOF
56594 cat confdefs.h >>conftest.$ac_ext
56595 cat >>conftest.$ac_ext <<_ACEOF
56596 /* end confdefs.h. */
56597 #include <math.h>
56598 #ifdef HAVE_IEEEFP_H
56599 #include <ieeefp.h>
56600 #endif
56601
56602 int
56603 main ()
56604 {
56605 log10l(0);
56606 ;
56607 return 0;
56608 }
56609 _ACEOF
56610 rm -f conftest.$ac_objext
56611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56612 (eval $ac_compile) 2>conftest.er1
56613 ac_status=$?
56614 grep -v '^ *+' conftest.er1 >conftest.err
56615 rm -f conftest.er1
56616 cat conftest.err >&5
56617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56618 (exit $ac_status); } &&
56619 { ac_try='test -z "$ac_cxx_werror_flag"
56620 || test ! -s conftest.err'
56621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56622 (eval $ac_try) 2>&5
56623 ac_status=$?
56624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56625 (exit $ac_status); }; } &&
56626 { ac_try='test -s conftest.$ac_objext'
56627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56628 (eval $ac_try) 2>&5
56629 ac_status=$?
56630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56631 (exit $ac_status); }; }; then
56632 glibcxx_cv_func_log10l_use=yes
56633 else
56634 echo "$as_me: failed program was:" >&5
56635 sed 's/^/| /' conftest.$ac_ext >&5
56636
56637 glibcxx_cv_func_log10l_use=no
56638 fi
56639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56645
56646
56647 fi
56648
56649 fi
56650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56651 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56652
56653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56654
56655 for ac_func in log10l
56656 do
56657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56658 echo "$as_me:$LINENO: checking for $ac_func" >&5
56659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56660 if eval "test \"\${$as_ac_var+set}\" = set"; then
56661 echo $ECHO_N "(cached) $ECHO_C" >&6
56662 else
56663 if test x$gcc_no_link = xyes; then
56664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56666 { (exit 1); exit 1; }; }
56667 fi
56668 cat >conftest.$ac_ext <<_ACEOF
56669 /* confdefs.h. */
56670 _ACEOF
56671 cat confdefs.h >>conftest.$ac_ext
56672 cat >>conftest.$ac_ext <<_ACEOF
56673 /* end confdefs.h. */
56674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56676 #define $ac_func innocuous_$ac_func
56677
56678 /* System header to define __stub macros and hopefully few prototypes,
56679 which can conflict with char $ac_func (); below.
56680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56681 <limits.h> exists even on freestanding compilers. */
56682
56683 #ifdef __STDC__
56684 # include <limits.h>
56685 #else
56686 # include <assert.h>
56687 #endif
56688
56689 #undef $ac_func
56690
56691 /* Override any gcc2 internal prototype to avoid an error. */
56692 #ifdef __cplusplus
56693 extern "C"
56694 {
56695 #endif
56696 /* We use char because int might match the return type of a gcc2
56697 builtin and then its argument prototype would still apply. */
56698 char $ac_func ();
56699 /* The GNU C library defines this for functions which it implements
56700 to always fail with ENOSYS. Some functions are actually named
56701 something starting with __ and the normal name is an alias. */
56702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56703 choke me
56704 #else
56705 char (*f) () = $ac_func;
56706 #endif
56707 #ifdef __cplusplus
56708 }
56709 #endif
56710
56711 int
56712 main ()
56713 {
56714 return f != $ac_func;
56715 ;
56716 return 0;
56717 }
56718 _ACEOF
56719 rm -f conftest.$ac_objext conftest$ac_exeext
56720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56721 (eval $ac_link) 2>conftest.er1
56722 ac_status=$?
56723 grep -v '^ *+' conftest.er1 >conftest.err
56724 rm -f conftest.er1
56725 cat conftest.err >&5
56726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56727 (exit $ac_status); } &&
56728 { ac_try='test -z "$ac_c_werror_flag"
56729 || test ! -s conftest.err'
56730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56731 (eval $ac_try) 2>&5
56732 ac_status=$?
56733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56734 (exit $ac_status); }; } &&
56735 { ac_try='test -s conftest$ac_exeext'
56736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56737 (eval $ac_try) 2>&5
56738 ac_status=$?
56739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56740 (exit $ac_status); }; }; then
56741 eval "$as_ac_var=yes"
56742 else
56743 echo "$as_me: failed program was:" >&5
56744 sed 's/^/| /' conftest.$ac_ext >&5
56745
56746 eval "$as_ac_var=no"
56747 fi
56748 rm -f conftest.err conftest.$ac_objext \
56749 conftest$ac_exeext conftest.$ac_ext
56750 fi
56751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56753 if test `eval echo '${'$as_ac_var'}'` = yes; then
56754 cat >>confdefs.h <<_ACEOF
56755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56756 _ACEOF
56757
56758 fi
56759 done
56760
56761 else
56762
56763 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56764 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
56765 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56766 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56767 echo $ECHO_N "(cached) $ECHO_C" >&6
56768 else
56769
56770
56771
56772 ac_ext=cc
56773 ac_cpp='$CXXCPP $CPPFLAGS'
56774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56777
56778 cat >conftest.$ac_ext <<_ACEOF
56779 /* confdefs.h. */
56780 _ACEOF
56781 cat confdefs.h >>conftest.$ac_ext
56782 cat >>conftest.$ac_ext <<_ACEOF
56783 /* end confdefs.h. */
56784 #include <math.h>
56785 #ifdef HAVE_IEEEFP_H
56786 #include <ieeefp.h>
56787 #endif
56788
56789 int
56790 main ()
56791 {
56792 _log10l(0);
56793 ;
56794 return 0;
56795 }
56796 _ACEOF
56797 rm -f conftest.$ac_objext
56798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56799 (eval $ac_compile) 2>conftest.er1
56800 ac_status=$?
56801 grep -v '^ *+' conftest.er1 >conftest.err
56802 rm -f conftest.er1
56803 cat conftest.err >&5
56804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56805 (exit $ac_status); } &&
56806 { ac_try='test -z "$ac_cxx_werror_flag"
56807 || test ! -s conftest.err'
56808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56809 (eval $ac_try) 2>&5
56810 ac_status=$?
56811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56812 (exit $ac_status); }; } &&
56813 { ac_try='test -s conftest.$ac_objext'
56814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56815 (eval $ac_try) 2>&5
56816 ac_status=$?
56817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56818 (exit $ac_status); }; }; then
56819 glibcxx_cv_func__log10l_use=yes
56820 else
56821 echo "$as_me: failed program was:" >&5
56822 sed 's/^/| /' conftest.$ac_ext >&5
56823
56824 glibcxx_cv_func__log10l_use=no
56825 fi
56826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56832
56833
56834 fi
56835
56836 fi
56837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
56838 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
56839
56840 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56841
56842 for ac_func in _log10l
56843 do
56844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56845 echo "$as_me:$LINENO: checking for $ac_func" >&5
56846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56847 if eval "test \"\${$as_ac_var+set}\" = set"; then
56848 echo $ECHO_N "(cached) $ECHO_C" >&6
56849 else
56850 if test x$gcc_no_link = xyes; then
56851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56853 { (exit 1); exit 1; }; }
56854 fi
56855 cat >conftest.$ac_ext <<_ACEOF
56856 /* confdefs.h. */
56857 _ACEOF
56858 cat confdefs.h >>conftest.$ac_ext
56859 cat >>conftest.$ac_ext <<_ACEOF
56860 /* end confdefs.h. */
56861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56863 #define $ac_func innocuous_$ac_func
56864
56865 /* System header to define __stub macros and hopefully few prototypes,
56866 which can conflict with char $ac_func (); below.
56867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56868 <limits.h> exists even on freestanding compilers. */
56869
56870 #ifdef __STDC__
56871 # include <limits.h>
56872 #else
56873 # include <assert.h>
56874 #endif
56875
56876 #undef $ac_func
56877
56878 /* Override any gcc2 internal prototype to avoid an error. */
56879 #ifdef __cplusplus
56880 extern "C"
56881 {
56882 #endif
56883 /* We use char because int might match the return type of a gcc2
56884 builtin and then its argument prototype would still apply. */
56885 char $ac_func ();
56886 /* The GNU C library defines this for functions which it implements
56887 to always fail with ENOSYS. Some functions are actually named
56888 something starting with __ and the normal name is an alias. */
56889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56890 choke me
56891 #else
56892 char (*f) () = $ac_func;
56893 #endif
56894 #ifdef __cplusplus
56895 }
56896 #endif
56897
56898 int
56899 main ()
56900 {
56901 return f != $ac_func;
56902 ;
56903 return 0;
56904 }
56905 _ACEOF
56906 rm -f conftest.$ac_objext conftest$ac_exeext
56907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56908 (eval $ac_link) 2>conftest.er1
56909 ac_status=$?
56910 grep -v '^ *+' conftest.er1 >conftest.err
56911 rm -f conftest.er1
56912 cat conftest.err >&5
56913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56914 (exit $ac_status); } &&
56915 { ac_try='test -z "$ac_c_werror_flag"
56916 || test ! -s conftest.err'
56917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56918 (eval $ac_try) 2>&5
56919 ac_status=$?
56920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56921 (exit $ac_status); }; } &&
56922 { ac_try='test -s conftest$ac_exeext'
56923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56924 (eval $ac_try) 2>&5
56925 ac_status=$?
56926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56927 (exit $ac_status); }; }; then
56928 eval "$as_ac_var=yes"
56929 else
56930 echo "$as_me: failed program was:" >&5
56931 sed 's/^/| /' conftest.$ac_ext >&5
56932
56933 eval "$as_ac_var=no"
56934 fi
56935 rm -f conftest.err conftest.$ac_objext \
56936 conftest$ac_exeext conftest.$ac_ext
56937 fi
56938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56940 if test `eval echo '${'$as_ac_var'}'` = yes; then
56941 cat >>confdefs.h <<_ACEOF
56942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56943 _ACEOF
56944
56945 fi
56946 done
56947
56948 fi
56949 fi
56950
56951
56952
56953
56954
56955
56956 echo "$as_me:$LINENO: checking for modfl declaration" >&5
56957 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
56958 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56959 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
56960 echo $ECHO_N "(cached) $ECHO_C" >&6
56961 else
56962
56963
56964
56965 ac_ext=cc
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56970
56971 cat >conftest.$ac_ext <<_ACEOF
56972 /* confdefs.h. */
56973 _ACEOF
56974 cat confdefs.h >>conftest.$ac_ext
56975 cat >>conftest.$ac_ext <<_ACEOF
56976 /* end confdefs.h. */
56977 #include <math.h>
56978 int
56979 main ()
56980 {
56981 modfl(0, 0);
56982 ;
56983 return 0;
56984 }
56985 _ACEOF
56986 rm -f conftest.$ac_objext
56987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56988 (eval $ac_compile) 2>conftest.er1
56989 ac_status=$?
56990 grep -v '^ *+' conftest.er1 >conftest.err
56991 rm -f conftest.er1
56992 cat conftest.err >&5
56993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56994 (exit $ac_status); } &&
56995 { ac_try='test -z "$ac_cxx_werror_flag"
56996 || test ! -s conftest.err'
56997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56998 (eval $ac_try) 2>&5
56999 ac_status=$?
57000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57001 (exit $ac_status); }; } &&
57002 { ac_try='test -s conftest.$ac_objext'
57003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57004 (eval $ac_try) 2>&5
57005 ac_status=$?
57006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57007 (exit $ac_status); }; }; then
57008 glibcxx_cv_func_modfl_use=yes
57009 else
57010 echo "$as_me: failed program was:" >&5
57011 sed 's/^/| /' conftest.$ac_ext >&5
57012
57013 glibcxx_cv_func_modfl_use=no
57014 fi
57015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57016 ac_ext=c
57017 ac_cpp='$CPP $CPPFLAGS'
57018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57021
57022
57023 fi
57024
57025 fi
57026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57027 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57028
57029 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57030
57031 for ac_func in modfl
57032 do
57033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57034 echo "$as_me:$LINENO: checking for $ac_func" >&5
57035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57036 if eval "test \"\${$as_ac_var+set}\" = set"; then
57037 echo $ECHO_N "(cached) $ECHO_C" >&6
57038 else
57039 if test x$gcc_no_link = xyes; then
57040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57042 { (exit 1); exit 1; }; }
57043 fi
57044 cat >conftest.$ac_ext <<_ACEOF
57045 /* confdefs.h. */
57046 _ACEOF
57047 cat confdefs.h >>conftest.$ac_ext
57048 cat >>conftest.$ac_ext <<_ACEOF
57049 /* end confdefs.h. */
57050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57052 #define $ac_func innocuous_$ac_func
57053
57054 /* System header to define __stub macros and hopefully few prototypes,
57055 which can conflict with char $ac_func (); below.
57056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57057 <limits.h> exists even on freestanding compilers. */
57058
57059 #ifdef __STDC__
57060 # include <limits.h>
57061 #else
57062 # include <assert.h>
57063 #endif
57064
57065 #undef $ac_func
57066
57067 /* Override any gcc2 internal prototype to avoid an error. */
57068 #ifdef __cplusplus
57069 extern "C"
57070 {
57071 #endif
57072 /* We use char because int might match the return type of a gcc2
57073 builtin and then its argument prototype would still apply. */
57074 char $ac_func ();
57075 /* The GNU C library defines this for functions which it implements
57076 to always fail with ENOSYS. Some functions are actually named
57077 something starting with __ and the normal name is an alias. */
57078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57079 choke me
57080 #else
57081 char (*f) () = $ac_func;
57082 #endif
57083 #ifdef __cplusplus
57084 }
57085 #endif
57086
57087 int
57088 main ()
57089 {
57090 return f != $ac_func;
57091 ;
57092 return 0;
57093 }
57094 _ACEOF
57095 rm -f conftest.$ac_objext conftest$ac_exeext
57096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57097 (eval $ac_link) 2>conftest.er1
57098 ac_status=$?
57099 grep -v '^ *+' conftest.er1 >conftest.err
57100 rm -f conftest.er1
57101 cat conftest.err >&5
57102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57103 (exit $ac_status); } &&
57104 { ac_try='test -z "$ac_c_werror_flag"
57105 || test ! -s conftest.err'
57106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57107 (eval $ac_try) 2>&5
57108 ac_status=$?
57109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57110 (exit $ac_status); }; } &&
57111 { ac_try='test -s conftest$ac_exeext'
57112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57113 (eval $ac_try) 2>&5
57114 ac_status=$?
57115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57116 (exit $ac_status); }; }; then
57117 eval "$as_ac_var=yes"
57118 else
57119 echo "$as_me: failed program was:" >&5
57120 sed 's/^/| /' conftest.$ac_ext >&5
57121
57122 eval "$as_ac_var=no"
57123 fi
57124 rm -f conftest.err conftest.$ac_objext \
57125 conftest$ac_exeext conftest.$ac_ext
57126 fi
57127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57129 if test `eval echo '${'$as_ac_var'}'` = yes; then
57130 cat >>confdefs.h <<_ACEOF
57131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57132 _ACEOF
57133
57134 fi
57135 done
57136
57137 else
57138
57139 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57140 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57141 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57142 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57143 echo $ECHO_N "(cached) $ECHO_C" >&6
57144 else
57145
57146
57147
57148 ac_ext=cc
57149 ac_cpp='$CXXCPP $CPPFLAGS'
57150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57153
57154 cat >conftest.$ac_ext <<_ACEOF
57155 /* confdefs.h. */
57156 _ACEOF
57157 cat confdefs.h >>conftest.$ac_ext
57158 cat >>conftest.$ac_ext <<_ACEOF
57159 /* end confdefs.h. */
57160 #include <math.h>
57161 int
57162 main ()
57163 {
57164 _modfl(0, 0);
57165 ;
57166 return 0;
57167 }
57168 _ACEOF
57169 rm -f conftest.$ac_objext
57170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57171 (eval $ac_compile) 2>conftest.er1
57172 ac_status=$?
57173 grep -v '^ *+' conftest.er1 >conftest.err
57174 rm -f conftest.er1
57175 cat conftest.err >&5
57176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57177 (exit $ac_status); } &&
57178 { ac_try='test -z "$ac_cxx_werror_flag"
57179 || test ! -s conftest.err'
57180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57181 (eval $ac_try) 2>&5
57182 ac_status=$?
57183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57184 (exit $ac_status); }; } &&
57185 { ac_try='test -s conftest.$ac_objext'
57186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57187 (eval $ac_try) 2>&5
57188 ac_status=$?
57189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57190 (exit $ac_status); }; }; then
57191 glibcxx_cv_func__modfl_use=yes
57192 else
57193 echo "$as_me: failed program was:" >&5
57194 sed 's/^/| /' conftest.$ac_ext >&5
57195
57196 glibcxx_cv_func__modfl_use=no
57197 fi
57198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57199 ac_ext=c
57200 ac_cpp='$CPP $CPPFLAGS'
57201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57204
57205
57206 fi
57207
57208 fi
57209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57210 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57211
57212 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57213
57214 for ac_func in _modfl
57215 do
57216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57217 echo "$as_me:$LINENO: checking for $ac_func" >&5
57218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57219 if eval "test \"\${$as_ac_var+set}\" = set"; then
57220 echo $ECHO_N "(cached) $ECHO_C" >&6
57221 else
57222 if test x$gcc_no_link = xyes; then
57223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57225 { (exit 1); exit 1; }; }
57226 fi
57227 cat >conftest.$ac_ext <<_ACEOF
57228 /* confdefs.h. */
57229 _ACEOF
57230 cat confdefs.h >>conftest.$ac_ext
57231 cat >>conftest.$ac_ext <<_ACEOF
57232 /* end confdefs.h. */
57233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57235 #define $ac_func innocuous_$ac_func
57236
57237 /* System header to define __stub macros and hopefully few prototypes,
57238 which can conflict with char $ac_func (); below.
57239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57240 <limits.h> exists even on freestanding compilers. */
57241
57242 #ifdef __STDC__
57243 # include <limits.h>
57244 #else
57245 # include <assert.h>
57246 #endif
57247
57248 #undef $ac_func
57249
57250 /* Override any gcc2 internal prototype to avoid an error. */
57251 #ifdef __cplusplus
57252 extern "C"
57253 {
57254 #endif
57255 /* We use char because int might match the return type of a gcc2
57256 builtin and then its argument prototype would still apply. */
57257 char $ac_func ();
57258 /* The GNU C library defines this for functions which it implements
57259 to always fail with ENOSYS. Some functions are actually named
57260 something starting with __ and the normal name is an alias. */
57261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57262 choke me
57263 #else
57264 char (*f) () = $ac_func;
57265 #endif
57266 #ifdef __cplusplus
57267 }
57268 #endif
57269
57270 int
57271 main ()
57272 {
57273 return f != $ac_func;
57274 ;
57275 return 0;
57276 }
57277 _ACEOF
57278 rm -f conftest.$ac_objext conftest$ac_exeext
57279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57280 (eval $ac_link) 2>conftest.er1
57281 ac_status=$?
57282 grep -v '^ *+' conftest.er1 >conftest.err
57283 rm -f conftest.er1
57284 cat conftest.err >&5
57285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57286 (exit $ac_status); } &&
57287 { ac_try='test -z "$ac_c_werror_flag"
57288 || test ! -s conftest.err'
57289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57290 (eval $ac_try) 2>&5
57291 ac_status=$?
57292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57293 (exit $ac_status); }; } &&
57294 { ac_try='test -s conftest$ac_exeext'
57295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57296 (eval $ac_try) 2>&5
57297 ac_status=$?
57298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57299 (exit $ac_status); }; }; then
57300 eval "$as_ac_var=yes"
57301 else
57302 echo "$as_me: failed program was:" >&5
57303 sed 's/^/| /' conftest.$ac_ext >&5
57304
57305 eval "$as_ac_var=no"
57306 fi
57307 rm -f conftest.err conftest.$ac_objext \
57308 conftest$ac_exeext conftest.$ac_ext
57309 fi
57310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57312 if test `eval echo '${'$as_ac_var'}'` = yes; then
57313 cat >>confdefs.h <<_ACEOF
57314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57315 _ACEOF
57316
57317 fi
57318 done
57319
57320 fi
57321 fi
57322
57323
57324
57325
57326
57327
57328 echo "$as_me:$LINENO: checking for powl declaration" >&5
57329 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57330 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57331 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57332 echo $ECHO_N "(cached) $ECHO_C" >&6
57333 else
57334
57335
57336
57337 ac_ext=cc
57338 ac_cpp='$CXXCPP $CPPFLAGS'
57339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57342
57343 cat >conftest.$ac_ext <<_ACEOF
57344 /* confdefs.h. */
57345 _ACEOF
57346 cat confdefs.h >>conftest.$ac_ext
57347 cat >>conftest.$ac_ext <<_ACEOF
57348 /* end confdefs.h. */
57349 #include <math.h>
57350 int
57351 main ()
57352 {
57353 powl(0, 0);
57354 ;
57355 return 0;
57356 }
57357 _ACEOF
57358 rm -f conftest.$ac_objext
57359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57360 (eval $ac_compile) 2>conftest.er1
57361 ac_status=$?
57362 grep -v '^ *+' conftest.er1 >conftest.err
57363 rm -f conftest.er1
57364 cat conftest.err >&5
57365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57366 (exit $ac_status); } &&
57367 { ac_try='test -z "$ac_cxx_werror_flag"
57368 || test ! -s conftest.err'
57369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57370 (eval $ac_try) 2>&5
57371 ac_status=$?
57372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57373 (exit $ac_status); }; } &&
57374 { ac_try='test -s conftest.$ac_objext'
57375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57376 (eval $ac_try) 2>&5
57377 ac_status=$?
57378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57379 (exit $ac_status); }; }; then
57380 glibcxx_cv_func_powl_use=yes
57381 else
57382 echo "$as_me: failed program was:" >&5
57383 sed 's/^/| /' conftest.$ac_ext >&5
57384
57385 glibcxx_cv_func_powl_use=no
57386 fi
57387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57388 ac_ext=c
57389 ac_cpp='$CPP $CPPFLAGS'
57390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57393
57394
57395 fi
57396
57397 fi
57398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57399 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57400
57401 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57402
57403 for ac_func in powl
57404 do
57405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57406 echo "$as_me:$LINENO: checking for $ac_func" >&5
57407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57408 if eval "test \"\${$as_ac_var+set}\" = set"; then
57409 echo $ECHO_N "(cached) $ECHO_C" >&6
57410 else
57411 if test x$gcc_no_link = xyes; then
57412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57414 { (exit 1); exit 1; }; }
57415 fi
57416 cat >conftest.$ac_ext <<_ACEOF
57417 /* confdefs.h. */
57418 _ACEOF
57419 cat confdefs.h >>conftest.$ac_ext
57420 cat >>conftest.$ac_ext <<_ACEOF
57421 /* end confdefs.h. */
57422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57424 #define $ac_func innocuous_$ac_func
57425
57426 /* System header to define __stub macros and hopefully few prototypes,
57427 which can conflict with char $ac_func (); below.
57428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57429 <limits.h> exists even on freestanding compilers. */
57430
57431 #ifdef __STDC__
57432 # include <limits.h>
57433 #else
57434 # include <assert.h>
57435 #endif
57436
57437 #undef $ac_func
57438
57439 /* Override any gcc2 internal prototype to avoid an error. */
57440 #ifdef __cplusplus
57441 extern "C"
57442 {
57443 #endif
57444 /* We use char because int might match the return type of a gcc2
57445 builtin and then its argument prototype would still apply. */
57446 char $ac_func ();
57447 /* The GNU C library defines this for functions which it implements
57448 to always fail with ENOSYS. Some functions are actually named
57449 something starting with __ and the normal name is an alias. */
57450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57451 choke me
57452 #else
57453 char (*f) () = $ac_func;
57454 #endif
57455 #ifdef __cplusplus
57456 }
57457 #endif
57458
57459 int
57460 main ()
57461 {
57462 return f != $ac_func;
57463 ;
57464 return 0;
57465 }
57466 _ACEOF
57467 rm -f conftest.$ac_objext conftest$ac_exeext
57468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57469 (eval $ac_link) 2>conftest.er1
57470 ac_status=$?
57471 grep -v '^ *+' conftest.er1 >conftest.err
57472 rm -f conftest.er1
57473 cat conftest.err >&5
57474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57475 (exit $ac_status); } &&
57476 { ac_try='test -z "$ac_c_werror_flag"
57477 || test ! -s conftest.err'
57478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57479 (eval $ac_try) 2>&5
57480 ac_status=$?
57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57482 (exit $ac_status); }; } &&
57483 { ac_try='test -s conftest$ac_exeext'
57484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57485 (eval $ac_try) 2>&5
57486 ac_status=$?
57487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57488 (exit $ac_status); }; }; then
57489 eval "$as_ac_var=yes"
57490 else
57491 echo "$as_me: failed program was:" >&5
57492 sed 's/^/| /' conftest.$ac_ext >&5
57493
57494 eval "$as_ac_var=no"
57495 fi
57496 rm -f conftest.err conftest.$ac_objext \
57497 conftest$ac_exeext conftest.$ac_ext
57498 fi
57499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57501 if test `eval echo '${'$as_ac_var'}'` = yes; then
57502 cat >>confdefs.h <<_ACEOF
57503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57504 _ACEOF
57505
57506 fi
57507 done
57508
57509 else
57510
57511 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57512 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57513 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57514 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57515 echo $ECHO_N "(cached) $ECHO_C" >&6
57516 else
57517
57518
57519
57520 ac_ext=cc
57521 ac_cpp='$CXXCPP $CPPFLAGS'
57522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57525
57526 cat >conftest.$ac_ext <<_ACEOF
57527 /* confdefs.h. */
57528 _ACEOF
57529 cat confdefs.h >>conftest.$ac_ext
57530 cat >>conftest.$ac_ext <<_ACEOF
57531 /* end confdefs.h. */
57532 #include <math.h>
57533 int
57534 main ()
57535 {
57536 _powl(0, 0);
57537 ;
57538 return 0;
57539 }
57540 _ACEOF
57541 rm -f conftest.$ac_objext
57542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57543 (eval $ac_compile) 2>conftest.er1
57544 ac_status=$?
57545 grep -v '^ *+' conftest.er1 >conftest.err
57546 rm -f conftest.er1
57547 cat conftest.err >&5
57548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549 (exit $ac_status); } &&
57550 { ac_try='test -z "$ac_cxx_werror_flag"
57551 || test ! -s conftest.err'
57552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57553 (eval $ac_try) 2>&5
57554 ac_status=$?
57555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556 (exit $ac_status); }; } &&
57557 { ac_try='test -s conftest.$ac_objext'
57558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57559 (eval $ac_try) 2>&5
57560 ac_status=$?
57561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57562 (exit $ac_status); }; }; then
57563 glibcxx_cv_func__powl_use=yes
57564 else
57565 echo "$as_me: failed program was:" >&5
57566 sed 's/^/| /' conftest.$ac_ext >&5
57567
57568 glibcxx_cv_func__powl_use=no
57569 fi
57570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57571 ac_ext=c
57572 ac_cpp='$CPP $CPPFLAGS'
57573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57576
57577
57578 fi
57579
57580 fi
57581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57582 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57583
57584 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57585
57586 for ac_func in _powl
57587 do
57588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57589 echo "$as_me:$LINENO: checking for $ac_func" >&5
57590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57591 if eval "test \"\${$as_ac_var+set}\" = set"; then
57592 echo $ECHO_N "(cached) $ECHO_C" >&6
57593 else
57594 if test x$gcc_no_link = xyes; then
57595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57597 { (exit 1); exit 1; }; }
57598 fi
57599 cat >conftest.$ac_ext <<_ACEOF
57600 /* confdefs.h. */
57601 _ACEOF
57602 cat confdefs.h >>conftest.$ac_ext
57603 cat >>conftest.$ac_ext <<_ACEOF
57604 /* end confdefs.h. */
57605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57607 #define $ac_func innocuous_$ac_func
57608
57609 /* System header to define __stub macros and hopefully few prototypes,
57610 which can conflict with char $ac_func (); below.
57611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57612 <limits.h> exists even on freestanding compilers. */
57613
57614 #ifdef __STDC__
57615 # include <limits.h>
57616 #else
57617 # include <assert.h>
57618 #endif
57619
57620 #undef $ac_func
57621
57622 /* Override any gcc2 internal prototype to avoid an error. */
57623 #ifdef __cplusplus
57624 extern "C"
57625 {
57626 #endif
57627 /* We use char because int might match the return type of a gcc2
57628 builtin and then its argument prototype would still apply. */
57629 char $ac_func ();
57630 /* The GNU C library defines this for functions which it implements
57631 to always fail with ENOSYS. Some functions are actually named
57632 something starting with __ and the normal name is an alias. */
57633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57634 choke me
57635 #else
57636 char (*f) () = $ac_func;
57637 #endif
57638 #ifdef __cplusplus
57639 }
57640 #endif
57641
57642 int
57643 main ()
57644 {
57645 return f != $ac_func;
57646 ;
57647 return 0;
57648 }
57649 _ACEOF
57650 rm -f conftest.$ac_objext conftest$ac_exeext
57651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57652 (eval $ac_link) 2>conftest.er1
57653 ac_status=$?
57654 grep -v '^ *+' conftest.er1 >conftest.err
57655 rm -f conftest.er1
57656 cat conftest.err >&5
57657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57658 (exit $ac_status); } &&
57659 { ac_try='test -z "$ac_c_werror_flag"
57660 || test ! -s conftest.err'
57661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57662 (eval $ac_try) 2>&5
57663 ac_status=$?
57664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57665 (exit $ac_status); }; } &&
57666 { ac_try='test -s conftest$ac_exeext'
57667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57668 (eval $ac_try) 2>&5
57669 ac_status=$?
57670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57671 (exit $ac_status); }; }; then
57672 eval "$as_ac_var=yes"
57673 else
57674 echo "$as_me: failed program was:" >&5
57675 sed 's/^/| /' conftest.$ac_ext >&5
57676
57677 eval "$as_ac_var=no"
57678 fi
57679 rm -f conftest.err conftest.$ac_objext \
57680 conftest$ac_exeext conftest.$ac_ext
57681 fi
57682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57684 if test `eval echo '${'$as_ac_var'}'` = yes; then
57685 cat >>confdefs.h <<_ACEOF
57686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57687 _ACEOF
57688
57689 fi
57690 done
57691
57692 fi
57693 fi
57694
57695
57696
57697
57698
57699
57700 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57701 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
57702 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57703 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57704 echo $ECHO_N "(cached) $ECHO_C" >&6
57705 else
57706
57707
57708
57709 ac_ext=cc
57710 ac_cpp='$CXXCPP $CPPFLAGS'
57711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57714
57715 cat >conftest.$ac_ext <<_ACEOF
57716 /* confdefs.h. */
57717 _ACEOF
57718 cat confdefs.h >>conftest.$ac_ext
57719 cat >>conftest.$ac_ext <<_ACEOF
57720 /* end confdefs.h. */
57721 #include <math.h>
57722 #ifdef HAVE_IEEEFP_H
57723 #include <ieeefp.h>
57724 #endif
57725
57726 int
57727 main ()
57728 {
57729 sqrtl(0);
57730 ;
57731 return 0;
57732 }
57733 _ACEOF
57734 rm -f conftest.$ac_objext
57735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57736 (eval $ac_compile) 2>conftest.er1
57737 ac_status=$?
57738 grep -v '^ *+' conftest.er1 >conftest.err
57739 rm -f conftest.er1
57740 cat conftest.err >&5
57741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57742 (exit $ac_status); } &&
57743 { ac_try='test -z "$ac_cxx_werror_flag"
57744 || test ! -s conftest.err'
57745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57746 (eval $ac_try) 2>&5
57747 ac_status=$?
57748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57749 (exit $ac_status); }; } &&
57750 { ac_try='test -s conftest.$ac_objext'
57751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57752 (eval $ac_try) 2>&5
57753 ac_status=$?
57754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57755 (exit $ac_status); }; }; then
57756 glibcxx_cv_func_sqrtl_use=yes
57757 else
57758 echo "$as_me: failed program was:" >&5
57759 sed 's/^/| /' conftest.$ac_ext >&5
57760
57761 glibcxx_cv_func_sqrtl_use=no
57762 fi
57763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57764 ac_ext=c
57765 ac_cpp='$CPP $CPPFLAGS'
57766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57769
57770
57771 fi
57772
57773 fi
57774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57775 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
57776
57777 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57778
57779 for ac_func in sqrtl
57780 do
57781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57782 echo "$as_me:$LINENO: checking for $ac_func" >&5
57783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57784 if eval "test \"\${$as_ac_var+set}\" = set"; then
57785 echo $ECHO_N "(cached) $ECHO_C" >&6
57786 else
57787 if test x$gcc_no_link = xyes; then
57788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57790 { (exit 1); exit 1; }; }
57791 fi
57792 cat >conftest.$ac_ext <<_ACEOF
57793 /* confdefs.h. */
57794 _ACEOF
57795 cat confdefs.h >>conftest.$ac_ext
57796 cat >>conftest.$ac_ext <<_ACEOF
57797 /* end confdefs.h. */
57798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57800 #define $ac_func innocuous_$ac_func
57801
57802 /* System header to define __stub macros and hopefully few prototypes,
57803 which can conflict with char $ac_func (); below.
57804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57805 <limits.h> exists even on freestanding compilers. */
57806
57807 #ifdef __STDC__
57808 # include <limits.h>
57809 #else
57810 # include <assert.h>
57811 #endif
57812
57813 #undef $ac_func
57814
57815 /* Override any gcc2 internal prototype to avoid an error. */
57816 #ifdef __cplusplus
57817 extern "C"
57818 {
57819 #endif
57820 /* We use char because int might match the return type of a gcc2
57821 builtin and then its argument prototype would still apply. */
57822 char $ac_func ();
57823 /* The GNU C library defines this for functions which it implements
57824 to always fail with ENOSYS. Some functions are actually named
57825 something starting with __ and the normal name is an alias. */
57826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57827 choke me
57828 #else
57829 char (*f) () = $ac_func;
57830 #endif
57831 #ifdef __cplusplus
57832 }
57833 #endif
57834
57835 int
57836 main ()
57837 {
57838 return f != $ac_func;
57839 ;
57840 return 0;
57841 }
57842 _ACEOF
57843 rm -f conftest.$ac_objext conftest$ac_exeext
57844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57845 (eval $ac_link) 2>conftest.er1
57846 ac_status=$?
57847 grep -v '^ *+' conftest.er1 >conftest.err
57848 rm -f conftest.er1
57849 cat conftest.err >&5
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); } &&
57852 { ac_try='test -z "$ac_c_werror_flag"
57853 || test ! -s conftest.err'
57854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57855 (eval $ac_try) 2>&5
57856 ac_status=$?
57857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57858 (exit $ac_status); }; } &&
57859 { ac_try='test -s conftest$ac_exeext'
57860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57861 (eval $ac_try) 2>&5
57862 ac_status=$?
57863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57864 (exit $ac_status); }; }; then
57865 eval "$as_ac_var=yes"
57866 else
57867 echo "$as_me: failed program was:" >&5
57868 sed 's/^/| /' conftest.$ac_ext >&5
57869
57870 eval "$as_ac_var=no"
57871 fi
57872 rm -f conftest.err conftest.$ac_objext \
57873 conftest$ac_exeext conftest.$ac_ext
57874 fi
57875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57877 if test `eval echo '${'$as_ac_var'}'` = yes; then
57878 cat >>confdefs.h <<_ACEOF
57879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57880 _ACEOF
57881
57882 fi
57883 done
57884
57885 else
57886
57887 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
57888 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
57889 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57890 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
57891 echo $ECHO_N "(cached) $ECHO_C" >&6
57892 else
57893
57894
57895
57896 ac_ext=cc
57897 ac_cpp='$CXXCPP $CPPFLAGS'
57898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57901
57902 cat >conftest.$ac_ext <<_ACEOF
57903 /* confdefs.h. */
57904 _ACEOF
57905 cat confdefs.h >>conftest.$ac_ext
57906 cat >>conftest.$ac_ext <<_ACEOF
57907 /* end confdefs.h. */
57908 #include <math.h>
57909 #ifdef HAVE_IEEEFP_H
57910 #include <ieeefp.h>
57911 #endif
57912
57913 int
57914 main ()
57915 {
57916 _sqrtl(0);
57917 ;
57918 return 0;
57919 }
57920 _ACEOF
57921 rm -f conftest.$ac_objext
57922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57923 (eval $ac_compile) 2>conftest.er1
57924 ac_status=$?
57925 grep -v '^ *+' conftest.er1 >conftest.err
57926 rm -f conftest.er1
57927 cat conftest.err >&5
57928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57929 (exit $ac_status); } &&
57930 { ac_try='test -z "$ac_cxx_werror_flag"
57931 || test ! -s conftest.err'
57932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57933 (eval $ac_try) 2>&5
57934 ac_status=$?
57935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57936 (exit $ac_status); }; } &&
57937 { ac_try='test -s conftest.$ac_objext'
57938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57939 (eval $ac_try) 2>&5
57940 ac_status=$?
57941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942 (exit $ac_status); }; }; then
57943 glibcxx_cv_func__sqrtl_use=yes
57944 else
57945 echo "$as_me: failed program was:" >&5
57946 sed 's/^/| /' conftest.$ac_ext >&5
57947
57948 glibcxx_cv_func__sqrtl_use=no
57949 fi
57950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57951 ac_ext=c
57952 ac_cpp='$CPP $CPPFLAGS'
57953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57956
57957
57958 fi
57959
57960 fi
57961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
57962 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
57963
57964 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57965
57966 for ac_func in _sqrtl
57967 do
57968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57969 echo "$as_me:$LINENO: checking for $ac_func" >&5
57970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57971 if eval "test \"\${$as_ac_var+set}\" = set"; then
57972 echo $ECHO_N "(cached) $ECHO_C" >&6
57973 else
57974 if test x$gcc_no_link = xyes; then
57975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57977 { (exit 1); exit 1; }; }
57978 fi
57979 cat >conftest.$ac_ext <<_ACEOF
57980 /* confdefs.h. */
57981 _ACEOF
57982 cat confdefs.h >>conftest.$ac_ext
57983 cat >>conftest.$ac_ext <<_ACEOF
57984 /* end confdefs.h. */
57985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57987 #define $ac_func innocuous_$ac_func
57988
57989 /* System header to define __stub macros and hopefully few prototypes,
57990 which can conflict with char $ac_func (); below.
57991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57992 <limits.h> exists even on freestanding compilers. */
57993
57994 #ifdef __STDC__
57995 # include <limits.h>
57996 #else
57997 # include <assert.h>
57998 #endif
57999
58000 #undef $ac_func
58001
58002 /* Override any gcc2 internal prototype to avoid an error. */
58003 #ifdef __cplusplus
58004 extern "C"
58005 {
58006 #endif
58007 /* We use char because int might match the return type of a gcc2
58008 builtin and then its argument prototype would still apply. */
58009 char $ac_func ();
58010 /* The GNU C library defines this for functions which it implements
58011 to always fail with ENOSYS. Some functions are actually named
58012 something starting with __ and the normal name is an alias. */
58013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58014 choke me
58015 #else
58016 char (*f) () = $ac_func;
58017 #endif
58018 #ifdef __cplusplus
58019 }
58020 #endif
58021
58022 int
58023 main ()
58024 {
58025 return f != $ac_func;
58026 ;
58027 return 0;
58028 }
58029 _ACEOF
58030 rm -f conftest.$ac_objext conftest$ac_exeext
58031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58032 (eval $ac_link) 2>conftest.er1
58033 ac_status=$?
58034 grep -v '^ *+' conftest.er1 >conftest.err
58035 rm -f conftest.er1
58036 cat conftest.err >&5
58037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58038 (exit $ac_status); } &&
58039 { ac_try='test -z "$ac_c_werror_flag"
58040 || test ! -s conftest.err'
58041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58042 (eval $ac_try) 2>&5
58043 ac_status=$?
58044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045 (exit $ac_status); }; } &&
58046 { ac_try='test -s conftest$ac_exeext'
58047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58048 (eval $ac_try) 2>&5
58049 ac_status=$?
58050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58051 (exit $ac_status); }; }; then
58052 eval "$as_ac_var=yes"
58053 else
58054 echo "$as_me: failed program was:" >&5
58055 sed 's/^/| /' conftest.$ac_ext >&5
58056
58057 eval "$as_ac_var=no"
58058 fi
58059 rm -f conftest.err conftest.$ac_objext \
58060 conftest$ac_exeext conftest.$ac_ext
58061 fi
58062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58064 if test `eval echo '${'$as_ac_var'}'` = yes; then
58065 cat >>confdefs.h <<_ACEOF
58066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58067 _ACEOF
58068
58069 fi
58070 done
58071
58072 fi
58073 fi
58074
58075
58076
58077
58078
58079
58080 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58081 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58082 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58083 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58084 echo $ECHO_N "(cached) $ECHO_C" >&6
58085 else
58086
58087
58088
58089 ac_ext=cc
58090 ac_cpp='$CXXCPP $CPPFLAGS'
58091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58094
58095 cat >conftest.$ac_ext <<_ACEOF
58096 /* confdefs.h. */
58097 _ACEOF
58098 cat confdefs.h >>conftest.$ac_ext
58099 cat >>conftest.$ac_ext <<_ACEOF
58100 /* end confdefs.h. */
58101 #include <math.h>
58102 int
58103 main ()
58104 {
58105 sincosl(0, 0, 0);
58106 ;
58107 return 0;
58108 }
58109 _ACEOF
58110 rm -f conftest.$ac_objext
58111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58112 (eval $ac_compile) 2>conftest.er1
58113 ac_status=$?
58114 grep -v '^ *+' conftest.er1 >conftest.err
58115 rm -f conftest.er1
58116 cat conftest.err >&5
58117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58118 (exit $ac_status); } &&
58119 { ac_try='test -z "$ac_cxx_werror_flag"
58120 || test ! -s conftest.err'
58121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58122 (eval $ac_try) 2>&5
58123 ac_status=$?
58124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58125 (exit $ac_status); }; } &&
58126 { ac_try='test -s conftest.$ac_objext'
58127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58128 (eval $ac_try) 2>&5
58129 ac_status=$?
58130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131 (exit $ac_status); }; }; then
58132 glibcxx_cv_func_sincosl_use=yes
58133 else
58134 echo "$as_me: failed program was:" >&5
58135 sed 's/^/| /' conftest.$ac_ext >&5
58136
58137 glibcxx_cv_func_sincosl_use=no
58138 fi
58139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58145
58146
58147 fi
58148
58149 fi
58150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58151 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58152
58153 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58154
58155 for ac_func in sincosl
58156 do
58157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58158 echo "$as_me:$LINENO: checking for $ac_func" >&5
58159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58160 if eval "test \"\${$as_ac_var+set}\" = set"; then
58161 echo $ECHO_N "(cached) $ECHO_C" >&6
58162 else
58163 if test x$gcc_no_link = xyes; then
58164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58166 { (exit 1); exit 1; }; }
58167 fi
58168 cat >conftest.$ac_ext <<_ACEOF
58169 /* confdefs.h. */
58170 _ACEOF
58171 cat confdefs.h >>conftest.$ac_ext
58172 cat >>conftest.$ac_ext <<_ACEOF
58173 /* end confdefs.h. */
58174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58176 #define $ac_func innocuous_$ac_func
58177
58178 /* System header to define __stub macros and hopefully few prototypes,
58179 which can conflict with char $ac_func (); below.
58180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58181 <limits.h> exists even on freestanding compilers. */
58182
58183 #ifdef __STDC__
58184 # include <limits.h>
58185 #else
58186 # include <assert.h>
58187 #endif
58188
58189 #undef $ac_func
58190
58191 /* Override any gcc2 internal prototype to avoid an error. */
58192 #ifdef __cplusplus
58193 extern "C"
58194 {
58195 #endif
58196 /* We use char because int might match the return type of a gcc2
58197 builtin and then its argument prototype would still apply. */
58198 char $ac_func ();
58199 /* The GNU C library defines this for functions which it implements
58200 to always fail with ENOSYS. Some functions are actually named
58201 something starting with __ and the normal name is an alias. */
58202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58203 choke me
58204 #else
58205 char (*f) () = $ac_func;
58206 #endif
58207 #ifdef __cplusplus
58208 }
58209 #endif
58210
58211 int
58212 main ()
58213 {
58214 return f != $ac_func;
58215 ;
58216 return 0;
58217 }
58218 _ACEOF
58219 rm -f conftest.$ac_objext conftest$ac_exeext
58220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58221 (eval $ac_link) 2>conftest.er1
58222 ac_status=$?
58223 grep -v '^ *+' conftest.er1 >conftest.err
58224 rm -f conftest.er1
58225 cat conftest.err >&5
58226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58227 (exit $ac_status); } &&
58228 { ac_try='test -z "$ac_c_werror_flag"
58229 || test ! -s conftest.err'
58230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58231 (eval $ac_try) 2>&5
58232 ac_status=$?
58233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58234 (exit $ac_status); }; } &&
58235 { ac_try='test -s conftest$ac_exeext'
58236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58237 (eval $ac_try) 2>&5
58238 ac_status=$?
58239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58240 (exit $ac_status); }; }; then
58241 eval "$as_ac_var=yes"
58242 else
58243 echo "$as_me: failed program was:" >&5
58244 sed 's/^/| /' conftest.$ac_ext >&5
58245
58246 eval "$as_ac_var=no"
58247 fi
58248 rm -f conftest.err conftest.$ac_objext \
58249 conftest$ac_exeext conftest.$ac_ext
58250 fi
58251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58253 if test `eval echo '${'$as_ac_var'}'` = yes; then
58254 cat >>confdefs.h <<_ACEOF
58255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58256 _ACEOF
58257
58258 fi
58259 done
58260
58261 else
58262
58263 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58264 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58265 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58266 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58267 echo $ECHO_N "(cached) $ECHO_C" >&6
58268 else
58269
58270
58271
58272 ac_ext=cc
58273 ac_cpp='$CXXCPP $CPPFLAGS'
58274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58277
58278 cat >conftest.$ac_ext <<_ACEOF
58279 /* confdefs.h. */
58280 _ACEOF
58281 cat confdefs.h >>conftest.$ac_ext
58282 cat >>conftest.$ac_ext <<_ACEOF
58283 /* end confdefs.h. */
58284 #include <math.h>
58285 int
58286 main ()
58287 {
58288 _sincosl(0, 0, 0);
58289 ;
58290 return 0;
58291 }
58292 _ACEOF
58293 rm -f conftest.$ac_objext
58294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58295 (eval $ac_compile) 2>conftest.er1
58296 ac_status=$?
58297 grep -v '^ *+' conftest.er1 >conftest.err
58298 rm -f conftest.er1
58299 cat conftest.err >&5
58300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58301 (exit $ac_status); } &&
58302 { ac_try='test -z "$ac_cxx_werror_flag"
58303 || test ! -s conftest.err'
58304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58305 (eval $ac_try) 2>&5
58306 ac_status=$?
58307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58308 (exit $ac_status); }; } &&
58309 { ac_try='test -s conftest.$ac_objext'
58310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58311 (eval $ac_try) 2>&5
58312 ac_status=$?
58313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58314 (exit $ac_status); }; }; then
58315 glibcxx_cv_func__sincosl_use=yes
58316 else
58317 echo "$as_me: failed program was:" >&5
58318 sed 's/^/| /' conftest.$ac_ext >&5
58319
58320 glibcxx_cv_func__sincosl_use=no
58321 fi
58322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58323 ac_ext=c
58324 ac_cpp='$CPP $CPPFLAGS'
58325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58328
58329
58330 fi
58331
58332 fi
58333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58334 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58335
58336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58337
58338 for ac_func in _sincosl
58339 do
58340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58341 echo "$as_me:$LINENO: checking for $ac_func" >&5
58342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58343 if eval "test \"\${$as_ac_var+set}\" = set"; then
58344 echo $ECHO_N "(cached) $ECHO_C" >&6
58345 else
58346 if test x$gcc_no_link = xyes; then
58347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58349 { (exit 1); exit 1; }; }
58350 fi
58351 cat >conftest.$ac_ext <<_ACEOF
58352 /* confdefs.h. */
58353 _ACEOF
58354 cat confdefs.h >>conftest.$ac_ext
58355 cat >>conftest.$ac_ext <<_ACEOF
58356 /* end confdefs.h. */
58357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58359 #define $ac_func innocuous_$ac_func
58360
58361 /* System header to define __stub macros and hopefully few prototypes,
58362 which can conflict with char $ac_func (); below.
58363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58364 <limits.h> exists even on freestanding compilers. */
58365
58366 #ifdef __STDC__
58367 # include <limits.h>
58368 #else
58369 # include <assert.h>
58370 #endif
58371
58372 #undef $ac_func
58373
58374 /* Override any gcc2 internal prototype to avoid an error. */
58375 #ifdef __cplusplus
58376 extern "C"
58377 {
58378 #endif
58379 /* We use char because int might match the return type of a gcc2
58380 builtin and then its argument prototype would still apply. */
58381 char $ac_func ();
58382 /* The GNU C library defines this for functions which it implements
58383 to always fail with ENOSYS. Some functions are actually named
58384 something starting with __ and the normal name is an alias. */
58385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58386 choke me
58387 #else
58388 char (*f) () = $ac_func;
58389 #endif
58390 #ifdef __cplusplus
58391 }
58392 #endif
58393
58394 int
58395 main ()
58396 {
58397 return f != $ac_func;
58398 ;
58399 return 0;
58400 }
58401 _ACEOF
58402 rm -f conftest.$ac_objext conftest$ac_exeext
58403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58404 (eval $ac_link) 2>conftest.er1
58405 ac_status=$?
58406 grep -v '^ *+' conftest.er1 >conftest.err
58407 rm -f conftest.er1
58408 cat conftest.err >&5
58409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58410 (exit $ac_status); } &&
58411 { ac_try='test -z "$ac_c_werror_flag"
58412 || test ! -s conftest.err'
58413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58414 (eval $ac_try) 2>&5
58415 ac_status=$?
58416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58417 (exit $ac_status); }; } &&
58418 { ac_try='test -s conftest$ac_exeext'
58419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58420 (eval $ac_try) 2>&5
58421 ac_status=$?
58422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58423 (exit $ac_status); }; }; then
58424 eval "$as_ac_var=yes"
58425 else
58426 echo "$as_me: failed program was:" >&5
58427 sed 's/^/| /' conftest.$ac_ext >&5
58428
58429 eval "$as_ac_var=no"
58430 fi
58431 rm -f conftest.err conftest.$ac_objext \
58432 conftest$ac_exeext conftest.$ac_ext
58433 fi
58434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58436 if test `eval echo '${'$as_ac_var'}'` = yes; then
58437 cat >>confdefs.h <<_ACEOF
58438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58439 _ACEOF
58440
58441 fi
58442 done
58443
58444 fi
58445 fi
58446
58447
58448
58449
58450
58451
58452 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58453 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58454 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58455 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58456 echo $ECHO_N "(cached) $ECHO_C" >&6
58457 else
58458
58459
58460
58461 ac_ext=cc
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58466
58467 cat >conftest.$ac_ext <<_ACEOF
58468 /* confdefs.h. */
58469 _ACEOF
58470 cat confdefs.h >>conftest.$ac_ext
58471 cat >>conftest.$ac_ext <<_ACEOF
58472 /* end confdefs.h. */
58473 #include <math.h>
58474 #ifdef HAVE_IEEEFP_H
58475 #include <ieeefp.h>
58476 #endif
58477
58478 int
58479 main ()
58480 {
58481 finitel(0);
58482 ;
58483 return 0;
58484 }
58485 _ACEOF
58486 rm -f conftest.$ac_objext
58487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58488 (eval $ac_compile) 2>conftest.er1
58489 ac_status=$?
58490 grep -v '^ *+' conftest.er1 >conftest.err
58491 rm -f conftest.er1
58492 cat conftest.err >&5
58493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58494 (exit $ac_status); } &&
58495 { ac_try='test -z "$ac_cxx_werror_flag"
58496 || test ! -s conftest.err'
58497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58498 (eval $ac_try) 2>&5
58499 ac_status=$?
58500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58501 (exit $ac_status); }; } &&
58502 { ac_try='test -s conftest.$ac_objext'
58503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58504 (eval $ac_try) 2>&5
58505 ac_status=$?
58506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58507 (exit $ac_status); }; }; then
58508 glibcxx_cv_func_finitel_use=yes
58509 else
58510 echo "$as_me: failed program was:" >&5
58511 sed 's/^/| /' conftest.$ac_ext >&5
58512
58513 glibcxx_cv_func_finitel_use=no
58514 fi
58515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58516 ac_ext=c
58517 ac_cpp='$CPP $CPPFLAGS'
58518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58521
58522
58523 fi
58524
58525 fi
58526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58527 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58528
58529 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58530
58531 for ac_func in finitel
58532 do
58533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58534 echo "$as_me:$LINENO: checking for $ac_func" >&5
58535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58536 if eval "test \"\${$as_ac_var+set}\" = set"; then
58537 echo $ECHO_N "(cached) $ECHO_C" >&6
58538 else
58539 if test x$gcc_no_link = xyes; then
58540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58542 { (exit 1); exit 1; }; }
58543 fi
58544 cat >conftest.$ac_ext <<_ACEOF
58545 /* confdefs.h. */
58546 _ACEOF
58547 cat confdefs.h >>conftest.$ac_ext
58548 cat >>conftest.$ac_ext <<_ACEOF
58549 /* end confdefs.h. */
58550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58552 #define $ac_func innocuous_$ac_func
58553
58554 /* System header to define __stub macros and hopefully few prototypes,
58555 which can conflict with char $ac_func (); below.
58556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58557 <limits.h> exists even on freestanding compilers. */
58558
58559 #ifdef __STDC__
58560 # include <limits.h>
58561 #else
58562 # include <assert.h>
58563 #endif
58564
58565 #undef $ac_func
58566
58567 /* Override any gcc2 internal prototype to avoid an error. */
58568 #ifdef __cplusplus
58569 extern "C"
58570 {
58571 #endif
58572 /* We use char because int might match the return type of a gcc2
58573 builtin and then its argument prototype would still apply. */
58574 char $ac_func ();
58575 /* The GNU C library defines this for functions which it implements
58576 to always fail with ENOSYS. Some functions are actually named
58577 something starting with __ and the normal name is an alias. */
58578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58579 choke me
58580 #else
58581 char (*f) () = $ac_func;
58582 #endif
58583 #ifdef __cplusplus
58584 }
58585 #endif
58586
58587 int
58588 main ()
58589 {
58590 return f != $ac_func;
58591 ;
58592 return 0;
58593 }
58594 _ACEOF
58595 rm -f conftest.$ac_objext conftest$ac_exeext
58596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58597 (eval $ac_link) 2>conftest.er1
58598 ac_status=$?
58599 grep -v '^ *+' conftest.er1 >conftest.err
58600 rm -f conftest.er1
58601 cat conftest.err >&5
58602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58603 (exit $ac_status); } &&
58604 { ac_try='test -z "$ac_c_werror_flag"
58605 || test ! -s conftest.err'
58606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58607 (eval $ac_try) 2>&5
58608 ac_status=$?
58609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58610 (exit $ac_status); }; } &&
58611 { ac_try='test -s conftest$ac_exeext'
58612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58613 (eval $ac_try) 2>&5
58614 ac_status=$?
58615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58616 (exit $ac_status); }; }; then
58617 eval "$as_ac_var=yes"
58618 else
58619 echo "$as_me: failed program was:" >&5
58620 sed 's/^/| /' conftest.$ac_ext >&5
58621
58622 eval "$as_ac_var=no"
58623 fi
58624 rm -f conftest.err conftest.$ac_objext \
58625 conftest$ac_exeext conftest.$ac_ext
58626 fi
58627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58629 if test `eval echo '${'$as_ac_var'}'` = yes; then
58630 cat >>confdefs.h <<_ACEOF
58631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58632 _ACEOF
58633
58634 fi
58635 done
58636
58637 else
58638
58639 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58640 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58641 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58642 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58643 echo $ECHO_N "(cached) $ECHO_C" >&6
58644 else
58645
58646
58647
58648 ac_ext=cc
58649 ac_cpp='$CXXCPP $CPPFLAGS'
58650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58653
58654 cat >conftest.$ac_ext <<_ACEOF
58655 /* confdefs.h. */
58656 _ACEOF
58657 cat confdefs.h >>conftest.$ac_ext
58658 cat >>conftest.$ac_ext <<_ACEOF
58659 /* end confdefs.h. */
58660 #include <math.h>
58661 #ifdef HAVE_IEEEFP_H
58662 #include <ieeefp.h>
58663 #endif
58664
58665 int
58666 main ()
58667 {
58668 _finitel(0);
58669 ;
58670 return 0;
58671 }
58672 _ACEOF
58673 rm -f conftest.$ac_objext
58674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58675 (eval $ac_compile) 2>conftest.er1
58676 ac_status=$?
58677 grep -v '^ *+' conftest.er1 >conftest.err
58678 rm -f conftest.er1
58679 cat conftest.err >&5
58680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58681 (exit $ac_status); } &&
58682 { ac_try='test -z "$ac_cxx_werror_flag"
58683 || test ! -s conftest.err'
58684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58685 (eval $ac_try) 2>&5
58686 ac_status=$?
58687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58688 (exit $ac_status); }; } &&
58689 { ac_try='test -s conftest.$ac_objext'
58690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58691 (eval $ac_try) 2>&5
58692 ac_status=$?
58693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58694 (exit $ac_status); }; }; then
58695 glibcxx_cv_func__finitel_use=yes
58696 else
58697 echo "$as_me: failed program was:" >&5
58698 sed 's/^/| /' conftest.$ac_ext >&5
58699
58700 glibcxx_cv_func__finitel_use=no
58701 fi
58702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58703 ac_ext=c
58704 ac_cpp='$CPP $CPPFLAGS'
58705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58708
58709
58710 fi
58711
58712 fi
58713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58714 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
58715
58716 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58717
58718 for ac_func in _finitel
58719 do
58720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58721 echo "$as_me:$LINENO: checking for $ac_func" >&5
58722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58723 if eval "test \"\${$as_ac_var+set}\" = set"; then
58724 echo $ECHO_N "(cached) $ECHO_C" >&6
58725 else
58726 if test x$gcc_no_link = xyes; then
58727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58729 { (exit 1); exit 1; }; }
58730 fi
58731 cat >conftest.$ac_ext <<_ACEOF
58732 /* confdefs.h. */
58733 _ACEOF
58734 cat confdefs.h >>conftest.$ac_ext
58735 cat >>conftest.$ac_ext <<_ACEOF
58736 /* end confdefs.h. */
58737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58739 #define $ac_func innocuous_$ac_func
58740
58741 /* System header to define __stub macros and hopefully few prototypes,
58742 which can conflict with char $ac_func (); below.
58743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58744 <limits.h> exists even on freestanding compilers. */
58745
58746 #ifdef __STDC__
58747 # include <limits.h>
58748 #else
58749 # include <assert.h>
58750 #endif
58751
58752 #undef $ac_func
58753
58754 /* Override any gcc2 internal prototype to avoid an error. */
58755 #ifdef __cplusplus
58756 extern "C"
58757 {
58758 #endif
58759 /* We use char because int might match the return type of a gcc2
58760 builtin and then its argument prototype would still apply. */
58761 char $ac_func ();
58762 /* The GNU C library defines this for functions which it implements
58763 to always fail with ENOSYS. Some functions are actually named
58764 something starting with __ and the normal name is an alias. */
58765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58766 choke me
58767 #else
58768 char (*f) () = $ac_func;
58769 #endif
58770 #ifdef __cplusplus
58771 }
58772 #endif
58773
58774 int
58775 main ()
58776 {
58777 return f != $ac_func;
58778 ;
58779 return 0;
58780 }
58781 _ACEOF
58782 rm -f conftest.$ac_objext conftest$ac_exeext
58783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58784 (eval $ac_link) 2>conftest.er1
58785 ac_status=$?
58786 grep -v '^ *+' conftest.er1 >conftest.err
58787 rm -f conftest.er1
58788 cat conftest.err >&5
58789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58790 (exit $ac_status); } &&
58791 { ac_try='test -z "$ac_c_werror_flag"
58792 || test ! -s conftest.err'
58793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58794 (eval $ac_try) 2>&5
58795 ac_status=$?
58796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58797 (exit $ac_status); }; } &&
58798 { ac_try='test -s conftest$ac_exeext'
58799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58800 (eval $ac_try) 2>&5
58801 ac_status=$?
58802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58803 (exit $ac_status); }; }; then
58804 eval "$as_ac_var=yes"
58805 else
58806 echo "$as_me: failed program was:" >&5
58807 sed 's/^/| /' conftest.$ac_ext >&5
58808
58809 eval "$as_ac_var=no"
58810 fi
58811 rm -f conftest.err conftest.$ac_objext \
58812 conftest$ac_exeext conftest.$ac_ext
58813 fi
58814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58816 if test `eval echo '${'$as_ac_var'}'` = yes; then
58817 cat >>confdefs.h <<_ACEOF
58818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58819 _ACEOF
58820
58821 fi
58822 done
58823
58824 fi
58825 fi
58826
58827
58828
58829
58830
58831 LIBS="$ac_save_LIBS"
58832 CXXFLAGS="$ac_save_CXXFLAGS"
58833
58834
58835 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58836 ac_save_CXXFLAGS="$CXXFLAGS"
58837 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58838
58839
58840 echo "$as_me:$LINENO: checking for strtold declaration" >&5
58841 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
58842 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58843 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
58844 echo $ECHO_N "(cached) $ECHO_C" >&6
58845 else
58846
58847
58848
58849 ac_ext=cc
58850 ac_cpp='$CXXCPP $CPPFLAGS'
58851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58854
58855 cat >conftest.$ac_ext <<_ACEOF
58856 /* confdefs.h. */
58857 _ACEOF
58858 cat confdefs.h >>conftest.$ac_ext
58859 cat >>conftest.$ac_ext <<_ACEOF
58860 /* end confdefs.h. */
58861 #include <stdlib.h>
58862 int
58863 main ()
58864 {
58865 strtold(0, 0);
58866 ;
58867 return 0;
58868 }
58869 _ACEOF
58870 rm -f conftest.$ac_objext
58871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58872 (eval $ac_compile) 2>conftest.er1
58873 ac_status=$?
58874 grep -v '^ *+' conftest.er1 >conftest.err
58875 rm -f conftest.er1
58876 cat conftest.err >&5
58877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58878 (exit $ac_status); } &&
58879 { ac_try='test -z "$ac_cxx_werror_flag"
58880 || test ! -s conftest.err'
58881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58882 (eval $ac_try) 2>&5
58883 ac_status=$?
58884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58885 (exit $ac_status); }; } &&
58886 { ac_try='test -s conftest.$ac_objext'
58887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58888 (eval $ac_try) 2>&5
58889 ac_status=$?
58890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58891 (exit $ac_status); }; }; then
58892 glibcxx_cv_func_strtold_use=yes
58893 else
58894 echo "$as_me: failed program was:" >&5
58895 sed 's/^/| /' conftest.$ac_ext >&5
58896
58897 glibcxx_cv_func_strtold_use=no
58898 fi
58899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58900 ac_ext=c
58901 ac_cpp='$CPP $CPPFLAGS'
58902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58905
58906
58907 fi
58908
58909 fi
58910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
58911 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
58912 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58913
58914 for ac_func in strtold
58915 do
58916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58917 echo "$as_me:$LINENO: checking for $ac_func" >&5
58918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58919 if eval "test \"\${$as_ac_var+set}\" = set"; then
58920 echo $ECHO_N "(cached) $ECHO_C" >&6
58921 else
58922 if test x$gcc_no_link = xyes; then
58923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58925 { (exit 1); exit 1; }; }
58926 fi
58927 cat >conftest.$ac_ext <<_ACEOF
58928 /* confdefs.h. */
58929 _ACEOF
58930 cat confdefs.h >>conftest.$ac_ext
58931 cat >>conftest.$ac_ext <<_ACEOF
58932 /* end confdefs.h. */
58933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58935 #define $ac_func innocuous_$ac_func
58936
58937 /* System header to define __stub macros and hopefully few prototypes,
58938 which can conflict with char $ac_func (); below.
58939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58940 <limits.h> exists even on freestanding compilers. */
58941
58942 #ifdef __STDC__
58943 # include <limits.h>
58944 #else
58945 # include <assert.h>
58946 #endif
58947
58948 #undef $ac_func
58949
58950 /* Override any gcc2 internal prototype to avoid an error. */
58951 #ifdef __cplusplus
58952 extern "C"
58953 {
58954 #endif
58955 /* We use char because int might match the return type of a gcc2
58956 builtin and then its argument prototype would still apply. */
58957 char $ac_func ();
58958 /* The GNU C library defines this for functions which it implements
58959 to always fail with ENOSYS. Some functions are actually named
58960 something starting with __ and the normal name is an alias. */
58961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58962 choke me
58963 #else
58964 char (*f) () = $ac_func;
58965 #endif
58966 #ifdef __cplusplus
58967 }
58968 #endif
58969
58970 int
58971 main ()
58972 {
58973 return f != $ac_func;
58974 ;
58975 return 0;
58976 }
58977 _ACEOF
58978 rm -f conftest.$ac_objext conftest$ac_exeext
58979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58980 (eval $ac_link) 2>conftest.er1
58981 ac_status=$?
58982 grep -v '^ *+' conftest.er1 >conftest.err
58983 rm -f conftest.er1
58984 cat conftest.err >&5
58985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58986 (exit $ac_status); } &&
58987 { ac_try='test -z "$ac_c_werror_flag"
58988 || test ! -s conftest.err'
58989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58990 (eval $ac_try) 2>&5
58991 ac_status=$?
58992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58993 (exit $ac_status); }; } &&
58994 { ac_try='test -s conftest$ac_exeext'
58995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58996 (eval $ac_try) 2>&5
58997 ac_status=$?
58998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58999 (exit $ac_status); }; }; then
59000 eval "$as_ac_var=yes"
59001 else
59002 echo "$as_me: failed program was:" >&5
59003 sed 's/^/| /' conftest.$ac_ext >&5
59004
59005 eval "$as_ac_var=no"
59006 fi
59007 rm -f conftest.err conftest.$ac_objext \
59008 conftest$ac_exeext conftest.$ac_ext
59009 fi
59010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59012 if test `eval echo '${'$as_ac_var'}'` = yes; then
59013 cat >>confdefs.h <<_ACEOF
59014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59015 _ACEOF
59016
59017 fi
59018 done
59019
59020 fi
59021
59022
59023
59024
59025
59026 echo "$as_me:$LINENO: checking for strtof declaration" >&5
59027 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
59028 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59029 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
59030 echo $ECHO_N "(cached) $ECHO_C" >&6
59031 else
59032
59033
59034
59035 ac_ext=cc
59036 ac_cpp='$CXXCPP $CPPFLAGS'
59037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59040
59041 cat >conftest.$ac_ext <<_ACEOF
59042 /* confdefs.h. */
59043 _ACEOF
59044 cat confdefs.h >>conftest.$ac_ext
59045 cat >>conftest.$ac_ext <<_ACEOF
59046 /* end confdefs.h. */
59047 #include <stdlib.h>
59048 int
59049 main ()
59050 {
59051 strtof(0, 0);
59052 ;
59053 return 0;
59054 }
59055 _ACEOF
59056 rm -f conftest.$ac_objext
59057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59058 (eval $ac_compile) 2>conftest.er1
59059 ac_status=$?
59060 grep -v '^ *+' conftest.er1 >conftest.err
59061 rm -f conftest.er1
59062 cat conftest.err >&5
59063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59064 (exit $ac_status); } &&
59065 { ac_try='test -z "$ac_cxx_werror_flag"
59066 || test ! -s conftest.err'
59067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59068 (eval $ac_try) 2>&5
59069 ac_status=$?
59070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59071 (exit $ac_status); }; } &&
59072 { ac_try='test -s conftest.$ac_objext'
59073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59074 (eval $ac_try) 2>&5
59075 ac_status=$?
59076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59077 (exit $ac_status); }; }; then
59078 glibcxx_cv_func_strtof_use=yes
59079 else
59080 echo "$as_me: failed program was:" >&5
59081 sed 's/^/| /' conftest.$ac_ext >&5
59082
59083 glibcxx_cv_func_strtof_use=no
59084 fi
59085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59086 ac_ext=c
59087 ac_cpp='$CPP $CPPFLAGS'
59088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59091
59092
59093 fi
59094
59095 fi
59096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
59097 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
59098 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59099
59100 for ac_func in strtof
59101 do
59102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59103 echo "$as_me:$LINENO: checking for $ac_func" >&5
59104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59105 if eval "test \"\${$as_ac_var+set}\" = set"; then
59106 echo $ECHO_N "(cached) $ECHO_C" >&6
59107 else
59108 if test x$gcc_no_link = xyes; then
59109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59111 { (exit 1); exit 1; }; }
59112 fi
59113 cat >conftest.$ac_ext <<_ACEOF
59114 /* confdefs.h. */
59115 _ACEOF
59116 cat confdefs.h >>conftest.$ac_ext
59117 cat >>conftest.$ac_ext <<_ACEOF
59118 /* end confdefs.h. */
59119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59121 #define $ac_func innocuous_$ac_func
59122
59123 /* System header to define __stub macros and hopefully few prototypes,
59124 which can conflict with char $ac_func (); below.
59125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59126 <limits.h> exists even on freestanding compilers. */
59127
59128 #ifdef __STDC__
59129 # include <limits.h>
59130 #else
59131 # include <assert.h>
59132 #endif
59133
59134 #undef $ac_func
59135
59136 /* Override any gcc2 internal prototype to avoid an error. */
59137 #ifdef __cplusplus
59138 extern "C"
59139 {
59140 #endif
59141 /* We use char because int might match the return type of a gcc2
59142 builtin and then its argument prototype would still apply. */
59143 char $ac_func ();
59144 /* The GNU C library defines this for functions which it implements
59145 to always fail with ENOSYS. Some functions are actually named
59146 something starting with __ and the normal name is an alias. */
59147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59148 choke me
59149 #else
59150 char (*f) () = $ac_func;
59151 #endif
59152 #ifdef __cplusplus
59153 }
59154 #endif
59155
59156 int
59157 main ()
59158 {
59159 return f != $ac_func;
59160 ;
59161 return 0;
59162 }
59163 _ACEOF
59164 rm -f conftest.$ac_objext conftest$ac_exeext
59165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59166 (eval $ac_link) 2>conftest.er1
59167 ac_status=$?
59168 grep -v '^ *+' conftest.er1 >conftest.err
59169 rm -f conftest.er1
59170 cat conftest.err >&5
59171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59172 (exit $ac_status); } &&
59173 { ac_try='test -z "$ac_c_werror_flag"
59174 || test ! -s conftest.err'
59175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59176 (eval $ac_try) 2>&5
59177 ac_status=$?
59178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59179 (exit $ac_status); }; } &&
59180 { ac_try='test -s conftest$ac_exeext'
59181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59182 (eval $ac_try) 2>&5
59183 ac_status=$?
59184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59185 (exit $ac_status); }; }; then
59186 eval "$as_ac_var=yes"
59187 else
59188 echo "$as_me: failed program was:" >&5
59189 sed 's/^/| /' conftest.$ac_ext >&5
59190
59191 eval "$as_ac_var=no"
59192 fi
59193 rm -f conftest.err conftest.$ac_objext \
59194 conftest$ac_exeext conftest.$ac_ext
59195 fi
59196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59198 if test `eval echo '${'$as_ac_var'}'` = yes; then
59199 cat >>confdefs.h <<_ACEOF
59200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59201 _ACEOF
59202
59203 fi
59204 done
59205
59206 fi
59207
59208
59209
59210
59211
59212 CXXFLAGS="$ac_save_CXXFLAGS"
59213
59214
59215 cat >>confdefs.h <<\_ACEOF
59216 #define HAVE_FINITE 1
59217 _ACEOF
59218
59219 cat >>confdefs.h <<\_ACEOF
59220 #define HAVE_HYPOT 1
59221 _ACEOF
59222
59223 cat >>confdefs.h <<\_ACEOF
59224 #define HAVE_ISNAN 1
59225 _ACEOF
59226
59227 cat >>confdefs.h <<\_ACEOF
59228 #define HAVE_ISINF 1
59229 _ACEOF
59230
59231
59232 cat >>confdefs.h <<\_ACEOF
59233 #define HAVE_LDEXPF 1
59234 _ACEOF
59235
59236 cat >>confdefs.h <<\_ACEOF
59237 #define HAVE_MODF 1
59238 _ACEOF
59239
59240 cat >>confdefs.h <<\_ACEOF
59241 #define HAVE_SQRTF 1
59242 _ACEOF
59243
59244 ;;
59245
59246 *-darwin*)
59247 # Darwin versions vary, but the linker should work in a cross environment,
59248 # so we just check for all the features here.
59249 # Check for available headers.
59250
59251 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
59252
59253 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59254 ac_save_CXXFLAGS="$CXXFLAGS"
59255 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59256
59257 echo "$as_me:$LINENO: checking for sin in -lm" >&5
59258 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
59259 if test "${ac_cv_lib_m_sin+set}" = set; then
59260 echo $ECHO_N "(cached) $ECHO_C" >&6
59261 else
59262 ac_check_lib_save_LIBS=$LIBS
59263 LIBS="-lm $LIBS"
59264 if test x$gcc_no_link = xyes; then
59265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59267 { (exit 1); exit 1; }; }
59268 fi
59269 cat >conftest.$ac_ext <<_ACEOF
59270 /* confdefs.h. */
59271 _ACEOF
59272 cat confdefs.h >>conftest.$ac_ext
59273 cat >>conftest.$ac_ext <<_ACEOF
59274 /* end confdefs.h. */
59275
59276 /* Override any gcc2 internal prototype to avoid an error. */
59277 #ifdef __cplusplus
59278 extern "C"
59279 #endif
59280 /* We use char because int might match the return type of a gcc2
59281 builtin and then its argument prototype would still apply. */
59282 char sin ();
59283 int
59284 main ()
59285 {
59286 sin ();
59287 ;
59288 return 0;
59289 }
59290 _ACEOF
59291 rm -f conftest.$ac_objext conftest$ac_exeext
59292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59293 (eval $ac_link) 2>conftest.er1
59294 ac_status=$?
59295 grep -v '^ *+' conftest.er1 >conftest.err
59296 rm -f conftest.er1
59297 cat conftest.err >&5
59298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299 (exit $ac_status); } &&
59300 { ac_try='test -z "$ac_c_werror_flag"
59301 || test ! -s conftest.err'
59302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59303 (eval $ac_try) 2>&5
59304 ac_status=$?
59305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59306 (exit $ac_status); }; } &&
59307 { ac_try='test -s conftest$ac_exeext'
59308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59309 (eval $ac_try) 2>&5
59310 ac_status=$?
59311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59312 (exit $ac_status); }; }; then
59313 ac_cv_lib_m_sin=yes
59314 else
59315 echo "$as_me: failed program was:" >&5
59316 sed 's/^/| /' conftest.$ac_ext >&5
59317
59318 ac_cv_lib_m_sin=no
59319 fi
59320 rm -f conftest.err conftest.$ac_objext \
59321 conftest$ac_exeext conftest.$ac_ext
59322 LIBS=$ac_check_lib_save_LIBS
59323 fi
59324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
59325 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
59326 if test $ac_cv_lib_m_sin = yes; then
59327 libm="-lm"
59328 fi
59329
59330 ac_save_LIBS="$LIBS"
59331 LIBS="$LIBS $libm"
59332
59333
59334
59335 echo "$as_me:$LINENO: checking for isinf declaration" >&5
59336 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
59337 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59338 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
59339 echo $ECHO_N "(cached) $ECHO_C" >&6
59340 else
59341
59342
59343
59344 ac_ext=cc
59345 ac_cpp='$CXXCPP $CPPFLAGS'
59346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59349
59350 cat >conftest.$ac_ext <<_ACEOF
59351 /* confdefs.h. */
59352 _ACEOF
59353 cat confdefs.h >>conftest.$ac_ext
59354 cat >>conftest.$ac_ext <<_ACEOF
59355 /* end confdefs.h. */
59356 #include <math.h>
59357 #ifdef HAVE_IEEEFP_H
59358 #include <ieeefp.h>
59359 #endif
59360
59361 int
59362 main ()
59363 {
59364 isinf(0);
59365 ;
59366 return 0;
59367 }
59368 _ACEOF
59369 rm -f conftest.$ac_objext
59370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59371 (eval $ac_compile) 2>conftest.er1
59372 ac_status=$?
59373 grep -v '^ *+' conftest.er1 >conftest.err
59374 rm -f conftest.er1
59375 cat conftest.err >&5
59376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377 (exit $ac_status); } &&
59378 { ac_try='test -z "$ac_cxx_werror_flag"
59379 || test ! -s conftest.err'
59380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59381 (eval $ac_try) 2>&5
59382 ac_status=$?
59383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59384 (exit $ac_status); }; } &&
59385 { ac_try='test -s conftest.$ac_objext'
59386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59387 (eval $ac_try) 2>&5
59388 ac_status=$?
59389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59390 (exit $ac_status); }; }; then
59391 glibcxx_cv_func_isinf_use=yes
59392 else
59393 echo "$as_me: failed program was:" >&5
59394 sed 's/^/| /' conftest.$ac_ext >&5
59395
59396 glibcxx_cv_func_isinf_use=no
59397 fi
59398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59399 ac_ext=c
59400 ac_cpp='$CPP $CPPFLAGS'
59401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59404
59405
59406 fi
59407
59408 fi
59409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
59410 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
59411
59412 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59413
59414 for ac_func in isinf
59415 do
59416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59417 echo "$as_me:$LINENO: checking for $ac_func" >&5
59418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59419 if eval "test \"\${$as_ac_var+set}\" = set"; then
59420 echo $ECHO_N "(cached) $ECHO_C" >&6
59421 else
59422 if test x$gcc_no_link = xyes; then
59423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59425 { (exit 1); exit 1; }; }
59426 fi
59427 cat >conftest.$ac_ext <<_ACEOF
59428 /* confdefs.h. */
59429 _ACEOF
59430 cat confdefs.h >>conftest.$ac_ext
59431 cat >>conftest.$ac_ext <<_ACEOF
59432 /* end confdefs.h. */
59433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59435 #define $ac_func innocuous_$ac_func
59436
59437 /* System header to define __stub macros and hopefully few prototypes,
59438 which can conflict with char $ac_func (); below.
59439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59440 <limits.h> exists even on freestanding compilers. */
59441
59442 #ifdef __STDC__
59443 # include <limits.h>
59444 #else
59445 # include <assert.h>
59446 #endif
59447
59448 #undef $ac_func
59449
59450 /* Override any gcc2 internal prototype to avoid an error. */
59451 #ifdef __cplusplus
59452 extern "C"
59453 {
59454 #endif
59455 /* We use char because int might match the return type of a gcc2
59456 builtin and then its argument prototype would still apply. */
59457 char $ac_func ();
59458 /* The GNU C library defines this for functions which it implements
59459 to always fail with ENOSYS. Some functions are actually named
59460 something starting with __ and the normal name is an alias. */
59461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59462 choke me
59463 #else
59464 char (*f) () = $ac_func;
59465 #endif
59466 #ifdef __cplusplus
59467 }
59468 #endif
59469
59470 int
59471 main ()
59472 {
59473 return f != $ac_func;
59474 ;
59475 return 0;
59476 }
59477 _ACEOF
59478 rm -f conftest.$ac_objext conftest$ac_exeext
59479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59480 (eval $ac_link) 2>conftest.er1
59481 ac_status=$?
59482 grep -v '^ *+' conftest.er1 >conftest.err
59483 rm -f conftest.er1
59484 cat conftest.err >&5
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); } &&
59487 { ac_try='test -z "$ac_c_werror_flag"
59488 || test ! -s conftest.err'
59489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59490 (eval $ac_try) 2>&5
59491 ac_status=$?
59492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59493 (exit $ac_status); }; } &&
59494 { ac_try='test -s conftest$ac_exeext'
59495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59496 (eval $ac_try) 2>&5
59497 ac_status=$?
59498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59499 (exit $ac_status); }; }; then
59500 eval "$as_ac_var=yes"
59501 else
59502 echo "$as_me: failed program was:" >&5
59503 sed 's/^/| /' conftest.$ac_ext >&5
59504
59505 eval "$as_ac_var=no"
59506 fi
59507 rm -f conftest.err conftest.$ac_objext \
59508 conftest$ac_exeext conftest.$ac_ext
59509 fi
59510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59512 if test `eval echo '${'$as_ac_var'}'` = yes; then
59513 cat >>confdefs.h <<_ACEOF
59514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59515 _ACEOF
59516
59517 fi
59518 done
59519
59520 else
59521
59522 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
59523 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
59524 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59525 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
59526 echo $ECHO_N "(cached) $ECHO_C" >&6
59527 else
59528
59529
59530
59531 ac_ext=cc
59532 ac_cpp='$CXXCPP $CPPFLAGS'
59533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59536
59537 cat >conftest.$ac_ext <<_ACEOF
59538 /* confdefs.h. */
59539 _ACEOF
59540 cat confdefs.h >>conftest.$ac_ext
59541 cat >>conftest.$ac_ext <<_ACEOF
59542 /* end confdefs.h. */
59543 #include <math.h>
59544 #ifdef HAVE_IEEEFP_H
59545 #include <ieeefp.h>
59546 #endif
59547
59548 int
59549 main ()
59550 {
59551 _isinf(0);
59552 ;
59553 return 0;
59554 }
59555 _ACEOF
59556 rm -f conftest.$ac_objext
59557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59558 (eval $ac_compile) 2>conftest.er1
59559 ac_status=$?
59560 grep -v '^ *+' conftest.er1 >conftest.err
59561 rm -f conftest.er1
59562 cat conftest.err >&5
59563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59564 (exit $ac_status); } &&
59565 { ac_try='test -z "$ac_cxx_werror_flag"
59566 || test ! -s conftest.err'
59567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59568 (eval $ac_try) 2>&5
59569 ac_status=$?
59570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571 (exit $ac_status); }; } &&
59572 { ac_try='test -s conftest.$ac_objext'
59573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59574 (eval $ac_try) 2>&5
59575 ac_status=$?
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); }; }; then
59578 glibcxx_cv_func__isinf_use=yes
59579 else
59580 echo "$as_me: failed program was:" >&5
59581 sed 's/^/| /' conftest.$ac_ext >&5
59582
59583 glibcxx_cv_func__isinf_use=no
59584 fi
59585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59586 ac_ext=c
59587 ac_cpp='$CPP $CPPFLAGS'
59588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59591
59592
59593 fi
59594
59595 fi
59596 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
59597 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
59598
59599 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59600
59601 for ac_func in _isinf
59602 do
59603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59604 echo "$as_me:$LINENO: checking for $ac_func" >&5
59605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59606 if eval "test \"\${$as_ac_var+set}\" = set"; then
59607 echo $ECHO_N "(cached) $ECHO_C" >&6
59608 else
59609 if test x$gcc_no_link = xyes; then
59610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59612 { (exit 1); exit 1; }; }
59613 fi
59614 cat >conftest.$ac_ext <<_ACEOF
59615 /* confdefs.h. */
59616 _ACEOF
59617 cat confdefs.h >>conftest.$ac_ext
59618 cat >>conftest.$ac_ext <<_ACEOF
59619 /* end confdefs.h. */
59620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59622 #define $ac_func innocuous_$ac_func
59623
59624 /* System header to define __stub macros and hopefully few prototypes,
59625 which can conflict with char $ac_func (); below.
59626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59627 <limits.h> exists even on freestanding compilers. */
59628
59629 #ifdef __STDC__
59630 # include <limits.h>
59631 #else
59632 # include <assert.h>
59633 #endif
59634
59635 #undef $ac_func
59636
59637 /* Override any gcc2 internal prototype to avoid an error. */
59638 #ifdef __cplusplus
59639 extern "C"
59640 {
59641 #endif
59642 /* We use char because int might match the return type of a gcc2
59643 builtin and then its argument prototype would still apply. */
59644 char $ac_func ();
59645 /* The GNU C library defines this for functions which it implements
59646 to always fail with ENOSYS. Some functions are actually named
59647 something starting with __ and the normal name is an alias. */
59648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59649 choke me
59650 #else
59651 char (*f) () = $ac_func;
59652 #endif
59653 #ifdef __cplusplus
59654 }
59655 #endif
59656
59657 int
59658 main ()
59659 {
59660 return f != $ac_func;
59661 ;
59662 return 0;
59663 }
59664 _ACEOF
59665 rm -f conftest.$ac_objext conftest$ac_exeext
59666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59667 (eval $ac_link) 2>conftest.er1
59668 ac_status=$?
59669 grep -v '^ *+' conftest.er1 >conftest.err
59670 rm -f conftest.er1
59671 cat conftest.err >&5
59672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59673 (exit $ac_status); } &&
59674 { ac_try='test -z "$ac_c_werror_flag"
59675 || test ! -s conftest.err'
59676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59677 (eval $ac_try) 2>&5
59678 ac_status=$?
59679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59680 (exit $ac_status); }; } &&
59681 { ac_try='test -s conftest$ac_exeext'
59682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59683 (eval $ac_try) 2>&5
59684 ac_status=$?
59685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59686 (exit $ac_status); }; }; then
59687 eval "$as_ac_var=yes"
59688 else
59689 echo "$as_me: failed program was:" >&5
59690 sed 's/^/| /' conftest.$ac_ext >&5
59691
59692 eval "$as_ac_var=no"
59693 fi
59694 rm -f conftest.err conftest.$ac_objext \
59695 conftest$ac_exeext conftest.$ac_ext
59696 fi
59697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59699 if test `eval echo '${'$as_ac_var'}'` = yes; then
59700 cat >>confdefs.h <<_ACEOF
59701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59702 _ACEOF
59703
59704 fi
59705 done
59706
59707 fi
59708 fi
59709
59710
59711
59712
59713
59714
59715 echo "$as_me:$LINENO: checking for isnan declaration" >&5
59716 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
59717 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59718 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
59719 echo $ECHO_N "(cached) $ECHO_C" >&6
59720 else
59721
59722
59723
59724 ac_ext=cc
59725 ac_cpp='$CXXCPP $CPPFLAGS'
59726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59729
59730 cat >conftest.$ac_ext <<_ACEOF
59731 /* confdefs.h. */
59732 _ACEOF
59733 cat confdefs.h >>conftest.$ac_ext
59734 cat >>conftest.$ac_ext <<_ACEOF
59735 /* end confdefs.h. */
59736 #include <math.h>
59737 #ifdef HAVE_IEEEFP_H
59738 #include <ieeefp.h>
59739 #endif
59740
59741 int
59742 main ()
59743 {
59744 isnan(0);
59745 ;
59746 return 0;
59747 }
59748 _ACEOF
59749 rm -f conftest.$ac_objext
59750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59751 (eval $ac_compile) 2>conftest.er1
59752 ac_status=$?
59753 grep -v '^ *+' conftest.er1 >conftest.err
59754 rm -f conftest.er1
59755 cat conftest.err >&5
59756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757 (exit $ac_status); } &&
59758 { ac_try='test -z "$ac_cxx_werror_flag"
59759 || test ! -s conftest.err'
59760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59761 (eval $ac_try) 2>&5
59762 ac_status=$?
59763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59764 (exit $ac_status); }; } &&
59765 { ac_try='test -s conftest.$ac_objext'
59766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59767 (eval $ac_try) 2>&5
59768 ac_status=$?
59769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59770 (exit $ac_status); }; }; then
59771 glibcxx_cv_func_isnan_use=yes
59772 else
59773 echo "$as_me: failed program was:" >&5
59774 sed 's/^/| /' conftest.$ac_ext >&5
59775
59776 glibcxx_cv_func_isnan_use=no
59777 fi
59778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59779 ac_ext=c
59780 ac_cpp='$CPP $CPPFLAGS'
59781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59784
59785
59786 fi
59787
59788 fi
59789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
59790 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
59791
59792 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59793
59794 for ac_func in isnan
59795 do
59796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59797 echo "$as_me:$LINENO: checking for $ac_func" >&5
59798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59799 if eval "test \"\${$as_ac_var+set}\" = set"; then
59800 echo $ECHO_N "(cached) $ECHO_C" >&6
59801 else
59802 if test x$gcc_no_link = xyes; then
59803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59805 { (exit 1); exit 1; }; }
59806 fi
59807 cat >conftest.$ac_ext <<_ACEOF
59808 /* confdefs.h. */
59809 _ACEOF
59810 cat confdefs.h >>conftest.$ac_ext
59811 cat >>conftest.$ac_ext <<_ACEOF
59812 /* end confdefs.h. */
59813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59815 #define $ac_func innocuous_$ac_func
59816
59817 /* System header to define __stub macros and hopefully few prototypes,
59818 which can conflict with char $ac_func (); below.
59819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59820 <limits.h> exists even on freestanding compilers. */
59821
59822 #ifdef __STDC__
59823 # include <limits.h>
59824 #else
59825 # include <assert.h>
59826 #endif
59827
59828 #undef $ac_func
59829
59830 /* Override any gcc2 internal prototype to avoid an error. */
59831 #ifdef __cplusplus
59832 extern "C"
59833 {
59834 #endif
59835 /* We use char because int might match the return type of a gcc2
59836 builtin and then its argument prototype would still apply. */
59837 char $ac_func ();
59838 /* The GNU C library defines this for functions which it implements
59839 to always fail with ENOSYS. Some functions are actually named
59840 something starting with __ and the normal name is an alias. */
59841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59842 choke me
59843 #else
59844 char (*f) () = $ac_func;
59845 #endif
59846 #ifdef __cplusplus
59847 }
59848 #endif
59849
59850 int
59851 main ()
59852 {
59853 return f != $ac_func;
59854 ;
59855 return 0;
59856 }
59857 _ACEOF
59858 rm -f conftest.$ac_objext conftest$ac_exeext
59859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59860 (eval $ac_link) 2>conftest.er1
59861 ac_status=$?
59862 grep -v '^ *+' conftest.er1 >conftest.err
59863 rm -f conftest.er1
59864 cat conftest.err >&5
59865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 (exit $ac_status); } &&
59867 { ac_try='test -z "$ac_c_werror_flag"
59868 || test ! -s conftest.err'
59869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870 (eval $ac_try) 2>&5
59871 ac_status=$?
59872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873 (exit $ac_status); }; } &&
59874 { ac_try='test -s conftest$ac_exeext'
59875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59876 (eval $ac_try) 2>&5
59877 ac_status=$?
59878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59879 (exit $ac_status); }; }; then
59880 eval "$as_ac_var=yes"
59881 else
59882 echo "$as_me: failed program was:" >&5
59883 sed 's/^/| /' conftest.$ac_ext >&5
59884
59885 eval "$as_ac_var=no"
59886 fi
59887 rm -f conftest.err conftest.$ac_objext \
59888 conftest$ac_exeext conftest.$ac_ext
59889 fi
59890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59892 if test `eval echo '${'$as_ac_var'}'` = yes; then
59893 cat >>confdefs.h <<_ACEOF
59894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59895 _ACEOF
59896
59897 fi
59898 done
59899
59900 else
59901
59902 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
59903 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
59904 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59905 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
59906 echo $ECHO_N "(cached) $ECHO_C" >&6
59907 else
59908
59909
59910
59911 ac_ext=cc
59912 ac_cpp='$CXXCPP $CPPFLAGS'
59913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59916
59917 cat >conftest.$ac_ext <<_ACEOF
59918 /* confdefs.h. */
59919 _ACEOF
59920 cat confdefs.h >>conftest.$ac_ext
59921 cat >>conftest.$ac_ext <<_ACEOF
59922 /* end confdefs.h. */
59923 #include <math.h>
59924 #ifdef HAVE_IEEEFP_H
59925 #include <ieeefp.h>
59926 #endif
59927
59928 int
59929 main ()
59930 {
59931 _isnan(0);
59932 ;
59933 return 0;
59934 }
59935 _ACEOF
59936 rm -f conftest.$ac_objext
59937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59938 (eval $ac_compile) 2>conftest.er1
59939 ac_status=$?
59940 grep -v '^ *+' conftest.er1 >conftest.err
59941 rm -f conftest.er1
59942 cat conftest.err >&5
59943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59944 (exit $ac_status); } &&
59945 { ac_try='test -z "$ac_cxx_werror_flag"
59946 || test ! -s conftest.err'
59947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59948 (eval $ac_try) 2>&5
59949 ac_status=$?
59950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59951 (exit $ac_status); }; } &&
59952 { ac_try='test -s conftest.$ac_objext'
59953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59954 (eval $ac_try) 2>&5
59955 ac_status=$?
59956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59957 (exit $ac_status); }; }; then
59958 glibcxx_cv_func__isnan_use=yes
59959 else
59960 echo "$as_me: failed program was:" >&5
59961 sed 's/^/| /' conftest.$ac_ext >&5
59962
59963 glibcxx_cv_func__isnan_use=no
59964 fi
59965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971
59972
59973 fi
59974
59975 fi
59976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
59977 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
59978
59979 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59980
59981 for ac_func in _isnan
59982 do
59983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59984 echo "$as_me:$LINENO: checking for $ac_func" >&5
59985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59986 if eval "test \"\${$as_ac_var+set}\" = set"; then
59987 echo $ECHO_N "(cached) $ECHO_C" >&6
59988 else
59989 if test x$gcc_no_link = xyes; then
59990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59992 { (exit 1); exit 1; }; }
59993 fi
59994 cat >conftest.$ac_ext <<_ACEOF
59995 /* confdefs.h. */
59996 _ACEOF
59997 cat confdefs.h >>conftest.$ac_ext
59998 cat >>conftest.$ac_ext <<_ACEOF
59999 /* end confdefs.h. */
60000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60002 #define $ac_func innocuous_$ac_func
60003
60004 /* System header to define __stub macros and hopefully few prototypes,
60005 which can conflict with char $ac_func (); below.
60006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60007 <limits.h> exists even on freestanding compilers. */
60008
60009 #ifdef __STDC__
60010 # include <limits.h>
60011 #else
60012 # include <assert.h>
60013 #endif
60014
60015 #undef $ac_func
60016
60017 /* Override any gcc2 internal prototype to avoid an error. */
60018 #ifdef __cplusplus
60019 extern "C"
60020 {
60021 #endif
60022 /* We use char because int might match the return type of a gcc2
60023 builtin and then its argument prototype would still apply. */
60024 char $ac_func ();
60025 /* The GNU C library defines this for functions which it implements
60026 to always fail with ENOSYS. Some functions are actually named
60027 something starting with __ and the normal name is an alias. */
60028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60029 choke me
60030 #else
60031 char (*f) () = $ac_func;
60032 #endif
60033 #ifdef __cplusplus
60034 }
60035 #endif
60036
60037 int
60038 main ()
60039 {
60040 return f != $ac_func;
60041 ;
60042 return 0;
60043 }
60044 _ACEOF
60045 rm -f conftest.$ac_objext conftest$ac_exeext
60046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60047 (eval $ac_link) 2>conftest.er1
60048 ac_status=$?
60049 grep -v '^ *+' conftest.er1 >conftest.err
60050 rm -f conftest.er1
60051 cat conftest.err >&5
60052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60053 (exit $ac_status); } &&
60054 { ac_try='test -z "$ac_c_werror_flag"
60055 || test ! -s conftest.err'
60056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60057 (eval $ac_try) 2>&5
60058 ac_status=$?
60059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60060 (exit $ac_status); }; } &&
60061 { ac_try='test -s conftest$ac_exeext'
60062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60063 (eval $ac_try) 2>&5
60064 ac_status=$?
60065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60066 (exit $ac_status); }; }; then
60067 eval "$as_ac_var=yes"
60068 else
60069 echo "$as_me: failed program was:" >&5
60070 sed 's/^/| /' conftest.$ac_ext >&5
60071
60072 eval "$as_ac_var=no"
60073 fi
60074 rm -f conftest.err conftest.$ac_objext \
60075 conftest$ac_exeext conftest.$ac_ext
60076 fi
60077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60079 if test `eval echo '${'$as_ac_var'}'` = yes; then
60080 cat >>confdefs.h <<_ACEOF
60081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60082 _ACEOF
60083
60084 fi
60085 done
60086
60087 fi
60088 fi
60089
60090
60091
60092
60093
60094
60095 echo "$as_me:$LINENO: checking for finite declaration" >&5
60096 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
60097 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60098 if test "${glibcxx_cv_func_finite_use+set}" = set; then
60099 echo $ECHO_N "(cached) $ECHO_C" >&6
60100 else
60101
60102
60103
60104 ac_ext=cc
60105 ac_cpp='$CXXCPP $CPPFLAGS'
60106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60109
60110 cat >conftest.$ac_ext <<_ACEOF
60111 /* confdefs.h. */
60112 _ACEOF
60113 cat confdefs.h >>conftest.$ac_ext
60114 cat >>conftest.$ac_ext <<_ACEOF
60115 /* end confdefs.h. */
60116 #include <math.h>
60117 #ifdef HAVE_IEEEFP_H
60118 #include <ieeefp.h>
60119 #endif
60120
60121 int
60122 main ()
60123 {
60124 finite(0);
60125 ;
60126 return 0;
60127 }
60128 _ACEOF
60129 rm -f conftest.$ac_objext
60130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60131 (eval $ac_compile) 2>conftest.er1
60132 ac_status=$?
60133 grep -v '^ *+' conftest.er1 >conftest.err
60134 rm -f conftest.er1
60135 cat conftest.err >&5
60136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137 (exit $ac_status); } &&
60138 { ac_try='test -z "$ac_cxx_werror_flag"
60139 || test ! -s conftest.err'
60140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60141 (eval $ac_try) 2>&5
60142 ac_status=$?
60143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60144 (exit $ac_status); }; } &&
60145 { ac_try='test -s conftest.$ac_objext'
60146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60147 (eval $ac_try) 2>&5
60148 ac_status=$?
60149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60150 (exit $ac_status); }; }; then
60151 glibcxx_cv_func_finite_use=yes
60152 else
60153 echo "$as_me: failed program was:" >&5
60154 sed 's/^/| /' conftest.$ac_ext >&5
60155
60156 glibcxx_cv_func_finite_use=no
60157 fi
60158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60159 ac_ext=c
60160 ac_cpp='$CPP $CPPFLAGS'
60161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60164
60165
60166 fi
60167
60168 fi
60169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
60170 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
60171
60172 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60173
60174 for ac_func in finite
60175 do
60176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60177 echo "$as_me:$LINENO: checking for $ac_func" >&5
60178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60179 if eval "test \"\${$as_ac_var+set}\" = set"; then
60180 echo $ECHO_N "(cached) $ECHO_C" >&6
60181 else
60182 if test x$gcc_no_link = xyes; then
60183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60185 { (exit 1); exit 1; }; }
60186 fi
60187 cat >conftest.$ac_ext <<_ACEOF
60188 /* confdefs.h. */
60189 _ACEOF
60190 cat confdefs.h >>conftest.$ac_ext
60191 cat >>conftest.$ac_ext <<_ACEOF
60192 /* end confdefs.h. */
60193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60195 #define $ac_func innocuous_$ac_func
60196
60197 /* System header to define __stub macros and hopefully few prototypes,
60198 which can conflict with char $ac_func (); below.
60199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60200 <limits.h> exists even on freestanding compilers. */
60201
60202 #ifdef __STDC__
60203 # include <limits.h>
60204 #else
60205 # include <assert.h>
60206 #endif
60207
60208 #undef $ac_func
60209
60210 /* Override any gcc2 internal prototype to avoid an error. */
60211 #ifdef __cplusplus
60212 extern "C"
60213 {
60214 #endif
60215 /* We use char because int might match the return type of a gcc2
60216 builtin and then its argument prototype would still apply. */
60217 char $ac_func ();
60218 /* The GNU C library defines this for functions which it implements
60219 to always fail with ENOSYS. Some functions are actually named
60220 something starting with __ and the normal name is an alias. */
60221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60222 choke me
60223 #else
60224 char (*f) () = $ac_func;
60225 #endif
60226 #ifdef __cplusplus
60227 }
60228 #endif
60229
60230 int
60231 main ()
60232 {
60233 return f != $ac_func;
60234 ;
60235 return 0;
60236 }
60237 _ACEOF
60238 rm -f conftest.$ac_objext conftest$ac_exeext
60239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60240 (eval $ac_link) 2>conftest.er1
60241 ac_status=$?
60242 grep -v '^ *+' conftest.er1 >conftest.err
60243 rm -f conftest.er1
60244 cat conftest.err >&5
60245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60246 (exit $ac_status); } &&
60247 { ac_try='test -z "$ac_c_werror_flag"
60248 || test ! -s conftest.err'
60249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60250 (eval $ac_try) 2>&5
60251 ac_status=$?
60252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60253 (exit $ac_status); }; } &&
60254 { ac_try='test -s conftest$ac_exeext'
60255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60256 (eval $ac_try) 2>&5
60257 ac_status=$?
60258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60259 (exit $ac_status); }; }; then
60260 eval "$as_ac_var=yes"
60261 else
60262 echo "$as_me: failed program was:" >&5
60263 sed 's/^/| /' conftest.$ac_ext >&5
60264
60265 eval "$as_ac_var=no"
60266 fi
60267 rm -f conftest.err conftest.$ac_objext \
60268 conftest$ac_exeext conftest.$ac_ext
60269 fi
60270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60272 if test `eval echo '${'$as_ac_var'}'` = yes; then
60273 cat >>confdefs.h <<_ACEOF
60274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60275 _ACEOF
60276
60277 fi
60278 done
60279
60280 else
60281
60282 echo "$as_me:$LINENO: checking for _finite declaration" >&5
60283 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
60284 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60285 if test "${glibcxx_cv_func__finite_use+set}" = set; then
60286 echo $ECHO_N "(cached) $ECHO_C" >&6
60287 else
60288
60289
60290
60291 ac_ext=cc
60292 ac_cpp='$CXXCPP $CPPFLAGS'
60293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60296
60297 cat >conftest.$ac_ext <<_ACEOF
60298 /* confdefs.h. */
60299 _ACEOF
60300 cat confdefs.h >>conftest.$ac_ext
60301 cat >>conftest.$ac_ext <<_ACEOF
60302 /* end confdefs.h. */
60303 #include <math.h>
60304 #ifdef HAVE_IEEEFP_H
60305 #include <ieeefp.h>
60306 #endif
60307
60308 int
60309 main ()
60310 {
60311 _finite(0);
60312 ;
60313 return 0;
60314 }
60315 _ACEOF
60316 rm -f conftest.$ac_objext
60317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60318 (eval $ac_compile) 2>conftest.er1
60319 ac_status=$?
60320 grep -v '^ *+' conftest.er1 >conftest.err
60321 rm -f conftest.er1
60322 cat conftest.err >&5
60323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60324 (exit $ac_status); } &&
60325 { ac_try='test -z "$ac_cxx_werror_flag"
60326 || test ! -s conftest.err'
60327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60328 (eval $ac_try) 2>&5
60329 ac_status=$?
60330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60331 (exit $ac_status); }; } &&
60332 { ac_try='test -s conftest.$ac_objext'
60333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60334 (eval $ac_try) 2>&5
60335 ac_status=$?
60336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60337 (exit $ac_status); }; }; then
60338 glibcxx_cv_func__finite_use=yes
60339 else
60340 echo "$as_me: failed program was:" >&5
60341 sed 's/^/| /' conftest.$ac_ext >&5
60342
60343 glibcxx_cv_func__finite_use=no
60344 fi
60345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60346 ac_ext=c
60347 ac_cpp='$CPP $CPPFLAGS'
60348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60351
60352
60353 fi
60354
60355 fi
60356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
60357 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
60358
60359 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60360
60361 for ac_func in _finite
60362 do
60363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60364 echo "$as_me:$LINENO: checking for $ac_func" >&5
60365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60366 if eval "test \"\${$as_ac_var+set}\" = set"; then
60367 echo $ECHO_N "(cached) $ECHO_C" >&6
60368 else
60369 if test x$gcc_no_link = xyes; then
60370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60372 { (exit 1); exit 1; }; }
60373 fi
60374 cat >conftest.$ac_ext <<_ACEOF
60375 /* confdefs.h. */
60376 _ACEOF
60377 cat confdefs.h >>conftest.$ac_ext
60378 cat >>conftest.$ac_ext <<_ACEOF
60379 /* end confdefs.h. */
60380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60382 #define $ac_func innocuous_$ac_func
60383
60384 /* System header to define __stub macros and hopefully few prototypes,
60385 which can conflict with char $ac_func (); below.
60386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60387 <limits.h> exists even on freestanding compilers. */
60388
60389 #ifdef __STDC__
60390 # include <limits.h>
60391 #else
60392 # include <assert.h>
60393 #endif
60394
60395 #undef $ac_func
60396
60397 /* Override any gcc2 internal prototype to avoid an error. */
60398 #ifdef __cplusplus
60399 extern "C"
60400 {
60401 #endif
60402 /* We use char because int might match the return type of a gcc2
60403 builtin and then its argument prototype would still apply. */
60404 char $ac_func ();
60405 /* The GNU C library defines this for functions which it implements
60406 to always fail with ENOSYS. Some functions are actually named
60407 something starting with __ and the normal name is an alias. */
60408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60409 choke me
60410 #else
60411 char (*f) () = $ac_func;
60412 #endif
60413 #ifdef __cplusplus
60414 }
60415 #endif
60416
60417 int
60418 main ()
60419 {
60420 return f != $ac_func;
60421 ;
60422 return 0;
60423 }
60424 _ACEOF
60425 rm -f conftest.$ac_objext conftest$ac_exeext
60426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60427 (eval $ac_link) 2>conftest.er1
60428 ac_status=$?
60429 grep -v '^ *+' conftest.er1 >conftest.err
60430 rm -f conftest.er1
60431 cat conftest.err >&5
60432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60433 (exit $ac_status); } &&
60434 { ac_try='test -z "$ac_c_werror_flag"
60435 || test ! -s conftest.err'
60436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60437 (eval $ac_try) 2>&5
60438 ac_status=$?
60439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60440 (exit $ac_status); }; } &&
60441 { ac_try='test -s conftest$ac_exeext'
60442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60443 (eval $ac_try) 2>&5
60444 ac_status=$?
60445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60446 (exit $ac_status); }; }; then
60447 eval "$as_ac_var=yes"
60448 else
60449 echo "$as_me: failed program was:" >&5
60450 sed 's/^/| /' conftest.$ac_ext >&5
60451
60452 eval "$as_ac_var=no"
60453 fi
60454 rm -f conftest.err conftest.$ac_objext \
60455 conftest$ac_exeext conftest.$ac_ext
60456 fi
60457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60459 if test `eval echo '${'$as_ac_var'}'` = yes; then
60460 cat >>confdefs.h <<_ACEOF
60461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60462 _ACEOF
60463
60464 fi
60465 done
60466
60467 fi
60468 fi
60469
60470
60471
60472
60473
60474
60475 echo "$as_me:$LINENO: checking for sincos declaration" >&5
60476 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
60477 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60478 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
60479 echo $ECHO_N "(cached) $ECHO_C" >&6
60480 else
60481
60482
60483
60484 ac_ext=cc
60485 ac_cpp='$CXXCPP $CPPFLAGS'
60486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60489
60490 cat >conftest.$ac_ext <<_ACEOF
60491 /* confdefs.h. */
60492 _ACEOF
60493 cat confdefs.h >>conftest.$ac_ext
60494 cat >>conftest.$ac_ext <<_ACEOF
60495 /* end confdefs.h. */
60496 #include <math.h>
60497 int
60498 main ()
60499 {
60500 sincos(0, 0, 0);
60501 ;
60502 return 0;
60503 }
60504 _ACEOF
60505 rm -f conftest.$ac_objext
60506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60507 (eval $ac_compile) 2>conftest.er1
60508 ac_status=$?
60509 grep -v '^ *+' conftest.er1 >conftest.err
60510 rm -f conftest.er1
60511 cat conftest.err >&5
60512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60513 (exit $ac_status); } &&
60514 { ac_try='test -z "$ac_cxx_werror_flag"
60515 || test ! -s conftest.err'
60516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60517 (eval $ac_try) 2>&5
60518 ac_status=$?
60519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60520 (exit $ac_status); }; } &&
60521 { ac_try='test -s conftest.$ac_objext'
60522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60523 (eval $ac_try) 2>&5
60524 ac_status=$?
60525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60526 (exit $ac_status); }; }; then
60527 glibcxx_cv_func_sincos_use=yes
60528 else
60529 echo "$as_me: failed program was:" >&5
60530 sed 's/^/| /' conftest.$ac_ext >&5
60531
60532 glibcxx_cv_func_sincos_use=no
60533 fi
60534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60535 ac_ext=c
60536 ac_cpp='$CPP $CPPFLAGS'
60537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60540
60541
60542 fi
60543
60544 fi
60545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
60546 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
60547
60548 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60549
60550 for ac_func in sincos
60551 do
60552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60553 echo "$as_me:$LINENO: checking for $ac_func" >&5
60554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60555 if eval "test \"\${$as_ac_var+set}\" = set"; then
60556 echo $ECHO_N "(cached) $ECHO_C" >&6
60557 else
60558 if test x$gcc_no_link = xyes; then
60559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60561 { (exit 1); exit 1; }; }
60562 fi
60563 cat >conftest.$ac_ext <<_ACEOF
60564 /* confdefs.h. */
60565 _ACEOF
60566 cat confdefs.h >>conftest.$ac_ext
60567 cat >>conftest.$ac_ext <<_ACEOF
60568 /* end confdefs.h. */
60569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60571 #define $ac_func innocuous_$ac_func
60572
60573 /* System header to define __stub macros and hopefully few prototypes,
60574 which can conflict with char $ac_func (); below.
60575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60576 <limits.h> exists even on freestanding compilers. */
60577
60578 #ifdef __STDC__
60579 # include <limits.h>
60580 #else
60581 # include <assert.h>
60582 #endif
60583
60584 #undef $ac_func
60585
60586 /* Override any gcc2 internal prototype to avoid an error. */
60587 #ifdef __cplusplus
60588 extern "C"
60589 {
60590 #endif
60591 /* We use char because int might match the return type of a gcc2
60592 builtin and then its argument prototype would still apply. */
60593 char $ac_func ();
60594 /* The GNU C library defines this for functions which it implements
60595 to always fail with ENOSYS. Some functions are actually named
60596 something starting with __ and the normal name is an alias. */
60597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60598 choke me
60599 #else
60600 char (*f) () = $ac_func;
60601 #endif
60602 #ifdef __cplusplus
60603 }
60604 #endif
60605
60606 int
60607 main ()
60608 {
60609 return f != $ac_func;
60610 ;
60611 return 0;
60612 }
60613 _ACEOF
60614 rm -f conftest.$ac_objext conftest$ac_exeext
60615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60616 (eval $ac_link) 2>conftest.er1
60617 ac_status=$?
60618 grep -v '^ *+' conftest.er1 >conftest.err
60619 rm -f conftest.er1
60620 cat conftest.err >&5
60621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60622 (exit $ac_status); } &&
60623 { ac_try='test -z "$ac_c_werror_flag"
60624 || test ! -s conftest.err'
60625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60626 (eval $ac_try) 2>&5
60627 ac_status=$?
60628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60629 (exit $ac_status); }; } &&
60630 { ac_try='test -s conftest$ac_exeext'
60631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60632 (eval $ac_try) 2>&5
60633 ac_status=$?
60634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60635 (exit $ac_status); }; }; then
60636 eval "$as_ac_var=yes"
60637 else
60638 echo "$as_me: failed program was:" >&5
60639 sed 's/^/| /' conftest.$ac_ext >&5
60640
60641 eval "$as_ac_var=no"
60642 fi
60643 rm -f conftest.err conftest.$ac_objext \
60644 conftest$ac_exeext conftest.$ac_ext
60645 fi
60646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60648 if test `eval echo '${'$as_ac_var'}'` = yes; then
60649 cat >>confdefs.h <<_ACEOF
60650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60651 _ACEOF
60652
60653 fi
60654 done
60655
60656 else
60657
60658 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
60659 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
60660 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60661 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
60662 echo $ECHO_N "(cached) $ECHO_C" >&6
60663 else
60664
60665
60666
60667 ac_ext=cc
60668 ac_cpp='$CXXCPP $CPPFLAGS'
60669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60672
60673 cat >conftest.$ac_ext <<_ACEOF
60674 /* confdefs.h. */
60675 _ACEOF
60676 cat confdefs.h >>conftest.$ac_ext
60677 cat >>conftest.$ac_ext <<_ACEOF
60678 /* end confdefs.h. */
60679 #include <math.h>
60680 int
60681 main ()
60682 {
60683 _sincos(0, 0, 0);
60684 ;
60685 return 0;
60686 }
60687 _ACEOF
60688 rm -f conftest.$ac_objext
60689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60690 (eval $ac_compile) 2>conftest.er1
60691 ac_status=$?
60692 grep -v '^ *+' conftest.er1 >conftest.err
60693 rm -f conftest.er1
60694 cat conftest.err >&5
60695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60696 (exit $ac_status); } &&
60697 { ac_try='test -z "$ac_cxx_werror_flag"
60698 || test ! -s conftest.err'
60699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60700 (eval $ac_try) 2>&5
60701 ac_status=$?
60702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60703 (exit $ac_status); }; } &&
60704 { ac_try='test -s conftest.$ac_objext'
60705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60706 (eval $ac_try) 2>&5
60707 ac_status=$?
60708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60709 (exit $ac_status); }; }; then
60710 glibcxx_cv_func__sincos_use=yes
60711 else
60712 echo "$as_me: failed program was:" >&5
60713 sed 's/^/| /' conftest.$ac_ext >&5
60714
60715 glibcxx_cv_func__sincos_use=no
60716 fi
60717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60718 ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60723
60724
60725 fi
60726
60727 fi
60728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
60729 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
60730
60731 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60732
60733 for ac_func in _sincos
60734 do
60735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60736 echo "$as_me:$LINENO: checking for $ac_func" >&5
60737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60738 if eval "test \"\${$as_ac_var+set}\" = set"; then
60739 echo $ECHO_N "(cached) $ECHO_C" >&6
60740 else
60741 if test x$gcc_no_link = xyes; then
60742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60744 { (exit 1); exit 1; }; }
60745 fi
60746 cat >conftest.$ac_ext <<_ACEOF
60747 /* confdefs.h. */
60748 _ACEOF
60749 cat confdefs.h >>conftest.$ac_ext
60750 cat >>conftest.$ac_ext <<_ACEOF
60751 /* end confdefs.h. */
60752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60754 #define $ac_func innocuous_$ac_func
60755
60756 /* System header to define __stub macros and hopefully few prototypes,
60757 which can conflict with char $ac_func (); below.
60758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60759 <limits.h> exists even on freestanding compilers. */
60760
60761 #ifdef __STDC__
60762 # include <limits.h>
60763 #else
60764 # include <assert.h>
60765 #endif
60766
60767 #undef $ac_func
60768
60769 /* Override any gcc2 internal prototype to avoid an error. */
60770 #ifdef __cplusplus
60771 extern "C"
60772 {
60773 #endif
60774 /* We use char because int might match the return type of a gcc2
60775 builtin and then its argument prototype would still apply. */
60776 char $ac_func ();
60777 /* The GNU C library defines this for functions which it implements
60778 to always fail with ENOSYS. Some functions are actually named
60779 something starting with __ and the normal name is an alias. */
60780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60781 choke me
60782 #else
60783 char (*f) () = $ac_func;
60784 #endif
60785 #ifdef __cplusplus
60786 }
60787 #endif
60788
60789 int
60790 main ()
60791 {
60792 return f != $ac_func;
60793 ;
60794 return 0;
60795 }
60796 _ACEOF
60797 rm -f conftest.$ac_objext conftest$ac_exeext
60798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60799 (eval $ac_link) 2>conftest.er1
60800 ac_status=$?
60801 grep -v '^ *+' conftest.er1 >conftest.err
60802 rm -f conftest.er1
60803 cat conftest.err >&5
60804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60805 (exit $ac_status); } &&
60806 { ac_try='test -z "$ac_c_werror_flag"
60807 || test ! -s conftest.err'
60808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60809 (eval $ac_try) 2>&5
60810 ac_status=$?
60811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812 (exit $ac_status); }; } &&
60813 { ac_try='test -s conftest$ac_exeext'
60814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60815 (eval $ac_try) 2>&5
60816 ac_status=$?
60817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60818 (exit $ac_status); }; }; then
60819 eval "$as_ac_var=yes"
60820 else
60821 echo "$as_me: failed program was:" >&5
60822 sed 's/^/| /' conftest.$ac_ext >&5
60823
60824 eval "$as_ac_var=no"
60825 fi
60826 rm -f conftest.err conftest.$ac_objext \
60827 conftest$ac_exeext conftest.$ac_ext
60828 fi
60829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60831 if test `eval echo '${'$as_ac_var'}'` = yes; then
60832 cat >>confdefs.h <<_ACEOF
60833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60834 _ACEOF
60835
60836 fi
60837 done
60838
60839 fi
60840 fi
60841
60842
60843
60844
60845
60846
60847 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
60848 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
60849 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60850 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
60851 echo $ECHO_N "(cached) $ECHO_C" >&6
60852 else
60853
60854
60855
60856 ac_ext=cc
60857 ac_cpp='$CXXCPP $CPPFLAGS'
60858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60861
60862 cat >conftest.$ac_ext <<_ACEOF
60863 /* confdefs.h. */
60864 _ACEOF
60865 cat confdefs.h >>conftest.$ac_ext
60866 cat >>conftest.$ac_ext <<_ACEOF
60867 /* end confdefs.h. */
60868 #include <math.h>
60869 #ifdef HAVE_IEEEFP_H
60870 #include <ieeefp.h>
60871 #endif
60872
60873 int
60874 main ()
60875 {
60876 fpclass(0);
60877 ;
60878 return 0;
60879 }
60880 _ACEOF
60881 rm -f conftest.$ac_objext
60882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60883 (eval $ac_compile) 2>conftest.er1
60884 ac_status=$?
60885 grep -v '^ *+' conftest.er1 >conftest.err
60886 rm -f conftest.er1
60887 cat conftest.err >&5
60888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60889 (exit $ac_status); } &&
60890 { ac_try='test -z "$ac_cxx_werror_flag"
60891 || test ! -s conftest.err'
60892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60893 (eval $ac_try) 2>&5
60894 ac_status=$?
60895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60896 (exit $ac_status); }; } &&
60897 { ac_try='test -s conftest.$ac_objext'
60898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60899 (eval $ac_try) 2>&5
60900 ac_status=$?
60901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60902 (exit $ac_status); }; }; then
60903 glibcxx_cv_func_fpclass_use=yes
60904 else
60905 echo "$as_me: failed program was:" >&5
60906 sed 's/^/| /' conftest.$ac_ext >&5
60907
60908 glibcxx_cv_func_fpclass_use=no
60909 fi
60910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60911 ac_ext=c
60912 ac_cpp='$CPP $CPPFLAGS'
60913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60916
60917
60918 fi
60919
60920 fi
60921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
60922 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
60923
60924 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60925
60926 for ac_func in fpclass
60927 do
60928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60929 echo "$as_me:$LINENO: checking for $ac_func" >&5
60930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60931 if eval "test \"\${$as_ac_var+set}\" = set"; then
60932 echo $ECHO_N "(cached) $ECHO_C" >&6
60933 else
60934 if test x$gcc_no_link = xyes; then
60935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60937 { (exit 1); exit 1; }; }
60938 fi
60939 cat >conftest.$ac_ext <<_ACEOF
60940 /* confdefs.h. */
60941 _ACEOF
60942 cat confdefs.h >>conftest.$ac_ext
60943 cat >>conftest.$ac_ext <<_ACEOF
60944 /* end confdefs.h. */
60945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60947 #define $ac_func innocuous_$ac_func
60948
60949 /* System header to define __stub macros and hopefully few prototypes,
60950 which can conflict with char $ac_func (); below.
60951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60952 <limits.h> exists even on freestanding compilers. */
60953
60954 #ifdef __STDC__
60955 # include <limits.h>
60956 #else
60957 # include <assert.h>
60958 #endif
60959
60960 #undef $ac_func
60961
60962 /* Override any gcc2 internal prototype to avoid an error. */
60963 #ifdef __cplusplus
60964 extern "C"
60965 {
60966 #endif
60967 /* We use char because int might match the return type of a gcc2
60968 builtin and then its argument prototype would still apply. */
60969 char $ac_func ();
60970 /* The GNU C library defines this for functions which it implements
60971 to always fail with ENOSYS. Some functions are actually named
60972 something starting with __ and the normal name is an alias. */
60973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60974 choke me
60975 #else
60976 char (*f) () = $ac_func;
60977 #endif
60978 #ifdef __cplusplus
60979 }
60980 #endif
60981
60982 int
60983 main ()
60984 {
60985 return f != $ac_func;
60986 ;
60987 return 0;
60988 }
60989 _ACEOF
60990 rm -f conftest.$ac_objext conftest$ac_exeext
60991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60992 (eval $ac_link) 2>conftest.er1
60993 ac_status=$?
60994 grep -v '^ *+' conftest.er1 >conftest.err
60995 rm -f conftest.er1
60996 cat conftest.err >&5
60997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60998 (exit $ac_status); } &&
60999 { ac_try='test -z "$ac_c_werror_flag"
61000 || test ! -s conftest.err'
61001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61002 (eval $ac_try) 2>&5
61003 ac_status=$?
61004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61005 (exit $ac_status); }; } &&
61006 { ac_try='test -s conftest$ac_exeext'
61007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61008 (eval $ac_try) 2>&5
61009 ac_status=$?
61010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61011 (exit $ac_status); }; }; then
61012 eval "$as_ac_var=yes"
61013 else
61014 echo "$as_me: failed program was:" >&5
61015 sed 's/^/| /' conftest.$ac_ext >&5
61016
61017 eval "$as_ac_var=no"
61018 fi
61019 rm -f conftest.err conftest.$ac_objext \
61020 conftest$ac_exeext conftest.$ac_ext
61021 fi
61022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61024 if test `eval echo '${'$as_ac_var'}'` = yes; then
61025 cat >>confdefs.h <<_ACEOF
61026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61027 _ACEOF
61028
61029 fi
61030 done
61031
61032 else
61033
61034 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
61035 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
61036 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61037 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
61038 echo $ECHO_N "(cached) $ECHO_C" >&6
61039 else
61040
61041
61042
61043 ac_ext=cc
61044 ac_cpp='$CXXCPP $CPPFLAGS'
61045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61048
61049 cat >conftest.$ac_ext <<_ACEOF
61050 /* confdefs.h. */
61051 _ACEOF
61052 cat confdefs.h >>conftest.$ac_ext
61053 cat >>conftest.$ac_ext <<_ACEOF
61054 /* end confdefs.h. */
61055 #include <math.h>
61056 #ifdef HAVE_IEEEFP_H
61057 #include <ieeefp.h>
61058 #endif
61059
61060 int
61061 main ()
61062 {
61063 _fpclass(0);
61064 ;
61065 return 0;
61066 }
61067 _ACEOF
61068 rm -f conftest.$ac_objext
61069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61070 (eval $ac_compile) 2>conftest.er1
61071 ac_status=$?
61072 grep -v '^ *+' conftest.er1 >conftest.err
61073 rm -f conftest.er1
61074 cat conftest.err >&5
61075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61076 (exit $ac_status); } &&
61077 { ac_try='test -z "$ac_cxx_werror_flag"
61078 || test ! -s conftest.err'
61079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61080 (eval $ac_try) 2>&5
61081 ac_status=$?
61082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61083 (exit $ac_status); }; } &&
61084 { ac_try='test -s conftest.$ac_objext'
61085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61086 (eval $ac_try) 2>&5
61087 ac_status=$?
61088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61089 (exit $ac_status); }; }; then
61090 glibcxx_cv_func__fpclass_use=yes
61091 else
61092 echo "$as_me: failed program was:" >&5
61093 sed 's/^/| /' conftest.$ac_ext >&5
61094
61095 glibcxx_cv_func__fpclass_use=no
61096 fi
61097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61098 ac_ext=c
61099 ac_cpp='$CPP $CPPFLAGS'
61100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61103
61104
61105 fi
61106
61107 fi
61108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
61109 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
61110
61111 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61112
61113 for ac_func in _fpclass
61114 do
61115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61116 echo "$as_me:$LINENO: checking for $ac_func" >&5
61117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61118 if eval "test \"\${$as_ac_var+set}\" = set"; then
61119 echo $ECHO_N "(cached) $ECHO_C" >&6
61120 else
61121 if test x$gcc_no_link = xyes; then
61122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61124 { (exit 1); exit 1; }; }
61125 fi
61126 cat >conftest.$ac_ext <<_ACEOF
61127 /* confdefs.h. */
61128 _ACEOF
61129 cat confdefs.h >>conftest.$ac_ext
61130 cat >>conftest.$ac_ext <<_ACEOF
61131 /* end confdefs.h. */
61132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61134 #define $ac_func innocuous_$ac_func
61135
61136 /* System header to define __stub macros and hopefully few prototypes,
61137 which can conflict with char $ac_func (); below.
61138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61139 <limits.h> exists even on freestanding compilers. */
61140
61141 #ifdef __STDC__
61142 # include <limits.h>
61143 #else
61144 # include <assert.h>
61145 #endif
61146
61147 #undef $ac_func
61148
61149 /* Override any gcc2 internal prototype to avoid an error. */
61150 #ifdef __cplusplus
61151 extern "C"
61152 {
61153 #endif
61154 /* We use char because int might match the return type of a gcc2
61155 builtin and then its argument prototype would still apply. */
61156 char $ac_func ();
61157 /* The GNU C library defines this for functions which it implements
61158 to always fail with ENOSYS. Some functions are actually named
61159 something starting with __ and the normal name is an alias. */
61160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61161 choke me
61162 #else
61163 char (*f) () = $ac_func;
61164 #endif
61165 #ifdef __cplusplus
61166 }
61167 #endif
61168
61169 int
61170 main ()
61171 {
61172 return f != $ac_func;
61173 ;
61174 return 0;
61175 }
61176 _ACEOF
61177 rm -f conftest.$ac_objext conftest$ac_exeext
61178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61179 (eval $ac_link) 2>conftest.er1
61180 ac_status=$?
61181 grep -v '^ *+' conftest.er1 >conftest.err
61182 rm -f conftest.er1
61183 cat conftest.err >&5
61184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61185 (exit $ac_status); } &&
61186 { ac_try='test -z "$ac_c_werror_flag"
61187 || test ! -s conftest.err'
61188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61189 (eval $ac_try) 2>&5
61190 ac_status=$?
61191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61192 (exit $ac_status); }; } &&
61193 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
61199 eval "$as_ac_var=yes"
61200 else
61201 echo "$as_me: failed program was:" >&5
61202 sed 's/^/| /' conftest.$ac_ext >&5
61203
61204 eval "$as_ac_var=no"
61205 fi
61206 rm -f conftest.err conftest.$ac_objext \
61207 conftest$ac_exeext conftest.$ac_ext
61208 fi
61209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61211 if test `eval echo '${'$as_ac_var'}'` = yes; then
61212 cat >>confdefs.h <<_ACEOF
61213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61214 _ACEOF
61215
61216 fi
61217 done
61218
61219 fi
61220 fi
61221
61222
61223
61224
61225
61226
61227 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
61228 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
61229 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61230 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
61231 echo $ECHO_N "(cached) $ECHO_C" >&6
61232 else
61233
61234
61235
61236 ac_ext=cc
61237 ac_cpp='$CXXCPP $CPPFLAGS'
61238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61241
61242 cat >conftest.$ac_ext <<_ACEOF
61243 /* confdefs.h. */
61244 _ACEOF
61245 cat confdefs.h >>conftest.$ac_ext
61246 cat >>conftest.$ac_ext <<_ACEOF
61247 /* end confdefs.h. */
61248 #include <math.h>
61249 #ifdef HAVE_IEEEFP_H
61250 #include <ieeefp.h>
61251 #endif
61252
61253 int
61254 main ()
61255 {
61256 qfpclass(0);
61257 ;
61258 return 0;
61259 }
61260 _ACEOF
61261 rm -f conftest.$ac_objext
61262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61263 (eval $ac_compile) 2>conftest.er1
61264 ac_status=$?
61265 grep -v '^ *+' conftest.er1 >conftest.err
61266 rm -f conftest.er1
61267 cat conftest.err >&5
61268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61269 (exit $ac_status); } &&
61270 { ac_try='test -z "$ac_cxx_werror_flag"
61271 || test ! -s conftest.err'
61272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61273 (eval $ac_try) 2>&5
61274 ac_status=$?
61275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61276 (exit $ac_status); }; } &&
61277 { ac_try='test -s conftest.$ac_objext'
61278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61279 (eval $ac_try) 2>&5
61280 ac_status=$?
61281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61282 (exit $ac_status); }; }; then
61283 glibcxx_cv_func_qfpclass_use=yes
61284 else
61285 echo "$as_me: failed program was:" >&5
61286 sed 's/^/| /' conftest.$ac_ext >&5
61287
61288 glibcxx_cv_func_qfpclass_use=no
61289 fi
61290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61291 ac_ext=c
61292 ac_cpp='$CPP $CPPFLAGS'
61293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61296
61297
61298 fi
61299
61300 fi
61301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
61302 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
61303
61304 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61305
61306 for ac_func in qfpclass
61307 do
61308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61309 echo "$as_me:$LINENO: checking for $ac_func" >&5
61310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61311 if eval "test \"\${$as_ac_var+set}\" = set"; then
61312 echo $ECHO_N "(cached) $ECHO_C" >&6
61313 else
61314 if test x$gcc_no_link = xyes; then
61315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61317 { (exit 1); exit 1; }; }
61318 fi
61319 cat >conftest.$ac_ext <<_ACEOF
61320 /* confdefs.h. */
61321 _ACEOF
61322 cat confdefs.h >>conftest.$ac_ext
61323 cat >>conftest.$ac_ext <<_ACEOF
61324 /* end confdefs.h. */
61325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61327 #define $ac_func innocuous_$ac_func
61328
61329 /* System header to define __stub macros and hopefully few prototypes,
61330 which can conflict with char $ac_func (); below.
61331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61332 <limits.h> exists even on freestanding compilers. */
61333
61334 #ifdef __STDC__
61335 # include <limits.h>
61336 #else
61337 # include <assert.h>
61338 #endif
61339
61340 #undef $ac_func
61341
61342 /* Override any gcc2 internal prototype to avoid an error. */
61343 #ifdef __cplusplus
61344 extern "C"
61345 {
61346 #endif
61347 /* We use char because int might match the return type of a gcc2
61348 builtin and then its argument prototype would still apply. */
61349 char $ac_func ();
61350 /* The GNU C library defines this for functions which it implements
61351 to always fail with ENOSYS. Some functions are actually named
61352 something starting with __ and the normal name is an alias. */
61353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61354 choke me
61355 #else
61356 char (*f) () = $ac_func;
61357 #endif
61358 #ifdef __cplusplus
61359 }
61360 #endif
61361
61362 int
61363 main ()
61364 {
61365 return f != $ac_func;
61366 ;
61367 return 0;
61368 }
61369 _ACEOF
61370 rm -f conftest.$ac_objext conftest$ac_exeext
61371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61372 (eval $ac_link) 2>conftest.er1
61373 ac_status=$?
61374 grep -v '^ *+' conftest.er1 >conftest.err
61375 rm -f conftest.er1
61376 cat conftest.err >&5
61377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61378 (exit $ac_status); } &&
61379 { ac_try='test -z "$ac_c_werror_flag"
61380 || test ! -s conftest.err'
61381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61382 (eval $ac_try) 2>&5
61383 ac_status=$?
61384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61385 (exit $ac_status); }; } &&
61386 { ac_try='test -s conftest$ac_exeext'
61387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61388 (eval $ac_try) 2>&5
61389 ac_status=$?
61390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61391 (exit $ac_status); }; }; then
61392 eval "$as_ac_var=yes"
61393 else
61394 echo "$as_me: failed program was:" >&5
61395 sed 's/^/| /' conftest.$ac_ext >&5
61396
61397 eval "$as_ac_var=no"
61398 fi
61399 rm -f conftest.err conftest.$ac_objext \
61400 conftest$ac_exeext conftest.$ac_ext
61401 fi
61402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61404 if test `eval echo '${'$as_ac_var'}'` = yes; then
61405 cat >>confdefs.h <<_ACEOF
61406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61407 _ACEOF
61408
61409 fi
61410 done
61411
61412 else
61413
61414 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
61415 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
61416 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61417 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
61418 echo $ECHO_N "(cached) $ECHO_C" >&6
61419 else
61420
61421
61422
61423 ac_ext=cc
61424 ac_cpp='$CXXCPP $CPPFLAGS'
61425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61428
61429 cat >conftest.$ac_ext <<_ACEOF
61430 /* confdefs.h. */
61431 _ACEOF
61432 cat confdefs.h >>conftest.$ac_ext
61433 cat >>conftest.$ac_ext <<_ACEOF
61434 /* end confdefs.h. */
61435 #include <math.h>
61436 #ifdef HAVE_IEEEFP_H
61437 #include <ieeefp.h>
61438 #endif
61439
61440 int
61441 main ()
61442 {
61443 _qfpclass(0);
61444 ;
61445 return 0;
61446 }
61447 _ACEOF
61448 rm -f conftest.$ac_objext
61449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61450 (eval $ac_compile) 2>conftest.er1
61451 ac_status=$?
61452 grep -v '^ *+' conftest.er1 >conftest.err
61453 rm -f conftest.er1
61454 cat conftest.err >&5
61455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61456 (exit $ac_status); } &&
61457 { ac_try='test -z "$ac_cxx_werror_flag"
61458 || test ! -s conftest.err'
61459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61460 (eval $ac_try) 2>&5
61461 ac_status=$?
61462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61463 (exit $ac_status); }; } &&
61464 { ac_try='test -s conftest.$ac_objext'
61465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61466 (eval $ac_try) 2>&5
61467 ac_status=$?
61468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61469 (exit $ac_status); }; }; then
61470 glibcxx_cv_func__qfpclass_use=yes
61471 else
61472 echo "$as_me: failed program was:" >&5
61473 sed 's/^/| /' conftest.$ac_ext >&5
61474
61475 glibcxx_cv_func__qfpclass_use=no
61476 fi
61477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61478 ac_ext=c
61479 ac_cpp='$CPP $CPPFLAGS'
61480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61483
61484
61485 fi
61486
61487 fi
61488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
61489 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
61490
61491 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61492
61493 for ac_func in _qfpclass
61494 do
61495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61496 echo "$as_me:$LINENO: checking for $ac_func" >&5
61497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61498 if eval "test \"\${$as_ac_var+set}\" = set"; then
61499 echo $ECHO_N "(cached) $ECHO_C" >&6
61500 else
61501 if test x$gcc_no_link = xyes; then
61502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61504 { (exit 1); exit 1; }; }
61505 fi
61506 cat >conftest.$ac_ext <<_ACEOF
61507 /* confdefs.h. */
61508 _ACEOF
61509 cat confdefs.h >>conftest.$ac_ext
61510 cat >>conftest.$ac_ext <<_ACEOF
61511 /* end confdefs.h. */
61512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61514 #define $ac_func innocuous_$ac_func
61515
61516 /* System header to define __stub macros and hopefully few prototypes,
61517 which can conflict with char $ac_func (); below.
61518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61519 <limits.h> exists even on freestanding compilers. */
61520
61521 #ifdef __STDC__
61522 # include <limits.h>
61523 #else
61524 # include <assert.h>
61525 #endif
61526
61527 #undef $ac_func
61528
61529 /* Override any gcc2 internal prototype to avoid an error. */
61530 #ifdef __cplusplus
61531 extern "C"
61532 {
61533 #endif
61534 /* We use char because int might match the return type of a gcc2
61535 builtin and then its argument prototype would still apply. */
61536 char $ac_func ();
61537 /* The GNU C library defines this for functions which it implements
61538 to always fail with ENOSYS. Some functions are actually named
61539 something starting with __ and the normal name is an alias. */
61540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61541 choke me
61542 #else
61543 char (*f) () = $ac_func;
61544 #endif
61545 #ifdef __cplusplus
61546 }
61547 #endif
61548
61549 int
61550 main ()
61551 {
61552 return f != $ac_func;
61553 ;
61554 return 0;
61555 }
61556 _ACEOF
61557 rm -f conftest.$ac_objext conftest$ac_exeext
61558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61559 (eval $ac_link) 2>conftest.er1
61560 ac_status=$?
61561 grep -v '^ *+' conftest.er1 >conftest.err
61562 rm -f conftest.er1
61563 cat conftest.err >&5
61564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61565 (exit $ac_status); } &&
61566 { ac_try='test -z "$ac_c_werror_flag"
61567 || test ! -s conftest.err'
61568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61569 (eval $ac_try) 2>&5
61570 ac_status=$?
61571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61572 (exit $ac_status); }; } &&
61573 { ac_try='test -s conftest$ac_exeext'
61574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61575 (eval $ac_try) 2>&5
61576 ac_status=$?
61577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61578 (exit $ac_status); }; }; then
61579 eval "$as_ac_var=yes"
61580 else
61581 echo "$as_me: failed program was:" >&5
61582 sed 's/^/| /' conftest.$ac_ext >&5
61583
61584 eval "$as_ac_var=no"
61585 fi
61586 rm -f conftest.err conftest.$ac_objext \
61587 conftest$ac_exeext conftest.$ac_ext
61588 fi
61589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61591 if test `eval echo '${'$as_ac_var'}'` = yes; then
61592 cat >>confdefs.h <<_ACEOF
61593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61594 _ACEOF
61595
61596 fi
61597 done
61598
61599 fi
61600 fi
61601
61602
61603
61604
61605
61606
61607 echo "$as_me:$LINENO: checking for hypot declaration" >&5
61608 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
61609 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61610 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
61611 echo $ECHO_N "(cached) $ECHO_C" >&6
61612 else
61613
61614
61615
61616 ac_ext=cc
61617 ac_cpp='$CXXCPP $CPPFLAGS'
61618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61621
61622 cat >conftest.$ac_ext <<_ACEOF
61623 /* confdefs.h. */
61624 _ACEOF
61625 cat confdefs.h >>conftest.$ac_ext
61626 cat >>conftest.$ac_ext <<_ACEOF
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 int
61630 main ()
61631 {
61632 hypot(0, 0);
61633 ;
61634 return 0;
61635 }
61636 _ACEOF
61637 rm -f conftest.$ac_objext
61638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61639 (eval $ac_compile) 2>conftest.er1
61640 ac_status=$?
61641 grep -v '^ *+' conftest.er1 >conftest.err
61642 rm -f conftest.er1
61643 cat conftest.err >&5
61644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61645 (exit $ac_status); } &&
61646 { ac_try='test -z "$ac_cxx_werror_flag"
61647 || test ! -s conftest.err'
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); }; } &&
61653 { ac_try='test -s conftest.$ac_objext'
61654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61655 (eval $ac_try) 2>&5
61656 ac_status=$?
61657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61658 (exit $ac_status); }; }; then
61659 glibcxx_cv_func_hypot_use=yes
61660 else
61661 echo "$as_me: failed program was:" >&5
61662 sed 's/^/| /' conftest.$ac_ext >&5
61663
61664 glibcxx_cv_func_hypot_use=no
61665 fi
61666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61667 ac_ext=c
61668 ac_cpp='$CPP $CPPFLAGS'
61669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61672
61673
61674 fi
61675
61676 fi
61677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
61678 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
61679
61680 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61681
61682 for ac_func in hypot
61683 do
61684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61685 echo "$as_me:$LINENO: checking for $ac_func" >&5
61686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61687 if eval "test \"\${$as_ac_var+set}\" = set"; then
61688 echo $ECHO_N "(cached) $ECHO_C" >&6
61689 else
61690 if test x$gcc_no_link = xyes; then
61691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61693 { (exit 1); exit 1; }; }
61694 fi
61695 cat >conftest.$ac_ext <<_ACEOF
61696 /* confdefs.h. */
61697 _ACEOF
61698 cat confdefs.h >>conftest.$ac_ext
61699 cat >>conftest.$ac_ext <<_ACEOF
61700 /* end confdefs.h. */
61701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61703 #define $ac_func innocuous_$ac_func
61704
61705 /* System header to define __stub macros and hopefully few prototypes,
61706 which can conflict with char $ac_func (); below.
61707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61708 <limits.h> exists even on freestanding compilers. */
61709
61710 #ifdef __STDC__
61711 # include <limits.h>
61712 #else
61713 # include <assert.h>
61714 #endif
61715
61716 #undef $ac_func
61717
61718 /* Override any gcc2 internal prototype to avoid an error. */
61719 #ifdef __cplusplus
61720 extern "C"
61721 {
61722 #endif
61723 /* We use char because int might match the return type of a gcc2
61724 builtin and then its argument prototype would still apply. */
61725 char $ac_func ();
61726 /* The GNU C library defines this for functions which it implements
61727 to always fail with ENOSYS. Some functions are actually named
61728 something starting with __ and the normal name is an alias. */
61729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61730 choke me
61731 #else
61732 char (*f) () = $ac_func;
61733 #endif
61734 #ifdef __cplusplus
61735 }
61736 #endif
61737
61738 int
61739 main ()
61740 {
61741 return f != $ac_func;
61742 ;
61743 return 0;
61744 }
61745 _ACEOF
61746 rm -f conftest.$ac_objext conftest$ac_exeext
61747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61748 (eval $ac_link) 2>conftest.er1
61749 ac_status=$?
61750 grep -v '^ *+' conftest.er1 >conftest.err
61751 rm -f conftest.er1
61752 cat conftest.err >&5
61753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61754 (exit $ac_status); } &&
61755 { ac_try='test -z "$ac_c_werror_flag"
61756 || test ! -s conftest.err'
61757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61758 (eval $ac_try) 2>&5
61759 ac_status=$?
61760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61761 (exit $ac_status); }; } &&
61762 { ac_try='test -s conftest$ac_exeext'
61763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61764 (eval $ac_try) 2>&5
61765 ac_status=$?
61766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61767 (exit $ac_status); }; }; then
61768 eval "$as_ac_var=yes"
61769 else
61770 echo "$as_me: failed program was:" >&5
61771 sed 's/^/| /' conftest.$ac_ext >&5
61772
61773 eval "$as_ac_var=no"
61774 fi
61775 rm -f conftest.err conftest.$ac_objext \
61776 conftest$ac_exeext conftest.$ac_ext
61777 fi
61778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61780 if test `eval echo '${'$as_ac_var'}'` = yes; then
61781 cat >>confdefs.h <<_ACEOF
61782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61783 _ACEOF
61784
61785 fi
61786 done
61787
61788 else
61789
61790 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
61791 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
61792 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61793 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
61794 echo $ECHO_N "(cached) $ECHO_C" >&6
61795 else
61796
61797
61798
61799 ac_ext=cc
61800 ac_cpp='$CXXCPP $CPPFLAGS'
61801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61804
61805 cat >conftest.$ac_ext <<_ACEOF
61806 /* confdefs.h. */
61807 _ACEOF
61808 cat confdefs.h >>conftest.$ac_ext
61809 cat >>conftest.$ac_ext <<_ACEOF
61810 /* end confdefs.h. */
61811 #include <math.h>
61812 int
61813 main ()
61814 {
61815 _hypot(0, 0);
61816 ;
61817 return 0;
61818 }
61819 _ACEOF
61820 rm -f conftest.$ac_objext
61821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61822 (eval $ac_compile) 2>conftest.er1
61823 ac_status=$?
61824 grep -v '^ *+' conftest.er1 >conftest.err
61825 rm -f conftest.er1
61826 cat conftest.err >&5
61827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61828 (exit $ac_status); } &&
61829 { ac_try='test -z "$ac_cxx_werror_flag"
61830 || test ! -s conftest.err'
61831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61832 (eval $ac_try) 2>&5
61833 ac_status=$?
61834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61835 (exit $ac_status); }; } &&
61836 { ac_try='test -s conftest.$ac_objext'
61837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61838 (eval $ac_try) 2>&5
61839 ac_status=$?
61840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61841 (exit $ac_status); }; }; then
61842 glibcxx_cv_func__hypot_use=yes
61843 else
61844 echo "$as_me: failed program was:" >&5
61845 sed 's/^/| /' conftest.$ac_ext >&5
61846
61847 glibcxx_cv_func__hypot_use=no
61848 fi
61849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61850 ac_ext=c
61851 ac_cpp='$CPP $CPPFLAGS'
61852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61855
61856
61857 fi
61858
61859 fi
61860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
61861 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
61862
61863 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61864
61865 for ac_func in _hypot
61866 do
61867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61868 echo "$as_me:$LINENO: checking for $ac_func" >&5
61869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61870 if eval "test \"\${$as_ac_var+set}\" = set"; then
61871 echo $ECHO_N "(cached) $ECHO_C" >&6
61872 else
61873 if test x$gcc_no_link = xyes; then
61874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61876 { (exit 1); exit 1; }; }
61877 fi
61878 cat >conftest.$ac_ext <<_ACEOF
61879 /* confdefs.h. */
61880 _ACEOF
61881 cat confdefs.h >>conftest.$ac_ext
61882 cat >>conftest.$ac_ext <<_ACEOF
61883 /* end confdefs.h. */
61884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61886 #define $ac_func innocuous_$ac_func
61887
61888 /* System header to define __stub macros and hopefully few prototypes,
61889 which can conflict with char $ac_func (); below.
61890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61891 <limits.h> exists even on freestanding compilers. */
61892
61893 #ifdef __STDC__
61894 # include <limits.h>
61895 #else
61896 # include <assert.h>
61897 #endif
61898
61899 #undef $ac_func
61900
61901 /* Override any gcc2 internal prototype to avoid an error. */
61902 #ifdef __cplusplus
61903 extern "C"
61904 {
61905 #endif
61906 /* We use char because int might match the return type of a gcc2
61907 builtin and then its argument prototype would still apply. */
61908 char $ac_func ();
61909 /* The GNU C library defines this for functions which it implements
61910 to always fail with ENOSYS. Some functions are actually named
61911 something starting with __ and the normal name is an alias. */
61912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61913 choke me
61914 #else
61915 char (*f) () = $ac_func;
61916 #endif
61917 #ifdef __cplusplus
61918 }
61919 #endif
61920
61921 int
61922 main ()
61923 {
61924 return f != $ac_func;
61925 ;
61926 return 0;
61927 }
61928 _ACEOF
61929 rm -f conftest.$ac_objext conftest$ac_exeext
61930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61931 (eval $ac_link) 2>conftest.er1
61932 ac_status=$?
61933 grep -v '^ *+' conftest.er1 >conftest.err
61934 rm -f conftest.er1
61935 cat conftest.err >&5
61936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61937 (exit $ac_status); } &&
61938 { ac_try='test -z "$ac_c_werror_flag"
61939 || test ! -s conftest.err'
61940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61941 (eval $ac_try) 2>&5
61942 ac_status=$?
61943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61944 (exit $ac_status); }; } &&
61945 { ac_try='test -s conftest$ac_exeext'
61946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61947 (eval $ac_try) 2>&5
61948 ac_status=$?
61949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61950 (exit $ac_status); }; }; then
61951 eval "$as_ac_var=yes"
61952 else
61953 echo "$as_me: failed program was:" >&5
61954 sed 's/^/| /' conftest.$ac_ext >&5
61955
61956 eval "$as_ac_var=no"
61957 fi
61958 rm -f conftest.err conftest.$ac_objext \
61959 conftest$ac_exeext conftest.$ac_ext
61960 fi
61961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61963 if test `eval echo '${'$as_ac_var'}'` = yes; then
61964 cat >>confdefs.h <<_ACEOF
61965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61966 _ACEOF
61967
61968 fi
61969 done
61970
61971 fi
61972 fi
61973
61974
61975
61976
61977
61978
61979 echo "$as_me:$LINENO: checking for float trig functions" >&5
61980 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
61981 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
61982 echo $ECHO_N "(cached) $ECHO_C" >&6
61983 else
61984
61985
61986
61987 ac_ext=cc
61988 ac_cpp='$CXXCPP $CPPFLAGS'
61989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61992
61993 cat >conftest.$ac_ext <<_ACEOF
61994 /* confdefs.h. */
61995 _ACEOF
61996 cat confdefs.h >>conftest.$ac_ext
61997 cat >>conftest.$ac_ext <<_ACEOF
61998 /* end confdefs.h. */
61999 #include <math.h>
62000 int
62001 main ()
62002 {
62003 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62004 ;
62005 return 0;
62006 }
62007 _ACEOF
62008 rm -f conftest.$ac_objext
62009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62010 (eval $ac_compile) 2>conftest.er1
62011 ac_status=$?
62012 grep -v '^ *+' conftest.er1 >conftest.err
62013 rm -f conftest.er1
62014 cat conftest.err >&5
62015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62016 (exit $ac_status); } &&
62017 { ac_try='test -z "$ac_cxx_werror_flag"
62018 || test ! -s conftest.err'
62019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62020 (eval $ac_try) 2>&5
62021 ac_status=$?
62022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62023 (exit $ac_status); }; } &&
62024 { ac_try='test -s conftest.$ac_objext'
62025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62026 (eval $ac_try) 2>&5
62027 ac_status=$?
62028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62029 (exit $ac_status); }; }; then
62030 glibcxx_cv_func_float_trig_use=yes
62031 else
62032 echo "$as_me: failed program was:" >&5
62033 sed 's/^/| /' conftest.$ac_ext >&5
62034
62035 glibcxx_cv_func_float_trig_use=no
62036 fi
62037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62038 ac_ext=c
62039 ac_cpp='$CPP $CPPFLAGS'
62040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62043
62044 fi
62045
62046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
62047 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
62048 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62049
62050
62051
62052
62053
62054
62055
62056
62057
62058 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62059 do
62060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62061 echo "$as_me:$LINENO: checking for $ac_func" >&5
62062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62063 if eval "test \"\${$as_ac_var+set}\" = set"; then
62064 echo $ECHO_N "(cached) $ECHO_C" >&6
62065 else
62066 if test x$gcc_no_link = xyes; then
62067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62069 { (exit 1); exit 1; }; }
62070 fi
62071 cat >conftest.$ac_ext <<_ACEOF
62072 /* confdefs.h. */
62073 _ACEOF
62074 cat confdefs.h >>conftest.$ac_ext
62075 cat >>conftest.$ac_ext <<_ACEOF
62076 /* end confdefs.h. */
62077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62079 #define $ac_func innocuous_$ac_func
62080
62081 /* System header to define __stub macros and hopefully few prototypes,
62082 which can conflict with char $ac_func (); below.
62083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62084 <limits.h> exists even on freestanding compilers. */
62085
62086 #ifdef __STDC__
62087 # include <limits.h>
62088 #else
62089 # include <assert.h>
62090 #endif
62091
62092 #undef $ac_func
62093
62094 /* Override any gcc2 internal prototype to avoid an error. */
62095 #ifdef __cplusplus
62096 extern "C"
62097 {
62098 #endif
62099 /* We use char because int might match the return type of a gcc2
62100 builtin and then its argument prototype would still apply. */
62101 char $ac_func ();
62102 /* The GNU C library defines this for functions which it implements
62103 to always fail with ENOSYS. Some functions are actually named
62104 something starting with __ and the normal name is an alias. */
62105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62106 choke me
62107 #else
62108 char (*f) () = $ac_func;
62109 #endif
62110 #ifdef __cplusplus
62111 }
62112 #endif
62113
62114 int
62115 main ()
62116 {
62117 return f != $ac_func;
62118 ;
62119 return 0;
62120 }
62121 _ACEOF
62122 rm -f conftest.$ac_objext conftest$ac_exeext
62123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62124 (eval $ac_link) 2>conftest.er1
62125 ac_status=$?
62126 grep -v '^ *+' conftest.er1 >conftest.err
62127 rm -f conftest.er1
62128 cat conftest.err >&5
62129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62130 (exit $ac_status); } &&
62131 { ac_try='test -z "$ac_c_werror_flag"
62132 || test ! -s conftest.err'
62133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62134 (eval $ac_try) 2>&5
62135 ac_status=$?
62136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62137 (exit $ac_status); }; } &&
62138 { ac_try='test -s conftest$ac_exeext'
62139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62140 (eval $ac_try) 2>&5
62141 ac_status=$?
62142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62143 (exit $ac_status); }; }; then
62144 eval "$as_ac_var=yes"
62145 else
62146 echo "$as_me: failed program was:" >&5
62147 sed 's/^/| /' conftest.$ac_ext >&5
62148
62149 eval "$as_ac_var=no"
62150 fi
62151 rm -f conftest.err conftest.$ac_objext \
62152 conftest$ac_exeext conftest.$ac_ext
62153 fi
62154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62156 if test `eval echo '${'$as_ac_var'}'` = yes; then
62157 cat >>confdefs.h <<_ACEOF
62158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62159 _ACEOF
62160
62161 fi
62162 done
62163
62164 else
62165 echo "$as_me:$LINENO: checking for _float trig functions" >&5
62166 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
62167 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
62168 echo $ECHO_N "(cached) $ECHO_C" >&6
62169 else
62170
62171
62172
62173 ac_ext=cc
62174 ac_cpp='$CXXCPP $CPPFLAGS'
62175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62178
62179 cat >conftest.$ac_ext <<_ACEOF
62180 /* confdefs.h. */
62181 _ACEOF
62182 cat confdefs.h >>conftest.$ac_ext
62183 cat >>conftest.$ac_ext <<_ACEOF
62184 /* end confdefs.h. */
62185 #include <math.h>
62186 int
62187 main ()
62188 {
62189 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62190 ;
62191 return 0;
62192 }
62193 _ACEOF
62194 rm -f conftest.$ac_objext
62195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62196 (eval $ac_compile) 2>conftest.er1
62197 ac_status=$?
62198 grep -v '^ *+' conftest.er1 >conftest.err
62199 rm -f conftest.er1
62200 cat conftest.err >&5
62201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62202 (exit $ac_status); } &&
62203 { ac_try='test -z "$ac_cxx_werror_flag"
62204 || test ! -s conftest.err'
62205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62206 (eval $ac_try) 2>&5
62207 ac_status=$?
62208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62209 (exit $ac_status); }; } &&
62210 { ac_try='test -s conftest.$ac_objext'
62211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62212 (eval $ac_try) 2>&5
62213 ac_status=$?
62214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62215 (exit $ac_status); }; }; then
62216 glibcxx_cv_func__float_trig_use=yes
62217 else
62218 echo "$as_me: failed program was:" >&5
62219 sed 's/^/| /' conftest.$ac_ext >&5
62220
62221 glibcxx_cv_func__float_trig_use=no
62222 fi
62223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62224 ac_ext=c
62225 ac_cpp='$CPP $CPPFLAGS'
62226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62229
62230 fi
62231
62232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
62233 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
62234 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62235
62236
62237
62238
62239
62240
62241
62242
62243
62244 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62245 do
62246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62247 echo "$as_me:$LINENO: checking for $ac_func" >&5
62248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62249 if eval "test \"\${$as_ac_var+set}\" = set"; then
62250 echo $ECHO_N "(cached) $ECHO_C" >&6
62251 else
62252 if test x$gcc_no_link = xyes; then
62253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62255 { (exit 1); exit 1; }; }
62256 fi
62257 cat >conftest.$ac_ext <<_ACEOF
62258 /* confdefs.h. */
62259 _ACEOF
62260 cat confdefs.h >>conftest.$ac_ext
62261 cat >>conftest.$ac_ext <<_ACEOF
62262 /* end confdefs.h. */
62263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62265 #define $ac_func innocuous_$ac_func
62266
62267 /* System header to define __stub macros and hopefully few prototypes,
62268 which can conflict with char $ac_func (); below.
62269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62270 <limits.h> exists even on freestanding compilers. */
62271
62272 #ifdef __STDC__
62273 # include <limits.h>
62274 #else
62275 # include <assert.h>
62276 #endif
62277
62278 #undef $ac_func
62279
62280 /* Override any gcc2 internal prototype to avoid an error. */
62281 #ifdef __cplusplus
62282 extern "C"
62283 {
62284 #endif
62285 /* We use char because int might match the return type of a gcc2
62286 builtin and then its argument prototype would still apply. */
62287 char $ac_func ();
62288 /* The GNU C library defines this for functions which it implements
62289 to always fail with ENOSYS. Some functions are actually named
62290 something starting with __ and the normal name is an alias. */
62291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62292 choke me
62293 #else
62294 char (*f) () = $ac_func;
62295 #endif
62296 #ifdef __cplusplus
62297 }
62298 #endif
62299
62300 int
62301 main ()
62302 {
62303 return f != $ac_func;
62304 ;
62305 return 0;
62306 }
62307 _ACEOF
62308 rm -f conftest.$ac_objext conftest$ac_exeext
62309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62310 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
62331 else
62332 echo "$as_me: failed program was:" >&5
62333 sed 's/^/| /' conftest.$ac_ext >&5
62334
62335 eval "$as_ac_var=no"
62336 fi
62337 rm -f conftest.err conftest.$ac_objext \
62338 conftest$ac_exeext conftest.$ac_ext
62339 fi
62340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62342 if test `eval echo '${'$as_ac_var'}'` = yes; then
62343 cat >>confdefs.h <<_ACEOF
62344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62345 _ACEOF
62346
62347 fi
62348 done
62349
62350 fi
62351 fi
62352
62353
62354
62355
62356
62357
62358
62359
62360
62361
62362
62363
62364
62365
62366 echo "$as_me:$LINENO: checking for float round functions" >&5
62367 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
62368 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
62369 echo $ECHO_N "(cached) $ECHO_C" >&6
62370 else
62371
62372
62373
62374 ac_ext=cc
62375 ac_cpp='$CXXCPP $CPPFLAGS'
62376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62379
62380 cat >conftest.$ac_ext <<_ACEOF
62381 /* confdefs.h. */
62382 _ACEOF
62383 cat confdefs.h >>conftest.$ac_ext
62384 cat >>conftest.$ac_ext <<_ACEOF
62385 /* end confdefs.h. */
62386 #include <math.h>
62387 int
62388 main ()
62389 {
62390 ceilf (0); floorf (0);
62391 ;
62392 return 0;
62393 }
62394 _ACEOF
62395 rm -f conftest.$ac_objext
62396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62397 (eval $ac_compile) 2>conftest.er1
62398 ac_status=$?
62399 grep -v '^ *+' conftest.er1 >conftest.err
62400 rm -f conftest.er1
62401 cat conftest.err >&5
62402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62403 (exit $ac_status); } &&
62404 { ac_try='test -z "$ac_cxx_werror_flag"
62405 || test ! -s conftest.err'
62406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62407 (eval $ac_try) 2>&5
62408 ac_status=$?
62409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62410 (exit $ac_status); }; } &&
62411 { ac_try='test -s conftest.$ac_objext'
62412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62413 (eval $ac_try) 2>&5
62414 ac_status=$?
62415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62416 (exit $ac_status); }; }; then
62417 glibcxx_cv_func_float_round_use=yes
62418 else
62419 echo "$as_me: failed program was:" >&5
62420 sed 's/^/| /' conftest.$ac_ext >&5
62421
62422 glibcxx_cv_func_float_round_use=no
62423 fi
62424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62425 ac_ext=c
62426 ac_cpp='$CPP $CPPFLAGS'
62427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62430
62431 fi
62432
62433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
62434 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
62435 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62436
62437
62438 for ac_func in ceilf floorf
62439 do
62440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62441 echo "$as_me:$LINENO: checking for $ac_func" >&5
62442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62443 if eval "test \"\${$as_ac_var+set}\" = set"; then
62444 echo $ECHO_N "(cached) $ECHO_C" >&6
62445 else
62446 if test x$gcc_no_link = xyes; then
62447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62449 { (exit 1); exit 1; }; }
62450 fi
62451 cat >conftest.$ac_ext <<_ACEOF
62452 /* confdefs.h. */
62453 _ACEOF
62454 cat confdefs.h >>conftest.$ac_ext
62455 cat >>conftest.$ac_ext <<_ACEOF
62456 /* end confdefs.h. */
62457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62459 #define $ac_func innocuous_$ac_func
62460
62461 /* System header to define __stub macros and hopefully few prototypes,
62462 which can conflict with char $ac_func (); below.
62463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62464 <limits.h> exists even on freestanding compilers. */
62465
62466 #ifdef __STDC__
62467 # include <limits.h>
62468 #else
62469 # include <assert.h>
62470 #endif
62471
62472 #undef $ac_func
62473
62474 /* Override any gcc2 internal prototype to avoid an error. */
62475 #ifdef __cplusplus
62476 extern "C"
62477 {
62478 #endif
62479 /* We use char because int might match the return type of a gcc2
62480 builtin and then its argument prototype would still apply. */
62481 char $ac_func ();
62482 /* The GNU C library defines this for functions which it implements
62483 to always fail with ENOSYS. Some functions are actually named
62484 something starting with __ and the normal name is an alias. */
62485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62486 choke me
62487 #else
62488 char (*f) () = $ac_func;
62489 #endif
62490 #ifdef __cplusplus
62491 }
62492 #endif
62493
62494 int
62495 main ()
62496 {
62497 return f != $ac_func;
62498 ;
62499 return 0;
62500 }
62501 _ACEOF
62502 rm -f conftest.$ac_objext conftest$ac_exeext
62503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62504 (eval $ac_link) 2>conftest.er1
62505 ac_status=$?
62506 grep -v '^ *+' conftest.er1 >conftest.err
62507 rm -f conftest.er1
62508 cat conftest.err >&5
62509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62510 (exit $ac_status); } &&
62511 { ac_try='test -z "$ac_c_werror_flag"
62512 || test ! -s conftest.err'
62513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62514 (eval $ac_try) 2>&5
62515 ac_status=$?
62516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62517 (exit $ac_status); }; } &&
62518 { ac_try='test -s conftest$ac_exeext'
62519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62520 (eval $ac_try) 2>&5
62521 ac_status=$?
62522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62523 (exit $ac_status); }; }; then
62524 eval "$as_ac_var=yes"
62525 else
62526 echo "$as_me: failed program was:" >&5
62527 sed 's/^/| /' conftest.$ac_ext >&5
62528
62529 eval "$as_ac_var=no"
62530 fi
62531 rm -f conftest.err conftest.$ac_objext \
62532 conftest$ac_exeext conftest.$ac_ext
62533 fi
62534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62536 if test `eval echo '${'$as_ac_var'}'` = yes; then
62537 cat >>confdefs.h <<_ACEOF
62538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62539 _ACEOF
62540
62541 fi
62542 done
62543
62544 else
62545 echo "$as_me:$LINENO: checking for _float round functions" >&5
62546 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
62547 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
62548 echo $ECHO_N "(cached) $ECHO_C" >&6
62549 else
62550
62551
62552
62553 ac_ext=cc
62554 ac_cpp='$CXXCPP $CPPFLAGS'
62555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62558
62559 cat >conftest.$ac_ext <<_ACEOF
62560 /* confdefs.h. */
62561 _ACEOF
62562 cat confdefs.h >>conftest.$ac_ext
62563 cat >>conftest.$ac_ext <<_ACEOF
62564 /* end confdefs.h. */
62565 #include <math.h>
62566 int
62567 main ()
62568 {
62569 _ceilf (0); _floorf (0);
62570 ;
62571 return 0;
62572 }
62573 _ACEOF
62574 rm -f conftest.$ac_objext
62575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62576 (eval $ac_compile) 2>conftest.er1
62577 ac_status=$?
62578 grep -v '^ *+' conftest.er1 >conftest.err
62579 rm -f conftest.er1
62580 cat conftest.err >&5
62581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62582 (exit $ac_status); } &&
62583 { ac_try='test -z "$ac_cxx_werror_flag"
62584 || test ! -s conftest.err'
62585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62586 (eval $ac_try) 2>&5
62587 ac_status=$?
62588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62589 (exit $ac_status); }; } &&
62590 { ac_try='test -s conftest.$ac_objext'
62591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62592 (eval $ac_try) 2>&5
62593 ac_status=$?
62594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62595 (exit $ac_status); }; }; then
62596 glibcxx_cv_func__float_round_use=yes
62597 else
62598 echo "$as_me: failed program was:" >&5
62599 sed 's/^/| /' conftest.$ac_ext >&5
62600
62601 glibcxx_cv_func__float_round_use=no
62602 fi
62603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_ext=c
62605 ac_cpp='$CPP $CPPFLAGS'
62606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62609
62610 fi
62611
62612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
62613 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
62614 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62615
62616
62617 for ac_func in _ceilf _floorf
62618 do
62619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62620 echo "$as_me:$LINENO: checking for $ac_func" >&5
62621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62622 if eval "test \"\${$as_ac_var+set}\" = set"; then
62623 echo $ECHO_N "(cached) $ECHO_C" >&6
62624 else
62625 if test x$gcc_no_link = xyes; then
62626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62628 { (exit 1); exit 1; }; }
62629 fi
62630 cat >conftest.$ac_ext <<_ACEOF
62631 /* confdefs.h. */
62632 _ACEOF
62633 cat confdefs.h >>conftest.$ac_ext
62634 cat >>conftest.$ac_ext <<_ACEOF
62635 /* end confdefs.h. */
62636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62638 #define $ac_func innocuous_$ac_func
62639
62640 /* System header to define __stub macros and hopefully few prototypes,
62641 which can conflict with char $ac_func (); below.
62642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62643 <limits.h> exists even on freestanding compilers. */
62644
62645 #ifdef __STDC__
62646 # include <limits.h>
62647 #else
62648 # include <assert.h>
62649 #endif
62650
62651 #undef $ac_func
62652
62653 /* Override any gcc2 internal prototype to avoid an error. */
62654 #ifdef __cplusplus
62655 extern "C"
62656 {
62657 #endif
62658 /* We use char because int might match the return type of a gcc2
62659 builtin and then its argument prototype would still apply. */
62660 char $ac_func ();
62661 /* The GNU C library defines this for functions which it implements
62662 to always fail with ENOSYS. Some functions are actually named
62663 something starting with __ and the normal name is an alias. */
62664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62665 choke me
62666 #else
62667 char (*f) () = $ac_func;
62668 #endif
62669 #ifdef __cplusplus
62670 }
62671 #endif
62672
62673 int
62674 main ()
62675 {
62676 return f != $ac_func;
62677 ;
62678 return 0;
62679 }
62680 _ACEOF
62681 rm -f conftest.$ac_objext conftest$ac_exeext
62682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62683 (eval $ac_link) 2>conftest.er1
62684 ac_status=$?
62685 grep -v '^ *+' conftest.er1 >conftest.err
62686 rm -f conftest.er1
62687 cat conftest.err >&5
62688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62689 (exit $ac_status); } &&
62690 { ac_try='test -z "$ac_c_werror_flag"
62691 || test ! -s conftest.err'
62692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62693 (eval $ac_try) 2>&5
62694 ac_status=$?
62695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62696 (exit $ac_status); }; } &&
62697 { ac_try='test -s conftest$ac_exeext'
62698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62699 (eval $ac_try) 2>&5
62700 ac_status=$?
62701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62702 (exit $ac_status); }; }; then
62703 eval "$as_ac_var=yes"
62704 else
62705 echo "$as_me: failed program was:" >&5
62706 sed 's/^/| /' conftest.$ac_ext >&5
62707
62708 eval "$as_ac_var=no"
62709 fi
62710 rm -f conftest.err conftest.$ac_objext \
62711 conftest$ac_exeext conftest.$ac_ext
62712 fi
62713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62715 if test `eval echo '${'$as_ac_var'}'` = yes; then
62716 cat >>confdefs.h <<_ACEOF
62717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62718 _ACEOF
62719
62720 fi
62721 done
62722
62723 fi
62724 fi
62725
62726
62727
62728
62729
62730
62731
62732
62733 echo "$as_me:$LINENO: checking for expf declaration" >&5
62734 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
62735 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62736 if test "${glibcxx_cv_func_expf_use+set}" = set; then
62737 echo $ECHO_N "(cached) $ECHO_C" >&6
62738 else
62739
62740
62741
62742 ac_ext=cc
62743 ac_cpp='$CXXCPP $CPPFLAGS'
62744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62747
62748 cat >conftest.$ac_ext <<_ACEOF
62749 /* confdefs.h. */
62750 _ACEOF
62751 cat confdefs.h >>conftest.$ac_ext
62752 cat >>conftest.$ac_ext <<_ACEOF
62753 /* end confdefs.h. */
62754 #include <math.h>
62755 #ifdef HAVE_IEEEFP_H
62756 #include <ieeefp.h>
62757 #endif
62758
62759 int
62760 main ()
62761 {
62762 expf(0);
62763 ;
62764 return 0;
62765 }
62766 _ACEOF
62767 rm -f conftest.$ac_objext
62768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62769 (eval $ac_compile) 2>conftest.er1
62770 ac_status=$?
62771 grep -v '^ *+' conftest.er1 >conftest.err
62772 rm -f conftest.er1
62773 cat conftest.err >&5
62774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62775 (exit $ac_status); } &&
62776 { ac_try='test -z "$ac_cxx_werror_flag"
62777 || test ! -s conftest.err'
62778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62779 (eval $ac_try) 2>&5
62780 ac_status=$?
62781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62782 (exit $ac_status); }; } &&
62783 { ac_try='test -s conftest.$ac_objext'
62784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62785 (eval $ac_try) 2>&5
62786 ac_status=$?
62787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62788 (exit $ac_status); }; }; then
62789 glibcxx_cv_func_expf_use=yes
62790 else
62791 echo "$as_me: failed program was:" >&5
62792 sed 's/^/| /' conftest.$ac_ext >&5
62793
62794 glibcxx_cv_func_expf_use=no
62795 fi
62796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62797 ac_ext=c
62798 ac_cpp='$CPP $CPPFLAGS'
62799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62802
62803
62804 fi
62805
62806 fi
62807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
62808 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
62809
62810 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62811
62812 for ac_func in expf
62813 do
62814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62815 echo "$as_me:$LINENO: checking for $ac_func" >&5
62816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62817 if eval "test \"\${$as_ac_var+set}\" = set"; then
62818 echo $ECHO_N "(cached) $ECHO_C" >&6
62819 else
62820 if test x$gcc_no_link = xyes; then
62821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62823 { (exit 1); exit 1; }; }
62824 fi
62825 cat >conftest.$ac_ext <<_ACEOF
62826 /* confdefs.h. */
62827 _ACEOF
62828 cat confdefs.h >>conftest.$ac_ext
62829 cat >>conftest.$ac_ext <<_ACEOF
62830 /* end confdefs.h. */
62831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62833 #define $ac_func innocuous_$ac_func
62834
62835 /* System header to define __stub macros and hopefully few prototypes,
62836 which can conflict with char $ac_func (); below.
62837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62838 <limits.h> exists even on freestanding compilers. */
62839
62840 #ifdef __STDC__
62841 # include <limits.h>
62842 #else
62843 # include <assert.h>
62844 #endif
62845
62846 #undef $ac_func
62847
62848 /* Override any gcc2 internal prototype to avoid an error. */
62849 #ifdef __cplusplus
62850 extern "C"
62851 {
62852 #endif
62853 /* We use char because int might match the return type of a gcc2
62854 builtin and then its argument prototype would still apply. */
62855 char $ac_func ();
62856 /* The GNU C library defines this for functions which it implements
62857 to always fail with ENOSYS. Some functions are actually named
62858 something starting with __ and the normal name is an alias. */
62859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62860 choke me
62861 #else
62862 char (*f) () = $ac_func;
62863 #endif
62864 #ifdef __cplusplus
62865 }
62866 #endif
62867
62868 int
62869 main ()
62870 {
62871 return f != $ac_func;
62872 ;
62873 return 0;
62874 }
62875 _ACEOF
62876 rm -f conftest.$ac_objext conftest$ac_exeext
62877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62878 (eval $ac_link) 2>conftest.er1
62879 ac_status=$?
62880 grep -v '^ *+' conftest.er1 >conftest.err
62881 rm -f conftest.er1
62882 cat conftest.err >&5
62883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884 (exit $ac_status); } &&
62885 { ac_try='test -z "$ac_c_werror_flag"
62886 || test ! -s conftest.err'
62887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62888 (eval $ac_try) 2>&5
62889 ac_status=$?
62890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62891 (exit $ac_status); }; } &&
62892 { ac_try='test -s conftest$ac_exeext'
62893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62894 (eval $ac_try) 2>&5
62895 ac_status=$?
62896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62897 (exit $ac_status); }; }; then
62898 eval "$as_ac_var=yes"
62899 else
62900 echo "$as_me: failed program was:" >&5
62901 sed 's/^/| /' conftest.$ac_ext >&5
62902
62903 eval "$as_ac_var=no"
62904 fi
62905 rm -f conftest.err conftest.$ac_objext \
62906 conftest$ac_exeext conftest.$ac_ext
62907 fi
62908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62910 if test `eval echo '${'$as_ac_var'}'` = yes; then
62911 cat >>confdefs.h <<_ACEOF
62912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62913 _ACEOF
62914
62915 fi
62916 done
62917
62918 else
62919
62920 echo "$as_me:$LINENO: checking for _expf declaration" >&5
62921 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
62922 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62923 if test "${glibcxx_cv_func__expf_use+set}" = set; then
62924 echo $ECHO_N "(cached) $ECHO_C" >&6
62925 else
62926
62927
62928
62929 ac_ext=cc
62930 ac_cpp='$CXXCPP $CPPFLAGS'
62931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62934
62935 cat >conftest.$ac_ext <<_ACEOF
62936 /* confdefs.h. */
62937 _ACEOF
62938 cat confdefs.h >>conftest.$ac_ext
62939 cat >>conftest.$ac_ext <<_ACEOF
62940 /* end confdefs.h. */
62941 #include <math.h>
62942 #ifdef HAVE_IEEEFP_H
62943 #include <ieeefp.h>
62944 #endif
62945
62946 int
62947 main ()
62948 {
62949 _expf(0);
62950 ;
62951 return 0;
62952 }
62953 _ACEOF
62954 rm -f conftest.$ac_objext
62955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62956 (eval $ac_compile) 2>conftest.er1
62957 ac_status=$?
62958 grep -v '^ *+' conftest.er1 >conftest.err
62959 rm -f conftest.er1
62960 cat conftest.err >&5
62961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62962 (exit $ac_status); } &&
62963 { ac_try='test -z "$ac_cxx_werror_flag"
62964 || test ! -s conftest.err'
62965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62966 (eval $ac_try) 2>&5
62967 ac_status=$?
62968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62969 (exit $ac_status); }; } &&
62970 { ac_try='test -s conftest.$ac_objext'
62971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62972 (eval $ac_try) 2>&5
62973 ac_status=$?
62974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62975 (exit $ac_status); }; }; then
62976 glibcxx_cv_func__expf_use=yes
62977 else
62978 echo "$as_me: failed program was:" >&5
62979 sed 's/^/| /' conftest.$ac_ext >&5
62980
62981 glibcxx_cv_func__expf_use=no
62982 fi
62983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62984 ac_ext=c
62985 ac_cpp='$CPP $CPPFLAGS'
62986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62989
62990
62991 fi
62992
62993 fi
62994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
62995 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
62996
62997 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62998
62999 for ac_func in _expf
63000 do
63001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63002 echo "$as_me:$LINENO: checking for $ac_func" >&5
63003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63004 if eval "test \"\${$as_ac_var+set}\" = set"; then
63005 echo $ECHO_N "(cached) $ECHO_C" >&6
63006 else
63007 if test x$gcc_no_link = xyes; then
63008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63010 { (exit 1); exit 1; }; }
63011 fi
63012 cat >conftest.$ac_ext <<_ACEOF
63013 /* confdefs.h. */
63014 _ACEOF
63015 cat confdefs.h >>conftest.$ac_ext
63016 cat >>conftest.$ac_ext <<_ACEOF
63017 /* end confdefs.h. */
63018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63020 #define $ac_func innocuous_$ac_func
63021
63022 /* System header to define __stub macros and hopefully few prototypes,
63023 which can conflict with char $ac_func (); below.
63024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63025 <limits.h> exists even on freestanding compilers. */
63026
63027 #ifdef __STDC__
63028 # include <limits.h>
63029 #else
63030 # include <assert.h>
63031 #endif
63032
63033 #undef $ac_func
63034
63035 /* Override any gcc2 internal prototype to avoid an error. */
63036 #ifdef __cplusplus
63037 extern "C"
63038 {
63039 #endif
63040 /* We use char because int might match the return type of a gcc2
63041 builtin and then its argument prototype would still apply. */
63042 char $ac_func ();
63043 /* The GNU C library defines this for functions which it implements
63044 to always fail with ENOSYS. Some functions are actually named
63045 something starting with __ and the normal name is an alias. */
63046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63047 choke me
63048 #else
63049 char (*f) () = $ac_func;
63050 #endif
63051 #ifdef __cplusplus
63052 }
63053 #endif
63054
63055 int
63056 main ()
63057 {
63058 return f != $ac_func;
63059 ;
63060 return 0;
63061 }
63062 _ACEOF
63063 rm -f conftest.$ac_objext conftest$ac_exeext
63064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63065 (eval $ac_link) 2>conftest.er1
63066 ac_status=$?
63067 grep -v '^ *+' conftest.er1 >conftest.err
63068 rm -f conftest.er1
63069 cat conftest.err >&5
63070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63071 (exit $ac_status); } &&
63072 { ac_try='test -z "$ac_c_werror_flag"
63073 || test ! -s conftest.err'
63074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63075 (eval $ac_try) 2>&5
63076 ac_status=$?
63077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63078 (exit $ac_status); }; } &&
63079 { ac_try='test -s conftest$ac_exeext'
63080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63081 (eval $ac_try) 2>&5
63082 ac_status=$?
63083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63084 (exit $ac_status); }; }; then
63085 eval "$as_ac_var=yes"
63086 else
63087 echo "$as_me: failed program was:" >&5
63088 sed 's/^/| /' conftest.$ac_ext >&5
63089
63090 eval "$as_ac_var=no"
63091 fi
63092 rm -f conftest.err conftest.$ac_objext \
63093 conftest$ac_exeext conftest.$ac_ext
63094 fi
63095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63097 if test `eval echo '${'$as_ac_var'}'` = yes; then
63098 cat >>confdefs.h <<_ACEOF
63099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63100 _ACEOF
63101
63102 fi
63103 done
63104
63105 fi
63106 fi
63107
63108
63109
63110
63111
63112
63113 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
63114 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
63115 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
63116 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
63117 echo $ECHO_N "(cached) $ECHO_C" >&6
63118 else
63119
63120
63121
63122 ac_ext=cc
63123 ac_cpp='$CXXCPP $CPPFLAGS'
63124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63127
63128 cat >conftest.$ac_ext <<_ACEOF
63129 /* confdefs.h. */
63130 _ACEOF
63131 cat confdefs.h >>conftest.$ac_ext
63132 cat >>conftest.$ac_ext <<_ACEOF
63133 /* end confdefs.h. */
63134 #include <math.h>
63135 #ifdef HAVE_IEEEFP_H
63136 #include <ieeefp.h>
63137 #endif
63138
63139 int
63140 main ()
63141 {
63142 isnanf(0);
63143 ;
63144 return 0;
63145 }
63146 _ACEOF
63147 rm -f conftest.$ac_objext
63148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63149 (eval $ac_compile) 2>conftest.er1
63150 ac_status=$?
63151 grep -v '^ *+' conftest.er1 >conftest.err
63152 rm -f conftest.er1
63153 cat conftest.err >&5
63154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63155 (exit $ac_status); } &&
63156 { ac_try='test -z "$ac_cxx_werror_flag"
63157 || test ! -s conftest.err'
63158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63159 (eval $ac_try) 2>&5
63160 ac_status=$?
63161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63162 (exit $ac_status); }; } &&
63163 { ac_try='test -s conftest.$ac_objext'
63164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63165 (eval $ac_try) 2>&5
63166 ac_status=$?
63167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63168 (exit $ac_status); }; }; then
63169 glibcxx_cv_func_isnanf_use=yes
63170 else
63171 echo "$as_me: failed program was:" >&5
63172 sed 's/^/| /' conftest.$ac_ext >&5
63173
63174 glibcxx_cv_func_isnanf_use=no
63175 fi
63176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63177 ac_ext=c
63178 ac_cpp='$CPP $CPPFLAGS'
63179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63182
63183
63184 fi
63185
63186 fi
63187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
63188 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
63189
63190 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
63191
63192 for ac_func in isnanf
63193 do
63194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63195 echo "$as_me:$LINENO: checking for $ac_func" >&5
63196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63197 if eval "test \"\${$as_ac_var+set}\" = set"; then
63198 echo $ECHO_N "(cached) $ECHO_C" >&6
63199 else
63200 if test x$gcc_no_link = xyes; then
63201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63203 { (exit 1); exit 1; }; }
63204 fi
63205 cat >conftest.$ac_ext <<_ACEOF
63206 /* confdefs.h. */
63207 _ACEOF
63208 cat confdefs.h >>conftest.$ac_ext
63209 cat >>conftest.$ac_ext <<_ACEOF
63210 /* end confdefs.h. */
63211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63213 #define $ac_func innocuous_$ac_func
63214
63215 /* System header to define __stub macros and hopefully few prototypes,
63216 which can conflict with char $ac_func (); below.
63217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63218 <limits.h> exists even on freestanding compilers. */
63219
63220 #ifdef __STDC__
63221 # include <limits.h>
63222 #else
63223 # include <assert.h>
63224 #endif
63225
63226 #undef $ac_func
63227
63228 /* Override any gcc2 internal prototype to avoid an error. */
63229 #ifdef __cplusplus
63230 extern "C"
63231 {
63232 #endif
63233 /* We use char because int might match the return type of a gcc2
63234 builtin and then its argument prototype would still apply. */
63235 char $ac_func ();
63236 /* The GNU C library defines this for functions which it implements
63237 to always fail with ENOSYS. Some functions are actually named
63238 something starting with __ and the normal name is an alias. */
63239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63240 choke me
63241 #else
63242 char (*f) () = $ac_func;
63243 #endif
63244 #ifdef __cplusplus
63245 }
63246 #endif
63247
63248 int
63249 main ()
63250 {
63251 return f != $ac_func;
63252 ;
63253 return 0;
63254 }
63255 _ACEOF
63256 rm -f conftest.$ac_objext conftest$ac_exeext
63257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63258 (eval $ac_link) 2>conftest.er1
63259 ac_status=$?
63260 grep -v '^ *+' conftest.er1 >conftest.err
63261 rm -f conftest.er1
63262 cat conftest.err >&5
63263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63264 (exit $ac_status); } &&
63265 { ac_try='test -z "$ac_c_werror_flag"
63266 || test ! -s conftest.err'
63267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63268 (eval $ac_try) 2>&5
63269 ac_status=$?
63270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63271 (exit $ac_status); }; } &&
63272 { ac_try='test -s conftest$ac_exeext'
63273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63274 (eval $ac_try) 2>&5
63275 ac_status=$?
63276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63277 (exit $ac_status); }; }; then
63278 eval "$as_ac_var=yes"
63279 else
63280 echo "$as_me: failed program was:" >&5
63281 sed 's/^/| /' conftest.$ac_ext >&5
63282
63283 eval "$as_ac_var=no"
63284 fi
63285 rm -f conftest.err conftest.$ac_objext \
63286 conftest$ac_exeext conftest.$ac_ext
63287 fi
63288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63290 if test `eval echo '${'$as_ac_var'}'` = yes; then
63291 cat >>confdefs.h <<_ACEOF
63292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63293 _ACEOF
63294
63295 fi
63296 done
63297
63298 else
63299
63300 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
63301 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
63302 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
63303 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
63304 echo $ECHO_N "(cached) $ECHO_C" >&6
63305 else
63306
63307
63308
63309 ac_ext=cc
63310 ac_cpp='$CXXCPP $CPPFLAGS'
63311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63314
63315 cat >conftest.$ac_ext <<_ACEOF
63316 /* confdefs.h. */
63317 _ACEOF
63318 cat confdefs.h >>conftest.$ac_ext
63319 cat >>conftest.$ac_ext <<_ACEOF
63320 /* end confdefs.h. */
63321 #include <math.h>
63322 #ifdef HAVE_IEEEFP_H
63323 #include <ieeefp.h>
63324 #endif
63325
63326 int
63327 main ()
63328 {
63329 _isnanf(0);
63330 ;
63331 return 0;
63332 }
63333 _ACEOF
63334 rm -f conftest.$ac_objext
63335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63336 (eval $ac_compile) 2>conftest.er1
63337 ac_status=$?
63338 grep -v '^ *+' conftest.er1 >conftest.err
63339 rm -f conftest.er1
63340 cat conftest.err >&5
63341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63342 (exit $ac_status); } &&
63343 { ac_try='test -z "$ac_cxx_werror_flag"
63344 || test ! -s conftest.err'
63345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63346 (eval $ac_try) 2>&5
63347 ac_status=$?
63348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63349 (exit $ac_status); }; } &&
63350 { ac_try='test -s conftest.$ac_objext'
63351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63352 (eval $ac_try) 2>&5
63353 ac_status=$?
63354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63355 (exit $ac_status); }; }; then
63356 glibcxx_cv_func__isnanf_use=yes
63357 else
63358 echo "$as_me: failed program was:" >&5
63359 sed 's/^/| /' conftest.$ac_ext >&5
63360
63361 glibcxx_cv_func__isnanf_use=no
63362 fi
63363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63364 ac_ext=c
63365 ac_cpp='$CPP $CPPFLAGS'
63366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63369
63370
63371 fi
63372
63373 fi
63374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
63375 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
63376
63377 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
63378
63379 for ac_func in _isnanf
63380 do
63381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63382 echo "$as_me:$LINENO: checking for $ac_func" >&5
63383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63384 if eval "test \"\${$as_ac_var+set}\" = set"; then
63385 echo $ECHO_N "(cached) $ECHO_C" >&6
63386 else
63387 if test x$gcc_no_link = xyes; then
63388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63390 { (exit 1); exit 1; }; }
63391 fi
63392 cat >conftest.$ac_ext <<_ACEOF
63393 /* confdefs.h. */
63394 _ACEOF
63395 cat confdefs.h >>conftest.$ac_ext
63396 cat >>conftest.$ac_ext <<_ACEOF
63397 /* end confdefs.h. */
63398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63400 #define $ac_func innocuous_$ac_func
63401
63402 /* System header to define __stub macros and hopefully few prototypes,
63403 which can conflict with char $ac_func (); below.
63404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63405 <limits.h> exists even on freestanding compilers. */
63406
63407 #ifdef __STDC__
63408 # include <limits.h>
63409 #else
63410 # include <assert.h>
63411 #endif
63412
63413 #undef $ac_func
63414
63415 /* Override any gcc2 internal prototype to avoid an error. */
63416 #ifdef __cplusplus
63417 extern "C"
63418 {
63419 #endif
63420 /* We use char because int might match the return type of a gcc2
63421 builtin and then its argument prototype would still apply. */
63422 char $ac_func ();
63423 /* The GNU C library defines this for functions which it implements
63424 to always fail with ENOSYS. Some functions are actually named
63425 something starting with __ and the normal name is an alias. */
63426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63427 choke me
63428 #else
63429 char (*f) () = $ac_func;
63430 #endif
63431 #ifdef __cplusplus
63432 }
63433 #endif
63434
63435 int
63436 main ()
63437 {
63438 return f != $ac_func;
63439 ;
63440 return 0;
63441 }
63442 _ACEOF
63443 rm -f conftest.$ac_objext conftest$ac_exeext
63444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63445 (eval $ac_link) 2>conftest.er1
63446 ac_status=$?
63447 grep -v '^ *+' conftest.er1 >conftest.err
63448 rm -f conftest.er1
63449 cat conftest.err >&5
63450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63451 (exit $ac_status); } &&
63452 { ac_try='test -z "$ac_c_werror_flag"
63453 || test ! -s conftest.err'
63454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63455 (eval $ac_try) 2>&5
63456 ac_status=$?
63457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63458 (exit $ac_status); }; } &&
63459 { ac_try='test -s conftest$ac_exeext'
63460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63461 (eval $ac_try) 2>&5
63462 ac_status=$?
63463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464 (exit $ac_status); }; }; then
63465 eval "$as_ac_var=yes"
63466 else
63467 echo "$as_me: failed program was:" >&5
63468 sed 's/^/| /' conftest.$ac_ext >&5
63469
63470 eval "$as_ac_var=no"
63471 fi
63472 rm -f conftest.err conftest.$ac_objext \
63473 conftest$ac_exeext conftest.$ac_ext
63474 fi
63475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63477 if test `eval echo '${'$as_ac_var'}'` = yes; then
63478 cat >>confdefs.h <<_ACEOF
63479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63480 _ACEOF
63481
63482 fi
63483 done
63484
63485 fi
63486 fi
63487
63488
63489
63490
63491
63492
63493 echo "$as_me:$LINENO: checking for isinff declaration" >&5
63494 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
63495 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
63496 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
63497 echo $ECHO_N "(cached) $ECHO_C" >&6
63498 else
63499
63500
63501
63502 ac_ext=cc
63503 ac_cpp='$CXXCPP $CPPFLAGS'
63504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63507
63508 cat >conftest.$ac_ext <<_ACEOF
63509 /* confdefs.h. */
63510 _ACEOF
63511 cat confdefs.h >>conftest.$ac_ext
63512 cat >>conftest.$ac_ext <<_ACEOF
63513 /* end confdefs.h. */
63514 #include <math.h>
63515 #ifdef HAVE_IEEEFP_H
63516 #include <ieeefp.h>
63517 #endif
63518
63519 int
63520 main ()
63521 {
63522 isinff(0);
63523 ;
63524 return 0;
63525 }
63526 _ACEOF
63527 rm -f conftest.$ac_objext
63528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63529 (eval $ac_compile) 2>conftest.er1
63530 ac_status=$?
63531 grep -v '^ *+' conftest.er1 >conftest.err
63532 rm -f conftest.er1
63533 cat conftest.err >&5
63534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535 (exit $ac_status); } &&
63536 { ac_try='test -z "$ac_cxx_werror_flag"
63537 || test ! -s conftest.err'
63538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63539 (eval $ac_try) 2>&5
63540 ac_status=$?
63541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63542 (exit $ac_status); }; } &&
63543 { ac_try='test -s conftest.$ac_objext'
63544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63545 (eval $ac_try) 2>&5
63546 ac_status=$?
63547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63548 (exit $ac_status); }; }; then
63549 glibcxx_cv_func_isinff_use=yes
63550 else
63551 echo "$as_me: failed program was:" >&5
63552 sed 's/^/| /' conftest.$ac_ext >&5
63553
63554 glibcxx_cv_func_isinff_use=no
63555 fi
63556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63557 ac_ext=c
63558 ac_cpp='$CPP $CPPFLAGS'
63559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63562
63563
63564 fi
63565
63566 fi
63567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
63568 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
63569
63570 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
63571
63572 for ac_func in isinff
63573 do
63574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63575 echo "$as_me:$LINENO: checking for $ac_func" >&5
63576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63577 if eval "test \"\${$as_ac_var+set}\" = set"; then
63578 echo $ECHO_N "(cached) $ECHO_C" >&6
63579 else
63580 if test x$gcc_no_link = xyes; then
63581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63583 { (exit 1); exit 1; }; }
63584 fi
63585 cat >conftest.$ac_ext <<_ACEOF
63586 /* confdefs.h. */
63587 _ACEOF
63588 cat confdefs.h >>conftest.$ac_ext
63589 cat >>conftest.$ac_ext <<_ACEOF
63590 /* end confdefs.h. */
63591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63593 #define $ac_func innocuous_$ac_func
63594
63595 /* System header to define __stub macros and hopefully few prototypes,
63596 which can conflict with char $ac_func (); below.
63597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63598 <limits.h> exists even on freestanding compilers. */
63599
63600 #ifdef __STDC__
63601 # include <limits.h>
63602 #else
63603 # include <assert.h>
63604 #endif
63605
63606 #undef $ac_func
63607
63608 /* Override any gcc2 internal prototype to avoid an error. */
63609 #ifdef __cplusplus
63610 extern "C"
63611 {
63612 #endif
63613 /* We use char because int might match the return type of a gcc2
63614 builtin and then its argument prototype would still apply. */
63615 char $ac_func ();
63616 /* The GNU C library defines this for functions which it implements
63617 to always fail with ENOSYS. Some functions are actually named
63618 something starting with __ and the normal name is an alias. */
63619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63620 choke me
63621 #else
63622 char (*f) () = $ac_func;
63623 #endif
63624 #ifdef __cplusplus
63625 }
63626 #endif
63627
63628 int
63629 main ()
63630 {
63631 return f != $ac_func;
63632 ;
63633 return 0;
63634 }
63635 _ACEOF
63636 rm -f conftest.$ac_objext conftest$ac_exeext
63637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63638 (eval $ac_link) 2>conftest.er1
63639 ac_status=$?
63640 grep -v '^ *+' conftest.er1 >conftest.err
63641 rm -f conftest.er1
63642 cat conftest.err >&5
63643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63644 (exit $ac_status); } &&
63645 { ac_try='test -z "$ac_c_werror_flag"
63646 || test ! -s conftest.err'
63647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63648 (eval $ac_try) 2>&5
63649 ac_status=$?
63650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63651 (exit $ac_status); }; } &&
63652 { ac_try='test -s conftest$ac_exeext'
63653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63654 (eval $ac_try) 2>&5
63655 ac_status=$?
63656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63657 (exit $ac_status); }; }; then
63658 eval "$as_ac_var=yes"
63659 else
63660 echo "$as_me: failed program was:" >&5
63661 sed 's/^/| /' conftest.$ac_ext >&5
63662
63663 eval "$as_ac_var=no"
63664 fi
63665 rm -f conftest.err conftest.$ac_objext \
63666 conftest$ac_exeext conftest.$ac_ext
63667 fi
63668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63670 if test `eval echo '${'$as_ac_var'}'` = yes; then
63671 cat >>confdefs.h <<_ACEOF
63672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63673 _ACEOF
63674
63675 fi
63676 done
63677
63678 else
63679
63680 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
63681 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
63682 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
63683 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
63684 echo $ECHO_N "(cached) $ECHO_C" >&6
63685 else
63686
63687
63688
63689 ac_ext=cc
63690 ac_cpp='$CXXCPP $CPPFLAGS'
63691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63694
63695 cat >conftest.$ac_ext <<_ACEOF
63696 /* confdefs.h. */
63697 _ACEOF
63698 cat confdefs.h >>conftest.$ac_ext
63699 cat >>conftest.$ac_ext <<_ACEOF
63700 /* end confdefs.h. */
63701 #include <math.h>
63702 #ifdef HAVE_IEEEFP_H
63703 #include <ieeefp.h>
63704 #endif
63705
63706 int
63707 main ()
63708 {
63709 _isinff(0);
63710 ;
63711 return 0;
63712 }
63713 _ACEOF
63714 rm -f conftest.$ac_objext
63715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63716 (eval $ac_compile) 2>conftest.er1
63717 ac_status=$?
63718 grep -v '^ *+' conftest.er1 >conftest.err
63719 rm -f conftest.er1
63720 cat conftest.err >&5
63721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63722 (exit $ac_status); } &&
63723 { ac_try='test -z "$ac_cxx_werror_flag"
63724 || test ! -s conftest.err'
63725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63726 (eval $ac_try) 2>&5
63727 ac_status=$?
63728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63729 (exit $ac_status); }; } &&
63730 { ac_try='test -s conftest.$ac_objext'
63731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63732 (eval $ac_try) 2>&5
63733 ac_status=$?
63734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63735 (exit $ac_status); }; }; then
63736 glibcxx_cv_func__isinff_use=yes
63737 else
63738 echo "$as_me: failed program was:" >&5
63739 sed 's/^/| /' conftest.$ac_ext >&5
63740
63741 glibcxx_cv_func__isinff_use=no
63742 fi
63743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63744 ac_ext=c
63745 ac_cpp='$CPP $CPPFLAGS'
63746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63749
63750
63751 fi
63752
63753 fi
63754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
63755 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
63756
63757 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
63758
63759 for ac_func in _isinff
63760 do
63761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63762 echo "$as_me:$LINENO: checking for $ac_func" >&5
63763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63764 if eval "test \"\${$as_ac_var+set}\" = set"; then
63765 echo $ECHO_N "(cached) $ECHO_C" >&6
63766 else
63767 if test x$gcc_no_link = xyes; then
63768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63770 { (exit 1); exit 1; }; }
63771 fi
63772 cat >conftest.$ac_ext <<_ACEOF
63773 /* confdefs.h. */
63774 _ACEOF
63775 cat confdefs.h >>conftest.$ac_ext
63776 cat >>conftest.$ac_ext <<_ACEOF
63777 /* end confdefs.h. */
63778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63780 #define $ac_func innocuous_$ac_func
63781
63782 /* System header to define __stub macros and hopefully few prototypes,
63783 which can conflict with char $ac_func (); below.
63784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63785 <limits.h> exists even on freestanding compilers. */
63786
63787 #ifdef __STDC__
63788 # include <limits.h>
63789 #else
63790 # include <assert.h>
63791 #endif
63792
63793 #undef $ac_func
63794
63795 /* Override any gcc2 internal prototype to avoid an error. */
63796 #ifdef __cplusplus
63797 extern "C"
63798 {
63799 #endif
63800 /* We use char because int might match the return type of a gcc2
63801 builtin and then its argument prototype would still apply. */
63802 char $ac_func ();
63803 /* The GNU C library defines this for functions which it implements
63804 to always fail with ENOSYS. Some functions are actually named
63805 something starting with __ and the normal name is an alias. */
63806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63807 choke me
63808 #else
63809 char (*f) () = $ac_func;
63810 #endif
63811 #ifdef __cplusplus
63812 }
63813 #endif
63814
63815 int
63816 main ()
63817 {
63818 return f != $ac_func;
63819 ;
63820 return 0;
63821 }
63822 _ACEOF
63823 rm -f conftest.$ac_objext conftest$ac_exeext
63824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63825 (eval $ac_link) 2>conftest.er1
63826 ac_status=$?
63827 grep -v '^ *+' conftest.er1 >conftest.err
63828 rm -f conftest.er1
63829 cat conftest.err >&5
63830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63831 (exit $ac_status); } &&
63832 { ac_try='test -z "$ac_c_werror_flag"
63833 || test ! -s conftest.err'
63834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63835 (eval $ac_try) 2>&5
63836 ac_status=$?
63837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63838 (exit $ac_status); }; } &&
63839 { ac_try='test -s conftest$ac_exeext'
63840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63841 (eval $ac_try) 2>&5
63842 ac_status=$?
63843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63844 (exit $ac_status); }; }; then
63845 eval "$as_ac_var=yes"
63846 else
63847 echo "$as_me: failed program was:" >&5
63848 sed 's/^/| /' conftest.$ac_ext >&5
63849
63850 eval "$as_ac_var=no"
63851 fi
63852 rm -f conftest.err conftest.$ac_objext \
63853 conftest$ac_exeext conftest.$ac_ext
63854 fi
63855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63857 if test `eval echo '${'$as_ac_var'}'` = yes; then
63858 cat >>confdefs.h <<_ACEOF
63859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63860 _ACEOF
63861
63862 fi
63863 done
63864
63865 fi
63866 fi
63867
63868
63869
63870
63871
63872
63873 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
63874 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
63875 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
63876 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
63877 echo $ECHO_N "(cached) $ECHO_C" >&6
63878 else
63879
63880
63881
63882 ac_ext=cc
63883 ac_cpp='$CXXCPP $CPPFLAGS'
63884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63887
63888 cat >conftest.$ac_ext <<_ACEOF
63889 /* confdefs.h. */
63890 _ACEOF
63891 cat confdefs.h >>conftest.$ac_ext
63892 cat >>conftest.$ac_ext <<_ACEOF
63893 /* end confdefs.h. */
63894 #include <math.h>
63895 int
63896 main ()
63897 {
63898 atan2f(0, 0);
63899 ;
63900 return 0;
63901 }
63902 _ACEOF
63903 rm -f conftest.$ac_objext
63904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63905 (eval $ac_compile) 2>conftest.er1
63906 ac_status=$?
63907 grep -v '^ *+' conftest.er1 >conftest.err
63908 rm -f conftest.er1
63909 cat conftest.err >&5
63910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63911 (exit $ac_status); } &&
63912 { ac_try='test -z "$ac_cxx_werror_flag"
63913 || test ! -s conftest.err'
63914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63915 (eval $ac_try) 2>&5
63916 ac_status=$?
63917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918 (exit $ac_status); }; } &&
63919 { ac_try='test -s conftest.$ac_objext'
63920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63921 (eval $ac_try) 2>&5
63922 ac_status=$?
63923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63924 (exit $ac_status); }; }; then
63925 glibcxx_cv_func_atan2f_use=yes
63926 else
63927 echo "$as_me: failed program was:" >&5
63928 sed 's/^/| /' conftest.$ac_ext >&5
63929
63930 glibcxx_cv_func_atan2f_use=no
63931 fi
63932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63933 ac_ext=c
63934 ac_cpp='$CPP $CPPFLAGS'
63935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63938
63939
63940 fi
63941
63942 fi
63943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
63944 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
63945
63946 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
63947
63948 for ac_func in atan2f
63949 do
63950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63951 echo "$as_me:$LINENO: checking for $ac_func" >&5
63952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63953 if eval "test \"\${$as_ac_var+set}\" = set"; then
63954 echo $ECHO_N "(cached) $ECHO_C" >&6
63955 else
63956 if test x$gcc_no_link = xyes; then
63957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63959 { (exit 1); exit 1; }; }
63960 fi
63961 cat >conftest.$ac_ext <<_ACEOF
63962 /* confdefs.h. */
63963 _ACEOF
63964 cat confdefs.h >>conftest.$ac_ext
63965 cat >>conftest.$ac_ext <<_ACEOF
63966 /* end confdefs.h. */
63967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63969 #define $ac_func innocuous_$ac_func
63970
63971 /* System header to define __stub macros and hopefully few prototypes,
63972 which can conflict with char $ac_func (); below.
63973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63974 <limits.h> exists even on freestanding compilers. */
63975
63976 #ifdef __STDC__
63977 # include <limits.h>
63978 #else
63979 # include <assert.h>
63980 #endif
63981
63982 #undef $ac_func
63983
63984 /* Override any gcc2 internal prototype to avoid an error. */
63985 #ifdef __cplusplus
63986 extern "C"
63987 {
63988 #endif
63989 /* We use char because int might match the return type of a gcc2
63990 builtin and then its argument prototype would still apply. */
63991 char $ac_func ();
63992 /* The GNU C library defines this for functions which it implements
63993 to always fail with ENOSYS. Some functions are actually named
63994 something starting with __ and the normal name is an alias. */
63995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63996 choke me
63997 #else
63998 char (*f) () = $ac_func;
63999 #endif
64000 #ifdef __cplusplus
64001 }
64002 #endif
64003
64004 int
64005 main ()
64006 {
64007 return f != $ac_func;
64008 ;
64009 return 0;
64010 }
64011 _ACEOF
64012 rm -f conftest.$ac_objext conftest$ac_exeext
64013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64014 (eval $ac_link) 2>conftest.er1
64015 ac_status=$?
64016 grep -v '^ *+' conftest.er1 >conftest.err
64017 rm -f conftest.er1
64018 cat conftest.err >&5
64019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64020 (exit $ac_status); } &&
64021 { ac_try='test -z "$ac_c_werror_flag"
64022 || test ! -s conftest.err'
64023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64024 (eval $ac_try) 2>&5
64025 ac_status=$?
64026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027 (exit $ac_status); }; } &&
64028 { ac_try='test -s conftest$ac_exeext'
64029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64030 (eval $ac_try) 2>&5
64031 ac_status=$?
64032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64033 (exit $ac_status); }; }; then
64034 eval "$as_ac_var=yes"
64035 else
64036 echo "$as_me: failed program was:" >&5
64037 sed 's/^/| /' conftest.$ac_ext >&5
64038
64039 eval "$as_ac_var=no"
64040 fi
64041 rm -f conftest.err conftest.$ac_objext \
64042 conftest$ac_exeext conftest.$ac_ext
64043 fi
64044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64046 if test `eval echo '${'$as_ac_var'}'` = yes; then
64047 cat >>confdefs.h <<_ACEOF
64048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64049 _ACEOF
64050
64051 fi
64052 done
64053
64054 else
64055
64056 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
64057 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
64058 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64059 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
64060 echo $ECHO_N "(cached) $ECHO_C" >&6
64061 else
64062
64063
64064
64065 ac_ext=cc
64066 ac_cpp='$CXXCPP $CPPFLAGS'
64067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64070
64071 cat >conftest.$ac_ext <<_ACEOF
64072 /* confdefs.h. */
64073 _ACEOF
64074 cat confdefs.h >>conftest.$ac_ext
64075 cat >>conftest.$ac_ext <<_ACEOF
64076 /* end confdefs.h. */
64077 #include <math.h>
64078 int
64079 main ()
64080 {
64081 _atan2f(0, 0);
64082 ;
64083 return 0;
64084 }
64085 _ACEOF
64086 rm -f conftest.$ac_objext
64087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64088 (eval $ac_compile) 2>conftest.er1
64089 ac_status=$?
64090 grep -v '^ *+' conftest.er1 >conftest.err
64091 rm -f conftest.er1
64092 cat conftest.err >&5
64093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094 (exit $ac_status); } &&
64095 { ac_try='test -z "$ac_cxx_werror_flag"
64096 || test ! -s conftest.err'
64097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64098 (eval $ac_try) 2>&5
64099 ac_status=$?
64100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64101 (exit $ac_status); }; } &&
64102 { ac_try='test -s conftest.$ac_objext'
64103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64104 (eval $ac_try) 2>&5
64105 ac_status=$?
64106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64107 (exit $ac_status); }; }; then
64108 glibcxx_cv_func__atan2f_use=yes
64109 else
64110 echo "$as_me: failed program was:" >&5
64111 sed 's/^/| /' conftest.$ac_ext >&5
64112
64113 glibcxx_cv_func__atan2f_use=no
64114 fi
64115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64121
64122
64123 fi
64124
64125 fi
64126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
64127 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
64128
64129 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64130
64131 for ac_func in _atan2f
64132 do
64133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64134 echo "$as_me:$LINENO: checking for $ac_func" >&5
64135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64136 if eval "test \"\${$as_ac_var+set}\" = set"; then
64137 echo $ECHO_N "(cached) $ECHO_C" >&6
64138 else
64139 if test x$gcc_no_link = xyes; then
64140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64142 { (exit 1); exit 1; }; }
64143 fi
64144 cat >conftest.$ac_ext <<_ACEOF
64145 /* confdefs.h. */
64146 _ACEOF
64147 cat confdefs.h >>conftest.$ac_ext
64148 cat >>conftest.$ac_ext <<_ACEOF
64149 /* end confdefs.h. */
64150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64152 #define $ac_func innocuous_$ac_func
64153
64154 /* System header to define __stub macros and hopefully few prototypes,
64155 which can conflict with char $ac_func (); below.
64156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64157 <limits.h> exists even on freestanding compilers. */
64158
64159 #ifdef __STDC__
64160 # include <limits.h>
64161 #else
64162 # include <assert.h>
64163 #endif
64164
64165 #undef $ac_func
64166
64167 /* Override any gcc2 internal prototype to avoid an error. */
64168 #ifdef __cplusplus
64169 extern "C"
64170 {
64171 #endif
64172 /* We use char because int might match the return type of a gcc2
64173 builtin and then its argument prototype would still apply. */
64174 char $ac_func ();
64175 /* The GNU C library defines this for functions which it implements
64176 to always fail with ENOSYS. Some functions are actually named
64177 something starting with __ and the normal name is an alias. */
64178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64179 choke me
64180 #else
64181 char (*f) () = $ac_func;
64182 #endif
64183 #ifdef __cplusplus
64184 }
64185 #endif
64186
64187 int
64188 main ()
64189 {
64190 return f != $ac_func;
64191 ;
64192 return 0;
64193 }
64194 _ACEOF
64195 rm -f conftest.$ac_objext conftest$ac_exeext
64196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64197 (eval $ac_link) 2>conftest.er1
64198 ac_status=$?
64199 grep -v '^ *+' conftest.er1 >conftest.err
64200 rm -f conftest.er1
64201 cat conftest.err >&5
64202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64203 (exit $ac_status); } &&
64204 { ac_try='test -z "$ac_c_werror_flag"
64205 || test ! -s conftest.err'
64206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207 (eval $ac_try) 2>&5
64208 ac_status=$?
64209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210 (exit $ac_status); }; } &&
64211 { ac_try='test -s conftest$ac_exeext'
64212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64213 (eval $ac_try) 2>&5
64214 ac_status=$?
64215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216 (exit $ac_status); }; }; then
64217 eval "$as_ac_var=yes"
64218 else
64219 echo "$as_me: failed program was:" >&5
64220 sed 's/^/| /' conftest.$ac_ext >&5
64221
64222 eval "$as_ac_var=no"
64223 fi
64224 rm -f conftest.err conftest.$ac_objext \
64225 conftest$ac_exeext conftest.$ac_ext
64226 fi
64227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64229 if test `eval echo '${'$as_ac_var'}'` = yes; then
64230 cat >>confdefs.h <<_ACEOF
64231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64232 _ACEOF
64233
64234 fi
64235 done
64236
64237 fi
64238 fi
64239
64240
64241
64242
64243
64244
64245 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
64246 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
64247 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64248 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
64249 echo $ECHO_N "(cached) $ECHO_C" >&6
64250 else
64251
64252
64253
64254 ac_ext=cc
64255 ac_cpp='$CXXCPP $CPPFLAGS'
64256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64259
64260 cat >conftest.$ac_ext <<_ACEOF
64261 /* confdefs.h. */
64262 _ACEOF
64263 cat confdefs.h >>conftest.$ac_ext
64264 cat >>conftest.$ac_ext <<_ACEOF
64265 /* end confdefs.h. */
64266 #include <math.h>
64267 #ifdef HAVE_IEEEFP_H
64268 #include <ieeefp.h>
64269 #endif
64270
64271 int
64272 main ()
64273 {
64274 fabsf(0);
64275 ;
64276 return 0;
64277 }
64278 _ACEOF
64279 rm -f conftest.$ac_objext
64280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64281 (eval $ac_compile) 2>conftest.er1
64282 ac_status=$?
64283 grep -v '^ *+' conftest.er1 >conftest.err
64284 rm -f conftest.er1
64285 cat conftest.err >&5
64286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64287 (exit $ac_status); } &&
64288 { ac_try='test -z "$ac_cxx_werror_flag"
64289 || test ! -s conftest.err'
64290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64291 (eval $ac_try) 2>&5
64292 ac_status=$?
64293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64294 (exit $ac_status); }; } &&
64295 { ac_try='test -s conftest.$ac_objext'
64296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64297 (eval $ac_try) 2>&5
64298 ac_status=$?
64299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64300 (exit $ac_status); }; }; then
64301 glibcxx_cv_func_fabsf_use=yes
64302 else
64303 echo "$as_me: failed program was:" >&5
64304 sed 's/^/| /' conftest.$ac_ext >&5
64305
64306 glibcxx_cv_func_fabsf_use=no
64307 fi
64308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64309 ac_ext=c
64310 ac_cpp='$CPP $CPPFLAGS'
64311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64314
64315
64316 fi
64317
64318 fi
64319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
64320 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
64321
64322 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64323
64324 for ac_func in fabsf
64325 do
64326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64327 echo "$as_me:$LINENO: checking for $ac_func" >&5
64328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64329 if eval "test \"\${$as_ac_var+set}\" = set"; then
64330 echo $ECHO_N "(cached) $ECHO_C" >&6
64331 else
64332 if test x$gcc_no_link = xyes; then
64333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64335 { (exit 1); exit 1; }; }
64336 fi
64337 cat >conftest.$ac_ext <<_ACEOF
64338 /* confdefs.h. */
64339 _ACEOF
64340 cat confdefs.h >>conftest.$ac_ext
64341 cat >>conftest.$ac_ext <<_ACEOF
64342 /* end confdefs.h. */
64343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64345 #define $ac_func innocuous_$ac_func
64346
64347 /* System header to define __stub macros and hopefully few prototypes,
64348 which can conflict with char $ac_func (); below.
64349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64350 <limits.h> exists even on freestanding compilers. */
64351
64352 #ifdef __STDC__
64353 # include <limits.h>
64354 #else
64355 # include <assert.h>
64356 #endif
64357
64358 #undef $ac_func
64359
64360 /* Override any gcc2 internal prototype to avoid an error. */
64361 #ifdef __cplusplus
64362 extern "C"
64363 {
64364 #endif
64365 /* We use char because int might match the return type of a gcc2
64366 builtin and then its argument prototype would still apply. */
64367 char $ac_func ();
64368 /* The GNU C library defines this for functions which it implements
64369 to always fail with ENOSYS. Some functions are actually named
64370 something starting with __ and the normal name is an alias. */
64371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64372 choke me
64373 #else
64374 char (*f) () = $ac_func;
64375 #endif
64376 #ifdef __cplusplus
64377 }
64378 #endif
64379
64380 int
64381 main ()
64382 {
64383 return f != $ac_func;
64384 ;
64385 return 0;
64386 }
64387 _ACEOF
64388 rm -f conftest.$ac_objext conftest$ac_exeext
64389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64390 (eval $ac_link) 2>conftest.er1
64391 ac_status=$?
64392 grep -v '^ *+' conftest.er1 >conftest.err
64393 rm -f conftest.er1
64394 cat conftest.err >&5
64395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64396 (exit $ac_status); } &&
64397 { ac_try='test -z "$ac_c_werror_flag"
64398 || test ! -s conftest.err'
64399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64400 (eval $ac_try) 2>&5
64401 ac_status=$?
64402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64403 (exit $ac_status); }; } &&
64404 { ac_try='test -s conftest$ac_exeext'
64405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64406 (eval $ac_try) 2>&5
64407 ac_status=$?
64408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64409 (exit $ac_status); }; }; then
64410 eval "$as_ac_var=yes"
64411 else
64412 echo "$as_me: failed program was:" >&5
64413 sed 's/^/| /' conftest.$ac_ext >&5
64414
64415 eval "$as_ac_var=no"
64416 fi
64417 rm -f conftest.err conftest.$ac_objext \
64418 conftest$ac_exeext conftest.$ac_ext
64419 fi
64420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64422 if test `eval echo '${'$as_ac_var'}'` = yes; then
64423 cat >>confdefs.h <<_ACEOF
64424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64425 _ACEOF
64426
64427 fi
64428 done
64429
64430 else
64431
64432 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
64433 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
64434 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64435 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
64436 echo $ECHO_N "(cached) $ECHO_C" >&6
64437 else
64438
64439
64440
64441 ac_ext=cc
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64446
64447 cat >conftest.$ac_ext <<_ACEOF
64448 /* confdefs.h. */
64449 _ACEOF
64450 cat confdefs.h >>conftest.$ac_ext
64451 cat >>conftest.$ac_ext <<_ACEOF
64452 /* end confdefs.h. */
64453 #include <math.h>
64454 #ifdef HAVE_IEEEFP_H
64455 #include <ieeefp.h>
64456 #endif
64457
64458 int
64459 main ()
64460 {
64461 _fabsf(0);
64462 ;
64463 return 0;
64464 }
64465 _ACEOF
64466 rm -f conftest.$ac_objext
64467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64468 (eval $ac_compile) 2>conftest.er1
64469 ac_status=$?
64470 grep -v '^ *+' conftest.er1 >conftest.err
64471 rm -f conftest.er1
64472 cat conftest.err >&5
64473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64474 (exit $ac_status); } &&
64475 { ac_try='test -z "$ac_cxx_werror_flag"
64476 || test ! -s conftest.err'
64477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64478 (eval $ac_try) 2>&5
64479 ac_status=$?
64480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64481 (exit $ac_status); }; } &&
64482 { ac_try='test -s conftest.$ac_objext'
64483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64484 (eval $ac_try) 2>&5
64485 ac_status=$?
64486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64487 (exit $ac_status); }; }; then
64488 glibcxx_cv_func__fabsf_use=yes
64489 else
64490 echo "$as_me: failed program was:" >&5
64491 sed 's/^/| /' conftest.$ac_ext >&5
64492
64493 glibcxx_cv_func__fabsf_use=no
64494 fi
64495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64496 ac_ext=c
64497 ac_cpp='$CPP $CPPFLAGS'
64498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64501
64502
64503 fi
64504
64505 fi
64506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
64507 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
64508
64509 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64510
64511 for ac_func in _fabsf
64512 do
64513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64514 echo "$as_me:$LINENO: checking for $ac_func" >&5
64515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64516 if eval "test \"\${$as_ac_var+set}\" = set"; then
64517 echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64519 if test x$gcc_no_link = xyes; then
64520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64522 { (exit 1); exit 1; }; }
64523 fi
64524 cat >conftest.$ac_ext <<_ACEOF
64525 /* confdefs.h. */
64526 _ACEOF
64527 cat confdefs.h >>conftest.$ac_ext
64528 cat >>conftest.$ac_ext <<_ACEOF
64529 /* end confdefs.h. */
64530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64532 #define $ac_func innocuous_$ac_func
64533
64534 /* System header to define __stub macros and hopefully few prototypes,
64535 which can conflict with char $ac_func (); below.
64536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64537 <limits.h> exists even on freestanding compilers. */
64538
64539 #ifdef __STDC__
64540 # include <limits.h>
64541 #else
64542 # include <assert.h>
64543 #endif
64544
64545 #undef $ac_func
64546
64547 /* Override any gcc2 internal prototype to avoid an error. */
64548 #ifdef __cplusplus
64549 extern "C"
64550 {
64551 #endif
64552 /* We use char because int might match the return type of a gcc2
64553 builtin and then its argument prototype would still apply. */
64554 char $ac_func ();
64555 /* The GNU C library defines this for functions which it implements
64556 to always fail with ENOSYS. Some functions are actually named
64557 something starting with __ and the normal name is an alias. */
64558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64559 choke me
64560 #else
64561 char (*f) () = $ac_func;
64562 #endif
64563 #ifdef __cplusplus
64564 }
64565 #endif
64566
64567 int
64568 main ()
64569 {
64570 return f != $ac_func;
64571 ;
64572 return 0;
64573 }
64574 _ACEOF
64575 rm -f conftest.$ac_objext conftest$ac_exeext
64576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64577 (eval $ac_link) 2>conftest.er1
64578 ac_status=$?
64579 grep -v '^ *+' conftest.er1 >conftest.err
64580 rm -f conftest.er1
64581 cat conftest.err >&5
64582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64583 (exit $ac_status); } &&
64584 { ac_try='test -z "$ac_c_werror_flag"
64585 || test ! -s conftest.err'
64586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64587 (eval $ac_try) 2>&5
64588 ac_status=$?
64589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64590 (exit $ac_status); }; } &&
64591 { ac_try='test -s conftest$ac_exeext'
64592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64593 (eval $ac_try) 2>&5
64594 ac_status=$?
64595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64596 (exit $ac_status); }; }; then
64597 eval "$as_ac_var=yes"
64598 else
64599 echo "$as_me: failed program was:" >&5
64600 sed 's/^/| /' conftest.$ac_ext >&5
64601
64602 eval "$as_ac_var=no"
64603 fi
64604 rm -f conftest.err conftest.$ac_objext \
64605 conftest$ac_exeext conftest.$ac_ext
64606 fi
64607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64609 if test `eval echo '${'$as_ac_var'}'` = yes; then
64610 cat >>confdefs.h <<_ACEOF
64611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64612 _ACEOF
64613
64614 fi
64615 done
64616
64617 fi
64618 fi
64619
64620
64621
64622
64623
64624
64625 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
64626 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
64627 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64628 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
64629 echo $ECHO_N "(cached) $ECHO_C" >&6
64630 else
64631
64632
64633
64634 ac_ext=cc
64635 ac_cpp='$CXXCPP $CPPFLAGS'
64636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64639
64640 cat >conftest.$ac_ext <<_ACEOF
64641 /* confdefs.h. */
64642 _ACEOF
64643 cat confdefs.h >>conftest.$ac_ext
64644 cat >>conftest.$ac_ext <<_ACEOF
64645 /* end confdefs.h. */
64646 #include <math.h>
64647 int
64648 main ()
64649 {
64650 fmodf(0, 0);
64651 ;
64652 return 0;
64653 }
64654 _ACEOF
64655 rm -f conftest.$ac_objext
64656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64657 (eval $ac_compile) 2>conftest.er1
64658 ac_status=$?
64659 grep -v '^ *+' conftest.er1 >conftest.err
64660 rm -f conftest.er1
64661 cat conftest.err >&5
64662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64663 (exit $ac_status); } &&
64664 { ac_try='test -z "$ac_cxx_werror_flag"
64665 || test ! -s conftest.err'
64666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64667 (eval $ac_try) 2>&5
64668 ac_status=$?
64669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64670 (exit $ac_status); }; } &&
64671 { ac_try='test -s conftest.$ac_objext'
64672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64673 (eval $ac_try) 2>&5
64674 ac_status=$?
64675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64676 (exit $ac_status); }; }; then
64677 glibcxx_cv_func_fmodf_use=yes
64678 else
64679 echo "$as_me: failed program was:" >&5
64680 sed 's/^/| /' conftest.$ac_ext >&5
64681
64682 glibcxx_cv_func_fmodf_use=no
64683 fi
64684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64685 ac_ext=c
64686 ac_cpp='$CPP $CPPFLAGS'
64687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64690
64691
64692 fi
64693
64694 fi
64695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
64696 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
64697
64698 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64699
64700 for ac_func in fmodf
64701 do
64702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64703 echo "$as_me:$LINENO: checking for $ac_func" >&5
64704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64705 if eval "test \"\${$as_ac_var+set}\" = set"; then
64706 echo $ECHO_N "(cached) $ECHO_C" >&6
64707 else
64708 if test x$gcc_no_link = xyes; then
64709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64711 { (exit 1); exit 1; }; }
64712 fi
64713 cat >conftest.$ac_ext <<_ACEOF
64714 /* confdefs.h. */
64715 _ACEOF
64716 cat confdefs.h >>conftest.$ac_ext
64717 cat >>conftest.$ac_ext <<_ACEOF
64718 /* end confdefs.h. */
64719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64721 #define $ac_func innocuous_$ac_func
64722
64723 /* System header to define __stub macros and hopefully few prototypes,
64724 which can conflict with char $ac_func (); below.
64725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64726 <limits.h> exists even on freestanding compilers. */
64727
64728 #ifdef __STDC__
64729 # include <limits.h>
64730 #else
64731 # include <assert.h>
64732 #endif
64733
64734 #undef $ac_func
64735
64736 /* Override any gcc2 internal prototype to avoid an error. */
64737 #ifdef __cplusplus
64738 extern "C"
64739 {
64740 #endif
64741 /* We use char because int might match the return type of a gcc2
64742 builtin and then its argument prototype would still apply. */
64743 char $ac_func ();
64744 /* The GNU C library defines this for functions which it implements
64745 to always fail with ENOSYS. Some functions are actually named
64746 something starting with __ and the normal name is an alias. */
64747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64748 choke me
64749 #else
64750 char (*f) () = $ac_func;
64751 #endif
64752 #ifdef __cplusplus
64753 }
64754 #endif
64755
64756 int
64757 main ()
64758 {
64759 return f != $ac_func;
64760 ;
64761 return 0;
64762 }
64763 _ACEOF
64764 rm -f conftest.$ac_objext conftest$ac_exeext
64765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64766 (eval $ac_link) 2>conftest.er1
64767 ac_status=$?
64768 grep -v '^ *+' conftest.er1 >conftest.err
64769 rm -f conftest.er1
64770 cat conftest.err >&5
64771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64772 (exit $ac_status); } &&
64773 { ac_try='test -z "$ac_c_werror_flag"
64774 || test ! -s conftest.err'
64775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64776 (eval $ac_try) 2>&5
64777 ac_status=$?
64778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64779 (exit $ac_status); }; } &&
64780 { ac_try='test -s conftest$ac_exeext'
64781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64782 (eval $ac_try) 2>&5
64783 ac_status=$?
64784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64785 (exit $ac_status); }; }; then
64786 eval "$as_ac_var=yes"
64787 else
64788 echo "$as_me: failed program was:" >&5
64789 sed 's/^/| /' conftest.$ac_ext >&5
64790
64791 eval "$as_ac_var=no"
64792 fi
64793 rm -f conftest.err conftest.$ac_objext \
64794 conftest$ac_exeext conftest.$ac_ext
64795 fi
64796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64798 if test `eval echo '${'$as_ac_var'}'` = yes; then
64799 cat >>confdefs.h <<_ACEOF
64800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64801 _ACEOF
64802
64803 fi
64804 done
64805
64806 else
64807
64808 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
64809 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
64810 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
64811 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
64812 echo $ECHO_N "(cached) $ECHO_C" >&6
64813 else
64814
64815
64816
64817 ac_ext=cc
64818 ac_cpp='$CXXCPP $CPPFLAGS'
64819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64822
64823 cat >conftest.$ac_ext <<_ACEOF
64824 /* confdefs.h. */
64825 _ACEOF
64826 cat confdefs.h >>conftest.$ac_ext
64827 cat >>conftest.$ac_ext <<_ACEOF
64828 /* end confdefs.h. */
64829 #include <math.h>
64830 int
64831 main ()
64832 {
64833 _fmodf(0, 0);
64834 ;
64835 return 0;
64836 }
64837 _ACEOF
64838 rm -f conftest.$ac_objext
64839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64840 (eval $ac_compile) 2>conftest.er1
64841 ac_status=$?
64842 grep -v '^ *+' conftest.er1 >conftest.err
64843 rm -f conftest.er1
64844 cat conftest.err >&5
64845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64846 (exit $ac_status); } &&
64847 { ac_try='test -z "$ac_cxx_werror_flag"
64848 || test ! -s conftest.err'
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); }; } &&
64854 { ac_try='test -s conftest.$ac_objext'
64855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64856 (eval $ac_try) 2>&5
64857 ac_status=$?
64858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64859 (exit $ac_status); }; }; then
64860 glibcxx_cv_func__fmodf_use=yes
64861 else
64862 echo "$as_me: failed program was:" >&5
64863 sed 's/^/| /' conftest.$ac_ext >&5
64864
64865 glibcxx_cv_func__fmodf_use=no
64866 fi
64867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64868 ac_ext=c
64869 ac_cpp='$CPP $CPPFLAGS'
64870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64873
64874
64875 fi
64876
64877 fi
64878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
64879 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
64880
64881 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
64882
64883 for ac_func in _fmodf
64884 do
64885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64886 echo "$as_me:$LINENO: checking for $ac_func" >&5
64887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64888 if eval "test \"\${$as_ac_var+set}\" = set"; then
64889 echo $ECHO_N "(cached) $ECHO_C" >&6
64890 else
64891 if test x$gcc_no_link = xyes; then
64892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64894 { (exit 1); exit 1; }; }
64895 fi
64896 cat >conftest.$ac_ext <<_ACEOF
64897 /* confdefs.h. */
64898 _ACEOF
64899 cat confdefs.h >>conftest.$ac_ext
64900 cat >>conftest.$ac_ext <<_ACEOF
64901 /* end confdefs.h. */
64902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64904 #define $ac_func innocuous_$ac_func
64905
64906 /* System header to define __stub macros and hopefully few prototypes,
64907 which can conflict with char $ac_func (); below.
64908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64909 <limits.h> exists even on freestanding compilers. */
64910
64911 #ifdef __STDC__
64912 # include <limits.h>
64913 #else
64914 # include <assert.h>
64915 #endif
64916
64917 #undef $ac_func
64918
64919 /* Override any gcc2 internal prototype to avoid an error. */
64920 #ifdef __cplusplus
64921 extern "C"
64922 {
64923 #endif
64924 /* We use char because int might match the return type of a gcc2
64925 builtin and then its argument prototype would still apply. */
64926 char $ac_func ();
64927 /* The GNU C library defines this for functions which it implements
64928 to always fail with ENOSYS. Some functions are actually named
64929 something starting with __ and the normal name is an alias. */
64930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64931 choke me
64932 #else
64933 char (*f) () = $ac_func;
64934 #endif
64935 #ifdef __cplusplus
64936 }
64937 #endif
64938
64939 int
64940 main ()
64941 {
64942 return f != $ac_func;
64943 ;
64944 return 0;
64945 }
64946 _ACEOF
64947 rm -f conftest.$ac_objext conftest$ac_exeext
64948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64949 (eval $ac_link) 2>conftest.er1
64950 ac_status=$?
64951 grep -v '^ *+' conftest.er1 >conftest.err
64952 rm -f conftest.er1
64953 cat conftest.err >&5
64954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64955 (exit $ac_status); } &&
64956 { ac_try='test -z "$ac_c_werror_flag"
64957 || test ! -s conftest.err'
64958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64959 (eval $ac_try) 2>&5
64960 ac_status=$?
64961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64962 (exit $ac_status); }; } &&
64963 { ac_try='test -s conftest$ac_exeext'
64964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64965 (eval $ac_try) 2>&5
64966 ac_status=$?
64967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64968 (exit $ac_status); }; }; then
64969 eval "$as_ac_var=yes"
64970 else
64971 echo "$as_me: failed program was:" >&5
64972 sed 's/^/| /' conftest.$ac_ext >&5
64973
64974 eval "$as_ac_var=no"
64975 fi
64976 rm -f conftest.err conftest.$ac_objext \
64977 conftest$ac_exeext conftest.$ac_ext
64978 fi
64979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64981 if test `eval echo '${'$as_ac_var'}'` = yes; then
64982 cat >>confdefs.h <<_ACEOF
64983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64984 _ACEOF
64985
64986 fi
64987 done
64988
64989 fi
64990 fi
64991
64992
64993
64994
64995
64996
64997 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
64998 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
64999 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65000 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
65001 echo $ECHO_N "(cached) $ECHO_C" >&6
65002 else
65003
65004
65005
65006 ac_ext=cc
65007 ac_cpp='$CXXCPP $CPPFLAGS'
65008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65011
65012 cat >conftest.$ac_ext <<_ACEOF
65013 /* confdefs.h. */
65014 _ACEOF
65015 cat confdefs.h >>conftest.$ac_ext
65016 cat >>conftest.$ac_ext <<_ACEOF
65017 /* end confdefs.h. */
65018 #include <math.h>
65019 int
65020 main ()
65021 {
65022 frexpf(0, 0);
65023 ;
65024 return 0;
65025 }
65026 _ACEOF
65027 rm -f conftest.$ac_objext
65028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65029 (eval $ac_compile) 2>conftest.er1
65030 ac_status=$?
65031 grep -v '^ *+' conftest.er1 >conftest.err
65032 rm -f conftest.er1
65033 cat conftest.err >&5
65034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65035 (exit $ac_status); } &&
65036 { ac_try='test -z "$ac_cxx_werror_flag"
65037 || test ! -s conftest.err'
65038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65039 (eval $ac_try) 2>&5
65040 ac_status=$?
65041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65042 (exit $ac_status); }; } &&
65043 { ac_try='test -s conftest.$ac_objext'
65044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65045 (eval $ac_try) 2>&5
65046 ac_status=$?
65047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65048 (exit $ac_status); }; }; then
65049 glibcxx_cv_func_frexpf_use=yes
65050 else
65051 echo "$as_me: failed program was:" >&5
65052 sed 's/^/| /' conftest.$ac_ext >&5
65053
65054 glibcxx_cv_func_frexpf_use=no
65055 fi
65056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65057 ac_ext=c
65058 ac_cpp='$CPP $CPPFLAGS'
65059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65062
65063
65064 fi
65065
65066 fi
65067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
65068 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
65069
65070 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65071
65072 for ac_func in frexpf
65073 do
65074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65075 echo "$as_me:$LINENO: checking for $ac_func" >&5
65076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65077 if eval "test \"\${$as_ac_var+set}\" = set"; then
65078 echo $ECHO_N "(cached) $ECHO_C" >&6
65079 else
65080 if test x$gcc_no_link = xyes; then
65081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65083 { (exit 1); exit 1; }; }
65084 fi
65085 cat >conftest.$ac_ext <<_ACEOF
65086 /* confdefs.h. */
65087 _ACEOF
65088 cat confdefs.h >>conftest.$ac_ext
65089 cat >>conftest.$ac_ext <<_ACEOF
65090 /* end confdefs.h. */
65091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65093 #define $ac_func innocuous_$ac_func
65094
65095 /* System header to define __stub macros and hopefully few prototypes,
65096 which can conflict with char $ac_func (); below.
65097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65098 <limits.h> exists even on freestanding compilers. */
65099
65100 #ifdef __STDC__
65101 # include <limits.h>
65102 #else
65103 # include <assert.h>
65104 #endif
65105
65106 #undef $ac_func
65107
65108 /* Override any gcc2 internal prototype to avoid an error. */
65109 #ifdef __cplusplus
65110 extern "C"
65111 {
65112 #endif
65113 /* We use char because int might match the return type of a gcc2
65114 builtin and then its argument prototype would still apply. */
65115 char $ac_func ();
65116 /* The GNU C library defines this for functions which it implements
65117 to always fail with ENOSYS. Some functions are actually named
65118 something starting with __ and the normal name is an alias. */
65119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65120 choke me
65121 #else
65122 char (*f) () = $ac_func;
65123 #endif
65124 #ifdef __cplusplus
65125 }
65126 #endif
65127
65128 int
65129 main ()
65130 {
65131 return f != $ac_func;
65132 ;
65133 return 0;
65134 }
65135 _ACEOF
65136 rm -f conftest.$ac_objext conftest$ac_exeext
65137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65138 (eval $ac_link) 2>conftest.er1
65139 ac_status=$?
65140 grep -v '^ *+' conftest.er1 >conftest.err
65141 rm -f conftest.er1
65142 cat conftest.err >&5
65143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65144 (exit $ac_status); } &&
65145 { ac_try='test -z "$ac_c_werror_flag"
65146 || test ! -s conftest.err'
65147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65148 (eval $ac_try) 2>&5
65149 ac_status=$?
65150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65151 (exit $ac_status); }; } &&
65152 { ac_try='test -s conftest$ac_exeext'
65153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65154 (eval $ac_try) 2>&5
65155 ac_status=$?
65156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65157 (exit $ac_status); }; }; then
65158 eval "$as_ac_var=yes"
65159 else
65160 echo "$as_me: failed program was:" >&5
65161 sed 's/^/| /' conftest.$ac_ext >&5
65162
65163 eval "$as_ac_var=no"
65164 fi
65165 rm -f conftest.err conftest.$ac_objext \
65166 conftest$ac_exeext conftest.$ac_ext
65167 fi
65168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65170 if test `eval echo '${'$as_ac_var'}'` = yes; then
65171 cat >>confdefs.h <<_ACEOF
65172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65173 _ACEOF
65174
65175 fi
65176 done
65177
65178 else
65179
65180 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
65181 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
65182 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65183 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
65184 echo $ECHO_N "(cached) $ECHO_C" >&6
65185 else
65186
65187
65188
65189 ac_ext=cc
65190 ac_cpp='$CXXCPP $CPPFLAGS'
65191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65194
65195 cat >conftest.$ac_ext <<_ACEOF
65196 /* confdefs.h. */
65197 _ACEOF
65198 cat confdefs.h >>conftest.$ac_ext
65199 cat >>conftest.$ac_ext <<_ACEOF
65200 /* end confdefs.h. */
65201 #include <math.h>
65202 int
65203 main ()
65204 {
65205 _frexpf(0, 0);
65206 ;
65207 return 0;
65208 }
65209 _ACEOF
65210 rm -f conftest.$ac_objext
65211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65212 (eval $ac_compile) 2>conftest.er1
65213 ac_status=$?
65214 grep -v '^ *+' conftest.er1 >conftest.err
65215 rm -f conftest.er1
65216 cat conftest.err >&5
65217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65218 (exit $ac_status); } &&
65219 { ac_try='test -z "$ac_cxx_werror_flag"
65220 || test ! -s conftest.err'
65221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65222 (eval $ac_try) 2>&5
65223 ac_status=$?
65224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65225 (exit $ac_status); }; } &&
65226 { ac_try='test -s conftest.$ac_objext'
65227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65228 (eval $ac_try) 2>&5
65229 ac_status=$?
65230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65231 (exit $ac_status); }; }; then
65232 glibcxx_cv_func__frexpf_use=yes
65233 else
65234 echo "$as_me: failed program was:" >&5
65235 sed 's/^/| /' conftest.$ac_ext >&5
65236
65237 glibcxx_cv_func__frexpf_use=no
65238 fi
65239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65240 ac_ext=c
65241 ac_cpp='$CPP $CPPFLAGS'
65242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65245
65246
65247 fi
65248
65249 fi
65250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
65251 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
65252
65253 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65254
65255 for ac_func in _frexpf
65256 do
65257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65258 echo "$as_me:$LINENO: checking for $ac_func" >&5
65259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65260 if eval "test \"\${$as_ac_var+set}\" = set"; then
65261 echo $ECHO_N "(cached) $ECHO_C" >&6
65262 else
65263 if test x$gcc_no_link = xyes; then
65264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65266 { (exit 1); exit 1; }; }
65267 fi
65268 cat >conftest.$ac_ext <<_ACEOF
65269 /* confdefs.h. */
65270 _ACEOF
65271 cat confdefs.h >>conftest.$ac_ext
65272 cat >>conftest.$ac_ext <<_ACEOF
65273 /* end confdefs.h. */
65274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65276 #define $ac_func innocuous_$ac_func
65277
65278 /* System header to define __stub macros and hopefully few prototypes,
65279 which can conflict with char $ac_func (); below.
65280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65281 <limits.h> exists even on freestanding compilers. */
65282
65283 #ifdef __STDC__
65284 # include <limits.h>
65285 #else
65286 # include <assert.h>
65287 #endif
65288
65289 #undef $ac_func
65290
65291 /* Override any gcc2 internal prototype to avoid an error. */
65292 #ifdef __cplusplus
65293 extern "C"
65294 {
65295 #endif
65296 /* We use char because int might match the return type of a gcc2
65297 builtin and then its argument prototype would still apply. */
65298 char $ac_func ();
65299 /* The GNU C library defines this for functions which it implements
65300 to always fail with ENOSYS. Some functions are actually named
65301 something starting with __ and the normal name is an alias. */
65302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65303 choke me
65304 #else
65305 char (*f) () = $ac_func;
65306 #endif
65307 #ifdef __cplusplus
65308 }
65309 #endif
65310
65311 int
65312 main ()
65313 {
65314 return f != $ac_func;
65315 ;
65316 return 0;
65317 }
65318 _ACEOF
65319 rm -f conftest.$ac_objext conftest$ac_exeext
65320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65321 (eval $ac_link) 2>conftest.er1
65322 ac_status=$?
65323 grep -v '^ *+' conftest.er1 >conftest.err
65324 rm -f conftest.er1
65325 cat conftest.err >&5
65326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65327 (exit $ac_status); } &&
65328 { ac_try='test -z "$ac_c_werror_flag"
65329 || test ! -s conftest.err'
65330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65331 (eval $ac_try) 2>&5
65332 ac_status=$?
65333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65334 (exit $ac_status); }; } &&
65335 { ac_try='test -s conftest$ac_exeext'
65336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65337 (eval $ac_try) 2>&5
65338 ac_status=$?
65339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65340 (exit $ac_status); }; }; then
65341 eval "$as_ac_var=yes"
65342 else
65343 echo "$as_me: failed program was:" >&5
65344 sed 's/^/| /' conftest.$ac_ext >&5
65345
65346 eval "$as_ac_var=no"
65347 fi
65348 rm -f conftest.err conftest.$ac_objext \
65349 conftest$ac_exeext conftest.$ac_ext
65350 fi
65351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65353 if test `eval echo '${'$as_ac_var'}'` = yes; then
65354 cat >>confdefs.h <<_ACEOF
65355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65356 _ACEOF
65357
65358 fi
65359 done
65360
65361 fi
65362 fi
65363
65364
65365
65366
65367
65368
65369 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
65370 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
65371 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65372 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
65373 echo $ECHO_N "(cached) $ECHO_C" >&6
65374 else
65375
65376
65377
65378 ac_ext=cc
65379 ac_cpp='$CXXCPP $CPPFLAGS'
65380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65383
65384 cat >conftest.$ac_ext <<_ACEOF
65385 /* confdefs.h. */
65386 _ACEOF
65387 cat confdefs.h >>conftest.$ac_ext
65388 cat >>conftest.$ac_ext <<_ACEOF
65389 /* end confdefs.h. */
65390 #include <math.h>
65391 int
65392 main ()
65393 {
65394 hypotf(0, 0);
65395 ;
65396 return 0;
65397 }
65398 _ACEOF
65399 rm -f conftest.$ac_objext
65400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65401 (eval $ac_compile) 2>conftest.er1
65402 ac_status=$?
65403 grep -v '^ *+' conftest.er1 >conftest.err
65404 rm -f conftest.er1
65405 cat conftest.err >&5
65406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65407 (exit $ac_status); } &&
65408 { ac_try='test -z "$ac_cxx_werror_flag"
65409 || test ! -s conftest.err'
65410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65411 (eval $ac_try) 2>&5
65412 ac_status=$?
65413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65414 (exit $ac_status); }; } &&
65415 { ac_try='test -s conftest.$ac_objext'
65416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65417 (eval $ac_try) 2>&5
65418 ac_status=$?
65419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65420 (exit $ac_status); }; }; then
65421 glibcxx_cv_func_hypotf_use=yes
65422 else
65423 echo "$as_me: failed program was:" >&5
65424 sed 's/^/| /' conftest.$ac_ext >&5
65425
65426 glibcxx_cv_func_hypotf_use=no
65427 fi
65428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65429 ac_ext=c
65430 ac_cpp='$CPP $CPPFLAGS'
65431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65434
65435
65436 fi
65437
65438 fi
65439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
65440 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
65441
65442 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65443
65444 for ac_func in hypotf
65445 do
65446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65447 echo "$as_me:$LINENO: checking for $ac_func" >&5
65448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65449 if eval "test \"\${$as_ac_var+set}\" = set"; then
65450 echo $ECHO_N "(cached) $ECHO_C" >&6
65451 else
65452 if test x$gcc_no_link = xyes; then
65453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65455 { (exit 1); exit 1; }; }
65456 fi
65457 cat >conftest.$ac_ext <<_ACEOF
65458 /* confdefs.h. */
65459 _ACEOF
65460 cat confdefs.h >>conftest.$ac_ext
65461 cat >>conftest.$ac_ext <<_ACEOF
65462 /* end confdefs.h. */
65463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65465 #define $ac_func innocuous_$ac_func
65466
65467 /* System header to define __stub macros and hopefully few prototypes,
65468 which can conflict with char $ac_func (); below.
65469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65470 <limits.h> exists even on freestanding compilers. */
65471
65472 #ifdef __STDC__
65473 # include <limits.h>
65474 #else
65475 # include <assert.h>
65476 #endif
65477
65478 #undef $ac_func
65479
65480 /* Override any gcc2 internal prototype to avoid an error. */
65481 #ifdef __cplusplus
65482 extern "C"
65483 {
65484 #endif
65485 /* We use char because int might match the return type of a gcc2
65486 builtin and then its argument prototype would still apply. */
65487 char $ac_func ();
65488 /* The GNU C library defines this for functions which it implements
65489 to always fail with ENOSYS. Some functions are actually named
65490 something starting with __ and the normal name is an alias. */
65491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65492 choke me
65493 #else
65494 char (*f) () = $ac_func;
65495 #endif
65496 #ifdef __cplusplus
65497 }
65498 #endif
65499
65500 int
65501 main ()
65502 {
65503 return f != $ac_func;
65504 ;
65505 return 0;
65506 }
65507 _ACEOF
65508 rm -f conftest.$ac_objext conftest$ac_exeext
65509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65510 (eval $ac_link) 2>conftest.er1
65511 ac_status=$?
65512 grep -v '^ *+' conftest.er1 >conftest.err
65513 rm -f conftest.er1
65514 cat conftest.err >&5
65515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65516 (exit $ac_status); } &&
65517 { ac_try='test -z "$ac_c_werror_flag"
65518 || test ! -s conftest.err'
65519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65520 (eval $ac_try) 2>&5
65521 ac_status=$?
65522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65523 (exit $ac_status); }; } &&
65524 { ac_try='test -s conftest$ac_exeext'
65525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65526 (eval $ac_try) 2>&5
65527 ac_status=$?
65528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65529 (exit $ac_status); }; }; then
65530 eval "$as_ac_var=yes"
65531 else
65532 echo "$as_me: failed program was:" >&5
65533 sed 's/^/| /' conftest.$ac_ext >&5
65534
65535 eval "$as_ac_var=no"
65536 fi
65537 rm -f conftest.err conftest.$ac_objext \
65538 conftest$ac_exeext conftest.$ac_ext
65539 fi
65540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65542 if test `eval echo '${'$as_ac_var'}'` = yes; then
65543 cat >>confdefs.h <<_ACEOF
65544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65545 _ACEOF
65546
65547 fi
65548 done
65549
65550 else
65551
65552 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
65553 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
65554 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65555 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
65556 echo $ECHO_N "(cached) $ECHO_C" >&6
65557 else
65558
65559
65560
65561 ac_ext=cc
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566
65567 cat >conftest.$ac_ext <<_ACEOF
65568 /* confdefs.h. */
65569 _ACEOF
65570 cat confdefs.h >>conftest.$ac_ext
65571 cat >>conftest.$ac_ext <<_ACEOF
65572 /* end confdefs.h. */
65573 #include <math.h>
65574 int
65575 main ()
65576 {
65577 _hypotf(0, 0);
65578 ;
65579 return 0;
65580 }
65581 _ACEOF
65582 rm -f conftest.$ac_objext
65583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65584 (eval $ac_compile) 2>conftest.er1
65585 ac_status=$?
65586 grep -v '^ *+' conftest.er1 >conftest.err
65587 rm -f conftest.er1
65588 cat conftest.err >&5
65589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65590 (exit $ac_status); } &&
65591 { ac_try='test -z "$ac_cxx_werror_flag"
65592 || test ! -s conftest.err'
65593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65594 (eval $ac_try) 2>&5
65595 ac_status=$?
65596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65597 (exit $ac_status); }; } &&
65598 { ac_try='test -s conftest.$ac_objext'
65599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65600 (eval $ac_try) 2>&5
65601 ac_status=$?
65602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65603 (exit $ac_status); }; }; then
65604 glibcxx_cv_func__hypotf_use=yes
65605 else
65606 echo "$as_me: failed program was:" >&5
65607 sed 's/^/| /' conftest.$ac_ext >&5
65608
65609 glibcxx_cv_func__hypotf_use=no
65610 fi
65611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65612 ac_ext=c
65613 ac_cpp='$CPP $CPPFLAGS'
65614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65617
65618
65619 fi
65620
65621 fi
65622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
65623 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
65624
65625 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65626
65627 for ac_func in _hypotf
65628 do
65629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65630 echo "$as_me:$LINENO: checking for $ac_func" >&5
65631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65632 if eval "test \"\${$as_ac_var+set}\" = set"; then
65633 echo $ECHO_N "(cached) $ECHO_C" >&6
65634 else
65635 if test x$gcc_no_link = xyes; then
65636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65638 { (exit 1); exit 1; }; }
65639 fi
65640 cat >conftest.$ac_ext <<_ACEOF
65641 /* confdefs.h. */
65642 _ACEOF
65643 cat confdefs.h >>conftest.$ac_ext
65644 cat >>conftest.$ac_ext <<_ACEOF
65645 /* end confdefs.h. */
65646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65648 #define $ac_func innocuous_$ac_func
65649
65650 /* System header to define __stub macros and hopefully few prototypes,
65651 which can conflict with char $ac_func (); below.
65652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65653 <limits.h> exists even on freestanding compilers. */
65654
65655 #ifdef __STDC__
65656 # include <limits.h>
65657 #else
65658 # include <assert.h>
65659 #endif
65660
65661 #undef $ac_func
65662
65663 /* Override any gcc2 internal prototype to avoid an error. */
65664 #ifdef __cplusplus
65665 extern "C"
65666 {
65667 #endif
65668 /* We use char because int might match the return type of a gcc2
65669 builtin and then its argument prototype would still apply. */
65670 char $ac_func ();
65671 /* The GNU C library defines this for functions which it implements
65672 to always fail with ENOSYS. Some functions are actually named
65673 something starting with __ and the normal name is an alias. */
65674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65675 choke me
65676 #else
65677 char (*f) () = $ac_func;
65678 #endif
65679 #ifdef __cplusplus
65680 }
65681 #endif
65682
65683 int
65684 main ()
65685 {
65686 return f != $ac_func;
65687 ;
65688 return 0;
65689 }
65690 _ACEOF
65691 rm -f conftest.$ac_objext conftest$ac_exeext
65692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65693 (eval $ac_link) 2>conftest.er1
65694 ac_status=$?
65695 grep -v '^ *+' conftest.er1 >conftest.err
65696 rm -f conftest.er1
65697 cat conftest.err >&5
65698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65699 (exit $ac_status); } &&
65700 { ac_try='test -z "$ac_c_werror_flag"
65701 || test ! -s conftest.err'
65702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65703 (eval $ac_try) 2>&5
65704 ac_status=$?
65705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65706 (exit $ac_status); }; } &&
65707 { ac_try='test -s conftest$ac_exeext'
65708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65709 (eval $ac_try) 2>&5
65710 ac_status=$?
65711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65712 (exit $ac_status); }; }; then
65713 eval "$as_ac_var=yes"
65714 else
65715 echo "$as_me: failed program was:" >&5
65716 sed 's/^/| /' conftest.$ac_ext >&5
65717
65718 eval "$as_ac_var=no"
65719 fi
65720 rm -f conftest.err conftest.$ac_objext \
65721 conftest$ac_exeext conftest.$ac_ext
65722 fi
65723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65725 if test `eval echo '${'$as_ac_var'}'` = yes; then
65726 cat >>confdefs.h <<_ACEOF
65727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65728 _ACEOF
65729
65730 fi
65731 done
65732
65733 fi
65734 fi
65735
65736
65737
65738
65739
65740
65741 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
65742 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
65743 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65744 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
65745 echo $ECHO_N "(cached) $ECHO_C" >&6
65746 else
65747
65748
65749
65750 ac_ext=cc
65751 ac_cpp='$CXXCPP $CPPFLAGS'
65752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65755
65756 cat >conftest.$ac_ext <<_ACEOF
65757 /* confdefs.h. */
65758 _ACEOF
65759 cat confdefs.h >>conftest.$ac_ext
65760 cat >>conftest.$ac_ext <<_ACEOF
65761 /* end confdefs.h. */
65762 #include <math.h>
65763 int
65764 main ()
65765 {
65766 ldexpf(0, 0);
65767 ;
65768 return 0;
65769 }
65770 _ACEOF
65771 rm -f conftest.$ac_objext
65772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65773 (eval $ac_compile) 2>conftest.er1
65774 ac_status=$?
65775 grep -v '^ *+' conftest.er1 >conftest.err
65776 rm -f conftest.er1
65777 cat conftest.err >&5
65778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65779 (exit $ac_status); } &&
65780 { ac_try='test -z "$ac_cxx_werror_flag"
65781 || test ! -s conftest.err'
65782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65783 (eval $ac_try) 2>&5
65784 ac_status=$?
65785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65786 (exit $ac_status); }; } &&
65787 { ac_try='test -s conftest.$ac_objext'
65788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65789 (eval $ac_try) 2>&5
65790 ac_status=$?
65791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65792 (exit $ac_status); }; }; then
65793 glibcxx_cv_func_ldexpf_use=yes
65794 else
65795 echo "$as_me: failed program was:" >&5
65796 sed 's/^/| /' conftest.$ac_ext >&5
65797
65798 glibcxx_cv_func_ldexpf_use=no
65799 fi
65800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65801 ac_ext=c
65802 ac_cpp='$CPP $CPPFLAGS'
65803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65806
65807
65808 fi
65809
65810 fi
65811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
65812 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
65813
65814 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
65815
65816 for ac_func in ldexpf
65817 do
65818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65819 echo "$as_me:$LINENO: checking for $ac_func" >&5
65820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65821 if eval "test \"\${$as_ac_var+set}\" = set"; then
65822 echo $ECHO_N "(cached) $ECHO_C" >&6
65823 else
65824 if test x$gcc_no_link = xyes; then
65825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65827 { (exit 1); exit 1; }; }
65828 fi
65829 cat >conftest.$ac_ext <<_ACEOF
65830 /* confdefs.h. */
65831 _ACEOF
65832 cat confdefs.h >>conftest.$ac_ext
65833 cat >>conftest.$ac_ext <<_ACEOF
65834 /* end confdefs.h. */
65835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65837 #define $ac_func innocuous_$ac_func
65838
65839 /* System header to define __stub macros and hopefully few prototypes,
65840 which can conflict with char $ac_func (); below.
65841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65842 <limits.h> exists even on freestanding compilers. */
65843
65844 #ifdef __STDC__
65845 # include <limits.h>
65846 #else
65847 # include <assert.h>
65848 #endif
65849
65850 #undef $ac_func
65851
65852 /* Override any gcc2 internal prototype to avoid an error. */
65853 #ifdef __cplusplus
65854 extern "C"
65855 {
65856 #endif
65857 /* We use char because int might match the return type of a gcc2
65858 builtin and then its argument prototype would still apply. */
65859 char $ac_func ();
65860 /* The GNU C library defines this for functions which it implements
65861 to always fail with ENOSYS. Some functions are actually named
65862 something starting with __ and the normal name is an alias. */
65863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65864 choke me
65865 #else
65866 char (*f) () = $ac_func;
65867 #endif
65868 #ifdef __cplusplus
65869 }
65870 #endif
65871
65872 int
65873 main ()
65874 {
65875 return f != $ac_func;
65876 ;
65877 return 0;
65878 }
65879 _ACEOF
65880 rm -f conftest.$ac_objext conftest$ac_exeext
65881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65882 (eval $ac_link) 2>conftest.er1
65883 ac_status=$?
65884 grep -v '^ *+' conftest.er1 >conftest.err
65885 rm -f conftest.er1
65886 cat conftest.err >&5
65887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65888 (exit $ac_status); } &&
65889 { ac_try='test -z "$ac_c_werror_flag"
65890 || test ! -s conftest.err'
65891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65892 (eval $ac_try) 2>&5
65893 ac_status=$?
65894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65895 (exit $ac_status); }; } &&
65896 { ac_try='test -s conftest$ac_exeext'
65897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65898 (eval $ac_try) 2>&5
65899 ac_status=$?
65900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65901 (exit $ac_status); }; }; then
65902 eval "$as_ac_var=yes"
65903 else
65904 echo "$as_me: failed program was:" >&5
65905 sed 's/^/| /' conftest.$ac_ext >&5
65906
65907 eval "$as_ac_var=no"
65908 fi
65909 rm -f conftest.err conftest.$ac_objext \
65910 conftest$ac_exeext conftest.$ac_ext
65911 fi
65912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65914 if test `eval echo '${'$as_ac_var'}'` = yes; then
65915 cat >>confdefs.h <<_ACEOF
65916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65917 _ACEOF
65918
65919 fi
65920 done
65921
65922 else
65923
65924 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
65925 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
65926 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
65927 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
65928 echo $ECHO_N "(cached) $ECHO_C" >&6
65929 else
65930
65931
65932
65933 ac_ext=cc
65934 ac_cpp='$CXXCPP $CPPFLAGS'
65935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65938
65939 cat >conftest.$ac_ext <<_ACEOF
65940 /* confdefs.h. */
65941 _ACEOF
65942 cat confdefs.h >>conftest.$ac_ext
65943 cat >>conftest.$ac_ext <<_ACEOF
65944 /* end confdefs.h. */
65945 #include <math.h>
65946 int
65947 main ()
65948 {
65949 _ldexpf(0, 0);
65950 ;
65951 return 0;
65952 }
65953 _ACEOF
65954 rm -f conftest.$ac_objext
65955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65956 (eval $ac_compile) 2>conftest.er1
65957 ac_status=$?
65958 grep -v '^ *+' conftest.er1 >conftest.err
65959 rm -f conftest.er1
65960 cat conftest.err >&5
65961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65962 (exit $ac_status); } &&
65963 { ac_try='test -z "$ac_cxx_werror_flag"
65964 || test ! -s conftest.err'
65965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65966 (eval $ac_try) 2>&5
65967 ac_status=$?
65968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65969 (exit $ac_status); }; } &&
65970 { ac_try='test -s conftest.$ac_objext'
65971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65972 (eval $ac_try) 2>&5
65973 ac_status=$?
65974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65975 (exit $ac_status); }; }; then
65976 glibcxx_cv_func__ldexpf_use=yes
65977 else
65978 echo "$as_me: failed program was:" >&5
65979 sed 's/^/| /' conftest.$ac_ext >&5
65980
65981 glibcxx_cv_func__ldexpf_use=no
65982 fi
65983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65984 ac_ext=c
65985 ac_cpp='$CPP $CPPFLAGS'
65986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65989
65990
65991 fi
65992
65993 fi
65994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
65995 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
65996
65997 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
65998
65999 for ac_func in _ldexpf
66000 do
66001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66002 echo "$as_me:$LINENO: checking for $ac_func" >&5
66003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66004 if eval "test \"\${$as_ac_var+set}\" = set"; then
66005 echo $ECHO_N "(cached) $ECHO_C" >&6
66006 else
66007 if test x$gcc_no_link = xyes; then
66008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66010 { (exit 1); exit 1; }; }
66011 fi
66012 cat >conftest.$ac_ext <<_ACEOF
66013 /* confdefs.h. */
66014 _ACEOF
66015 cat confdefs.h >>conftest.$ac_ext
66016 cat >>conftest.$ac_ext <<_ACEOF
66017 /* end confdefs.h. */
66018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66020 #define $ac_func innocuous_$ac_func
66021
66022 /* System header to define __stub macros and hopefully few prototypes,
66023 which can conflict with char $ac_func (); below.
66024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66025 <limits.h> exists even on freestanding compilers. */
66026
66027 #ifdef __STDC__
66028 # include <limits.h>
66029 #else
66030 # include <assert.h>
66031 #endif
66032
66033 #undef $ac_func
66034
66035 /* Override any gcc2 internal prototype to avoid an error. */
66036 #ifdef __cplusplus
66037 extern "C"
66038 {
66039 #endif
66040 /* We use char because int might match the return type of a gcc2
66041 builtin and then its argument prototype would still apply. */
66042 char $ac_func ();
66043 /* The GNU C library defines this for functions which it implements
66044 to always fail with ENOSYS. Some functions are actually named
66045 something starting with __ and the normal name is an alias. */
66046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66047 choke me
66048 #else
66049 char (*f) () = $ac_func;
66050 #endif
66051 #ifdef __cplusplus
66052 }
66053 #endif
66054
66055 int
66056 main ()
66057 {
66058 return f != $ac_func;
66059 ;
66060 return 0;
66061 }
66062 _ACEOF
66063 rm -f conftest.$ac_objext conftest$ac_exeext
66064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66065 (eval $ac_link) 2>conftest.er1
66066 ac_status=$?
66067 grep -v '^ *+' conftest.er1 >conftest.err
66068 rm -f conftest.er1
66069 cat conftest.err >&5
66070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66071 (exit $ac_status); } &&
66072 { ac_try='test -z "$ac_c_werror_flag"
66073 || test ! -s conftest.err'
66074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66075 (eval $ac_try) 2>&5
66076 ac_status=$?
66077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66078 (exit $ac_status); }; } &&
66079 { ac_try='test -s conftest$ac_exeext'
66080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66081 (eval $ac_try) 2>&5
66082 ac_status=$?
66083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66084 (exit $ac_status); }; }; then
66085 eval "$as_ac_var=yes"
66086 else
66087 echo "$as_me: failed program was:" >&5
66088 sed 's/^/| /' conftest.$ac_ext >&5
66089
66090 eval "$as_ac_var=no"
66091 fi
66092 rm -f conftest.err conftest.$ac_objext \
66093 conftest$ac_exeext conftest.$ac_ext
66094 fi
66095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66097 if test `eval echo '${'$as_ac_var'}'` = yes; then
66098 cat >>confdefs.h <<_ACEOF
66099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66100 _ACEOF
66101
66102 fi
66103 done
66104
66105 fi
66106 fi
66107
66108
66109
66110
66111
66112
66113 echo "$as_me:$LINENO: checking for logf declaration" >&5
66114 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
66115 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66116 if test "${glibcxx_cv_func_logf_use+set}" = set; then
66117 echo $ECHO_N "(cached) $ECHO_C" >&6
66118 else
66119
66120
66121
66122 ac_ext=cc
66123 ac_cpp='$CXXCPP $CPPFLAGS'
66124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66127
66128 cat >conftest.$ac_ext <<_ACEOF
66129 /* confdefs.h. */
66130 _ACEOF
66131 cat confdefs.h >>conftest.$ac_ext
66132 cat >>conftest.$ac_ext <<_ACEOF
66133 /* end confdefs.h. */
66134 #include <math.h>
66135 #ifdef HAVE_IEEEFP_H
66136 #include <ieeefp.h>
66137 #endif
66138
66139 int
66140 main ()
66141 {
66142 logf(0);
66143 ;
66144 return 0;
66145 }
66146 _ACEOF
66147 rm -f conftest.$ac_objext
66148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66149 (eval $ac_compile) 2>conftest.er1
66150 ac_status=$?
66151 grep -v '^ *+' conftest.er1 >conftest.err
66152 rm -f conftest.er1
66153 cat conftest.err >&5
66154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66155 (exit $ac_status); } &&
66156 { ac_try='test -z "$ac_cxx_werror_flag"
66157 || test ! -s conftest.err'
66158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66159 (eval $ac_try) 2>&5
66160 ac_status=$?
66161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66162 (exit $ac_status); }; } &&
66163 { ac_try='test -s conftest.$ac_objext'
66164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66165 (eval $ac_try) 2>&5
66166 ac_status=$?
66167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168 (exit $ac_status); }; }; then
66169 glibcxx_cv_func_logf_use=yes
66170 else
66171 echo "$as_me: failed program was:" >&5
66172 sed 's/^/| /' conftest.$ac_ext >&5
66173
66174 glibcxx_cv_func_logf_use=no
66175 fi
66176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66177 ac_ext=c
66178 ac_cpp='$CPP $CPPFLAGS'
66179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66182
66183
66184 fi
66185
66186 fi
66187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
66188 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
66189
66190 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66191
66192 for ac_func in logf
66193 do
66194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66195 echo "$as_me:$LINENO: checking for $ac_func" >&5
66196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66197 if eval "test \"\${$as_ac_var+set}\" = set"; then
66198 echo $ECHO_N "(cached) $ECHO_C" >&6
66199 else
66200 if test x$gcc_no_link = xyes; then
66201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66203 { (exit 1); exit 1; }; }
66204 fi
66205 cat >conftest.$ac_ext <<_ACEOF
66206 /* confdefs.h. */
66207 _ACEOF
66208 cat confdefs.h >>conftest.$ac_ext
66209 cat >>conftest.$ac_ext <<_ACEOF
66210 /* end confdefs.h. */
66211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66213 #define $ac_func innocuous_$ac_func
66214
66215 /* System header to define __stub macros and hopefully few prototypes,
66216 which can conflict with char $ac_func (); below.
66217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66218 <limits.h> exists even on freestanding compilers. */
66219
66220 #ifdef __STDC__
66221 # include <limits.h>
66222 #else
66223 # include <assert.h>
66224 #endif
66225
66226 #undef $ac_func
66227
66228 /* Override any gcc2 internal prototype to avoid an error. */
66229 #ifdef __cplusplus
66230 extern "C"
66231 {
66232 #endif
66233 /* We use char because int might match the return type of a gcc2
66234 builtin and then its argument prototype would still apply. */
66235 char $ac_func ();
66236 /* The GNU C library defines this for functions which it implements
66237 to always fail with ENOSYS. Some functions are actually named
66238 something starting with __ and the normal name is an alias. */
66239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66240 choke me
66241 #else
66242 char (*f) () = $ac_func;
66243 #endif
66244 #ifdef __cplusplus
66245 }
66246 #endif
66247
66248 int
66249 main ()
66250 {
66251 return f != $ac_func;
66252 ;
66253 return 0;
66254 }
66255 _ACEOF
66256 rm -f conftest.$ac_objext conftest$ac_exeext
66257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66258 (eval $ac_link) 2>conftest.er1
66259 ac_status=$?
66260 grep -v '^ *+' conftest.er1 >conftest.err
66261 rm -f conftest.er1
66262 cat conftest.err >&5
66263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66264 (exit $ac_status); } &&
66265 { ac_try='test -z "$ac_c_werror_flag"
66266 || test ! -s conftest.err'
66267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66268 (eval $ac_try) 2>&5
66269 ac_status=$?
66270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66271 (exit $ac_status); }; } &&
66272 { ac_try='test -s conftest$ac_exeext'
66273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66274 (eval $ac_try) 2>&5
66275 ac_status=$?
66276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66277 (exit $ac_status); }; }; then
66278 eval "$as_ac_var=yes"
66279 else
66280 echo "$as_me: failed program was:" >&5
66281 sed 's/^/| /' conftest.$ac_ext >&5
66282
66283 eval "$as_ac_var=no"
66284 fi
66285 rm -f conftest.err conftest.$ac_objext \
66286 conftest$ac_exeext conftest.$ac_ext
66287 fi
66288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66290 if test `eval echo '${'$as_ac_var'}'` = yes; then
66291 cat >>confdefs.h <<_ACEOF
66292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66293 _ACEOF
66294
66295 fi
66296 done
66297
66298 else
66299
66300 echo "$as_me:$LINENO: checking for _logf declaration" >&5
66301 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
66302 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66303 if test "${glibcxx_cv_func__logf_use+set}" = set; then
66304 echo $ECHO_N "(cached) $ECHO_C" >&6
66305 else
66306
66307
66308
66309 ac_ext=cc
66310 ac_cpp='$CXXCPP $CPPFLAGS'
66311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66314
66315 cat >conftest.$ac_ext <<_ACEOF
66316 /* confdefs.h. */
66317 _ACEOF
66318 cat confdefs.h >>conftest.$ac_ext
66319 cat >>conftest.$ac_ext <<_ACEOF
66320 /* end confdefs.h. */
66321 #include <math.h>
66322 #ifdef HAVE_IEEEFP_H
66323 #include <ieeefp.h>
66324 #endif
66325
66326 int
66327 main ()
66328 {
66329 _logf(0);
66330 ;
66331 return 0;
66332 }
66333 _ACEOF
66334 rm -f conftest.$ac_objext
66335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66336 (eval $ac_compile) 2>conftest.er1
66337 ac_status=$?
66338 grep -v '^ *+' conftest.er1 >conftest.err
66339 rm -f conftest.er1
66340 cat conftest.err >&5
66341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66342 (exit $ac_status); } &&
66343 { ac_try='test -z "$ac_cxx_werror_flag"
66344 || test ! -s conftest.err'
66345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66346 (eval $ac_try) 2>&5
66347 ac_status=$?
66348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66349 (exit $ac_status); }; } &&
66350 { ac_try='test -s conftest.$ac_objext'
66351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66352 (eval $ac_try) 2>&5
66353 ac_status=$?
66354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66355 (exit $ac_status); }; }; then
66356 glibcxx_cv_func__logf_use=yes
66357 else
66358 echo "$as_me: failed program was:" >&5
66359 sed 's/^/| /' conftest.$ac_ext >&5
66360
66361 glibcxx_cv_func__logf_use=no
66362 fi
66363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66364 ac_ext=c
66365 ac_cpp='$CPP $CPPFLAGS'
66366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66369
66370
66371 fi
66372
66373 fi
66374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
66375 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
66376
66377 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66378
66379 for ac_func in _logf
66380 do
66381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66382 echo "$as_me:$LINENO: checking for $ac_func" >&5
66383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66384 if eval "test \"\${$as_ac_var+set}\" = set"; then
66385 echo $ECHO_N "(cached) $ECHO_C" >&6
66386 else
66387 if test x$gcc_no_link = xyes; then
66388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66390 { (exit 1); exit 1; }; }
66391 fi
66392 cat >conftest.$ac_ext <<_ACEOF
66393 /* confdefs.h. */
66394 _ACEOF
66395 cat confdefs.h >>conftest.$ac_ext
66396 cat >>conftest.$ac_ext <<_ACEOF
66397 /* end confdefs.h. */
66398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66400 #define $ac_func innocuous_$ac_func
66401
66402 /* System header to define __stub macros and hopefully few prototypes,
66403 which can conflict with char $ac_func (); below.
66404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66405 <limits.h> exists even on freestanding compilers. */
66406
66407 #ifdef __STDC__
66408 # include <limits.h>
66409 #else
66410 # include <assert.h>
66411 #endif
66412
66413 #undef $ac_func
66414
66415 /* Override any gcc2 internal prototype to avoid an error. */
66416 #ifdef __cplusplus
66417 extern "C"
66418 {
66419 #endif
66420 /* We use char because int might match the return type of a gcc2
66421 builtin and then its argument prototype would still apply. */
66422 char $ac_func ();
66423 /* The GNU C library defines this for functions which it implements
66424 to always fail with ENOSYS. Some functions are actually named
66425 something starting with __ and the normal name is an alias. */
66426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66427 choke me
66428 #else
66429 char (*f) () = $ac_func;
66430 #endif
66431 #ifdef __cplusplus
66432 }
66433 #endif
66434
66435 int
66436 main ()
66437 {
66438 return f != $ac_func;
66439 ;
66440 return 0;
66441 }
66442 _ACEOF
66443 rm -f conftest.$ac_objext conftest$ac_exeext
66444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66445 (eval $ac_link) 2>conftest.er1
66446 ac_status=$?
66447 grep -v '^ *+' conftest.er1 >conftest.err
66448 rm -f conftest.er1
66449 cat conftest.err >&5
66450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66451 (exit $ac_status); } &&
66452 { ac_try='test -z "$ac_c_werror_flag"
66453 || test ! -s conftest.err'
66454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66455 (eval $ac_try) 2>&5
66456 ac_status=$?
66457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66458 (exit $ac_status); }; } &&
66459 { ac_try='test -s conftest$ac_exeext'
66460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66461 (eval $ac_try) 2>&5
66462 ac_status=$?
66463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66464 (exit $ac_status); }; }; then
66465 eval "$as_ac_var=yes"
66466 else
66467 echo "$as_me: failed program was:" >&5
66468 sed 's/^/| /' conftest.$ac_ext >&5
66469
66470 eval "$as_ac_var=no"
66471 fi
66472 rm -f conftest.err conftest.$ac_objext \
66473 conftest$ac_exeext conftest.$ac_ext
66474 fi
66475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66477 if test `eval echo '${'$as_ac_var'}'` = yes; then
66478 cat >>confdefs.h <<_ACEOF
66479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66480 _ACEOF
66481
66482 fi
66483 done
66484
66485 fi
66486 fi
66487
66488
66489
66490
66491
66492
66493 echo "$as_me:$LINENO: checking for log10f declaration" >&5
66494 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
66495 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66496 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
66497 echo $ECHO_N "(cached) $ECHO_C" >&6
66498 else
66499
66500
66501
66502 ac_ext=cc
66503 ac_cpp='$CXXCPP $CPPFLAGS'
66504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66507
66508 cat >conftest.$ac_ext <<_ACEOF
66509 /* confdefs.h. */
66510 _ACEOF
66511 cat confdefs.h >>conftest.$ac_ext
66512 cat >>conftest.$ac_ext <<_ACEOF
66513 /* end confdefs.h. */
66514 #include <math.h>
66515 #ifdef HAVE_IEEEFP_H
66516 #include <ieeefp.h>
66517 #endif
66518
66519 int
66520 main ()
66521 {
66522 log10f(0);
66523 ;
66524 return 0;
66525 }
66526 _ACEOF
66527 rm -f conftest.$ac_objext
66528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66529 (eval $ac_compile) 2>conftest.er1
66530 ac_status=$?
66531 grep -v '^ *+' conftest.er1 >conftest.err
66532 rm -f conftest.er1
66533 cat conftest.err >&5
66534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66535 (exit $ac_status); } &&
66536 { ac_try='test -z "$ac_cxx_werror_flag"
66537 || test ! -s conftest.err'
66538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66539 (eval $ac_try) 2>&5
66540 ac_status=$?
66541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66542 (exit $ac_status); }; } &&
66543 { ac_try='test -s conftest.$ac_objext'
66544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66545 (eval $ac_try) 2>&5
66546 ac_status=$?
66547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66548 (exit $ac_status); }; }; then
66549 glibcxx_cv_func_log10f_use=yes
66550 else
66551 echo "$as_me: failed program was:" >&5
66552 sed 's/^/| /' conftest.$ac_ext >&5
66553
66554 glibcxx_cv_func_log10f_use=no
66555 fi
66556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66557 ac_ext=c
66558 ac_cpp='$CPP $CPPFLAGS'
66559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66562
66563
66564 fi
66565
66566 fi
66567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
66568 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
66569
66570 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66571
66572 for ac_func in log10f
66573 do
66574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66575 echo "$as_me:$LINENO: checking for $ac_func" >&5
66576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66577 if eval "test \"\${$as_ac_var+set}\" = set"; then
66578 echo $ECHO_N "(cached) $ECHO_C" >&6
66579 else
66580 if test x$gcc_no_link = xyes; then
66581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66583 { (exit 1); exit 1; }; }
66584 fi
66585 cat >conftest.$ac_ext <<_ACEOF
66586 /* confdefs.h. */
66587 _ACEOF
66588 cat confdefs.h >>conftest.$ac_ext
66589 cat >>conftest.$ac_ext <<_ACEOF
66590 /* end confdefs.h. */
66591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66593 #define $ac_func innocuous_$ac_func
66594
66595 /* System header to define __stub macros and hopefully few prototypes,
66596 which can conflict with char $ac_func (); below.
66597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66598 <limits.h> exists even on freestanding compilers. */
66599
66600 #ifdef __STDC__
66601 # include <limits.h>
66602 #else
66603 # include <assert.h>
66604 #endif
66605
66606 #undef $ac_func
66607
66608 /* Override any gcc2 internal prototype to avoid an error. */
66609 #ifdef __cplusplus
66610 extern "C"
66611 {
66612 #endif
66613 /* We use char because int might match the return type of a gcc2
66614 builtin and then its argument prototype would still apply. */
66615 char $ac_func ();
66616 /* The GNU C library defines this for functions which it implements
66617 to always fail with ENOSYS. Some functions are actually named
66618 something starting with __ and the normal name is an alias. */
66619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66620 choke me
66621 #else
66622 char (*f) () = $ac_func;
66623 #endif
66624 #ifdef __cplusplus
66625 }
66626 #endif
66627
66628 int
66629 main ()
66630 {
66631 return f != $ac_func;
66632 ;
66633 return 0;
66634 }
66635 _ACEOF
66636 rm -f conftest.$ac_objext conftest$ac_exeext
66637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66638 (eval $ac_link) 2>conftest.er1
66639 ac_status=$?
66640 grep -v '^ *+' conftest.er1 >conftest.err
66641 rm -f conftest.er1
66642 cat conftest.err >&5
66643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66644 (exit $ac_status); } &&
66645 { ac_try='test -z "$ac_c_werror_flag"
66646 || test ! -s conftest.err'
66647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66648 (eval $ac_try) 2>&5
66649 ac_status=$?
66650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66651 (exit $ac_status); }; } &&
66652 { ac_try='test -s conftest$ac_exeext'
66653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66654 (eval $ac_try) 2>&5
66655 ac_status=$?
66656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66657 (exit $ac_status); }; }; then
66658 eval "$as_ac_var=yes"
66659 else
66660 echo "$as_me: failed program was:" >&5
66661 sed 's/^/| /' conftest.$ac_ext >&5
66662
66663 eval "$as_ac_var=no"
66664 fi
66665 rm -f conftest.err conftest.$ac_objext \
66666 conftest$ac_exeext conftest.$ac_ext
66667 fi
66668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66670 if test `eval echo '${'$as_ac_var'}'` = yes; then
66671 cat >>confdefs.h <<_ACEOF
66672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66673 _ACEOF
66674
66675 fi
66676 done
66677
66678 else
66679
66680 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
66681 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
66682 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66683 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
66684 echo $ECHO_N "(cached) $ECHO_C" >&6
66685 else
66686
66687
66688
66689 ac_ext=cc
66690 ac_cpp='$CXXCPP $CPPFLAGS'
66691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66694
66695 cat >conftest.$ac_ext <<_ACEOF
66696 /* confdefs.h. */
66697 _ACEOF
66698 cat confdefs.h >>conftest.$ac_ext
66699 cat >>conftest.$ac_ext <<_ACEOF
66700 /* end confdefs.h. */
66701 #include <math.h>
66702 #ifdef HAVE_IEEEFP_H
66703 #include <ieeefp.h>
66704 #endif
66705
66706 int
66707 main ()
66708 {
66709 _log10f(0);
66710 ;
66711 return 0;
66712 }
66713 _ACEOF
66714 rm -f conftest.$ac_objext
66715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66716 (eval $ac_compile) 2>conftest.er1
66717 ac_status=$?
66718 grep -v '^ *+' conftest.er1 >conftest.err
66719 rm -f conftest.er1
66720 cat conftest.err >&5
66721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66722 (exit $ac_status); } &&
66723 { ac_try='test -z "$ac_cxx_werror_flag"
66724 || test ! -s conftest.err'
66725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66726 (eval $ac_try) 2>&5
66727 ac_status=$?
66728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66729 (exit $ac_status); }; } &&
66730 { ac_try='test -s conftest.$ac_objext'
66731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66732 (eval $ac_try) 2>&5
66733 ac_status=$?
66734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66735 (exit $ac_status); }; }; then
66736 glibcxx_cv_func__log10f_use=yes
66737 else
66738 echo "$as_me: failed program was:" >&5
66739 sed 's/^/| /' conftest.$ac_ext >&5
66740
66741 glibcxx_cv_func__log10f_use=no
66742 fi
66743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66744 ac_ext=c
66745 ac_cpp='$CPP $CPPFLAGS'
66746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66749
66750
66751 fi
66752
66753 fi
66754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
66755 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
66756
66757 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66758
66759 for ac_func in _log10f
66760 do
66761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66762 echo "$as_me:$LINENO: checking for $ac_func" >&5
66763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66764 if eval "test \"\${$as_ac_var+set}\" = set"; then
66765 echo $ECHO_N "(cached) $ECHO_C" >&6
66766 else
66767 if test x$gcc_no_link = xyes; then
66768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66770 { (exit 1); exit 1; }; }
66771 fi
66772 cat >conftest.$ac_ext <<_ACEOF
66773 /* confdefs.h. */
66774 _ACEOF
66775 cat confdefs.h >>conftest.$ac_ext
66776 cat >>conftest.$ac_ext <<_ACEOF
66777 /* end confdefs.h. */
66778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66780 #define $ac_func innocuous_$ac_func
66781
66782 /* System header to define __stub macros and hopefully few prototypes,
66783 which can conflict with char $ac_func (); below.
66784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66785 <limits.h> exists even on freestanding compilers. */
66786
66787 #ifdef __STDC__
66788 # include <limits.h>
66789 #else
66790 # include <assert.h>
66791 #endif
66792
66793 #undef $ac_func
66794
66795 /* Override any gcc2 internal prototype to avoid an error. */
66796 #ifdef __cplusplus
66797 extern "C"
66798 {
66799 #endif
66800 /* We use char because int might match the return type of a gcc2
66801 builtin and then its argument prototype would still apply. */
66802 char $ac_func ();
66803 /* The GNU C library defines this for functions which it implements
66804 to always fail with ENOSYS. Some functions are actually named
66805 something starting with __ and the normal name is an alias. */
66806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66807 choke me
66808 #else
66809 char (*f) () = $ac_func;
66810 #endif
66811 #ifdef __cplusplus
66812 }
66813 #endif
66814
66815 int
66816 main ()
66817 {
66818 return f != $ac_func;
66819 ;
66820 return 0;
66821 }
66822 _ACEOF
66823 rm -f conftest.$ac_objext conftest$ac_exeext
66824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66825 (eval $ac_link) 2>conftest.er1
66826 ac_status=$?
66827 grep -v '^ *+' conftest.er1 >conftest.err
66828 rm -f conftest.er1
66829 cat conftest.err >&5
66830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66831 (exit $ac_status); } &&
66832 { ac_try='test -z "$ac_c_werror_flag"
66833 || test ! -s conftest.err'
66834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66835 (eval $ac_try) 2>&5
66836 ac_status=$?
66837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66838 (exit $ac_status); }; } &&
66839 { ac_try='test -s conftest$ac_exeext'
66840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66841 (eval $ac_try) 2>&5
66842 ac_status=$?
66843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66844 (exit $ac_status); }; }; then
66845 eval "$as_ac_var=yes"
66846 else
66847 echo "$as_me: failed program was:" >&5
66848 sed 's/^/| /' conftest.$ac_ext >&5
66849
66850 eval "$as_ac_var=no"
66851 fi
66852 rm -f conftest.err conftest.$ac_objext \
66853 conftest$ac_exeext conftest.$ac_ext
66854 fi
66855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66857 if test `eval echo '${'$as_ac_var'}'` = yes; then
66858 cat >>confdefs.h <<_ACEOF
66859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66860 _ACEOF
66861
66862 fi
66863 done
66864
66865 fi
66866 fi
66867
66868
66869
66870
66871
66872
66873 echo "$as_me:$LINENO: checking for modff declaration" >&5
66874 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
66875 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66876 if test "${glibcxx_cv_func_modff_use+set}" = set; then
66877 echo $ECHO_N "(cached) $ECHO_C" >&6
66878 else
66879
66880
66881
66882 ac_ext=cc
66883 ac_cpp='$CXXCPP $CPPFLAGS'
66884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66887
66888 cat >conftest.$ac_ext <<_ACEOF
66889 /* confdefs.h. */
66890 _ACEOF
66891 cat confdefs.h >>conftest.$ac_ext
66892 cat >>conftest.$ac_ext <<_ACEOF
66893 /* end confdefs.h. */
66894 #include <math.h>
66895 int
66896 main ()
66897 {
66898 modff(0, 0);
66899 ;
66900 return 0;
66901 }
66902 _ACEOF
66903 rm -f conftest.$ac_objext
66904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66905 (eval $ac_compile) 2>conftest.er1
66906 ac_status=$?
66907 grep -v '^ *+' conftest.er1 >conftest.err
66908 rm -f conftest.er1
66909 cat conftest.err >&5
66910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66911 (exit $ac_status); } &&
66912 { ac_try='test -z "$ac_cxx_werror_flag"
66913 || test ! -s conftest.err'
66914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66915 (eval $ac_try) 2>&5
66916 ac_status=$?
66917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66918 (exit $ac_status); }; } &&
66919 { ac_try='test -s conftest.$ac_objext'
66920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66921 (eval $ac_try) 2>&5
66922 ac_status=$?
66923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66924 (exit $ac_status); }; }; then
66925 glibcxx_cv_func_modff_use=yes
66926 else
66927 echo "$as_me: failed program was:" >&5
66928 sed 's/^/| /' conftest.$ac_ext >&5
66929
66930 glibcxx_cv_func_modff_use=no
66931 fi
66932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66933 ac_ext=c
66934 ac_cpp='$CPP $CPPFLAGS'
66935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66938
66939
66940 fi
66941
66942 fi
66943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
66944 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
66945
66946 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66947
66948 for ac_func in modff
66949 do
66950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66951 echo "$as_me:$LINENO: checking for $ac_func" >&5
66952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66953 if eval "test \"\${$as_ac_var+set}\" = set"; then
66954 echo $ECHO_N "(cached) $ECHO_C" >&6
66955 else
66956 if test x$gcc_no_link = xyes; then
66957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66959 { (exit 1); exit 1; }; }
66960 fi
66961 cat >conftest.$ac_ext <<_ACEOF
66962 /* confdefs.h. */
66963 _ACEOF
66964 cat confdefs.h >>conftest.$ac_ext
66965 cat >>conftest.$ac_ext <<_ACEOF
66966 /* end confdefs.h. */
66967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66969 #define $ac_func innocuous_$ac_func
66970
66971 /* System header to define __stub macros and hopefully few prototypes,
66972 which can conflict with char $ac_func (); below.
66973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66974 <limits.h> exists even on freestanding compilers. */
66975
66976 #ifdef __STDC__
66977 # include <limits.h>
66978 #else
66979 # include <assert.h>
66980 #endif
66981
66982 #undef $ac_func
66983
66984 /* Override any gcc2 internal prototype to avoid an error. */
66985 #ifdef __cplusplus
66986 extern "C"
66987 {
66988 #endif
66989 /* We use char because int might match the return type of a gcc2
66990 builtin and then its argument prototype would still apply. */
66991 char $ac_func ();
66992 /* The GNU C library defines this for functions which it implements
66993 to always fail with ENOSYS. Some functions are actually named
66994 something starting with __ and the normal name is an alias. */
66995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66996 choke me
66997 #else
66998 char (*f) () = $ac_func;
66999 #endif
67000 #ifdef __cplusplus
67001 }
67002 #endif
67003
67004 int
67005 main ()
67006 {
67007 return f != $ac_func;
67008 ;
67009 return 0;
67010 }
67011 _ACEOF
67012 rm -f conftest.$ac_objext conftest$ac_exeext
67013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67014 (eval $ac_link) 2>conftest.er1
67015 ac_status=$?
67016 grep -v '^ *+' conftest.er1 >conftest.err
67017 rm -f conftest.er1
67018 cat conftest.err >&5
67019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67020 (exit $ac_status); } &&
67021 { ac_try='test -z "$ac_c_werror_flag"
67022 || test ! -s conftest.err'
67023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67024 (eval $ac_try) 2>&5
67025 ac_status=$?
67026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67027 (exit $ac_status); }; } &&
67028 { ac_try='test -s conftest$ac_exeext'
67029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67030 (eval $ac_try) 2>&5
67031 ac_status=$?
67032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67033 (exit $ac_status); }; }; then
67034 eval "$as_ac_var=yes"
67035 else
67036 echo "$as_me: failed program was:" >&5
67037 sed 's/^/| /' conftest.$ac_ext >&5
67038
67039 eval "$as_ac_var=no"
67040 fi
67041 rm -f conftest.err conftest.$ac_objext \
67042 conftest$ac_exeext conftest.$ac_ext
67043 fi
67044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67046 if test `eval echo '${'$as_ac_var'}'` = yes; then
67047 cat >>confdefs.h <<_ACEOF
67048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67049 _ACEOF
67050
67051 fi
67052 done
67053
67054 else
67055
67056 echo "$as_me:$LINENO: checking for _modff declaration" >&5
67057 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
67058 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67059 if test "${glibcxx_cv_func__modff_use+set}" = set; then
67060 echo $ECHO_N "(cached) $ECHO_C" >&6
67061 else
67062
67063
67064
67065 ac_ext=cc
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67070
67071 cat >conftest.$ac_ext <<_ACEOF
67072 /* confdefs.h. */
67073 _ACEOF
67074 cat confdefs.h >>conftest.$ac_ext
67075 cat >>conftest.$ac_ext <<_ACEOF
67076 /* end confdefs.h. */
67077 #include <math.h>
67078 int
67079 main ()
67080 {
67081 _modff(0, 0);
67082 ;
67083 return 0;
67084 }
67085 _ACEOF
67086 rm -f conftest.$ac_objext
67087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67088 (eval $ac_compile) 2>conftest.er1
67089 ac_status=$?
67090 grep -v '^ *+' conftest.er1 >conftest.err
67091 rm -f conftest.er1
67092 cat conftest.err >&5
67093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67094 (exit $ac_status); } &&
67095 { ac_try='test -z "$ac_cxx_werror_flag"
67096 || test ! -s conftest.err'
67097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67098 (eval $ac_try) 2>&5
67099 ac_status=$?
67100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67101 (exit $ac_status); }; } &&
67102 { ac_try='test -s conftest.$ac_objext'
67103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67104 (eval $ac_try) 2>&5
67105 ac_status=$?
67106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107 (exit $ac_status); }; }; then
67108 glibcxx_cv_func__modff_use=yes
67109 else
67110 echo "$as_me: failed program was:" >&5
67111 sed 's/^/| /' conftest.$ac_ext >&5
67112
67113 glibcxx_cv_func__modff_use=no
67114 fi
67115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67116 ac_ext=c
67117 ac_cpp='$CPP $CPPFLAGS'
67118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67121
67122
67123 fi
67124
67125 fi
67126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
67127 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
67128
67129 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67130
67131 for ac_func in _modff
67132 do
67133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67134 echo "$as_me:$LINENO: checking for $ac_func" >&5
67135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67136 if eval "test \"\${$as_ac_var+set}\" = set"; then
67137 echo $ECHO_N "(cached) $ECHO_C" >&6
67138 else
67139 if test x$gcc_no_link = xyes; then
67140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67142 { (exit 1); exit 1; }; }
67143 fi
67144 cat >conftest.$ac_ext <<_ACEOF
67145 /* confdefs.h. */
67146 _ACEOF
67147 cat confdefs.h >>conftest.$ac_ext
67148 cat >>conftest.$ac_ext <<_ACEOF
67149 /* end confdefs.h. */
67150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67152 #define $ac_func innocuous_$ac_func
67153
67154 /* System header to define __stub macros and hopefully few prototypes,
67155 which can conflict with char $ac_func (); below.
67156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67157 <limits.h> exists even on freestanding compilers. */
67158
67159 #ifdef __STDC__
67160 # include <limits.h>
67161 #else
67162 # include <assert.h>
67163 #endif
67164
67165 #undef $ac_func
67166
67167 /* Override any gcc2 internal prototype to avoid an error. */
67168 #ifdef __cplusplus
67169 extern "C"
67170 {
67171 #endif
67172 /* We use char because int might match the return type of a gcc2
67173 builtin and then its argument prototype would still apply. */
67174 char $ac_func ();
67175 /* The GNU C library defines this for functions which it implements
67176 to always fail with ENOSYS. Some functions are actually named
67177 something starting with __ and the normal name is an alias. */
67178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67179 choke me
67180 #else
67181 char (*f) () = $ac_func;
67182 #endif
67183 #ifdef __cplusplus
67184 }
67185 #endif
67186
67187 int
67188 main ()
67189 {
67190 return f != $ac_func;
67191 ;
67192 return 0;
67193 }
67194 _ACEOF
67195 rm -f conftest.$ac_objext conftest$ac_exeext
67196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67197 (eval $ac_link) 2>conftest.er1
67198 ac_status=$?
67199 grep -v '^ *+' conftest.er1 >conftest.err
67200 rm -f conftest.er1
67201 cat conftest.err >&5
67202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67203 (exit $ac_status); } &&
67204 { ac_try='test -z "$ac_c_werror_flag"
67205 || test ! -s conftest.err'
67206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67207 (eval $ac_try) 2>&5
67208 ac_status=$?
67209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67210 (exit $ac_status); }; } &&
67211 { ac_try='test -s conftest$ac_exeext'
67212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67213 (eval $ac_try) 2>&5
67214 ac_status=$?
67215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67216 (exit $ac_status); }; }; then
67217 eval "$as_ac_var=yes"
67218 else
67219 echo "$as_me: failed program was:" >&5
67220 sed 's/^/| /' conftest.$ac_ext >&5
67221
67222 eval "$as_ac_var=no"
67223 fi
67224 rm -f conftest.err conftest.$ac_objext \
67225 conftest$ac_exeext conftest.$ac_ext
67226 fi
67227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67229 if test `eval echo '${'$as_ac_var'}'` = yes; then
67230 cat >>confdefs.h <<_ACEOF
67231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67232 _ACEOF
67233
67234 fi
67235 done
67236
67237 fi
67238 fi
67239
67240
67241
67242
67243
67244
67245 echo "$as_me:$LINENO: checking for modf declaration" >&5
67246 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
67247 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67248 if test "${glibcxx_cv_func_modf_use+set}" = set; then
67249 echo $ECHO_N "(cached) $ECHO_C" >&6
67250 else
67251
67252
67253
67254 ac_ext=cc
67255 ac_cpp='$CXXCPP $CPPFLAGS'
67256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67259
67260 cat >conftest.$ac_ext <<_ACEOF
67261 /* confdefs.h. */
67262 _ACEOF
67263 cat confdefs.h >>conftest.$ac_ext
67264 cat >>conftest.$ac_ext <<_ACEOF
67265 /* end confdefs.h. */
67266 #include <math.h>
67267 int
67268 main ()
67269 {
67270 modf(0, 0);
67271 ;
67272 return 0;
67273 }
67274 _ACEOF
67275 rm -f conftest.$ac_objext
67276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67277 (eval $ac_compile) 2>conftest.er1
67278 ac_status=$?
67279 grep -v '^ *+' conftest.er1 >conftest.err
67280 rm -f conftest.er1
67281 cat conftest.err >&5
67282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67283 (exit $ac_status); } &&
67284 { ac_try='test -z "$ac_cxx_werror_flag"
67285 || test ! -s conftest.err'
67286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67287 (eval $ac_try) 2>&5
67288 ac_status=$?
67289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67290 (exit $ac_status); }; } &&
67291 { ac_try='test -s conftest.$ac_objext'
67292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67293 (eval $ac_try) 2>&5
67294 ac_status=$?
67295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67296 (exit $ac_status); }; }; then
67297 glibcxx_cv_func_modf_use=yes
67298 else
67299 echo "$as_me: failed program was:" >&5
67300 sed 's/^/| /' conftest.$ac_ext >&5
67301
67302 glibcxx_cv_func_modf_use=no
67303 fi
67304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67305 ac_ext=c
67306 ac_cpp='$CPP $CPPFLAGS'
67307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67310
67311
67312 fi
67313
67314 fi
67315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
67316 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
67317
67318 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67319
67320 for ac_func in modf
67321 do
67322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67323 echo "$as_me:$LINENO: checking for $ac_func" >&5
67324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67325 if eval "test \"\${$as_ac_var+set}\" = set"; then
67326 echo $ECHO_N "(cached) $ECHO_C" >&6
67327 else
67328 if test x$gcc_no_link = xyes; then
67329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67331 { (exit 1); exit 1; }; }
67332 fi
67333 cat >conftest.$ac_ext <<_ACEOF
67334 /* confdefs.h. */
67335 _ACEOF
67336 cat confdefs.h >>conftest.$ac_ext
67337 cat >>conftest.$ac_ext <<_ACEOF
67338 /* end confdefs.h. */
67339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67341 #define $ac_func innocuous_$ac_func
67342
67343 /* System header to define __stub macros and hopefully few prototypes,
67344 which can conflict with char $ac_func (); below.
67345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67346 <limits.h> exists even on freestanding compilers. */
67347
67348 #ifdef __STDC__
67349 # include <limits.h>
67350 #else
67351 # include <assert.h>
67352 #endif
67353
67354 #undef $ac_func
67355
67356 /* Override any gcc2 internal prototype to avoid an error. */
67357 #ifdef __cplusplus
67358 extern "C"
67359 {
67360 #endif
67361 /* We use char because int might match the return type of a gcc2
67362 builtin and then its argument prototype would still apply. */
67363 char $ac_func ();
67364 /* The GNU C library defines this for functions which it implements
67365 to always fail with ENOSYS. Some functions are actually named
67366 something starting with __ and the normal name is an alias. */
67367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67368 choke me
67369 #else
67370 char (*f) () = $ac_func;
67371 #endif
67372 #ifdef __cplusplus
67373 }
67374 #endif
67375
67376 int
67377 main ()
67378 {
67379 return f != $ac_func;
67380 ;
67381 return 0;
67382 }
67383 _ACEOF
67384 rm -f conftest.$ac_objext conftest$ac_exeext
67385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67386 (eval $ac_link) 2>conftest.er1
67387 ac_status=$?
67388 grep -v '^ *+' conftest.er1 >conftest.err
67389 rm -f conftest.er1
67390 cat conftest.err >&5
67391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67392 (exit $ac_status); } &&
67393 { ac_try='test -z "$ac_c_werror_flag"
67394 || test ! -s conftest.err'
67395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67396 (eval $ac_try) 2>&5
67397 ac_status=$?
67398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67399 (exit $ac_status); }; } &&
67400 { ac_try='test -s conftest$ac_exeext'
67401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67402 (eval $ac_try) 2>&5
67403 ac_status=$?
67404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67405 (exit $ac_status); }; }; then
67406 eval "$as_ac_var=yes"
67407 else
67408 echo "$as_me: failed program was:" >&5
67409 sed 's/^/| /' conftest.$ac_ext >&5
67410
67411 eval "$as_ac_var=no"
67412 fi
67413 rm -f conftest.err conftest.$ac_objext \
67414 conftest$ac_exeext conftest.$ac_ext
67415 fi
67416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67418 if test `eval echo '${'$as_ac_var'}'` = yes; then
67419 cat >>confdefs.h <<_ACEOF
67420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67421 _ACEOF
67422
67423 fi
67424 done
67425
67426 else
67427
67428 echo "$as_me:$LINENO: checking for _modf declaration" >&5
67429 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
67430 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67431 if test "${glibcxx_cv_func__modf_use+set}" = set; then
67432 echo $ECHO_N "(cached) $ECHO_C" >&6
67433 else
67434
67435
67436
67437 ac_ext=cc
67438 ac_cpp='$CXXCPP $CPPFLAGS'
67439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67442
67443 cat >conftest.$ac_ext <<_ACEOF
67444 /* confdefs.h. */
67445 _ACEOF
67446 cat confdefs.h >>conftest.$ac_ext
67447 cat >>conftest.$ac_ext <<_ACEOF
67448 /* end confdefs.h. */
67449 #include <math.h>
67450 int
67451 main ()
67452 {
67453 _modf(0, 0);
67454 ;
67455 return 0;
67456 }
67457 _ACEOF
67458 rm -f conftest.$ac_objext
67459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67460 (eval $ac_compile) 2>conftest.er1
67461 ac_status=$?
67462 grep -v '^ *+' conftest.er1 >conftest.err
67463 rm -f conftest.er1
67464 cat conftest.err >&5
67465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67466 (exit $ac_status); } &&
67467 { ac_try='test -z "$ac_cxx_werror_flag"
67468 || test ! -s conftest.err'
67469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67470 (eval $ac_try) 2>&5
67471 ac_status=$?
67472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67473 (exit $ac_status); }; } &&
67474 { ac_try='test -s conftest.$ac_objext'
67475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67476 (eval $ac_try) 2>&5
67477 ac_status=$?
67478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67479 (exit $ac_status); }; }; then
67480 glibcxx_cv_func__modf_use=yes
67481 else
67482 echo "$as_me: failed program was:" >&5
67483 sed 's/^/| /' conftest.$ac_ext >&5
67484
67485 glibcxx_cv_func__modf_use=no
67486 fi
67487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67488 ac_ext=c
67489 ac_cpp='$CPP $CPPFLAGS'
67490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67493
67494
67495 fi
67496
67497 fi
67498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
67499 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
67500
67501 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67502
67503 for ac_func in _modf
67504 do
67505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67506 echo "$as_me:$LINENO: checking for $ac_func" >&5
67507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67508 if eval "test \"\${$as_ac_var+set}\" = set"; then
67509 echo $ECHO_N "(cached) $ECHO_C" >&6
67510 else
67511 if test x$gcc_no_link = xyes; then
67512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67514 { (exit 1); exit 1; }; }
67515 fi
67516 cat >conftest.$ac_ext <<_ACEOF
67517 /* confdefs.h. */
67518 _ACEOF
67519 cat confdefs.h >>conftest.$ac_ext
67520 cat >>conftest.$ac_ext <<_ACEOF
67521 /* end confdefs.h. */
67522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67524 #define $ac_func innocuous_$ac_func
67525
67526 /* System header to define __stub macros and hopefully few prototypes,
67527 which can conflict with char $ac_func (); below.
67528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67529 <limits.h> exists even on freestanding compilers. */
67530
67531 #ifdef __STDC__
67532 # include <limits.h>
67533 #else
67534 # include <assert.h>
67535 #endif
67536
67537 #undef $ac_func
67538
67539 /* Override any gcc2 internal prototype to avoid an error. */
67540 #ifdef __cplusplus
67541 extern "C"
67542 {
67543 #endif
67544 /* We use char because int might match the return type of a gcc2
67545 builtin and then its argument prototype would still apply. */
67546 char $ac_func ();
67547 /* The GNU C library defines this for functions which it implements
67548 to always fail with ENOSYS. Some functions are actually named
67549 something starting with __ and the normal name is an alias. */
67550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67551 choke me
67552 #else
67553 char (*f) () = $ac_func;
67554 #endif
67555 #ifdef __cplusplus
67556 }
67557 #endif
67558
67559 int
67560 main ()
67561 {
67562 return f != $ac_func;
67563 ;
67564 return 0;
67565 }
67566 _ACEOF
67567 rm -f conftest.$ac_objext conftest$ac_exeext
67568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67569 (eval $ac_link) 2>conftest.er1
67570 ac_status=$?
67571 grep -v '^ *+' conftest.er1 >conftest.err
67572 rm -f conftest.er1
67573 cat conftest.err >&5
67574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67575 (exit $ac_status); } &&
67576 { ac_try='test -z "$ac_c_werror_flag"
67577 || test ! -s conftest.err'
67578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67579 (eval $ac_try) 2>&5
67580 ac_status=$?
67581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67582 (exit $ac_status); }; } &&
67583 { ac_try='test -s conftest$ac_exeext'
67584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67585 (eval $ac_try) 2>&5
67586 ac_status=$?
67587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67588 (exit $ac_status); }; }; then
67589 eval "$as_ac_var=yes"
67590 else
67591 echo "$as_me: failed program was:" >&5
67592 sed 's/^/| /' conftest.$ac_ext >&5
67593
67594 eval "$as_ac_var=no"
67595 fi
67596 rm -f conftest.err conftest.$ac_objext \
67597 conftest$ac_exeext conftest.$ac_ext
67598 fi
67599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67601 if test `eval echo '${'$as_ac_var'}'` = yes; then
67602 cat >>confdefs.h <<_ACEOF
67603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67604 _ACEOF
67605
67606 fi
67607 done
67608
67609 fi
67610 fi
67611
67612
67613
67614
67615
67616
67617 echo "$as_me:$LINENO: checking for powf declaration" >&5
67618 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
67619 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67620 if test "${glibcxx_cv_func_powf_use+set}" = set; then
67621 echo $ECHO_N "(cached) $ECHO_C" >&6
67622 else
67623
67624
67625
67626 ac_ext=cc
67627 ac_cpp='$CXXCPP $CPPFLAGS'
67628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67631
67632 cat >conftest.$ac_ext <<_ACEOF
67633 /* confdefs.h. */
67634 _ACEOF
67635 cat confdefs.h >>conftest.$ac_ext
67636 cat >>conftest.$ac_ext <<_ACEOF
67637 /* end confdefs.h. */
67638 #include <math.h>
67639 int
67640 main ()
67641 {
67642 powf(0, 0);
67643 ;
67644 return 0;
67645 }
67646 _ACEOF
67647 rm -f conftest.$ac_objext
67648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67649 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_powf_use=yes
67670 else
67671 echo "$as_me: failed program was:" >&5
67672 sed 's/^/| /' conftest.$ac_ext >&5
67673
67674 glibcxx_cv_func_powf_use=no
67675 fi
67676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67677 ac_ext=c
67678 ac_cpp='$CPP $CPPFLAGS'
67679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67682
67683
67684 fi
67685
67686 fi
67687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
67688 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
67689
67690 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67691
67692 for ac_func in powf
67693 do
67694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67695 echo "$as_me:$LINENO: checking for $ac_func" >&5
67696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67697 if eval "test \"\${$as_ac_var+set}\" = set"; then
67698 echo $ECHO_N "(cached) $ECHO_C" >&6
67699 else
67700 if test x$gcc_no_link = xyes; then
67701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67703 { (exit 1); exit 1; }; }
67704 fi
67705 cat >conftest.$ac_ext <<_ACEOF
67706 /* confdefs.h. */
67707 _ACEOF
67708 cat confdefs.h >>conftest.$ac_ext
67709 cat >>conftest.$ac_ext <<_ACEOF
67710 /* end confdefs.h. */
67711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67713 #define $ac_func innocuous_$ac_func
67714
67715 /* System header to define __stub macros and hopefully few prototypes,
67716 which can conflict with char $ac_func (); below.
67717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67718 <limits.h> exists even on freestanding compilers. */
67719
67720 #ifdef __STDC__
67721 # include <limits.h>
67722 #else
67723 # include <assert.h>
67724 #endif
67725
67726 #undef $ac_func
67727
67728 /* Override any gcc2 internal prototype to avoid an error. */
67729 #ifdef __cplusplus
67730 extern "C"
67731 {
67732 #endif
67733 /* We use char because int might match the return type of a gcc2
67734 builtin and then its argument prototype would still apply. */
67735 char $ac_func ();
67736 /* The GNU C library defines this for functions which it implements
67737 to always fail with ENOSYS. Some functions are actually named
67738 something starting with __ and the normal name is an alias. */
67739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67740 choke me
67741 #else
67742 char (*f) () = $ac_func;
67743 #endif
67744 #ifdef __cplusplus
67745 }
67746 #endif
67747
67748 int
67749 main ()
67750 {
67751 return f != $ac_func;
67752 ;
67753 return 0;
67754 }
67755 _ACEOF
67756 rm -f conftest.$ac_objext conftest$ac_exeext
67757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67758 (eval $ac_link) 2>conftest.er1
67759 ac_status=$?
67760 grep -v '^ *+' conftest.er1 >conftest.err
67761 rm -f conftest.er1
67762 cat conftest.err >&5
67763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67764 (exit $ac_status); } &&
67765 { ac_try='test -z "$ac_c_werror_flag"
67766 || test ! -s conftest.err'
67767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67768 (eval $ac_try) 2>&5
67769 ac_status=$?
67770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67771 (exit $ac_status); }; } &&
67772 { ac_try='test -s conftest$ac_exeext'
67773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67774 (eval $ac_try) 2>&5
67775 ac_status=$?
67776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67777 (exit $ac_status); }; }; then
67778 eval "$as_ac_var=yes"
67779 else
67780 echo "$as_me: failed program was:" >&5
67781 sed 's/^/| /' conftest.$ac_ext >&5
67782
67783 eval "$as_ac_var=no"
67784 fi
67785 rm -f conftest.err conftest.$ac_objext \
67786 conftest$ac_exeext conftest.$ac_ext
67787 fi
67788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67790 if test `eval echo '${'$as_ac_var'}'` = yes; then
67791 cat >>confdefs.h <<_ACEOF
67792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67793 _ACEOF
67794
67795 fi
67796 done
67797
67798 else
67799
67800 echo "$as_me:$LINENO: checking for _powf declaration" >&5
67801 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
67802 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67803 if test "${glibcxx_cv_func__powf_use+set}" = set; then
67804 echo $ECHO_N "(cached) $ECHO_C" >&6
67805 else
67806
67807
67808
67809 ac_ext=cc
67810 ac_cpp='$CXXCPP $CPPFLAGS'
67811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67814
67815 cat >conftest.$ac_ext <<_ACEOF
67816 /* confdefs.h. */
67817 _ACEOF
67818 cat confdefs.h >>conftest.$ac_ext
67819 cat >>conftest.$ac_ext <<_ACEOF
67820 /* end confdefs.h. */
67821 #include <math.h>
67822 int
67823 main ()
67824 {
67825 _powf(0, 0);
67826 ;
67827 return 0;
67828 }
67829 _ACEOF
67830 rm -f conftest.$ac_objext
67831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67832 (eval $ac_compile) 2>conftest.er1
67833 ac_status=$?
67834 grep -v '^ *+' conftest.er1 >conftest.err
67835 rm -f conftest.er1
67836 cat conftest.err >&5
67837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67838 (exit $ac_status); } &&
67839 { ac_try='test -z "$ac_cxx_werror_flag"
67840 || test ! -s conftest.err'
67841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67842 (eval $ac_try) 2>&5
67843 ac_status=$?
67844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67845 (exit $ac_status); }; } &&
67846 { ac_try='test -s conftest.$ac_objext'
67847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67848 (eval $ac_try) 2>&5
67849 ac_status=$?
67850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67851 (exit $ac_status); }; }; then
67852 glibcxx_cv_func__powf_use=yes
67853 else
67854 echo "$as_me: failed program was:" >&5
67855 sed 's/^/| /' conftest.$ac_ext >&5
67856
67857 glibcxx_cv_func__powf_use=no
67858 fi
67859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67860 ac_ext=c
67861 ac_cpp='$CPP $CPPFLAGS'
67862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67865
67866
67867 fi
67868
67869 fi
67870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
67871 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
67872
67873 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67874
67875 for ac_func in _powf
67876 do
67877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67878 echo "$as_me:$LINENO: checking for $ac_func" >&5
67879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67880 if eval "test \"\${$as_ac_var+set}\" = set"; then
67881 echo $ECHO_N "(cached) $ECHO_C" >&6
67882 else
67883 if test x$gcc_no_link = xyes; then
67884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67886 { (exit 1); exit 1; }; }
67887 fi
67888 cat >conftest.$ac_ext <<_ACEOF
67889 /* confdefs.h. */
67890 _ACEOF
67891 cat confdefs.h >>conftest.$ac_ext
67892 cat >>conftest.$ac_ext <<_ACEOF
67893 /* end confdefs.h. */
67894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67896 #define $ac_func innocuous_$ac_func
67897
67898 /* System header to define __stub macros and hopefully few prototypes,
67899 which can conflict with char $ac_func (); below.
67900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67901 <limits.h> exists even on freestanding compilers. */
67902
67903 #ifdef __STDC__
67904 # include <limits.h>
67905 #else
67906 # include <assert.h>
67907 #endif
67908
67909 #undef $ac_func
67910
67911 /* Override any gcc2 internal prototype to avoid an error. */
67912 #ifdef __cplusplus
67913 extern "C"
67914 {
67915 #endif
67916 /* We use char because int might match the return type of a gcc2
67917 builtin and then its argument prototype would still apply. */
67918 char $ac_func ();
67919 /* The GNU C library defines this for functions which it implements
67920 to always fail with ENOSYS. Some functions are actually named
67921 something starting with __ and the normal name is an alias. */
67922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67923 choke me
67924 #else
67925 char (*f) () = $ac_func;
67926 #endif
67927 #ifdef __cplusplus
67928 }
67929 #endif
67930
67931 int
67932 main ()
67933 {
67934 return f != $ac_func;
67935 ;
67936 return 0;
67937 }
67938 _ACEOF
67939 rm -f conftest.$ac_objext conftest$ac_exeext
67940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67941 (eval $ac_link) 2>conftest.er1
67942 ac_status=$?
67943 grep -v '^ *+' conftest.er1 >conftest.err
67944 rm -f conftest.er1
67945 cat conftest.err >&5
67946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67947 (exit $ac_status); } &&
67948 { ac_try='test -z "$ac_c_werror_flag"
67949 || test ! -s conftest.err'
67950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67951 (eval $ac_try) 2>&5
67952 ac_status=$?
67953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67954 (exit $ac_status); }; } &&
67955 { ac_try='test -s conftest$ac_exeext'
67956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67957 (eval $ac_try) 2>&5
67958 ac_status=$?
67959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67960 (exit $ac_status); }; }; then
67961 eval "$as_ac_var=yes"
67962 else
67963 echo "$as_me: failed program was:" >&5
67964 sed 's/^/| /' conftest.$ac_ext >&5
67965
67966 eval "$as_ac_var=no"
67967 fi
67968 rm -f conftest.err conftest.$ac_objext \
67969 conftest$ac_exeext conftest.$ac_ext
67970 fi
67971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67973 if test `eval echo '${'$as_ac_var'}'` = yes; then
67974 cat >>confdefs.h <<_ACEOF
67975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67976 _ACEOF
67977
67978 fi
67979 done
67980
67981 fi
67982 fi
67983
67984
67985
67986
67987
67988
67989 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
67990 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
67991 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67992 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
67993 echo $ECHO_N "(cached) $ECHO_C" >&6
67994 else
67995
67996
67997
67998 ac_ext=cc
67999 ac_cpp='$CXXCPP $CPPFLAGS'
68000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68003
68004 cat >conftest.$ac_ext <<_ACEOF
68005 /* confdefs.h. */
68006 _ACEOF
68007 cat confdefs.h >>conftest.$ac_ext
68008 cat >>conftest.$ac_ext <<_ACEOF
68009 /* end confdefs.h. */
68010 #include <math.h>
68011 #ifdef HAVE_IEEEFP_H
68012 #include <ieeefp.h>
68013 #endif
68014
68015 int
68016 main ()
68017 {
68018 sqrtf(0);
68019 ;
68020 return 0;
68021 }
68022 _ACEOF
68023 rm -f conftest.$ac_objext
68024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68025 (eval $ac_compile) 2>conftest.er1
68026 ac_status=$?
68027 grep -v '^ *+' conftest.er1 >conftest.err
68028 rm -f conftest.er1
68029 cat conftest.err >&5
68030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68031 (exit $ac_status); } &&
68032 { ac_try='test -z "$ac_cxx_werror_flag"
68033 || test ! -s conftest.err'
68034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68035 (eval $ac_try) 2>&5
68036 ac_status=$?
68037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68038 (exit $ac_status); }; } &&
68039 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
68045 glibcxx_cv_func_sqrtf_use=yes
68046 else
68047 echo "$as_me: failed program was:" >&5
68048 sed 's/^/| /' conftest.$ac_ext >&5
68049
68050 glibcxx_cv_func_sqrtf_use=no
68051 fi
68052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68053 ac_ext=c
68054 ac_cpp='$CPP $CPPFLAGS'
68055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68058
68059
68060 fi
68061
68062 fi
68063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
68064 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
68065
68066 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68067
68068 for ac_func in sqrtf
68069 do
68070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68071 echo "$as_me:$LINENO: checking for $ac_func" >&5
68072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68073 if eval "test \"\${$as_ac_var+set}\" = set"; then
68074 echo $ECHO_N "(cached) $ECHO_C" >&6
68075 else
68076 if test x$gcc_no_link = xyes; then
68077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68079 { (exit 1); exit 1; }; }
68080 fi
68081 cat >conftest.$ac_ext <<_ACEOF
68082 /* confdefs.h. */
68083 _ACEOF
68084 cat confdefs.h >>conftest.$ac_ext
68085 cat >>conftest.$ac_ext <<_ACEOF
68086 /* end confdefs.h. */
68087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68089 #define $ac_func innocuous_$ac_func
68090
68091 /* System header to define __stub macros and hopefully few prototypes,
68092 which can conflict with char $ac_func (); below.
68093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68094 <limits.h> exists even on freestanding compilers. */
68095
68096 #ifdef __STDC__
68097 # include <limits.h>
68098 #else
68099 # include <assert.h>
68100 #endif
68101
68102 #undef $ac_func
68103
68104 /* Override any gcc2 internal prototype to avoid an error. */
68105 #ifdef __cplusplus
68106 extern "C"
68107 {
68108 #endif
68109 /* We use char because int might match the return type of a gcc2
68110 builtin and then its argument prototype would still apply. */
68111 char $ac_func ();
68112 /* The GNU C library defines this for functions which it implements
68113 to always fail with ENOSYS. Some functions are actually named
68114 something starting with __ and the normal name is an alias. */
68115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68116 choke me
68117 #else
68118 char (*f) () = $ac_func;
68119 #endif
68120 #ifdef __cplusplus
68121 }
68122 #endif
68123
68124 int
68125 main ()
68126 {
68127 return f != $ac_func;
68128 ;
68129 return 0;
68130 }
68131 _ACEOF
68132 rm -f conftest.$ac_objext conftest$ac_exeext
68133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68134 (eval $ac_link) 2>conftest.er1
68135 ac_status=$?
68136 grep -v '^ *+' conftest.er1 >conftest.err
68137 rm -f conftest.er1
68138 cat conftest.err >&5
68139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68140 (exit $ac_status); } &&
68141 { ac_try='test -z "$ac_c_werror_flag"
68142 || test ! -s conftest.err'
68143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68144 (eval $ac_try) 2>&5
68145 ac_status=$?
68146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68147 (exit $ac_status); }; } &&
68148 { ac_try='test -s conftest$ac_exeext'
68149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68150 (eval $ac_try) 2>&5
68151 ac_status=$?
68152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68153 (exit $ac_status); }; }; then
68154 eval "$as_ac_var=yes"
68155 else
68156 echo "$as_me: failed program was:" >&5
68157 sed 's/^/| /' conftest.$ac_ext >&5
68158
68159 eval "$as_ac_var=no"
68160 fi
68161 rm -f conftest.err conftest.$ac_objext \
68162 conftest$ac_exeext conftest.$ac_ext
68163 fi
68164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68166 if test `eval echo '${'$as_ac_var'}'` = yes; then
68167 cat >>confdefs.h <<_ACEOF
68168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68169 _ACEOF
68170
68171 fi
68172 done
68173
68174 else
68175
68176 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
68177 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
68178 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68179 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
68180 echo $ECHO_N "(cached) $ECHO_C" >&6
68181 else
68182
68183
68184
68185 ac_ext=cc
68186 ac_cpp='$CXXCPP $CPPFLAGS'
68187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68190
68191 cat >conftest.$ac_ext <<_ACEOF
68192 /* confdefs.h. */
68193 _ACEOF
68194 cat confdefs.h >>conftest.$ac_ext
68195 cat >>conftest.$ac_ext <<_ACEOF
68196 /* end confdefs.h. */
68197 #include <math.h>
68198 #ifdef HAVE_IEEEFP_H
68199 #include <ieeefp.h>
68200 #endif
68201
68202 int
68203 main ()
68204 {
68205 _sqrtf(0);
68206 ;
68207 return 0;
68208 }
68209 _ACEOF
68210 rm -f conftest.$ac_objext
68211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68212 (eval $ac_compile) 2>conftest.er1
68213 ac_status=$?
68214 grep -v '^ *+' conftest.er1 >conftest.err
68215 rm -f conftest.er1
68216 cat conftest.err >&5
68217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68218 (exit $ac_status); } &&
68219 { ac_try='test -z "$ac_cxx_werror_flag"
68220 || test ! -s conftest.err'
68221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68222 (eval $ac_try) 2>&5
68223 ac_status=$?
68224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68225 (exit $ac_status); }; } &&
68226 { ac_try='test -s conftest.$ac_objext'
68227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68228 (eval $ac_try) 2>&5
68229 ac_status=$?
68230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68231 (exit $ac_status); }; }; then
68232 glibcxx_cv_func__sqrtf_use=yes
68233 else
68234 echo "$as_me: failed program was:" >&5
68235 sed 's/^/| /' conftest.$ac_ext >&5
68236
68237 glibcxx_cv_func__sqrtf_use=no
68238 fi
68239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68240 ac_ext=c
68241 ac_cpp='$CPP $CPPFLAGS'
68242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68245
68246
68247 fi
68248
68249 fi
68250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
68251 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
68252
68253 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68254
68255 for ac_func in _sqrtf
68256 do
68257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68258 echo "$as_me:$LINENO: checking for $ac_func" >&5
68259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68260 if eval "test \"\${$as_ac_var+set}\" = set"; then
68261 echo $ECHO_N "(cached) $ECHO_C" >&6
68262 else
68263 if test x$gcc_no_link = xyes; then
68264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68266 { (exit 1); exit 1; }; }
68267 fi
68268 cat >conftest.$ac_ext <<_ACEOF
68269 /* confdefs.h. */
68270 _ACEOF
68271 cat confdefs.h >>conftest.$ac_ext
68272 cat >>conftest.$ac_ext <<_ACEOF
68273 /* end confdefs.h. */
68274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68276 #define $ac_func innocuous_$ac_func
68277
68278 /* System header to define __stub macros and hopefully few prototypes,
68279 which can conflict with char $ac_func (); below.
68280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68281 <limits.h> exists even on freestanding compilers. */
68282
68283 #ifdef __STDC__
68284 # include <limits.h>
68285 #else
68286 # include <assert.h>
68287 #endif
68288
68289 #undef $ac_func
68290
68291 /* Override any gcc2 internal prototype to avoid an error. */
68292 #ifdef __cplusplus
68293 extern "C"
68294 {
68295 #endif
68296 /* We use char because int might match the return type of a gcc2
68297 builtin and then its argument prototype would still apply. */
68298 char $ac_func ();
68299 /* The GNU C library defines this for functions which it implements
68300 to always fail with ENOSYS. Some functions are actually named
68301 something starting with __ and the normal name is an alias. */
68302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68303 choke me
68304 #else
68305 char (*f) () = $ac_func;
68306 #endif
68307 #ifdef __cplusplus
68308 }
68309 #endif
68310
68311 int
68312 main ()
68313 {
68314 return f != $ac_func;
68315 ;
68316 return 0;
68317 }
68318 _ACEOF
68319 rm -f conftest.$ac_objext conftest$ac_exeext
68320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68321 (eval $ac_link) 2>conftest.er1
68322 ac_status=$?
68323 grep -v '^ *+' conftest.er1 >conftest.err
68324 rm -f conftest.er1
68325 cat conftest.err >&5
68326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68327 (exit $ac_status); } &&
68328 { ac_try='test -z "$ac_c_werror_flag"
68329 || test ! -s conftest.err'
68330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68331 (eval $ac_try) 2>&5
68332 ac_status=$?
68333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68334 (exit $ac_status); }; } &&
68335 { ac_try='test -s conftest$ac_exeext'
68336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68337 (eval $ac_try) 2>&5
68338 ac_status=$?
68339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68340 (exit $ac_status); }; }; then
68341 eval "$as_ac_var=yes"
68342 else
68343 echo "$as_me: failed program was:" >&5
68344 sed 's/^/| /' conftest.$ac_ext >&5
68345
68346 eval "$as_ac_var=no"
68347 fi
68348 rm -f conftest.err conftest.$ac_objext \
68349 conftest$ac_exeext conftest.$ac_ext
68350 fi
68351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68353 if test `eval echo '${'$as_ac_var'}'` = yes; then
68354 cat >>confdefs.h <<_ACEOF
68355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68356 _ACEOF
68357
68358 fi
68359 done
68360
68361 fi
68362 fi
68363
68364
68365
68366
68367
68368
68369 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
68370 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
68371 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68372 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
68373 echo $ECHO_N "(cached) $ECHO_C" >&6
68374 else
68375
68376
68377
68378 ac_ext=cc
68379 ac_cpp='$CXXCPP $CPPFLAGS'
68380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68383
68384 cat >conftest.$ac_ext <<_ACEOF
68385 /* confdefs.h. */
68386 _ACEOF
68387 cat confdefs.h >>conftest.$ac_ext
68388 cat >>conftest.$ac_ext <<_ACEOF
68389 /* end confdefs.h. */
68390 #include <math.h>
68391 int
68392 main ()
68393 {
68394 sincosf(0, 0, 0);
68395 ;
68396 return 0;
68397 }
68398 _ACEOF
68399 rm -f conftest.$ac_objext
68400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68401 (eval $ac_compile) 2>conftest.er1
68402 ac_status=$?
68403 grep -v '^ *+' conftest.er1 >conftest.err
68404 rm -f conftest.er1
68405 cat conftest.err >&5
68406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68407 (exit $ac_status); } &&
68408 { ac_try='test -z "$ac_cxx_werror_flag"
68409 || test ! -s conftest.err'
68410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68411 (eval $ac_try) 2>&5
68412 ac_status=$?
68413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68414 (exit $ac_status); }; } &&
68415 { ac_try='test -s conftest.$ac_objext'
68416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68417 (eval $ac_try) 2>&5
68418 ac_status=$?
68419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68420 (exit $ac_status); }; }; then
68421 glibcxx_cv_func_sincosf_use=yes
68422 else
68423 echo "$as_me: failed program was:" >&5
68424 sed 's/^/| /' conftest.$ac_ext >&5
68425
68426 glibcxx_cv_func_sincosf_use=no
68427 fi
68428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68429 ac_ext=c
68430 ac_cpp='$CPP $CPPFLAGS'
68431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68434
68435
68436 fi
68437
68438 fi
68439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
68440 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
68441
68442 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68443
68444 for ac_func in sincosf
68445 do
68446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68447 echo "$as_me:$LINENO: checking for $ac_func" >&5
68448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68449 if eval "test \"\${$as_ac_var+set}\" = set"; then
68450 echo $ECHO_N "(cached) $ECHO_C" >&6
68451 else
68452 if test x$gcc_no_link = xyes; then
68453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68455 { (exit 1); exit 1; }; }
68456 fi
68457 cat >conftest.$ac_ext <<_ACEOF
68458 /* confdefs.h. */
68459 _ACEOF
68460 cat confdefs.h >>conftest.$ac_ext
68461 cat >>conftest.$ac_ext <<_ACEOF
68462 /* end confdefs.h. */
68463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68465 #define $ac_func innocuous_$ac_func
68466
68467 /* System header to define __stub macros and hopefully few prototypes,
68468 which can conflict with char $ac_func (); below.
68469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68470 <limits.h> exists even on freestanding compilers. */
68471
68472 #ifdef __STDC__
68473 # include <limits.h>
68474 #else
68475 # include <assert.h>
68476 #endif
68477
68478 #undef $ac_func
68479
68480 /* Override any gcc2 internal prototype to avoid an error. */
68481 #ifdef __cplusplus
68482 extern "C"
68483 {
68484 #endif
68485 /* We use char because int might match the return type of a gcc2
68486 builtin and then its argument prototype would still apply. */
68487 char $ac_func ();
68488 /* The GNU C library defines this for functions which it implements
68489 to always fail with ENOSYS. Some functions are actually named
68490 something starting with __ and the normal name is an alias. */
68491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68492 choke me
68493 #else
68494 char (*f) () = $ac_func;
68495 #endif
68496 #ifdef __cplusplus
68497 }
68498 #endif
68499
68500 int
68501 main ()
68502 {
68503 return f != $ac_func;
68504 ;
68505 return 0;
68506 }
68507 _ACEOF
68508 rm -f conftest.$ac_objext conftest$ac_exeext
68509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68510 (eval $ac_link) 2>conftest.er1
68511 ac_status=$?
68512 grep -v '^ *+' conftest.er1 >conftest.err
68513 rm -f conftest.er1
68514 cat conftest.err >&5
68515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68516 (exit $ac_status); } &&
68517 { ac_try='test -z "$ac_c_werror_flag"
68518 || test ! -s conftest.err'
68519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68520 (eval $ac_try) 2>&5
68521 ac_status=$?
68522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523 (exit $ac_status); }; } &&
68524 { ac_try='test -s conftest$ac_exeext'
68525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68526 (eval $ac_try) 2>&5
68527 ac_status=$?
68528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68529 (exit $ac_status); }; }; then
68530 eval "$as_ac_var=yes"
68531 else
68532 echo "$as_me: failed program was:" >&5
68533 sed 's/^/| /' conftest.$ac_ext >&5
68534
68535 eval "$as_ac_var=no"
68536 fi
68537 rm -f conftest.err conftest.$ac_objext \
68538 conftest$ac_exeext conftest.$ac_ext
68539 fi
68540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68542 if test `eval echo '${'$as_ac_var'}'` = yes; then
68543 cat >>confdefs.h <<_ACEOF
68544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68545 _ACEOF
68546
68547 fi
68548 done
68549
68550 else
68551
68552 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
68553 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
68554 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68555 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
68556 echo $ECHO_N "(cached) $ECHO_C" >&6
68557 else
68558
68559
68560
68561 ac_ext=cc
68562 ac_cpp='$CXXCPP $CPPFLAGS'
68563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68566
68567 cat >conftest.$ac_ext <<_ACEOF
68568 /* confdefs.h. */
68569 _ACEOF
68570 cat confdefs.h >>conftest.$ac_ext
68571 cat >>conftest.$ac_ext <<_ACEOF
68572 /* end confdefs.h. */
68573 #include <math.h>
68574 int
68575 main ()
68576 {
68577 _sincosf(0, 0, 0);
68578 ;
68579 return 0;
68580 }
68581 _ACEOF
68582 rm -f conftest.$ac_objext
68583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68584 (eval $ac_compile) 2>conftest.er1
68585 ac_status=$?
68586 grep -v '^ *+' conftest.er1 >conftest.err
68587 rm -f conftest.er1
68588 cat conftest.err >&5
68589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68590 (exit $ac_status); } &&
68591 { ac_try='test -z "$ac_cxx_werror_flag"
68592 || test ! -s conftest.err'
68593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68594 (eval $ac_try) 2>&5
68595 ac_status=$?
68596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68597 (exit $ac_status); }; } &&
68598 { ac_try='test -s conftest.$ac_objext'
68599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68600 (eval $ac_try) 2>&5
68601 ac_status=$?
68602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68603 (exit $ac_status); }; }; then
68604 glibcxx_cv_func__sincosf_use=yes
68605 else
68606 echo "$as_me: failed program was:" >&5
68607 sed 's/^/| /' conftest.$ac_ext >&5
68608
68609 glibcxx_cv_func__sincosf_use=no
68610 fi
68611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68612 ac_ext=c
68613 ac_cpp='$CPP $CPPFLAGS'
68614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68617
68618
68619 fi
68620
68621 fi
68622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
68623 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
68624
68625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68626
68627 for ac_func in _sincosf
68628 do
68629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68630 echo "$as_me:$LINENO: checking for $ac_func" >&5
68631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68632 if eval "test \"\${$as_ac_var+set}\" = set"; then
68633 echo $ECHO_N "(cached) $ECHO_C" >&6
68634 else
68635 if test x$gcc_no_link = xyes; then
68636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68638 { (exit 1); exit 1; }; }
68639 fi
68640 cat >conftest.$ac_ext <<_ACEOF
68641 /* confdefs.h. */
68642 _ACEOF
68643 cat confdefs.h >>conftest.$ac_ext
68644 cat >>conftest.$ac_ext <<_ACEOF
68645 /* end confdefs.h. */
68646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68648 #define $ac_func innocuous_$ac_func
68649
68650 /* System header to define __stub macros and hopefully few prototypes,
68651 which can conflict with char $ac_func (); below.
68652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68653 <limits.h> exists even on freestanding compilers. */
68654
68655 #ifdef __STDC__
68656 # include <limits.h>
68657 #else
68658 # include <assert.h>
68659 #endif
68660
68661 #undef $ac_func
68662
68663 /* Override any gcc2 internal prototype to avoid an error. */
68664 #ifdef __cplusplus
68665 extern "C"
68666 {
68667 #endif
68668 /* We use char because int might match the return type of a gcc2
68669 builtin and then its argument prototype would still apply. */
68670 char $ac_func ();
68671 /* The GNU C library defines this for functions which it implements
68672 to always fail with ENOSYS. Some functions are actually named
68673 something starting with __ and the normal name is an alias. */
68674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68675 choke me
68676 #else
68677 char (*f) () = $ac_func;
68678 #endif
68679 #ifdef __cplusplus
68680 }
68681 #endif
68682
68683 int
68684 main ()
68685 {
68686 return f != $ac_func;
68687 ;
68688 return 0;
68689 }
68690 _ACEOF
68691 rm -f conftest.$ac_objext conftest$ac_exeext
68692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68693 (eval $ac_link) 2>conftest.er1
68694 ac_status=$?
68695 grep -v '^ *+' conftest.er1 >conftest.err
68696 rm -f conftest.er1
68697 cat conftest.err >&5
68698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68699 (exit $ac_status); } &&
68700 { ac_try='test -z "$ac_c_werror_flag"
68701 || test ! -s conftest.err'
68702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68703 (eval $ac_try) 2>&5
68704 ac_status=$?
68705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68706 (exit $ac_status); }; } &&
68707 { ac_try='test -s conftest$ac_exeext'
68708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68709 (eval $ac_try) 2>&5
68710 ac_status=$?
68711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68712 (exit $ac_status); }; }; then
68713 eval "$as_ac_var=yes"
68714 else
68715 echo "$as_me: failed program was:" >&5
68716 sed 's/^/| /' conftest.$ac_ext >&5
68717
68718 eval "$as_ac_var=no"
68719 fi
68720 rm -f conftest.err conftest.$ac_objext \
68721 conftest$ac_exeext conftest.$ac_ext
68722 fi
68723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68725 if test `eval echo '${'$as_ac_var'}'` = yes; then
68726 cat >>confdefs.h <<_ACEOF
68727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68728 _ACEOF
68729
68730 fi
68731 done
68732
68733 fi
68734 fi
68735
68736
68737
68738
68739
68740
68741 echo "$as_me:$LINENO: checking for finitef declaration" >&5
68742 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
68743 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68744 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
68745 echo $ECHO_N "(cached) $ECHO_C" >&6
68746 else
68747
68748
68749
68750 ac_ext=cc
68751 ac_cpp='$CXXCPP $CPPFLAGS'
68752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68755
68756 cat >conftest.$ac_ext <<_ACEOF
68757 /* confdefs.h. */
68758 _ACEOF
68759 cat confdefs.h >>conftest.$ac_ext
68760 cat >>conftest.$ac_ext <<_ACEOF
68761 /* end confdefs.h. */
68762 #include <math.h>
68763 #ifdef HAVE_IEEEFP_H
68764 #include <ieeefp.h>
68765 #endif
68766
68767 int
68768 main ()
68769 {
68770 finitef(0);
68771 ;
68772 return 0;
68773 }
68774 _ACEOF
68775 rm -f conftest.$ac_objext
68776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68777 (eval $ac_compile) 2>conftest.er1
68778 ac_status=$?
68779 grep -v '^ *+' conftest.er1 >conftest.err
68780 rm -f conftest.er1
68781 cat conftest.err >&5
68782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68783 (exit $ac_status); } &&
68784 { ac_try='test -z "$ac_cxx_werror_flag"
68785 || test ! -s conftest.err'
68786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68787 (eval $ac_try) 2>&5
68788 ac_status=$?
68789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68790 (exit $ac_status); }; } &&
68791 { ac_try='test -s conftest.$ac_objext'
68792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68793 (eval $ac_try) 2>&5
68794 ac_status=$?
68795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68796 (exit $ac_status); }; }; then
68797 glibcxx_cv_func_finitef_use=yes
68798 else
68799 echo "$as_me: failed program was:" >&5
68800 sed 's/^/| /' conftest.$ac_ext >&5
68801
68802 glibcxx_cv_func_finitef_use=no
68803 fi
68804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68805 ac_ext=c
68806 ac_cpp='$CPP $CPPFLAGS'
68807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68810
68811
68812 fi
68813
68814 fi
68815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
68816 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
68817
68818 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68819
68820 for ac_func in finitef
68821 do
68822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68823 echo "$as_me:$LINENO: checking for $ac_func" >&5
68824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68825 if eval "test \"\${$as_ac_var+set}\" = set"; then
68826 echo $ECHO_N "(cached) $ECHO_C" >&6
68827 else
68828 if test x$gcc_no_link = xyes; then
68829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68831 { (exit 1); exit 1; }; }
68832 fi
68833 cat >conftest.$ac_ext <<_ACEOF
68834 /* confdefs.h. */
68835 _ACEOF
68836 cat confdefs.h >>conftest.$ac_ext
68837 cat >>conftest.$ac_ext <<_ACEOF
68838 /* end confdefs.h. */
68839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68841 #define $ac_func innocuous_$ac_func
68842
68843 /* System header to define __stub macros and hopefully few prototypes,
68844 which can conflict with char $ac_func (); below.
68845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68846 <limits.h> exists even on freestanding compilers. */
68847
68848 #ifdef __STDC__
68849 # include <limits.h>
68850 #else
68851 # include <assert.h>
68852 #endif
68853
68854 #undef $ac_func
68855
68856 /* Override any gcc2 internal prototype to avoid an error. */
68857 #ifdef __cplusplus
68858 extern "C"
68859 {
68860 #endif
68861 /* We use char because int might match the return type of a gcc2
68862 builtin and then its argument prototype would still apply. */
68863 char $ac_func ();
68864 /* The GNU C library defines this for functions which it implements
68865 to always fail with ENOSYS. Some functions are actually named
68866 something starting with __ and the normal name is an alias. */
68867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68868 choke me
68869 #else
68870 char (*f) () = $ac_func;
68871 #endif
68872 #ifdef __cplusplus
68873 }
68874 #endif
68875
68876 int
68877 main ()
68878 {
68879 return f != $ac_func;
68880 ;
68881 return 0;
68882 }
68883 _ACEOF
68884 rm -f conftest.$ac_objext conftest$ac_exeext
68885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68886 (eval $ac_link) 2>conftest.er1
68887 ac_status=$?
68888 grep -v '^ *+' conftest.er1 >conftest.err
68889 rm -f conftest.er1
68890 cat conftest.err >&5
68891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68892 (exit $ac_status); } &&
68893 { ac_try='test -z "$ac_c_werror_flag"
68894 || test ! -s conftest.err'
68895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68896 (eval $ac_try) 2>&5
68897 ac_status=$?
68898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68899 (exit $ac_status); }; } &&
68900 { ac_try='test -s conftest$ac_exeext'
68901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68902 (eval $ac_try) 2>&5
68903 ac_status=$?
68904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68905 (exit $ac_status); }; }; then
68906 eval "$as_ac_var=yes"
68907 else
68908 echo "$as_me: failed program was:" >&5
68909 sed 's/^/| /' conftest.$ac_ext >&5
68910
68911 eval "$as_ac_var=no"
68912 fi
68913 rm -f conftest.err conftest.$ac_objext \
68914 conftest$ac_exeext conftest.$ac_ext
68915 fi
68916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68918 if test `eval echo '${'$as_ac_var'}'` = yes; then
68919 cat >>confdefs.h <<_ACEOF
68920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68921 _ACEOF
68922
68923 fi
68924 done
68925
68926 else
68927
68928 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
68929 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
68930 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68931 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
68932 echo $ECHO_N "(cached) $ECHO_C" >&6
68933 else
68934
68935
68936
68937 ac_ext=cc
68938 ac_cpp='$CXXCPP $CPPFLAGS'
68939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68942
68943 cat >conftest.$ac_ext <<_ACEOF
68944 /* confdefs.h. */
68945 _ACEOF
68946 cat confdefs.h >>conftest.$ac_ext
68947 cat >>conftest.$ac_ext <<_ACEOF
68948 /* end confdefs.h. */
68949 #include <math.h>
68950 #ifdef HAVE_IEEEFP_H
68951 #include <ieeefp.h>
68952 #endif
68953
68954 int
68955 main ()
68956 {
68957 _finitef(0);
68958 ;
68959 return 0;
68960 }
68961 _ACEOF
68962 rm -f conftest.$ac_objext
68963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68964 (eval $ac_compile) 2>conftest.er1
68965 ac_status=$?
68966 grep -v '^ *+' conftest.er1 >conftest.err
68967 rm -f conftest.er1
68968 cat conftest.err >&5
68969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68970 (exit $ac_status); } &&
68971 { ac_try='test -z "$ac_cxx_werror_flag"
68972 || test ! -s conftest.err'
68973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68974 (eval $ac_try) 2>&5
68975 ac_status=$?
68976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68977 (exit $ac_status); }; } &&
68978 { ac_try='test -s conftest.$ac_objext'
68979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68980 (eval $ac_try) 2>&5
68981 ac_status=$?
68982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68983 (exit $ac_status); }; }; then
68984 glibcxx_cv_func__finitef_use=yes
68985 else
68986 echo "$as_me: failed program was:" >&5
68987 sed 's/^/| /' conftest.$ac_ext >&5
68988
68989 glibcxx_cv_func__finitef_use=no
68990 fi
68991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68992 ac_ext=c
68993 ac_cpp='$CPP $CPPFLAGS'
68994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68997
68998
68999 fi
69000
69001 fi
69002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
69003 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
69004
69005 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69006
69007 for ac_func in _finitef
69008 do
69009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69010 echo "$as_me:$LINENO: checking for $ac_func" >&5
69011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69012 if eval "test \"\${$as_ac_var+set}\" = set"; then
69013 echo $ECHO_N "(cached) $ECHO_C" >&6
69014 else
69015 if test x$gcc_no_link = xyes; then
69016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69018 { (exit 1); exit 1; }; }
69019 fi
69020 cat >conftest.$ac_ext <<_ACEOF
69021 /* confdefs.h. */
69022 _ACEOF
69023 cat confdefs.h >>conftest.$ac_ext
69024 cat >>conftest.$ac_ext <<_ACEOF
69025 /* end confdefs.h. */
69026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69028 #define $ac_func innocuous_$ac_func
69029
69030 /* System header to define __stub macros and hopefully few prototypes,
69031 which can conflict with char $ac_func (); below.
69032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69033 <limits.h> exists even on freestanding compilers. */
69034
69035 #ifdef __STDC__
69036 # include <limits.h>
69037 #else
69038 # include <assert.h>
69039 #endif
69040
69041 #undef $ac_func
69042
69043 /* Override any gcc2 internal prototype to avoid an error. */
69044 #ifdef __cplusplus
69045 extern "C"
69046 {
69047 #endif
69048 /* We use char because int might match the return type of a gcc2
69049 builtin and then its argument prototype would still apply. */
69050 char $ac_func ();
69051 /* The GNU C library defines this for functions which it implements
69052 to always fail with ENOSYS. Some functions are actually named
69053 something starting with __ and the normal name is an alias. */
69054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69055 choke me
69056 #else
69057 char (*f) () = $ac_func;
69058 #endif
69059 #ifdef __cplusplus
69060 }
69061 #endif
69062
69063 int
69064 main ()
69065 {
69066 return f != $ac_func;
69067 ;
69068 return 0;
69069 }
69070 _ACEOF
69071 rm -f conftest.$ac_objext conftest$ac_exeext
69072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69073 (eval $ac_link) 2>conftest.er1
69074 ac_status=$?
69075 grep -v '^ *+' conftest.er1 >conftest.err
69076 rm -f conftest.er1
69077 cat conftest.err >&5
69078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69079 (exit $ac_status); } &&
69080 { ac_try='test -z "$ac_c_werror_flag"
69081 || test ! -s conftest.err'
69082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69083 (eval $ac_try) 2>&5
69084 ac_status=$?
69085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086 (exit $ac_status); }; } &&
69087 { ac_try='test -s conftest$ac_exeext'
69088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69089 (eval $ac_try) 2>&5
69090 ac_status=$?
69091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69092 (exit $ac_status); }; }; then
69093 eval "$as_ac_var=yes"
69094 else
69095 echo "$as_me: failed program was:" >&5
69096 sed 's/^/| /' conftest.$ac_ext >&5
69097
69098 eval "$as_ac_var=no"
69099 fi
69100 rm -f conftest.err conftest.$ac_objext \
69101 conftest$ac_exeext conftest.$ac_ext
69102 fi
69103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69105 if test `eval echo '${'$as_ac_var'}'` = yes; then
69106 cat >>confdefs.h <<_ACEOF
69107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69108 _ACEOF
69109
69110 fi
69111 done
69112
69113 fi
69114 fi
69115
69116
69117
69118
69119
69120
69121 echo "$as_me:$LINENO: checking for long double trig functions" >&5
69122 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
69123 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
69124 echo $ECHO_N "(cached) $ECHO_C" >&6
69125 else
69126
69127
69128
69129 ac_ext=cc
69130 ac_cpp='$CXXCPP $CPPFLAGS'
69131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69134
69135 cat >conftest.$ac_ext <<_ACEOF
69136 /* confdefs.h. */
69137 _ACEOF
69138 cat confdefs.h >>conftest.$ac_ext
69139 cat >>conftest.$ac_ext <<_ACEOF
69140 /* end confdefs.h. */
69141 #include <math.h>
69142 int
69143 main ()
69144 {
69145 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69146 ;
69147 return 0;
69148 }
69149 _ACEOF
69150 rm -f conftest.$ac_objext
69151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69152 (eval $ac_compile) 2>conftest.er1
69153 ac_status=$?
69154 grep -v '^ *+' conftest.er1 >conftest.err
69155 rm -f conftest.er1
69156 cat conftest.err >&5
69157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69158 (exit $ac_status); } &&
69159 { ac_try='test -z "$ac_cxx_werror_flag"
69160 || test ! -s conftest.err'
69161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69162 (eval $ac_try) 2>&5
69163 ac_status=$?
69164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69165 (exit $ac_status); }; } &&
69166 { ac_try='test -s conftest.$ac_objext'
69167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69168 (eval $ac_try) 2>&5
69169 ac_status=$?
69170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69171 (exit $ac_status); }; }; then
69172 glibcxx_cv_func_long_double_trig_use=yes
69173 else
69174 echo "$as_me: failed program was:" >&5
69175 sed 's/^/| /' conftest.$ac_ext >&5
69176
69177 glibcxx_cv_func_long_double_trig_use=no
69178 fi
69179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69180 ac_ext=c
69181 ac_cpp='$CPP $CPPFLAGS'
69182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69185
69186 fi
69187
69188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
69189 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
69190 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69191
69192
69193
69194
69195
69196
69197
69198
69199
69200 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69201 do
69202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69203 echo "$as_me:$LINENO: checking for $ac_func" >&5
69204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69205 if eval "test \"\${$as_ac_var+set}\" = set"; then
69206 echo $ECHO_N "(cached) $ECHO_C" >&6
69207 else
69208 if test x$gcc_no_link = xyes; then
69209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69211 { (exit 1); exit 1; }; }
69212 fi
69213 cat >conftest.$ac_ext <<_ACEOF
69214 /* confdefs.h. */
69215 _ACEOF
69216 cat confdefs.h >>conftest.$ac_ext
69217 cat >>conftest.$ac_ext <<_ACEOF
69218 /* end confdefs.h. */
69219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69221 #define $ac_func innocuous_$ac_func
69222
69223 /* System header to define __stub macros and hopefully few prototypes,
69224 which can conflict with char $ac_func (); below.
69225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69226 <limits.h> exists even on freestanding compilers. */
69227
69228 #ifdef __STDC__
69229 # include <limits.h>
69230 #else
69231 # include <assert.h>
69232 #endif
69233
69234 #undef $ac_func
69235
69236 /* Override any gcc2 internal prototype to avoid an error. */
69237 #ifdef __cplusplus
69238 extern "C"
69239 {
69240 #endif
69241 /* We use char because int might match the return type of a gcc2
69242 builtin and then its argument prototype would still apply. */
69243 char $ac_func ();
69244 /* The GNU C library defines this for functions which it implements
69245 to always fail with ENOSYS. Some functions are actually named
69246 something starting with __ and the normal name is an alias. */
69247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69248 choke me
69249 #else
69250 char (*f) () = $ac_func;
69251 #endif
69252 #ifdef __cplusplus
69253 }
69254 #endif
69255
69256 int
69257 main ()
69258 {
69259 return f != $ac_func;
69260 ;
69261 return 0;
69262 }
69263 _ACEOF
69264 rm -f conftest.$ac_objext conftest$ac_exeext
69265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69266 (eval $ac_link) 2>conftest.er1
69267 ac_status=$?
69268 grep -v '^ *+' conftest.er1 >conftest.err
69269 rm -f conftest.er1
69270 cat conftest.err >&5
69271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69272 (exit $ac_status); } &&
69273 { ac_try='test -z "$ac_c_werror_flag"
69274 || test ! -s conftest.err'
69275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69276 (eval $ac_try) 2>&5
69277 ac_status=$?
69278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69279 (exit $ac_status); }; } &&
69280 { ac_try='test -s conftest$ac_exeext'
69281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69282 (eval $ac_try) 2>&5
69283 ac_status=$?
69284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69285 (exit $ac_status); }; }; then
69286 eval "$as_ac_var=yes"
69287 else
69288 echo "$as_me: failed program was:" >&5
69289 sed 's/^/| /' conftest.$ac_ext >&5
69290
69291 eval "$as_ac_var=no"
69292 fi
69293 rm -f conftest.err conftest.$ac_objext \
69294 conftest$ac_exeext conftest.$ac_ext
69295 fi
69296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69298 if test `eval echo '${'$as_ac_var'}'` = yes; then
69299 cat >>confdefs.h <<_ACEOF
69300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69301 _ACEOF
69302
69303 fi
69304 done
69305
69306 else
69307 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
69308 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
69309 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
69310 echo $ECHO_N "(cached) $ECHO_C" >&6
69311 else
69312
69313
69314
69315 ac_ext=cc
69316 ac_cpp='$CXXCPP $CPPFLAGS'
69317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69320
69321 cat >conftest.$ac_ext <<_ACEOF
69322 /* confdefs.h. */
69323 _ACEOF
69324 cat confdefs.h >>conftest.$ac_ext
69325 cat >>conftest.$ac_ext <<_ACEOF
69326 /* end confdefs.h. */
69327 #include <math.h>
69328 int
69329 main ()
69330 {
69331 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69332 ;
69333 return 0;
69334 }
69335 _ACEOF
69336 rm -f conftest.$ac_objext
69337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69338 (eval $ac_compile) 2>conftest.er1
69339 ac_status=$?
69340 grep -v '^ *+' conftest.er1 >conftest.err
69341 rm -f conftest.er1
69342 cat conftest.err >&5
69343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69344 (exit $ac_status); } &&
69345 { ac_try='test -z "$ac_cxx_werror_flag"
69346 || test ! -s conftest.err'
69347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69348 (eval $ac_try) 2>&5
69349 ac_status=$?
69350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69351 (exit $ac_status); }; } &&
69352 { ac_try='test -s conftest.$ac_objext'
69353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69354 (eval $ac_try) 2>&5
69355 ac_status=$?
69356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69357 (exit $ac_status); }; }; then
69358 glibcxx_cv_func__long_double_trig_use=yes
69359 else
69360 echo "$as_me: failed program was:" >&5
69361 sed 's/^/| /' conftest.$ac_ext >&5
69362
69363 glibcxx_cv_func__long_double_trig_use=no
69364 fi
69365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69366 ac_ext=c
69367 ac_cpp='$CPP $CPPFLAGS'
69368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69371
69372 fi
69373
69374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
69375 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
69376 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69377
69378
69379
69380
69381
69382
69383
69384
69385
69386 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69387 do
69388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69389 echo "$as_me:$LINENO: checking for $ac_func" >&5
69390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69391 if eval "test \"\${$as_ac_var+set}\" = set"; then
69392 echo $ECHO_N "(cached) $ECHO_C" >&6
69393 else
69394 if test x$gcc_no_link = xyes; then
69395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69397 { (exit 1); exit 1; }; }
69398 fi
69399 cat >conftest.$ac_ext <<_ACEOF
69400 /* confdefs.h. */
69401 _ACEOF
69402 cat confdefs.h >>conftest.$ac_ext
69403 cat >>conftest.$ac_ext <<_ACEOF
69404 /* end confdefs.h. */
69405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69407 #define $ac_func innocuous_$ac_func
69408
69409 /* System header to define __stub macros and hopefully few prototypes,
69410 which can conflict with char $ac_func (); below.
69411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69412 <limits.h> exists even on freestanding compilers. */
69413
69414 #ifdef __STDC__
69415 # include <limits.h>
69416 #else
69417 # include <assert.h>
69418 #endif
69419
69420 #undef $ac_func
69421
69422 /* Override any gcc2 internal prototype to avoid an error. */
69423 #ifdef __cplusplus
69424 extern "C"
69425 {
69426 #endif
69427 /* We use char because int might match the return type of a gcc2
69428 builtin and then its argument prototype would still apply. */
69429 char $ac_func ();
69430 /* The GNU C library defines this for functions which it implements
69431 to always fail with ENOSYS. Some functions are actually named
69432 something starting with __ and the normal name is an alias. */
69433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69434 choke me
69435 #else
69436 char (*f) () = $ac_func;
69437 #endif
69438 #ifdef __cplusplus
69439 }
69440 #endif
69441
69442 int
69443 main ()
69444 {
69445 return f != $ac_func;
69446 ;
69447 return 0;
69448 }
69449 _ACEOF
69450 rm -f conftest.$ac_objext conftest$ac_exeext
69451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69452 (eval $ac_link) 2>conftest.er1
69453 ac_status=$?
69454 grep -v '^ *+' conftest.er1 >conftest.err
69455 rm -f conftest.er1
69456 cat conftest.err >&5
69457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69458 (exit $ac_status); } &&
69459 { ac_try='test -z "$ac_c_werror_flag"
69460 || test ! -s conftest.err'
69461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69462 (eval $ac_try) 2>&5
69463 ac_status=$?
69464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69465 (exit $ac_status); }; } &&
69466 { ac_try='test -s conftest$ac_exeext'
69467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69468 (eval $ac_try) 2>&5
69469 ac_status=$?
69470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69471 (exit $ac_status); }; }; then
69472 eval "$as_ac_var=yes"
69473 else
69474 echo "$as_me: failed program was:" >&5
69475 sed 's/^/| /' conftest.$ac_ext >&5
69476
69477 eval "$as_ac_var=no"
69478 fi
69479 rm -f conftest.err conftest.$ac_objext \
69480 conftest$ac_exeext conftest.$ac_ext
69481 fi
69482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69484 if test `eval echo '${'$as_ac_var'}'` = yes; then
69485 cat >>confdefs.h <<_ACEOF
69486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69487 _ACEOF
69488
69489 fi
69490 done
69491
69492 fi
69493 fi
69494
69495
69496
69497
69498
69499
69500
69501
69502
69503
69504
69505
69506
69507
69508 echo "$as_me:$LINENO: checking for long double round functions" >&5
69509 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
69510 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
69511 echo $ECHO_N "(cached) $ECHO_C" >&6
69512 else
69513
69514
69515
69516 ac_ext=cc
69517 ac_cpp='$CXXCPP $CPPFLAGS'
69518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69521
69522 cat >conftest.$ac_ext <<_ACEOF
69523 /* confdefs.h. */
69524 _ACEOF
69525 cat confdefs.h >>conftest.$ac_ext
69526 cat >>conftest.$ac_ext <<_ACEOF
69527 /* end confdefs.h. */
69528 #include <math.h>
69529 int
69530 main ()
69531 {
69532 ceill (0); floorl (0);
69533 ;
69534 return 0;
69535 }
69536 _ACEOF
69537 rm -f conftest.$ac_objext
69538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69539 (eval $ac_compile) 2>conftest.er1
69540 ac_status=$?
69541 grep -v '^ *+' conftest.er1 >conftest.err
69542 rm -f conftest.er1
69543 cat conftest.err >&5
69544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69545 (exit $ac_status); } &&
69546 { ac_try='test -z "$ac_cxx_werror_flag"
69547 || test ! -s conftest.err'
69548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69549 (eval $ac_try) 2>&5
69550 ac_status=$?
69551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69552 (exit $ac_status); }; } &&
69553 { ac_try='test -s conftest.$ac_objext'
69554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69555 (eval $ac_try) 2>&5
69556 ac_status=$?
69557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69558 (exit $ac_status); }; }; then
69559 glibcxx_cv_func_long_double_round_use=yes
69560 else
69561 echo "$as_me: failed program was:" >&5
69562 sed 's/^/| /' conftest.$ac_ext >&5
69563
69564 glibcxx_cv_func_long_double_round_use=no
69565 fi
69566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69567 ac_ext=c
69568 ac_cpp='$CPP $CPPFLAGS'
69569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69572
69573 fi
69574
69575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
69576 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
69577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69578
69579
69580 for ac_func in ceill floorl
69581 do
69582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69583 echo "$as_me:$LINENO: checking for $ac_func" >&5
69584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69585 if eval "test \"\${$as_ac_var+set}\" = set"; then
69586 echo $ECHO_N "(cached) $ECHO_C" >&6
69587 else
69588 if test x$gcc_no_link = xyes; then
69589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69591 { (exit 1); exit 1; }; }
69592 fi
69593 cat >conftest.$ac_ext <<_ACEOF
69594 /* confdefs.h. */
69595 _ACEOF
69596 cat confdefs.h >>conftest.$ac_ext
69597 cat >>conftest.$ac_ext <<_ACEOF
69598 /* end confdefs.h. */
69599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69601 #define $ac_func innocuous_$ac_func
69602
69603 /* System header to define __stub macros and hopefully few prototypes,
69604 which can conflict with char $ac_func (); below.
69605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69606 <limits.h> exists even on freestanding compilers. */
69607
69608 #ifdef __STDC__
69609 # include <limits.h>
69610 #else
69611 # include <assert.h>
69612 #endif
69613
69614 #undef $ac_func
69615
69616 /* Override any gcc2 internal prototype to avoid an error. */
69617 #ifdef __cplusplus
69618 extern "C"
69619 {
69620 #endif
69621 /* We use char because int might match the return type of a gcc2
69622 builtin and then its argument prototype would still apply. */
69623 char $ac_func ();
69624 /* The GNU C library defines this for functions which it implements
69625 to always fail with ENOSYS. Some functions are actually named
69626 something starting with __ and the normal name is an alias. */
69627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69628 choke me
69629 #else
69630 char (*f) () = $ac_func;
69631 #endif
69632 #ifdef __cplusplus
69633 }
69634 #endif
69635
69636 int
69637 main ()
69638 {
69639 return f != $ac_func;
69640 ;
69641 return 0;
69642 }
69643 _ACEOF
69644 rm -f conftest.$ac_objext conftest$ac_exeext
69645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69646 (eval $ac_link) 2>conftest.er1
69647 ac_status=$?
69648 grep -v '^ *+' conftest.er1 >conftest.err
69649 rm -f conftest.er1
69650 cat conftest.err >&5
69651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69652 (exit $ac_status); } &&
69653 { ac_try='test -z "$ac_c_werror_flag"
69654 || test ! -s conftest.err'
69655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69656 (eval $ac_try) 2>&5
69657 ac_status=$?
69658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69659 (exit $ac_status); }; } &&
69660 { ac_try='test -s conftest$ac_exeext'
69661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69662 (eval $ac_try) 2>&5
69663 ac_status=$?
69664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665 (exit $ac_status); }; }; then
69666 eval "$as_ac_var=yes"
69667 else
69668 echo "$as_me: failed program was:" >&5
69669 sed 's/^/| /' conftest.$ac_ext >&5
69670
69671 eval "$as_ac_var=no"
69672 fi
69673 rm -f conftest.err conftest.$ac_objext \
69674 conftest$ac_exeext conftest.$ac_ext
69675 fi
69676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69678 if test `eval echo '${'$as_ac_var'}'` = yes; then
69679 cat >>confdefs.h <<_ACEOF
69680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69681 _ACEOF
69682
69683 fi
69684 done
69685
69686 else
69687 echo "$as_me:$LINENO: checking for _long double round functions" >&5
69688 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
69689 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
69690 echo $ECHO_N "(cached) $ECHO_C" >&6
69691 else
69692
69693
69694
69695 ac_ext=cc
69696 ac_cpp='$CXXCPP $CPPFLAGS'
69697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69700
69701 cat >conftest.$ac_ext <<_ACEOF
69702 /* confdefs.h. */
69703 _ACEOF
69704 cat confdefs.h >>conftest.$ac_ext
69705 cat >>conftest.$ac_ext <<_ACEOF
69706 /* end confdefs.h. */
69707 #include <math.h>
69708 int
69709 main ()
69710 {
69711 _ceill (0); _floorl (0);
69712 ;
69713 return 0;
69714 }
69715 _ACEOF
69716 rm -f conftest.$ac_objext
69717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69718 (eval $ac_compile) 2>conftest.er1
69719 ac_status=$?
69720 grep -v '^ *+' conftest.er1 >conftest.err
69721 rm -f conftest.er1
69722 cat conftest.err >&5
69723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69724 (exit $ac_status); } &&
69725 { ac_try='test -z "$ac_cxx_werror_flag"
69726 || test ! -s conftest.err'
69727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69728 (eval $ac_try) 2>&5
69729 ac_status=$?
69730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69731 (exit $ac_status); }; } &&
69732 { ac_try='test -s conftest.$ac_objext'
69733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69734 (eval $ac_try) 2>&5
69735 ac_status=$?
69736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69737 (exit $ac_status); }; }; then
69738 glibcxx_cv_func__long_double_round_use=yes
69739 else
69740 echo "$as_me: failed program was:" >&5
69741 sed 's/^/| /' conftest.$ac_ext >&5
69742
69743 glibcxx_cv_func__long_double_round_use=no
69744 fi
69745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69746 ac_ext=c
69747 ac_cpp='$CPP $CPPFLAGS'
69748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69751
69752 fi
69753
69754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
69755 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
69756 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69757
69758
69759 for ac_func in _ceill _floorl
69760 do
69761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69762 echo "$as_me:$LINENO: checking for $ac_func" >&5
69763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69764 if eval "test \"\${$as_ac_var+set}\" = set"; then
69765 echo $ECHO_N "(cached) $ECHO_C" >&6
69766 else
69767 if test x$gcc_no_link = xyes; then
69768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69770 { (exit 1); exit 1; }; }
69771 fi
69772 cat >conftest.$ac_ext <<_ACEOF
69773 /* confdefs.h. */
69774 _ACEOF
69775 cat confdefs.h >>conftest.$ac_ext
69776 cat >>conftest.$ac_ext <<_ACEOF
69777 /* end confdefs.h. */
69778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69780 #define $ac_func innocuous_$ac_func
69781
69782 /* System header to define __stub macros and hopefully few prototypes,
69783 which can conflict with char $ac_func (); below.
69784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69785 <limits.h> exists even on freestanding compilers. */
69786
69787 #ifdef __STDC__
69788 # include <limits.h>
69789 #else
69790 # include <assert.h>
69791 #endif
69792
69793 #undef $ac_func
69794
69795 /* Override any gcc2 internal prototype to avoid an error. */
69796 #ifdef __cplusplus
69797 extern "C"
69798 {
69799 #endif
69800 /* We use char because int might match the return type of a gcc2
69801 builtin and then its argument prototype would still apply. */
69802 char $ac_func ();
69803 /* The GNU C library defines this for functions which it implements
69804 to always fail with ENOSYS. Some functions are actually named
69805 something starting with __ and the normal name is an alias. */
69806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69807 choke me
69808 #else
69809 char (*f) () = $ac_func;
69810 #endif
69811 #ifdef __cplusplus
69812 }
69813 #endif
69814
69815 int
69816 main ()
69817 {
69818 return f != $ac_func;
69819 ;
69820 return 0;
69821 }
69822 _ACEOF
69823 rm -f conftest.$ac_objext conftest$ac_exeext
69824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69825 (eval $ac_link) 2>conftest.er1
69826 ac_status=$?
69827 grep -v '^ *+' conftest.er1 >conftest.err
69828 rm -f conftest.er1
69829 cat conftest.err >&5
69830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69831 (exit $ac_status); } &&
69832 { ac_try='test -z "$ac_c_werror_flag"
69833 || test ! -s conftest.err'
69834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69835 (eval $ac_try) 2>&5
69836 ac_status=$?
69837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69838 (exit $ac_status); }; } &&
69839 { ac_try='test -s conftest$ac_exeext'
69840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69841 (eval $ac_try) 2>&5
69842 ac_status=$?
69843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69844 (exit $ac_status); }; }; then
69845 eval "$as_ac_var=yes"
69846 else
69847 echo "$as_me: failed program was:" >&5
69848 sed 's/^/| /' conftest.$ac_ext >&5
69849
69850 eval "$as_ac_var=no"
69851 fi
69852 rm -f conftest.err conftest.$ac_objext \
69853 conftest$ac_exeext conftest.$ac_ext
69854 fi
69855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69857 if test `eval echo '${'$as_ac_var'}'` = yes; then
69858 cat >>confdefs.h <<_ACEOF
69859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69860 _ACEOF
69861
69862 fi
69863 done
69864
69865 fi
69866 fi
69867
69868
69869
69870
69871
69872
69873
69874
69875 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
69876 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
69877 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69878 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
69879 echo $ECHO_N "(cached) $ECHO_C" >&6
69880 else
69881
69882
69883
69884 ac_ext=cc
69885 ac_cpp='$CXXCPP $CPPFLAGS'
69886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69889
69890 cat >conftest.$ac_ext <<_ACEOF
69891 /* confdefs.h. */
69892 _ACEOF
69893 cat confdefs.h >>conftest.$ac_ext
69894 cat >>conftest.$ac_ext <<_ACEOF
69895 /* end confdefs.h. */
69896 #include <math.h>
69897 #ifdef HAVE_IEEEFP_H
69898 #include <ieeefp.h>
69899 #endif
69900
69901 int
69902 main ()
69903 {
69904 isnanl(0);
69905 ;
69906 return 0;
69907 }
69908 _ACEOF
69909 rm -f conftest.$ac_objext
69910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69911 (eval $ac_compile) 2>conftest.er1
69912 ac_status=$?
69913 grep -v '^ *+' conftest.er1 >conftest.err
69914 rm -f conftest.er1
69915 cat conftest.err >&5
69916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69917 (exit $ac_status); } &&
69918 { ac_try='test -z "$ac_cxx_werror_flag"
69919 || test ! -s conftest.err'
69920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69921 (eval $ac_try) 2>&5
69922 ac_status=$?
69923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69924 (exit $ac_status); }; } &&
69925 { ac_try='test -s conftest.$ac_objext'
69926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69927 (eval $ac_try) 2>&5
69928 ac_status=$?
69929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69930 (exit $ac_status); }; }; then
69931 glibcxx_cv_func_isnanl_use=yes
69932 else
69933 echo "$as_me: failed program was:" >&5
69934 sed 's/^/| /' conftest.$ac_ext >&5
69935
69936 glibcxx_cv_func_isnanl_use=no
69937 fi
69938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69939 ac_ext=c
69940 ac_cpp='$CPP $CPPFLAGS'
69941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69944
69945
69946 fi
69947
69948 fi
69949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
69950 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
69951
69952 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69953
69954 for ac_func in isnanl
69955 do
69956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69957 echo "$as_me:$LINENO: checking for $ac_func" >&5
69958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69959 if eval "test \"\${$as_ac_var+set}\" = set"; then
69960 echo $ECHO_N "(cached) $ECHO_C" >&6
69961 else
69962 if test x$gcc_no_link = xyes; then
69963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69965 { (exit 1); exit 1; }; }
69966 fi
69967 cat >conftest.$ac_ext <<_ACEOF
69968 /* confdefs.h. */
69969 _ACEOF
69970 cat confdefs.h >>conftest.$ac_ext
69971 cat >>conftest.$ac_ext <<_ACEOF
69972 /* end confdefs.h. */
69973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69975 #define $ac_func innocuous_$ac_func
69976
69977 /* System header to define __stub macros and hopefully few prototypes,
69978 which can conflict with char $ac_func (); below.
69979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69980 <limits.h> exists even on freestanding compilers. */
69981
69982 #ifdef __STDC__
69983 # include <limits.h>
69984 #else
69985 # include <assert.h>
69986 #endif
69987
69988 #undef $ac_func
69989
69990 /* Override any gcc2 internal prototype to avoid an error. */
69991 #ifdef __cplusplus
69992 extern "C"
69993 {
69994 #endif
69995 /* We use char because int might match the return type of a gcc2
69996 builtin and then its argument prototype would still apply. */
69997 char $ac_func ();
69998 /* The GNU C library defines this for functions which it implements
69999 to always fail with ENOSYS. Some functions are actually named
70000 something starting with __ and the normal name is an alias. */
70001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70002 choke me
70003 #else
70004 char (*f) () = $ac_func;
70005 #endif
70006 #ifdef __cplusplus
70007 }
70008 #endif
70009
70010 int
70011 main ()
70012 {
70013 return f != $ac_func;
70014 ;
70015 return 0;
70016 }
70017 _ACEOF
70018 rm -f conftest.$ac_objext conftest$ac_exeext
70019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70020 (eval $ac_link) 2>conftest.er1
70021 ac_status=$?
70022 grep -v '^ *+' conftest.er1 >conftest.err
70023 rm -f conftest.er1
70024 cat conftest.err >&5
70025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70026 (exit $ac_status); } &&
70027 { ac_try='test -z "$ac_c_werror_flag"
70028 || test ! -s conftest.err'
70029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70030 (eval $ac_try) 2>&5
70031 ac_status=$?
70032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70033 (exit $ac_status); }; } &&
70034 { ac_try='test -s conftest$ac_exeext'
70035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70036 (eval $ac_try) 2>&5
70037 ac_status=$?
70038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70039 (exit $ac_status); }; }; then
70040 eval "$as_ac_var=yes"
70041 else
70042 echo "$as_me: failed program was:" >&5
70043 sed 's/^/| /' conftest.$ac_ext >&5
70044
70045 eval "$as_ac_var=no"
70046 fi
70047 rm -f conftest.err conftest.$ac_objext \
70048 conftest$ac_exeext conftest.$ac_ext
70049 fi
70050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70052 if test `eval echo '${'$as_ac_var'}'` = yes; then
70053 cat >>confdefs.h <<_ACEOF
70054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70055 _ACEOF
70056
70057 fi
70058 done
70059
70060 else
70061
70062 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
70063 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
70064 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70065 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
70066 echo $ECHO_N "(cached) $ECHO_C" >&6
70067 else
70068
70069
70070
70071 ac_ext=cc
70072 ac_cpp='$CXXCPP $CPPFLAGS'
70073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70076
70077 cat >conftest.$ac_ext <<_ACEOF
70078 /* confdefs.h. */
70079 _ACEOF
70080 cat confdefs.h >>conftest.$ac_ext
70081 cat >>conftest.$ac_ext <<_ACEOF
70082 /* end confdefs.h. */
70083 #include <math.h>
70084 #ifdef HAVE_IEEEFP_H
70085 #include <ieeefp.h>
70086 #endif
70087
70088 int
70089 main ()
70090 {
70091 _isnanl(0);
70092 ;
70093 return 0;
70094 }
70095 _ACEOF
70096 rm -f conftest.$ac_objext
70097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70098 (eval $ac_compile) 2>conftest.er1
70099 ac_status=$?
70100 grep -v '^ *+' conftest.er1 >conftest.err
70101 rm -f conftest.er1
70102 cat conftest.err >&5
70103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70104 (exit $ac_status); } &&
70105 { ac_try='test -z "$ac_cxx_werror_flag"
70106 || test ! -s conftest.err'
70107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70108 (eval $ac_try) 2>&5
70109 ac_status=$?
70110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70111 (exit $ac_status); }; } &&
70112 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
70118 glibcxx_cv_func__isnanl_use=yes
70119 else
70120 echo "$as_me: failed program was:" >&5
70121 sed 's/^/| /' conftest.$ac_ext >&5
70122
70123 glibcxx_cv_func__isnanl_use=no
70124 fi
70125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70126 ac_ext=c
70127 ac_cpp='$CPP $CPPFLAGS'
70128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70131
70132
70133 fi
70134
70135 fi
70136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
70137 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
70138
70139 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70140
70141 for ac_func in _isnanl
70142 do
70143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70144 echo "$as_me:$LINENO: checking for $ac_func" >&5
70145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70146 if eval "test \"\${$as_ac_var+set}\" = set"; then
70147 echo $ECHO_N "(cached) $ECHO_C" >&6
70148 else
70149 if test x$gcc_no_link = xyes; then
70150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70152 { (exit 1); exit 1; }; }
70153 fi
70154 cat >conftest.$ac_ext <<_ACEOF
70155 /* confdefs.h. */
70156 _ACEOF
70157 cat confdefs.h >>conftest.$ac_ext
70158 cat >>conftest.$ac_ext <<_ACEOF
70159 /* end confdefs.h. */
70160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70162 #define $ac_func innocuous_$ac_func
70163
70164 /* System header to define __stub macros and hopefully few prototypes,
70165 which can conflict with char $ac_func (); below.
70166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70167 <limits.h> exists even on freestanding compilers. */
70168
70169 #ifdef __STDC__
70170 # include <limits.h>
70171 #else
70172 # include <assert.h>
70173 #endif
70174
70175 #undef $ac_func
70176
70177 /* Override any gcc2 internal prototype to avoid an error. */
70178 #ifdef __cplusplus
70179 extern "C"
70180 {
70181 #endif
70182 /* We use char because int might match the return type of a gcc2
70183 builtin and then its argument prototype would still apply. */
70184 char $ac_func ();
70185 /* The GNU C library defines this for functions which it implements
70186 to always fail with ENOSYS. Some functions are actually named
70187 something starting with __ and the normal name is an alias. */
70188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70189 choke me
70190 #else
70191 char (*f) () = $ac_func;
70192 #endif
70193 #ifdef __cplusplus
70194 }
70195 #endif
70196
70197 int
70198 main ()
70199 {
70200 return f != $ac_func;
70201 ;
70202 return 0;
70203 }
70204 _ACEOF
70205 rm -f conftest.$ac_objext conftest$ac_exeext
70206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70207 (eval $ac_link) 2>conftest.er1
70208 ac_status=$?
70209 grep -v '^ *+' conftest.er1 >conftest.err
70210 rm -f conftest.er1
70211 cat conftest.err >&5
70212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70213 (exit $ac_status); } &&
70214 { ac_try='test -z "$ac_c_werror_flag"
70215 || test ! -s conftest.err'
70216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70217 (eval $ac_try) 2>&5
70218 ac_status=$?
70219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70220 (exit $ac_status); }; } &&
70221 { ac_try='test -s conftest$ac_exeext'
70222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70223 (eval $ac_try) 2>&5
70224 ac_status=$?
70225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70226 (exit $ac_status); }; }; then
70227 eval "$as_ac_var=yes"
70228 else
70229 echo "$as_me: failed program was:" >&5
70230 sed 's/^/| /' conftest.$ac_ext >&5
70231
70232 eval "$as_ac_var=no"
70233 fi
70234 rm -f conftest.err conftest.$ac_objext \
70235 conftest$ac_exeext conftest.$ac_ext
70236 fi
70237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70239 if test `eval echo '${'$as_ac_var'}'` = yes; then
70240 cat >>confdefs.h <<_ACEOF
70241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70242 _ACEOF
70243
70244 fi
70245 done
70246
70247 fi
70248 fi
70249
70250
70251
70252
70253
70254
70255 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
70256 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
70257 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70258 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
70259 echo $ECHO_N "(cached) $ECHO_C" >&6
70260 else
70261
70262
70263
70264 ac_ext=cc
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269
70270 cat >conftest.$ac_ext <<_ACEOF
70271 /* confdefs.h. */
70272 _ACEOF
70273 cat confdefs.h >>conftest.$ac_ext
70274 cat >>conftest.$ac_ext <<_ACEOF
70275 /* end confdefs.h. */
70276 #include <math.h>
70277 #ifdef HAVE_IEEEFP_H
70278 #include <ieeefp.h>
70279 #endif
70280
70281 int
70282 main ()
70283 {
70284 isinfl(0);
70285 ;
70286 return 0;
70287 }
70288 _ACEOF
70289 rm -f conftest.$ac_objext
70290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70291 (eval $ac_compile) 2>conftest.er1
70292 ac_status=$?
70293 grep -v '^ *+' conftest.er1 >conftest.err
70294 rm -f conftest.er1
70295 cat conftest.err >&5
70296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70297 (exit $ac_status); } &&
70298 { ac_try='test -z "$ac_cxx_werror_flag"
70299 || test ! -s conftest.err'
70300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70301 (eval $ac_try) 2>&5
70302 ac_status=$?
70303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70304 (exit $ac_status); }; } &&
70305 { ac_try='test -s conftest.$ac_objext'
70306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70307 (eval $ac_try) 2>&5
70308 ac_status=$?
70309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70310 (exit $ac_status); }; }; then
70311 glibcxx_cv_func_isinfl_use=yes
70312 else
70313 echo "$as_me: failed program was:" >&5
70314 sed 's/^/| /' conftest.$ac_ext >&5
70315
70316 glibcxx_cv_func_isinfl_use=no
70317 fi
70318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70319 ac_ext=c
70320 ac_cpp='$CPP $CPPFLAGS'
70321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70324
70325
70326 fi
70327
70328 fi
70329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
70330 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
70331
70332 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70333
70334 for ac_func in isinfl
70335 do
70336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70337 echo "$as_me:$LINENO: checking for $ac_func" >&5
70338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70339 if eval "test \"\${$as_ac_var+set}\" = set"; then
70340 echo $ECHO_N "(cached) $ECHO_C" >&6
70341 else
70342 if test x$gcc_no_link = xyes; then
70343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70345 { (exit 1); exit 1; }; }
70346 fi
70347 cat >conftest.$ac_ext <<_ACEOF
70348 /* confdefs.h. */
70349 _ACEOF
70350 cat confdefs.h >>conftest.$ac_ext
70351 cat >>conftest.$ac_ext <<_ACEOF
70352 /* end confdefs.h. */
70353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70355 #define $ac_func innocuous_$ac_func
70356
70357 /* System header to define __stub macros and hopefully few prototypes,
70358 which can conflict with char $ac_func (); below.
70359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70360 <limits.h> exists even on freestanding compilers. */
70361
70362 #ifdef __STDC__
70363 # include <limits.h>
70364 #else
70365 # include <assert.h>
70366 #endif
70367
70368 #undef $ac_func
70369
70370 /* Override any gcc2 internal prototype to avoid an error. */
70371 #ifdef __cplusplus
70372 extern "C"
70373 {
70374 #endif
70375 /* We use char because int might match the return type of a gcc2
70376 builtin and then its argument prototype would still apply. */
70377 char $ac_func ();
70378 /* The GNU C library defines this for functions which it implements
70379 to always fail with ENOSYS. Some functions are actually named
70380 something starting with __ and the normal name is an alias. */
70381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70382 choke me
70383 #else
70384 char (*f) () = $ac_func;
70385 #endif
70386 #ifdef __cplusplus
70387 }
70388 #endif
70389
70390 int
70391 main ()
70392 {
70393 return f != $ac_func;
70394 ;
70395 return 0;
70396 }
70397 _ACEOF
70398 rm -f conftest.$ac_objext conftest$ac_exeext
70399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70400 (eval $ac_link) 2>conftest.er1
70401 ac_status=$?
70402 grep -v '^ *+' conftest.er1 >conftest.err
70403 rm -f conftest.er1
70404 cat conftest.err >&5
70405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70406 (exit $ac_status); } &&
70407 { ac_try='test -z "$ac_c_werror_flag"
70408 || test ! -s conftest.err'
70409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70410 (eval $ac_try) 2>&5
70411 ac_status=$?
70412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70413 (exit $ac_status); }; } &&
70414 { ac_try='test -s conftest$ac_exeext'
70415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70416 (eval $ac_try) 2>&5
70417 ac_status=$?
70418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70419 (exit $ac_status); }; }; then
70420 eval "$as_ac_var=yes"
70421 else
70422 echo "$as_me: failed program was:" >&5
70423 sed 's/^/| /' conftest.$ac_ext >&5
70424
70425 eval "$as_ac_var=no"
70426 fi
70427 rm -f conftest.err conftest.$ac_objext \
70428 conftest$ac_exeext conftest.$ac_ext
70429 fi
70430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70432 if test `eval echo '${'$as_ac_var'}'` = yes; then
70433 cat >>confdefs.h <<_ACEOF
70434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70435 _ACEOF
70436
70437 fi
70438 done
70439
70440 else
70441
70442 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
70443 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
70444 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70445 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
70446 echo $ECHO_N "(cached) $ECHO_C" >&6
70447 else
70448
70449
70450
70451 ac_ext=cc
70452 ac_cpp='$CXXCPP $CPPFLAGS'
70453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70456
70457 cat >conftest.$ac_ext <<_ACEOF
70458 /* confdefs.h. */
70459 _ACEOF
70460 cat confdefs.h >>conftest.$ac_ext
70461 cat >>conftest.$ac_ext <<_ACEOF
70462 /* end confdefs.h. */
70463 #include <math.h>
70464 #ifdef HAVE_IEEEFP_H
70465 #include <ieeefp.h>
70466 #endif
70467
70468 int
70469 main ()
70470 {
70471 _isinfl(0);
70472 ;
70473 return 0;
70474 }
70475 _ACEOF
70476 rm -f conftest.$ac_objext
70477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70478 (eval $ac_compile) 2>conftest.er1
70479 ac_status=$?
70480 grep -v '^ *+' conftest.er1 >conftest.err
70481 rm -f conftest.er1
70482 cat conftest.err >&5
70483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70484 (exit $ac_status); } &&
70485 { ac_try='test -z "$ac_cxx_werror_flag"
70486 || test ! -s conftest.err'
70487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70488 (eval $ac_try) 2>&5
70489 ac_status=$?
70490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70491 (exit $ac_status); }; } &&
70492 { ac_try='test -s conftest.$ac_objext'
70493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70494 (eval $ac_try) 2>&5
70495 ac_status=$?
70496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497 (exit $ac_status); }; }; then
70498 glibcxx_cv_func__isinfl_use=yes
70499 else
70500 echo "$as_me: failed program was:" >&5
70501 sed 's/^/| /' conftest.$ac_ext >&5
70502
70503 glibcxx_cv_func__isinfl_use=no
70504 fi
70505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70506 ac_ext=c
70507 ac_cpp='$CPP $CPPFLAGS'
70508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70511
70512
70513 fi
70514
70515 fi
70516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
70517 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
70518
70519 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70520
70521 for ac_func in _isinfl
70522 do
70523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70524 echo "$as_me:$LINENO: checking for $ac_func" >&5
70525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70526 if eval "test \"\${$as_ac_var+set}\" = set"; then
70527 echo $ECHO_N "(cached) $ECHO_C" >&6
70528 else
70529 if test x$gcc_no_link = xyes; then
70530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70532 { (exit 1); exit 1; }; }
70533 fi
70534 cat >conftest.$ac_ext <<_ACEOF
70535 /* confdefs.h. */
70536 _ACEOF
70537 cat confdefs.h >>conftest.$ac_ext
70538 cat >>conftest.$ac_ext <<_ACEOF
70539 /* end confdefs.h. */
70540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70542 #define $ac_func innocuous_$ac_func
70543
70544 /* System header to define __stub macros and hopefully few prototypes,
70545 which can conflict with char $ac_func (); below.
70546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70547 <limits.h> exists even on freestanding compilers. */
70548
70549 #ifdef __STDC__
70550 # include <limits.h>
70551 #else
70552 # include <assert.h>
70553 #endif
70554
70555 #undef $ac_func
70556
70557 /* Override any gcc2 internal prototype to avoid an error. */
70558 #ifdef __cplusplus
70559 extern "C"
70560 {
70561 #endif
70562 /* We use char because int might match the return type of a gcc2
70563 builtin and then its argument prototype would still apply. */
70564 char $ac_func ();
70565 /* The GNU C library defines this for functions which it implements
70566 to always fail with ENOSYS. Some functions are actually named
70567 something starting with __ and the normal name is an alias. */
70568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70569 choke me
70570 #else
70571 char (*f) () = $ac_func;
70572 #endif
70573 #ifdef __cplusplus
70574 }
70575 #endif
70576
70577 int
70578 main ()
70579 {
70580 return f != $ac_func;
70581 ;
70582 return 0;
70583 }
70584 _ACEOF
70585 rm -f conftest.$ac_objext conftest$ac_exeext
70586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70587 (eval $ac_link) 2>conftest.er1
70588 ac_status=$?
70589 grep -v '^ *+' conftest.er1 >conftest.err
70590 rm -f conftest.er1
70591 cat conftest.err >&5
70592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70593 (exit $ac_status); } &&
70594 { ac_try='test -z "$ac_c_werror_flag"
70595 || test ! -s conftest.err'
70596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70597 (eval $ac_try) 2>&5
70598 ac_status=$?
70599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70600 (exit $ac_status); }; } &&
70601 { ac_try='test -s conftest$ac_exeext'
70602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70603 (eval $ac_try) 2>&5
70604 ac_status=$?
70605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70606 (exit $ac_status); }; }; then
70607 eval "$as_ac_var=yes"
70608 else
70609 echo "$as_me: failed program was:" >&5
70610 sed 's/^/| /' conftest.$ac_ext >&5
70611
70612 eval "$as_ac_var=no"
70613 fi
70614 rm -f conftest.err conftest.$ac_objext \
70615 conftest$ac_exeext conftest.$ac_ext
70616 fi
70617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70619 if test `eval echo '${'$as_ac_var'}'` = yes; then
70620 cat >>confdefs.h <<_ACEOF
70621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70622 _ACEOF
70623
70624 fi
70625 done
70626
70627 fi
70628 fi
70629
70630
70631
70632
70633
70634
70635 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
70636 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
70637 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70638 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
70639 echo $ECHO_N "(cached) $ECHO_C" >&6
70640 else
70641
70642
70643
70644 ac_ext=cc
70645 ac_cpp='$CXXCPP $CPPFLAGS'
70646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70649
70650 cat >conftest.$ac_ext <<_ACEOF
70651 /* confdefs.h. */
70652 _ACEOF
70653 cat confdefs.h >>conftest.$ac_ext
70654 cat >>conftest.$ac_ext <<_ACEOF
70655 /* end confdefs.h. */
70656 #include <math.h>
70657 int
70658 main ()
70659 {
70660 atan2l(0, 0);
70661 ;
70662 return 0;
70663 }
70664 _ACEOF
70665 rm -f conftest.$ac_objext
70666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70667 (eval $ac_compile) 2>conftest.er1
70668 ac_status=$?
70669 grep -v '^ *+' conftest.er1 >conftest.err
70670 rm -f conftest.er1
70671 cat conftest.err >&5
70672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70673 (exit $ac_status); } &&
70674 { ac_try='test -z "$ac_cxx_werror_flag"
70675 || test ! -s conftest.err'
70676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70677 (eval $ac_try) 2>&5
70678 ac_status=$?
70679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70680 (exit $ac_status); }; } &&
70681 { ac_try='test -s conftest.$ac_objext'
70682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70683 (eval $ac_try) 2>&5
70684 ac_status=$?
70685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70686 (exit $ac_status); }; }; then
70687 glibcxx_cv_func_atan2l_use=yes
70688 else
70689 echo "$as_me: failed program was:" >&5
70690 sed 's/^/| /' conftest.$ac_ext >&5
70691
70692 glibcxx_cv_func_atan2l_use=no
70693 fi
70694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70695 ac_ext=c
70696 ac_cpp='$CPP $CPPFLAGS'
70697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70700
70701
70702 fi
70703
70704 fi
70705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
70706 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
70707
70708 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70709
70710 for ac_func in atan2l
70711 do
70712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70713 echo "$as_me:$LINENO: checking for $ac_func" >&5
70714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70715 if eval "test \"\${$as_ac_var+set}\" = set"; then
70716 echo $ECHO_N "(cached) $ECHO_C" >&6
70717 else
70718 if test x$gcc_no_link = xyes; then
70719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70721 { (exit 1); exit 1; }; }
70722 fi
70723 cat >conftest.$ac_ext <<_ACEOF
70724 /* confdefs.h. */
70725 _ACEOF
70726 cat confdefs.h >>conftest.$ac_ext
70727 cat >>conftest.$ac_ext <<_ACEOF
70728 /* end confdefs.h. */
70729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70731 #define $ac_func innocuous_$ac_func
70732
70733 /* System header to define __stub macros and hopefully few prototypes,
70734 which can conflict with char $ac_func (); below.
70735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70736 <limits.h> exists even on freestanding compilers. */
70737
70738 #ifdef __STDC__
70739 # include <limits.h>
70740 #else
70741 # include <assert.h>
70742 #endif
70743
70744 #undef $ac_func
70745
70746 /* Override any gcc2 internal prototype to avoid an error. */
70747 #ifdef __cplusplus
70748 extern "C"
70749 {
70750 #endif
70751 /* We use char because int might match the return type of a gcc2
70752 builtin and then its argument prototype would still apply. */
70753 char $ac_func ();
70754 /* The GNU C library defines this for functions which it implements
70755 to always fail with ENOSYS. Some functions are actually named
70756 something starting with __ and the normal name is an alias. */
70757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70758 choke me
70759 #else
70760 char (*f) () = $ac_func;
70761 #endif
70762 #ifdef __cplusplus
70763 }
70764 #endif
70765
70766 int
70767 main ()
70768 {
70769 return f != $ac_func;
70770 ;
70771 return 0;
70772 }
70773 _ACEOF
70774 rm -f conftest.$ac_objext conftest$ac_exeext
70775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70776 (eval $ac_link) 2>conftest.er1
70777 ac_status=$?
70778 grep -v '^ *+' conftest.er1 >conftest.err
70779 rm -f conftest.er1
70780 cat conftest.err >&5
70781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70782 (exit $ac_status); } &&
70783 { ac_try='test -z "$ac_c_werror_flag"
70784 || test ! -s conftest.err'
70785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70786 (eval $ac_try) 2>&5
70787 ac_status=$?
70788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70789 (exit $ac_status); }; } &&
70790 { ac_try='test -s conftest$ac_exeext'
70791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70792 (eval $ac_try) 2>&5
70793 ac_status=$?
70794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70795 (exit $ac_status); }; }; then
70796 eval "$as_ac_var=yes"
70797 else
70798 echo "$as_me: failed program was:" >&5
70799 sed 's/^/| /' conftest.$ac_ext >&5
70800
70801 eval "$as_ac_var=no"
70802 fi
70803 rm -f conftest.err conftest.$ac_objext \
70804 conftest$ac_exeext conftest.$ac_ext
70805 fi
70806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70808 if test `eval echo '${'$as_ac_var'}'` = yes; then
70809 cat >>confdefs.h <<_ACEOF
70810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70811 _ACEOF
70812
70813 fi
70814 done
70815
70816 else
70817
70818 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
70819 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
70820 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70821 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
70822 echo $ECHO_N "(cached) $ECHO_C" >&6
70823 else
70824
70825
70826
70827 ac_ext=cc
70828 ac_cpp='$CXXCPP $CPPFLAGS'
70829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70832
70833 cat >conftest.$ac_ext <<_ACEOF
70834 /* confdefs.h. */
70835 _ACEOF
70836 cat confdefs.h >>conftest.$ac_ext
70837 cat >>conftest.$ac_ext <<_ACEOF
70838 /* end confdefs.h. */
70839 #include <math.h>
70840 int
70841 main ()
70842 {
70843 _atan2l(0, 0);
70844 ;
70845 return 0;
70846 }
70847 _ACEOF
70848 rm -f conftest.$ac_objext
70849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70850 (eval $ac_compile) 2>conftest.er1
70851 ac_status=$?
70852 grep -v '^ *+' conftest.er1 >conftest.err
70853 rm -f conftest.er1
70854 cat conftest.err >&5
70855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70856 (exit $ac_status); } &&
70857 { ac_try='test -z "$ac_cxx_werror_flag"
70858 || test ! -s conftest.err'
70859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70860 (eval $ac_try) 2>&5
70861 ac_status=$?
70862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70863 (exit $ac_status); }; } &&
70864 { ac_try='test -s conftest.$ac_objext'
70865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70866 (eval $ac_try) 2>&5
70867 ac_status=$?
70868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70869 (exit $ac_status); }; }; then
70870 glibcxx_cv_func__atan2l_use=yes
70871 else
70872 echo "$as_me: failed program was:" >&5
70873 sed 's/^/| /' conftest.$ac_ext >&5
70874
70875 glibcxx_cv_func__atan2l_use=no
70876 fi
70877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70878 ac_ext=c
70879 ac_cpp='$CPP $CPPFLAGS'
70880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70883
70884
70885 fi
70886
70887 fi
70888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
70889 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
70890
70891 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70892
70893 for ac_func in _atan2l
70894 do
70895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70896 echo "$as_me:$LINENO: checking for $ac_func" >&5
70897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70898 if eval "test \"\${$as_ac_var+set}\" = set"; then
70899 echo $ECHO_N "(cached) $ECHO_C" >&6
70900 else
70901 if test x$gcc_no_link = xyes; then
70902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70904 { (exit 1); exit 1; }; }
70905 fi
70906 cat >conftest.$ac_ext <<_ACEOF
70907 /* confdefs.h. */
70908 _ACEOF
70909 cat confdefs.h >>conftest.$ac_ext
70910 cat >>conftest.$ac_ext <<_ACEOF
70911 /* end confdefs.h. */
70912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70914 #define $ac_func innocuous_$ac_func
70915
70916 /* System header to define __stub macros and hopefully few prototypes,
70917 which can conflict with char $ac_func (); below.
70918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70919 <limits.h> exists even on freestanding compilers. */
70920
70921 #ifdef __STDC__
70922 # include <limits.h>
70923 #else
70924 # include <assert.h>
70925 #endif
70926
70927 #undef $ac_func
70928
70929 /* Override any gcc2 internal prototype to avoid an error. */
70930 #ifdef __cplusplus
70931 extern "C"
70932 {
70933 #endif
70934 /* We use char because int might match the return type of a gcc2
70935 builtin and then its argument prototype would still apply. */
70936 char $ac_func ();
70937 /* The GNU C library defines this for functions which it implements
70938 to always fail with ENOSYS. Some functions are actually named
70939 something starting with __ and the normal name is an alias. */
70940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70941 choke me
70942 #else
70943 char (*f) () = $ac_func;
70944 #endif
70945 #ifdef __cplusplus
70946 }
70947 #endif
70948
70949 int
70950 main ()
70951 {
70952 return f != $ac_func;
70953 ;
70954 return 0;
70955 }
70956 _ACEOF
70957 rm -f conftest.$ac_objext conftest$ac_exeext
70958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70959 (eval $ac_link) 2>conftest.er1
70960 ac_status=$?
70961 grep -v '^ *+' conftest.er1 >conftest.err
70962 rm -f conftest.er1
70963 cat conftest.err >&5
70964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70965 (exit $ac_status); } &&
70966 { ac_try='test -z "$ac_c_werror_flag"
70967 || test ! -s conftest.err'
70968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70969 (eval $ac_try) 2>&5
70970 ac_status=$?
70971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70972 (exit $ac_status); }; } &&
70973 { ac_try='test -s conftest$ac_exeext'
70974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70975 (eval $ac_try) 2>&5
70976 ac_status=$?
70977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70978 (exit $ac_status); }; }; then
70979 eval "$as_ac_var=yes"
70980 else
70981 echo "$as_me: failed program was:" >&5
70982 sed 's/^/| /' conftest.$ac_ext >&5
70983
70984 eval "$as_ac_var=no"
70985 fi
70986 rm -f conftest.err conftest.$ac_objext \
70987 conftest$ac_exeext conftest.$ac_ext
70988 fi
70989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70991 if test `eval echo '${'$as_ac_var'}'` = yes; then
70992 cat >>confdefs.h <<_ACEOF
70993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70994 _ACEOF
70995
70996 fi
70997 done
70998
70999 fi
71000 fi
71001
71002
71003
71004
71005
71006
71007 echo "$as_me:$LINENO: checking for expl declaration" >&5
71008 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
71009 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71010 if test "${glibcxx_cv_func_expl_use+set}" = set; then
71011 echo $ECHO_N "(cached) $ECHO_C" >&6
71012 else
71013
71014
71015
71016 ac_ext=cc
71017 ac_cpp='$CXXCPP $CPPFLAGS'
71018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71021
71022 cat >conftest.$ac_ext <<_ACEOF
71023 /* confdefs.h. */
71024 _ACEOF
71025 cat confdefs.h >>conftest.$ac_ext
71026 cat >>conftest.$ac_ext <<_ACEOF
71027 /* end confdefs.h. */
71028 #include <math.h>
71029 #ifdef HAVE_IEEEFP_H
71030 #include <ieeefp.h>
71031 #endif
71032
71033 int
71034 main ()
71035 {
71036 expl(0);
71037 ;
71038 return 0;
71039 }
71040 _ACEOF
71041 rm -f conftest.$ac_objext
71042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71043 (eval $ac_compile) 2>conftest.er1
71044 ac_status=$?
71045 grep -v '^ *+' conftest.er1 >conftest.err
71046 rm -f conftest.er1
71047 cat conftest.err >&5
71048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71049 (exit $ac_status); } &&
71050 { ac_try='test -z "$ac_cxx_werror_flag"
71051 || test ! -s conftest.err'
71052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71053 (eval $ac_try) 2>&5
71054 ac_status=$?
71055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056 (exit $ac_status); }; } &&
71057 { ac_try='test -s conftest.$ac_objext'
71058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71059 (eval $ac_try) 2>&5
71060 ac_status=$?
71061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71062 (exit $ac_status); }; }; then
71063 glibcxx_cv_func_expl_use=yes
71064 else
71065 echo "$as_me: failed program was:" >&5
71066 sed 's/^/| /' conftest.$ac_ext >&5
71067
71068 glibcxx_cv_func_expl_use=no
71069 fi
71070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71071 ac_ext=c
71072 ac_cpp='$CPP $CPPFLAGS'
71073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71076
71077
71078 fi
71079
71080 fi
71081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
71082 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
71083
71084 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71085
71086 for ac_func in expl
71087 do
71088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71089 echo "$as_me:$LINENO: checking for $ac_func" >&5
71090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71091 if eval "test \"\${$as_ac_var+set}\" = set"; then
71092 echo $ECHO_N "(cached) $ECHO_C" >&6
71093 else
71094 if test x$gcc_no_link = xyes; then
71095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71097 { (exit 1); exit 1; }; }
71098 fi
71099 cat >conftest.$ac_ext <<_ACEOF
71100 /* confdefs.h. */
71101 _ACEOF
71102 cat confdefs.h >>conftest.$ac_ext
71103 cat >>conftest.$ac_ext <<_ACEOF
71104 /* end confdefs.h. */
71105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71107 #define $ac_func innocuous_$ac_func
71108
71109 /* System header to define __stub macros and hopefully few prototypes,
71110 which can conflict with char $ac_func (); below.
71111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71112 <limits.h> exists even on freestanding compilers. */
71113
71114 #ifdef __STDC__
71115 # include <limits.h>
71116 #else
71117 # include <assert.h>
71118 #endif
71119
71120 #undef $ac_func
71121
71122 /* Override any gcc2 internal prototype to avoid an error. */
71123 #ifdef __cplusplus
71124 extern "C"
71125 {
71126 #endif
71127 /* We use char because int might match the return type of a gcc2
71128 builtin and then its argument prototype would still apply. */
71129 char $ac_func ();
71130 /* The GNU C library defines this for functions which it implements
71131 to always fail with ENOSYS. Some functions are actually named
71132 something starting with __ and the normal name is an alias. */
71133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71134 choke me
71135 #else
71136 char (*f) () = $ac_func;
71137 #endif
71138 #ifdef __cplusplus
71139 }
71140 #endif
71141
71142 int
71143 main ()
71144 {
71145 return f != $ac_func;
71146 ;
71147 return 0;
71148 }
71149 _ACEOF
71150 rm -f conftest.$ac_objext conftest$ac_exeext
71151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71152 (eval $ac_link) 2>conftest.er1
71153 ac_status=$?
71154 grep -v '^ *+' conftest.er1 >conftest.err
71155 rm -f conftest.er1
71156 cat conftest.err >&5
71157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71158 (exit $ac_status); } &&
71159 { ac_try='test -z "$ac_c_werror_flag"
71160 || test ! -s conftest.err'
71161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71162 (eval $ac_try) 2>&5
71163 ac_status=$?
71164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71165 (exit $ac_status); }; } &&
71166 { ac_try='test -s conftest$ac_exeext'
71167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71168 (eval $ac_try) 2>&5
71169 ac_status=$?
71170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71171 (exit $ac_status); }; }; then
71172 eval "$as_ac_var=yes"
71173 else
71174 echo "$as_me: failed program was:" >&5
71175 sed 's/^/| /' conftest.$ac_ext >&5
71176
71177 eval "$as_ac_var=no"
71178 fi
71179 rm -f conftest.err conftest.$ac_objext \
71180 conftest$ac_exeext conftest.$ac_ext
71181 fi
71182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71184 if test `eval echo '${'$as_ac_var'}'` = yes; then
71185 cat >>confdefs.h <<_ACEOF
71186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71187 _ACEOF
71188
71189 fi
71190 done
71191
71192 else
71193
71194 echo "$as_me:$LINENO: checking for _expl declaration" >&5
71195 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
71196 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71197 if test "${glibcxx_cv_func__expl_use+set}" = set; then
71198 echo $ECHO_N "(cached) $ECHO_C" >&6
71199 else
71200
71201
71202
71203 ac_ext=cc
71204 ac_cpp='$CXXCPP $CPPFLAGS'
71205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71208
71209 cat >conftest.$ac_ext <<_ACEOF
71210 /* confdefs.h. */
71211 _ACEOF
71212 cat confdefs.h >>conftest.$ac_ext
71213 cat >>conftest.$ac_ext <<_ACEOF
71214 /* end confdefs.h. */
71215 #include <math.h>
71216 #ifdef HAVE_IEEEFP_H
71217 #include <ieeefp.h>
71218 #endif
71219
71220 int
71221 main ()
71222 {
71223 _expl(0);
71224 ;
71225 return 0;
71226 }
71227 _ACEOF
71228 rm -f conftest.$ac_objext
71229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71230 (eval $ac_compile) 2>conftest.er1
71231 ac_status=$?
71232 grep -v '^ *+' conftest.er1 >conftest.err
71233 rm -f conftest.er1
71234 cat conftest.err >&5
71235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71236 (exit $ac_status); } &&
71237 { ac_try='test -z "$ac_cxx_werror_flag"
71238 || test ! -s conftest.err'
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); }; } &&
71244 { ac_try='test -s conftest.$ac_objext'
71245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71246 (eval $ac_try) 2>&5
71247 ac_status=$?
71248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249 (exit $ac_status); }; }; then
71250 glibcxx_cv_func__expl_use=yes
71251 else
71252 echo "$as_me: failed program was:" >&5
71253 sed 's/^/| /' conftest.$ac_ext >&5
71254
71255 glibcxx_cv_func__expl_use=no
71256 fi
71257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71258 ac_ext=c
71259 ac_cpp='$CPP $CPPFLAGS'
71260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71263
71264
71265 fi
71266
71267 fi
71268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
71269 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
71270
71271 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71272
71273 for ac_func in _expl
71274 do
71275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71276 echo "$as_me:$LINENO: checking for $ac_func" >&5
71277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71278 if eval "test \"\${$as_ac_var+set}\" = set"; then
71279 echo $ECHO_N "(cached) $ECHO_C" >&6
71280 else
71281 if test x$gcc_no_link = xyes; then
71282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71284 { (exit 1); exit 1; }; }
71285 fi
71286 cat >conftest.$ac_ext <<_ACEOF
71287 /* confdefs.h. */
71288 _ACEOF
71289 cat confdefs.h >>conftest.$ac_ext
71290 cat >>conftest.$ac_ext <<_ACEOF
71291 /* end confdefs.h. */
71292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71294 #define $ac_func innocuous_$ac_func
71295
71296 /* System header to define __stub macros and hopefully few prototypes,
71297 which can conflict with char $ac_func (); below.
71298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71299 <limits.h> exists even on freestanding compilers. */
71300
71301 #ifdef __STDC__
71302 # include <limits.h>
71303 #else
71304 # include <assert.h>
71305 #endif
71306
71307 #undef $ac_func
71308
71309 /* Override any gcc2 internal prototype to avoid an error. */
71310 #ifdef __cplusplus
71311 extern "C"
71312 {
71313 #endif
71314 /* We use char because int might match the return type of a gcc2
71315 builtin and then its argument prototype would still apply. */
71316 char $ac_func ();
71317 /* The GNU C library defines this for functions which it implements
71318 to always fail with ENOSYS. Some functions are actually named
71319 something starting with __ and the normal name is an alias. */
71320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71321 choke me
71322 #else
71323 char (*f) () = $ac_func;
71324 #endif
71325 #ifdef __cplusplus
71326 }
71327 #endif
71328
71329 int
71330 main ()
71331 {
71332 return f != $ac_func;
71333 ;
71334 return 0;
71335 }
71336 _ACEOF
71337 rm -f conftest.$ac_objext conftest$ac_exeext
71338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71339 (eval $ac_link) 2>conftest.er1
71340 ac_status=$?
71341 grep -v '^ *+' conftest.er1 >conftest.err
71342 rm -f conftest.er1
71343 cat conftest.err >&5
71344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71345 (exit $ac_status); } &&
71346 { ac_try='test -z "$ac_c_werror_flag"
71347 || test ! -s conftest.err'
71348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71349 (eval $ac_try) 2>&5
71350 ac_status=$?
71351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71352 (exit $ac_status); }; } &&
71353 { ac_try='test -s conftest$ac_exeext'
71354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71355 (eval $ac_try) 2>&5
71356 ac_status=$?
71357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71358 (exit $ac_status); }; }; then
71359 eval "$as_ac_var=yes"
71360 else
71361 echo "$as_me: failed program was:" >&5
71362 sed 's/^/| /' conftest.$ac_ext >&5
71363
71364 eval "$as_ac_var=no"
71365 fi
71366 rm -f conftest.err conftest.$ac_objext \
71367 conftest$ac_exeext conftest.$ac_ext
71368 fi
71369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71371 if test `eval echo '${'$as_ac_var'}'` = yes; then
71372 cat >>confdefs.h <<_ACEOF
71373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71374 _ACEOF
71375
71376 fi
71377 done
71378
71379 fi
71380 fi
71381
71382
71383
71384
71385
71386
71387 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
71388 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
71389 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71390 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
71391 echo $ECHO_N "(cached) $ECHO_C" >&6
71392 else
71393
71394
71395
71396 ac_ext=cc
71397 ac_cpp='$CXXCPP $CPPFLAGS'
71398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71401
71402 cat >conftest.$ac_ext <<_ACEOF
71403 /* confdefs.h. */
71404 _ACEOF
71405 cat confdefs.h >>conftest.$ac_ext
71406 cat >>conftest.$ac_ext <<_ACEOF
71407 /* end confdefs.h. */
71408 #include <math.h>
71409 #ifdef HAVE_IEEEFP_H
71410 #include <ieeefp.h>
71411 #endif
71412
71413 int
71414 main ()
71415 {
71416 fabsl(0);
71417 ;
71418 return 0;
71419 }
71420 _ACEOF
71421 rm -f conftest.$ac_objext
71422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71423 (eval $ac_compile) 2>conftest.er1
71424 ac_status=$?
71425 grep -v '^ *+' conftest.er1 >conftest.err
71426 rm -f conftest.er1
71427 cat conftest.err >&5
71428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71429 (exit $ac_status); } &&
71430 { ac_try='test -z "$ac_cxx_werror_flag"
71431 || test ! -s conftest.err'
71432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71433 (eval $ac_try) 2>&5
71434 ac_status=$?
71435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71436 (exit $ac_status); }; } &&
71437 { ac_try='test -s conftest.$ac_objext'
71438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71439 (eval $ac_try) 2>&5
71440 ac_status=$?
71441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71442 (exit $ac_status); }; }; then
71443 glibcxx_cv_func_fabsl_use=yes
71444 else
71445 echo "$as_me: failed program was:" >&5
71446 sed 's/^/| /' conftest.$ac_ext >&5
71447
71448 glibcxx_cv_func_fabsl_use=no
71449 fi
71450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71451 ac_ext=c
71452 ac_cpp='$CPP $CPPFLAGS'
71453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71456
71457
71458 fi
71459
71460 fi
71461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
71462 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
71463
71464 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71465
71466 for ac_func in fabsl
71467 do
71468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71469 echo "$as_me:$LINENO: checking for $ac_func" >&5
71470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71471 if eval "test \"\${$as_ac_var+set}\" = set"; then
71472 echo $ECHO_N "(cached) $ECHO_C" >&6
71473 else
71474 if test x$gcc_no_link = xyes; then
71475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71477 { (exit 1); exit 1; }; }
71478 fi
71479 cat >conftest.$ac_ext <<_ACEOF
71480 /* confdefs.h. */
71481 _ACEOF
71482 cat confdefs.h >>conftest.$ac_ext
71483 cat >>conftest.$ac_ext <<_ACEOF
71484 /* end confdefs.h. */
71485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71487 #define $ac_func innocuous_$ac_func
71488
71489 /* System header to define __stub macros and hopefully few prototypes,
71490 which can conflict with char $ac_func (); below.
71491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71492 <limits.h> exists even on freestanding compilers. */
71493
71494 #ifdef __STDC__
71495 # include <limits.h>
71496 #else
71497 # include <assert.h>
71498 #endif
71499
71500 #undef $ac_func
71501
71502 /* Override any gcc2 internal prototype to avoid an error. */
71503 #ifdef __cplusplus
71504 extern "C"
71505 {
71506 #endif
71507 /* We use char because int might match the return type of a gcc2
71508 builtin and then its argument prototype would still apply. */
71509 char $ac_func ();
71510 /* The GNU C library defines this for functions which it implements
71511 to always fail with ENOSYS. Some functions are actually named
71512 something starting with __ and the normal name is an alias. */
71513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71514 choke me
71515 #else
71516 char (*f) () = $ac_func;
71517 #endif
71518 #ifdef __cplusplus
71519 }
71520 #endif
71521
71522 int
71523 main ()
71524 {
71525 return f != $ac_func;
71526 ;
71527 return 0;
71528 }
71529 _ACEOF
71530 rm -f conftest.$ac_objext conftest$ac_exeext
71531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71532 (eval $ac_link) 2>conftest.er1
71533 ac_status=$?
71534 grep -v '^ *+' conftest.er1 >conftest.err
71535 rm -f conftest.er1
71536 cat conftest.err >&5
71537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71538 (exit $ac_status); } &&
71539 { ac_try='test -z "$ac_c_werror_flag"
71540 || test ! -s conftest.err'
71541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71542 (eval $ac_try) 2>&5
71543 ac_status=$?
71544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71545 (exit $ac_status); }; } &&
71546 { ac_try='test -s conftest$ac_exeext'
71547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71548 (eval $ac_try) 2>&5
71549 ac_status=$?
71550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71551 (exit $ac_status); }; }; then
71552 eval "$as_ac_var=yes"
71553 else
71554 echo "$as_me: failed program was:" >&5
71555 sed 's/^/| /' conftest.$ac_ext >&5
71556
71557 eval "$as_ac_var=no"
71558 fi
71559 rm -f conftest.err conftest.$ac_objext \
71560 conftest$ac_exeext conftest.$ac_ext
71561 fi
71562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71564 if test `eval echo '${'$as_ac_var'}'` = yes; then
71565 cat >>confdefs.h <<_ACEOF
71566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71567 _ACEOF
71568
71569 fi
71570 done
71571
71572 else
71573
71574 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
71575 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
71576 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71577 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
71578 echo $ECHO_N "(cached) $ECHO_C" >&6
71579 else
71580
71581
71582
71583 ac_ext=cc
71584 ac_cpp='$CXXCPP $CPPFLAGS'
71585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71588
71589 cat >conftest.$ac_ext <<_ACEOF
71590 /* confdefs.h. */
71591 _ACEOF
71592 cat confdefs.h >>conftest.$ac_ext
71593 cat >>conftest.$ac_ext <<_ACEOF
71594 /* end confdefs.h. */
71595 #include <math.h>
71596 #ifdef HAVE_IEEEFP_H
71597 #include <ieeefp.h>
71598 #endif
71599
71600 int
71601 main ()
71602 {
71603 _fabsl(0);
71604 ;
71605 return 0;
71606 }
71607 _ACEOF
71608 rm -f conftest.$ac_objext
71609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71610 (eval $ac_compile) 2>conftest.er1
71611 ac_status=$?
71612 grep -v '^ *+' conftest.er1 >conftest.err
71613 rm -f conftest.er1
71614 cat conftest.err >&5
71615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71616 (exit $ac_status); } &&
71617 { ac_try='test -z "$ac_cxx_werror_flag"
71618 || test ! -s conftest.err'
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); }; } &&
71624 { ac_try='test -s conftest.$ac_objext'
71625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71626 (eval $ac_try) 2>&5
71627 ac_status=$?
71628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629 (exit $ac_status); }; }; then
71630 glibcxx_cv_func__fabsl_use=yes
71631 else
71632 echo "$as_me: failed program was:" >&5
71633 sed 's/^/| /' conftest.$ac_ext >&5
71634
71635 glibcxx_cv_func__fabsl_use=no
71636 fi
71637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71638 ac_ext=c
71639 ac_cpp='$CPP $CPPFLAGS'
71640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71643
71644
71645 fi
71646
71647 fi
71648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
71649 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
71650
71651 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71652
71653 for ac_func in _fabsl
71654 do
71655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71656 echo "$as_me:$LINENO: checking for $ac_func" >&5
71657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71658 if eval "test \"\${$as_ac_var+set}\" = set"; then
71659 echo $ECHO_N "(cached) $ECHO_C" >&6
71660 else
71661 if test x$gcc_no_link = xyes; then
71662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71664 { (exit 1); exit 1; }; }
71665 fi
71666 cat >conftest.$ac_ext <<_ACEOF
71667 /* confdefs.h. */
71668 _ACEOF
71669 cat confdefs.h >>conftest.$ac_ext
71670 cat >>conftest.$ac_ext <<_ACEOF
71671 /* end confdefs.h. */
71672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71674 #define $ac_func innocuous_$ac_func
71675
71676 /* System header to define __stub macros and hopefully few prototypes,
71677 which can conflict with char $ac_func (); below.
71678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71679 <limits.h> exists even on freestanding compilers. */
71680
71681 #ifdef __STDC__
71682 # include <limits.h>
71683 #else
71684 # include <assert.h>
71685 #endif
71686
71687 #undef $ac_func
71688
71689 /* Override any gcc2 internal prototype to avoid an error. */
71690 #ifdef __cplusplus
71691 extern "C"
71692 {
71693 #endif
71694 /* We use char because int might match the return type of a gcc2
71695 builtin and then its argument prototype would still apply. */
71696 char $ac_func ();
71697 /* The GNU C library defines this for functions which it implements
71698 to always fail with ENOSYS. Some functions are actually named
71699 something starting with __ and the normal name is an alias. */
71700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71701 choke me
71702 #else
71703 char (*f) () = $ac_func;
71704 #endif
71705 #ifdef __cplusplus
71706 }
71707 #endif
71708
71709 int
71710 main ()
71711 {
71712 return f != $ac_func;
71713 ;
71714 return 0;
71715 }
71716 _ACEOF
71717 rm -f conftest.$ac_objext conftest$ac_exeext
71718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71719 (eval $ac_link) 2>conftest.er1
71720 ac_status=$?
71721 grep -v '^ *+' conftest.er1 >conftest.err
71722 rm -f conftest.er1
71723 cat conftest.err >&5
71724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71725 (exit $ac_status); } &&
71726 { ac_try='test -z "$ac_c_werror_flag"
71727 || test ! -s conftest.err'
71728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71729 (eval $ac_try) 2>&5
71730 ac_status=$?
71731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71732 (exit $ac_status); }; } &&
71733 { ac_try='test -s conftest$ac_exeext'
71734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71735 (eval $ac_try) 2>&5
71736 ac_status=$?
71737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71738 (exit $ac_status); }; }; then
71739 eval "$as_ac_var=yes"
71740 else
71741 echo "$as_me: failed program was:" >&5
71742 sed 's/^/| /' conftest.$ac_ext >&5
71743
71744 eval "$as_ac_var=no"
71745 fi
71746 rm -f conftest.err conftest.$ac_objext \
71747 conftest$ac_exeext conftest.$ac_ext
71748 fi
71749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71751 if test `eval echo '${'$as_ac_var'}'` = yes; then
71752 cat >>confdefs.h <<_ACEOF
71753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71754 _ACEOF
71755
71756 fi
71757 done
71758
71759 fi
71760 fi
71761
71762
71763
71764
71765
71766
71767 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
71768 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
71769 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71770 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
71771 echo $ECHO_N "(cached) $ECHO_C" >&6
71772 else
71773
71774
71775
71776 ac_ext=cc
71777 ac_cpp='$CXXCPP $CPPFLAGS'
71778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71781
71782 cat >conftest.$ac_ext <<_ACEOF
71783 /* confdefs.h. */
71784 _ACEOF
71785 cat confdefs.h >>conftest.$ac_ext
71786 cat >>conftest.$ac_ext <<_ACEOF
71787 /* end confdefs.h. */
71788 #include <math.h>
71789 int
71790 main ()
71791 {
71792 fmodl(0, 0);
71793 ;
71794 return 0;
71795 }
71796 _ACEOF
71797 rm -f conftest.$ac_objext
71798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71799 (eval $ac_compile) 2>conftest.er1
71800 ac_status=$?
71801 grep -v '^ *+' conftest.er1 >conftest.err
71802 rm -f conftest.er1
71803 cat conftest.err >&5
71804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71805 (exit $ac_status); } &&
71806 { ac_try='test -z "$ac_cxx_werror_flag"
71807 || test ! -s conftest.err'
71808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71809 (eval $ac_try) 2>&5
71810 ac_status=$?
71811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71812 (exit $ac_status); }; } &&
71813 { ac_try='test -s conftest.$ac_objext'
71814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71815 (eval $ac_try) 2>&5
71816 ac_status=$?
71817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71818 (exit $ac_status); }; }; then
71819 glibcxx_cv_func_fmodl_use=yes
71820 else
71821 echo "$as_me: failed program was:" >&5
71822 sed 's/^/| /' conftest.$ac_ext >&5
71823
71824 glibcxx_cv_func_fmodl_use=no
71825 fi
71826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71827 ac_ext=c
71828 ac_cpp='$CPP $CPPFLAGS'
71829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71832
71833
71834 fi
71835
71836 fi
71837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
71838 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
71839
71840 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71841
71842 for ac_func in fmodl
71843 do
71844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71845 echo "$as_me:$LINENO: checking for $ac_func" >&5
71846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71847 if eval "test \"\${$as_ac_var+set}\" = set"; then
71848 echo $ECHO_N "(cached) $ECHO_C" >&6
71849 else
71850 if test x$gcc_no_link = xyes; then
71851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71853 { (exit 1); exit 1; }; }
71854 fi
71855 cat >conftest.$ac_ext <<_ACEOF
71856 /* confdefs.h. */
71857 _ACEOF
71858 cat confdefs.h >>conftest.$ac_ext
71859 cat >>conftest.$ac_ext <<_ACEOF
71860 /* end confdefs.h. */
71861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71863 #define $ac_func innocuous_$ac_func
71864
71865 /* System header to define __stub macros and hopefully few prototypes,
71866 which can conflict with char $ac_func (); below.
71867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71868 <limits.h> exists even on freestanding compilers. */
71869
71870 #ifdef __STDC__
71871 # include <limits.h>
71872 #else
71873 # include <assert.h>
71874 #endif
71875
71876 #undef $ac_func
71877
71878 /* Override any gcc2 internal prototype to avoid an error. */
71879 #ifdef __cplusplus
71880 extern "C"
71881 {
71882 #endif
71883 /* We use char because int might match the return type of a gcc2
71884 builtin and then its argument prototype would still apply. */
71885 char $ac_func ();
71886 /* The GNU C library defines this for functions which it implements
71887 to always fail with ENOSYS. Some functions are actually named
71888 something starting with __ and the normal name is an alias. */
71889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71890 choke me
71891 #else
71892 char (*f) () = $ac_func;
71893 #endif
71894 #ifdef __cplusplus
71895 }
71896 #endif
71897
71898 int
71899 main ()
71900 {
71901 return f != $ac_func;
71902 ;
71903 return 0;
71904 }
71905 _ACEOF
71906 rm -f conftest.$ac_objext conftest$ac_exeext
71907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71908 (eval $ac_link) 2>conftest.er1
71909 ac_status=$?
71910 grep -v '^ *+' conftest.er1 >conftest.err
71911 rm -f conftest.er1
71912 cat conftest.err >&5
71913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71914 (exit $ac_status); } &&
71915 { ac_try='test -z "$ac_c_werror_flag"
71916 || test ! -s conftest.err'
71917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71918 (eval $ac_try) 2>&5
71919 ac_status=$?
71920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71921 (exit $ac_status); }; } &&
71922 { ac_try='test -s conftest$ac_exeext'
71923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71924 (eval $ac_try) 2>&5
71925 ac_status=$?
71926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71927 (exit $ac_status); }; }; then
71928 eval "$as_ac_var=yes"
71929 else
71930 echo "$as_me: failed program was:" >&5
71931 sed 's/^/| /' conftest.$ac_ext >&5
71932
71933 eval "$as_ac_var=no"
71934 fi
71935 rm -f conftest.err conftest.$ac_objext \
71936 conftest$ac_exeext conftest.$ac_ext
71937 fi
71938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71940 if test `eval echo '${'$as_ac_var'}'` = yes; then
71941 cat >>confdefs.h <<_ACEOF
71942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71943 _ACEOF
71944
71945 fi
71946 done
71947
71948 else
71949
71950 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
71951 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
71952 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71953 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
71954 echo $ECHO_N "(cached) $ECHO_C" >&6
71955 else
71956
71957
71958
71959 ac_ext=cc
71960 ac_cpp='$CXXCPP $CPPFLAGS'
71961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71964
71965 cat >conftest.$ac_ext <<_ACEOF
71966 /* confdefs.h. */
71967 _ACEOF
71968 cat confdefs.h >>conftest.$ac_ext
71969 cat >>conftest.$ac_ext <<_ACEOF
71970 /* end confdefs.h. */
71971 #include <math.h>
71972 int
71973 main ()
71974 {
71975 _fmodl(0, 0);
71976 ;
71977 return 0;
71978 }
71979 _ACEOF
71980 rm -f conftest.$ac_objext
71981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71982 (eval $ac_compile) 2>conftest.er1
71983 ac_status=$?
71984 grep -v '^ *+' conftest.er1 >conftest.err
71985 rm -f conftest.er1
71986 cat conftest.err >&5
71987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71988 (exit $ac_status); } &&
71989 { ac_try='test -z "$ac_cxx_werror_flag"
71990 || test ! -s conftest.err'
71991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71992 (eval $ac_try) 2>&5
71993 ac_status=$?
71994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71995 (exit $ac_status); }; } &&
71996 { ac_try='test -s conftest.$ac_objext'
71997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71998 (eval $ac_try) 2>&5
71999 ac_status=$?
72000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72001 (exit $ac_status); }; }; then
72002 glibcxx_cv_func__fmodl_use=yes
72003 else
72004 echo "$as_me: failed program was:" >&5
72005 sed 's/^/| /' conftest.$ac_ext >&5
72006
72007 glibcxx_cv_func__fmodl_use=no
72008 fi
72009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72010 ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72015
72016
72017 fi
72018
72019 fi
72020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
72021 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
72022
72023 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
72024
72025 for ac_func in _fmodl
72026 do
72027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72028 echo "$as_me:$LINENO: checking for $ac_func" >&5
72029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72030 if eval "test \"\${$as_ac_var+set}\" = set"; then
72031 echo $ECHO_N "(cached) $ECHO_C" >&6
72032 else
72033 if test x$gcc_no_link = xyes; then
72034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72036 { (exit 1); exit 1; }; }
72037 fi
72038 cat >conftest.$ac_ext <<_ACEOF
72039 /* confdefs.h. */
72040 _ACEOF
72041 cat confdefs.h >>conftest.$ac_ext
72042 cat >>conftest.$ac_ext <<_ACEOF
72043 /* end confdefs.h. */
72044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72046 #define $ac_func innocuous_$ac_func
72047
72048 /* System header to define __stub macros and hopefully few prototypes,
72049 which can conflict with char $ac_func (); below.
72050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72051 <limits.h> exists even on freestanding compilers. */
72052
72053 #ifdef __STDC__
72054 # include <limits.h>
72055 #else
72056 # include <assert.h>
72057 #endif
72058
72059 #undef $ac_func
72060
72061 /* Override any gcc2 internal prototype to avoid an error. */
72062 #ifdef __cplusplus
72063 extern "C"
72064 {
72065 #endif
72066 /* We use char because int might match the return type of a gcc2
72067 builtin and then its argument prototype would still apply. */
72068 char $ac_func ();
72069 /* The GNU C library defines this for functions which it implements
72070 to always fail with ENOSYS. Some functions are actually named
72071 something starting with __ and the normal name is an alias. */
72072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72073 choke me
72074 #else
72075 char (*f) () = $ac_func;
72076 #endif
72077 #ifdef __cplusplus
72078 }
72079 #endif
72080
72081 int
72082 main ()
72083 {
72084 return f != $ac_func;
72085 ;
72086 return 0;
72087 }
72088 _ACEOF
72089 rm -f conftest.$ac_objext conftest$ac_exeext
72090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72091 (eval $ac_link) 2>conftest.er1
72092 ac_status=$?
72093 grep -v '^ *+' conftest.er1 >conftest.err
72094 rm -f conftest.er1
72095 cat conftest.err >&5
72096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72097 (exit $ac_status); } &&
72098 { ac_try='test -z "$ac_c_werror_flag"
72099 || test ! -s conftest.err'
72100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72101 (eval $ac_try) 2>&5
72102 ac_status=$?
72103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72104 (exit $ac_status); }; } &&
72105 { ac_try='test -s conftest$ac_exeext'
72106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72107 (eval $ac_try) 2>&5
72108 ac_status=$?
72109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72110 (exit $ac_status); }; }; then
72111 eval "$as_ac_var=yes"
72112 else
72113 echo "$as_me: failed program was:" >&5
72114 sed 's/^/| /' conftest.$ac_ext >&5
72115
72116 eval "$as_ac_var=no"
72117 fi
72118 rm -f conftest.err conftest.$ac_objext \
72119 conftest$ac_exeext conftest.$ac_ext
72120 fi
72121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72123 if test `eval echo '${'$as_ac_var'}'` = yes; then
72124 cat >>confdefs.h <<_ACEOF
72125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72126 _ACEOF
72127
72128 fi
72129 done
72130
72131 fi
72132 fi
72133
72134
72135
72136
72137
72138
72139 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
72140 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
72141 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
72142 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
72143 echo $ECHO_N "(cached) $ECHO_C" >&6
72144 else
72145
72146
72147
72148 ac_ext=cc
72149 ac_cpp='$CXXCPP $CPPFLAGS'
72150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72153
72154 cat >conftest.$ac_ext <<_ACEOF
72155 /* confdefs.h. */
72156 _ACEOF
72157 cat confdefs.h >>conftest.$ac_ext
72158 cat >>conftest.$ac_ext <<_ACEOF
72159 /* end confdefs.h. */
72160 #include <math.h>
72161 int
72162 main ()
72163 {
72164 frexpl(0, 0);
72165 ;
72166 return 0;
72167 }
72168 _ACEOF
72169 rm -f conftest.$ac_objext
72170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72171 (eval $ac_compile) 2>conftest.er1
72172 ac_status=$?
72173 grep -v '^ *+' conftest.er1 >conftest.err
72174 rm -f conftest.er1
72175 cat conftest.err >&5
72176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72177 (exit $ac_status); } &&
72178 { ac_try='test -z "$ac_cxx_werror_flag"
72179 || test ! -s conftest.err'
72180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72181 (eval $ac_try) 2>&5
72182 ac_status=$?
72183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72184 (exit $ac_status); }; } &&
72185 { ac_try='test -s conftest.$ac_objext'
72186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72187 (eval $ac_try) 2>&5
72188 ac_status=$?
72189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72190 (exit $ac_status); }; }; then
72191 glibcxx_cv_func_frexpl_use=yes
72192 else
72193 echo "$as_me: failed program was:" >&5
72194 sed 's/^/| /' conftest.$ac_ext >&5
72195
72196 glibcxx_cv_func_frexpl_use=no
72197 fi
72198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72199 ac_ext=c
72200 ac_cpp='$CPP $CPPFLAGS'
72201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72204
72205
72206 fi
72207
72208 fi
72209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
72210 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
72211
72212 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
72213
72214 for ac_func in frexpl
72215 do
72216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72217 echo "$as_me:$LINENO: checking for $ac_func" >&5
72218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72219 if eval "test \"\${$as_ac_var+set}\" = set"; then
72220 echo $ECHO_N "(cached) $ECHO_C" >&6
72221 else
72222 if test x$gcc_no_link = xyes; then
72223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72225 { (exit 1); exit 1; }; }
72226 fi
72227 cat >conftest.$ac_ext <<_ACEOF
72228 /* confdefs.h. */
72229 _ACEOF
72230 cat confdefs.h >>conftest.$ac_ext
72231 cat >>conftest.$ac_ext <<_ACEOF
72232 /* end confdefs.h. */
72233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72235 #define $ac_func innocuous_$ac_func
72236
72237 /* System header to define __stub macros and hopefully few prototypes,
72238 which can conflict with char $ac_func (); below.
72239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72240 <limits.h> exists even on freestanding compilers. */
72241
72242 #ifdef __STDC__
72243 # include <limits.h>
72244 #else
72245 # include <assert.h>
72246 #endif
72247
72248 #undef $ac_func
72249
72250 /* Override any gcc2 internal prototype to avoid an error. */
72251 #ifdef __cplusplus
72252 extern "C"
72253 {
72254 #endif
72255 /* We use char because int might match the return type of a gcc2
72256 builtin and then its argument prototype would still apply. */
72257 char $ac_func ();
72258 /* The GNU C library defines this for functions which it implements
72259 to always fail with ENOSYS. Some functions are actually named
72260 something starting with __ and the normal name is an alias. */
72261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72262 choke me
72263 #else
72264 char (*f) () = $ac_func;
72265 #endif
72266 #ifdef __cplusplus
72267 }
72268 #endif
72269
72270 int
72271 main ()
72272 {
72273 return f != $ac_func;
72274 ;
72275 return 0;
72276 }
72277 _ACEOF
72278 rm -f conftest.$ac_objext conftest$ac_exeext
72279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72280 (eval $ac_link) 2>conftest.er1
72281 ac_status=$?
72282 grep -v '^ *+' conftest.er1 >conftest.err
72283 rm -f conftest.er1
72284 cat conftest.err >&5
72285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72286 (exit $ac_status); } &&
72287 { ac_try='test -z "$ac_c_werror_flag"
72288 || test ! -s conftest.err'
72289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72290 (eval $ac_try) 2>&5
72291 ac_status=$?
72292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72293 (exit $ac_status); }; } &&
72294 { ac_try='test -s conftest$ac_exeext'
72295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72296 (eval $ac_try) 2>&5
72297 ac_status=$?
72298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72299 (exit $ac_status); }; }; then
72300 eval "$as_ac_var=yes"
72301 else
72302 echo "$as_me: failed program was:" >&5
72303 sed 's/^/| /' conftest.$ac_ext >&5
72304
72305 eval "$as_ac_var=no"
72306 fi
72307 rm -f conftest.err conftest.$ac_objext \
72308 conftest$ac_exeext conftest.$ac_ext
72309 fi
72310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72312 if test `eval echo '${'$as_ac_var'}'` = yes; then
72313 cat >>confdefs.h <<_ACEOF
72314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72315 _ACEOF
72316
72317 fi
72318 done
72319
72320 else
72321
72322 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
72323 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
72324 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
72325 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
72326 echo $ECHO_N "(cached) $ECHO_C" >&6
72327 else
72328
72329
72330
72331 ac_ext=cc
72332 ac_cpp='$CXXCPP $CPPFLAGS'
72333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336
72337 cat >conftest.$ac_ext <<_ACEOF
72338 /* confdefs.h. */
72339 _ACEOF
72340 cat confdefs.h >>conftest.$ac_ext
72341 cat >>conftest.$ac_ext <<_ACEOF
72342 /* end confdefs.h. */
72343 #include <math.h>
72344 int
72345 main ()
72346 {
72347 _frexpl(0, 0);
72348 ;
72349 return 0;
72350 }
72351 _ACEOF
72352 rm -f conftest.$ac_objext
72353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72354 (eval $ac_compile) 2>conftest.er1
72355 ac_status=$?
72356 grep -v '^ *+' conftest.er1 >conftest.err
72357 rm -f conftest.er1
72358 cat conftest.err >&5
72359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72360 (exit $ac_status); } &&
72361 { ac_try='test -z "$ac_cxx_werror_flag"
72362 || test ! -s conftest.err'
72363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72364 (eval $ac_try) 2>&5
72365 ac_status=$?
72366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72367 (exit $ac_status); }; } &&
72368 { ac_try='test -s conftest.$ac_objext'
72369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72370 (eval $ac_try) 2>&5
72371 ac_status=$?
72372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373 (exit $ac_status); }; }; then
72374 glibcxx_cv_func__frexpl_use=yes
72375 else
72376 echo "$as_me: failed program was:" >&5
72377 sed 's/^/| /' conftest.$ac_ext >&5
72378
72379 glibcxx_cv_func__frexpl_use=no
72380 fi
72381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72382 ac_ext=c
72383 ac_cpp='$CPP $CPPFLAGS'
72384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72387
72388
72389 fi
72390
72391 fi
72392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
72393 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
72394
72395 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
72396
72397 for ac_func in _frexpl
72398 do
72399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72400 echo "$as_me:$LINENO: checking for $ac_func" >&5
72401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72402 if eval "test \"\${$as_ac_var+set}\" = set"; then
72403 echo $ECHO_N "(cached) $ECHO_C" >&6
72404 else
72405 if test x$gcc_no_link = xyes; then
72406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72408 { (exit 1); exit 1; }; }
72409 fi
72410 cat >conftest.$ac_ext <<_ACEOF
72411 /* confdefs.h. */
72412 _ACEOF
72413 cat confdefs.h >>conftest.$ac_ext
72414 cat >>conftest.$ac_ext <<_ACEOF
72415 /* end confdefs.h. */
72416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72418 #define $ac_func innocuous_$ac_func
72419
72420 /* System header to define __stub macros and hopefully few prototypes,
72421 which can conflict with char $ac_func (); below.
72422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72423 <limits.h> exists even on freestanding compilers. */
72424
72425 #ifdef __STDC__
72426 # include <limits.h>
72427 #else
72428 # include <assert.h>
72429 #endif
72430
72431 #undef $ac_func
72432
72433 /* Override any gcc2 internal prototype to avoid an error. */
72434 #ifdef __cplusplus
72435 extern "C"
72436 {
72437 #endif
72438 /* We use char because int might match the return type of a gcc2
72439 builtin and then its argument prototype would still apply. */
72440 char $ac_func ();
72441 /* The GNU C library defines this for functions which it implements
72442 to always fail with ENOSYS. Some functions are actually named
72443 something starting with __ and the normal name is an alias. */
72444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72445 choke me
72446 #else
72447 char (*f) () = $ac_func;
72448 #endif
72449 #ifdef __cplusplus
72450 }
72451 #endif
72452
72453 int
72454 main ()
72455 {
72456 return f != $ac_func;
72457 ;
72458 return 0;
72459 }
72460 _ACEOF
72461 rm -f conftest.$ac_objext conftest$ac_exeext
72462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72463 (eval $ac_link) 2>conftest.er1
72464 ac_status=$?
72465 grep -v '^ *+' conftest.er1 >conftest.err
72466 rm -f conftest.er1
72467 cat conftest.err >&5
72468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72469 (exit $ac_status); } &&
72470 { ac_try='test -z "$ac_c_werror_flag"
72471 || test ! -s conftest.err'
72472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72473 (eval $ac_try) 2>&5
72474 ac_status=$?
72475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72476 (exit $ac_status); }; } &&
72477 { ac_try='test -s conftest$ac_exeext'
72478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72479 (eval $ac_try) 2>&5
72480 ac_status=$?
72481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72482 (exit $ac_status); }; }; then
72483 eval "$as_ac_var=yes"
72484 else
72485 echo "$as_me: failed program was:" >&5
72486 sed 's/^/| /' conftest.$ac_ext >&5
72487
72488 eval "$as_ac_var=no"
72489 fi
72490 rm -f conftest.err conftest.$ac_objext \
72491 conftest$ac_exeext conftest.$ac_ext
72492 fi
72493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72495 if test `eval echo '${'$as_ac_var'}'` = yes; then
72496 cat >>confdefs.h <<_ACEOF
72497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72498 _ACEOF
72499
72500 fi
72501 done
72502
72503 fi
72504 fi
72505
72506
72507
72508
72509
72510
72511 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
72512 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
72513 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
72514 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
72515 echo $ECHO_N "(cached) $ECHO_C" >&6
72516 else
72517
72518
72519
72520 ac_ext=cc
72521 ac_cpp='$CXXCPP $CPPFLAGS'
72522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72525
72526 cat >conftest.$ac_ext <<_ACEOF
72527 /* confdefs.h. */
72528 _ACEOF
72529 cat confdefs.h >>conftest.$ac_ext
72530 cat >>conftest.$ac_ext <<_ACEOF
72531 /* end confdefs.h. */
72532 #include <math.h>
72533 int
72534 main ()
72535 {
72536 hypotl(0, 0);
72537 ;
72538 return 0;
72539 }
72540 _ACEOF
72541 rm -f conftest.$ac_objext
72542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72543 (eval $ac_compile) 2>conftest.er1
72544 ac_status=$?
72545 grep -v '^ *+' conftest.er1 >conftest.err
72546 rm -f conftest.er1
72547 cat conftest.err >&5
72548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549 (exit $ac_status); } &&
72550 { ac_try='test -z "$ac_cxx_werror_flag"
72551 || test ! -s conftest.err'
72552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72553 (eval $ac_try) 2>&5
72554 ac_status=$?
72555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556 (exit $ac_status); }; } &&
72557 { ac_try='test -s conftest.$ac_objext'
72558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559 (eval $ac_try) 2>&5
72560 ac_status=$?
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); }; }; then
72563 glibcxx_cv_func_hypotl_use=yes
72564 else
72565 echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72567
72568 glibcxx_cv_func_hypotl_use=no
72569 fi
72570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72571 ac_ext=c
72572 ac_cpp='$CPP $CPPFLAGS'
72573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72576
72577
72578 fi
72579
72580 fi
72581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
72582 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
72583
72584 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
72585
72586 for ac_func in hypotl
72587 do
72588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72589 echo "$as_me:$LINENO: checking for $ac_func" >&5
72590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72591 if eval "test \"\${$as_ac_var+set}\" = set"; then
72592 echo $ECHO_N "(cached) $ECHO_C" >&6
72593 else
72594 if test x$gcc_no_link = xyes; then
72595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72597 { (exit 1); exit 1; }; }
72598 fi
72599 cat >conftest.$ac_ext <<_ACEOF
72600 /* confdefs.h. */
72601 _ACEOF
72602 cat confdefs.h >>conftest.$ac_ext
72603 cat >>conftest.$ac_ext <<_ACEOF
72604 /* end confdefs.h. */
72605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72607 #define $ac_func innocuous_$ac_func
72608
72609 /* System header to define __stub macros and hopefully few prototypes,
72610 which can conflict with char $ac_func (); below.
72611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72612 <limits.h> exists even on freestanding compilers. */
72613
72614 #ifdef __STDC__
72615 # include <limits.h>
72616 #else
72617 # include <assert.h>
72618 #endif
72619
72620 #undef $ac_func
72621
72622 /* Override any gcc2 internal prototype to avoid an error. */
72623 #ifdef __cplusplus
72624 extern "C"
72625 {
72626 #endif
72627 /* We use char because int might match the return type of a gcc2
72628 builtin and then its argument prototype would still apply. */
72629 char $ac_func ();
72630 /* The GNU C library defines this for functions which it implements
72631 to always fail with ENOSYS. Some functions are actually named
72632 something starting with __ and the normal name is an alias. */
72633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72634 choke me
72635 #else
72636 char (*f) () = $ac_func;
72637 #endif
72638 #ifdef __cplusplus
72639 }
72640 #endif
72641
72642 int
72643 main ()
72644 {
72645 return f != $ac_func;
72646 ;
72647 return 0;
72648 }
72649 _ACEOF
72650 rm -f conftest.$ac_objext conftest$ac_exeext
72651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72652 (eval $ac_link) 2>conftest.er1
72653 ac_status=$?
72654 grep -v '^ *+' conftest.er1 >conftest.err
72655 rm -f conftest.er1
72656 cat conftest.err >&5
72657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72658 (exit $ac_status); } &&
72659 { ac_try='test -z "$ac_c_werror_flag"
72660 || test ! -s conftest.err'
72661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72662 (eval $ac_try) 2>&5
72663 ac_status=$?
72664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72665 (exit $ac_status); }; } &&
72666 { ac_try='test -s conftest$ac_exeext'
72667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72668 (eval $ac_try) 2>&5
72669 ac_status=$?
72670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72671 (exit $ac_status); }; }; then
72672 eval "$as_ac_var=yes"
72673 else
72674 echo "$as_me: failed program was:" >&5
72675 sed 's/^/| /' conftest.$ac_ext >&5
72676
72677 eval "$as_ac_var=no"
72678 fi
72679 rm -f conftest.err conftest.$ac_objext \
72680 conftest$ac_exeext conftest.$ac_ext
72681 fi
72682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72684 if test `eval echo '${'$as_ac_var'}'` = yes; then
72685 cat >>confdefs.h <<_ACEOF
72686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72687 _ACEOF
72688
72689 fi
72690 done
72691
72692 else
72693
72694 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
72695 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
72696 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
72697 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
72698 echo $ECHO_N "(cached) $ECHO_C" >&6
72699 else
72700
72701
72702
72703 ac_ext=cc
72704 ac_cpp='$CXXCPP $CPPFLAGS'
72705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72708
72709 cat >conftest.$ac_ext <<_ACEOF
72710 /* confdefs.h. */
72711 _ACEOF
72712 cat confdefs.h >>conftest.$ac_ext
72713 cat >>conftest.$ac_ext <<_ACEOF
72714 /* end confdefs.h. */
72715 #include <math.h>
72716 int
72717 main ()
72718 {
72719 _hypotl(0, 0);
72720 ;
72721 return 0;
72722 }
72723 _ACEOF
72724 rm -f conftest.$ac_objext
72725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72726 (eval $ac_compile) 2>conftest.er1
72727 ac_status=$?
72728 grep -v '^ *+' conftest.er1 >conftest.err
72729 rm -f conftest.er1
72730 cat conftest.err >&5
72731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72732 (exit $ac_status); } &&
72733 { ac_try='test -z "$ac_cxx_werror_flag"
72734 || test ! -s conftest.err'
72735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72736 (eval $ac_try) 2>&5
72737 ac_status=$?
72738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72739 (exit $ac_status); }; } &&
72740 { ac_try='test -s conftest.$ac_objext'
72741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72742 (eval $ac_try) 2>&5
72743 ac_status=$?
72744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72745 (exit $ac_status); }; }; then
72746 glibcxx_cv_func__hypotl_use=yes
72747 else
72748 echo "$as_me: failed program was:" >&5
72749 sed 's/^/| /' conftest.$ac_ext >&5
72750
72751 glibcxx_cv_func__hypotl_use=no
72752 fi
72753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72754 ac_ext=c
72755 ac_cpp='$CPP $CPPFLAGS'
72756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72759
72760
72761 fi
72762
72763 fi
72764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
72765 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
72766
72767 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
72768
72769 for ac_func in _hypotl
72770 do
72771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72772 echo "$as_me:$LINENO: checking for $ac_func" >&5
72773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72774 if eval "test \"\${$as_ac_var+set}\" = set"; then
72775 echo $ECHO_N "(cached) $ECHO_C" >&6
72776 else
72777 if test x$gcc_no_link = xyes; then
72778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72780 { (exit 1); exit 1; }; }
72781 fi
72782 cat >conftest.$ac_ext <<_ACEOF
72783 /* confdefs.h. */
72784 _ACEOF
72785 cat confdefs.h >>conftest.$ac_ext
72786 cat >>conftest.$ac_ext <<_ACEOF
72787 /* end confdefs.h. */
72788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72790 #define $ac_func innocuous_$ac_func
72791
72792 /* System header to define __stub macros and hopefully few prototypes,
72793 which can conflict with char $ac_func (); below.
72794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72795 <limits.h> exists even on freestanding compilers. */
72796
72797 #ifdef __STDC__
72798 # include <limits.h>
72799 #else
72800 # include <assert.h>
72801 #endif
72802
72803 #undef $ac_func
72804
72805 /* Override any gcc2 internal prototype to avoid an error. */
72806 #ifdef __cplusplus
72807 extern "C"
72808 {
72809 #endif
72810 /* We use char because int might match the return type of a gcc2
72811 builtin and then its argument prototype would still apply. */
72812 char $ac_func ();
72813 /* The GNU C library defines this for functions which it implements
72814 to always fail with ENOSYS. Some functions are actually named
72815 something starting with __ and the normal name is an alias. */
72816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72817 choke me
72818 #else
72819 char (*f) () = $ac_func;
72820 #endif
72821 #ifdef __cplusplus
72822 }
72823 #endif
72824
72825 int
72826 main ()
72827 {
72828 return f != $ac_func;
72829 ;
72830 return 0;
72831 }
72832 _ACEOF
72833 rm -f conftest.$ac_objext conftest$ac_exeext
72834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72835 (eval $ac_link) 2>conftest.er1
72836 ac_status=$?
72837 grep -v '^ *+' conftest.er1 >conftest.err
72838 rm -f conftest.er1
72839 cat conftest.err >&5
72840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72841 (exit $ac_status); } &&
72842 { ac_try='test -z "$ac_c_werror_flag"
72843 || test ! -s conftest.err'
72844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72845 (eval $ac_try) 2>&5
72846 ac_status=$?
72847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72848 (exit $ac_status); }; } &&
72849 { ac_try='test -s conftest$ac_exeext'
72850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72851 (eval $ac_try) 2>&5
72852 ac_status=$?
72853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72854 (exit $ac_status); }; }; then
72855 eval "$as_ac_var=yes"
72856 else
72857 echo "$as_me: failed program was:" >&5
72858 sed 's/^/| /' conftest.$ac_ext >&5
72859
72860 eval "$as_ac_var=no"
72861 fi
72862 rm -f conftest.err conftest.$ac_objext \
72863 conftest$ac_exeext conftest.$ac_ext
72864 fi
72865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72867 if test `eval echo '${'$as_ac_var'}'` = yes; then
72868 cat >>confdefs.h <<_ACEOF
72869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72870 _ACEOF
72871
72872 fi
72873 done
72874
72875 fi
72876 fi
72877
72878
72879
72880
72881
72882
72883 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
72884 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
72885 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
72886 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
72887 echo $ECHO_N "(cached) $ECHO_C" >&6
72888 else
72889
72890
72891
72892 ac_ext=cc
72893 ac_cpp='$CXXCPP $CPPFLAGS'
72894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72897
72898 cat >conftest.$ac_ext <<_ACEOF
72899 /* confdefs.h. */
72900 _ACEOF
72901 cat confdefs.h >>conftest.$ac_ext
72902 cat >>conftest.$ac_ext <<_ACEOF
72903 /* end confdefs.h. */
72904 #include <math.h>
72905 int
72906 main ()
72907 {
72908 ldexpl(0, 0);
72909 ;
72910 return 0;
72911 }
72912 _ACEOF
72913 rm -f conftest.$ac_objext
72914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72915 (eval $ac_compile) 2>conftest.er1
72916 ac_status=$?
72917 grep -v '^ *+' conftest.er1 >conftest.err
72918 rm -f conftest.er1
72919 cat conftest.err >&5
72920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72921 (exit $ac_status); } &&
72922 { ac_try='test -z "$ac_cxx_werror_flag"
72923 || test ! -s conftest.err'
72924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72925 (eval $ac_try) 2>&5
72926 ac_status=$?
72927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72928 (exit $ac_status); }; } &&
72929 { ac_try='test -s conftest.$ac_objext'
72930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72931 (eval $ac_try) 2>&5
72932 ac_status=$?
72933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72934 (exit $ac_status); }; }; then
72935 glibcxx_cv_func_ldexpl_use=yes
72936 else
72937 echo "$as_me: failed program was:" >&5
72938 sed 's/^/| /' conftest.$ac_ext >&5
72939
72940 glibcxx_cv_func_ldexpl_use=no
72941 fi
72942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72943 ac_ext=c
72944 ac_cpp='$CPP $CPPFLAGS'
72945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72948
72949
72950 fi
72951
72952 fi
72953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
72954 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
72955
72956 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
72957
72958 for ac_func in ldexpl
72959 do
72960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72961 echo "$as_me:$LINENO: checking for $ac_func" >&5
72962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72963 if eval "test \"\${$as_ac_var+set}\" = set"; then
72964 echo $ECHO_N "(cached) $ECHO_C" >&6
72965 else
72966 if test x$gcc_no_link = xyes; then
72967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72969 { (exit 1); exit 1; }; }
72970 fi
72971 cat >conftest.$ac_ext <<_ACEOF
72972 /* confdefs.h. */
72973 _ACEOF
72974 cat confdefs.h >>conftest.$ac_ext
72975 cat >>conftest.$ac_ext <<_ACEOF
72976 /* end confdefs.h. */
72977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72979 #define $ac_func innocuous_$ac_func
72980
72981 /* System header to define __stub macros and hopefully few prototypes,
72982 which can conflict with char $ac_func (); below.
72983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72984 <limits.h> exists even on freestanding compilers. */
72985
72986 #ifdef __STDC__
72987 # include <limits.h>
72988 #else
72989 # include <assert.h>
72990 #endif
72991
72992 #undef $ac_func
72993
72994 /* Override any gcc2 internal prototype to avoid an error. */
72995 #ifdef __cplusplus
72996 extern "C"
72997 {
72998 #endif
72999 /* We use char because int might match the return type of a gcc2
73000 builtin and then its argument prototype would still apply. */
73001 char $ac_func ();
73002 /* The GNU C library defines this for functions which it implements
73003 to always fail with ENOSYS. Some functions are actually named
73004 something starting with __ and the normal name is an alias. */
73005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73006 choke me
73007 #else
73008 char (*f) () = $ac_func;
73009 #endif
73010 #ifdef __cplusplus
73011 }
73012 #endif
73013
73014 int
73015 main ()
73016 {
73017 return f != $ac_func;
73018 ;
73019 return 0;
73020 }
73021 _ACEOF
73022 rm -f conftest.$ac_objext conftest$ac_exeext
73023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73024 (eval $ac_link) 2>conftest.er1
73025 ac_status=$?
73026 grep -v '^ *+' conftest.er1 >conftest.err
73027 rm -f conftest.er1
73028 cat conftest.err >&5
73029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73030 (exit $ac_status); } &&
73031 { ac_try='test -z "$ac_c_werror_flag"
73032 || test ! -s conftest.err'
73033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73034 (eval $ac_try) 2>&5
73035 ac_status=$?
73036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73037 (exit $ac_status); }; } &&
73038 { ac_try='test -s conftest$ac_exeext'
73039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73040 (eval $ac_try) 2>&5
73041 ac_status=$?
73042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73043 (exit $ac_status); }; }; then
73044 eval "$as_ac_var=yes"
73045 else
73046 echo "$as_me: failed program was:" >&5
73047 sed 's/^/| /' conftest.$ac_ext >&5
73048
73049 eval "$as_ac_var=no"
73050 fi
73051 rm -f conftest.err conftest.$ac_objext \
73052 conftest$ac_exeext conftest.$ac_ext
73053 fi
73054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73056 if test `eval echo '${'$as_ac_var'}'` = yes; then
73057 cat >>confdefs.h <<_ACEOF
73058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73059 _ACEOF
73060
73061 fi
73062 done
73063
73064 else
73065
73066 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
73067 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
73068 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
73069 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
73070 echo $ECHO_N "(cached) $ECHO_C" >&6
73071 else
73072
73073
73074
73075 ac_ext=cc
73076 ac_cpp='$CXXCPP $CPPFLAGS'
73077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73080
73081 cat >conftest.$ac_ext <<_ACEOF
73082 /* confdefs.h. */
73083 _ACEOF
73084 cat confdefs.h >>conftest.$ac_ext
73085 cat >>conftest.$ac_ext <<_ACEOF
73086 /* end confdefs.h. */
73087 #include <math.h>
73088 int
73089 main ()
73090 {
73091 _ldexpl(0, 0);
73092 ;
73093 return 0;
73094 }
73095 _ACEOF
73096 rm -f conftest.$ac_objext
73097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73098 (eval $ac_compile) 2>conftest.er1
73099 ac_status=$?
73100 grep -v '^ *+' conftest.er1 >conftest.err
73101 rm -f conftest.er1
73102 cat conftest.err >&5
73103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73104 (exit $ac_status); } &&
73105 { ac_try='test -z "$ac_cxx_werror_flag"
73106 || test ! -s conftest.err'
73107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73108 (eval $ac_try) 2>&5
73109 ac_status=$?
73110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73111 (exit $ac_status); }; } &&
73112 { ac_try='test -s conftest.$ac_objext'
73113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73114 (eval $ac_try) 2>&5
73115 ac_status=$?
73116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73117 (exit $ac_status); }; }; then
73118 glibcxx_cv_func__ldexpl_use=yes
73119 else
73120 echo "$as_me: failed program was:" >&5
73121 sed 's/^/| /' conftest.$ac_ext >&5
73122
73123 glibcxx_cv_func__ldexpl_use=no
73124 fi
73125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73126 ac_ext=c
73127 ac_cpp='$CPP $CPPFLAGS'
73128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73131
73132
73133 fi
73134
73135 fi
73136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
73137 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
73138
73139 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
73140
73141 for ac_func in _ldexpl
73142 do
73143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73144 echo "$as_me:$LINENO: checking for $ac_func" >&5
73145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73146 if eval "test \"\${$as_ac_var+set}\" = set"; then
73147 echo $ECHO_N "(cached) $ECHO_C" >&6
73148 else
73149 if test x$gcc_no_link = xyes; then
73150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73152 { (exit 1); exit 1; }; }
73153 fi
73154 cat >conftest.$ac_ext <<_ACEOF
73155 /* confdefs.h. */
73156 _ACEOF
73157 cat confdefs.h >>conftest.$ac_ext
73158 cat >>conftest.$ac_ext <<_ACEOF
73159 /* end confdefs.h. */
73160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73162 #define $ac_func innocuous_$ac_func
73163
73164 /* System header to define __stub macros and hopefully few prototypes,
73165 which can conflict with char $ac_func (); below.
73166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73167 <limits.h> exists even on freestanding compilers. */
73168
73169 #ifdef __STDC__
73170 # include <limits.h>
73171 #else
73172 # include <assert.h>
73173 #endif
73174
73175 #undef $ac_func
73176
73177 /* Override any gcc2 internal prototype to avoid an error. */
73178 #ifdef __cplusplus
73179 extern "C"
73180 {
73181 #endif
73182 /* We use char because int might match the return type of a gcc2
73183 builtin and then its argument prototype would still apply. */
73184 char $ac_func ();
73185 /* The GNU C library defines this for functions which it implements
73186 to always fail with ENOSYS. Some functions are actually named
73187 something starting with __ and the normal name is an alias. */
73188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73189 choke me
73190 #else
73191 char (*f) () = $ac_func;
73192 #endif
73193 #ifdef __cplusplus
73194 }
73195 #endif
73196
73197 int
73198 main ()
73199 {
73200 return f != $ac_func;
73201 ;
73202 return 0;
73203 }
73204 _ACEOF
73205 rm -f conftest.$ac_objext conftest$ac_exeext
73206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73207 (eval $ac_link) 2>conftest.er1
73208 ac_status=$?
73209 grep -v '^ *+' conftest.er1 >conftest.err
73210 rm -f conftest.er1
73211 cat conftest.err >&5
73212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73213 (exit $ac_status); } &&
73214 { ac_try='test -z "$ac_c_werror_flag"
73215 || test ! -s conftest.err'
73216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73217 (eval $ac_try) 2>&5
73218 ac_status=$?
73219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73220 (exit $ac_status); }; } &&
73221 { ac_try='test -s conftest$ac_exeext'
73222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73223 (eval $ac_try) 2>&5
73224 ac_status=$?
73225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73226 (exit $ac_status); }; }; then
73227 eval "$as_ac_var=yes"
73228 else
73229 echo "$as_me: failed program was:" >&5
73230 sed 's/^/| /' conftest.$ac_ext >&5
73231
73232 eval "$as_ac_var=no"
73233 fi
73234 rm -f conftest.err conftest.$ac_objext \
73235 conftest$ac_exeext conftest.$ac_ext
73236 fi
73237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73239 if test `eval echo '${'$as_ac_var'}'` = yes; then
73240 cat >>confdefs.h <<_ACEOF
73241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73242 _ACEOF
73243
73244 fi
73245 done
73246
73247 fi
73248 fi
73249
73250
73251
73252
73253
73254
73255 echo "$as_me:$LINENO: checking for logl declaration" >&5
73256 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
73257 if test x${glibcxx_cv_func_logl_use+set} != xset; then
73258 if test "${glibcxx_cv_func_logl_use+set}" = set; then
73259 echo $ECHO_N "(cached) $ECHO_C" >&6
73260 else
73261
73262
73263
73264 ac_ext=cc
73265 ac_cpp='$CXXCPP $CPPFLAGS'
73266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73269
73270 cat >conftest.$ac_ext <<_ACEOF
73271 /* confdefs.h. */
73272 _ACEOF
73273 cat confdefs.h >>conftest.$ac_ext
73274 cat >>conftest.$ac_ext <<_ACEOF
73275 /* end confdefs.h. */
73276 #include <math.h>
73277 #ifdef HAVE_IEEEFP_H
73278 #include <ieeefp.h>
73279 #endif
73280
73281 int
73282 main ()
73283 {
73284 logl(0);
73285 ;
73286 return 0;
73287 }
73288 _ACEOF
73289 rm -f conftest.$ac_objext
73290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73291 (eval $ac_compile) 2>conftest.er1
73292 ac_status=$?
73293 grep -v '^ *+' conftest.er1 >conftest.err
73294 rm -f conftest.er1
73295 cat conftest.err >&5
73296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73297 (exit $ac_status); } &&
73298 { ac_try='test -z "$ac_cxx_werror_flag"
73299 || test ! -s conftest.err'
73300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73301 (eval $ac_try) 2>&5
73302 ac_status=$?
73303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73304 (exit $ac_status); }; } &&
73305 { ac_try='test -s conftest.$ac_objext'
73306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73307 (eval $ac_try) 2>&5
73308 ac_status=$?
73309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73310 (exit $ac_status); }; }; then
73311 glibcxx_cv_func_logl_use=yes
73312 else
73313 echo "$as_me: failed program was:" >&5
73314 sed 's/^/| /' conftest.$ac_ext >&5
73315
73316 glibcxx_cv_func_logl_use=no
73317 fi
73318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73319 ac_ext=c
73320 ac_cpp='$CPP $CPPFLAGS'
73321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73324
73325
73326 fi
73327
73328 fi
73329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
73330 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
73331
73332 if test x$glibcxx_cv_func_logl_use = x"yes"; then
73333
73334 for ac_func in logl
73335 do
73336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73337 echo "$as_me:$LINENO: checking for $ac_func" >&5
73338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73339 if eval "test \"\${$as_ac_var+set}\" = set"; then
73340 echo $ECHO_N "(cached) $ECHO_C" >&6
73341 else
73342 if test x$gcc_no_link = xyes; then
73343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73345 { (exit 1); exit 1; }; }
73346 fi
73347 cat >conftest.$ac_ext <<_ACEOF
73348 /* confdefs.h. */
73349 _ACEOF
73350 cat confdefs.h >>conftest.$ac_ext
73351 cat >>conftest.$ac_ext <<_ACEOF
73352 /* end confdefs.h. */
73353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73355 #define $ac_func innocuous_$ac_func
73356
73357 /* System header to define __stub macros and hopefully few prototypes,
73358 which can conflict with char $ac_func (); below.
73359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73360 <limits.h> exists even on freestanding compilers. */
73361
73362 #ifdef __STDC__
73363 # include <limits.h>
73364 #else
73365 # include <assert.h>
73366 #endif
73367
73368 #undef $ac_func
73369
73370 /* Override any gcc2 internal prototype to avoid an error. */
73371 #ifdef __cplusplus
73372 extern "C"
73373 {
73374 #endif
73375 /* We use char because int might match the return type of a gcc2
73376 builtin and then its argument prototype would still apply. */
73377 char $ac_func ();
73378 /* The GNU C library defines this for functions which it implements
73379 to always fail with ENOSYS. Some functions are actually named
73380 something starting with __ and the normal name is an alias. */
73381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73382 choke me
73383 #else
73384 char (*f) () = $ac_func;
73385 #endif
73386 #ifdef __cplusplus
73387 }
73388 #endif
73389
73390 int
73391 main ()
73392 {
73393 return f != $ac_func;
73394 ;
73395 return 0;
73396 }
73397 _ACEOF
73398 rm -f conftest.$ac_objext conftest$ac_exeext
73399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73400 (eval $ac_link) 2>conftest.er1
73401 ac_status=$?
73402 grep -v '^ *+' conftest.er1 >conftest.err
73403 rm -f conftest.er1
73404 cat conftest.err >&5
73405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73406 (exit $ac_status); } &&
73407 { ac_try='test -z "$ac_c_werror_flag"
73408 || test ! -s conftest.err'
73409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73410 (eval $ac_try) 2>&5
73411 ac_status=$?
73412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73413 (exit $ac_status); }; } &&
73414 { ac_try='test -s conftest$ac_exeext'
73415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73416 (eval $ac_try) 2>&5
73417 ac_status=$?
73418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73419 (exit $ac_status); }; }; then
73420 eval "$as_ac_var=yes"
73421 else
73422 echo "$as_me: failed program was:" >&5
73423 sed 's/^/| /' conftest.$ac_ext >&5
73424
73425 eval "$as_ac_var=no"
73426 fi
73427 rm -f conftest.err conftest.$ac_objext \
73428 conftest$ac_exeext conftest.$ac_ext
73429 fi
73430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73432 if test `eval echo '${'$as_ac_var'}'` = yes; then
73433 cat >>confdefs.h <<_ACEOF
73434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73435 _ACEOF
73436
73437 fi
73438 done
73439
73440 else
73441
73442 echo "$as_me:$LINENO: checking for _logl declaration" >&5
73443 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
73444 if test x${glibcxx_cv_func__logl_use+set} != xset; then
73445 if test "${glibcxx_cv_func__logl_use+set}" = set; then
73446 echo $ECHO_N "(cached) $ECHO_C" >&6
73447 else
73448
73449
73450
73451 ac_ext=cc
73452 ac_cpp='$CXXCPP $CPPFLAGS'
73453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73456
73457 cat >conftest.$ac_ext <<_ACEOF
73458 /* confdefs.h. */
73459 _ACEOF
73460 cat confdefs.h >>conftest.$ac_ext
73461 cat >>conftest.$ac_ext <<_ACEOF
73462 /* end confdefs.h. */
73463 #include <math.h>
73464 #ifdef HAVE_IEEEFP_H
73465 #include <ieeefp.h>
73466 #endif
73467
73468 int
73469 main ()
73470 {
73471 _logl(0);
73472 ;
73473 return 0;
73474 }
73475 _ACEOF
73476 rm -f conftest.$ac_objext
73477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73478 (eval $ac_compile) 2>conftest.er1
73479 ac_status=$?
73480 grep -v '^ *+' conftest.er1 >conftest.err
73481 rm -f conftest.er1
73482 cat conftest.err >&5
73483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73484 (exit $ac_status); } &&
73485 { ac_try='test -z "$ac_cxx_werror_flag"
73486 || test ! -s conftest.err'
73487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73488 (eval $ac_try) 2>&5
73489 ac_status=$?
73490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73491 (exit $ac_status); }; } &&
73492 { ac_try='test -s conftest.$ac_objext'
73493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73494 (eval $ac_try) 2>&5
73495 ac_status=$?
73496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73497 (exit $ac_status); }; }; then
73498 glibcxx_cv_func__logl_use=yes
73499 else
73500 echo "$as_me: failed program was:" >&5
73501 sed 's/^/| /' conftest.$ac_ext >&5
73502
73503 glibcxx_cv_func__logl_use=no
73504 fi
73505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73506 ac_ext=c
73507 ac_cpp='$CPP $CPPFLAGS'
73508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73511
73512
73513 fi
73514
73515 fi
73516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
73517 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
73518
73519 if test x$glibcxx_cv_func__logl_use = x"yes"; then
73520
73521 for ac_func in _logl
73522 do
73523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73524 echo "$as_me:$LINENO: checking for $ac_func" >&5
73525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73526 if eval "test \"\${$as_ac_var+set}\" = set"; then
73527 echo $ECHO_N "(cached) $ECHO_C" >&6
73528 else
73529 if test x$gcc_no_link = xyes; then
73530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73532 { (exit 1); exit 1; }; }
73533 fi
73534 cat >conftest.$ac_ext <<_ACEOF
73535 /* confdefs.h. */
73536 _ACEOF
73537 cat confdefs.h >>conftest.$ac_ext
73538 cat >>conftest.$ac_ext <<_ACEOF
73539 /* end confdefs.h. */
73540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73542 #define $ac_func innocuous_$ac_func
73543
73544 /* System header to define __stub macros and hopefully few prototypes,
73545 which can conflict with char $ac_func (); below.
73546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73547 <limits.h> exists even on freestanding compilers. */
73548
73549 #ifdef __STDC__
73550 # include <limits.h>
73551 #else
73552 # include <assert.h>
73553 #endif
73554
73555 #undef $ac_func
73556
73557 /* Override any gcc2 internal prototype to avoid an error. */
73558 #ifdef __cplusplus
73559 extern "C"
73560 {
73561 #endif
73562 /* We use char because int might match the return type of a gcc2
73563 builtin and then its argument prototype would still apply. */
73564 char $ac_func ();
73565 /* The GNU C library defines this for functions which it implements
73566 to always fail with ENOSYS. Some functions are actually named
73567 something starting with __ and the normal name is an alias. */
73568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73569 choke me
73570 #else
73571 char (*f) () = $ac_func;
73572 #endif
73573 #ifdef __cplusplus
73574 }
73575 #endif
73576
73577 int
73578 main ()
73579 {
73580 return f != $ac_func;
73581 ;
73582 return 0;
73583 }
73584 _ACEOF
73585 rm -f conftest.$ac_objext conftest$ac_exeext
73586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73587 (eval $ac_link) 2>conftest.er1
73588 ac_status=$?
73589 grep -v '^ *+' conftest.er1 >conftest.err
73590 rm -f conftest.er1
73591 cat conftest.err >&5
73592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73593 (exit $ac_status); } &&
73594 { ac_try='test -z "$ac_c_werror_flag"
73595 || test ! -s conftest.err'
73596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73597 (eval $ac_try) 2>&5
73598 ac_status=$?
73599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73600 (exit $ac_status); }; } &&
73601 { ac_try='test -s conftest$ac_exeext'
73602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73603 (eval $ac_try) 2>&5
73604 ac_status=$?
73605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73606 (exit $ac_status); }; }; then
73607 eval "$as_ac_var=yes"
73608 else
73609 echo "$as_me: failed program was:" >&5
73610 sed 's/^/| /' conftest.$ac_ext >&5
73611
73612 eval "$as_ac_var=no"
73613 fi
73614 rm -f conftest.err conftest.$ac_objext \
73615 conftest$ac_exeext conftest.$ac_ext
73616 fi
73617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73619 if test `eval echo '${'$as_ac_var'}'` = yes; then
73620 cat >>confdefs.h <<_ACEOF
73621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73622 _ACEOF
73623
73624 fi
73625 done
73626
73627 fi
73628 fi
73629
73630
73631
73632
73633
73634
73635 echo "$as_me:$LINENO: checking for log10l declaration" >&5
73636 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
73637 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
73638 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
73639 echo $ECHO_N "(cached) $ECHO_C" >&6
73640 else
73641
73642
73643
73644 ac_ext=cc
73645 ac_cpp='$CXXCPP $CPPFLAGS'
73646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73649
73650 cat >conftest.$ac_ext <<_ACEOF
73651 /* confdefs.h. */
73652 _ACEOF
73653 cat confdefs.h >>conftest.$ac_ext
73654 cat >>conftest.$ac_ext <<_ACEOF
73655 /* end confdefs.h. */
73656 #include <math.h>
73657 #ifdef HAVE_IEEEFP_H
73658 #include <ieeefp.h>
73659 #endif
73660
73661 int
73662 main ()
73663 {
73664 log10l(0);
73665 ;
73666 return 0;
73667 }
73668 _ACEOF
73669 rm -f conftest.$ac_objext
73670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73671 (eval $ac_compile) 2>conftest.er1
73672 ac_status=$?
73673 grep -v '^ *+' conftest.er1 >conftest.err
73674 rm -f conftest.er1
73675 cat conftest.err >&5
73676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73677 (exit $ac_status); } &&
73678 { ac_try='test -z "$ac_cxx_werror_flag"
73679 || test ! -s conftest.err'
73680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73681 (eval $ac_try) 2>&5
73682 ac_status=$?
73683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73684 (exit $ac_status); }; } &&
73685 { ac_try='test -s conftest.$ac_objext'
73686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73687 (eval $ac_try) 2>&5
73688 ac_status=$?
73689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73690 (exit $ac_status); }; }; then
73691 glibcxx_cv_func_log10l_use=yes
73692 else
73693 echo "$as_me: failed program was:" >&5
73694 sed 's/^/| /' conftest.$ac_ext >&5
73695
73696 glibcxx_cv_func_log10l_use=no
73697 fi
73698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73699 ac_ext=c
73700 ac_cpp='$CPP $CPPFLAGS'
73701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73704
73705
73706 fi
73707
73708 fi
73709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
73710 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
73711
73712 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
73713
73714 for ac_func in log10l
73715 do
73716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73717 echo "$as_me:$LINENO: checking for $ac_func" >&5
73718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73719 if eval "test \"\${$as_ac_var+set}\" = set"; then
73720 echo $ECHO_N "(cached) $ECHO_C" >&6
73721 else
73722 if test x$gcc_no_link = xyes; then
73723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73725 { (exit 1); exit 1; }; }
73726 fi
73727 cat >conftest.$ac_ext <<_ACEOF
73728 /* confdefs.h. */
73729 _ACEOF
73730 cat confdefs.h >>conftest.$ac_ext
73731 cat >>conftest.$ac_ext <<_ACEOF
73732 /* end confdefs.h. */
73733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73735 #define $ac_func innocuous_$ac_func
73736
73737 /* System header to define __stub macros and hopefully few prototypes,
73738 which can conflict with char $ac_func (); below.
73739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73740 <limits.h> exists even on freestanding compilers. */
73741
73742 #ifdef __STDC__
73743 # include <limits.h>
73744 #else
73745 # include <assert.h>
73746 #endif
73747
73748 #undef $ac_func
73749
73750 /* Override any gcc2 internal prototype to avoid an error. */
73751 #ifdef __cplusplus
73752 extern "C"
73753 {
73754 #endif
73755 /* We use char because int might match the return type of a gcc2
73756 builtin and then its argument prototype would still apply. */
73757 char $ac_func ();
73758 /* The GNU C library defines this for functions which it implements
73759 to always fail with ENOSYS. Some functions are actually named
73760 something starting with __ and the normal name is an alias. */
73761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73762 choke me
73763 #else
73764 char (*f) () = $ac_func;
73765 #endif
73766 #ifdef __cplusplus
73767 }
73768 #endif
73769
73770 int
73771 main ()
73772 {
73773 return f != $ac_func;
73774 ;
73775 return 0;
73776 }
73777 _ACEOF
73778 rm -f conftest.$ac_objext conftest$ac_exeext
73779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73780 (eval $ac_link) 2>conftest.er1
73781 ac_status=$?
73782 grep -v '^ *+' conftest.er1 >conftest.err
73783 rm -f conftest.er1
73784 cat conftest.err >&5
73785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73786 (exit $ac_status); } &&
73787 { ac_try='test -z "$ac_c_werror_flag"
73788 || test ! -s conftest.err'
73789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73790 (eval $ac_try) 2>&5
73791 ac_status=$?
73792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73793 (exit $ac_status); }; } &&
73794 { ac_try='test -s conftest$ac_exeext'
73795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73796 (eval $ac_try) 2>&5
73797 ac_status=$?
73798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73799 (exit $ac_status); }; }; then
73800 eval "$as_ac_var=yes"
73801 else
73802 echo "$as_me: failed program was:" >&5
73803 sed 's/^/| /' conftest.$ac_ext >&5
73804
73805 eval "$as_ac_var=no"
73806 fi
73807 rm -f conftest.err conftest.$ac_objext \
73808 conftest$ac_exeext conftest.$ac_ext
73809 fi
73810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73812 if test `eval echo '${'$as_ac_var'}'` = yes; then
73813 cat >>confdefs.h <<_ACEOF
73814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73815 _ACEOF
73816
73817 fi
73818 done
73819
73820 else
73821
73822 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
73823 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
73824 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
73825 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
73826 echo $ECHO_N "(cached) $ECHO_C" >&6
73827 else
73828
73829
73830
73831 ac_ext=cc
73832 ac_cpp='$CXXCPP $CPPFLAGS'
73833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73836
73837 cat >conftest.$ac_ext <<_ACEOF
73838 /* confdefs.h. */
73839 _ACEOF
73840 cat confdefs.h >>conftest.$ac_ext
73841 cat >>conftest.$ac_ext <<_ACEOF
73842 /* end confdefs.h. */
73843 #include <math.h>
73844 #ifdef HAVE_IEEEFP_H
73845 #include <ieeefp.h>
73846 #endif
73847
73848 int
73849 main ()
73850 {
73851 _log10l(0);
73852 ;
73853 return 0;
73854 }
73855 _ACEOF
73856 rm -f conftest.$ac_objext
73857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73858 (eval $ac_compile) 2>conftest.er1
73859 ac_status=$?
73860 grep -v '^ *+' conftest.er1 >conftest.err
73861 rm -f conftest.er1
73862 cat conftest.err >&5
73863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73864 (exit $ac_status); } &&
73865 { ac_try='test -z "$ac_cxx_werror_flag"
73866 || test ! -s conftest.err'
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); }; } &&
73872 { ac_try='test -s conftest.$ac_objext'
73873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73874 (eval $ac_try) 2>&5
73875 ac_status=$?
73876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73877 (exit $ac_status); }; }; then
73878 glibcxx_cv_func__log10l_use=yes
73879 else
73880 echo "$as_me: failed program was:" >&5
73881 sed 's/^/| /' conftest.$ac_ext >&5
73882
73883 glibcxx_cv_func__log10l_use=no
73884 fi
73885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73886 ac_ext=c
73887 ac_cpp='$CPP $CPPFLAGS'
73888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73891
73892
73893 fi
73894
73895 fi
73896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
73897 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
73898
73899 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
73900
73901 for ac_func in _log10l
73902 do
73903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73904 echo "$as_me:$LINENO: checking for $ac_func" >&5
73905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73906 if eval "test \"\${$as_ac_var+set}\" = set"; then
73907 echo $ECHO_N "(cached) $ECHO_C" >&6
73908 else
73909 if test x$gcc_no_link = xyes; then
73910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73912 { (exit 1); exit 1; }; }
73913 fi
73914 cat >conftest.$ac_ext <<_ACEOF
73915 /* confdefs.h. */
73916 _ACEOF
73917 cat confdefs.h >>conftest.$ac_ext
73918 cat >>conftest.$ac_ext <<_ACEOF
73919 /* end confdefs.h. */
73920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73922 #define $ac_func innocuous_$ac_func
73923
73924 /* System header to define __stub macros and hopefully few prototypes,
73925 which can conflict with char $ac_func (); below.
73926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73927 <limits.h> exists even on freestanding compilers. */
73928
73929 #ifdef __STDC__
73930 # include <limits.h>
73931 #else
73932 # include <assert.h>
73933 #endif
73934
73935 #undef $ac_func
73936
73937 /* Override any gcc2 internal prototype to avoid an error. */
73938 #ifdef __cplusplus
73939 extern "C"
73940 {
73941 #endif
73942 /* We use char because int might match the return type of a gcc2
73943 builtin and then its argument prototype would still apply. */
73944 char $ac_func ();
73945 /* The GNU C library defines this for functions which it implements
73946 to always fail with ENOSYS. Some functions are actually named
73947 something starting with __ and the normal name is an alias. */
73948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73949 choke me
73950 #else
73951 char (*f) () = $ac_func;
73952 #endif
73953 #ifdef __cplusplus
73954 }
73955 #endif
73956
73957 int
73958 main ()
73959 {
73960 return f != $ac_func;
73961 ;
73962 return 0;
73963 }
73964 _ACEOF
73965 rm -f conftest.$ac_objext conftest$ac_exeext
73966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73967 (eval $ac_link) 2>conftest.er1
73968 ac_status=$?
73969 grep -v '^ *+' conftest.er1 >conftest.err
73970 rm -f conftest.er1
73971 cat conftest.err >&5
73972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73973 (exit $ac_status); } &&
73974 { ac_try='test -z "$ac_c_werror_flag"
73975 || test ! -s conftest.err'
73976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73977 (eval $ac_try) 2>&5
73978 ac_status=$?
73979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73980 (exit $ac_status); }; } &&
73981 { ac_try='test -s conftest$ac_exeext'
73982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73983 (eval $ac_try) 2>&5
73984 ac_status=$?
73985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73986 (exit $ac_status); }; }; then
73987 eval "$as_ac_var=yes"
73988 else
73989 echo "$as_me: failed program was:" >&5
73990 sed 's/^/| /' conftest.$ac_ext >&5
73991
73992 eval "$as_ac_var=no"
73993 fi
73994 rm -f conftest.err conftest.$ac_objext \
73995 conftest$ac_exeext conftest.$ac_ext
73996 fi
73997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73999 if test `eval echo '${'$as_ac_var'}'` = yes; then
74000 cat >>confdefs.h <<_ACEOF
74001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74002 _ACEOF
74003
74004 fi
74005 done
74006
74007 fi
74008 fi
74009
74010
74011
74012
74013
74014
74015 echo "$as_me:$LINENO: checking for modfl declaration" >&5
74016 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
74017 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
74018 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
74019 echo $ECHO_N "(cached) $ECHO_C" >&6
74020 else
74021
74022
74023
74024 ac_ext=cc
74025 ac_cpp='$CXXCPP $CPPFLAGS'
74026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74029
74030 cat >conftest.$ac_ext <<_ACEOF
74031 /* confdefs.h. */
74032 _ACEOF
74033 cat confdefs.h >>conftest.$ac_ext
74034 cat >>conftest.$ac_ext <<_ACEOF
74035 /* end confdefs.h. */
74036 #include <math.h>
74037 int
74038 main ()
74039 {
74040 modfl(0, 0);
74041 ;
74042 return 0;
74043 }
74044 _ACEOF
74045 rm -f conftest.$ac_objext
74046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74047 (eval $ac_compile) 2>conftest.er1
74048 ac_status=$?
74049 grep -v '^ *+' conftest.er1 >conftest.err
74050 rm -f conftest.er1
74051 cat conftest.err >&5
74052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74053 (exit $ac_status); } &&
74054 { ac_try='test -z "$ac_cxx_werror_flag"
74055 || test ! -s conftest.err'
74056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74057 (eval $ac_try) 2>&5
74058 ac_status=$?
74059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74060 (exit $ac_status); }; } &&
74061 { ac_try='test -s conftest.$ac_objext'
74062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74063 (eval $ac_try) 2>&5
74064 ac_status=$?
74065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74066 (exit $ac_status); }; }; then
74067 glibcxx_cv_func_modfl_use=yes
74068 else
74069 echo "$as_me: failed program was:" >&5
74070 sed 's/^/| /' conftest.$ac_ext >&5
74071
74072 glibcxx_cv_func_modfl_use=no
74073 fi
74074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74075 ac_ext=c
74076 ac_cpp='$CPP $CPPFLAGS'
74077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74080
74081
74082 fi
74083
74084 fi
74085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
74086 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
74087
74088 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
74089
74090 for ac_func in modfl
74091 do
74092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74093 echo "$as_me:$LINENO: checking for $ac_func" >&5
74094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74095 if eval "test \"\${$as_ac_var+set}\" = set"; then
74096 echo $ECHO_N "(cached) $ECHO_C" >&6
74097 else
74098 if test x$gcc_no_link = xyes; then
74099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74101 { (exit 1); exit 1; }; }
74102 fi
74103 cat >conftest.$ac_ext <<_ACEOF
74104 /* confdefs.h. */
74105 _ACEOF
74106 cat confdefs.h >>conftest.$ac_ext
74107 cat >>conftest.$ac_ext <<_ACEOF
74108 /* end confdefs.h. */
74109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74111 #define $ac_func innocuous_$ac_func
74112
74113 /* System header to define __stub macros and hopefully few prototypes,
74114 which can conflict with char $ac_func (); below.
74115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74116 <limits.h> exists even on freestanding compilers. */
74117
74118 #ifdef __STDC__
74119 # include <limits.h>
74120 #else
74121 # include <assert.h>
74122 #endif
74123
74124 #undef $ac_func
74125
74126 /* Override any gcc2 internal prototype to avoid an error. */
74127 #ifdef __cplusplus
74128 extern "C"
74129 {
74130 #endif
74131 /* We use char because int might match the return type of a gcc2
74132 builtin and then its argument prototype would still apply. */
74133 char $ac_func ();
74134 /* The GNU C library defines this for functions which it implements
74135 to always fail with ENOSYS. Some functions are actually named
74136 something starting with __ and the normal name is an alias. */
74137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74138 choke me
74139 #else
74140 char (*f) () = $ac_func;
74141 #endif
74142 #ifdef __cplusplus
74143 }
74144 #endif
74145
74146 int
74147 main ()
74148 {
74149 return f != $ac_func;
74150 ;
74151 return 0;
74152 }
74153 _ACEOF
74154 rm -f conftest.$ac_objext conftest$ac_exeext
74155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74156 (eval $ac_link) 2>conftest.er1
74157 ac_status=$?
74158 grep -v '^ *+' conftest.er1 >conftest.err
74159 rm -f conftest.er1
74160 cat conftest.err >&5
74161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74162 (exit $ac_status); } &&
74163 { ac_try='test -z "$ac_c_werror_flag"
74164 || test ! -s conftest.err'
74165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74166 (eval $ac_try) 2>&5
74167 ac_status=$?
74168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74169 (exit $ac_status); }; } &&
74170 { ac_try='test -s conftest$ac_exeext'
74171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74172 (eval $ac_try) 2>&5
74173 ac_status=$?
74174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74175 (exit $ac_status); }; }; then
74176 eval "$as_ac_var=yes"
74177 else
74178 echo "$as_me: failed program was:" >&5
74179 sed 's/^/| /' conftest.$ac_ext >&5
74180
74181 eval "$as_ac_var=no"
74182 fi
74183 rm -f conftest.err conftest.$ac_objext \
74184 conftest$ac_exeext conftest.$ac_ext
74185 fi
74186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74188 if test `eval echo '${'$as_ac_var'}'` = yes; then
74189 cat >>confdefs.h <<_ACEOF
74190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74191 _ACEOF
74192
74193 fi
74194 done
74195
74196 else
74197
74198 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
74199 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
74200 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
74201 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
74202 echo $ECHO_N "(cached) $ECHO_C" >&6
74203 else
74204
74205
74206
74207 ac_ext=cc
74208 ac_cpp='$CXXCPP $CPPFLAGS'
74209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74212
74213 cat >conftest.$ac_ext <<_ACEOF
74214 /* confdefs.h. */
74215 _ACEOF
74216 cat confdefs.h >>conftest.$ac_ext
74217 cat >>conftest.$ac_ext <<_ACEOF
74218 /* end confdefs.h. */
74219 #include <math.h>
74220 int
74221 main ()
74222 {
74223 _modfl(0, 0);
74224 ;
74225 return 0;
74226 }
74227 _ACEOF
74228 rm -f conftest.$ac_objext
74229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74230 (eval $ac_compile) 2>conftest.er1
74231 ac_status=$?
74232 grep -v '^ *+' conftest.er1 >conftest.err
74233 rm -f conftest.er1
74234 cat conftest.err >&5
74235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74236 (exit $ac_status); } &&
74237 { ac_try='test -z "$ac_cxx_werror_flag"
74238 || test ! -s conftest.err'
74239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74240 (eval $ac_try) 2>&5
74241 ac_status=$?
74242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74243 (exit $ac_status); }; } &&
74244 { ac_try='test -s conftest.$ac_objext'
74245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74246 (eval $ac_try) 2>&5
74247 ac_status=$?
74248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74249 (exit $ac_status); }; }; then
74250 glibcxx_cv_func__modfl_use=yes
74251 else
74252 echo "$as_me: failed program was:" >&5
74253 sed 's/^/| /' conftest.$ac_ext >&5
74254
74255 glibcxx_cv_func__modfl_use=no
74256 fi
74257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74258 ac_ext=c
74259 ac_cpp='$CPP $CPPFLAGS'
74260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74263
74264
74265 fi
74266
74267 fi
74268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
74269 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
74270
74271 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
74272
74273 for ac_func in _modfl
74274 do
74275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74276 echo "$as_me:$LINENO: checking for $ac_func" >&5
74277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74278 if eval "test \"\${$as_ac_var+set}\" = set"; then
74279 echo $ECHO_N "(cached) $ECHO_C" >&6
74280 else
74281 if test x$gcc_no_link = xyes; then
74282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74284 { (exit 1); exit 1; }; }
74285 fi
74286 cat >conftest.$ac_ext <<_ACEOF
74287 /* confdefs.h. */
74288 _ACEOF
74289 cat confdefs.h >>conftest.$ac_ext
74290 cat >>conftest.$ac_ext <<_ACEOF
74291 /* end confdefs.h. */
74292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74294 #define $ac_func innocuous_$ac_func
74295
74296 /* System header to define __stub macros and hopefully few prototypes,
74297 which can conflict with char $ac_func (); below.
74298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74299 <limits.h> exists even on freestanding compilers. */
74300
74301 #ifdef __STDC__
74302 # include <limits.h>
74303 #else
74304 # include <assert.h>
74305 #endif
74306
74307 #undef $ac_func
74308
74309 /* Override any gcc2 internal prototype to avoid an error. */
74310 #ifdef __cplusplus
74311 extern "C"
74312 {
74313 #endif
74314 /* We use char because int might match the return type of a gcc2
74315 builtin and then its argument prototype would still apply. */
74316 char $ac_func ();
74317 /* The GNU C library defines this for functions which it implements
74318 to always fail with ENOSYS. Some functions are actually named
74319 something starting with __ and the normal name is an alias. */
74320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74321 choke me
74322 #else
74323 char (*f) () = $ac_func;
74324 #endif
74325 #ifdef __cplusplus
74326 }
74327 #endif
74328
74329 int
74330 main ()
74331 {
74332 return f != $ac_func;
74333 ;
74334 return 0;
74335 }
74336 _ACEOF
74337 rm -f conftest.$ac_objext conftest$ac_exeext
74338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74339 (eval $ac_link) 2>conftest.er1
74340 ac_status=$?
74341 grep -v '^ *+' conftest.er1 >conftest.err
74342 rm -f conftest.er1
74343 cat conftest.err >&5
74344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74345 (exit $ac_status); } &&
74346 { ac_try='test -z "$ac_c_werror_flag"
74347 || test ! -s conftest.err'
74348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74349 (eval $ac_try) 2>&5
74350 ac_status=$?
74351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74352 (exit $ac_status); }; } &&
74353 { ac_try='test -s conftest$ac_exeext'
74354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74355 (eval $ac_try) 2>&5
74356 ac_status=$?
74357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74358 (exit $ac_status); }; }; then
74359 eval "$as_ac_var=yes"
74360 else
74361 echo "$as_me: failed program was:" >&5
74362 sed 's/^/| /' conftest.$ac_ext >&5
74363
74364 eval "$as_ac_var=no"
74365 fi
74366 rm -f conftest.err conftest.$ac_objext \
74367 conftest$ac_exeext conftest.$ac_ext
74368 fi
74369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74371 if test `eval echo '${'$as_ac_var'}'` = yes; then
74372 cat >>confdefs.h <<_ACEOF
74373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74374 _ACEOF
74375
74376 fi
74377 done
74378
74379 fi
74380 fi
74381
74382
74383
74384
74385
74386
74387 echo "$as_me:$LINENO: checking for powl declaration" >&5
74388 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
74389 if test x${glibcxx_cv_func_powl_use+set} != xset; then
74390 if test "${glibcxx_cv_func_powl_use+set}" = set; then
74391 echo $ECHO_N "(cached) $ECHO_C" >&6
74392 else
74393
74394
74395
74396 ac_ext=cc
74397 ac_cpp='$CXXCPP $CPPFLAGS'
74398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74401
74402 cat >conftest.$ac_ext <<_ACEOF
74403 /* confdefs.h. */
74404 _ACEOF
74405 cat confdefs.h >>conftest.$ac_ext
74406 cat >>conftest.$ac_ext <<_ACEOF
74407 /* end confdefs.h. */
74408 #include <math.h>
74409 int
74410 main ()
74411 {
74412 powl(0, 0);
74413 ;
74414 return 0;
74415 }
74416 _ACEOF
74417 rm -f conftest.$ac_objext
74418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74419 (eval $ac_compile) 2>conftest.er1
74420 ac_status=$?
74421 grep -v '^ *+' conftest.er1 >conftest.err
74422 rm -f conftest.er1
74423 cat conftest.err >&5
74424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74425 (exit $ac_status); } &&
74426 { ac_try='test -z "$ac_cxx_werror_flag"
74427 || test ! -s conftest.err'
74428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74429 (eval $ac_try) 2>&5
74430 ac_status=$?
74431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74432 (exit $ac_status); }; } &&
74433 { ac_try='test -s conftest.$ac_objext'
74434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74435 (eval $ac_try) 2>&5
74436 ac_status=$?
74437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74438 (exit $ac_status); }; }; then
74439 glibcxx_cv_func_powl_use=yes
74440 else
74441 echo "$as_me: failed program was:" >&5
74442 sed 's/^/| /' conftest.$ac_ext >&5
74443
74444 glibcxx_cv_func_powl_use=no
74445 fi
74446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74447 ac_ext=c
74448 ac_cpp='$CPP $CPPFLAGS'
74449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74452
74453
74454 fi
74455
74456 fi
74457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
74458 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
74459
74460 if test x$glibcxx_cv_func_powl_use = x"yes"; then
74461
74462 for ac_func in powl
74463 do
74464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74465 echo "$as_me:$LINENO: checking for $ac_func" >&5
74466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74467 if eval "test \"\${$as_ac_var+set}\" = set"; then
74468 echo $ECHO_N "(cached) $ECHO_C" >&6
74469 else
74470 if test x$gcc_no_link = xyes; then
74471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74473 { (exit 1); exit 1; }; }
74474 fi
74475 cat >conftest.$ac_ext <<_ACEOF
74476 /* confdefs.h. */
74477 _ACEOF
74478 cat confdefs.h >>conftest.$ac_ext
74479 cat >>conftest.$ac_ext <<_ACEOF
74480 /* end confdefs.h. */
74481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74483 #define $ac_func innocuous_$ac_func
74484
74485 /* System header to define __stub macros and hopefully few prototypes,
74486 which can conflict with char $ac_func (); below.
74487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74488 <limits.h> exists even on freestanding compilers. */
74489
74490 #ifdef __STDC__
74491 # include <limits.h>
74492 #else
74493 # include <assert.h>
74494 #endif
74495
74496 #undef $ac_func
74497
74498 /* Override any gcc2 internal prototype to avoid an error. */
74499 #ifdef __cplusplus
74500 extern "C"
74501 {
74502 #endif
74503 /* We use char because int might match the return type of a gcc2
74504 builtin and then its argument prototype would still apply. */
74505 char $ac_func ();
74506 /* The GNU C library defines this for functions which it implements
74507 to always fail with ENOSYS. Some functions are actually named
74508 something starting with __ and the normal name is an alias. */
74509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74510 choke me
74511 #else
74512 char (*f) () = $ac_func;
74513 #endif
74514 #ifdef __cplusplus
74515 }
74516 #endif
74517
74518 int
74519 main ()
74520 {
74521 return f != $ac_func;
74522 ;
74523 return 0;
74524 }
74525 _ACEOF
74526 rm -f conftest.$ac_objext conftest$ac_exeext
74527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74528 (eval $ac_link) 2>conftest.er1
74529 ac_status=$?
74530 grep -v '^ *+' conftest.er1 >conftest.err
74531 rm -f conftest.er1
74532 cat conftest.err >&5
74533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74534 (exit $ac_status); } &&
74535 { ac_try='test -z "$ac_c_werror_flag"
74536 || test ! -s conftest.err'
74537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74538 (eval $ac_try) 2>&5
74539 ac_status=$?
74540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74541 (exit $ac_status); }; } &&
74542 { ac_try='test -s conftest$ac_exeext'
74543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74544 (eval $ac_try) 2>&5
74545 ac_status=$?
74546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547 (exit $ac_status); }; }; then
74548 eval "$as_ac_var=yes"
74549 else
74550 echo "$as_me: failed program was:" >&5
74551 sed 's/^/| /' conftest.$ac_ext >&5
74552
74553 eval "$as_ac_var=no"
74554 fi
74555 rm -f conftest.err conftest.$ac_objext \
74556 conftest$ac_exeext conftest.$ac_ext
74557 fi
74558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74560 if test `eval echo '${'$as_ac_var'}'` = yes; then
74561 cat >>confdefs.h <<_ACEOF
74562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74563 _ACEOF
74564
74565 fi
74566 done
74567
74568 else
74569
74570 echo "$as_me:$LINENO: checking for _powl declaration" >&5
74571 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
74572 if test x${glibcxx_cv_func__powl_use+set} != xset; then
74573 if test "${glibcxx_cv_func__powl_use+set}" = set; then
74574 echo $ECHO_N "(cached) $ECHO_C" >&6
74575 else
74576
74577
74578
74579 ac_ext=cc
74580 ac_cpp='$CXXCPP $CPPFLAGS'
74581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74584
74585 cat >conftest.$ac_ext <<_ACEOF
74586 /* confdefs.h. */
74587 _ACEOF
74588 cat confdefs.h >>conftest.$ac_ext
74589 cat >>conftest.$ac_ext <<_ACEOF
74590 /* end confdefs.h. */
74591 #include <math.h>
74592 int
74593 main ()
74594 {
74595 _powl(0, 0);
74596 ;
74597 return 0;
74598 }
74599 _ACEOF
74600 rm -f conftest.$ac_objext
74601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74602 (eval $ac_compile) 2>conftest.er1
74603 ac_status=$?
74604 grep -v '^ *+' conftest.er1 >conftest.err
74605 rm -f conftest.er1
74606 cat conftest.err >&5
74607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74608 (exit $ac_status); } &&
74609 { ac_try='test -z "$ac_cxx_werror_flag"
74610 || test ! -s conftest.err'
74611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74612 (eval $ac_try) 2>&5
74613 ac_status=$?
74614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74615 (exit $ac_status); }; } &&
74616 { ac_try='test -s conftest.$ac_objext'
74617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74618 (eval $ac_try) 2>&5
74619 ac_status=$?
74620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74621 (exit $ac_status); }; }; then
74622 glibcxx_cv_func__powl_use=yes
74623 else
74624 echo "$as_me: failed program was:" >&5
74625 sed 's/^/| /' conftest.$ac_ext >&5
74626
74627 glibcxx_cv_func__powl_use=no
74628 fi
74629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74630 ac_ext=c
74631 ac_cpp='$CPP $CPPFLAGS'
74632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74635
74636
74637 fi
74638
74639 fi
74640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
74641 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
74642
74643 if test x$glibcxx_cv_func__powl_use = x"yes"; then
74644
74645 for ac_func in _powl
74646 do
74647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74648 echo "$as_me:$LINENO: checking for $ac_func" >&5
74649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74650 if eval "test \"\${$as_ac_var+set}\" = set"; then
74651 echo $ECHO_N "(cached) $ECHO_C" >&6
74652 else
74653 if test x$gcc_no_link = xyes; then
74654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74656 { (exit 1); exit 1; }; }
74657 fi
74658 cat >conftest.$ac_ext <<_ACEOF
74659 /* confdefs.h. */
74660 _ACEOF
74661 cat confdefs.h >>conftest.$ac_ext
74662 cat >>conftest.$ac_ext <<_ACEOF
74663 /* end confdefs.h. */
74664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74666 #define $ac_func innocuous_$ac_func
74667
74668 /* System header to define __stub macros and hopefully few prototypes,
74669 which can conflict with char $ac_func (); below.
74670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74671 <limits.h> exists even on freestanding compilers. */
74672
74673 #ifdef __STDC__
74674 # include <limits.h>
74675 #else
74676 # include <assert.h>
74677 #endif
74678
74679 #undef $ac_func
74680
74681 /* Override any gcc2 internal prototype to avoid an error. */
74682 #ifdef __cplusplus
74683 extern "C"
74684 {
74685 #endif
74686 /* We use char because int might match the return type of a gcc2
74687 builtin and then its argument prototype would still apply. */
74688 char $ac_func ();
74689 /* The GNU C library defines this for functions which it implements
74690 to always fail with ENOSYS. Some functions are actually named
74691 something starting with __ and the normal name is an alias. */
74692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74693 choke me
74694 #else
74695 char (*f) () = $ac_func;
74696 #endif
74697 #ifdef __cplusplus
74698 }
74699 #endif
74700
74701 int
74702 main ()
74703 {
74704 return f != $ac_func;
74705 ;
74706 return 0;
74707 }
74708 _ACEOF
74709 rm -f conftest.$ac_objext conftest$ac_exeext
74710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74711 (eval $ac_link) 2>conftest.er1
74712 ac_status=$?
74713 grep -v '^ *+' conftest.er1 >conftest.err
74714 rm -f conftest.er1
74715 cat conftest.err >&5
74716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74717 (exit $ac_status); } &&
74718 { ac_try='test -z "$ac_c_werror_flag"
74719 || test ! -s conftest.err'
74720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74721 (eval $ac_try) 2>&5
74722 ac_status=$?
74723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74724 (exit $ac_status); }; } &&
74725 { ac_try='test -s conftest$ac_exeext'
74726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74727 (eval $ac_try) 2>&5
74728 ac_status=$?
74729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74730 (exit $ac_status); }; }; then
74731 eval "$as_ac_var=yes"
74732 else
74733 echo "$as_me: failed program was:" >&5
74734 sed 's/^/| /' conftest.$ac_ext >&5
74735
74736 eval "$as_ac_var=no"
74737 fi
74738 rm -f conftest.err conftest.$ac_objext \
74739 conftest$ac_exeext conftest.$ac_ext
74740 fi
74741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74743 if test `eval echo '${'$as_ac_var'}'` = yes; then
74744 cat >>confdefs.h <<_ACEOF
74745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74746 _ACEOF
74747
74748 fi
74749 done
74750
74751 fi
74752 fi
74753
74754
74755
74756
74757
74758
74759 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
74760 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
74761 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
74762 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
74763 echo $ECHO_N "(cached) $ECHO_C" >&6
74764 else
74765
74766
74767
74768 ac_ext=cc
74769 ac_cpp='$CXXCPP $CPPFLAGS'
74770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74773
74774 cat >conftest.$ac_ext <<_ACEOF
74775 /* confdefs.h. */
74776 _ACEOF
74777 cat confdefs.h >>conftest.$ac_ext
74778 cat >>conftest.$ac_ext <<_ACEOF
74779 /* end confdefs.h. */
74780 #include <math.h>
74781 #ifdef HAVE_IEEEFP_H
74782 #include <ieeefp.h>
74783 #endif
74784
74785 int
74786 main ()
74787 {
74788 sqrtl(0);
74789 ;
74790 return 0;
74791 }
74792 _ACEOF
74793 rm -f conftest.$ac_objext
74794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74795 (eval $ac_compile) 2>conftest.er1
74796 ac_status=$?
74797 grep -v '^ *+' conftest.er1 >conftest.err
74798 rm -f conftest.er1
74799 cat conftest.err >&5
74800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74801 (exit $ac_status); } &&
74802 { ac_try='test -z "$ac_cxx_werror_flag"
74803 || test ! -s conftest.err'
74804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74805 (eval $ac_try) 2>&5
74806 ac_status=$?
74807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808 (exit $ac_status); }; } &&
74809 { ac_try='test -s conftest.$ac_objext'
74810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74811 (eval $ac_try) 2>&5
74812 ac_status=$?
74813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74814 (exit $ac_status); }; }; then
74815 glibcxx_cv_func_sqrtl_use=yes
74816 else
74817 echo "$as_me: failed program was:" >&5
74818 sed 's/^/| /' conftest.$ac_ext >&5
74819
74820 glibcxx_cv_func_sqrtl_use=no
74821 fi
74822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74823 ac_ext=c
74824 ac_cpp='$CPP $CPPFLAGS'
74825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74828
74829
74830 fi
74831
74832 fi
74833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
74834 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
74835
74836 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
74837
74838 for ac_func in sqrtl
74839 do
74840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74841 echo "$as_me:$LINENO: checking for $ac_func" >&5
74842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74843 if eval "test \"\${$as_ac_var+set}\" = set"; then
74844 echo $ECHO_N "(cached) $ECHO_C" >&6
74845 else
74846 if test x$gcc_no_link = xyes; then
74847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74849 { (exit 1); exit 1; }; }
74850 fi
74851 cat >conftest.$ac_ext <<_ACEOF
74852 /* confdefs.h. */
74853 _ACEOF
74854 cat confdefs.h >>conftest.$ac_ext
74855 cat >>conftest.$ac_ext <<_ACEOF
74856 /* end confdefs.h. */
74857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74859 #define $ac_func innocuous_$ac_func
74860
74861 /* System header to define __stub macros and hopefully few prototypes,
74862 which can conflict with char $ac_func (); below.
74863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74864 <limits.h> exists even on freestanding compilers. */
74865
74866 #ifdef __STDC__
74867 # include <limits.h>
74868 #else
74869 # include <assert.h>
74870 #endif
74871
74872 #undef $ac_func
74873
74874 /* Override any gcc2 internal prototype to avoid an error. */
74875 #ifdef __cplusplus
74876 extern "C"
74877 {
74878 #endif
74879 /* We use char because int might match the return type of a gcc2
74880 builtin and then its argument prototype would still apply. */
74881 char $ac_func ();
74882 /* The GNU C library defines this for functions which it implements
74883 to always fail with ENOSYS. Some functions are actually named
74884 something starting with __ and the normal name is an alias. */
74885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74886 choke me
74887 #else
74888 char (*f) () = $ac_func;
74889 #endif
74890 #ifdef __cplusplus
74891 }
74892 #endif
74893
74894 int
74895 main ()
74896 {
74897 return f != $ac_func;
74898 ;
74899 return 0;
74900 }
74901 _ACEOF
74902 rm -f conftest.$ac_objext conftest$ac_exeext
74903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74904 (eval $ac_link) 2>conftest.er1
74905 ac_status=$?
74906 grep -v '^ *+' conftest.er1 >conftest.err
74907 rm -f conftest.er1
74908 cat conftest.err >&5
74909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74910 (exit $ac_status); } &&
74911 { ac_try='test -z "$ac_c_werror_flag"
74912 || test ! -s conftest.err'
74913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74914 (eval $ac_try) 2>&5
74915 ac_status=$?
74916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74917 (exit $ac_status); }; } &&
74918 { ac_try='test -s conftest$ac_exeext'
74919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74920 (eval $ac_try) 2>&5
74921 ac_status=$?
74922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74923 (exit $ac_status); }; }; then
74924 eval "$as_ac_var=yes"
74925 else
74926 echo "$as_me: failed program was:" >&5
74927 sed 's/^/| /' conftest.$ac_ext >&5
74928
74929 eval "$as_ac_var=no"
74930 fi
74931 rm -f conftest.err conftest.$ac_objext \
74932 conftest$ac_exeext conftest.$ac_ext
74933 fi
74934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74936 if test `eval echo '${'$as_ac_var'}'` = yes; then
74937 cat >>confdefs.h <<_ACEOF
74938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74939 _ACEOF
74940
74941 fi
74942 done
74943
74944 else
74945
74946 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
74947 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
74948 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
74949 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
74950 echo $ECHO_N "(cached) $ECHO_C" >&6
74951 else
74952
74953
74954
74955 ac_ext=cc
74956 ac_cpp='$CXXCPP $CPPFLAGS'
74957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74960
74961 cat >conftest.$ac_ext <<_ACEOF
74962 /* confdefs.h. */
74963 _ACEOF
74964 cat confdefs.h >>conftest.$ac_ext
74965 cat >>conftest.$ac_ext <<_ACEOF
74966 /* end confdefs.h. */
74967 #include <math.h>
74968 #ifdef HAVE_IEEEFP_H
74969 #include <ieeefp.h>
74970 #endif
74971
74972 int
74973 main ()
74974 {
74975 _sqrtl(0);
74976 ;
74977 return 0;
74978 }
74979 _ACEOF
74980 rm -f conftest.$ac_objext
74981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74982 (eval $ac_compile) 2>conftest.er1
74983 ac_status=$?
74984 grep -v '^ *+' conftest.er1 >conftest.err
74985 rm -f conftest.er1
74986 cat conftest.err >&5
74987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74988 (exit $ac_status); } &&
74989 { ac_try='test -z "$ac_cxx_werror_flag"
74990 || test ! -s conftest.err'
74991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74992 (eval $ac_try) 2>&5
74993 ac_status=$?
74994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74995 (exit $ac_status); }; } &&
74996 { ac_try='test -s conftest.$ac_objext'
74997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74998 (eval $ac_try) 2>&5
74999 ac_status=$?
75000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75001 (exit $ac_status); }; }; then
75002 glibcxx_cv_func__sqrtl_use=yes
75003 else
75004 echo "$as_me: failed program was:" >&5
75005 sed 's/^/| /' conftest.$ac_ext >&5
75006
75007 glibcxx_cv_func__sqrtl_use=no
75008 fi
75009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75010 ac_ext=c
75011 ac_cpp='$CPP $CPPFLAGS'
75012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75015
75016
75017 fi
75018
75019 fi
75020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
75021 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
75022
75023 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
75024
75025 for ac_func in _sqrtl
75026 do
75027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75028 echo "$as_me:$LINENO: checking for $ac_func" >&5
75029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75030 if eval "test \"\${$as_ac_var+set}\" = set"; then
75031 echo $ECHO_N "(cached) $ECHO_C" >&6
75032 else
75033 if test x$gcc_no_link = xyes; then
75034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75036 { (exit 1); exit 1; }; }
75037 fi
75038 cat >conftest.$ac_ext <<_ACEOF
75039 /* confdefs.h. */
75040 _ACEOF
75041 cat confdefs.h >>conftest.$ac_ext
75042 cat >>conftest.$ac_ext <<_ACEOF
75043 /* end confdefs.h. */
75044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75046 #define $ac_func innocuous_$ac_func
75047
75048 /* System header to define __stub macros and hopefully few prototypes,
75049 which can conflict with char $ac_func (); below.
75050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75051 <limits.h> exists even on freestanding compilers. */
75052
75053 #ifdef __STDC__
75054 # include <limits.h>
75055 #else
75056 # include <assert.h>
75057 #endif
75058
75059 #undef $ac_func
75060
75061 /* Override any gcc2 internal prototype to avoid an error. */
75062 #ifdef __cplusplus
75063 extern "C"
75064 {
75065 #endif
75066 /* We use char because int might match the return type of a gcc2
75067 builtin and then its argument prototype would still apply. */
75068 char $ac_func ();
75069 /* The GNU C library defines this for functions which it implements
75070 to always fail with ENOSYS. Some functions are actually named
75071 something starting with __ and the normal name is an alias. */
75072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75073 choke me
75074 #else
75075 char (*f) () = $ac_func;
75076 #endif
75077 #ifdef __cplusplus
75078 }
75079 #endif
75080
75081 int
75082 main ()
75083 {
75084 return f != $ac_func;
75085 ;
75086 return 0;
75087 }
75088 _ACEOF
75089 rm -f conftest.$ac_objext conftest$ac_exeext
75090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75091 (eval $ac_link) 2>conftest.er1
75092 ac_status=$?
75093 grep -v '^ *+' conftest.er1 >conftest.err
75094 rm -f conftest.er1
75095 cat conftest.err >&5
75096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75097 (exit $ac_status); } &&
75098 { ac_try='test -z "$ac_c_werror_flag"
75099 || test ! -s conftest.err'
75100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75101 (eval $ac_try) 2>&5
75102 ac_status=$?
75103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75104 (exit $ac_status); }; } &&
75105 { ac_try='test -s conftest$ac_exeext'
75106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75107 (eval $ac_try) 2>&5
75108 ac_status=$?
75109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75110 (exit $ac_status); }; }; then
75111 eval "$as_ac_var=yes"
75112 else
75113 echo "$as_me: failed program was:" >&5
75114 sed 's/^/| /' conftest.$ac_ext >&5
75115
75116 eval "$as_ac_var=no"
75117 fi
75118 rm -f conftest.err conftest.$ac_objext \
75119 conftest$ac_exeext conftest.$ac_ext
75120 fi
75121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75123 if test `eval echo '${'$as_ac_var'}'` = yes; then
75124 cat >>confdefs.h <<_ACEOF
75125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75126 _ACEOF
75127
75128 fi
75129 done
75130
75131 fi
75132 fi
75133
75134
75135
75136
75137
75138
75139 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
75140 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
75141 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
75142 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
75143 echo $ECHO_N "(cached) $ECHO_C" >&6
75144 else
75145
75146
75147
75148 ac_ext=cc
75149 ac_cpp='$CXXCPP $CPPFLAGS'
75150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75153
75154 cat >conftest.$ac_ext <<_ACEOF
75155 /* confdefs.h. */
75156 _ACEOF
75157 cat confdefs.h >>conftest.$ac_ext
75158 cat >>conftest.$ac_ext <<_ACEOF
75159 /* end confdefs.h. */
75160 #include <math.h>
75161 int
75162 main ()
75163 {
75164 sincosl(0, 0, 0);
75165 ;
75166 return 0;
75167 }
75168 _ACEOF
75169 rm -f conftest.$ac_objext
75170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75171 (eval $ac_compile) 2>conftest.er1
75172 ac_status=$?
75173 grep -v '^ *+' conftest.er1 >conftest.err
75174 rm -f conftest.er1
75175 cat conftest.err >&5
75176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75177 (exit $ac_status); } &&
75178 { ac_try='test -z "$ac_cxx_werror_flag"
75179 || test ! -s conftest.err'
75180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75181 (eval $ac_try) 2>&5
75182 ac_status=$?
75183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75184 (exit $ac_status); }; } &&
75185 { ac_try='test -s conftest.$ac_objext'
75186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75187 (eval $ac_try) 2>&5
75188 ac_status=$?
75189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75190 (exit $ac_status); }; }; then
75191 glibcxx_cv_func_sincosl_use=yes
75192 else
75193 echo "$as_me: failed program was:" >&5
75194 sed 's/^/| /' conftest.$ac_ext >&5
75195
75196 glibcxx_cv_func_sincosl_use=no
75197 fi
75198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75199 ac_ext=c
75200 ac_cpp='$CPP $CPPFLAGS'
75201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75204
75205
75206 fi
75207
75208 fi
75209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
75210 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
75211
75212 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
75213
75214 for ac_func in sincosl
75215 do
75216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75217 echo "$as_me:$LINENO: checking for $ac_func" >&5
75218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75219 if eval "test \"\${$as_ac_var+set}\" = set"; then
75220 echo $ECHO_N "(cached) $ECHO_C" >&6
75221 else
75222 if test x$gcc_no_link = xyes; then
75223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75225 { (exit 1); exit 1; }; }
75226 fi
75227 cat >conftest.$ac_ext <<_ACEOF
75228 /* confdefs.h. */
75229 _ACEOF
75230 cat confdefs.h >>conftest.$ac_ext
75231 cat >>conftest.$ac_ext <<_ACEOF
75232 /* end confdefs.h. */
75233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75235 #define $ac_func innocuous_$ac_func
75236
75237 /* System header to define __stub macros and hopefully few prototypes,
75238 which can conflict with char $ac_func (); below.
75239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75240 <limits.h> exists even on freestanding compilers. */
75241
75242 #ifdef __STDC__
75243 # include <limits.h>
75244 #else
75245 # include <assert.h>
75246 #endif
75247
75248 #undef $ac_func
75249
75250 /* Override any gcc2 internal prototype to avoid an error. */
75251 #ifdef __cplusplus
75252 extern "C"
75253 {
75254 #endif
75255 /* We use char because int might match the return type of a gcc2
75256 builtin and then its argument prototype would still apply. */
75257 char $ac_func ();
75258 /* The GNU C library defines this for functions which it implements
75259 to always fail with ENOSYS. Some functions are actually named
75260 something starting with __ and the normal name is an alias. */
75261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75262 choke me
75263 #else
75264 char (*f) () = $ac_func;
75265 #endif
75266 #ifdef __cplusplus
75267 }
75268 #endif
75269
75270 int
75271 main ()
75272 {
75273 return f != $ac_func;
75274 ;
75275 return 0;
75276 }
75277 _ACEOF
75278 rm -f conftest.$ac_objext conftest$ac_exeext
75279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75280 (eval $ac_link) 2>conftest.er1
75281 ac_status=$?
75282 grep -v '^ *+' conftest.er1 >conftest.err
75283 rm -f conftest.er1
75284 cat conftest.err >&5
75285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75286 (exit $ac_status); } &&
75287 { ac_try='test -z "$ac_c_werror_flag"
75288 || test ! -s conftest.err'
75289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75290 (eval $ac_try) 2>&5
75291 ac_status=$?
75292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75293 (exit $ac_status); }; } &&
75294 { ac_try='test -s conftest$ac_exeext'
75295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75296 (eval $ac_try) 2>&5
75297 ac_status=$?
75298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75299 (exit $ac_status); }; }; then
75300 eval "$as_ac_var=yes"
75301 else
75302 echo "$as_me: failed program was:" >&5
75303 sed 's/^/| /' conftest.$ac_ext >&5
75304
75305 eval "$as_ac_var=no"
75306 fi
75307 rm -f conftest.err conftest.$ac_objext \
75308 conftest$ac_exeext conftest.$ac_ext
75309 fi
75310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75312 if test `eval echo '${'$as_ac_var'}'` = yes; then
75313 cat >>confdefs.h <<_ACEOF
75314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75315 _ACEOF
75316
75317 fi
75318 done
75319
75320 else
75321
75322 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
75323 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
75324 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
75325 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
75326 echo $ECHO_N "(cached) $ECHO_C" >&6
75327 else
75328
75329
75330
75331 ac_ext=cc
75332 ac_cpp='$CXXCPP $CPPFLAGS'
75333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75336
75337 cat >conftest.$ac_ext <<_ACEOF
75338 /* confdefs.h. */
75339 _ACEOF
75340 cat confdefs.h >>conftest.$ac_ext
75341 cat >>conftest.$ac_ext <<_ACEOF
75342 /* end confdefs.h. */
75343 #include <math.h>
75344 int
75345 main ()
75346 {
75347 _sincosl(0, 0, 0);
75348 ;
75349 return 0;
75350 }
75351 _ACEOF
75352 rm -f conftest.$ac_objext
75353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75354 (eval $ac_compile) 2>conftest.er1
75355 ac_status=$?
75356 grep -v '^ *+' conftest.er1 >conftest.err
75357 rm -f conftest.er1
75358 cat conftest.err >&5
75359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75360 (exit $ac_status); } &&
75361 { ac_try='test -z "$ac_cxx_werror_flag"
75362 || test ! -s conftest.err'
75363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75364 (eval $ac_try) 2>&5
75365 ac_status=$?
75366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75367 (exit $ac_status); }; } &&
75368 { ac_try='test -s conftest.$ac_objext'
75369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75370 (eval $ac_try) 2>&5
75371 ac_status=$?
75372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75373 (exit $ac_status); }; }; then
75374 glibcxx_cv_func__sincosl_use=yes
75375 else
75376 echo "$as_me: failed program was:" >&5
75377 sed 's/^/| /' conftest.$ac_ext >&5
75378
75379 glibcxx_cv_func__sincosl_use=no
75380 fi
75381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75382 ac_ext=c
75383 ac_cpp='$CPP $CPPFLAGS'
75384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75387
75388
75389 fi
75390
75391 fi
75392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
75393 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
75394
75395 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
75396
75397 for ac_func in _sincosl
75398 do
75399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75400 echo "$as_me:$LINENO: checking for $ac_func" >&5
75401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75402 if eval "test \"\${$as_ac_var+set}\" = set"; then
75403 echo $ECHO_N "(cached) $ECHO_C" >&6
75404 else
75405 if test x$gcc_no_link = xyes; then
75406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75408 { (exit 1); exit 1; }; }
75409 fi
75410 cat >conftest.$ac_ext <<_ACEOF
75411 /* confdefs.h. */
75412 _ACEOF
75413 cat confdefs.h >>conftest.$ac_ext
75414 cat >>conftest.$ac_ext <<_ACEOF
75415 /* end confdefs.h. */
75416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75418 #define $ac_func innocuous_$ac_func
75419
75420 /* System header to define __stub macros and hopefully few prototypes,
75421 which can conflict with char $ac_func (); below.
75422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75423 <limits.h> exists even on freestanding compilers. */
75424
75425 #ifdef __STDC__
75426 # include <limits.h>
75427 #else
75428 # include <assert.h>
75429 #endif
75430
75431 #undef $ac_func
75432
75433 /* Override any gcc2 internal prototype to avoid an error. */
75434 #ifdef __cplusplus
75435 extern "C"
75436 {
75437 #endif
75438 /* We use char because int might match the return type of a gcc2
75439 builtin and then its argument prototype would still apply. */
75440 char $ac_func ();
75441 /* The GNU C library defines this for functions which it implements
75442 to always fail with ENOSYS. Some functions are actually named
75443 something starting with __ and the normal name is an alias. */
75444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75445 choke me
75446 #else
75447 char (*f) () = $ac_func;
75448 #endif
75449 #ifdef __cplusplus
75450 }
75451 #endif
75452
75453 int
75454 main ()
75455 {
75456 return f != $ac_func;
75457 ;
75458 return 0;
75459 }
75460 _ACEOF
75461 rm -f conftest.$ac_objext conftest$ac_exeext
75462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75463 (eval $ac_link) 2>conftest.er1
75464 ac_status=$?
75465 grep -v '^ *+' conftest.er1 >conftest.err
75466 rm -f conftest.er1
75467 cat conftest.err >&5
75468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75469 (exit $ac_status); } &&
75470 { ac_try='test -z "$ac_c_werror_flag"
75471 || test ! -s conftest.err'
75472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75473 (eval $ac_try) 2>&5
75474 ac_status=$?
75475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75476 (exit $ac_status); }; } &&
75477 { ac_try='test -s conftest$ac_exeext'
75478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75479 (eval $ac_try) 2>&5
75480 ac_status=$?
75481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75482 (exit $ac_status); }; }; then
75483 eval "$as_ac_var=yes"
75484 else
75485 echo "$as_me: failed program was:" >&5
75486 sed 's/^/| /' conftest.$ac_ext >&5
75487
75488 eval "$as_ac_var=no"
75489 fi
75490 rm -f conftest.err conftest.$ac_objext \
75491 conftest$ac_exeext conftest.$ac_ext
75492 fi
75493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75495 if test `eval echo '${'$as_ac_var'}'` = yes; then
75496 cat >>confdefs.h <<_ACEOF
75497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75498 _ACEOF
75499
75500 fi
75501 done
75502
75503 fi
75504 fi
75505
75506
75507
75508
75509
75510
75511 echo "$as_me:$LINENO: checking for finitel declaration" >&5
75512 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
75513 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
75514 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
75515 echo $ECHO_N "(cached) $ECHO_C" >&6
75516 else
75517
75518
75519
75520 ac_ext=cc
75521 ac_cpp='$CXXCPP $CPPFLAGS'
75522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75525
75526 cat >conftest.$ac_ext <<_ACEOF
75527 /* confdefs.h. */
75528 _ACEOF
75529 cat confdefs.h >>conftest.$ac_ext
75530 cat >>conftest.$ac_ext <<_ACEOF
75531 /* end confdefs.h. */
75532 #include <math.h>
75533 #ifdef HAVE_IEEEFP_H
75534 #include <ieeefp.h>
75535 #endif
75536
75537 int
75538 main ()
75539 {
75540 finitel(0);
75541 ;
75542 return 0;
75543 }
75544 _ACEOF
75545 rm -f conftest.$ac_objext
75546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75547 (eval $ac_compile) 2>conftest.er1
75548 ac_status=$?
75549 grep -v '^ *+' conftest.er1 >conftest.err
75550 rm -f conftest.er1
75551 cat conftest.err >&5
75552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75553 (exit $ac_status); } &&
75554 { ac_try='test -z "$ac_cxx_werror_flag"
75555 || test ! -s conftest.err'
75556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75557 (eval $ac_try) 2>&5
75558 ac_status=$?
75559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75560 (exit $ac_status); }; } &&
75561 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
75567 glibcxx_cv_func_finitel_use=yes
75568 else
75569 echo "$as_me: failed program was:" >&5
75570 sed 's/^/| /' conftest.$ac_ext >&5
75571
75572 glibcxx_cv_func_finitel_use=no
75573 fi
75574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75575 ac_ext=c
75576 ac_cpp='$CPP $CPPFLAGS'
75577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75580
75581
75582 fi
75583
75584 fi
75585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
75586 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
75587
75588 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
75589
75590 for ac_func in finitel
75591 do
75592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75593 echo "$as_me:$LINENO: checking for $ac_func" >&5
75594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75595 if eval "test \"\${$as_ac_var+set}\" = set"; then
75596 echo $ECHO_N "(cached) $ECHO_C" >&6
75597 else
75598 if test x$gcc_no_link = xyes; then
75599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75601 { (exit 1); exit 1; }; }
75602 fi
75603 cat >conftest.$ac_ext <<_ACEOF
75604 /* confdefs.h. */
75605 _ACEOF
75606 cat confdefs.h >>conftest.$ac_ext
75607 cat >>conftest.$ac_ext <<_ACEOF
75608 /* end confdefs.h. */
75609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75611 #define $ac_func innocuous_$ac_func
75612
75613 /* System header to define __stub macros and hopefully few prototypes,
75614 which can conflict with char $ac_func (); below.
75615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75616 <limits.h> exists even on freestanding compilers. */
75617
75618 #ifdef __STDC__
75619 # include <limits.h>
75620 #else
75621 # include <assert.h>
75622 #endif
75623
75624 #undef $ac_func
75625
75626 /* Override any gcc2 internal prototype to avoid an error. */
75627 #ifdef __cplusplus
75628 extern "C"
75629 {
75630 #endif
75631 /* We use char because int might match the return type of a gcc2
75632 builtin and then its argument prototype would still apply. */
75633 char $ac_func ();
75634 /* The GNU C library defines this for functions which it implements
75635 to always fail with ENOSYS. Some functions are actually named
75636 something starting with __ and the normal name is an alias. */
75637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75638 choke me
75639 #else
75640 char (*f) () = $ac_func;
75641 #endif
75642 #ifdef __cplusplus
75643 }
75644 #endif
75645
75646 int
75647 main ()
75648 {
75649 return f != $ac_func;
75650 ;
75651 return 0;
75652 }
75653 _ACEOF
75654 rm -f conftest.$ac_objext conftest$ac_exeext
75655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75656 (eval $ac_link) 2>conftest.er1
75657 ac_status=$?
75658 grep -v '^ *+' conftest.er1 >conftest.err
75659 rm -f conftest.er1
75660 cat conftest.err >&5
75661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75662 (exit $ac_status); } &&
75663 { ac_try='test -z "$ac_c_werror_flag"
75664 || test ! -s conftest.err'
75665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75666 (eval $ac_try) 2>&5
75667 ac_status=$?
75668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75669 (exit $ac_status); }; } &&
75670 { ac_try='test -s conftest$ac_exeext'
75671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75672 (eval $ac_try) 2>&5
75673 ac_status=$?
75674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75675 (exit $ac_status); }; }; then
75676 eval "$as_ac_var=yes"
75677 else
75678 echo "$as_me: failed program was:" >&5
75679 sed 's/^/| /' conftest.$ac_ext >&5
75680
75681 eval "$as_ac_var=no"
75682 fi
75683 rm -f conftest.err conftest.$ac_objext \
75684 conftest$ac_exeext conftest.$ac_ext
75685 fi
75686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75688 if test `eval echo '${'$as_ac_var'}'` = yes; then
75689 cat >>confdefs.h <<_ACEOF
75690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75691 _ACEOF
75692
75693 fi
75694 done
75695
75696 else
75697
75698 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
75699 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
75700 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
75701 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
75702 echo $ECHO_N "(cached) $ECHO_C" >&6
75703 else
75704
75705
75706
75707 ac_ext=cc
75708 ac_cpp='$CXXCPP $CPPFLAGS'
75709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75712
75713 cat >conftest.$ac_ext <<_ACEOF
75714 /* confdefs.h. */
75715 _ACEOF
75716 cat confdefs.h >>conftest.$ac_ext
75717 cat >>conftest.$ac_ext <<_ACEOF
75718 /* end confdefs.h. */
75719 #include <math.h>
75720 #ifdef HAVE_IEEEFP_H
75721 #include <ieeefp.h>
75722 #endif
75723
75724 int
75725 main ()
75726 {
75727 _finitel(0);
75728 ;
75729 return 0;
75730 }
75731 _ACEOF
75732 rm -f conftest.$ac_objext
75733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75734 (eval $ac_compile) 2>conftest.er1
75735 ac_status=$?
75736 grep -v '^ *+' conftest.er1 >conftest.err
75737 rm -f conftest.er1
75738 cat conftest.err >&5
75739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75740 (exit $ac_status); } &&
75741 { ac_try='test -z "$ac_cxx_werror_flag"
75742 || test ! -s conftest.err'
75743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75744 (eval $ac_try) 2>&5
75745 ac_status=$?
75746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75747 (exit $ac_status); }; } &&
75748 { ac_try='test -s conftest.$ac_objext'
75749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75750 (eval $ac_try) 2>&5
75751 ac_status=$?
75752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75753 (exit $ac_status); }; }; then
75754 glibcxx_cv_func__finitel_use=yes
75755 else
75756 echo "$as_me: failed program was:" >&5
75757 sed 's/^/| /' conftest.$ac_ext >&5
75758
75759 glibcxx_cv_func__finitel_use=no
75760 fi
75761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75762 ac_ext=c
75763 ac_cpp='$CPP $CPPFLAGS'
75764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75767
75768
75769 fi
75770
75771 fi
75772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
75773 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
75774
75775 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
75776
75777 for ac_func in _finitel
75778 do
75779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75780 echo "$as_me:$LINENO: checking for $ac_func" >&5
75781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75782 if eval "test \"\${$as_ac_var+set}\" = set"; then
75783 echo $ECHO_N "(cached) $ECHO_C" >&6
75784 else
75785 if test x$gcc_no_link = xyes; then
75786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75788 { (exit 1); exit 1; }; }
75789 fi
75790 cat >conftest.$ac_ext <<_ACEOF
75791 /* confdefs.h. */
75792 _ACEOF
75793 cat confdefs.h >>conftest.$ac_ext
75794 cat >>conftest.$ac_ext <<_ACEOF
75795 /* end confdefs.h. */
75796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75798 #define $ac_func innocuous_$ac_func
75799
75800 /* System header to define __stub macros and hopefully few prototypes,
75801 which can conflict with char $ac_func (); below.
75802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75803 <limits.h> exists even on freestanding compilers. */
75804
75805 #ifdef __STDC__
75806 # include <limits.h>
75807 #else
75808 # include <assert.h>
75809 #endif
75810
75811 #undef $ac_func
75812
75813 /* Override any gcc2 internal prototype to avoid an error. */
75814 #ifdef __cplusplus
75815 extern "C"
75816 {
75817 #endif
75818 /* We use char because int might match the return type of a gcc2
75819 builtin and then its argument prototype would still apply. */
75820 char $ac_func ();
75821 /* The GNU C library defines this for functions which it implements
75822 to always fail with ENOSYS. Some functions are actually named
75823 something starting with __ and the normal name is an alias. */
75824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75825 choke me
75826 #else
75827 char (*f) () = $ac_func;
75828 #endif
75829 #ifdef __cplusplus
75830 }
75831 #endif
75832
75833 int
75834 main ()
75835 {
75836 return f != $ac_func;
75837 ;
75838 return 0;
75839 }
75840 _ACEOF
75841 rm -f conftest.$ac_objext conftest$ac_exeext
75842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75843 (eval $ac_link) 2>conftest.er1
75844 ac_status=$?
75845 grep -v '^ *+' conftest.er1 >conftest.err
75846 rm -f conftest.er1
75847 cat conftest.err >&5
75848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75849 (exit $ac_status); } &&
75850 { ac_try='test -z "$ac_c_werror_flag"
75851 || test ! -s conftest.err'
75852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75853 (eval $ac_try) 2>&5
75854 ac_status=$?
75855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75856 (exit $ac_status); }; } &&
75857 { ac_try='test -s conftest$ac_exeext'
75858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75859 (eval $ac_try) 2>&5
75860 ac_status=$?
75861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75862 (exit $ac_status); }; }; then
75863 eval "$as_ac_var=yes"
75864 else
75865 echo "$as_me: failed program was:" >&5
75866 sed 's/^/| /' conftest.$ac_ext >&5
75867
75868 eval "$as_ac_var=no"
75869 fi
75870 rm -f conftest.err conftest.$ac_objext \
75871 conftest$ac_exeext conftest.$ac_ext
75872 fi
75873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75875 if test `eval echo '${'$as_ac_var'}'` = yes; then
75876 cat >>confdefs.h <<_ACEOF
75877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75878 _ACEOF
75879
75880 fi
75881 done
75882
75883 fi
75884 fi
75885
75886
75887
75888
75889
75890 LIBS="$ac_save_LIBS"
75891 CXXFLAGS="$ac_save_CXXFLAGS"
75892
75893
75894 ac_test_CXXFLAGS="${CXXFLAGS+set}"
75895 ac_save_CXXFLAGS="$CXXFLAGS"
75896 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
75897
75898
75899 echo "$as_me:$LINENO: checking for strtold declaration" >&5
75900 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
75901 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
75902 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
75903 echo $ECHO_N "(cached) $ECHO_C" >&6
75904 else
75905
75906
75907
75908 ac_ext=cc
75909 ac_cpp='$CXXCPP $CPPFLAGS'
75910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75913
75914 cat >conftest.$ac_ext <<_ACEOF
75915 /* confdefs.h. */
75916 _ACEOF
75917 cat confdefs.h >>conftest.$ac_ext
75918 cat >>conftest.$ac_ext <<_ACEOF
75919 /* end confdefs.h. */
75920 #include <stdlib.h>
75921 int
75922 main ()
75923 {
75924 strtold(0, 0);
75925 ;
75926 return 0;
75927 }
75928 _ACEOF
75929 rm -f conftest.$ac_objext
75930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75931 (eval $ac_compile) 2>conftest.er1
75932 ac_status=$?
75933 grep -v '^ *+' conftest.er1 >conftest.err
75934 rm -f conftest.er1
75935 cat conftest.err >&5
75936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75937 (exit $ac_status); } &&
75938 { ac_try='test -z "$ac_cxx_werror_flag"
75939 || test ! -s conftest.err'
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); }; } &&
75945 { ac_try='test -s conftest.$ac_objext'
75946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75947 (eval $ac_try) 2>&5
75948 ac_status=$?
75949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75950 (exit $ac_status); }; }; then
75951 glibcxx_cv_func_strtold_use=yes
75952 else
75953 echo "$as_me: failed program was:" >&5
75954 sed 's/^/| /' conftest.$ac_ext >&5
75955
75956 glibcxx_cv_func_strtold_use=no
75957 fi
75958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75959 ac_ext=c
75960 ac_cpp='$CPP $CPPFLAGS'
75961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75964
75965
75966 fi
75967
75968 fi
75969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
75970 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
75971 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
75972
75973 for ac_func in strtold
75974 do
75975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75976 echo "$as_me:$LINENO: checking for $ac_func" >&5
75977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75978 if eval "test \"\${$as_ac_var+set}\" = set"; then
75979 echo $ECHO_N "(cached) $ECHO_C" >&6
75980 else
75981 if test x$gcc_no_link = xyes; then
75982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75984 { (exit 1); exit 1; }; }
75985 fi
75986 cat >conftest.$ac_ext <<_ACEOF
75987 /* confdefs.h. */
75988 _ACEOF
75989 cat confdefs.h >>conftest.$ac_ext
75990 cat >>conftest.$ac_ext <<_ACEOF
75991 /* end confdefs.h. */
75992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75994 #define $ac_func innocuous_$ac_func
75995
75996 /* System header to define __stub macros and hopefully few prototypes,
75997 which can conflict with char $ac_func (); below.
75998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75999 <limits.h> exists even on freestanding compilers. */
76000
76001 #ifdef __STDC__
76002 # include <limits.h>
76003 #else
76004 # include <assert.h>
76005 #endif
76006
76007 #undef $ac_func
76008
76009 /* Override any gcc2 internal prototype to avoid an error. */
76010 #ifdef __cplusplus
76011 extern "C"
76012 {
76013 #endif
76014 /* We use char because int might match the return type of a gcc2
76015 builtin and then its argument prototype would still apply. */
76016 char $ac_func ();
76017 /* The GNU C library defines this for functions which it implements
76018 to always fail with ENOSYS. Some functions are actually named
76019 something starting with __ and the normal name is an alias. */
76020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76021 choke me
76022 #else
76023 char (*f) () = $ac_func;
76024 #endif
76025 #ifdef __cplusplus
76026 }
76027 #endif
76028
76029 int
76030 main ()
76031 {
76032 return f != $ac_func;
76033 ;
76034 return 0;
76035 }
76036 _ACEOF
76037 rm -f conftest.$ac_objext conftest$ac_exeext
76038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76039 (eval $ac_link) 2>conftest.er1
76040 ac_status=$?
76041 grep -v '^ *+' conftest.er1 >conftest.err
76042 rm -f conftest.er1
76043 cat conftest.err >&5
76044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76045 (exit $ac_status); } &&
76046 { ac_try='test -z "$ac_c_werror_flag"
76047 || test ! -s conftest.err'
76048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76049 (eval $ac_try) 2>&5
76050 ac_status=$?
76051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76052 (exit $ac_status); }; } &&
76053 { ac_try='test -s conftest$ac_exeext'
76054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76055 (eval $ac_try) 2>&5
76056 ac_status=$?
76057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76058 (exit $ac_status); }; }; then
76059 eval "$as_ac_var=yes"
76060 else
76061 echo "$as_me: failed program was:" >&5
76062 sed 's/^/| /' conftest.$ac_ext >&5
76063
76064 eval "$as_ac_var=no"
76065 fi
76066 rm -f conftest.err conftest.$ac_objext \
76067 conftest$ac_exeext conftest.$ac_ext
76068 fi
76069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76071 if test `eval echo '${'$as_ac_var'}'` = yes; then
76072 cat >>confdefs.h <<_ACEOF
76073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76074 _ACEOF
76075
76076 fi
76077 done
76078
76079 fi
76080
76081
76082
76083
76084
76085 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76086 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76087 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76088 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76089 echo $ECHO_N "(cached) $ECHO_C" >&6
76090 else
76091
76092
76093
76094 ac_ext=cc
76095 ac_cpp='$CXXCPP $CPPFLAGS'
76096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76099
76100 cat >conftest.$ac_ext <<_ACEOF
76101 /* confdefs.h. */
76102 _ACEOF
76103 cat confdefs.h >>conftest.$ac_ext
76104 cat >>conftest.$ac_ext <<_ACEOF
76105 /* end confdefs.h. */
76106 #include <stdlib.h>
76107 int
76108 main ()
76109 {
76110 strtof(0, 0);
76111 ;
76112 return 0;
76113 }
76114 _ACEOF
76115 rm -f conftest.$ac_objext
76116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76117 (eval $ac_compile) 2>conftest.er1
76118 ac_status=$?
76119 grep -v '^ *+' conftest.er1 >conftest.err
76120 rm -f conftest.er1
76121 cat conftest.err >&5
76122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76123 (exit $ac_status); } &&
76124 { ac_try='test -z "$ac_cxx_werror_flag"
76125 || test ! -s conftest.err'
76126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76127 (eval $ac_try) 2>&5
76128 ac_status=$?
76129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76130 (exit $ac_status); }; } &&
76131 { ac_try='test -s conftest.$ac_objext'
76132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76133 (eval $ac_try) 2>&5
76134 ac_status=$?
76135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76136 (exit $ac_status); }; }; then
76137 glibcxx_cv_func_strtof_use=yes
76138 else
76139 echo "$as_me: failed program was:" >&5
76140 sed 's/^/| /' conftest.$ac_ext >&5
76141
76142 glibcxx_cv_func_strtof_use=no
76143 fi
76144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76145 ac_ext=c
76146 ac_cpp='$CPP $CPPFLAGS'
76147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76150
76151
76152 fi
76153
76154 fi
76155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76156 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76157 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76158
76159 for ac_func in strtof
76160 do
76161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76162 echo "$as_me:$LINENO: checking for $ac_func" >&5
76163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76164 if eval "test \"\${$as_ac_var+set}\" = set"; then
76165 echo $ECHO_N "(cached) $ECHO_C" >&6
76166 else
76167 if test x$gcc_no_link = xyes; then
76168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76170 { (exit 1); exit 1; }; }
76171 fi
76172 cat >conftest.$ac_ext <<_ACEOF
76173 /* confdefs.h. */
76174 _ACEOF
76175 cat confdefs.h >>conftest.$ac_ext
76176 cat >>conftest.$ac_ext <<_ACEOF
76177 /* end confdefs.h. */
76178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76180 #define $ac_func innocuous_$ac_func
76181
76182 /* System header to define __stub macros and hopefully few prototypes,
76183 which can conflict with char $ac_func (); below.
76184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76185 <limits.h> exists even on freestanding compilers. */
76186
76187 #ifdef __STDC__
76188 # include <limits.h>
76189 #else
76190 # include <assert.h>
76191 #endif
76192
76193 #undef $ac_func
76194
76195 /* Override any gcc2 internal prototype to avoid an error. */
76196 #ifdef __cplusplus
76197 extern "C"
76198 {
76199 #endif
76200 /* We use char because int might match the return type of a gcc2
76201 builtin and then its argument prototype would still apply. */
76202 char $ac_func ();
76203 /* The GNU C library defines this for functions which it implements
76204 to always fail with ENOSYS. Some functions are actually named
76205 something starting with __ and the normal name is an alias. */
76206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76207 choke me
76208 #else
76209 char (*f) () = $ac_func;
76210 #endif
76211 #ifdef __cplusplus
76212 }
76213 #endif
76214
76215 int
76216 main ()
76217 {
76218 return f != $ac_func;
76219 ;
76220 return 0;
76221 }
76222 _ACEOF
76223 rm -f conftest.$ac_objext conftest$ac_exeext
76224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76225 (eval $ac_link) 2>conftest.er1
76226 ac_status=$?
76227 grep -v '^ *+' conftest.er1 >conftest.err
76228 rm -f conftest.er1
76229 cat conftest.err >&5
76230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76231 (exit $ac_status); } &&
76232 { ac_try='test -z "$ac_c_werror_flag"
76233 || test ! -s conftest.err'
76234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76235 (eval $ac_try) 2>&5
76236 ac_status=$?
76237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76238 (exit $ac_status); }; } &&
76239 { ac_try='test -s conftest$ac_exeext'
76240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76241 (eval $ac_try) 2>&5
76242 ac_status=$?
76243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76244 (exit $ac_status); }; }; then
76245 eval "$as_ac_var=yes"
76246 else
76247 echo "$as_me: failed program was:" >&5
76248 sed 's/^/| /' conftest.$ac_ext >&5
76249
76250 eval "$as_ac_var=no"
76251 fi
76252 rm -f conftest.err conftest.$ac_objext \
76253 conftest$ac_exeext conftest.$ac_ext
76254 fi
76255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76257 if test `eval echo '${'$as_ac_var'}'` = yes; then
76258 cat >>confdefs.h <<_ACEOF
76259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76260 _ACEOF
76261
76262 fi
76263 done
76264
76265 fi
76266
76267
76268
76269
76270
76271 CXXFLAGS="$ac_save_CXXFLAGS"
76272
76273 ;;
76274
76275 *djgpp)
76276 # GLIBCXX_CHECK_MATH_SUPPORT
76277 cat >>confdefs.h <<\_ACEOF
76278 #define HAVE_ISINF 1
76279 _ACEOF
76280
76281 cat >>confdefs.h <<\_ACEOF
76282 #define HAVE_ISNAN 1
76283 _ACEOF
76284
76285 cat >>confdefs.h <<\_ACEOF
76286 #define HAVE_FINITE 1
76287 _ACEOF
76288
76289 cat >>confdefs.h <<\_ACEOF
76290 #define HAVE_SINCOS 1
76291 _ACEOF
76292
76293 cat >>confdefs.h <<\_ACEOF
76294 #define HAVE_HYPOT 1
76295 _ACEOF
76296
76297 ;;
76298
76299 *-freebsd*)
76300 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76301
76302
76303 # If we're not using GNU ld, then there's no point in even trying these
76304 # tests. Check for that first. We should have already tested for gld
76305 # by now (in libtool), but require it now just to be safe...
76306 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76307 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76308
76309
76310
76311 # The name set by libtool depends on the version of libtool. Shame on us
76312 # for depending on an impl detail, but c'est la vie. Older versions used
76313 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76314 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76315 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76316 # set (hence we're using an older libtool), then set it.
76317 if test x${with_gnu_ld+set} != xset; then
76318 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76319 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76320 with_gnu_ld=no
76321 else
76322 with_gnu_ld=$ac_cv_prog_gnu_ld
76323 fi
76324 fi
76325
76326 # Start by getting the version number. I think the libtool test already
76327 # does some of this, but throws away the result.
76328 glibcxx_ld_is_gold=no
76329 if test x"$with_gnu_ld" = x"yes"; then
76330 echo "$as_me:$LINENO: checking for ld version" >&5
76331 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76332
76333 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
76334 glibcxx_ld_is_gold=yes
76335 fi
76336 ldver=`$LD --version 2>/dev/null | head -1 | \
76337 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
76338
76339 glibcxx_gnu_ld_version=`echo $ldver | \
76340 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76341 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76342 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76343 fi
76344
76345 # Set --gc-sections.
76346 glibcxx_have_gc_sections=no
76347 if test "$glibcxx_ld_is_gold" = "yes"; then
76348 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
76349 glibcxx_have_gc_sections=yes
76350 fi
76351 else
76352 glibcxx_gcsections_min_ld=21602
76353 if test x"$with_gnu_ld" = x"yes" &&
76354 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76355 glibcxx_have_gc_sections=yes
76356 fi
76357 fi
76358 if test "$glibcxx_have_gc_sections" = "yes"; then
76359 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76360 # NB: This flag only works reliably after 2.16.1. Configure tests
76361 # for this are difficult, so hard wire a value that should work.
76362
76363 ac_test_CFLAGS="${CFLAGS+set}"
76364 ac_save_CFLAGS="$CFLAGS"
76365 CFLAGS='-Wl,--gc-sections'
76366
76367 # Check for -Wl,--gc-sections
76368 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76369 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76370 if test x$gcc_no_link = xyes; then
76371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76373 { (exit 1); exit 1; }; }
76374 fi
76375 cat >conftest.$ac_ext <<_ACEOF
76376 /* confdefs.h. */
76377 _ACEOF
76378 cat confdefs.h >>conftest.$ac_ext
76379 cat >>conftest.$ac_ext <<_ACEOF
76380 /* end confdefs.h. */
76381 int one(void) { return 1; }
76382 int two(void) { return 2; }
76383
76384 int
76385 main ()
76386 {
76387 two();
76388 ;
76389 return 0;
76390 }
76391 _ACEOF
76392 rm -f conftest.$ac_objext conftest$ac_exeext
76393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76394 (eval $ac_link) 2>conftest.er1
76395 ac_status=$?
76396 grep -v '^ *+' conftest.er1 >conftest.err
76397 rm -f conftest.er1
76398 cat conftest.err >&5
76399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76400 (exit $ac_status); } &&
76401 { ac_try='test -z "$ac_c_werror_flag"
76402 || test ! -s conftest.err'
76403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76404 (eval $ac_try) 2>&5
76405 ac_status=$?
76406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76407 (exit $ac_status); }; } &&
76408 { ac_try='test -s conftest$ac_exeext'
76409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76410 (eval $ac_try) 2>&5
76411 ac_status=$?
76412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76413 (exit $ac_status); }; }; then
76414 ac_gcsections=yes
76415 else
76416 echo "$as_me: failed program was:" >&5
76417 sed 's/^/| /' conftest.$ac_ext >&5
76418
76419 ac_gcsections=no
76420 fi
76421 rm -f conftest.err conftest.$ac_objext \
76422 conftest$ac_exeext conftest.$ac_ext
76423 if test "$ac_gcsections" = "yes"; then
76424 rm -f conftest.c
76425 touch conftest.c
76426 if $CC -c conftest.c; then
76427 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76428 grep "Warning: gc-sections option ignored" > /dev/null; then
76429 ac_gcsections=no
76430 fi
76431 fi
76432 rm -f conftest.c conftest.o conftest
76433 fi
76434 if test "$ac_gcsections" = "yes"; then
76435 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76436 fi
76437 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76438 echo "${ECHO_T}$ac_gcsections" >&6
76439
76440 if test "$ac_test_CFLAGS" = set; then
76441 CFLAGS="$ac_save_CFLAGS"
76442 else
76443 # this is the suspicious part
76444 CFLAGS=''
76445 fi
76446 fi
76447
76448 # Set -z,relro.
76449 # Note this is only for shared objects.
76450 ac_ld_relro=no
76451 if test x"$with_gnu_ld" = x"yes"; then
76452 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76453 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76454 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76455 if test -n "$cxx_z_relo"; then
76456 OPT_LDFLAGS="-Wl,-z,relro"
76457 ac_ld_relro=yes
76458 fi
76459 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76460 echo "${ECHO_T}$ac_ld_relro" >&6
76461 fi
76462
76463 # Set linker optimization flags.
76464 if test x"$with_gnu_ld" = x"yes"; then
76465 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76466 fi
76467
76468
76469
76470
76471 cat >>confdefs.h <<\_ACEOF
76472 #define HAVE_SETENV 1
76473 _ACEOF
76474
76475 cat >>confdefs.h <<\_ACEOF
76476 #define HAVE_FINITEF 1
76477 _ACEOF
76478
76479 cat >>confdefs.h <<\_ACEOF
76480 #define HAVE_FINITE 1
76481 _ACEOF
76482
76483 cat >>confdefs.h <<\_ACEOF
76484 #define HAVE_FREXPF 1
76485 _ACEOF
76486
76487 cat >>confdefs.h <<\_ACEOF
76488 #define HAVE_HYPOT 1
76489 _ACEOF
76490
76491 cat >>confdefs.h <<\_ACEOF
76492 #define HAVE_HYPOTF 1
76493 _ACEOF
76494
76495 cat >>confdefs.h <<\_ACEOF
76496 #define HAVE_ISINF 1
76497 _ACEOF
76498
76499 cat >>confdefs.h <<\_ACEOF
76500 #define HAVE_ISNAN 1
76501 _ACEOF
76502
76503 cat >>confdefs.h <<\_ACEOF
76504 #define HAVE_ISNANF 1
76505 _ACEOF
76506
76507
76508 cat >>confdefs.h <<\_ACEOF
76509 #define HAVE_ACOSF 1
76510 _ACEOF
76511
76512 cat >>confdefs.h <<\_ACEOF
76513 #define HAVE_ASINF 1
76514 _ACEOF
76515
76516 cat >>confdefs.h <<\_ACEOF
76517 #define HAVE_ATAN2F 1
76518 _ACEOF
76519
76520 cat >>confdefs.h <<\_ACEOF
76521 #define HAVE_ATANF 1
76522 _ACEOF
76523
76524 cat >>confdefs.h <<\_ACEOF
76525 #define HAVE_CEILF 1
76526 _ACEOF
76527
76528 cat >>confdefs.h <<\_ACEOF
76529 #define HAVE_COSF 1
76530 _ACEOF
76531
76532 cat >>confdefs.h <<\_ACEOF
76533 #define HAVE_COSHF 1
76534 _ACEOF
76535
76536 cat >>confdefs.h <<\_ACEOF
76537 #define HAVE_EXPF 1
76538 _ACEOF
76539
76540 cat >>confdefs.h <<\_ACEOF
76541 #define HAVE_FABSF 1
76542 _ACEOF
76543
76544 cat >>confdefs.h <<\_ACEOF
76545 #define HAVE_FLOORF 1
76546 _ACEOF
76547
76548 cat >>confdefs.h <<\_ACEOF
76549 #define HAVE_FMODF 1
76550 _ACEOF
76551
76552 cat >>confdefs.h <<\_ACEOF
76553 #define HAVE_FREXPF 1
76554 _ACEOF
76555
76556 cat >>confdefs.h <<\_ACEOF
76557 #define HAVE_LDEXPF 1
76558 _ACEOF
76559
76560 cat >>confdefs.h <<\_ACEOF
76561 #define HAVE_LOG10F 1
76562 _ACEOF
76563
76564 cat >>confdefs.h <<\_ACEOF
76565 #define HAVE_LOGF 1
76566 _ACEOF
76567
76568 cat >>confdefs.h <<\_ACEOF
76569 #define HAVE_MODFF 1
76570 _ACEOF
76571
76572 cat >>confdefs.h <<\_ACEOF
76573 #define HAVE_POWF 1
76574 _ACEOF
76575
76576 cat >>confdefs.h <<\_ACEOF
76577 #define HAVE_SINF 1
76578 _ACEOF
76579
76580 cat >>confdefs.h <<\_ACEOF
76581 #define HAVE_SINHF 1
76582 _ACEOF
76583
76584 cat >>confdefs.h <<\_ACEOF
76585 #define HAVE_SQRTF 1
76586 _ACEOF
76587
76588 cat >>confdefs.h <<\_ACEOF
76589 #define HAVE_TANF 1
76590 _ACEOF
76591
76592 cat >>confdefs.h <<\_ACEOF
76593 #define HAVE_TANHF 1
76594 _ACEOF
76595
76596 if test x"long_double_math_on_this_cpu" = x"yes"; then
76597 cat >>confdefs.h <<\_ACEOF
76598 #define HAVE_FINITEL 1
76599 _ACEOF
76600
76601 cat >>confdefs.h <<\_ACEOF
76602 #define HAVE_ISINFL 1
76603 _ACEOF
76604
76605 cat >>confdefs.h <<\_ACEOF
76606 #define HAVE_ISNANL 1
76607 _ACEOF
76608
76609 fi
76610 ;;
76611 *-hpux*)
76612 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76613
76614
76615 # If we're not using GNU ld, then there's no point in even trying these
76616 # tests. Check for that first. We should have already tested for gld
76617 # by now (in libtool), but require it now just to be safe...
76618 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76619 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76620
76621
76622
76623 # The name set by libtool depends on the version of libtool. Shame on us
76624 # for depending on an impl detail, but c'est la vie. Older versions used
76625 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76626 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76627 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76628 # set (hence we're using an older libtool), then set it.
76629 if test x${with_gnu_ld+set} != xset; then
76630 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76631 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76632 with_gnu_ld=no
76633 else
76634 with_gnu_ld=$ac_cv_prog_gnu_ld
76635 fi
76636 fi
76637
76638 # Start by getting the version number. I think the libtool test already
76639 # does some of this, but throws away the result.
76640 glibcxx_ld_is_gold=no
76641 if test x"$with_gnu_ld" = x"yes"; then
76642 echo "$as_me:$LINENO: checking for ld version" >&5
76643 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76644
76645 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
76646 glibcxx_ld_is_gold=yes
76647 fi
76648 ldver=`$LD --version 2>/dev/null | head -1 | \
76649 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
76650
76651 glibcxx_gnu_ld_version=`echo $ldver | \
76652 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76653 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76654 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76655 fi
76656
76657 # Set --gc-sections.
76658 glibcxx_have_gc_sections=no
76659 if test "$glibcxx_ld_is_gold" = "yes"; then
76660 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
76661 glibcxx_have_gc_sections=yes
76662 fi
76663 else
76664 glibcxx_gcsections_min_ld=21602
76665 if test x"$with_gnu_ld" = x"yes" &&
76666 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76667 glibcxx_have_gc_sections=yes
76668 fi
76669 fi
76670 if test "$glibcxx_have_gc_sections" = "yes"; then
76671 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76672 # NB: This flag only works reliably after 2.16.1. Configure tests
76673 # for this are difficult, so hard wire a value that should work.
76674
76675 ac_test_CFLAGS="${CFLAGS+set}"
76676 ac_save_CFLAGS="$CFLAGS"
76677 CFLAGS='-Wl,--gc-sections'
76678
76679 # Check for -Wl,--gc-sections
76680 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76681 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76682 if test x$gcc_no_link = xyes; then
76683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76685 { (exit 1); exit 1; }; }
76686 fi
76687 cat >conftest.$ac_ext <<_ACEOF
76688 /* confdefs.h. */
76689 _ACEOF
76690 cat confdefs.h >>conftest.$ac_ext
76691 cat >>conftest.$ac_ext <<_ACEOF
76692 /* end confdefs.h. */
76693 int one(void) { return 1; }
76694 int two(void) { return 2; }
76695
76696 int
76697 main ()
76698 {
76699 two();
76700 ;
76701 return 0;
76702 }
76703 _ACEOF
76704 rm -f conftest.$ac_objext conftest$ac_exeext
76705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76706 (eval $ac_link) 2>conftest.er1
76707 ac_status=$?
76708 grep -v '^ *+' conftest.er1 >conftest.err
76709 rm -f conftest.er1
76710 cat conftest.err >&5
76711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76712 (exit $ac_status); } &&
76713 { ac_try='test -z "$ac_c_werror_flag"
76714 || test ! -s conftest.err'
76715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76716 (eval $ac_try) 2>&5
76717 ac_status=$?
76718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76719 (exit $ac_status); }; } &&
76720 { ac_try='test -s conftest$ac_exeext'
76721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76722 (eval $ac_try) 2>&5
76723 ac_status=$?
76724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76725 (exit $ac_status); }; }; then
76726 ac_gcsections=yes
76727 else
76728 echo "$as_me: failed program was:" >&5
76729 sed 's/^/| /' conftest.$ac_ext >&5
76730
76731 ac_gcsections=no
76732 fi
76733 rm -f conftest.err conftest.$ac_objext \
76734 conftest$ac_exeext conftest.$ac_ext
76735 if test "$ac_gcsections" = "yes"; then
76736 rm -f conftest.c
76737 touch conftest.c
76738 if $CC -c conftest.c; then
76739 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76740 grep "Warning: gc-sections option ignored" > /dev/null; then
76741 ac_gcsections=no
76742 fi
76743 fi
76744 rm -f conftest.c conftest.o conftest
76745 fi
76746 if test "$ac_gcsections" = "yes"; then
76747 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76748 fi
76749 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76750 echo "${ECHO_T}$ac_gcsections" >&6
76751
76752 if test "$ac_test_CFLAGS" = set; then
76753 CFLAGS="$ac_save_CFLAGS"
76754 else
76755 # this is the suspicious part
76756 CFLAGS=''
76757 fi
76758 fi
76759
76760 # Set -z,relro.
76761 # Note this is only for shared objects.
76762 ac_ld_relro=no
76763 if test x"$with_gnu_ld" = x"yes"; then
76764 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76765 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76766 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76767 if test -n "$cxx_z_relo"; then
76768 OPT_LDFLAGS="-Wl,-z,relro"
76769 ac_ld_relro=yes
76770 fi
76771 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76772 echo "${ECHO_T}$ac_ld_relro" >&6
76773 fi
76774
76775 # Set linker optimization flags.
76776 if test x"$with_gnu_ld" = x"yes"; then
76777 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76778 fi
76779
76780
76781
76782
76783
76784 # GLIBCXX_CHECK_MATH_SUPPORT
76785 cat >>confdefs.h <<\_ACEOF
76786 #define HAVE_ISNAN 1
76787 _ACEOF
76788
76789 cat >>confdefs.h <<\_ACEOF
76790 #define HAVE_HYPOT 1
76791 _ACEOF
76792
76793 cat >>confdefs.h <<\_ACEOF
76794 #define HAVE_ACOSF 1
76795 _ACEOF
76796
76797 cat >>confdefs.h <<\_ACEOF
76798 #define HAVE_ASINF 1
76799 _ACEOF
76800
76801 cat >>confdefs.h <<\_ACEOF
76802 #define HAVE_ATANF 1
76803 _ACEOF
76804
76805 cat >>confdefs.h <<\_ACEOF
76806 #define HAVE_COSF 1
76807 _ACEOF
76808
76809 cat >>confdefs.h <<\_ACEOF
76810 #define HAVE_COSHF 1
76811 _ACEOF
76812
76813 cat >>confdefs.h <<\_ACEOF
76814 #define HAVE_SINF 1
76815 _ACEOF
76816
76817 cat >>confdefs.h <<\_ACEOF
76818 #define HAVE_SINHF 1
76819 _ACEOF
76820
76821 cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_TANF 1
76823 _ACEOF
76824
76825 cat >>confdefs.h <<\_ACEOF
76826 #define HAVE_TANHF 1
76827 _ACEOF
76828
76829 cat >>confdefs.h <<\_ACEOF
76830 #define HAVE_EXPF 1
76831 _ACEOF
76832
76833 cat >>confdefs.h <<\_ACEOF
76834 #define HAVE_ATAN2F 1
76835 _ACEOF
76836
76837 cat >>confdefs.h <<\_ACEOF
76838 #define HAVE_FABSF 1
76839 _ACEOF
76840
76841 cat >>confdefs.h <<\_ACEOF
76842 #define HAVE_FMODF 1
76843 _ACEOF
76844
76845 cat >>confdefs.h <<\_ACEOF
76846 #define HAVE_FREXPF 1
76847 _ACEOF
76848
76849 cat >>confdefs.h <<\_ACEOF
76850 #define HAVE_LOGF 1
76851 _ACEOF
76852
76853 cat >>confdefs.h <<\_ACEOF
76854 #define HAVE_LOG10F 1
76855 _ACEOF
76856
76857 cat >>confdefs.h <<\_ACEOF
76858 #define HAVE_MODF 1
76859 _ACEOF
76860
76861 cat >>confdefs.h <<\_ACEOF
76862 #define HAVE_POWF 1
76863 _ACEOF
76864
76865 cat >>confdefs.h <<\_ACEOF
76866 #define HAVE_SQRTF 1
76867 _ACEOF
76868
76869
76870 # GLIBCXX_CHECK_STDLIB_SUPPORT
76871 cat >>confdefs.h <<\_ACEOF
76872 #define HAVE_STRTOLD 1
76873 _ACEOF
76874
76875
76876
76877 # Check whether --enable-tls or --disable-tls was given.
76878 if test "${enable_tls+set}" = set; then
76879 enableval="$enable_tls"
76880
76881 case "$enableval" in
76882 yes|no) ;;
76883 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
76884 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
76885 { (exit 1); exit 1; }; } ;;
76886 esac
76887
76888 else
76889 enable_tls=yes
76890 fi;
76891
76892 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
76893 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
76894 if test "${gcc_cv_have_tls+set}" = set; then
76895 echo $ECHO_N "(cached) $ECHO_C" >&6
76896 else
76897
76898 if test "$cross_compiling" = yes; then
76899 if test x$gcc_no_link = xyes; then
76900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76902 { (exit 1); exit 1; }; }
76903 fi
76904 cat >conftest.$ac_ext <<_ACEOF
76905 __thread int a; int b; int main() { return a = b; }
76906 _ACEOF
76907 rm -f conftest.$ac_objext conftest$ac_exeext
76908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76909 (eval $ac_link) 2>conftest.er1
76910 ac_status=$?
76911 grep -v '^ *+' conftest.er1 >conftest.err
76912 rm -f conftest.er1
76913 cat conftest.err >&5
76914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76915 (exit $ac_status); } &&
76916 { ac_try='test -z "$ac_c_werror_flag"
76917 || test ! -s conftest.err'
76918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76919 (eval $ac_try) 2>&5
76920 ac_status=$?
76921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76922 (exit $ac_status); }; } &&
76923 { ac_try='test -s conftest$ac_exeext'
76924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76925 (eval $ac_try) 2>&5
76926 ac_status=$?
76927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76928 (exit $ac_status); }; }; then
76929 gcc_cv_have_tls=yes
76930 else
76931 echo "$as_me: failed program was:" >&5
76932 sed 's/^/| /' conftest.$ac_ext >&5
76933
76934 gcc_cv_have_tls=no
76935 fi
76936 rm -f conftest.err conftest.$ac_objext \
76937 conftest$ac_exeext conftest.$ac_ext
76938
76939
76940 else
76941 cat >conftest.$ac_ext <<_ACEOF
76942 __thread int a; int b; int main() { return a = b; }
76943 _ACEOF
76944 rm -f conftest$ac_exeext
76945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76946 (eval $ac_link) 2>&5
76947 ac_status=$?
76948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76951 (eval $ac_try) 2>&5
76952 ac_status=$?
76953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76954 (exit $ac_status); }; }; then
76955 chktls_save_LDFLAGS="$LDFLAGS"
76956 LDFLAGS="-static $LDFLAGS"
76957 if test x$gcc_no_link = xyes; then
76958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76960 { (exit 1); exit 1; }; }
76961 fi
76962 cat >conftest.$ac_ext <<_ACEOF
76963 int main() { return 0; }
76964 _ACEOF
76965 rm -f conftest.$ac_objext conftest$ac_exeext
76966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76967 (eval $ac_link) 2>conftest.er1
76968 ac_status=$?
76969 grep -v '^ *+' conftest.er1 >conftest.err
76970 rm -f conftest.er1
76971 cat conftest.err >&5
76972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76973 (exit $ac_status); } &&
76974 { ac_try='test -z "$ac_c_werror_flag"
76975 || test ! -s conftest.err'
76976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76977 (eval $ac_try) 2>&5
76978 ac_status=$?
76979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76980 (exit $ac_status); }; } &&
76981 { ac_try='test -s conftest$ac_exeext'
76982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76983 (eval $ac_try) 2>&5
76984 ac_status=$?
76985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76986 (exit $ac_status); }; }; then
76987 if test "$cross_compiling" = yes; then
76988 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
76989 echo "$as_me: error: in \`$ac_pwd':" >&2;}
76990 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
76991 See \`config.log' for more details." >&5
76992 echo "$as_me: error: cannot run test program while cross compiling
76993 See \`config.log' for more details." >&2;}
76994 { (exit 1); exit 1; }; }; }
76995 else
76996 cat >conftest.$ac_ext <<_ACEOF
76997 __thread int a; int b; int main() { return a = b; }
76998 _ACEOF
76999 rm -f conftest$ac_exeext
77000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77001 (eval $ac_link) 2>&5
77002 ac_status=$?
77003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77004 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77006 (eval $ac_try) 2>&5
77007 ac_status=$?
77008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77009 (exit $ac_status); }; }; then
77010 gcc_cv_have_tls=yes
77011 else
77012 echo "$as_me: program exited with status $ac_status" >&5
77013 echo "$as_me: failed program was:" >&5
77014 sed 's/^/| /' conftest.$ac_ext >&5
77015
77016 ( exit $ac_status )
77017 gcc_cv_have_tls=no
77018 fi
77019 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77020 fi
77021 else
77022 echo "$as_me: failed program was:" >&5
77023 sed 's/^/| /' conftest.$ac_ext >&5
77024
77025 gcc_cv_have_tls=yes
77026 fi
77027 rm -f conftest.err conftest.$ac_objext \
77028 conftest$ac_exeext conftest.$ac_ext
77029 LDFLAGS="$chktls_save_LDFLAGS"
77030 if test $gcc_cv_have_tls = yes; then
77031 chktls_save_CFLAGS="$CFLAGS"
77032 thread_CFLAGS=failed
77033 for flag in '' '-pthread' '-lpthread'; do
77034 CFLAGS="$flag $chktls_save_CFLAGS"
77035 if test x$gcc_no_link = xyes; then
77036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77038 { (exit 1); exit 1; }; }
77039 fi
77040 cat >conftest.$ac_ext <<_ACEOF
77041 /* confdefs.h. */
77042 _ACEOF
77043 cat confdefs.h >>conftest.$ac_ext
77044 cat >>conftest.$ac_ext <<_ACEOF
77045 /* end confdefs.h. */
77046 #include <pthread.h>
77047 void *g(void *d) { return NULL; }
77048 int
77049 main ()
77050 {
77051 pthread_t t; pthread_create(&t,NULL,g,NULL);
77052 ;
77053 return 0;
77054 }
77055 _ACEOF
77056 rm -f conftest.$ac_objext conftest$ac_exeext
77057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77058 (eval $ac_link) 2>conftest.er1
77059 ac_status=$?
77060 grep -v '^ *+' conftest.er1 >conftest.err
77061 rm -f conftest.er1
77062 cat conftest.err >&5
77063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77064 (exit $ac_status); } &&
77065 { ac_try='test -z "$ac_c_werror_flag"
77066 || test ! -s conftest.err'
77067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77068 (eval $ac_try) 2>&5
77069 ac_status=$?
77070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77071 (exit $ac_status); }; } &&
77072 { ac_try='test -s conftest$ac_exeext'
77073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77074 (eval $ac_try) 2>&5
77075 ac_status=$?
77076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77077 (exit $ac_status); }; }; then
77078 thread_CFLAGS="$flag"
77079 else
77080 echo "$as_me: failed program was:" >&5
77081 sed 's/^/| /' conftest.$ac_ext >&5
77082
77083 fi
77084 rm -f conftest.err conftest.$ac_objext \
77085 conftest$ac_exeext conftest.$ac_ext
77086 if test "X$thread_CFLAGS" != Xfailed; then
77087 break
77088 fi
77089 done
77090 CFLAGS="$chktls_save_CFLAGS"
77091 if test "X$thread_CFLAGS" != Xfailed; then
77092 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
77093 if test "$cross_compiling" = yes; then
77094 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
77095 echo "$as_me: error: in \`$ac_pwd':" >&2;}
77096 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
77097 See \`config.log' for more details." >&5
77098 echo "$as_me: error: cannot run test program while cross compiling
77099 See \`config.log' for more details." >&2;}
77100 { (exit 1); exit 1; }; }; }
77101 else
77102 cat >conftest.$ac_ext <<_ACEOF
77103 /* confdefs.h. */
77104 _ACEOF
77105 cat confdefs.h >>conftest.$ac_ext
77106 cat >>conftest.$ac_ext <<_ACEOF
77107 /* end confdefs.h. */
77108 #include <pthread.h>
77109 __thread int a;
77110 static int *a_in_other_thread;
77111 static void *
77112 thread_func (void *arg)
77113 {
77114 a_in_other_thread = &a;
77115 return (void *)0;
77116 }
77117 int
77118 main ()
77119 {
77120 pthread_t thread;
77121 void *thread_retval;
77122 int *a_in_main_thread;
77123 if (pthread_create (&thread, (pthread_attr_t *)0,
77124 thread_func, (void *)0))
77125 return 0;
77126 a_in_main_thread = &a;
77127 if (pthread_join (thread, &thread_retval))
77128 return 0;
77129 return (a_in_other_thread == a_in_main_thread);
77130 ;
77131 return 0;
77132 }
77133 _ACEOF
77134 rm -f conftest$ac_exeext
77135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77136 (eval $ac_link) 2>&5
77137 ac_status=$?
77138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77141 (eval $ac_try) 2>&5
77142 ac_status=$?
77143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77144 (exit $ac_status); }; }; then
77145 gcc_cv_have_tls=yes
77146 else
77147 echo "$as_me: program exited with status $ac_status" >&5
77148 echo "$as_me: failed program was:" >&5
77149 sed 's/^/| /' conftest.$ac_ext >&5
77150
77151 ( exit $ac_status )
77152 gcc_cv_have_tls=no
77153 fi
77154 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77155 fi
77156 CFLAGS="$chktls_save_CFLAGS"
77157 fi
77158 fi
77159 else
77160 echo "$as_me: program exited with status $ac_status" >&5
77161 echo "$as_me: failed program was:" >&5
77162 sed 's/^/| /' conftest.$ac_ext >&5
77163
77164 ( exit $ac_status )
77165 gcc_cv_have_tls=no
77166 fi
77167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77168 fi
77169 fi
77170 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
77171 echo "${ECHO_T}$gcc_cv_have_tls" >&6
77172 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
77173
77174 cat >>confdefs.h <<\_ACEOF
77175 #define HAVE_TLS 1
77176 _ACEOF
77177
77178 fi
77179 case "$target" in
77180 *-hpux10*)
77181 cat >>confdefs.h <<\_ACEOF
77182 #define HAVE_ISINF 1
77183 _ACEOF
77184
77185 cat >>confdefs.h <<\_ACEOF
77186 #define HAVE_ISINFF 1
77187 _ACEOF
77188
77189 cat >>confdefs.h <<\_ACEOF
77190 #define HAVE_ISNANF 1
77191 _ACEOF
77192
77193 cat >>confdefs.h <<\_ACEOF
77194 #define HAVE_FINITE 1
77195 _ACEOF
77196
77197 cat >>confdefs.h <<\_ACEOF
77198 #define HAVE_FINITEF 1
77199 _ACEOF
77200
77201 ;;
77202 esac
77203 ;;
77204 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77205
77206 # All these tests are for C++; save the language and the compiler flags.
77207 # The CXXFLAGS thing is suspicious, but based on similar bits previously
77208 # found in GLIBCXX_CONFIGURE.
77209
77210
77211 ac_ext=cc
77212 ac_cpp='$CXXCPP $CPPFLAGS'
77213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77216
77217 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77218 ac_save_CXXFLAGS="$CXXFLAGS"
77219
77220 # Check for maintainer-mode bits.
77221 if test x"$USE_MAINTAINER_MODE" = xno; then
77222 WERROR=''
77223 else
77224 WERROR='-Werror'
77225 fi
77226
77227 # Check for -ffunction-sections -fdata-sections
77228 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
77229 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
77230 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
77231 cat >conftest.$ac_ext <<_ACEOF
77232 /* confdefs.h. */
77233 _ACEOF
77234 cat confdefs.h >>conftest.$ac_ext
77235 cat >>conftest.$ac_ext <<_ACEOF
77236 /* end confdefs.h. */
77237 int foo; void bar() { };
77238 int
77239 main ()
77240 {
77241
77242 ;
77243 return 0;
77244 }
77245 _ACEOF
77246 rm -f conftest.$ac_objext
77247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77248 (eval $ac_compile) 2>conftest.er1
77249 ac_status=$?
77250 grep -v '^ *+' conftest.er1 >conftest.err
77251 rm -f conftest.er1
77252 cat conftest.err >&5
77253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77254 (exit $ac_status); } &&
77255 { ac_try='test -z "$ac_cxx_werror_flag"
77256 || test ! -s conftest.err'
77257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77258 (eval $ac_try) 2>&5
77259 ac_status=$?
77260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77261 (exit $ac_status); }; } &&
77262 { ac_try='test -s conftest.$ac_objext'
77263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77264 (eval $ac_try) 2>&5
77265 ac_status=$?
77266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77267 (exit $ac_status); }; }; then
77268 ac_fdsections=yes
77269 else
77270 echo "$as_me: failed program was:" >&5
77271 sed 's/^/| /' conftest.$ac_ext >&5
77272
77273 ac_fdsections=no
77274 fi
77275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77276 if test "$ac_test_CXXFLAGS" = set; then
77277 CXXFLAGS="$ac_save_CXXFLAGS"
77278 else
77279 # this is the suspicious part
77280 CXXFLAGS=''
77281 fi
77282 if test x"$ac_fdsections" = x"yes"; then
77283 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77284 fi
77285 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
77286 echo "${ECHO_T}$ac_fdsections" >&6
77287
77288 ac_ext=c
77289 ac_cpp='$CPP $CPPFLAGS'
77290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77293
77294
77295
77296
77297
77298 # If we're not using GNU ld, then there's no point in even trying these
77299 # tests. Check for that first. We should have already tested for gld
77300 # by now (in libtool), but require it now just to be safe...
77301 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77302 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77303
77304
77305
77306 # The name set by libtool depends on the version of libtool. Shame on us
77307 # for depending on an impl detail, but c'est la vie. Older versions used
77308 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77309 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77310 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77311 # set (hence we're using an older libtool), then set it.
77312 if test x${with_gnu_ld+set} != xset; then
77313 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77314 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77315 with_gnu_ld=no
77316 else
77317 with_gnu_ld=$ac_cv_prog_gnu_ld
77318 fi
77319 fi
77320
77321 # Start by getting the version number. I think the libtool test already
77322 # does some of this, but throws away the result.
77323 glibcxx_ld_is_gold=no
77324 if test x"$with_gnu_ld" = x"yes"; then
77325 echo "$as_me:$LINENO: checking for ld version" >&5
77326 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77327
77328 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
77329 glibcxx_ld_is_gold=yes
77330 fi
77331 ldver=`$LD --version 2>/dev/null | head -1 | \
77332 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
77333
77334 glibcxx_gnu_ld_version=`echo $ldver | \
77335 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77336 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77337 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77338 fi
77339
77340 # Set --gc-sections.
77341 glibcxx_have_gc_sections=no
77342 if test "$glibcxx_ld_is_gold" = "yes"; then
77343 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
77344 glibcxx_have_gc_sections=yes
77345 fi
77346 else
77347 glibcxx_gcsections_min_ld=21602
77348 if test x"$with_gnu_ld" = x"yes" &&
77349 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77350 glibcxx_have_gc_sections=yes
77351 fi
77352 fi
77353 if test "$glibcxx_have_gc_sections" = "yes"; then
77354 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77355 # NB: This flag only works reliably after 2.16.1. Configure tests
77356 # for this are difficult, so hard wire a value that should work.
77357
77358 ac_test_CFLAGS="${CFLAGS+set}"
77359 ac_save_CFLAGS="$CFLAGS"
77360 CFLAGS='-Wl,--gc-sections'
77361
77362 # Check for -Wl,--gc-sections
77363 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77364 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77365 if test x$gcc_no_link = xyes; then
77366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77368 { (exit 1); exit 1; }; }
77369 fi
77370 cat >conftest.$ac_ext <<_ACEOF
77371 /* confdefs.h. */
77372 _ACEOF
77373 cat confdefs.h >>conftest.$ac_ext
77374 cat >>conftest.$ac_ext <<_ACEOF
77375 /* end confdefs.h. */
77376 int one(void) { return 1; }
77377 int two(void) { return 2; }
77378
77379 int
77380 main ()
77381 {
77382 two();
77383 ;
77384 return 0;
77385 }
77386 _ACEOF
77387 rm -f conftest.$ac_objext conftest$ac_exeext
77388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77389 (eval $ac_link) 2>conftest.er1
77390 ac_status=$?
77391 grep -v '^ *+' conftest.er1 >conftest.err
77392 rm -f conftest.er1
77393 cat conftest.err >&5
77394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77395 (exit $ac_status); } &&
77396 { ac_try='test -z "$ac_c_werror_flag"
77397 || test ! -s conftest.err'
77398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77399 (eval $ac_try) 2>&5
77400 ac_status=$?
77401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77402 (exit $ac_status); }; } &&
77403 { ac_try='test -s conftest$ac_exeext'
77404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77405 (eval $ac_try) 2>&5
77406 ac_status=$?
77407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77408 (exit $ac_status); }; }; then
77409 ac_gcsections=yes
77410 else
77411 echo "$as_me: failed program was:" >&5
77412 sed 's/^/| /' conftest.$ac_ext >&5
77413
77414 ac_gcsections=no
77415 fi
77416 rm -f conftest.err conftest.$ac_objext \
77417 conftest$ac_exeext conftest.$ac_ext
77418 if test "$ac_gcsections" = "yes"; then
77419 rm -f conftest.c
77420 touch conftest.c
77421 if $CC -c conftest.c; then
77422 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77423 grep "Warning: gc-sections option ignored" > /dev/null; then
77424 ac_gcsections=no
77425 fi
77426 fi
77427 rm -f conftest.c conftest.o conftest
77428 fi
77429 if test "$ac_gcsections" = "yes"; then
77430 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77431 fi
77432 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77433 echo "${ECHO_T}$ac_gcsections" >&6
77434
77435 if test "$ac_test_CFLAGS" = set; then
77436 CFLAGS="$ac_save_CFLAGS"
77437 else
77438 # this is the suspicious part
77439 CFLAGS=''
77440 fi
77441 fi
77442
77443 # Set -z,relro.
77444 # Note this is only for shared objects.
77445 ac_ld_relro=no
77446 if test x"$with_gnu_ld" = x"yes"; then
77447 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77448 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77449 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77450 if test -n "$cxx_z_relo"; then
77451 OPT_LDFLAGS="-Wl,-z,relro"
77452 ac_ld_relro=yes
77453 fi
77454 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77455 echo "${ECHO_T}$ac_ld_relro" >&6
77456 fi
77457
77458 # Set linker optimization flags.
77459 if test x"$with_gnu_ld" = x"yes"; then
77460 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77461 fi
77462
77463
77464
77465
77466
77467 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77468 ac_save_CXXFLAGS="$CXXFLAGS"
77469 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77470
77471 echo "$as_me:$LINENO: checking for sin in -lm" >&5
77472 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
77473 if test "${ac_cv_lib_m_sin+set}" = set; then
77474 echo $ECHO_N "(cached) $ECHO_C" >&6
77475 else
77476 ac_check_lib_save_LIBS=$LIBS
77477 LIBS="-lm $LIBS"
77478 if test x$gcc_no_link = xyes; then
77479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77481 { (exit 1); exit 1; }; }
77482 fi
77483 cat >conftest.$ac_ext <<_ACEOF
77484 /* confdefs.h. */
77485 _ACEOF
77486 cat confdefs.h >>conftest.$ac_ext
77487 cat >>conftest.$ac_ext <<_ACEOF
77488 /* end confdefs.h. */
77489
77490 /* Override any gcc2 internal prototype to avoid an error. */
77491 #ifdef __cplusplus
77492 extern "C"
77493 #endif
77494 /* We use char because int might match the return type of a gcc2
77495 builtin and then its argument prototype would still apply. */
77496 char sin ();
77497 int
77498 main ()
77499 {
77500 sin ();
77501 ;
77502 return 0;
77503 }
77504 _ACEOF
77505 rm -f conftest.$ac_objext conftest$ac_exeext
77506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77507 (eval $ac_link) 2>conftest.er1
77508 ac_status=$?
77509 grep -v '^ *+' conftest.er1 >conftest.err
77510 rm -f conftest.er1
77511 cat conftest.err >&5
77512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77513 (exit $ac_status); } &&
77514 { ac_try='test -z "$ac_c_werror_flag"
77515 || test ! -s conftest.err'
77516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77517 (eval $ac_try) 2>&5
77518 ac_status=$?
77519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77520 (exit $ac_status); }; } &&
77521 { ac_try='test -s conftest$ac_exeext'
77522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77523 (eval $ac_try) 2>&5
77524 ac_status=$?
77525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77526 (exit $ac_status); }; }; then
77527 ac_cv_lib_m_sin=yes
77528 else
77529 echo "$as_me: failed program was:" >&5
77530 sed 's/^/| /' conftest.$ac_ext >&5
77531
77532 ac_cv_lib_m_sin=no
77533 fi
77534 rm -f conftest.err conftest.$ac_objext \
77535 conftest$ac_exeext conftest.$ac_ext
77536 LIBS=$ac_check_lib_save_LIBS
77537 fi
77538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
77539 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
77540 if test $ac_cv_lib_m_sin = yes; then
77541 libm="-lm"
77542 fi
77543
77544 ac_save_LIBS="$LIBS"
77545 LIBS="$LIBS $libm"
77546
77547
77548
77549 echo "$as_me:$LINENO: checking for isinf declaration" >&5
77550 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
77551 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
77552 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
77553 echo $ECHO_N "(cached) $ECHO_C" >&6
77554 else
77555
77556
77557
77558 ac_ext=cc
77559 ac_cpp='$CXXCPP $CPPFLAGS'
77560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77563
77564 cat >conftest.$ac_ext <<_ACEOF
77565 /* confdefs.h. */
77566 _ACEOF
77567 cat confdefs.h >>conftest.$ac_ext
77568 cat >>conftest.$ac_ext <<_ACEOF
77569 /* end confdefs.h. */
77570 #include <math.h>
77571 #ifdef HAVE_IEEEFP_H
77572 #include <ieeefp.h>
77573 #endif
77574
77575 int
77576 main ()
77577 {
77578 isinf(0);
77579 ;
77580 return 0;
77581 }
77582 _ACEOF
77583 rm -f conftest.$ac_objext
77584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77585 (eval $ac_compile) 2>conftest.er1
77586 ac_status=$?
77587 grep -v '^ *+' conftest.er1 >conftest.err
77588 rm -f conftest.er1
77589 cat conftest.err >&5
77590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77591 (exit $ac_status); } &&
77592 { ac_try='test -z "$ac_cxx_werror_flag"
77593 || test ! -s conftest.err'
77594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77595 (eval $ac_try) 2>&5
77596 ac_status=$?
77597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77598 (exit $ac_status); }; } &&
77599 { ac_try='test -s conftest.$ac_objext'
77600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77601 (eval $ac_try) 2>&5
77602 ac_status=$?
77603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77604 (exit $ac_status); }; }; then
77605 glibcxx_cv_func_isinf_use=yes
77606 else
77607 echo "$as_me: failed program was:" >&5
77608 sed 's/^/| /' conftest.$ac_ext >&5
77609
77610 glibcxx_cv_func_isinf_use=no
77611 fi
77612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77613 ac_ext=c
77614 ac_cpp='$CPP $CPPFLAGS'
77615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77618
77619
77620 fi
77621
77622 fi
77623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
77624 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
77625
77626 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
77627
77628 for ac_func in isinf
77629 do
77630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77631 echo "$as_me:$LINENO: checking for $ac_func" >&5
77632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77633 if eval "test \"\${$as_ac_var+set}\" = set"; then
77634 echo $ECHO_N "(cached) $ECHO_C" >&6
77635 else
77636 if test x$gcc_no_link = xyes; then
77637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77639 { (exit 1); exit 1; }; }
77640 fi
77641 cat >conftest.$ac_ext <<_ACEOF
77642 /* confdefs.h. */
77643 _ACEOF
77644 cat confdefs.h >>conftest.$ac_ext
77645 cat >>conftest.$ac_ext <<_ACEOF
77646 /* end confdefs.h. */
77647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77649 #define $ac_func innocuous_$ac_func
77650
77651 /* System header to define __stub macros and hopefully few prototypes,
77652 which can conflict with char $ac_func (); below.
77653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77654 <limits.h> exists even on freestanding compilers. */
77655
77656 #ifdef __STDC__
77657 # include <limits.h>
77658 #else
77659 # include <assert.h>
77660 #endif
77661
77662 #undef $ac_func
77663
77664 /* Override any gcc2 internal prototype to avoid an error. */
77665 #ifdef __cplusplus
77666 extern "C"
77667 {
77668 #endif
77669 /* We use char because int might match the return type of a gcc2
77670 builtin and then its argument prototype would still apply. */
77671 char $ac_func ();
77672 /* The GNU C library defines this for functions which it implements
77673 to always fail with ENOSYS. Some functions are actually named
77674 something starting with __ and the normal name is an alias. */
77675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77676 choke me
77677 #else
77678 char (*f) () = $ac_func;
77679 #endif
77680 #ifdef __cplusplus
77681 }
77682 #endif
77683
77684 int
77685 main ()
77686 {
77687 return f != $ac_func;
77688 ;
77689 return 0;
77690 }
77691 _ACEOF
77692 rm -f conftest.$ac_objext conftest$ac_exeext
77693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77694 (eval $ac_link) 2>conftest.er1
77695 ac_status=$?
77696 grep -v '^ *+' conftest.er1 >conftest.err
77697 rm -f conftest.er1
77698 cat conftest.err >&5
77699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77700 (exit $ac_status); } &&
77701 { ac_try='test -z "$ac_c_werror_flag"
77702 || test ! -s conftest.err'
77703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77704 (eval $ac_try) 2>&5
77705 ac_status=$?
77706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77707 (exit $ac_status); }; } &&
77708 { ac_try='test -s conftest$ac_exeext'
77709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77710 (eval $ac_try) 2>&5
77711 ac_status=$?
77712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77713 (exit $ac_status); }; }; then
77714 eval "$as_ac_var=yes"
77715 else
77716 echo "$as_me: failed program was:" >&5
77717 sed 's/^/| /' conftest.$ac_ext >&5
77718
77719 eval "$as_ac_var=no"
77720 fi
77721 rm -f conftest.err conftest.$ac_objext \
77722 conftest$ac_exeext conftest.$ac_ext
77723 fi
77724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77726 if test `eval echo '${'$as_ac_var'}'` = yes; then
77727 cat >>confdefs.h <<_ACEOF
77728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77729 _ACEOF
77730
77731 fi
77732 done
77733
77734 else
77735
77736 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
77737 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
77738 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
77739 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
77740 echo $ECHO_N "(cached) $ECHO_C" >&6
77741 else
77742
77743
77744
77745 ac_ext=cc
77746 ac_cpp='$CXXCPP $CPPFLAGS'
77747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77750
77751 cat >conftest.$ac_ext <<_ACEOF
77752 /* confdefs.h. */
77753 _ACEOF
77754 cat confdefs.h >>conftest.$ac_ext
77755 cat >>conftest.$ac_ext <<_ACEOF
77756 /* end confdefs.h. */
77757 #include <math.h>
77758 #ifdef HAVE_IEEEFP_H
77759 #include <ieeefp.h>
77760 #endif
77761
77762 int
77763 main ()
77764 {
77765 _isinf(0);
77766 ;
77767 return 0;
77768 }
77769 _ACEOF
77770 rm -f conftest.$ac_objext
77771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77772 (eval $ac_compile) 2>conftest.er1
77773 ac_status=$?
77774 grep -v '^ *+' conftest.er1 >conftest.err
77775 rm -f conftest.er1
77776 cat conftest.err >&5
77777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77778 (exit $ac_status); } &&
77779 { ac_try='test -z "$ac_cxx_werror_flag"
77780 || test ! -s conftest.err'
77781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77782 (eval $ac_try) 2>&5
77783 ac_status=$?
77784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77785 (exit $ac_status); }; } &&
77786 { ac_try='test -s conftest.$ac_objext'
77787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77788 (eval $ac_try) 2>&5
77789 ac_status=$?
77790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77791 (exit $ac_status); }; }; then
77792 glibcxx_cv_func__isinf_use=yes
77793 else
77794 echo "$as_me: failed program was:" >&5
77795 sed 's/^/| /' conftest.$ac_ext >&5
77796
77797 glibcxx_cv_func__isinf_use=no
77798 fi
77799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77800 ac_ext=c
77801 ac_cpp='$CPP $CPPFLAGS'
77802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77805
77806
77807 fi
77808
77809 fi
77810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
77811 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
77812
77813 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
77814
77815 for ac_func in _isinf
77816 do
77817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77818 echo "$as_me:$LINENO: checking for $ac_func" >&5
77819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77820 if eval "test \"\${$as_ac_var+set}\" = set"; then
77821 echo $ECHO_N "(cached) $ECHO_C" >&6
77822 else
77823 if test x$gcc_no_link = xyes; then
77824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77826 { (exit 1); exit 1; }; }
77827 fi
77828 cat >conftest.$ac_ext <<_ACEOF
77829 /* confdefs.h. */
77830 _ACEOF
77831 cat confdefs.h >>conftest.$ac_ext
77832 cat >>conftest.$ac_ext <<_ACEOF
77833 /* end confdefs.h. */
77834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77836 #define $ac_func innocuous_$ac_func
77837
77838 /* System header to define __stub macros and hopefully few prototypes,
77839 which can conflict with char $ac_func (); below.
77840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77841 <limits.h> exists even on freestanding compilers. */
77842
77843 #ifdef __STDC__
77844 # include <limits.h>
77845 #else
77846 # include <assert.h>
77847 #endif
77848
77849 #undef $ac_func
77850
77851 /* Override any gcc2 internal prototype to avoid an error. */
77852 #ifdef __cplusplus
77853 extern "C"
77854 {
77855 #endif
77856 /* We use char because int might match the return type of a gcc2
77857 builtin and then its argument prototype would still apply. */
77858 char $ac_func ();
77859 /* The GNU C library defines this for functions which it implements
77860 to always fail with ENOSYS. Some functions are actually named
77861 something starting with __ and the normal name is an alias. */
77862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77863 choke me
77864 #else
77865 char (*f) () = $ac_func;
77866 #endif
77867 #ifdef __cplusplus
77868 }
77869 #endif
77870
77871 int
77872 main ()
77873 {
77874 return f != $ac_func;
77875 ;
77876 return 0;
77877 }
77878 _ACEOF
77879 rm -f conftest.$ac_objext conftest$ac_exeext
77880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77881 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
77902 else
77903 echo "$as_me: failed program was:" >&5
77904 sed 's/^/| /' conftest.$ac_ext >&5
77905
77906 eval "$as_ac_var=no"
77907 fi
77908 rm -f conftest.err conftest.$ac_objext \
77909 conftest$ac_exeext conftest.$ac_ext
77910 fi
77911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77913 if test `eval echo '${'$as_ac_var'}'` = yes; then
77914 cat >>confdefs.h <<_ACEOF
77915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77916 _ACEOF
77917
77918 fi
77919 done
77920
77921 fi
77922 fi
77923
77924
77925
77926
77927
77928
77929 echo "$as_me:$LINENO: checking for isnan declaration" >&5
77930 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
77931 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
77932 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
77933 echo $ECHO_N "(cached) $ECHO_C" >&6
77934 else
77935
77936
77937
77938 ac_ext=cc
77939 ac_cpp='$CXXCPP $CPPFLAGS'
77940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77943
77944 cat >conftest.$ac_ext <<_ACEOF
77945 /* confdefs.h. */
77946 _ACEOF
77947 cat confdefs.h >>conftest.$ac_ext
77948 cat >>conftest.$ac_ext <<_ACEOF
77949 /* end confdefs.h. */
77950 #include <math.h>
77951 #ifdef HAVE_IEEEFP_H
77952 #include <ieeefp.h>
77953 #endif
77954
77955 int
77956 main ()
77957 {
77958 isnan(0);
77959 ;
77960 return 0;
77961 }
77962 _ACEOF
77963 rm -f conftest.$ac_objext
77964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77965 (eval $ac_compile) 2>conftest.er1
77966 ac_status=$?
77967 grep -v '^ *+' conftest.er1 >conftest.err
77968 rm -f conftest.er1
77969 cat conftest.err >&5
77970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77971 (exit $ac_status); } &&
77972 { ac_try='test -z "$ac_cxx_werror_flag"
77973 || test ! -s conftest.err'
77974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77975 (eval $ac_try) 2>&5
77976 ac_status=$?
77977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77978 (exit $ac_status); }; } &&
77979 { ac_try='test -s conftest.$ac_objext'
77980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77981 (eval $ac_try) 2>&5
77982 ac_status=$?
77983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77984 (exit $ac_status); }; }; then
77985 glibcxx_cv_func_isnan_use=yes
77986 else
77987 echo "$as_me: failed program was:" >&5
77988 sed 's/^/| /' conftest.$ac_ext >&5
77989
77990 glibcxx_cv_func_isnan_use=no
77991 fi
77992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77993 ac_ext=c
77994 ac_cpp='$CPP $CPPFLAGS'
77995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77998
77999
78000 fi
78001
78002 fi
78003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
78004 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
78005
78006 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
78007
78008 for ac_func in isnan
78009 do
78010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78011 echo "$as_me:$LINENO: checking for $ac_func" >&5
78012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78013 if eval "test \"\${$as_ac_var+set}\" = set"; then
78014 echo $ECHO_N "(cached) $ECHO_C" >&6
78015 else
78016 if test x$gcc_no_link = xyes; then
78017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78019 { (exit 1); exit 1; }; }
78020 fi
78021 cat >conftest.$ac_ext <<_ACEOF
78022 /* confdefs.h. */
78023 _ACEOF
78024 cat confdefs.h >>conftest.$ac_ext
78025 cat >>conftest.$ac_ext <<_ACEOF
78026 /* end confdefs.h. */
78027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78029 #define $ac_func innocuous_$ac_func
78030
78031 /* System header to define __stub macros and hopefully few prototypes,
78032 which can conflict with char $ac_func (); below.
78033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78034 <limits.h> exists even on freestanding compilers. */
78035
78036 #ifdef __STDC__
78037 # include <limits.h>
78038 #else
78039 # include <assert.h>
78040 #endif
78041
78042 #undef $ac_func
78043
78044 /* Override any gcc2 internal prototype to avoid an error. */
78045 #ifdef __cplusplus
78046 extern "C"
78047 {
78048 #endif
78049 /* We use char because int might match the return type of a gcc2
78050 builtin and then its argument prototype would still apply. */
78051 char $ac_func ();
78052 /* The GNU C library defines this for functions which it implements
78053 to always fail with ENOSYS. Some functions are actually named
78054 something starting with __ and the normal name is an alias. */
78055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78056 choke me
78057 #else
78058 char (*f) () = $ac_func;
78059 #endif
78060 #ifdef __cplusplus
78061 }
78062 #endif
78063
78064 int
78065 main ()
78066 {
78067 return f != $ac_func;
78068 ;
78069 return 0;
78070 }
78071 _ACEOF
78072 rm -f conftest.$ac_objext conftest$ac_exeext
78073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78074 (eval $ac_link) 2>conftest.er1
78075 ac_status=$?
78076 grep -v '^ *+' conftest.er1 >conftest.err
78077 rm -f conftest.er1
78078 cat conftest.err >&5
78079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78080 (exit $ac_status); } &&
78081 { ac_try='test -z "$ac_c_werror_flag"
78082 || test ! -s conftest.err'
78083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78084 (eval $ac_try) 2>&5
78085 ac_status=$?
78086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78087 (exit $ac_status); }; } &&
78088 { ac_try='test -s conftest$ac_exeext'
78089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78090 (eval $ac_try) 2>&5
78091 ac_status=$?
78092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78093 (exit $ac_status); }; }; then
78094 eval "$as_ac_var=yes"
78095 else
78096 echo "$as_me: failed program was:" >&5
78097 sed 's/^/| /' conftest.$ac_ext >&5
78098
78099 eval "$as_ac_var=no"
78100 fi
78101 rm -f conftest.err conftest.$ac_objext \
78102 conftest$ac_exeext conftest.$ac_ext
78103 fi
78104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78106 if test `eval echo '${'$as_ac_var'}'` = yes; then
78107 cat >>confdefs.h <<_ACEOF
78108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78109 _ACEOF
78110
78111 fi
78112 done
78113
78114 else
78115
78116 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
78117 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
78118 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
78119 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
78120 echo $ECHO_N "(cached) $ECHO_C" >&6
78121 else
78122
78123
78124
78125 ac_ext=cc
78126 ac_cpp='$CXXCPP $CPPFLAGS'
78127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78130
78131 cat >conftest.$ac_ext <<_ACEOF
78132 /* confdefs.h. */
78133 _ACEOF
78134 cat confdefs.h >>conftest.$ac_ext
78135 cat >>conftest.$ac_ext <<_ACEOF
78136 /* end confdefs.h. */
78137 #include <math.h>
78138 #ifdef HAVE_IEEEFP_H
78139 #include <ieeefp.h>
78140 #endif
78141
78142 int
78143 main ()
78144 {
78145 _isnan(0);
78146 ;
78147 return 0;
78148 }
78149 _ACEOF
78150 rm -f conftest.$ac_objext
78151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78152 (eval $ac_compile) 2>conftest.er1
78153 ac_status=$?
78154 grep -v '^ *+' conftest.er1 >conftest.err
78155 rm -f conftest.er1
78156 cat conftest.err >&5
78157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78158 (exit $ac_status); } &&
78159 { ac_try='test -z "$ac_cxx_werror_flag"
78160 || test ! -s conftest.err'
78161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78162 (eval $ac_try) 2>&5
78163 ac_status=$?
78164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165 (exit $ac_status); }; } &&
78166 { ac_try='test -s conftest.$ac_objext'
78167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78168 (eval $ac_try) 2>&5
78169 ac_status=$?
78170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78171 (exit $ac_status); }; }; then
78172 glibcxx_cv_func__isnan_use=yes
78173 else
78174 echo "$as_me: failed program was:" >&5
78175 sed 's/^/| /' conftest.$ac_ext >&5
78176
78177 glibcxx_cv_func__isnan_use=no
78178 fi
78179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78180 ac_ext=c
78181 ac_cpp='$CPP $CPPFLAGS'
78182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78185
78186
78187 fi
78188
78189 fi
78190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
78191 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
78192
78193 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
78194
78195 for ac_func in _isnan
78196 do
78197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78198 echo "$as_me:$LINENO: checking for $ac_func" >&5
78199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78200 if eval "test \"\${$as_ac_var+set}\" = set"; then
78201 echo $ECHO_N "(cached) $ECHO_C" >&6
78202 else
78203 if test x$gcc_no_link = xyes; then
78204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78206 { (exit 1); exit 1; }; }
78207 fi
78208 cat >conftest.$ac_ext <<_ACEOF
78209 /* confdefs.h. */
78210 _ACEOF
78211 cat confdefs.h >>conftest.$ac_ext
78212 cat >>conftest.$ac_ext <<_ACEOF
78213 /* end confdefs.h. */
78214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78216 #define $ac_func innocuous_$ac_func
78217
78218 /* System header to define __stub macros and hopefully few prototypes,
78219 which can conflict with char $ac_func (); below.
78220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78221 <limits.h> exists even on freestanding compilers. */
78222
78223 #ifdef __STDC__
78224 # include <limits.h>
78225 #else
78226 # include <assert.h>
78227 #endif
78228
78229 #undef $ac_func
78230
78231 /* Override any gcc2 internal prototype to avoid an error. */
78232 #ifdef __cplusplus
78233 extern "C"
78234 {
78235 #endif
78236 /* We use char because int might match the return type of a gcc2
78237 builtin and then its argument prototype would still apply. */
78238 char $ac_func ();
78239 /* The GNU C library defines this for functions which it implements
78240 to always fail with ENOSYS. Some functions are actually named
78241 something starting with __ and the normal name is an alias. */
78242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78243 choke me
78244 #else
78245 char (*f) () = $ac_func;
78246 #endif
78247 #ifdef __cplusplus
78248 }
78249 #endif
78250
78251 int
78252 main ()
78253 {
78254 return f != $ac_func;
78255 ;
78256 return 0;
78257 }
78258 _ACEOF
78259 rm -f conftest.$ac_objext conftest$ac_exeext
78260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78261 (eval $ac_link) 2>conftest.er1
78262 ac_status=$?
78263 grep -v '^ *+' conftest.er1 >conftest.err
78264 rm -f conftest.er1
78265 cat conftest.err >&5
78266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78267 (exit $ac_status); } &&
78268 { ac_try='test -z "$ac_c_werror_flag"
78269 || test ! -s conftest.err'
78270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78271 (eval $ac_try) 2>&5
78272 ac_status=$?
78273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78274 (exit $ac_status); }; } &&
78275 { ac_try='test -s conftest$ac_exeext'
78276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78277 (eval $ac_try) 2>&5
78278 ac_status=$?
78279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78280 (exit $ac_status); }; }; then
78281 eval "$as_ac_var=yes"
78282 else
78283 echo "$as_me: failed program was:" >&5
78284 sed 's/^/| /' conftest.$ac_ext >&5
78285
78286 eval "$as_ac_var=no"
78287 fi
78288 rm -f conftest.err conftest.$ac_objext \
78289 conftest$ac_exeext conftest.$ac_ext
78290 fi
78291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78293 if test `eval echo '${'$as_ac_var'}'` = yes; then
78294 cat >>confdefs.h <<_ACEOF
78295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78296 _ACEOF
78297
78298 fi
78299 done
78300
78301 fi
78302 fi
78303
78304
78305
78306
78307
78308
78309 echo "$as_me:$LINENO: checking for finite declaration" >&5
78310 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
78311 if test x${glibcxx_cv_func_finite_use+set} != xset; then
78312 if test "${glibcxx_cv_func_finite_use+set}" = set; then
78313 echo $ECHO_N "(cached) $ECHO_C" >&6
78314 else
78315
78316
78317
78318 ac_ext=cc
78319 ac_cpp='$CXXCPP $CPPFLAGS'
78320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78323
78324 cat >conftest.$ac_ext <<_ACEOF
78325 /* confdefs.h. */
78326 _ACEOF
78327 cat confdefs.h >>conftest.$ac_ext
78328 cat >>conftest.$ac_ext <<_ACEOF
78329 /* end confdefs.h. */
78330 #include <math.h>
78331 #ifdef HAVE_IEEEFP_H
78332 #include <ieeefp.h>
78333 #endif
78334
78335 int
78336 main ()
78337 {
78338 finite(0);
78339 ;
78340 return 0;
78341 }
78342 _ACEOF
78343 rm -f conftest.$ac_objext
78344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78345 (eval $ac_compile) 2>conftest.er1
78346 ac_status=$?
78347 grep -v '^ *+' conftest.er1 >conftest.err
78348 rm -f conftest.er1
78349 cat conftest.err >&5
78350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78351 (exit $ac_status); } &&
78352 { ac_try='test -z "$ac_cxx_werror_flag"
78353 || test ! -s conftest.err'
78354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78355 (eval $ac_try) 2>&5
78356 ac_status=$?
78357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78358 (exit $ac_status); }; } &&
78359 { ac_try='test -s conftest.$ac_objext'
78360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78361 (eval $ac_try) 2>&5
78362 ac_status=$?
78363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78364 (exit $ac_status); }; }; then
78365 glibcxx_cv_func_finite_use=yes
78366 else
78367 echo "$as_me: failed program was:" >&5
78368 sed 's/^/| /' conftest.$ac_ext >&5
78369
78370 glibcxx_cv_func_finite_use=no
78371 fi
78372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78373 ac_ext=c
78374 ac_cpp='$CPP $CPPFLAGS'
78375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78378
78379
78380 fi
78381
78382 fi
78383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
78384 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
78385
78386 if test x$glibcxx_cv_func_finite_use = x"yes"; then
78387
78388 for ac_func in finite
78389 do
78390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78391 echo "$as_me:$LINENO: checking for $ac_func" >&5
78392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78393 if eval "test \"\${$as_ac_var+set}\" = set"; then
78394 echo $ECHO_N "(cached) $ECHO_C" >&6
78395 else
78396 if test x$gcc_no_link = xyes; then
78397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78399 { (exit 1); exit 1; }; }
78400 fi
78401 cat >conftest.$ac_ext <<_ACEOF
78402 /* confdefs.h. */
78403 _ACEOF
78404 cat confdefs.h >>conftest.$ac_ext
78405 cat >>conftest.$ac_ext <<_ACEOF
78406 /* end confdefs.h. */
78407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78409 #define $ac_func innocuous_$ac_func
78410
78411 /* System header to define __stub macros and hopefully few prototypes,
78412 which can conflict with char $ac_func (); below.
78413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78414 <limits.h> exists even on freestanding compilers. */
78415
78416 #ifdef __STDC__
78417 # include <limits.h>
78418 #else
78419 # include <assert.h>
78420 #endif
78421
78422 #undef $ac_func
78423
78424 /* Override any gcc2 internal prototype to avoid an error. */
78425 #ifdef __cplusplus
78426 extern "C"
78427 {
78428 #endif
78429 /* We use char because int might match the return type of a gcc2
78430 builtin and then its argument prototype would still apply. */
78431 char $ac_func ();
78432 /* The GNU C library defines this for functions which it implements
78433 to always fail with ENOSYS. Some functions are actually named
78434 something starting with __ and the normal name is an alias. */
78435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78436 choke me
78437 #else
78438 char (*f) () = $ac_func;
78439 #endif
78440 #ifdef __cplusplus
78441 }
78442 #endif
78443
78444 int
78445 main ()
78446 {
78447 return f != $ac_func;
78448 ;
78449 return 0;
78450 }
78451 _ACEOF
78452 rm -f conftest.$ac_objext conftest$ac_exeext
78453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78454 (eval $ac_link) 2>conftest.er1
78455 ac_status=$?
78456 grep -v '^ *+' conftest.er1 >conftest.err
78457 rm -f conftest.er1
78458 cat conftest.err >&5
78459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78460 (exit $ac_status); } &&
78461 { ac_try='test -z "$ac_c_werror_flag"
78462 || test ! -s conftest.err'
78463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78464 (eval $ac_try) 2>&5
78465 ac_status=$?
78466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78467 (exit $ac_status); }; } &&
78468 { ac_try='test -s conftest$ac_exeext'
78469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78470 (eval $ac_try) 2>&5
78471 ac_status=$?
78472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78473 (exit $ac_status); }; }; then
78474 eval "$as_ac_var=yes"
78475 else
78476 echo "$as_me: failed program was:" >&5
78477 sed 's/^/| /' conftest.$ac_ext >&5
78478
78479 eval "$as_ac_var=no"
78480 fi
78481 rm -f conftest.err conftest.$ac_objext \
78482 conftest$ac_exeext conftest.$ac_ext
78483 fi
78484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78486 if test `eval echo '${'$as_ac_var'}'` = yes; then
78487 cat >>confdefs.h <<_ACEOF
78488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78489 _ACEOF
78490
78491 fi
78492 done
78493
78494 else
78495
78496 echo "$as_me:$LINENO: checking for _finite declaration" >&5
78497 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
78498 if test x${glibcxx_cv_func__finite_use+set} != xset; then
78499 if test "${glibcxx_cv_func__finite_use+set}" = set; then
78500 echo $ECHO_N "(cached) $ECHO_C" >&6
78501 else
78502
78503
78504
78505 ac_ext=cc
78506 ac_cpp='$CXXCPP $CPPFLAGS'
78507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78510
78511 cat >conftest.$ac_ext <<_ACEOF
78512 /* confdefs.h. */
78513 _ACEOF
78514 cat confdefs.h >>conftest.$ac_ext
78515 cat >>conftest.$ac_ext <<_ACEOF
78516 /* end confdefs.h. */
78517 #include <math.h>
78518 #ifdef HAVE_IEEEFP_H
78519 #include <ieeefp.h>
78520 #endif
78521
78522 int
78523 main ()
78524 {
78525 _finite(0);
78526 ;
78527 return 0;
78528 }
78529 _ACEOF
78530 rm -f conftest.$ac_objext
78531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78532 (eval $ac_compile) 2>conftest.er1
78533 ac_status=$?
78534 grep -v '^ *+' conftest.er1 >conftest.err
78535 rm -f conftest.er1
78536 cat conftest.err >&5
78537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78538 (exit $ac_status); } &&
78539 { ac_try='test -z "$ac_cxx_werror_flag"
78540 || test ! -s conftest.err'
78541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78542 (eval $ac_try) 2>&5
78543 ac_status=$?
78544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78545 (exit $ac_status); }; } &&
78546 { ac_try='test -s conftest.$ac_objext'
78547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78548 (eval $ac_try) 2>&5
78549 ac_status=$?
78550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78551 (exit $ac_status); }; }; then
78552 glibcxx_cv_func__finite_use=yes
78553 else
78554 echo "$as_me: failed program was:" >&5
78555 sed 's/^/| /' conftest.$ac_ext >&5
78556
78557 glibcxx_cv_func__finite_use=no
78558 fi
78559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78560 ac_ext=c
78561 ac_cpp='$CPP $CPPFLAGS'
78562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78565
78566
78567 fi
78568
78569 fi
78570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
78571 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
78572
78573 if test x$glibcxx_cv_func__finite_use = x"yes"; then
78574
78575 for ac_func in _finite
78576 do
78577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78578 echo "$as_me:$LINENO: checking for $ac_func" >&5
78579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78580 if eval "test \"\${$as_ac_var+set}\" = set"; then
78581 echo $ECHO_N "(cached) $ECHO_C" >&6
78582 else
78583 if test x$gcc_no_link = xyes; then
78584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78586 { (exit 1); exit 1; }; }
78587 fi
78588 cat >conftest.$ac_ext <<_ACEOF
78589 /* confdefs.h. */
78590 _ACEOF
78591 cat confdefs.h >>conftest.$ac_ext
78592 cat >>conftest.$ac_ext <<_ACEOF
78593 /* end confdefs.h. */
78594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78596 #define $ac_func innocuous_$ac_func
78597
78598 /* System header to define __stub macros and hopefully few prototypes,
78599 which can conflict with char $ac_func (); below.
78600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78601 <limits.h> exists even on freestanding compilers. */
78602
78603 #ifdef __STDC__
78604 # include <limits.h>
78605 #else
78606 # include <assert.h>
78607 #endif
78608
78609 #undef $ac_func
78610
78611 /* Override any gcc2 internal prototype to avoid an error. */
78612 #ifdef __cplusplus
78613 extern "C"
78614 {
78615 #endif
78616 /* We use char because int might match the return type of a gcc2
78617 builtin and then its argument prototype would still apply. */
78618 char $ac_func ();
78619 /* The GNU C library defines this for functions which it implements
78620 to always fail with ENOSYS. Some functions are actually named
78621 something starting with __ and the normal name is an alias. */
78622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78623 choke me
78624 #else
78625 char (*f) () = $ac_func;
78626 #endif
78627 #ifdef __cplusplus
78628 }
78629 #endif
78630
78631 int
78632 main ()
78633 {
78634 return f != $ac_func;
78635 ;
78636 return 0;
78637 }
78638 _ACEOF
78639 rm -f conftest.$ac_objext conftest$ac_exeext
78640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78641 (eval $ac_link) 2>conftest.er1
78642 ac_status=$?
78643 grep -v '^ *+' conftest.er1 >conftest.err
78644 rm -f conftest.er1
78645 cat conftest.err >&5
78646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78647 (exit $ac_status); } &&
78648 { ac_try='test -z "$ac_c_werror_flag"
78649 || test ! -s conftest.err'
78650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78651 (eval $ac_try) 2>&5
78652 ac_status=$?
78653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78654 (exit $ac_status); }; } &&
78655 { ac_try='test -s conftest$ac_exeext'
78656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78657 (eval $ac_try) 2>&5
78658 ac_status=$?
78659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78660 (exit $ac_status); }; }; then
78661 eval "$as_ac_var=yes"
78662 else
78663 echo "$as_me: failed program was:" >&5
78664 sed 's/^/| /' conftest.$ac_ext >&5
78665
78666 eval "$as_ac_var=no"
78667 fi
78668 rm -f conftest.err conftest.$ac_objext \
78669 conftest$ac_exeext conftest.$ac_ext
78670 fi
78671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78673 if test `eval echo '${'$as_ac_var'}'` = yes; then
78674 cat >>confdefs.h <<_ACEOF
78675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78676 _ACEOF
78677
78678 fi
78679 done
78680
78681 fi
78682 fi
78683
78684
78685
78686
78687
78688
78689 echo "$as_me:$LINENO: checking for sincos declaration" >&5
78690 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
78691 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
78692 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
78693 echo $ECHO_N "(cached) $ECHO_C" >&6
78694 else
78695
78696
78697
78698 ac_ext=cc
78699 ac_cpp='$CXXCPP $CPPFLAGS'
78700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78703
78704 cat >conftest.$ac_ext <<_ACEOF
78705 /* confdefs.h. */
78706 _ACEOF
78707 cat confdefs.h >>conftest.$ac_ext
78708 cat >>conftest.$ac_ext <<_ACEOF
78709 /* end confdefs.h. */
78710 #include <math.h>
78711 int
78712 main ()
78713 {
78714 sincos(0, 0, 0);
78715 ;
78716 return 0;
78717 }
78718 _ACEOF
78719 rm -f conftest.$ac_objext
78720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78721 (eval $ac_compile) 2>conftest.er1
78722 ac_status=$?
78723 grep -v '^ *+' conftest.er1 >conftest.err
78724 rm -f conftest.er1
78725 cat conftest.err >&5
78726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78727 (exit $ac_status); } &&
78728 { ac_try='test -z "$ac_cxx_werror_flag"
78729 || test ! -s conftest.err'
78730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78731 (eval $ac_try) 2>&5
78732 ac_status=$?
78733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78734 (exit $ac_status); }; } &&
78735 { ac_try='test -s conftest.$ac_objext'
78736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78737 (eval $ac_try) 2>&5
78738 ac_status=$?
78739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78740 (exit $ac_status); }; }; then
78741 glibcxx_cv_func_sincos_use=yes
78742 else
78743 echo "$as_me: failed program was:" >&5
78744 sed 's/^/| /' conftest.$ac_ext >&5
78745
78746 glibcxx_cv_func_sincos_use=no
78747 fi
78748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78749 ac_ext=c
78750 ac_cpp='$CPP $CPPFLAGS'
78751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78754
78755
78756 fi
78757
78758 fi
78759 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
78760 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
78761
78762 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
78763
78764 for ac_func in sincos
78765 do
78766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78767 echo "$as_me:$LINENO: checking for $ac_func" >&5
78768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78769 if eval "test \"\${$as_ac_var+set}\" = set"; then
78770 echo $ECHO_N "(cached) $ECHO_C" >&6
78771 else
78772 if test x$gcc_no_link = xyes; then
78773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78775 { (exit 1); exit 1; }; }
78776 fi
78777 cat >conftest.$ac_ext <<_ACEOF
78778 /* confdefs.h. */
78779 _ACEOF
78780 cat confdefs.h >>conftest.$ac_ext
78781 cat >>conftest.$ac_ext <<_ACEOF
78782 /* end confdefs.h. */
78783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78785 #define $ac_func innocuous_$ac_func
78786
78787 /* System header to define __stub macros and hopefully few prototypes,
78788 which can conflict with char $ac_func (); below.
78789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78790 <limits.h> exists even on freestanding compilers. */
78791
78792 #ifdef __STDC__
78793 # include <limits.h>
78794 #else
78795 # include <assert.h>
78796 #endif
78797
78798 #undef $ac_func
78799
78800 /* Override any gcc2 internal prototype to avoid an error. */
78801 #ifdef __cplusplus
78802 extern "C"
78803 {
78804 #endif
78805 /* We use char because int might match the return type of a gcc2
78806 builtin and then its argument prototype would still apply. */
78807 char $ac_func ();
78808 /* The GNU C library defines this for functions which it implements
78809 to always fail with ENOSYS. Some functions are actually named
78810 something starting with __ and the normal name is an alias. */
78811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78812 choke me
78813 #else
78814 char (*f) () = $ac_func;
78815 #endif
78816 #ifdef __cplusplus
78817 }
78818 #endif
78819
78820 int
78821 main ()
78822 {
78823 return f != $ac_func;
78824 ;
78825 return 0;
78826 }
78827 _ACEOF
78828 rm -f conftest.$ac_objext conftest$ac_exeext
78829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78830 (eval $ac_link) 2>conftest.er1
78831 ac_status=$?
78832 grep -v '^ *+' conftest.er1 >conftest.err
78833 rm -f conftest.er1
78834 cat conftest.err >&5
78835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78836 (exit $ac_status); } &&
78837 { ac_try='test -z "$ac_c_werror_flag"
78838 || test ! -s conftest.err'
78839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78840 (eval $ac_try) 2>&5
78841 ac_status=$?
78842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78843 (exit $ac_status); }; } &&
78844 { ac_try='test -s conftest$ac_exeext'
78845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78846 (eval $ac_try) 2>&5
78847 ac_status=$?
78848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78849 (exit $ac_status); }; }; then
78850 eval "$as_ac_var=yes"
78851 else
78852 echo "$as_me: failed program was:" >&5
78853 sed 's/^/| /' conftest.$ac_ext >&5
78854
78855 eval "$as_ac_var=no"
78856 fi
78857 rm -f conftest.err conftest.$ac_objext \
78858 conftest$ac_exeext conftest.$ac_ext
78859 fi
78860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78862 if test `eval echo '${'$as_ac_var'}'` = yes; then
78863 cat >>confdefs.h <<_ACEOF
78864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78865 _ACEOF
78866
78867 fi
78868 done
78869
78870 else
78871
78872 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
78873 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
78874 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
78875 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
78876 echo $ECHO_N "(cached) $ECHO_C" >&6
78877 else
78878
78879
78880
78881 ac_ext=cc
78882 ac_cpp='$CXXCPP $CPPFLAGS'
78883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78886
78887 cat >conftest.$ac_ext <<_ACEOF
78888 /* confdefs.h. */
78889 _ACEOF
78890 cat confdefs.h >>conftest.$ac_ext
78891 cat >>conftest.$ac_ext <<_ACEOF
78892 /* end confdefs.h. */
78893 #include <math.h>
78894 int
78895 main ()
78896 {
78897 _sincos(0, 0, 0);
78898 ;
78899 return 0;
78900 }
78901 _ACEOF
78902 rm -f conftest.$ac_objext
78903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78904 (eval $ac_compile) 2>conftest.er1
78905 ac_status=$?
78906 grep -v '^ *+' conftest.er1 >conftest.err
78907 rm -f conftest.er1
78908 cat conftest.err >&5
78909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78910 (exit $ac_status); } &&
78911 { ac_try='test -z "$ac_cxx_werror_flag"
78912 || test ! -s conftest.err'
78913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78914 (eval $ac_try) 2>&5
78915 ac_status=$?
78916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78917 (exit $ac_status); }; } &&
78918 { ac_try='test -s conftest.$ac_objext'
78919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78920 (eval $ac_try) 2>&5
78921 ac_status=$?
78922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78923 (exit $ac_status); }; }; then
78924 glibcxx_cv_func__sincos_use=yes
78925 else
78926 echo "$as_me: failed program was:" >&5
78927 sed 's/^/| /' conftest.$ac_ext >&5
78928
78929 glibcxx_cv_func__sincos_use=no
78930 fi
78931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78932 ac_ext=c
78933 ac_cpp='$CPP $CPPFLAGS'
78934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78937
78938
78939 fi
78940
78941 fi
78942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
78943 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
78944
78945 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
78946
78947 for ac_func in _sincos
78948 do
78949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78950 echo "$as_me:$LINENO: checking for $ac_func" >&5
78951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78952 if eval "test \"\${$as_ac_var+set}\" = set"; then
78953 echo $ECHO_N "(cached) $ECHO_C" >&6
78954 else
78955 if test x$gcc_no_link = xyes; then
78956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78958 { (exit 1); exit 1; }; }
78959 fi
78960 cat >conftest.$ac_ext <<_ACEOF
78961 /* confdefs.h. */
78962 _ACEOF
78963 cat confdefs.h >>conftest.$ac_ext
78964 cat >>conftest.$ac_ext <<_ACEOF
78965 /* end confdefs.h. */
78966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78968 #define $ac_func innocuous_$ac_func
78969
78970 /* System header to define __stub macros and hopefully few prototypes,
78971 which can conflict with char $ac_func (); below.
78972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78973 <limits.h> exists even on freestanding compilers. */
78974
78975 #ifdef __STDC__
78976 # include <limits.h>
78977 #else
78978 # include <assert.h>
78979 #endif
78980
78981 #undef $ac_func
78982
78983 /* Override any gcc2 internal prototype to avoid an error. */
78984 #ifdef __cplusplus
78985 extern "C"
78986 {
78987 #endif
78988 /* We use char because int might match the return type of a gcc2
78989 builtin and then its argument prototype would still apply. */
78990 char $ac_func ();
78991 /* The GNU C library defines this for functions which it implements
78992 to always fail with ENOSYS. Some functions are actually named
78993 something starting with __ and the normal name is an alias. */
78994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78995 choke me
78996 #else
78997 char (*f) () = $ac_func;
78998 #endif
78999 #ifdef __cplusplus
79000 }
79001 #endif
79002
79003 int
79004 main ()
79005 {
79006 return f != $ac_func;
79007 ;
79008 return 0;
79009 }
79010 _ACEOF
79011 rm -f conftest.$ac_objext conftest$ac_exeext
79012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79013 (eval $ac_link) 2>conftest.er1
79014 ac_status=$?
79015 grep -v '^ *+' conftest.er1 >conftest.err
79016 rm -f conftest.er1
79017 cat conftest.err >&5
79018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79019 (exit $ac_status); } &&
79020 { ac_try='test -z "$ac_c_werror_flag"
79021 || test ! -s conftest.err'
79022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79023 (eval $ac_try) 2>&5
79024 ac_status=$?
79025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79026 (exit $ac_status); }; } &&
79027 { ac_try='test -s conftest$ac_exeext'
79028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79029 (eval $ac_try) 2>&5
79030 ac_status=$?
79031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79032 (exit $ac_status); }; }; then
79033 eval "$as_ac_var=yes"
79034 else
79035 echo "$as_me: failed program was:" >&5
79036 sed 's/^/| /' conftest.$ac_ext >&5
79037
79038 eval "$as_ac_var=no"
79039 fi
79040 rm -f conftest.err conftest.$ac_objext \
79041 conftest$ac_exeext conftest.$ac_ext
79042 fi
79043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79045 if test `eval echo '${'$as_ac_var'}'` = yes; then
79046 cat >>confdefs.h <<_ACEOF
79047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79048 _ACEOF
79049
79050 fi
79051 done
79052
79053 fi
79054 fi
79055
79056
79057
79058
79059
79060
79061 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
79062 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
79063 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
79064 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
79065 echo $ECHO_N "(cached) $ECHO_C" >&6
79066 else
79067
79068
79069
79070 ac_ext=cc
79071 ac_cpp='$CXXCPP $CPPFLAGS'
79072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79075
79076 cat >conftest.$ac_ext <<_ACEOF
79077 /* confdefs.h. */
79078 _ACEOF
79079 cat confdefs.h >>conftest.$ac_ext
79080 cat >>conftest.$ac_ext <<_ACEOF
79081 /* end confdefs.h. */
79082 #include <math.h>
79083 #ifdef HAVE_IEEEFP_H
79084 #include <ieeefp.h>
79085 #endif
79086
79087 int
79088 main ()
79089 {
79090 fpclass(0);
79091 ;
79092 return 0;
79093 }
79094 _ACEOF
79095 rm -f conftest.$ac_objext
79096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79097 (eval $ac_compile) 2>conftest.er1
79098 ac_status=$?
79099 grep -v '^ *+' conftest.er1 >conftest.err
79100 rm -f conftest.er1
79101 cat conftest.err >&5
79102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79103 (exit $ac_status); } &&
79104 { ac_try='test -z "$ac_cxx_werror_flag"
79105 || test ! -s conftest.err'
79106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79107 (eval $ac_try) 2>&5
79108 ac_status=$?
79109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79110 (exit $ac_status); }; } &&
79111 { ac_try='test -s conftest.$ac_objext'
79112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79113 (eval $ac_try) 2>&5
79114 ac_status=$?
79115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79116 (exit $ac_status); }; }; then
79117 glibcxx_cv_func_fpclass_use=yes
79118 else
79119 echo "$as_me: failed program was:" >&5
79120 sed 's/^/| /' conftest.$ac_ext >&5
79121
79122 glibcxx_cv_func_fpclass_use=no
79123 fi
79124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79125 ac_ext=c
79126 ac_cpp='$CPP $CPPFLAGS'
79127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79130
79131
79132 fi
79133
79134 fi
79135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
79136 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
79137
79138 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
79139
79140 for ac_func in fpclass
79141 do
79142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79143 echo "$as_me:$LINENO: checking for $ac_func" >&5
79144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79145 if eval "test \"\${$as_ac_var+set}\" = set"; then
79146 echo $ECHO_N "(cached) $ECHO_C" >&6
79147 else
79148 if test x$gcc_no_link = xyes; then
79149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79151 { (exit 1); exit 1; }; }
79152 fi
79153 cat >conftest.$ac_ext <<_ACEOF
79154 /* confdefs.h. */
79155 _ACEOF
79156 cat confdefs.h >>conftest.$ac_ext
79157 cat >>conftest.$ac_ext <<_ACEOF
79158 /* end confdefs.h. */
79159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79161 #define $ac_func innocuous_$ac_func
79162
79163 /* System header to define __stub macros and hopefully few prototypes,
79164 which can conflict with char $ac_func (); below.
79165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79166 <limits.h> exists even on freestanding compilers. */
79167
79168 #ifdef __STDC__
79169 # include <limits.h>
79170 #else
79171 # include <assert.h>
79172 #endif
79173
79174 #undef $ac_func
79175
79176 /* Override any gcc2 internal prototype to avoid an error. */
79177 #ifdef __cplusplus
79178 extern "C"
79179 {
79180 #endif
79181 /* We use char because int might match the return type of a gcc2
79182 builtin and then its argument prototype would still apply. */
79183 char $ac_func ();
79184 /* The GNU C library defines this for functions which it implements
79185 to always fail with ENOSYS. Some functions are actually named
79186 something starting with __ and the normal name is an alias. */
79187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79188 choke me
79189 #else
79190 char (*f) () = $ac_func;
79191 #endif
79192 #ifdef __cplusplus
79193 }
79194 #endif
79195
79196 int
79197 main ()
79198 {
79199 return f != $ac_func;
79200 ;
79201 return 0;
79202 }
79203 _ACEOF
79204 rm -f conftest.$ac_objext conftest$ac_exeext
79205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79206 (eval $ac_link) 2>conftest.er1
79207 ac_status=$?
79208 grep -v '^ *+' conftest.er1 >conftest.err
79209 rm -f conftest.er1
79210 cat conftest.err >&5
79211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79212 (exit $ac_status); } &&
79213 { ac_try='test -z "$ac_c_werror_flag"
79214 || test ! -s conftest.err'
79215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79216 (eval $ac_try) 2>&5
79217 ac_status=$?
79218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219 (exit $ac_status); }; } &&
79220 { ac_try='test -s conftest$ac_exeext'
79221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79222 (eval $ac_try) 2>&5
79223 ac_status=$?
79224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79225 (exit $ac_status); }; }; then
79226 eval "$as_ac_var=yes"
79227 else
79228 echo "$as_me: failed program was:" >&5
79229 sed 's/^/| /' conftest.$ac_ext >&5
79230
79231 eval "$as_ac_var=no"
79232 fi
79233 rm -f conftest.err conftest.$ac_objext \
79234 conftest$ac_exeext conftest.$ac_ext
79235 fi
79236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79238 if test `eval echo '${'$as_ac_var'}'` = yes; then
79239 cat >>confdefs.h <<_ACEOF
79240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79241 _ACEOF
79242
79243 fi
79244 done
79245
79246 else
79247
79248 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
79249 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
79250 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
79251 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
79252 echo $ECHO_N "(cached) $ECHO_C" >&6
79253 else
79254
79255
79256
79257 ac_ext=cc
79258 ac_cpp='$CXXCPP $CPPFLAGS'
79259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79262
79263 cat >conftest.$ac_ext <<_ACEOF
79264 /* confdefs.h. */
79265 _ACEOF
79266 cat confdefs.h >>conftest.$ac_ext
79267 cat >>conftest.$ac_ext <<_ACEOF
79268 /* end confdefs.h. */
79269 #include <math.h>
79270 #ifdef HAVE_IEEEFP_H
79271 #include <ieeefp.h>
79272 #endif
79273
79274 int
79275 main ()
79276 {
79277 _fpclass(0);
79278 ;
79279 return 0;
79280 }
79281 _ACEOF
79282 rm -f conftest.$ac_objext
79283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79284 (eval $ac_compile) 2>conftest.er1
79285 ac_status=$?
79286 grep -v '^ *+' conftest.er1 >conftest.err
79287 rm -f conftest.er1
79288 cat conftest.err >&5
79289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79290 (exit $ac_status); } &&
79291 { ac_try='test -z "$ac_cxx_werror_flag"
79292 || test ! -s conftest.err'
79293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79294 (eval $ac_try) 2>&5
79295 ac_status=$?
79296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79297 (exit $ac_status); }; } &&
79298 { ac_try='test -s conftest.$ac_objext'
79299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79300 (eval $ac_try) 2>&5
79301 ac_status=$?
79302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79303 (exit $ac_status); }; }; then
79304 glibcxx_cv_func__fpclass_use=yes
79305 else
79306 echo "$as_me: failed program was:" >&5
79307 sed 's/^/| /' conftest.$ac_ext >&5
79308
79309 glibcxx_cv_func__fpclass_use=no
79310 fi
79311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79312 ac_ext=c
79313 ac_cpp='$CPP $CPPFLAGS'
79314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79317
79318
79319 fi
79320
79321 fi
79322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
79323 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
79324
79325 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
79326
79327 for ac_func in _fpclass
79328 do
79329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79330 echo "$as_me:$LINENO: checking for $ac_func" >&5
79331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79332 if eval "test \"\${$as_ac_var+set}\" = set"; then
79333 echo $ECHO_N "(cached) $ECHO_C" >&6
79334 else
79335 if test x$gcc_no_link = xyes; then
79336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79338 { (exit 1); exit 1; }; }
79339 fi
79340 cat >conftest.$ac_ext <<_ACEOF
79341 /* confdefs.h. */
79342 _ACEOF
79343 cat confdefs.h >>conftest.$ac_ext
79344 cat >>conftest.$ac_ext <<_ACEOF
79345 /* end confdefs.h. */
79346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79348 #define $ac_func innocuous_$ac_func
79349
79350 /* System header to define __stub macros and hopefully few prototypes,
79351 which can conflict with char $ac_func (); below.
79352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79353 <limits.h> exists even on freestanding compilers. */
79354
79355 #ifdef __STDC__
79356 # include <limits.h>
79357 #else
79358 # include <assert.h>
79359 #endif
79360
79361 #undef $ac_func
79362
79363 /* Override any gcc2 internal prototype to avoid an error. */
79364 #ifdef __cplusplus
79365 extern "C"
79366 {
79367 #endif
79368 /* We use char because int might match the return type of a gcc2
79369 builtin and then its argument prototype would still apply. */
79370 char $ac_func ();
79371 /* The GNU C library defines this for functions which it implements
79372 to always fail with ENOSYS. Some functions are actually named
79373 something starting with __ and the normal name is an alias. */
79374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79375 choke me
79376 #else
79377 char (*f) () = $ac_func;
79378 #endif
79379 #ifdef __cplusplus
79380 }
79381 #endif
79382
79383 int
79384 main ()
79385 {
79386 return f != $ac_func;
79387 ;
79388 return 0;
79389 }
79390 _ACEOF
79391 rm -f conftest.$ac_objext conftest$ac_exeext
79392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79393 (eval $ac_link) 2>conftest.er1
79394 ac_status=$?
79395 grep -v '^ *+' conftest.er1 >conftest.err
79396 rm -f conftest.er1
79397 cat conftest.err >&5
79398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79399 (exit $ac_status); } &&
79400 { ac_try='test -z "$ac_c_werror_flag"
79401 || test ! -s conftest.err'
79402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79403 (eval $ac_try) 2>&5
79404 ac_status=$?
79405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79406 (exit $ac_status); }; } &&
79407 { ac_try='test -s conftest$ac_exeext'
79408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79409 (eval $ac_try) 2>&5
79410 ac_status=$?
79411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79412 (exit $ac_status); }; }; then
79413 eval "$as_ac_var=yes"
79414 else
79415 echo "$as_me: failed program was:" >&5
79416 sed 's/^/| /' conftest.$ac_ext >&5
79417
79418 eval "$as_ac_var=no"
79419 fi
79420 rm -f conftest.err conftest.$ac_objext \
79421 conftest$ac_exeext conftest.$ac_ext
79422 fi
79423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79425 if test `eval echo '${'$as_ac_var'}'` = yes; then
79426 cat >>confdefs.h <<_ACEOF
79427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79428 _ACEOF
79429
79430 fi
79431 done
79432
79433 fi
79434 fi
79435
79436
79437
79438
79439
79440
79441 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
79442 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
79443 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
79444 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
79445 echo $ECHO_N "(cached) $ECHO_C" >&6
79446 else
79447
79448
79449
79450 ac_ext=cc
79451 ac_cpp='$CXXCPP $CPPFLAGS'
79452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79455
79456 cat >conftest.$ac_ext <<_ACEOF
79457 /* confdefs.h. */
79458 _ACEOF
79459 cat confdefs.h >>conftest.$ac_ext
79460 cat >>conftest.$ac_ext <<_ACEOF
79461 /* end confdefs.h. */
79462 #include <math.h>
79463 #ifdef HAVE_IEEEFP_H
79464 #include <ieeefp.h>
79465 #endif
79466
79467 int
79468 main ()
79469 {
79470 qfpclass(0);
79471 ;
79472 return 0;
79473 }
79474 _ACEOF
79475 rm -f conftest.$ac_objext
79476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79477 (eval $ac_compile) 2>conftest.er1
79478 ac_status=$?
79479 grep -v '^ *+' conftest.er1 >conftest.err
79480 rm -f conftest.er1
79481 cat conftest.err >&5
79482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79483 (exit $ac_status); } &&
79484 { ac_try='test -z "$ac_cxx_werror_flag"
79485 || test ! -s conftest.err'
79486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79487 (eval $ac_try) 2>&5
79488 ac_status=$?
79489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79490 (exit $ac_status); }; } &&
79491 { ac_try='test -s conftest.$ac_objext'
79492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79493 (eval $ac_try) 2>&5
79494 ac_status=$?
79495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79496 (exit $ac_status); }; }; then
79497 glibcxx_cv_func_qfpclass_use=yes
79498 else
79499 echo "$as_me: failed program was:" >&5
79500 sed 's/^/| /' conftest.$ac_ext >&5
79501
79502 glibcxx_cv_func_qfpclass_use=no
79503 fi
79504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79505 ac_ext=c
79506 ac_cpp='$CPP $CPPFLAGS'
79507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79510
79511
79512 fi
79513
79514 fi
79515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
79516 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
79517
79518 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
79519
79520 for ac_func in qfpclass
79521 do
79522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79523 echo "$as_me:$LINENO: checking for $ac_func" >&5
79524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79525 if eval "test \"\${$as_ac_var+set}\" = set"; then
79526 echo $ECHO_N "(cached) $ECHO_C" >&6
79527 else
79528 if test x$gcc_no_link = xyes; then
79529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79531 { (exit 1); exit 1; }; }
79532 fi
79533 cat >conftest.$ac_ext <<_ACEOF
79534 /* confdefs.h. */
79535 _ACEOF
79536 cat confdefs.h >>conftest.$ac_ext
79537 cat >>conftest.$ac_ext <<_ACEOF
79538 /* end confdefs.h. */
79539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79541 #define $ac_func innocuous_$ac_func
79542
79543 /* System header to define __stub macros and hopefully few prototypes,
79544 which can conflict with char $ac_func (); below.
79545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79546 <limits.h> exists even on freestanding compilers. */
79547
79548 #ifdef __STDC__
79549 # include <limits.h>
79550 #else
79551 # include <assert.h>
79552 #endif
79553
79554 #undef $ac_func
79555
79556 /* Override any gcc2 internal prototype to avoid an error. */
79557 #ifdef __cplusplus
79558 extern "C"
79559 {
79560 #endif
79561 /* We use char because int might match the return type of a gcc2
79562 builtin and then its argument prototype would still apply. */
79563 char $ac_func ();
79564 /* The GNU C library defines this for functions which it implements
79565 to always fail with ENOSYS. Some functions are actually named
79566 something starting with __ and the normal name is an alias. */
79567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79568 choke me
79569 #else
79570 char (*f) () = $ac_func;
79571 #endif
79572 #ifdef __cplusplus
79573 }
79574 #endif
79575
79576 int
79577 main ()
79578 {
79579 return f != $ac_func;
79580 ;
79581 return 0;
79582 }
79583 _ACEOF
79584 rm -f conftest.$ac_objext conftest$ac_exeext
79585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79586 (eval $ac_link) 2>conftest.er1
79587 ac_status=$?
79588 grep -v '^ *+' conftest.er1 >conftest.err
79589 rm -f conftest.er1
79590 cat conftest.err >&5
79591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79592 (exit $ac_status); } &&
79593 { ac_try='test -z "$ac_c_werror_flag"
79594 || test ! -s conftest.err'
79595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79596 (eval $ac_try) 2>&5
79597 ac_status=$?
79598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79599 (exit $ac_status); }; } &&
79600 { ac_try='test -s conftest$ac_exeext'
79601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79602 (eval $ac_try) 2>&5
79603 ac_status=$?
79604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79605 (exit $ac_status); }; }; then
79606 eval "$as_ac_var=yes"
79607 else
79608 echo "$as_me: failed program was:" >&5
79609 sed 's/^/| /' conftest.$ac_ext >&5
79610
79611 eval "$as_ac_var=no"
79612 fi
79613 rm -f conftest.err conftest.$ac_objext \
79614 conftest$ac_exeext conftest.$ac_ext
79615 fi
79616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79618 if test `eval echo '${'$as_ac_var'}'` = yes; then
79619 cat >>confdefs.h <<_ACEOF
79620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79621 _ACEOF
79622
79623 fi
79624 done
79625
79626 else
79627
79628 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
79629 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
79630 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
79631 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
79632 echo $ECHO_N "(cached) $ECHO_C" >&6
79633 else
79634
79635
79636
79637 ac_ext=cc
79638 ac_cpp='$CXXCPP $CPPFLAGS'
79639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79642
79643 cat >conftest.$ac_ext <<_ACEOF
79644 /* confdefs.h. */
79645 _ACEOF
79646 cat confdefs.h >>conftest.$ac_ext
79647 cat >>conftest.$ac_ext <<_ACEOF
79648 /* end confdefs.h. */
79649 #include <math.h>
79650 #ifdef HAVE_IEEEFP_H
79651 #include <ieeefp.h>
79652 #endif
79653
79654 int
79655 main ()
79656 {
79657 _qfpclass(0);
79658 ;
79659 return 0;
79660 }
79661 _ACEOF
79662 rm -f conftest.$ac_objext
79663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79664 (eval $ac_compile) 2>conftest.er1
79665 ac_status=$?
79666 grep -v '^ *+' conftest.er1 >conftest.err
79667 rm -f conftest.er1
79668 cat conftest.err >&5
79669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79670 (exit $ac_status); } &&
79671 { ac_try='test -z "$ac_cxx_werror_flag"
79672 || test ! -s conftest.err'
79673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79674 (eval $ac_try) 2>&5
79675 ac_status=$?
79676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79677 (exit $ac_status); }; } &&
79678 { ac_try='test -s conftest.$ac_objext'
79679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79680 (eval $ac_try) 2>&5
79681 ac_status=$?
79682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79683 (exit $ac_status); }; }; then
79684 glibcxx_cv_func__qfpclass_use=yes
79685 else
79686 echo "$as_me: failed program was:" >&5
79687 sed 's/^/| /' conftest.$ac_ext >&5
79688
79689 glibcxx_cv_func__qfpclass_use=no
79690 fi
79691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79692 ac_ext=c
79693 ac_cpp='$CPP $CPPFLAGS'
79694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79697
79698
79699 fi
79700
79701 fi
79702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
79703 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
79704
79705 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
79706
79707 for ac_func in _qfpclass
79708 do
79709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79710 echo "$as_me:$LINENO: checking for $ac_func" >&5
79711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79712 if eval "test \"\${$as_ac_var+set}\" = set"; then
79713 echo $ECHO_N "(cached) $ECHO_C" >&6
79714 else
79715 if test x$gcc_no_link = xyes; then
79716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79718 { (exit 1); exit 1; }; }
79719 fi
79720 cat >conftest.$ac_ext <<_ACEOF
79721 /* confdefs.h. */
79722 _ACEOF
79723 cat confdefs.h >>conftest.$ac_ext
79724 cat >>conftest.$ac_ext <<_ACEOF
79725 /* end confdefs.h. */
79726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79728 #define $ac_func innocuous_$ac_func
79729
79730 /* System header to define __stub macros and hopefully few prototypes,
79731 which can conflict with char $ac_func (); below.
79732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79733 <limits.h> exists even on freestanding compilers. */
79734
79735 #ifdef __STDC__
79736 # include <limits.h>
79737 #else
79738 # include <assert.h>
79739 #endif
79740
79741 #undef $ac_func
79742
79743 /* Override any gcc2 internal prototype to avoid an error. */
79744 #ifdef __cplusplus
79745 extern "C"
79746 {
79747 #endif
79748 /* We use char because int might match the return type of a gcc2
79749 builtin and then its argument prototype would still apply. */
79750 char $ac_func ();
79751 /* The GNU C library defines this for functions which it implements
79752 to always fail with ENOSYS. Some functions are actually named
79753 something starting with __ and the normal name is an alias. */
79754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79755 choke me
79756 #else
79757 char (*f) () = $ac_func;
79758 #endif
79759 #ifdef __cplusplus
79760 }
79761 #endif
79762
79763 int
79764 main ()
79765 {
79766 return f != $ac_func;
79767 ;
79768 return 0;
79769 }
79770 _ACEOF
79771 rm -f conftest.$ac_objext conftest$ac_exeext
79772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79773 (eval $ac_link) 2>conftest.er1
79774 ac_status=$?
79775 grep -v '^ *+' conftest.er1 >conftest.err
79776 rm -f conftest.er1
79777 cat conftest.err >&5
79778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79779 (exit $ac_status); } &&
79780 { ac_try='test -z "$ac_c_werror_flag"
79781 || test ! -s conftest.err'
79782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79783 (eval $ac_try) 2>&5
79784 ac_status=$?
79785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79786 (exit $ac_status); }; } &&
79787 { ac_try='test -s conftest$ac_exeext'
79788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79789 (eval $ac_try) 2>&5
79790 ac_status=$?
79791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79792 (exit $ac_status); }; }; then
79793 eval "$as_ac_var=yes"
79794 else
79795 echo "$as_me: failed program was:" >&5
79796 sed 's/^/| /' conftest.$ac_ext >&5
79797
79798 eval "$as_ac_var=no"
79799 fi
79800 rm -f conftest.err conftest.$ac_objext \
79801 conftest$ac_exeext conftest.$ac_ext
79802 fi
79803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79805 if test `eval echo '${'$as_ac_var'}'` = yes; then
79806 cat >>confdefs.h <<_ACEOF
79807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79808 _ACEOF
79809
79810 fi
79811 done
79812
79813 fi
79814 fi
79815
79816
79817
79818
79819
79820
79821 echo "$as_me:$LINENO: checking for hypot declaration" >&5
79822 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
79823 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
79824 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
79825 echo $ECHO_N "(cached) $ECHO_C" >&6
79826 else
79827
79828
79829
79830 ac_ext=cc
79831 ac_cpp='$CXXCPP $CPPFLAGS'
79832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79835
79836 cat >conftest.$ac_ext <<_ACEOF
79837 /* confdefs.h. */
79838 _ACEOF
79839 cat confdefs.h >>conftest.$ac_ext
79840 cat >>conftest.$ac_ext <<_ACEOF
79841 /* end confdefs.h. */
79842 #include <math.h>
79843 int
79844 main ()
79845 {
79846 hypot(0, 0);
79847 ;
79848 return 0;
79849 }
79850 _ACEOF
79851 rm -f conftest.$ac_objext
79852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79853 (eval $ac_compile) 2>conftest.er1
79854 ac_status=$?
79855 grep -v '^ *+' conftest.er1 >conftest.err
79856 rm -f conftest.er1
79857 cat conftest.err >&5
79858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79859 (exit $ac_status); } &&
79860 { ac_try='test -z "$ac_cxx_werror_flag"
79861 || test ! -s conftest.err'
79862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79863 (eval $ac_try) 2>&5
79864 ac_status=$?
79865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79866 (exit $ac_status); }; } &&
79867 { ac_try='test -s conftest.$ac_objext'
79868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79869 (eval $ac_try) 2>&5
79870 ac_status=$?
79871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79872 (exit $ac_status); }; }; then
79873 glibcxx_cv_func_hypot_use=yes
79874 else
79875 echo "$as_me: failed program was:" >&5
79876 sed 's/^/| /' conftest.$ac_ext >&5
79877
79878 glibcxx_cv_func_hypot_use=no
79879 fi
79880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79881 ac_ext=c
79882 ac_cpp='$CPP $CPPFLAGS'
79883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79886
79887
79888 fi
79889
79890 fi
79891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
79892 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
79893
79894 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
79895
79896 for ac_func in hypot
79897 do
79898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79899 echo "$as_me:$LINENO: checking for $ac_func" >&5
79900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79901 if eval "test \"\${$as_ac_var+set}\" = set"; then
79902 echo $ECHO_N "(cached) $ECHO_C" >&6
79903 else
79904 if test x$gcc_no_link = xyes; then
79905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79907 { (exit 1); exit 1; }; }
79908 fi
79909 cat >conftest.$ac_ext <<_ACEOF
79910 /* confdefs.h. */
79911 _ACEOF
79912 cat confdefs.h >>conftest.$ac_ext
79913 cat >>conftest.$ac_ext <<_ACEOF
79914 /* end confdefs.h. */
79915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79917 #define $ac_func innocuous_$ac_func
79918
79919 /* System header to define __stub macros and hopefully few prototypes,
79920 which can conflict with char $ac_func (); below.
79921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79922 <limits.h> exists even on freestanding compilers. */
79923
79924 #ifdef __STDC__
79925 # include <limits.h>
79926 #else
79927 # include <assert.h>
79928 #endif
79929
79930 #undef $ac_func
79931
79932 /* Override any gcc2 internal prototype to avoid an error. */
79933 #ifdef __cplusplus
79934 extern "C"
79935 {
79936 #endif
79937 /* We use char because int might match the return type of a gcc2
79938 builtin and then its argument prototype would still apply. */
79939 char $ac_func ();
79940 /* The GNU C library defines this for functions which it implements
79941 to always fail with ENOSYS. Some functions are actually named
79942 something starting with __ and the normal name is an alias. */
79943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79944 choke me
79945 #else
79946 char (*f) () = $ac_func;
79947 #endif
79948 #ifdef __cplusplus
79949 }
79950 #endif
79951
79952 int
79953 main ()
79954 {
79955 return f != $ac_func;
79956 ;
79957 return 0;
79958 }
79959 _ACEOF
79960 rm -f conftest.$ac_objext conftest$ac_exeext
79961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79962 (eval $ac_link) 2>conftest.er1
79963 ac_status=$?
79964 grep -v '^ *+' conftest.er1 >conftest.err
79965 rm -f conftest.er1
79966 cat conftest.err >&5
79967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79968 (exit $ac_status); } &&
79969 { ac_try='test -z "$ac_c_werror_flag"
79970 || test ! -s conftest.err'
79971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79972 (eval $ac_try) 2>&5
79973 ac_status=$?
79974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79975 (exit $ac_status); }; } &&
79976 { ac_try='test -s conftest$ac_exeext'
79977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79978 (eval $ac_try) 2>&5
79979 ac_status=$?
79980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79981 (exit $ac_status); }; }; then
79982 eval "$as_ac_var=yes"
79983 else
79984 echo "$as_me: failed program was:" >&5
79985 sed 's/^/| /' conftest.$ac_ext >&5
79986
79987 eval "$as_ac_var=no"
79988 fi
79989 rm -f conftest.err conftest.$ac_objext \
79990 conftest$ac_exeext conftest.$ac_ext
79991 fi
79992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79994 if test `eval echo '${'$as_ac_var'}'` = yes; then
79995 cat >>confdefs.h <<_ACEOF
79996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79997 _ACEOF
79998
79999 fi
80000 done
80001
80002 else
80003
80004 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
80005 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
80006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
80007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
80008 echo $ECHO_N "(cached) $ECHO_C" >&6
80009 else
80010
80011
80012
80013 ac_ext=cc
80014 ac_cpp='$CXXCPP $CPPFLAGS'
80015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80018
80019 cat >conftest.$ac_ext <<_ACEOF
80020 /* confdefs.h. */
80021 _ACEOF
80022 cat confdefs.h >>conftest.$ac_ext
80023 cat >>conftest.$ac_ext <<_ACEOF
80024 /* end confdefs.h. */
80025 #include <math.h>
80026 int
80027 main ()
80028 {
80029 _hypot(0, 0);
80030 ;
80031 return 0;
80032 }
80033 _ACEOF
80034 rm -f conftest.$ac_objext
80035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80036 (eval $ac_compile) 2>conftest.er1
80037 ac_status=$?
80038 grep -v '^ *+' conftest.er1 >conftest.err
80039 rm -f conftest.er1
80040 cat conftest.err >&5
80041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80042 (exit $ac_status); } &&
80043 { ac_try='test -z "$ac_cxx_werror_flag"
80044 || test ! -s conftest.err'
80045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80046 (eval $ac_try) 2>&5
80047 ac_status=$?
80048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80049 (exit $ac_status); }; } &&
80050 { ac_try='test -s conftest.$ac_objext'
80051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80052 (eval $ac_try) 2>&5
80053 ac_status=$?
80054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80055 (exit $ac_status); }; }; then
80056 glibcxx_cv_func__hypot_use=yes
80057 else
80058 echo "$as_me: failed program was:" >&5
80059 sed 's/^/| /' conftest.$ac_ext >&5
80060
80061 glibcxx_cv_func__hypot_use=no
80062 fi
80063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80064 ac_ext=c
80065 ac_cpp='$CPP $CPPFLAGS'
80066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80069
80070
80071 fi
80072
80073 fi
80074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
80075 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
80076
80077 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
80078
80079 for ac_func in _hypot
80080 do
80081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80082 echo "$as_me:$LINENO: checking for $ac_func" >&5
80083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80084 if eval "test \"\${$as_ac_var+set}\" = set"; then
80085 echo $ECHO_N "(cached) $ECHO_C" >&6
80086 else
80087 if test x$gcc_no_link = xyes; then
80088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80090 { (exit 1); exit 1; }; }
80091 fi
80092 cat >conftest.$ac_ext <<_ACEOF
80093 /* confdefs.h. */
80094 _ACEOF
80095 cat confdefs.h >>conftest.$ac_ext
80096 cat >>conftest.$ac_ext <<_ACEOF
80097 /* end confdefs.h. */
80098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80100 #define $ac_func innocuous_$ac_func
80101
80102 /* System header to define __stub macros and hopefully few prototypes,
80103 which can conflict with char $ac_func (); below.
80104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80105 <limits.h> exists even on freestanding compilers. */
80106
80107 #ifdef __STDC__
80108 # include <limits.h>
80109 #else
80110 # include <assert.h>
80111 #endif
80112
80113 #undef $ac_func
80114
80115 /* Override any gcc2 internal prototype to avoid an error. */
80116 #ifdef __cplusplus
80117 extern "C"
80118 {
80119 #endif
80120 /* We use char because int might match the return type of a gcc2
80121 builtin and then its argument prototype would still apply. */
80122 char $ac_func ();
80123 /* The GNU C library defines this for functions which it implements
80124 to always fail with ENOSYS. Some functions are actually named
80125 something starting with __ and the normal name is an alias. */
80126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80127 choke me
80128 #else
80129 char (*f) () = $ac_func;
80130 #endif
80131 #ifdef __cplusplus
80132 }
80133 #endif
80134
80135 int
80136 main ()
80137 {
80138 return f != $ac_func;
80139 ;
80140 return 0;
80141 }
80142 _ACEOF
80143 rm -f conftest.$ac_objext conftest$ac_exeext
80144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80145 (eval $ac_link) 2>conftest.er1
80146 ac_status=$?
80147 grep -v '^ *+' conftest.er1 >conftest.err
80148 rm -f conftest.er1
80149 cat conftest.err >&5
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); } &&
80152 { ac_try='test -z "$ac_c_werror_flag"
80153 || test ! -s conftest.err'
80154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80155 (eval $ac_try) 2>&5
80156 ac_status=$?
80157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80158 (exit $ac_status); }; } &&
80159 { ac_try='test -s conftest$ac_exeext'
80160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80161 (eval $ac_try) 2>&5
80162 ac_status=$?
80163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80164 (exit $ac_status); }; }; then
80165 eval "$as_ac_var=yes"
80166 else
80167 echo "$as_me: failed program was:" >&5
80168 sed 's/^/| /' conftest.$ac_ext >&5
80169
80170 eval "$as_ac_var=no"
80171 fi
80172 rm -f conftest.err conftest.$ac_objext \
80173 conftest$ac_exeext conftest.$ac_ext
80174 fi
80175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80177 if test `eval echo '${'$as_ac_var'}'` = yes; then
80178 cat >>confdefs.h <<_ACEOF
80179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80180 _ACEOF
80181
80182 fi
80183 done
80184
80185 fi
80186 fi
80187
80188
80189
80190
80191
80192
80193 echo "$as_me:$LINENO: checking for float trig functions" >&5
80194 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
80195 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
80196 echo $ECHO_N "(cached) $ECHO_C" >&6
80197 else
80198
80199
80200
80201 ac_ext=cc
80202 ac_cpp='$CXXCPP $CPPFLAGS'
80203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80206
80207 cat >conftest.$ac_ext <<_ACEOF
80208 /* confdefs.h. */
80209 _ACEOF
80210 cat confdefs.h >>conftest.$ac_ext
80211 cat >>conftest.$ac_ext <<_ACEOF
80212 /* end confdefs.h. */
80213 #include <math.h>
80214 int
80215 main ()
80216 {
80217 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
80218 ;
80219 return 0;
80220 }
80221 _ACEOF
80222 rm -f conftest.$ac_objext
80223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80224 (eval $ac_compile) 2>conftest.er1
80225 ac_status=$?
80226 grep -v '^ *+' conftest.er1 >conftest.err
80227 rm -f conftest.er1
80228 cat conftest.err >&5
80229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80230 (exit $ac_status); } &&
80231 { ac_try='test -z "$ac_cxx_werror_flag"
80232 || test ! -s conftest.err'
80233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80234 (eval $ac_try) 2>&5
80235 ac_status=$?
80236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80237 (exit $ac_status); }; } &&
80238 { ac_try='test -s conftest.$ac_objext'
80239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80240 (eval $ac_try) 2>&5
80241 ac_status=$?
80242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80243 (exit $ac_status); }; }; then
80244 glibcxx_cv_func_float_trig_use=yes
80245 else
80246 echo "$as_me: failed program was:" >&5
80247 sed 's/^/| /' conftest.$ac_ext >&5
80248
80249 glibcxx_cv_func_float_trig_use=no
80250 fi
80251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80252 ac_ext=c
80253 ac_cpp='$CPP $CPPFLAGS'
80254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80257
80258 fi
80259
80260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
80261 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
80262 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
80263
80264
80265
80266
80267
80268
80269
80270
80271
80272 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
80273 do
80274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80275 echo "$as_me:$LINENO: checking for $ac_func" >&5
80276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80277 if eval "test \"\${$as_ac_var+set}\" = set"; then
80278 echo $ECHO_N "(cached) $ECHO_C" >&6
80279 else
80280 if test x$gcc_no_link = xyes; then
80281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80283 { (exit 1); exit 1; }; }
80284 fi
80285 cat >conftest.$ac_ext <<_ACEOF
80286 /* confdefs.h. */
80287 _ACEOF
80288 cat confdefs.h >>conftest.$ac_ext
80289 cat >>conftest.$ac_ext <<_ACEOF
80290 /* end confdefs.h. */
80291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80293 #define $ac_func innocuous_$ac_func
80294
80295 /* System header to define __stub macros and hopefully few prototypes,
80296 which can conflict with char $ac_func (); below.
80297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80298 <limits.h> exists even on freestanding compilers. */
80299
80300 #ifdef __STDC__
80301 # include <limits.h>
80302 #else
80303 # include <assert.h>
80304 #endif
80305
80306 #undef $ac_func
80307
80308 /* Override any gcc2 internal prototype to avoid an error. */
80309 #ifdef __cplusplus
80310 extern "C"
80311 {
80312 #endif
80313 /* We use char because int might match the return type of a gcc2
80314 builtin and then its argument prototype would still apply. */
80315 char $ac_func ();
80316 /* The GNU C library defines this for functions which it implements
80317 to always fail with ENOSYS. Some functions are actually named
80318 something starting with __ and the normal name is an alias. */
80319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80320 choke me
80321 #else
80322 char (*f) () = $ac_func;
80323 #endif
80324 #ifdef __cplusplus
80325 }
80326 #endif
80327
80328 int
80329 main ()
80330 {
80331 return f != $ac_func;
80332 ;
80333 return 0;
80334 }
80335 _ACEOF
80336 rm -f conftest.$ac_objext conftest$ac_exeext
80337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80338 (eval $ac_link) 2>conftest.er1
80339 ac_status=$?
80340 grep -v '^ *+' conftest.er1 >conftest.err
80341 rm -f conftest.er1
80342 cat conftest.err >&5
80343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80344 (exit $ac_status); } &&
80345 { ac_try='test -z "$ac_c_werror_flag"
80346 || test ! -s conftest.err'
80347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80348 (eval $ac_try) 2>&5
80349 ac_status=$?
80350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80351 (exit $ac_status); }; } &&
80352 { ac_try='test -s conftest$ac_exeext'
80353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80354 (eval $ac_try) 2>&5
80355 ac_status=$?
80356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80357 (exit $ac_status); }; }; then
80358 eval "$as_ac_var=yes"
80359 else
80360 echo "$as_me: failed program was:" >&5
80361 sed 's/^/| /' conftest.$ac_ext >&5
80362
80363 eval "$as_ac_var=no"
80364 fi
80365 rm -f conftest.err conftest.$ac_objext \
80366 conftest$ac_exeext conftest.$ac_ext
80367 fi
80368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80370 if test `eval echo '${'$as_ac_var'}'` = yes; then
80371 cat >>confdefs.h <<_ACEOF
80372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80373 _ACEOF
80374
80375 fi
80376 done
80377
80378 else
80379 echo "$as_me:$LINENO: checking for _float trig functions" >&5
80380 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
80381 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
80382 echo $ECHO_N "(cached) $ECHO_C" >&6
80383 else
80384
80385
80386
80387 ac_ext=cc
80388 ac_cpp='$CXXCPP $CPPFLAGS'
80389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80392
80393 cat >conftest.$ac_ext <<_ACEOF
80394 /* confdefs.h. */
80395 _ACEOF
80396 cat confdefs.h >>conftest.$ac_ext
80397 cat >>conftest.$ac_ext <<_ACEOF
80398 /* end confdefs.h. */
80399 #include <math.h>
80400 int
80401 main ()
80402 {
80403 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
80404 ;
80405 return 0;
80406 }
80407 _ACEOF
80408 rm -f conftest.$ac_objext
80409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80410 (eval $ac_compile) 2>conftest.er1
80411 ac_status=$?
80412 grep -v '^ *+' conftest.er1 >conftest.err
80413 rm -f conftest.er1
80414 cat conftest.err >&5
80415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80416 (exit $ac_status); } &&
80417 { ac_try='test -z "$ac_cxx_werror_flag"
80418 || test ! -s conftest.err'
80419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80420 (eval $ac_try) 2>&5
80421 ac_status=$?
80422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80423 (exit $ac_status); }; } &&
80424 { ac_try='test -s conftest.$ac_objext'
80425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80426 (eval $ac_try) 2>&5
80427 ac_status=$?
80428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80429 (exit $ac_status); }; }; then
80430 glibcxx_cv_func__float_trig_use=yes
80431 else
80432 echo "$as_me: failed program was:" >&5
80433 sed 's/^/| /' conftest.$ac_ext >&5
80434
80435 glibcxx_cv_func__float_trig_use=no
80436 fi
80437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80438 ac_ext=c
80439 ac_cpp='$CPP $CPPFLAGS'
80440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80443
80444 fi
80445
80446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
80447 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
80448 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
80449
80450
80451
80452
80453
80454
80455
80456
80457
80458 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
80459 do
80460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80461 echo "$as_me:$LINENO: checking for $ac_func" >&5
80462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80463 if eval "test \"\${$as_ac_var+set}\" = set"; then
80464 echo $ECHO_N "(cached) $ECHO_C" >&6
80465 else
80466 if test x$gcc_no_link = xyes; then
80467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80469 { (exit 1); exit 1; }; }
80470 fi
80471 cat >conftest.$ac_ext <<_ACEOF
80472 /* confdefs.h. */
80473 _ACEOF
80474 cat confdefs.h >>conftest.$ac_ext
80475 cat >>conftest.$ac_ext <<_ACEOF
80476 /* end confdefs.h. */
80477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80479 #define $ac_func innocuous_$ac_func
80480
80481 /* System header to define __stub macros and hopefully few prototypes,
80482 which can conflict with char $ac_func (); below.
80483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80484 <limits.h> exists even on freestanding compilers. */
80485
80486 #ifdef __STDC__
80487 # include <limits.h>
80488 #else
80489 # include <assert.h>
80490 #endif
80491
80492 #undef $ac_func
80493
80494 /* Override any gcc2 internal prototype to avoid an error. */
80495 #ifdef __cplusplus
80496 extern "C"
80497 {
80498 #endif
80499 /* We use char because int might match the return type of a gcc2
80500 builtin and then its argument prototype would still apply. */
80501 char $ac_func ();
80502 /* The GNU C library defines this for functions which it implements
80503 to always fail with ENOSYS. Some functions are actually named
80504 something starting with __ and the normal name is an alias. */
80505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80506 choke me
80507 #else
80508 char (*f) () = $ac_func;
80509 #endif
80510 #ifdef __cplusplus
80511 }
80512 #endif
80513
80514 int
80515 main ()
80516 {
80517 return f != $ac_func;
80518 ;
80519 return 0;
80520 }
80521 _ACEOF
80522 rm -f conftest.$ac_objext conftest$ac_exeext
80523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80524 (eval $ac_link) 2>conftest.er1
80525 ac_status=$?
80526 grep -v '^ *+' conftest.er1 >conftest.err
80527 rm -f conftest.er1
80528 cat conftest.err >&5
80529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530 (exit $ac_status); } &&
80531 { ac_try='test -z "$ac_c_werror_flag"
80532 || test ! -s conftest.err'
80533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80534 (eval $ac_try) 2>&5
80535 ac_status=$?
80536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80537 (exit $ac_status); }; } &&
80538 { ac_try='test -s conftest$ac_exeext'
80539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80540 (eval $ac_try) 2>&5
80541 ac_status=$?
80542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80543 (exit $ac_status); }; }; then
80544 eval "$as_ac_var=yes"
80545 else
80546 echo "$as_me: failed program was:" >&5
80547 sed 's/^/| /' conftest.$ac_ext >&5
80548
80549 eval "$as_ac_var=no"
80550 fi
80551 rm -f conftest.err conftest.$ac_objext \
80552 conftest$ac_exeext conftest.$ac_ext
80553 fi
80554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80556 if test `eval echo '${'$as_ac_var'}'` = yes; then
80557 cat >>confdefs.h <<_ACEOF
80558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80559 _ACEOF
80560
80561 fi
80562 done
80563
80564 fi
80565 fi
80566
80567
80568
80569
80570
80571
80572
80573
80574
80575
80576
80577
80578
80579
80580 echo "$as_me:$LINENO: checking for float round functions" >&5
80581 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
80582 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
80583 echo $ECHO_N "(cached) $ECHO_C" >&6
80584 else
80585
80586
80587
80588 ac_ext=cc
80589 ac_cpp='$CXXCPP $CPPFLAGS'
80590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80593
80594 cat >conftest.$ac_ext <<_ACEOF
80595 /* confdefs.h. */
80596 _ACEOF
80597 cat confdefs.h >>conftest.$ac_ext
80598 cat >>conftest.$ac_ext <<_ACEOF
80599 /* end confdefs.h. */
80600 #include <math.h>
80601 int
80602 main ()
80603 {
80604 ceilf (0); floorf (0);
80605 ;
80606 return 0;
80607 }
80608 _ACEOF
80609 rm -f conftest.$ac_objext
80610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80611 (eval $ac_compile) 2>conftest.er1
80612 ac_status=$?
80613 grep -v '^ *+' conftest.er1 >conftest.err
80614 rm -f conftest.er1
80615 cat conftest.err >&5
80616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80617 (exit $ac_status); } &&
80618 { ac_try='test -z "$ac_cxx_werror_flag"
80619 || test ! -s conftest.err'
80620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80621 (eval $ac_try) 2>&5
80622 ac_status=$?
80623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80624 (exit $ac_status); }; } &&
80625 { ac_try='test -s conftest.$ac_objext'
80626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80627 (eval $ac_try) 2>&5
80628 ac_status=$?
80629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80630 (exit $ac_status); }; }; then
80631 glibcxx_cv_func_float_round_use=yes
80632 else
80633 echo "$as_me: failed program was:" >&5
80634 sed 's/^/| /' conftest.$ac_ext >&5
80635
80636 glibcxx_cv_func_float_round_use=no
80637 fi
80638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80639 ac_ext=c
80640 ac_cpp='$CPP $CPPFLAGS'
80641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80644
80645 fi
80646
80647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
80648 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
80649 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
80650
80651
80652 for ac_func in ceilf floorf
80653 do
80654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80655 echo "$as_me:$LINENO: checking for $ac_func" >&5
80656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80657 if eval "test \"\${$as_ac_var+set}\" = set"; then
80658 echo $ECHO_N "(cached) $ECHO_C" >&6
80659 else
80660 if test x$gcc_no_link = xyes; then
80661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80663 { (exit 1); exit 1; }; }
80664 fi
80665 cat >conftest.$ac_ext <<_ACEOF
80666 /* confdefs.h. */
80667 _ACEOF
80668 cat confdefs.h >>conftest.$ac_ext
80669 cat >>conftest.$ac_ext <<_ACEOF
80670 /* end confdefs.h. */
80671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80673 #define $ac_func innocuous_$ac_func
80674
80675 /* System header to define __stub macros and hopefully few prototypes,
80676 which can conflict with char $ac_func (); below.
80677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80678 <limits.h> exists even on freestanding compilers. */
80679
80680 #ifdef __STDC__
80681 # include <limits.h>
80682 #else
80683 # include <assert.h>
80684 #endif
80685
80686 #undef $ac_func
80687
80688 /* Override any gcc2 internal prototype to avoid an error. */
80689 #ifdef __cplusplus
80690 extern "C"
80691 {
80692 #endif
80693 /* We use char because int might match the return type of a gcc2
80694 builtin and then its argument prototype would still apply. */
80695 char $ac_func ();
80696 /* The GNU C library defines this for functions which it implements
80697 to always fail with ENOSYS. Some functions are actually named
80698 something starting with __ and the normal name is an alias. */
80699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80700 choke me
80701 #else
80702 char (*f) () = $ac_func;
80703 #endif
80704 #ifdef __cplusplus
80705 }
80706 #endif
80707
80708 int
80709 main ()
80710 {
80711 return f != $ac_func;
80712 ;
80713 return 0;
80714 }
80715 _ACEOF
80716 rm -f conftest.$ac_objext conftest$ac_exeext
80717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80718 (eval $ac_link) 2>conftest.er1
80719 ac_status=$?
80720 grep -v '^ *+' conftest.er1 >conftest.err
80721 rm -f conftest.er1
80722 cat conftest.err >&5
80723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80724 (exit $ac_status); } &&
80725 { ac_try='test -z "$ac_c_werror_flag"
80726 || test ! -s conftest.err'
80727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80728 (eval $ac_try) 2>&5
80729 ac_status=$?
80730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80731 (exit $ac_status); }; } &&
80732 { ac_try='test -s conftest$ac_exeext'
80733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80734 (eval $ac_try) 2>&5
80735 ac_status=$?
80736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80737 (exit $ac_status); }; }; then
80738 eval "$as_ac_var=yes"
80739 else
80740 echo "$as_me: failed program was:" >&5
80741 sed 's/^/| /' conftest.$ac_ext >&5
80742
80743 eval "$as_ac_var=no"
80744 fi
80745 rm -f conftest.err conftest.$ac_objext \
80746 conftest$ac_exeext conftest.$ac_ext
80747 fi
80748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80750 if test `eval echo '${'$as_ac_var'}'` = yes; then
80751 cat >>confdefs.h <<_ACEOF
80752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80753 _ACEOF
80754
80755 fi
80756 done
80757
80758 else
80759 echo "$as_me:$LINENO: checking for _float round functions" >&5
80760 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
80761 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
80762 echo $ECHO_N "(cached) $ECHO_C" >&6
80763 else
80764
80765
80766
80767 ac_ext=cc
80768 ac_cpp='$CXXCPP $CPPFLAGS'
80769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80772
80773 cat >conftest.$ac_ext <<_ACEOF
80774 /* confdefs.h. */
80775 _ACEOF
80776 cat confdefs.h >>conftest.$ac_ext
80777 cat >>conftest.$ac_ext <<_ACEOF
80778 /* end confdefs.h. */
80779 #include <math.h>
80780 int
80781 main ()
80782 {
80783 _ceilf (0); _floorf (0);
80784 ;
80785 return 0;
80786 }
80787 _ACEOF
80788 rm -f conftest.$ac_objext
80789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80790 (eval $ac_compile) 2>conftest.er1
80791 ac_status=$?
80792 grep -v '^ *+' conftest.er1 >conftest.err
80793 rm -f conftest.er1
80794 cat conftest.err >&5
80795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80796 (exit $ac_status); } &&
80797 { ac_try='test -z "$ac_cxx_werror_flag"
80798 || test ! -s conftest.err'
80799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80800 (eval $ac_try) 2>&5
80801 ac_status=$?
80802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80803 (exit $ac_status); }; } &&
80804 { ac_try='test -s conftest.$ac_objext'
80805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80806 (eval $ac_try) 2>&5
80807 ac_status=$?
80808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80809 (exit $ac_status); }; }; then
80810 glibcxx_cv_func__float_round_use=yes
80811 else
80812 echo "$as_me: failed program was:" >&5
80813 sed 's/^/| /' conftest.$ac_ext >&5
80814
80815 glibcxx_cv_func__float_round_use=no
80816 fi
80817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80818 ac_ext=c
80819 ac_cpp='$CPP $CPPFLAGS'
80820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80823
80824 fi
80825
80826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
80827 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
80828 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
80829
80830
80831 for ac_func in _ceilf _floorf
80832 do
80833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80834 echo "$as_me:$LINENO: checking for $ac_func" >&5
80835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80836 if eval "test \"\${$as_ac_var+set}\" = set"; then
80837 echo $ECHO_N "(cached) $ECHO_C" >&6
80838 else
80839 if test x$gcc_no_link = xyes; then
80840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80842 { (exit 1); exit 1; }; }
80843 fi
80844 cat >conftest.$ac_ext <<_ACEOF
80845 /* confdefs.h. */
80846 _ACEOF
80847 cat confdefs.h >>conftest.$ac_ext
80848 cat >>conftest.$ac_ext <<_ACEOF
80849 /* end confdefs.h. */
80850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80852 #define $ac_func innocuous_$ac_func
80853
80854 /* System header to define __stub macros and hopefully few prototypes,
80855 which can conflict with char $ac_func (); below.
80856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80857 <limits.h> exists even on freestanding compilers. */
80858
80859 #ifdef __STDC__
80860 # include <limits.h>
80861 #else
80862 # include <assert.h>
80863 #endif
80864
80865 #undef $ac_func
80866
80867 /* Override any gcc2 internal prototype to avoid an error. */
80868 #ifdef __cplusplus
80869 extern "C"
80870 {
80871 #endif
80872 /* We use char because int might match the return type of a gcc2
80873 builtin and then its argument prototype would still apply. */
80874 char $ac_func ();
80875 /* The GNU C library defines this for functions which it implements
80876 to always fail with ENOSYS. Some functions are actually named
80877 something starting with __ and the normal name is an alias. */
80878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80879 choke me
80880 #else
80881 char (*f) () = $ac_func;
80882 #endif
80883 #ifdef __cplusplus
80884 }
80885 #endif
80886
80887 int
80888 main ()
80889 {
80890 return f != $ac_func;
80891 ;
80892 return 0;
80893 }
80894 _ACEOF
80895 rm -f conftest.$ac_objext conftest$ac_exeext
80896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80897 (eval $ac_link) 2>conftest.er1
80898 ac_status=$?
80899 grep -v '^ *+' conftest.er1 >conftest.err
80900 rm -f conftest.er1
80901 cat conftest.err >&5
80902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80903 (exit $ac_status); } &&
80904 { ac_try='test -z "$ac_c_werror_flag"
80905 || test ! -s conftest.err'
80906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80907 (eval $ac_try) 2>&5
80908 ac_status=$?
80909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80910 (exit $ac_status); }; } &&
80911 { ac_try='test -s conftest$ac_exeext'
80912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80913 (eval $ac_try) 2>&5
80914 ac_status=$?
80915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80916 (exit $ac_status); }; }; then
80917 eval "$as_ac_var=yes"
80918 else
80919 echo "$as_me: failed program was:" >&5
80920 sed 's/^/| /' conftest.$ac_ext >&5
80921
80922 eval "$as_ac_var=no"
80923 fi
80924 rm -f conftest.err conftest.$ac_objext \
80925 conftest$ac_exeext conftest.$ac_ext
80926 fi
80927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80929 if test `eval echo '${'$as_ac_var'}'` = yes; then
80930 cat >>confdefs.h <<_ACEOF
80931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80932 _ACEOF
80933
80934 fi
80935 done
80936
80937 fi
80938 fi
80939
80940
80941
80942
80943
80944
80945
80946
80947 echo "$as_me:$LINENO: checking for expf declaration" >&5
80948 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
80949 if test x${glibcxx_cv_func_expf_use+set} != xset; then
80950 if test "${glibcxx_cv_func_expf_use+set}" = set; then
80951 echo $ECHO_N "(cached) $ECHO_C" >&6
80952 else
80953
80954
80955
80956 ac_ext=cc
80957 ac_cpp='$CXXCPP $CPPFLAGS'
80958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80961
80962 cat >conftest.$ac_ext <<_ACEOF
80963 /* confdefs.h. */
80964 _ACEOF
80965 cat confdefs.h >>conftest.$ac_ext
80966 cat >>conftest.$ac_ext <<_ACEOF
80967 /* end confdefs.h. */
80968 #include <math.h>
80969 #ifdef HAVE_IEEEFP_H
80970 #include <ieeefp.h>
80971 #endif
80972
80973 int
80974 main ()
80975 {
80976 expf(0);
80977 ;
80978 return 0;
80979 }
80980 _ACEOF
80981 rm -f conftest.$ac_objext
80982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80983 (eval $ac_compile) 2>conftest.er1
80984 ac_status=$?
80985 grep -v '^ *+' conftest.er1 >conftest.err
80986 rm -f conftest.er1
80987 cat conftest.err >&5
80988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80989 (exit $ac_status); } &&
80990 { ac_try='test -z "$ac_cxx_werror_flag"
80991 || test ! -s conftest.err'
80992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80993 (eval $ac_try) 2>&5
80994 ac_status=$?
80995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80996 (exit $ac_status); }; } &&
80997 { ac_try='test -s conftest.$ac_objext'
80998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80999 (eval $ac_try) 2>&5
81000 ac_status=$?
81001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81002 (exit $ac_status); }; }; then
81003 glibcxx_cv_func_expf_use=yes
81004 else
81005 echo "$as_me: failed program was:" >&5
81006 sed 's/^/| /' conftest.$ac_ext >&5
81007
81008 glibcxx_cv_func_expf_use=no
81009 fi
81010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81011 ac_ext=c
81012 ac_cpp='$CPP $CPPFLAGS'
81013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81016
81017
81018 fi
81019
81020 fi
81021 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
81022 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
81023
81024 if test x$glibcxx_cv_func_expf_use = x"yes"; then
81025
81026 for ac_func in expf
81027 do
81028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81029 echo "$as_me:$LINENO: checking for $ac_func" >&5
81030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81031 if eval "test \"\${$as_ac_var+set}\" = set"; then
81032 echo $ECHO_N "(cached) $ECHO_C" >&6
81033 else
81034 if test x$gcc_no_link = xyes; then
81035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81037 { (exit 1); exit 1; }; }
81038 fi
81039 cat >conftest.$ac_ext <<_ACEOF
81040 /* confdefs.h. */
81041 _ACEOF
81042 cat confdefs.h >>conftest.$ac_ext
81043 cat >>conftest.$ac_ext <<_ACEOF
81044 /* end confdefs.h. */
81045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81047 #define $ac_func innocuous_$ac_func
81048
81049 /* System header to define __stub macros and hopefully few prototypes,
81050 which can conflict with char $ac_func (); below.
81051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81052 <limits.h> exists even on freestanding compilers. */
81053
81054 #ifdef __STDC__
81055 # include <limits.h>
81056 #else
81057 # include <assert.h>
81058 #endif
81059
81060 #undef $ac_func
81061
81062 /* Override any gcc2 internal prototype to avoid an error. */
81063 #ifdef __cplusplus
81064 extern "C"
81065 {
81066 #endif
81067 /* We use char because int might match the return type of a gcc2
81068 builtin and then its argument prototype would still apply. */
81069 char $ac_func ();
81070 /* The GNU C library defines this for functions which it implements
81071 to always fail with ENOSYS. Some functions are actually named
81072 something starting with __ and the normal name is an alias. */
81073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81074 choke me
81075 #else
81076 char (*f) () = $ac_func;
81077 #endif
81078 #ifdef __cplusplus
81079 }
81080 #endif
81081
81082 int
81083 main ()
81084 {
81085 return f != $ac_func;
81086 ;
81087 return 0;
81088 }
81089 _ACEOF
81090 rm -f conftest.$ac_objext conftest$ac_exeext
81091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81092 (eval $ac_link) 2>conftest.er1
81093 ac_status=$?
81094 grep -v '^ *+' conftest.er1 >conftest.err
81095 rm -f conftest.er1
81096 cat conftest.err >&5
81097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81098 (exit $ac_status); } &&
81099 { ac_try='test -z "$ac_c_werror_flag"
81100 || test ! -s conftest.err'
81101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81102 (eval $ac_try) 2>&5
81103 ac_status=$?
81104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81105 (exit $ac_status); }; } &&
81106 { ac_try='test -s conftest$ac_exeext'
81107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81108 (eval $ac_try) 2>&5
81109 ac_status=$?
81110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81111 (exit $ac_status); }; }; then
81112 eval "$as_ac_var=yes"
81113 else
81114 echo "$as_me: failed program was:" >&5
81115 sed 's/^/| /' conftest.$ac_ext >&5
81116
81117 eval "$as_ac_var=no"
81118 fi
81119 rm -f conftest.err conftest.$ac_objext \
81120 conftest$ac_exeext conftest.$ac_ext
81121 fi
81122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81124 if test `eval echo '${'$as_ac_var'}'` = yes; then
81125 cat >>confdefs.h <<_ACEOF
81126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81127 _ACEOF
81128
81129 fi
81130 done
81131
81132 else
81133
81134 echo "$as_me:$LINENO: checking for _expf declaration" >&5
81135 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
81136 if test x${glibcxx_cv_func__expf_use+set} != xset; then
81137 if test "${glibcxx_cv_func__expf_use+set}" = set; then
81138 echo $ECHO_N "(cached) $ECHO_C" >&6
81139 else
81140
81141
81142
81143 ac_ext=cc
81144 ac_cpp='$CXXCPP $CPPFLAGS'
81145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81148
81149 cat >conftest.$ac_ext <<_ACEOF
81150 /* confdefs.h. */
81151 _ACEOF
81152 cat confdefs.h >>conftest.$ac_ext
81153 cat >>conftest.$ac_ext <<_ACEOF
81154 /* end confdefs.h. */
81155 #include <math.h>
81156 #ifdef HAVE_IEEEFP_H
81157 #include <ieeefp.h>
81158 #endif
81159
81160 int
81161 main ()
81162 {
81163 _expf(0);
81164 ;
81165 return 0;
81166 }
81167 _ACEOF
81168 rm -f conftest.$ac_objext
81169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81170 (eval $ac_compile) 2>conftest.er1
81171 ac_status=$?
81172 grep -v '^ *+' conftest.er1 >conftest.err
81173 rm -f conftest.er1
81174 cat conftest.err >&5
81175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81176 (exit $ac_status); } &&
81177 { ac_try='test -z "$ac_cxx_werror_flag"
81178 || test ! -s conftest.err'
81179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81180 (eval $ac_try) 2>&5
81181 ac_status=$?
81182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81183 (exit $ac_status); }; } &&
81184 { ac_try='test -s conftest.$ac_objext'
81185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81186 (eval $ac_try) 2>&5
81187 ac_status=$?
81188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81189 (exit $ac_status); }; }; then
81190 glibcxx_cv_func__expf_use=yes
81191 else
81192 echo "$as_me: failed program was:" >&5
81193 sed 's/^/| /' conftest.$ac_ext >&5
81194
81195 glibcxx_cv_func__expf_use=no
81196 fi
81197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81198 ac_ext=c
81199 ac_cpp='$CPP $CPPFLAGS'
81200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81203
81204
81205 fi
81206
81207 fi
81208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
81209 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
81210
81211 if test x$glibcxx_cv_func__expf_use = x"yes"; then
81212
81213 for ac_func in _expf
81214 do
81215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81216 echo "$as_me:$LINENO: checking for $ac_func" >&5
81217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81218 if eval "test \"\${$as_ac_var+set}\" = set"; then
81219 echo $ECHO_N "(cached) $ECHO_C" >&6
81220 else
81221 if test x$gcc_no_link = xyes; then
81222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81224 { (exit 1); exit 1; }; }
81225 fi
81226 cat >conftest.$ac_ext <<_ACEOF
81227 /* confdefs.h. */
81228 _ACEOF
81229 cat confdefs.h >>conftest.$ac_ext
81230 cat >>conftest.$ac_ext <<_ACEOF
81231 /* end confdefs.h. */
81232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81234 #define $ac_func innocuous_$ac_func
81235
81236 /* System header to define __stub macros and hopefully few prototypes,
81237 which can conflict with char $ac_func (); below.
81238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81239 <limits.h> exists even on freestanding compilers. */
81240
81241 #ifdef __STDC__
81242 # include <limits.h>
81243 #else
81244 # include <assert.h>
81245 #endif
81246
81247 #undef $ac_func
81248
81249 /* Override any gcc2 internal prototype to avoid an error. */
81250 #ifdef __cplusplus
81251 extern "C"
81252 {
81253 #endif
81254 /* We use char because int might match the return type of a gcc2
81255 builtin and then its argument prototype would still apply. */
81256 char $ac_func ();
81257 /* The GNU C library defines this for functions which it implements
81258 to always fail with ENOSYS. Some functions are actually named
81259 something starting with __ and the normal name is an alias. */
81260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81261 choke me
81262 #else
81263 char (*f) () = $ac_func;
81264 #endif
81265 #ifdef __cplusplus
81266 }
81267 #endif
81268
81269 int
81270 main ()
81271 {
81272 return f != $ac_func;
81273 ;
81274 return 0;
81275 }
81276 _ACEOF
81277 rm -f conftest.$ac_objext conftest$ac_exeext
81278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81279 (eval $ac_link) 2>conftest.er1
81280 ac_status=$?
81281 grep -v '^ *+' conftest.er1 >conftest.err
81282 rm -f conftest.er1
81283 cat conftest.err >&5
81284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81285 (exit $ac_status); } &&
81286 { ac_try='test -z "$ac_c_werror_flag"
81287 || test ! -s conftest.err'
81288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81289 (eval $ac_try) 2>&5
81290 ac_status=$?
81291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81292 (exit $ac_status); }; } &&
81293 { ac_try='test -s conftest$ac_exeext'
81294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81295 (eval $ac_try) 2>&5
81296 ac_status=$?
81297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81298 (exit $ac_status); }; }; then
81299 eval "$as_ac_var=yes"
81300 else
81301 echo "$as_me: failed program was:" >&5
81302 sed 's/^/| /' conftest.$ac_ext >&5
81303
81304 eval "$as_ac_var=no"
81305 fi
81306 rm -f conftest.err conftest.$ac_objext \
81307 conftest$ac_exeext conftest.$ac_ext
81308 fi
81309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81311 if test `eval echo '${'$as_ac_var'}'` = yes; then
81312 cat >>confdefs.h <<_ACEOF
81313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81314 _ACEOF
81315
81316 fi
81317 done
81318
81319 fi
81320 fi
81321
81322
81323
81324
81325
81326
81327 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
81328 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
81329 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
81330 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
81331 echo $ECHO_N "(cached) $ECHO_C" >&6
81332 else
81333
81334
81335
81336 ac_ext=cc
81337 ac_cpp='$CXXCPP $CPPFLAGS'
81338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81341
81342 cat >conftest.$ac_ext <<_ACEOF
81343 /* confdefs.h. */
81344 _ACEOF
81345 cat confdefs.h >>conftest.$ac_ext
81346 cat >>conftest.$ac_ext <<_ACEOF
81347 /* end confdefs.h. */
81348 #include <math.h>
81349 #ifdef HAVE_IEEEFP_H
81350 #include <ieeefp.h>
81351 #endif
81352
81353 int
81354 main ()
81355 {
81356 isnanf(0);
81357 ;
81358 return 0;
81359 }
81360 _ACEOF
81361 rm -f conftest.$ac_objext
81362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81363 (eval $ac_compile) 2>conftest.er1
81364 ac_status=$?
81365 grep -v '^ *+' conftest.er1 >conftest.err
81366 rm -f conftest.er1
81367 cat conftest.err >&5
81368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81369 (exit $ac_status); } &&
81370 { ac_try='test -z "$ac_cxx_werror_flag"
81371 || test ! -s conftest.err'
81372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81373 (eval $ac_try) 2>&5
81374 ac_status=$?
81375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81376 (exit $ac_status); }; } &&
81377 { ac_try='test -s conftest.$ac_objext'
81378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81379 (eval $ac_try) 2>&5
81380 ac_status=$?
81381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81382 (exit $ac_status); }; }; then
81383 glibcxx_cv_func_isnanf_use=yes
81384 else
81385 echo "$as_me: failed program was:" >&5
81386 sed 's/^/| /' conftest.$ac_ext >&5
81387
81388 glibcxx_cv_func_isnanf_use=no
81389 fi
81390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81391 ac_ext=c
81392 ac_cpp='$CPP $CPPFLAGS'
81393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81396
81397
81398 fi
81399
81400 fi
81401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
81402 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
81403
81404 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
81405
81406 for ac_func in isnanf
81407 do
81408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81409 echo "$as_me:$LINENO: checking for $ac_func" >&5
81410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81411 if eval "test \"\${$as_ac_var+set}\" = set"; then
81412 echo $ECHO_N "(cached) $ECHO_C" >&6
81413 else
81414 if test x$gcc_no_link = xyes; then
81415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81417 { (exit 1); exit 1; }; }
81418 fi
81419 cat >conftest.$ac_ext <<_ACEOF
81420 /* confdefs.h. */
81421 _ACEOF
81422 cat confdefs.h >>conftest.$ac_ext
81423 cat >>conftest.$ac_ext <<_ACEOF
81424 /* end confdefs.h. */
81425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81427 #define $ac_func innocuous_$ac_func
81428
81429 /* System header to define __stub macros and hopefully few prototypes,
81430 which can conflict with char $ac_func (); below.
81431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81432 <limits.h> exists even on freestanding compilers. */
81433
81434 #ifdef __STDC__
81435 # include <limits.h>
81436 #else
81437 # include <assert.h>
81438 #endif
81439
81440 #undef $ac_func
81441
81442 /* Override any gcc2 internal prototype to avoid an error. */
81443 #ifdef __cplusplus
81444 extern "C"
81445 {
81446 #endif
81447 /* We use char because int might match the return type of a gcc2
81448 builtin and then its argument prototype would still apply. */
81449 char $ac_func ();
81450 /* The GNU C library defines this for functions which it implements
81451 to always fail with ENOSYS. Some functions are actually named
81452 something starting with __ and the normal name is an alias. */
81453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81454 choke me
81455 #else
81456 char (*f) () = $ac_func;
81457 #endif
81458 #ifdef __cplusplus
81459 }
81460 #endif
81461
81462 int
81463 main ()
81464 {
81465 return f != $ac_func;
81466 ;
81467 return 0;
81468 }
81469 _ACEOF
81470 rm -f conftest.$ac_objext conftest$ac_exeext
81471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81472 (eval $ac_link) 2>conftest.er1
81473 ac_status=$?
81474 grep -v '^ *+' conftest.er1 >conftest.err
81475 rm -f conftest.er1
81476 cat conftest.err >&5
81477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81478 (exit $ac_status); } &&
81479 { ac_try='test -z "$ac_c_werror_flag"
81480 || test ! -s conftest.err'
81481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81482 (eval $ac_try) 2>&5
81483 ac_status=$?
81484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81485 (exit $ac_status); }; } &&
81486 { ac_try='test -s conftest$ac_exeext'
81487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81488 (eval $ac_try) 2>&5
81489 ac_status=$?
81490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81491 (exit $ac_status); }; }; then
81492 eval "$as_ac_var=yes"
81493 else
81494 echo "$as_me: failed program was:" >&5
81495 sed 's/^/| /' conftest.$ac_ext >&5
81496
81497 eval "$as_ac_var=no"
81498 fi
81499 rm -f conftest.err conftest.$ac_objext \
81500 conftest$ac_exeext conftest.$ac_ext
81501 fi
81502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81504 if test `eval echo '${'$as_ac_var'}'` = yes; then
81505 cat >>confdefs.h <<_ACEOF
81506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81507 _ACEOF
81508
81509 fi
81510 done
81511
81512 else
81513
81514 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
81515 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
81516 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
81517 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
81518 echo $ECHO_N "(cached) $ECHO_C" >&6
81519 else
81520
81521
81522
81523 ac_ext=cc
81524 ac_cpp='$CXXCPP $CPPFLAGS'
81525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81528
81529 cat >conftest.$ac_ext <<_ACEOF
81530 /* confdefs.h. */
81531 _ACEOF
81532 cat confdefs.h >>conftest.$ac_ext
81533 cat >>conftest.$ac_ext <<_ACEOF
81534 /* end confdefs.h. */
81535 #include <math.h>
81536 #ifdef HAVE_IEEEFP_H
81537 #include <ieeefp.h>
81538 #endif
81539
81540 int
81541 main ()
81542 {
81543 _isnanf(0);
81544 ;
81545 return 0;
81546 }
81547 _ACEOF
81548 rm -f conftest.$ac_objext
81549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81550 (eval $ac_compile) 2>conftest.er1
81551 ac_status=$?
81552 grep -v '^ *+' conftest.er1 >conftest.err
81553 rm -f conftest.er1
81554 cat conftest.err >&5
81555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81556 (exit $ac_status); } &&
81557 { ac_try='test -z "$ac_cxx_werror_flag"
81558 || test ! -s conftest.err'
81559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81560 (eval $ac_try) 2>&5
81561 ac_status=$?
81562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81563 (exit $ac_status); }; } &&
81564 { ac_try='test -s conftest.$ac_objext'
81565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81566 (eval $ac_try) 2>&5
81567 ac_status=$?
81568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81569 (exit $ac_status); }; }; then
81570 glibcxx_cv_func__isnanf_use=yes
81571 else
81572 echo "$as_me: failed program was:" >&5
81573 sed 's/^/| /' conftest.$ac_ext >&5
81574
81575 glibcxx_cv_func__isnanf_use=no
81576 fi
81577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81578 ac_ext=c
81579 ac_cpp='$CPP $CPPFLAGS'
81580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81583
81584
81585 fi
81586
81587 fi
81588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
81589 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
81590
81591 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
81592
81593 for ac_func in _isnanf
81594 do
81595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81596 echo "$as_me:$LINENO: checking for $ac_func" >&5
81597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81598 if eval "test \"\${$as_ac_var+set}\" = set"; then
81599 echo $ECHO_N "(cached) $ECHO_C" >&6
81600 else
81601 if test x$gcc_no_link = xyes; then
81602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81604 { (exit 1); exit 1; }; }
81605 fi
81606 cat >conftest.$ac_ext <<_ACEOF
81607 /* confdefs.h. */
81608 _ACEOF
81609 cat confdefs.h >>conftest.$ac_ext
81610 cat >>conftest.$ac_ext <<_ACEOF
81611 /* end confdefs.h. */
81612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81614 #define $ac_func innocuous_$ac_func
81615
81616 /* System header to define __stub macros and hopefully few prototypes,
81617 which can conflict with char $ac_func (); below.
81618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81619 <limits.h> exists even on freestanding compilers. */
81620
81621 #ifdef __STDC__
81622 # include <limits.h>
81623 #else
81624 # include <assert.h>
81625 #endif
81626
81627 #undef $ac_func
81628
81629 /* Override any gcc2 internal prototype to avoid an error. */
81630 #ifdef __cplusplus
81631 extern "C"
81632 {
81633 #endif
81634 /* We use char because int might match the return type of a gcc2
81635 builtin and then its argument prototype would still apply. */
81636 char $ac_func ();
81637 /* The GNU C library defines this for functions which it implements
81638 to always fail with ENOSYS. Some functions are actually named
81639 something starting with __ and the normal name is an alias. */
81640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81641 choke me
81642 #else
81643 char (*f) () = $ac_func;
81644 #endif
81645 #ifdef __cplusplus
81646 }
81647 #endif
81648
81649 int
81650 main ()
81651 {
81652 return f != $ac_func;
81653 ;
81654 return 0;
81655 }
81656 _ACEOF
81657 rm -f conftest.$ac_objext conftest$ac_exeext
81658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81659 (eval $ac_link) 2>conftest.er1
81660 ac_status=$?
81661 grep -v '^ *+' conftest.er1 >conftest.err
81662 rm -f conftest.er1
81663 cat conftest.err >&5
81664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81665 (exit $ac_status); } &&
81666 { ac_try='test -z "$ac_c_werror_flag"
81667 || test ! -s conftest.err'
81668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81669 (eval $ac_try) 2>&5
81670 ac_status=$?
81671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81672 (exit $ac_status); }; } &&
81673 { ac_try='test -s conftest$ac_exeext'
81674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81675 (eval $ac_try) 2>&5
81676 ac_status=$?
81677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678 (exit $ac_status); }; }; then
81679 eval "$as_ac_var=yes"
81680 else
81681 echo "$as_me: failed program was:" >&5
81682 sed 's/^/| /' conftest.$ac_ext >&5
81683
81684 eval "$as_ac_var=no"
81685 fi
81686 rm -f conftest.err conftest.$ac_objext \
81687 conftest$ac_exeext conftest.$ac_ext
81688 fi
81689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81691 if test `eval echo '${'$as_ac_var'}'` = yes; then
81692 cat >>confdefs.h <<_ACEOF
81693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81694 _ACEOF
81695
81696 fi
81697 done
81698
81699 fi
81700 fi
81701
81702
81703
81704
81705
81706
81707 echo "$as_me:$LINENO: checking for isinff declaration" >&5
81708 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
81709 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
81710 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
81711 echo $ECHO_N "(cached) $ECHO_C" >&6
81712 else
81713
81714
81715
81716 ac_ext=cc
81717 ac_cpp='$CXXCPP $CPPFLAGS'
81718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81721
81722 cat >conftest.$ac_ext <<_ACEOF
81723 /* confdefs.h. */
81724 _ACEOF
81725 cat confdefs.h >>conftest.$ac_ext
81726 cat >>conftest.$ac_ext <<_ACEOF
81727 /* end confdefs.h. */
81728 #include <math.h>
81729 #ifdef HAVE_IEEEFP_H
81730 #include <ieeefp.h>
81731 #endif
81732
81733 int
81734 main ()
81735 {
81736 isinff(0);
81737 ;
81738 return 0;
81739 }
81740 _ACEOF
81741 rm -f conftest.$ac_objext
81742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81743 (eval $ac_compile) 2>conftest.er1
81744 ac_status=$?
81745 grep -v '^ *+' conftest.er1 >conftest.err
81746 rm -f conftest.er1
81747 cat conftest.err >&5
81748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81749 (exit $ac_status); } &&
81750 { ac_try='test -z "$ac_cxx_werror_flag"
81751 || test ! -s conftest.err'
81752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81753 (eval $ac_try) 2>&5
81754 ac_status=$?
81755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81756 (exit $ac_status); }; } &&
81757 { ac_try='test -s conftest.$ac_objext'
81758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81759 (eval $ac_try) 2>&5
81760 ac_status=$?
81761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81762 (exit $ac_status); }; }; then
81763 glibcxx_cv_func_isinff_use=yes
81764 else
81765 echo "$as_me: failed program was:" >&5
81766 sed 's/^/| /' conftest.$ac_ext >&5
81767
81768 glibcxx_cv_func_isinff_use=no
81769 fi
81770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81771 ac_ext=c
81772 ac_cpp='$CPP $CPPFLAGS'
81773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81776
81777
81778 fi
81779
81780 fi
81781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
81782 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
81783
81784 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
81785
81786 for ac_func in isinff
81787 do
81788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81789 echo "$as_me:$LINENO: checking for $ac_func" >&5
81790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81791 if eval "test \"\${$as_ac_var+set}\" = set"; then
81792 echo $ECHO_N "(cached) $ECHO_C" >&6
81793 else
81794 if test x$gcc_no_link = xyes; then
81795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81797 { (exit 1); exit 1; }; }
81798 fi
81799 cat >conftest.$ac_ext <<_ACEOF
81800 /* confdefs.h. */
81801 _ACEOF
81802 cat confdefs.h >>conftest.$ac_ext
81803 cat >>conftest.$ac_ext <<_ACEOF
81804 /* end confdefs.h. */
81805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81807 #define $ac_func innocuous_$ac_func
81808
81809 /* System header to define __stub macros and hopefully few prototypes,
81810 which can conflict with char $ac_func (); below.
81811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81812 <limits.h> exists even on freestanding compilers. */
81813
81814 #ifdef __STDC__
81815 # include <limits.h>
81816 #else
81817 # include <assert.h>
81818 #endif
81819
81820 #undef $ac_func
81821
81822 /* Override any gcc2 internal prototype to avoid an error. */
81823 #ifdef __cplusplus
81824 extern "C"
81825 {
81826 #endif
81827 /* We use char because int might match the return type of a gcc2
81828 builtin and then its argument prototype would still apply. */
81829 char $ac_func ();
81830 /* The GNU C library defines this for functions which it implements
81831 to always fail with ENOSYS. Some functions are actually named
81832 something starting with __ and the normal name is an alias. */
81833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81834 choke me
81835 #else
81836 char (*f) () = $ac_func;
81837 #endif
81838 #ifdef __cplusplus
81839 }
81840 #endif
81841
81842 int
81843 main ()
81844 {
81845 return f != $ac_func;
81846 ;
81847 return 0;
81848 }
81849 _ACEOF
81850 rm -f conftest.$ac_objext conftest$ac_exeext
81851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81852 (eval $ac_link) 2>conftest.er1
81853 ac_status=$?
81854 grep -v '^ *+' conftest.er1 >conftest.err
81855 rm -f conftest.er1
81856 cat conftest.err >&5
81857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81858 (exit $ac_status); } &&
81859 { ac_try='test -z "$ac_c_werror_flag"
81860 || test ! -s conftest.err'
81861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81862 (eval $ac_try) 2>&5
81863 ac_status=$?
81864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81865 (exit $ac_status); }; } &&
81866 { ac_try='test -s conftest$ac_exeext'
81867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81868 (eval $ac_try) 2>&5
81869 ac_status=$?
81870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81871 (exit $ac_status); }; }; then
81872 eval "$as_ac_var=yes"
81873 else
81874 echo "$as_me: failed program was:" >&5
81875 sed 's/^/| /' conftest.$ac_ext >&5
81876
81877 eval "$as_ac_var=no"
81878 fi
81879 rm -f conftest.err conftest.$ac_objext \
81880 conftest$ac_exeext conftest.$ac_ext
81881 fi
81882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81884 if test `eval echo '${'$as_ac_var'}'` = yes; then
81885 cat >>confdefs.h <<_ACEOF
81886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81887 _ACEOF
81888
81889 fi
81890 done
81891
81892 else
81893
81894 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
81895 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
81896 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
81897 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
81898 echo $ECHO_N "(cached) $ECHO_C" >&6
81899 else
81900
81901
81902
81903 ac_ext=cc
81904 ac_cpp='$CXXCPP $CPPFLAGS'
81905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81908
81909 cat >conftest.$ac_ext <<_ACEOF
81910 /* confdefs.h. */
81911 _ACEOF
81912 cat confdefs.h >>conftest.$ac_ext
81913 cat >>conftest.$ac_ext <<_ACEOF
81914 /* end confdefs.h. */
81915 #include <math.h>
81916 #ifdef HAVE_IEEEFP_H
81917 #include <ieeefp.h>
81918 #endif
81919
81920 int
81921 main ()
81922 {
81923 _isinff(0);
81924 ;
81925 return 0;
81926 }
81927 _ACEOF
81928 rm -f conftest.$ac_objext
81929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81930 (eval $ac_compile) 2>conftest.er1
81931 ac_status=$?
81932 grep -v '^ *+' conftest.er1 >conftest.err
81933 rm -f conftest.er1
81934 cat conftest.err >&5
81935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81936 (exit $ac_status); } &&
81937 { ac_try='test -z "$ac_cxx_werror_flag"
81938 || test ! -s conftest.err'
81939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81940 (eval $ac_try) 2>&5
81941 ac_status=$?
81942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81943 (exit $ac_status); }; } &&
81944 { ac_try='test -s conftest.$ac_objext'
81945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81946 (eval $ac_try) 2>&5
81947 ac_status=$?
81948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81949 (exit $ac_status); }; }; then
81950 glibcxx_cv_func__isinff_use=yes
81951 else
81952 echo "$as_me: failed program was:" >&5
81953 sed 's/^/| /' conftest.$ac_ext >&5
81954
81955 glibcxx_cv_func__isinff_use=no
81956 fi
81957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81958 ac_ext=c
81959 ac_cpp='$CPP $CPPFLAGS'
81960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81963
81964
81965 fi
81966
81967 fi
81968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
81969 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
81970
81971 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
81972
81973 for ac_func in _isinff
81974 do
81975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81976 echo "$as_me:$LINENO: checking for $ac_func" >&5
81977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81978 if eval "test \"\${$as_ac_var+set}\" = set"; then
81979 echo $ECHO_N "(cached) $ECHO_C" >&6
81980 else
81981 if test x$gcc_no_link = xyes; then
81982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81984 { (exit 1); exit 1; }; }
81985 fi
81986 cat >conftest.$ac_ext <<_ACEOF
81987 /* confdefs.h. */
81988 _ACEOF
81989 cat confdefs.h >>conftest.$ac_ext
81990 cat >>conftest.$ac_ext <<_ACEOF
81991 /* end confdefs.h. */
81992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81994 #define $ac_func innocuous_$ac_func
81995
81996 /* System header to define __stub macros and hopefully few prototypes,
81997 which can conflict with char $ac_func (); below.
81998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81999 <limits.h> exists even on freestanding compilers. */
82000
82001 #ifdef __STDC__
82002 # include <limits.h>
82003 #else
82004 # include <assert.h>
82005 #endif
82006
82007 #undef $ac_func
82008
82009 /* Override any gcc2 internal prototype to avoid an error. */
82010 #ifdef __cplusplus
82011 extern "C"
82012 {
82013 #endif
82014 /* We use char because int might match the return type of a gcc2
82015 builtin and then its argument prototype would still apply. */
82016 char $ac_func ();
82017 /* The GNU C library defines this for functions which it implements
82018 to always fail with ENOSYS. Some functions are actually named
82019 something starting with __ and the normal name is an alias. */
82020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82021 choke me
82022 #else
82023 char (*f) () = $ac_func;
82024 #endif
82025 #ifdef __cplusplus
82026 }
82027 #endif
82028
82029 int
82030 main ()
82031 {
82032 return f != $ac_func;
82033 ;
82034 return 0;
82035 }
82036 _ACEOF
82037 rm -f conftest.$ac_objext conftest$ac_exeext
82038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82039 (eval $ac_link) 2>conftest.er1
82040 ac_status=$?
82041 grep -v '^ *+' conftest.er1 >conftest.err
82042 rm -f conftest.er1
82043 cat conftest.err >&5
82044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82045 (exit $ac_status); } &&
82046 { ac_try='test -z "$ac_c_werror_flag"
82047 || test ! -s conftest.err'
82048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82049 (eval $ac_try) 2>&5
82050 ac_status=$?
82051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82052 (exit $ac_status); }; } &&
82053 { ac_try='test -s conftest$ac_exeext'
82054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82055 (eval $ac_try) 2>&5
82056 ac_status=$?
82057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82058 (exit $ac_status); }; }; then
82059 eval "$as_ac_var=yes"
82060 else
82061 echo "$as_me: failed program was:" >&5
82062 sed 's/^/| /' conftest.$ac_ext >&5
82063
82064 eval "$as_ac_var=no"
82065 fi
82066 rm -f conftest.err conftest.$ac_objext \
82067 conftest$ac_exeext conftest.$ac_ext
82068 fi
82069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82071 if test `eval echo '${'$as_ac_var'}'` = yes; then
82072 cat >>confdefs.h <<_ACEOF
82073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82074 _ACEOF
82075
82076 fi
82077 done
82078
82079 fi
82080 fi
82081
82082
82083
82084
82085
82086
82087 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
82088 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
82089 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
82090 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
82091 echo $ECHO_N "(cached) $ECHO_C" >&6
82092 else
82093
82094
82095
82096 ac_ext=cc
82097 ac_cpp='$CXXCPP $CPPFLAGS'
82098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82101
82102 cat >conftest.$ac_ext <<_ACEOF
82103 /* confdefs.h. */
82104 _ACEOF
82105 cat confdefs.h >>conftest.$ac_ext
82106 cat >>conftest.$ac_ext <<_ACEOF
82107 /* end confdefs.h. */
82108 #include <math.h>
82109 int
82110 main ()
82111 {
82112 atan2f(0, 0);
82113 ;
82114 return 0;
82115 }
82116 _ACEOF
82117 rm -f conftest.$ac_objext
82118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82119 (eval $ac_compile) 2>conftest.er1
82120 ac_status=$?
82121 grep -v '^ *+' conftest.er1 >conftest.err
82122 rm -f conftest.er1
82123 cat conftest.err >&5
82124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82125 (exit $ac_status); } &&
82126 { ac_try='test -z "$ac_cxx_werror_flag"
82127 || test ! -s conftest.err'
82128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82129 (eval $ac_try) 2>&5
82130 ac_status=$?
82131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82132 (exit $ac_status); }; } &&
82133 { ac_try='test -s conftest.$ac_objext'
82134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82135 (eval $ac_try) 2>&5
82136 ac_status=$?
82137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82138 (exit $ac_status); }; }; then
82139 glibcxx_cv_func_atan2f_use=yes
82140 else
82141 echo "$as_me: failed program was:" >&5
82142 sed 's/^/| /' conftest.$ac_ext >&5
82143
82144 glibcxx_cv_func_atan2f_use=no
82145 fi
82146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82147 ac_ext=c
82148 ac_cpp='$CPP $CPPFLAGS'
82149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82152
82153
82154 fi
82155
82156 fi
82157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
82158 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
82159
82160 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
82161
82162 for ac_func in atan2f
82163 do
82164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82165 echo "$as_me:$LINENO: checking for $ac_func" >&5
82166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82167 if eval "test \"\${$as_ac_var+set}\" = set"; then
82168 echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82170 if test x$gcc_no_link = xyes; then
82171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82173 { (exit 1); exit 1; }; }
82174 fi
82175 cat >conftest.$ac_ext <<_ACEOF
82176 /* confdefs.h. */
82177 _ACEOF
82178 cat confdefs.h >>conftest.$ac_ext
82179 cat >>conftest.$ac_ext <<_ACEOF
82180 /* end confdefs.h. */
82181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82183 #define $ac_func innocuous_$ac_func
82184
82185 /* System header to define __stub macros and hopefully few prototypes,
82186 which can conflict with char $ac_func (); below.
82187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82188 <limits.h> exists even on freestanding compilers. */
82189
82190 #ifdef __STDC__
82191 # include <limits.h>
82192 #else
82193 # include <assert.h>
82194 #endif
82195
82196 #undef $ac_func
82197
82198 /* Override any gcc2 internal prototype to avoid an error. */
82199 #ifdef __cplusplus
82200 extern "C"
82201 {
82202 #endif
82203 /* We use char because int might match the return type of a gcc2
82204 builtin and then its argument prototype would still apply. */
82205 char $ac_func ();
82206 /* The GNU C library defines this for functions which it implements
82207 to always fail with ENOSYS. Some functions are actually named
82208 something starting with __ and the normal name is an alias. */
82209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82210 choke me
82211 #else
82212 char (*f) () = $ac_func;
82213 #endif
82214 #ifdef __cplusplus
82215 }
82216 #endif
82217
82218 int
82219 main ()
82220 {
82221 return f != $ac_func;
82222 ;
82223 return 0;
82224 }
82225 _ACEOF
82226 rm -f conftest.$ac_objext conftest$ac_exeext
82227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82228 (eval $ac_link) 2>conftest.er1
82229 ac_status=$?
82230 grep -v '^ *+' conftest.er1 >conftest.err
82231 rm -f conftest.er1
82232 cat conftest.err >&5
82233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234 (exit $ac_status); } &&
82235 { ac_try='test -z "$ac_c_werror_flag"
82236 || test ! -s conftest.err'
82237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82238 (eval $ac_try) 2>&5
82239 ac_status=$?
82240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82241 (exit $ac_status); }; } &&
82242 { ac_try='test -s conftest$ac_exeext'
82243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82244 (eval $ac_try) 2>&5
82245 ac_status=$?
82246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82247 (exit $ac_status); }; }; then
82248 eval "$as_ac_var=yes"
82249 else
82250 echo "$as_me: failed program was:" >&5
82251 sed 's/^/| /' conftest.$ac_ext >&5
82252
82253 eval "$as_ac_var=no"
82254 fi
82255 rm -f conftest.err conftest.$ac_objext \
82256 conftest$ac_exeext conftest.$ac_ext
82257 fi
82258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82260 if test `eval echo '${'$as_ac_var'}'` = yes; then
82261 cat >>confdefs.h <<_ACEOF
82262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82263 _ACEOF
82264
82265 fi
82266 done
82267
82268 else
82269
82270 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
82271 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
82272 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
82273 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
82274 echo $ECHO_N "(cached) $ECHO_C" >&6
82275 else
82276
82277
82278
82279 ac_ext=cc
82280 ac_cpp='$CXXCPP $CPPFLAGS'
82281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82284
82285 cat >conftest.$ac_ext <<_ACEOF
82286 /* confdefs.h. */
82287 _ACEOF
82288 cat confdefs.h >>conftest.$ac_ext
82289 cat >>conftest.$ac_ext <<_ACEOF
82290 /* end confdefs.h. */
82291 #include <math.h>
82292 int
82293 main ()
82294 {
82295 _atan2f(0, 0);
82296 ;
82297 return 0;
82298 }
82299 _ACEOF
82300 rm -f conftest.$ac_objext
82301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82302 (eval $ac_compile) 2>conftest.er1
82303 ac_status=$?
82304 grep -v '^ *+' conftest.er1 >conftest.err
82305 rm -f conftest.er1
82306 cat conftest.err >&5
82307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82308 (exit $ac_status); } &&
82309 { ac_try='test -z "$ac_cxx_werror_flag"
82310 || test ! -s conftest.err'
82311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82312 (eval $ac_try) 2>&5
82313 ac_status=$?
82314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82315 (exit $ac_status); }; } &&
82316 { ac_try='test -s conftest.$ac_objext'
82317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82318 (eval $ac_try) 2>&5
82319 ac_status=$?
82320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82321 (exit $ac_status); }; }; then
82322 glibcxx_cv_func__atan2f_use=yes
82323 else
82324 echo "$as_me: failed program was:" >&5
82325 sed 's/^/| /' conftest.$ac_ext >&5
82326
82327 glibcxx_cv_func__atan2f_use=no
82328 fi
82329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82330 ac_ext=c
82331 ac_cpp='$CPP $CPPFLAGS'
82332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82335
82336
82337 fi
82338
82339 fi
82340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
82341 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
82342
82343 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
82344
82345 for ac_func in _atan2f
82346 do
82347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82348 echo "$as_me:$LINENO: checking for $ac_func" >&5
82349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82350 if eval "test \"\${$as_ac_var+set}\" = set"; then
82351 echo $ECHO_N "(cached) $ECHO_C" >&6
82352 else
82353 if test x$gcc_no_link = xyes; then
82354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82356 { (exit 1); exit 1; }; }
82357 fi
82358 cat >conftest.$ac_ext <<_ACEOF
82359 /* confdefs.h. */
82360 _ACEOF
82361 cat confdefs.h >>conftest.$ac_ext
82362 cat >>conftest.$ac_ext <<_ACEOF
82363 /* end confdefs.h. */
82364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82366 #define $ac_func innocuous_$ac_func
82367
82368 /* System header to define __stub macros and hopefully few prototypes,
82369 which can conflict with char $ac_func (); below.
82370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82371 <limits.h> exists even on freestanding compilers. */
82372
82373 #ifdef __STDC__
82374 # include <limits.h>
82375 #else
82376 # include <assert.h>
82377 #endif
82378
82379 #undef $ac_func
82380
82381 /* Override any gcc2 internal prototype to avoid an error. */
82382 #ifdef __cplusplus
82383 extern "C"
82384 {
82385 #endif
82386 /* We use char because int might match the return type of a gcc2
82387 builtin and then its argument prototype would still apply. */
82388 char $ac_func ();
82389 /* The GNU C library defines this for functions which it implements
82390 to always fail with ENOSYS. Some functions are actually named
82391 something starting with __ and the normal name is an alias. */
82392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82393 choke me
82394 #else
82395 char (*f) () = $ac_func;
82396 #endif
82397 #ifdef __cplusplus
82398 }
82399 #endif
82400
82401 int
82402 main ()
82403 {
82404 return f != $ac_func;
82405 ;
82406 return 0;
82407 }
82408 _ACEOF
82409 rm -f conftest.$ac_objext conftest$ac_exeext
82410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82411 (eval $ac_link) 2>conftest.er1
82412 ac_status=$?
82413 grep -v '^ *+' conftest.er1 >conftest.err
82414 rm -f conftest.er1
82415 cat conftest.err >&5
82416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82417 (exit $ac_status); } &&
82418 { ac_try='test -z "$ac_c_werror_flag"
82419 || test ! -s conftest.err'
82420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82421 (eval $ac_try) 2>&5
82422 ac_status=$?
82423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82424 (exit $ac_status); }; } &&
82425 { ac_try='test -s conftest$ac_exeext'
82426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82427 (eval $ac_try) 2>&5
82428 ac_status=$?
82429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82430 (exit $ac_status); }; }; then
82431 eval "$as_ac_var=yes"
82432 else
82433 echo "$as_me: failed program was:" >&5
82434 sed 's/^/| /' conftest.$ac_ext >&5
82435
82436 eval "$as_ac_var=no"
82437 fi
82438 rm -f conftest.err conftest.$ac_objext \
82439 conftest$ac_exeext conftest.$ac_ext
82440 fi
82441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82443 if test `eval echo '${'$as_ac_var'}'` = yes; then
82444 cat >>confdefs.h <<_ACEOF
82445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82446 _ACEOF
82447
82448 fi
82449 done
82450
82451 fi
82452 fi
82453
82454
82455
82456
82457
82458
82459 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
82460 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
82461 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
82462 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
82463 echo $ECHO_N "(cached) $ECHO_C" >&6
82464 else
82465
82466
82467
82468 ac_ext=cc
82469 ac_cpp='$CXXCPP $CPPFLAGS'
82470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82473
82474 cat >conftest.$ac_ext <<_ACEOF
82475 /* confdefs.h. */
82476 _ACEOF
82477 cat confdefs.h >>conftest.$ac_ext
82478 cat >>conftest.$ac_ext <<_ACEOF
82479 /* end confdefs.h. */
82480 #include <math.h>
82481 #ifdef HAVE_IEEEFP_H
82482 #include <ieeefp.h>
82483 #endif
82484
82485 int
82486 main ()
82487 {
82488 fabsf(0);
82489 ;
82490 return 0;
82491 }
82492 _ACEOF
82493 rm -f conftest.$ac_objext
82494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82495 (eval $ac_compile) 2>conftest.er1
82496 ac_status=$?
82497 grep -v '^ *+' conftest.er1 >conftest.err
82498 rm -f conftest.er1
82499 cat conftest.err >&5
82500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82501 (exit $ac_status); } &&
82502 { ac_try='test -z "$ac_cxx_werror_flag"
82503 || test ! -s conftest.err'
82504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82505 (eval $ac_try) 2>&5
82506 ac_status=$?
82507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82508 (exit $ac_status); }; } &&
82509 { ac_try='test -s conftest.$ac_objext'
82510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82511 (eval $ac_try) 2>&5
82512 ac_status=$?
82513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82514 (exit $ac_status); }; }; then
82515 glibcxx_cv_func_fabsf_use=yes
82516 else
82517 echo "$as_me: failed program was:" >&5
82518 sed 's/^/| /' conftest.$ac_ext >&5
82519
82520 glibcxx_cv_func_fabsf_use=no
82521 fi
82522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82523 ac_ext=c
82524 ac_cpp='$CPP $CPPFLAGS'
82525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82528
82529
82530 fi
82531
82532 fi
82533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
82534 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
82535
82536 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
82537
82538 for ac_func in fabsf
82539 do
82540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82541 echo "$as_me:$LINENO: checking for $ac_func" >&5
82542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82543 if eval "test \"\${$as_ac_var+set}\" = set"; then
82544 echo $ECHO_N "(cached) $ECHO_C" >&6
82545 else
82546 if test x$gcc_no_link = xyes; then
82547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82549 { (exit 1); exit 1; }; }
82550 fi
82551 cat >conftest.$ac_ext <<_ACEOF
82552 /* confdefs.h. */
82553 _ACEOF
82554 cat confdefs.h >>conftest.$ac_ext
82555 cat >>conftest.$ac_ext <<_ACEOF
82556 /* end confdefs.h. */
82557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82559 #define $ac_func innocuous_$ac_func
82560
82561 /* System header to define __stub macros and hopefully few prototypes,
82562 which can conflict with char $ac_func (); below.
82563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82564 <limits.h> exists even on freestanding compilers. */
82565
82566 #ifdef __STDC__
82567 # include <limits.h>
82568 #else
82569 # include <assert.h>
82570 #endif
82571
82572 #undef $ac_func
82573
82574 /* Override any gcc2 internal prototype to avoid an error. */
82575 #ifdef __cplusplus
82576 extern "C"
82577 {
82578 #endif
82579 /* We use char because int might match the return type of a gcc2
82580 builtin and then its argument prototype would still apply. */
82581 char $ac_func ();
82582 /* The GNU C library defines this for functions which it implements
82583 to always fail with ENOSYS. Some functions are actually named
82584 something starting with __ and the normal name is an alias. */
82585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82586 choke me
82587 #else
82588 char (*f) () = $ac_func;
82589 #endif
82590 #ifdef __cplusplus
82591 }
82592 #endif
82593
82594 int
82595 main ()
82596 {
82597 return f != $ac_func;
82598 ;
82599 return 0;
82600 }
82601 _ACEOF
82602 rm -f conftest.$ac_objext conftest$ac_exeext
82603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82604 (eval $ac_link) 2>conftest.er1
82605 ac_status=$?
82606 grep -v '^ *+' conftest.er1 >conftest.err
82607 rm -f conftest.er1
82608 cat conftest.err >&5
82609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82610 (exit $ac_status); } &&
82611 { ac_try='test -z "$ac_c_werror_flag"
82612 || test ! -s conftest.err'
82613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82614 (eval $ac_try) 2>&5
82615 ac_status=$?
82616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82617 (exit $ac_status); }; } &&
82618 { ac_try='test -s conftest$ac_exeext'
82619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82620 (eval $ac_try) 2>&5
82621 ac_status=$?
82622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82623 (exit $ac_status); }; }; then
82624 eval "$as_ac_var=yes"
82625 else
82626 echo "$as_me: failed program was:" >&5
82627 sed 's/^/| /' conftest.$ac_ext >&5
82628
82629 eval "$as_ac_var=no"
82630 fi
82631 rm -f conftest.err conftest.$ac_objext \
82632 conftest$ac_exeext conftest.$ac_ext
82633 fi
82634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82636 if test `eval echo '${'$as_ac_var'}'` = yes; then
82637 cat >>confdefs.h <<_ACEOF
82638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82639 _ACEOF
82640
82641 fi
82642 done
82643
82644 else
82645
82646 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
82647 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
82648 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
82649 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
82650 echo $ECHO_N "(cached) $ECHO_C" >&6
82651 else
82652
82653
82654
82655 ac_ext=cc
82656 ac_cpp='$CXXCPP $CPPFLAGS'
82657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82660
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 #ifdef HAVE_IEEEFP_H
82669 #include <ieeefp.h>
82670 #endif
82671
82672 int
82673 main ()
82674 {
82675 _fabsf(0);
82676 ;
82677 return 0;
82678 }
82679 _ACEOF
82680 rm -f conftest.$ac_objext
82681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82682 (eval $ac_compile) 2>conftest.er1
82683 ac_status=$?
82684 grep -v '^ *+' conftest.er1 >conftest.err
82685 rm -f conftest.er1
82686 cat conftest.err >&5
82687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82688 (exit $ac_status); } &&
82689 { ac_try='test -z "$ac_cxx_werror_flag"
82690 || test ! -s conftest.err'
82691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82692 (eval $ac_try) 2>&5
82693 ac_status=$?
82694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82695 (exit $ac_status); }; } &&
82696 { ac_try='test -s conftest.$ac_objext'
82697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82698 (eval $ac_try) 2>&5
82699 ac_status=$?
82700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82701 (exit $ac_status); }; }; then
82702 glibcxx_cv_func__fabsf_use=yes
82703 else
82704 echo "$as_me: failed program was:" >&5
82705 sed 's/^/| /' conftest.$ac_ext >&5
82706
82707 glibcxx_cv_func__fabsf_use=no
82708 fi
82709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82710 ac_ext=c
82711 ac_cpp='$CPP $CPPFLAGS'
82712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82715
82716
82717 fi
82718
82719 fi
82720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
82721 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
82722
82723 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
82724
82725 for ac_func in _fabsf
82726 do
82727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82728 echo "$as_me:$LINENO: checking for $ac_func" >&5
82729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82730 if eval "test \"\${$as_ac_var+set}\" = set"; then
82731 echo $ECHO_N "(cached) $ECHO_C" >&6
82732 else
82733 if test x$gcc_no_link = xyes; then
82734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82736 { (exit 1); exit 1; }; }
82737 fi
82738 cat >conftest.$ac_ext <<_ACEOF
82739 /* confdefs.h. */
82740 _ACEOF
82741 cat confdefs.h >>conftest.$ac_ext
82742 cat >>conftest.$ac_ext <<_ACEOF
82743 /* end confdefs.h. */
82744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82746 #define $ac_func innocuous_$ac_func
82747
82748 /* System header to define __stub macros and hopefully few prototypes,
82749 which can conflict with char $ac_func (); below.
82750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82751 <limits.h> exists even on freestanding compilers. */
82752
82753 #ifdef __STDC__
82754 # include <limits.h>
82755 #else
82756 # include <assert.h>
82757 #endif
82758
82759 #undef $ac_func
82760
82761 /* Override any gcc2 internal prototype to avoid an error. */
82762 #ifdef __cplusplus
82763 extern "C"
82764 {
82765 #endif
82766 /* We use char because int might match the return type of a gcc2
82767 builtin and then its argument prototype would still apply. */
82768 char $ac_func ();
82769 /* The GNU C library defines this for functions which it implements
82770 to always fail with ENOSYS. Some functions are actually named
82771 something starting with __ and the normal name is an alias. */
82772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82773 choke me
82774 #else
82775 char (*f) () = $ac_func;
82776 #endif
82777 #ifdef __cplusplus
82778 }
82779 #endif
82780
82781 int
82782 main ()
82783 {
82784 return f != $ac_func;
82785 ;
82786 return 0;
82787 }
82788 _ACEOF
82789 rm -f conftest.$ac_objext conftest$ac_exeext
82790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82791 (eval $ac_link) 2>conftest.er1
82792 ac_status=$?
82793 grep -v '^ *+' conftest.er1 >conftest.err
82794 rm -f conftest.er1
82795 cat conftest.err >&5
82796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82797 (exit $ac_status); } &&
82798 { ac_try='test -z "$ac_c_werror_flag"
82799 || test ! -s conftest.err'
82800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82801 (eval $ac_try) 2>&5
82802 ac_status=$?
82803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82804 (exit $ac_status); }; } &&
82805 { ac_try='test -s conftest$ac_exeext'
82806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82807 (eval $ac_try) 2>&5
82808 ac_status=$?
82809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82810 (exit $ac_status); }; }; then
82811 eval "$as_ac_var=yes"
82812 else
82813 echo "$as_me: failed program was:" >&5
82814 sed 's/^/| /' conftest.$ac_ext >&5
82815
82816 eval "$as_ac_var=no"
82817 fi
82818 rm -f conftest.err conftest.$ac_objext \
82819 conftest$ac_exeext conftest.$ac_ext
82820 fi
82821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82823 if test `eval echo '${'$as_ac_var'}'` = yes; then
82824 cat >>confdefs.h <<_ACEOF
82825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82826 _ACEOF
82827
82828 fi
82829 done
82830
82831 fi
82832 fi
82833
82834
82835
82836
82837
82838
82839 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
82840 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
82841 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
82842 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
82843 echo $ECHO_N "(cached) $ECHO_C" >&6
82844 else
82845
82846
82847
82848 ac_ext=cc
82849 ac_cpp='$CXXCPP $CPPFLAGS'
82850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82853
82854 cat >conftest.$ac_ext <<_ACEOF
82855 /* confdefs.h. */
82856 _ACEOF
82857 cat confdefs.h >>conftest.$ac_ext
82858 cat >>conftest.$ac_ext <<_ACEOF
82859 /* end confdefs.h. */
82860 #include <math.h>
82861 int
82862 main ()
82863 {
82864 fmodf(0, 0);
82865 ;
82866 return 0;
82867 }
82868 _ACEOF
82869 rm -f conftest.$ac_objext
82870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82871 (eval $ac_compile) 2>conftest.er1
82872 ac_status=$?
82873 grep -v '^ *+' conftest.er1 >conftest.err
82874 rm -f conftest.er1
82875 cat conftest.err >&5
82876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82877 (exit $ac_status); } &&
82878 { ac_try='test -z "$ac_cxx_werror_flag"
82879 || test ! -s conftest.err'
82880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82881 (eval $ac_try) 2>&5
82882 ac_status=$?
82883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82884 (exit $ac_status); }; } &&
82885 { ac_try='test -s conftest.$ac_objext'
82886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82887 (eval $ac_try) 2>&5
82888 ac_status=$?
82889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82890 (exit $ac_status); }; }; then
82891 glibcxx_cv_func_fmodf_use=yes
82892 else
82893 echo "$as_me: failed program was:" >&5
82894 sed 's/^/| /' conftest.$ac_ext >&5
82895
82896 glibcxx_cv_func_fmodf_use=no
82897 fi
82898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82899 ac_ext=c
82900 ac_cpp='$CPP $CPPFLAGS'
82901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82904
82905
82906 fi
82907
82908 fi
82909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
82910 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
82911
82912 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
82913
82914 for ac_func in fmodf
82915 do
82916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82917 echo "$as_me:$LINENO: checking for $ac_func" >&5
82918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82919 if eval "test \"\${$as_ac_var+set}\" = set"; then
82920 echo $ECHO_N "(cached) $ECHO_C" >&6
82921 else
82922 if test x$gcc_no_link = xyes; then
82923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82925 { (exit 1); exit 1; }; }
82926 fi
82927 cat >conftest.$ac_ext <<_ACEOF
82928 /* confdefs.h. */
82929 _ACEOF
82930 cat confdefs.h >>conftest.$ac_ext
82931 cat >>conftest.$ac_ext <<_ACEOF
82932 /* end confdefs.h. */
82933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82935 #define $ac_func innocuous_$ac_func
82936
82937 /* System header to define __stub macros and hopefully few prototypes,
82938 which can conflict with char $ac_func (); below.
82939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82940 <limits.h> exists even on freestanding compilers. */
82941
82942 #ifdef __STDC__
82943 # include <limits.h>
82944 #else
82945 # include <assert.h>
82946 #endif
82947
82948 #undef $ac_func
82949
82950 /* Override any gcc2 internal prototype to avoid an error. */
82951 #ifdef __cplusplus
82952 extern "C"
82953 {
82954 #endif
82955 /* We use char because int might match the return type of a gcc2
82956 builtin and then its argument prototype would still apply. */
82957 char $ac_func ();
82958 /* The GNU C library defines this for functions which it implements
82959 to always fail with ENOSYS. Some functions are actually named
82960 something starting with __ and the normal name is an alias. */
82961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82962 choke me
82963 #else
82964 char (*f) () = $ac_func;
82965 #endif
82966 #ifdef __cplusplus
82967 }
82968 #endif
82969
82970 int
82971 main ()
82972 {
82973 return f != $ac_func;
82974 ;
82975 return 0;
82976 }
82977 _ACEOF
82978 rm -f conftest.$ac_objext conftest$ac_exeext
82979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82980 (eval $ac_link) 2>conftest.er1
82981 ac_status=$?
82982 grep -v '^ *+' conftest.er1 >conftest.err
82983 rm -f conftest.er1
82984 cat conftest.err >&5
82985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82986 (exit $ac_status); } &&
82987 { ac_try='test -z "$ac_c_werror_flag"
82988 || test ! -s conftest.err'
82989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82990 (eval $ac_try) 2>&5
82991 ac_status=$?
82992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82993 (exit $ac_status); }; } &&
82994 { ac_try='test -s conftest$ac_exeext'
82995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82996 (eval $ac_try) 2>&5
82997 ac_status=$?
82998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82999 (exit $ac_status); }; }; then
83000 eval "$as_ac_var=yes"
83001 else
83002 echo "$as_me: failed program was:" >&5
83003 sed 's/^/| /' conftest.$ac_ext >&5
83004
83005 eval "$as_ac_var=no"
83006 fi
83007 rm -f conftest.err conftest.$ac_objext \
83008 conftest$ac_exeext conftest.$ac_ext
83009 fi
83010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83012 if test `eval echo '${'$as_ac_var'}'` = yes; then
83013 cat >>confdefs.h <<_ACEOF
83014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83015 _ACEOF
83016
83017 fi
83018 done
83019
83020 else
83021
83022 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
83023 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
83024 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
83025 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
83026 echo $ECHO_N "(cached) $ECHO_C" >&6
83027 else
83028
83029
83030
83031 ac_ext=cc
83032 ac_cpp='$CXXCPP $CPPFLAGS'
83033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83036
83037 cat >conftest.$ac_ext <<_ACEOF
83038 /* confdefs.h. */
83039 _ACEOF
83040 cat confdefs.h >>conftest.$ac_ext
83041 cat >>conftest.$ac_ext <<_ACEOF
83042 /* end confdefs.h. */
83043 #include <math.h>
83044 int
83045 main ()
83046 {
83047 _fmodf(0, 0);
83048 ;
83049 return 0;
83050 }
83051 _ACEOF
83052 rm -f conftest.$ac_objext
83053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83054 (eval $ac_compile) 2>conftest.er1
83055 ac_status=$?
83056 grep -v '^ *+' conftest.er1 >conftest.err
83057 rm -f conftest.er1
83058 cat conftest.err >&5
83059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83060 (exit $ac_status); } &&
83061 { ac_try='test -z "$ac_cxx_werror_flag"
83062 || test ! -s conftest.err'
83063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83064 (eval $ac_try) 2>&5
83065 ac_status=$?
83066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83067 (exit $ac_status); }; } &&
83068 { ac_try='test -s conftest.$ac_objext'
83069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83070 (eval $ac_try) 2>&5
83071 ac_status=$?
83072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83073 (exit $ac_status); }; }; then
83074 glibcxx_cv_func__fmodf_use=yes
83075 else
83076 echo "$as_me: failed program was:" >&5
83077 sed 's/^/| /' conftest.$ac_ext >&5
83078
83079 glibcxx_cv_func__fmodf_use=no
83080 fi
83081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83082 ac_ext=c
83083 ac_cpp='$CPP $CPPFLAGS'
83084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83087
83088
83089 fi
83090
83091 fi
83092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
83093 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
83094
83095 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
83096
83097 for ac_func in _fmodf
83098 do
83099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83100 echo "$as_me:$LINENO: checking for $ac_func" >&5
83101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83102 if eval "test \"\${$as_ac_var+set}\" = set"; then
83103 echo $ECHO_N "(cached) $ECHO_C" >&6
83104 else
83105 if test x$gcc_no_link = xyes; then
83106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83108 { (exit 1); exit 1; }; }
83109 fi
83110 cat >conftest.$ac_ext <<_ACEOF
83111 /* confdefs.h. */
83112 _ACEOF
83113 cat confdefs.h >>conftest.$ac_ext
83114 cat >>conftest.$ac_ext <<_ACEOF
83115 /* end confdefs.h. */
83116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83118 #define $ac_func innocuous_$ac_func
83119
83120 /* System header to define __stub macros and hopefully few prototypes,
83121 which can conflict with char $ac_func (); below.
83122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83123 <limits.h> exists even on freestanding compilers. */
83124
83125 #ifdef __STDC__
83126 # include <limits.h>
83127 #else
83128 # include <assert.h>
83129 #endif
83130
83131 #undef $ac_func
83132
83133 /* Override any gcc2 internal prototype to avoid an error. */
83134 #ifdef __cplusplus
83135 extern "C"
83136 {
83137 #endif
83138 /* We use char because int might match the return type of a gcc2
83139 builtin and then its argument prototype would still apply. */
83140 char $ac_func ();
83141 /* The GNU C library defines this for functions which it implements
83142 to always fail with ENOSYS. Some functions are actually named
83143 something starting with __ and the normal name is an alias. */
83144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83145 choke me
83146 #else
83147 char (*f) () = $ac_func;
83148 #endif
83149 #ifdef __cplusplus
83150 }
83151 #endif
83152
83153 int
83154 main ()
83155 {
83156 return f != $ac_func;
83157 ;
83158 return 0;
83159 }
83160 _ACEOF
83161 rm -f conftest.$ac_objext conftest$ac_exeext
83162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83163 (eval $ac_link) 2>conftest.er1
83164 ac_status=$?
83165 grep -v '^ *+' conftest.er1 >conftest.err
83166 rm -f conftest.er1
83167 cat conftest.err >&5
83168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83169 (exit $ac_status); } &&
83170 { ac_try='test -z "$ac_c_werror_flag"
83171 || test ! -s conftest.err'
83172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83173 (eval $ac_try) 2>&5
83174 ac_status=$?
83175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83176 (exit $ac_status); }; } &&
83177 { ac_try='test -s conftest$ac_exeext'
83178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83179 (eval $ac_try) 2>&5
83180 ac_status=$?
83181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83182 (exit $ac_status); }; }; then
83183 eval "$as_ac_var=yes"
83184 else
83185 echo "$as_me: failed program was:" >&5
83186 sed 's/^/| /' conftest.$ac_ext >&5
83187
83188 eval "$as_ac_var=no"
83189 fi
83190 rm -f conftest.err conftest.$ac_objext \
83191 conftest$ac_exeext conftest.$ac_ext
83192 fi
83193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83195 if test `eval echo '${'$as_ac_var'}'` = yes; then
83196 cat >>confdefs.h <<_ACEOF
83197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83198 _ACEOF
83199
83200 fi
83201 done
83202
83203 fi
83204 fi
83205
83206
83207
83208
83209
83210
83211 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
83212 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
83213 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
83214 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
83215 echo $ECHO_N "(cached) $ECHO_C" >&6
83216 else
83217
83218
83219
83220 ac_ext=cc
83221 ac_cpp='$CXXCPP $CPPFLAGS'
83222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83225
83226 cat >conftest.$ac_ext <<_ACEOF
83227 /* confdefs.h. */
83228 _ACEOF
83229 cat confdefs.h >>conftest.$ac_ext
83230 cat >>conftest.$ac_ext <<_ACEOF
83231 /* end confdefs.h. */
83232 #include <math.h>
83233 int
83234 main ()
83235 {
83236 frexpf(0, 0);
83237 ;
83238 return 0;
83239 }
83240 _ACEOF
83241 rm -f conftest.$ac_objext
83242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83243 (eval $ac_compile) 2>conftest.er1
83244 ac_status=$?
83245 grep -v '^ *+' conftest.er1 >conftest.err
83246 rm -f conftest.er1
83247 cat conftest.err >&5
83248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83249 (exit $ac_status); } &&
83250 { ac_try='test -z "$ac_cxx_werror_flag"
83251 || test ! -s conftest.err'
83252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83253 (eval $ac_try) 2>&5
83254 ac_status=$?
83255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83256 (exit $ac_status); }; } &&
83257 { ac_try='test -s conftest.$ac_objext'
83258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83259 (eval $ac_try) 2>&5
83260 ac_status=$?
83261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83262 (exit $ac_status); }; }; then
83263 glibcxx_cv_func_frexpf_use=yes
83264 else
83265 echo "$as_me: failed program was:" >&5
83266 sed 's/^/| /' conftest.$ac_ext >&5
83267
83268 glibcxx_cv_func_frexpf_use=no
83269 fi
83270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83271 ac_ext=c
83272 ac_cpp='$CPP $CPPFLAGS'
83273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83276
83277
83278 fi
83279
83280 fi
83281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
83282 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
83283
83284 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
83285
83286 for ac_func in frexpf
83287 do
83288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83289 echo "$as_me:$LINENO: checking for $ac_func" >&5
83290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83291 if eval "test \"\${$as_ac_var+set}\" = set"; then
83292 echo $ECHO_N "(cached) $ECHO_C" >&6
83293 else
83294 if test x$gcc_no_link = xyes; then
83295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83297 { (exit 1); exit 1; }; }
83298 fi
83299 cat >conftest.$ac_ext <<_ACEOF
83300 /* confdefs.h. */
83301 _ACEOF
83302 cat confdefs.h >>conftest.$ac_ext
83303 cat >>conftest.$ac_ext <<_ACEOF
83304 /* end confdefs.h. */
83305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83307 #define $ac_func innocuous_$ac_func
83308
83309 /* System header to define __stub macros and hopefully few prototypes,
83310 which can conflict with char $ac_func (); below.
83311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83312 <limits.h> exists even on freestanding compilers. */
83313
83314 #ifdef __STDC__
83315 # include <limits.h>
83316 #else
83317 # include <assert.h>
83318 #endif
83319
83320 #undef $ac_func
83321
83322 /* Override any gcc2 internal prototype to avoid an error. */
83323 #ifdef __cplusplus
83324 extern "C"
83325 {
83326 #endif
83327 /* We use char because int might match the return type of a gcc2
83328 builtin and then its argument prototype would still apply. */
83329 char $ac_func ();
83330 /* The GNU C library defines this for functions which it implements
83331 to always fail with ENOSYS. Some functions are actually named
83332 something starting with __ and the normal name is an alias. */
83333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83334 choke me
83335 #else
83336 char (*f) () = $ac_func;
83337 #endif
83338 #ifdef __cplusplus
83339 }
83340 #endif
83341
83342 int
83343 main ()
83344 {
83345 return f != $ac_func;
83346 ;
83347 return 0;
83348 }
83349 _ACEOF
83350 rm -f conftest.$ac_objext conftest$ac_exeext
83351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83352 (eval $ac_link) 2>conftest.er1
83353 ac_status=$?
83354 grep -v '^ *+' conftest.er1 >conftest.err
83355 rm -f conftest.er1
83356 cat conftest.err >&5
83357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83358 (exit $ac_status); } &&
83359 { ac_try='test -z "$ac_c_werror_flag"
83360 || test ! -s conftest.err'
83361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83362 (eval $ac_try) 2>&5
83363 ac_status=$?
83364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83365 (exit $ac_status); }; } &&
83366 { ac_try='test -s conftest$ac_exeext'
83367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83368 (eval $ac_try) 2>&5
83369 ac_status=$?
83370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83371 (exit $ac_status); }; }; then
83372 eval "$as_ac_var=yes"
83373 else
83374 echo "$as_me: failed program was:" >&5
83375 sed 's/^/| /' conftest.$ac_ext >&5
83376
83377 eval "$as_ac_var=no"
83378 fi
83379 rm -f conftest.err conftest.$ac_objext \
83380 conftest$ac_exeext conftest.$ac_ext
83381 fi
83382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83384 if test `eval echo '${'$as_ac_var'}'` = yes; then
83385 cat >>confdefs.h <<_ACEOF
83386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83387 _ACEOF
83388
83389 fi
83390 done
83391
83392 else
83393
83394 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
83395 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
83396 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
83397 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
83398 echo $ECHO_N "(cached) $ECHO_C" >&6
83399 else
83400
83401
83402
83403 ac_ext=cc
83404 ac_cpp='$CXXCPP $CPPFLAGS'
83405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83408
83409 cat >conftest.$ac_ext <<_ACEOF
83410 /* confdefs.h. */
83411 _ACEOF
83412 cat confdefs.h >>conftest.$ac_ext
83413 cat >>conftest.$ac_ext <<_ACEOF
83414 /* end confdefs.h. */
83415 #include <math.h>
83416 int
83417 main ()
83418 {
83419 _frexpf(0, 0);
83420 ;
83421 return 0;
83422 }
83423 _ACEOF
83424 rm -f conftest.$ac_objext
83425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83426 (eval $ac_compile) 2>conftest.er1
83427 ac_status=$?
83428 grep -v '^ *+' conftest.er1 >conftest.err
83429 rm -f conftest.er1
83430 cat conftest.err >&5
83431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83432 (exit $ac_status); } &&
83433 { ac_try='test -z "$ac_cxx_werror_flag"
83434 || test ! -s conftest.err'
83435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83436 (eval $ac_try) 2>&5
83437 ac_status=$?
83438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439 (exit $ac_status); }; } &&
83440 { ac_try='test -s conftest.$ac_objext'
83441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83442 (eval $ac_try) 2>&5
83443 ac_status=$?
83444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83445 (exit $ac_status); }; }; then
83446 glibcxx_cv_func__frexpf_use=yes
83447 else
83448 echo "$as_me: failed program was:" >&5
83449 sed 's/^/| /' conftest.$ac_ext >&5
83450
83451 glibcxx_cv_func__frexpf_use=no
83452 fi
83453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83454 ac_ext=c
83455 ac_cpp='$CPP $CPPFLAGS'
83456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83459
83460
83461 fi
83462
83463 fi
83464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
83465 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
83466
83467 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
83468
83469 for ac_func in _frexpf
83470 do
83471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83472 echo "$as_me:$LINENO: checking for $ac_func" >&5
83473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83474 if eval "test \"\${$as_ac_var+set}\" = set"; then
83475 echo $ECHO_N "(cached) $ECHO_C" >&6
83476 else
83477 if test x$gcc_no_link = xyes; then
83478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83480 { (exit 1); exit 1; }; }
83481 fi
83482 cat >conftest.$ac_ext <<_ACEOF
83483 /* confdefs.h. */
83484 _ACEOF
83485 cat confdefs.h >>conftest.$ac_ext
83486 cat >>conftest.$ac_ext <<_ACEOF
83487 /* end confdefs.h. */
83488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83490 #define $ac_func innocuous_$ac_func
83491
83492 /* System header to define __stub macros and hopefully few prototypes,
83493 which can conflict with char $ac_func (); below.
83494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83495 <limits.h> exists even on freestanding compilers. */
83496
83497 #ifdef __STDC__
83498 # include <limits.h>
83499 #else
83500 # include <assert.h>
83501 #endif
83502
83503 #undef $ac_func
83504
83505 /* Override any gcc2 internal prototype to avoid an error. */
83506 #ifdef __cplusplus
83507 extern "C"
83508 {
83509 #endif
83510 /* We use char because int might match the return type of a gcc2
83511 builtin and then its argument prototype would still apply. */
83512 char $ac_func ();
83513 /* The GNU C library defines this for functions which it implements
83514 to always fail with ENOSYS. Some functions are actually named
83515 something starting with __ and the normal name is an alias. */
83516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83517 choke me
83518 #else
83519 char (*f) () = $ac_func;
83520 #endif
83521 #ifdef __cplusplus
83522 }
83523 #endif
83524
83525 int
83526 main ()
83527 {
83528 return f != $ac_func;
83529 ;
83530 return 0;
83531 }
83532 _ACEOF
83533 rm -f conftest.$ac_objext conftest$ac_exeext
83534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83535 (eval $ac_link) 2>conftest.er1
83536 ac_status=$?
83537 grep -v '^ *+' conftest.er1 >conftest.err
83538 rm -f conftest.er1
83539 cat conftest.err >&5
83540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83541 (exit $ac_status); } &&
83542 { ac_try='test -z "$ac_c_werror_flag"
83543 || test ! -s conftest.err'
83544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83545 (eval $ac_try) 2>&5
83546 ac_status=$?
83547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83548 (exit $ac_status); }; } &&
83549 { ac_try='test -s conftest$ac_exeext'
83550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83551 (eval $ac_try) 2>&5
83552 ac_status=$?
83553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83554 (exit $ac_status); }; }; then
83555 eval "$as_ac_var=yes"
83556 else
83557 echo "$as_me: failed program was:" >&5
83558 sed 's/^/| /' conftest.$ac_ext >&5
83559
83560 eval "$as_ac_var=no"
83561 fi
83562 rm -f conftest.err conftest.$ac_objext \
83563 conftest$ac_exeext conftest.$ac_ext
83564 fi
83565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83567 if test `eval echo '${'$as_ac_var'}'` = yes; then
83568 cat >>confdefs.h <<_ACEOF
83569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83570 _ACEOF
83571
83572 fi
83573 done
83574
83575 fi
83576 fi
83577
83578
83579
83580
83581
83582
83583 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
83584 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
83585 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
83586 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
83587 echo $ECHO_N "(cached) $ECHO_C" >&6
83588 else
83589
83590
83591
83592 ac_ext=cc
83593 ac_cpp='$CXXCPP $CPPFLAGS'
83594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83597
83598 cat >conftest.$ac_ext <<_ACEOF
83599 /* confdefs.h. */
83600 _ACEOF
83601 cat confdefs.h >>conftest.$ac_ext
83602 cat >>conftest.$ac_ext <<_ACEOF
83603 /* end confdefs.h. */
83604 #include <math.h>
83605 int
83606 main ()
83607 {
83608 hypotf(0, 0);
83609 ;
83610 return 0;
83611 }
83612 _ACEOF
83613 rm -f conftest.$ac_objext
83614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83615 (eval $ac_compile) 2>conftest.er1
83616 ac_status=$?
83617 grep -v '^ *+' conftest.er1 >conftest.err
83618 rm -f conftest.er1
83619 cat conftest.err >&5
83620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83621 (exit $ac_status); } &&
83622 { ac_try='test -z "$ac_cxx_werror_flag"
83623 || test ! -s conftest.err'
83624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83625 (eval $ac_try) 2>&5
83626 ac_status=$?
83627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83628 (exit $ac_status); }; } &&
83629 { ac_try='test -s conftest.$ac_objext'
83630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83631 (eval $ac_try) 2>&5
83632 ac_status=$?
83633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83634 (exit $ac_status); }; }; then
83635 glibcxx_cv_func_hypotf_use=yes
83636 else
83637 echo "$as_me: failed program was:" >&5
83638 sed 's/^/| /' conftest.$ac_ext >&5
83639
83640 glibcxx_cv_func_hypotf_use=no
83641 fi
83642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83643 ac_ext=c
83644 ac_cpp='$CPP $CPPFLAGS'
83645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83648
83649
83650 fi
83651
83652 fi
83653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
83654 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
83655
83656 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
83657
83658 for ac_func in hypotf
83659 do
83660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83661 echo "$as_me:$LINENO: checking for $ac_func" >&5
83662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83663 if eval "test \"\${$as_ac_var+set}\" = set"; then
83664 echo $ECHO_N "(cached) $ECHO_C" >&6
83665 else
83666 if test x$gcc_no_link = xyes; then
83667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83669 { (exit 1); exit 1; }; }
83670 fi
83671 cat >conftest.$ac_ext <<_ACEOF
83672 /* confdefs.h. */
83673 _ACEOF
83674 cat confdefs.h >>conftest.$ac_ext
83675 cat >>conftest.$ac_ext <<_ACEOF
83676 /* end confdefs.h. */
83677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83679 #define $ac_func innocuous_$ac_func
83680
83681 /* System header to define __stub macros and hopefully few prototypes,
83682 which can conflict with char $ac_func (); below.
83683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83684 <limits.h> exists even on freestanding compilers. */
83685
83686 #ifdef __STDC__
83687 # include <limits.h>
83688 #else
83689 # include <assert.h>
83690 #endif
83691
83692 #undef $ac_func
83693
83694 /* Override any gcc2 internal prototype to avoid an error. */
83695 #ifdef __cplusplus
83696 extern "C"
83697 {
83698 #endif
83699 /* We use char because int might match the return type of a gcc2
83700 builtin and then its argument prototype would still apply. */
83701 char $ac_func ();
83702 /* The GNU C library defines this for functions which it implements
83703 to always fail with ENOSYS. Some functions are actually named
83704 something starting with __ and the normal name is an alias. */
83705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83706 choke me
83707 #else
83708 char (*f) () = $ac_func;
83709 #endif
83710 #ifdef __cplusplus
83711 }
83712 #endif
83713
83714 int
83715 main ()
83716 {
83717 return f != $ac_func;
83718 ;
83719 return 0;
83720 }
83721 _ACEOF
83722 rm -f conftest.$ac_objext conftest$ac_exeext
83723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83724 (eval $ac_link) 2>conftest.er1
83725 ac_status=$?
83726 grep -v '^ *+' conftest.er1 >conftest.err
83727 rm -f conftest.er1
83728 cat conftest.err >&5
83729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83730 (exit $ac_status); } &&
83731 { ac_try='test -z "$ac_c_werror_flag"
83732 || test ! -s conftest.err'
83733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83734 (eval $ac_try) 2>&5
83735 ac_status=$?
83736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83737 (exit $ac_status); }; } &&
83738 { ac_try='test -s conftest$ac_exeext'
83739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83740 (eval $ac_try) 2>&5
83741 ac_status=$?
83742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83743 (exit $ac_status); }; }; then
83744 eval "$as_ac_var=yes"
83745 else
83746 echo "$as_me: failed program was:" >&5
83747 sed 's/^/| /' conftest.$ac_ext >&5
83748
83749 eval "$as_ac_var=no"
83750 fi
83751 rm -f conftest.err conftest.$ac_objext \
83752 conftest$ac_exeext conftest.$ac_ext
83753 fi
83754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83756 if test `eval echo '${'$as_ac_var'}'` = yes; then
83757 cat >>confdefs.h <<_ACEOF
83758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83759 _ACEOF
83760
83761 fi
83762 done
83763
83764 else
83765
83766 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
83767 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
83768 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
83769 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
83770 echo $ECHO_N "(cached) $ECHO_C" >&6
83771 else
83772
83773
83774
83775 ac_ext=cc
83776 ac_cpp='$CXXCPP $CPPFLAGS'
83777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83780
83781 cat >conftest.$ac_ext <<_ACEOF
83782 /* confdefs.h. */
83783 _ACEOF
83784 cat confdefs.h >>conftest.$ac_ext
83785 cat >>conftest.$ac_ext <<_ACEOF
83786 /* end confdefs.h. */
83787 #include <math.h>
83788 int
83789 main ()
83790 {
83791 _hypotf(0, 0);
83792 ;
83793 return 0;
83794 }
83795 _ACEOF
83796 rm -f conftest.$ac_objext
83797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83798 (eval $ac_compile) 2>conftest.er1
83799 ac_status=$?
83800 grep -v '^ *+' conftest.er1 >conftest.err
83801 rm -f conftest.er1
83802 cat conftest.err >&5
83803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83804 (exit $ac_status); } &&
83805 { ac_try='test -z "$ac_cxx_werror_flag"
83806 || test ! -s conftest.err'
83807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83808 (eval $ac_try) 2>&5
83809 ac_status=$?
83810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83811 (exit $ac_status); }; } &&
83812 { ac_try='test -s conftest.$ac_objext'
83813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83814 (eval $ac_try) 2>&5
83815 ac_status=$?
83816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83817 (exit $ac_status); }; }; then
83818 glibcxx_cv_func__hypotf_use=yes
83819 else
83820 echo "$as_me: failed program was:" >&5
83821 sed 's/^/| /' conftest.$ac_ext >&5
83822
83823 glibcxx_cv_func__hypotf_use=no
83824 fi
83825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83826 ac_ext=c
83827 ac_cpp='$CPP $CPPFLAGS'
83828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83831
83832
83833 fi
83834
83835 fi
83836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
83837 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
83838
83839 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
83840
83841 for ac_func in _hypotf
83842 do
83843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83844 echo "$as_me:$LINENO: checking for $ac_func" >&5
83845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83846 if eval "test \"\${$as_ac_var+set}\" = set"; then
83847 echo $ECHO_N "(cached) $ECHO_C" >&6
83848 else
83849 if test x$gcc_no_link = xyes; then
83850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83852 { (exit 1); exit 1; }; }
83853 fi
83854 cat >conftest.$ac_ext <<_ACEOF
83855 /* confdefs.h. */
83856 _ACEOF
83857 cat confdefs.h >>conftest.$ac_ext
83858 cat >>conftest.$ac_ext <<_ACEOF
83859 /* end confdefs.h. */
83860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83862 #define $ac_func innocuous_$ac_func
83863
83864 /* System header to define __stub macros and hopefully few prototypes,
83865 which can conflict with char $ac_func (); below.
83866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83867 <limits.h> exists even on freestanding compilers. */
83868
83869 #ifdef __STDC__
83870 # include <limits.h>
83871 #else
83872 # include <assert.h>
83873 #endif
83874
83875 #undef $ac_func
83876
83877 /* Override any gcc2 internal prototype to avoid an error. */
83878 #ifdef __cplusplus
83879 extern "C"
83880 {
83881 #endif
83882 /* We use char because int might match the return type of a gcc2
83883 builtin and then its argument prototype would still apply. */
83884 char $ac_func ();
83885 /* The GNU C library defines this for functions which it implements
83886 to always fail with ENOSYS. Some functions are actually named
83887 something starting with __ and the normal name is an alias. */
83888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83889 choke me
83890 #else
83891 char (*f) () = $ac_func;
83892 #endif
83893 #ifdef __cplusplus
83894 }
83895 #endif
83896
83897 int
83898 main ()
83899 {
83900 return f != $ac_func;
83901 ;
83902 return 0;
83903 }
83904 _ACEOF
83905 rm -f conftest.$ac_objext conftest$ac_exeext
83906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83907 (eval $ac_link) 2>conftest.er1
83908 ac_status=$?
83909 grep -v '^ *+' conftest.er1 >conftest.err
83910 rm -f conftest.er1
83911 cat conftest.err >&5
83912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83913 (exit $ac_status); } &&
83914 { ac_try='test -z "$ac_c_werror_flag"
83915 || test ! -s conftest.err'
83916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83917 (eval $ac_try) 2>&5
83918 ac_status=$?
83919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83920 (exit $ac_status); }; } &&
83921 { ac_try='test -s conftest$ac_exeext'
83922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83923 (eval $ac_try) 2>&5
83924 ac_status=$?
83925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83926 (exit $ac_status); }; }; then
83927 eval "$as_ac_var=yes"
83928 else
83929 echo "$as_me: failed program was:" >&5
83930 sed 's/^/| /' conftest.$ac_ext >&5
83931
83932 eval "$as_ac_var=no"
83933 fi
83934 rm -f conftest.err conftest.$ac_objext \
83935 conftest$ac_exeext conftest.$ac_ext
83936 fi
83937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83939 if test `eval echo '${'$as_ac_var'}'` = yes; then
83940 cat >>confdefs.h <<_ACEOF
83941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83942 _ACEOF
83943
83944 fi
83945 done
83946
83947 fi
83948 fi
83949
83950
83951
83952
83953
83954
83955 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
83956 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
83957 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
83958 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
83959 echo $ECHO_N "(cached) $ECHO_C" >&6
83960 else
83961
83962
83963
83964 ac_ext=cc
83965 ac_cpp='$CXXCPP $CPPFLAGS'
83966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83969
83970 cat >conftest.$ac_ext <<_ACEOF
83971 /* confdefs.h. */
83972 _ACEOF
83973 cat confdefs.h >>conftest.$ac_ext
83974 cat >>conftest.$ac_ext <<_ACEOF
83975 /* end confdefs.h. */
83976 #include <math.h>
83977 int
83978 main ()
83979 {
83980 ldexpf(0, 0);
83981 ;
83982 return 0;
83983 }
83984 _ACEOF
83985 rm -f conftest.$ac_objext
83986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83987 (eval $ac_compile) 2>conftest.er1
83988 ac_status=$?
83989 grep -v '^ *+' conftest.er1 >conftest.err
83990 rm -f conftest.er1
83991 cat conftest.err >&5
83992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83993 (exit $ac_status); } &&
83994 { ac_try='test -z "$ac_cxx_werror_flag"
83995 || test ! -s conftest.err'
83996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83997 (eval $ac_try) 2>&5
83998 ac_status=$?
83999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84000 (exit $ac_status); }; } &&
84001 { ac_try='test -s conftest.$ac_objext'
84002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84003 (eval $ac_try) 2>&5
84004 ac_status=$?
84005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84006 (exit $ac_status); }; }; then
84007 glibcxx_cv_func_ldexpf_use=yes
84008 else
84009 echo "$as_me: failed program was:" >&5
84010 sed 's/^/| /' conftest.$ac_ext >&5
84011
84012 glibcxx_cv_func_ldexpf_use=no
84013 fi
84014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84015 ac_ext=c
84016 ac_cpp='$CPP $CPPFLAGS'
84017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84020
84021
84022 fi
84023
84024 fi
84025 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
84026 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
84027
84028 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
84029
84030 for ac_func in ldexpf
84031 do
84032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84033 echo "$as_me:$LINENO: checking for $ac_func" >&5
84034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84035 if eval "test \"\${$as_ac_var+set}\" = set"; then
84036 echo $ECHO_N "(cached) $ECHO_C" >&6
84037 else
84038 if test x$gcc_no_link = xyes; then
84039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84041 { (exit 1); exit 1; }; }
84042 fi
84043 cat >conftest.$ac_ext <<_ACEOF
84044 /* confdefs.h. */
84045 _ACEOF
84046 cat confdefs.h >>conftest.$ac_ext
84047 cat >>conftest.$ac_ext <<_ACEOF
84048 /* end confdefs.h. */
84049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84051 #define $ac_func innocuous_$ac_func
84052
84053 /* System header to define __stub macros and hopefully few prototypes,
84054 which can conflict with char $ac_func (); below.
84055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84056 <limits.h> exists even on freestanding compilers. */
84057
84058 #ifdef __STDC__
84059 # include <limits.h>
84060 #else
84061 # include <assert.h>
84062 #endif
84063
84064 #undef $ac_func
84065
84066 /* Override any gcc2 internal prototype to avoid an error. */
84067 #ifdef __cplusplus
84068 extern "C"
84069 {
84070 #endif
84071 /* We use char because int might match the return type of a gcc2
84072 builtin and then its argument prototype would still apply. */
84073 char $ac_func ();
84074 /* The GNU C library defines this for functions which it implements
84075 to always fail with ENOSYS. Some functions are actually named
84076 something starting with __ and the normal name is an alias. */
84077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84078 choke me
84079 #else
84080 char (*f) () = $ac_func;
84081 #endif
84082 #ifdef __cplusplus
84083 }
84084 #endif
84085
84086 int
84087 main ()
84088 {
84089 return f != $ac_func;
84090 ;
84091 return 0;
84092 }
84093 _ACEOF
84094 rm -f conftest.$ac_objext conftest$ac_exeext
84095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84096 (eval $ac_link) 2>conftest.er1
84097 ac_status=$?
84098 grep -v '^ *+' conftest.er1 >conftest.err
84099 rm -f conftest.er1
84100 cat conftest.err >&5
84101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84102 (exit $ac_status); } &&
84103 { ac_try='test -z "$ac_c_werror_flag"
84104 || test ! -s conftest.err'
84105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84106 (eval $ac_try) 2>&5
84107 ac_status=$?
84108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84109 (exit $ac_status); }; } &&
84110 { ac_try='test -s conftest$ac_exeext'
84111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84112 (eval $ac_try) 2>&5
84113 ac_status=$?
84114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84115 (exit $ac_status); }; }; then
84116 eval "$as_ac_var=yes"
84117 else
84118 echo "$as_me: failed program was:" >&5
84119 sed 's/^/| /' conftest.$ac_ext >&5
84120
84121 eval "$as_ac_var=no"
84122 fi
84123 rm -f conftest.err conftest.$ac_objext \
84124 conftest$ac_exeext conftest.$ac_ext
84125 fi
84126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84128 if test `eval echo '${'$as_ac_var'}'` = yes; then
84129 cat >>confdefs.h <<_ACEOF
84130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84131 _ACEOF
84132
84133 fi
84134 done
84135
84136 else
84137
84138 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
84139 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
84140 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
84141 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
84142 echo $ECHO_N "(cached) $ECHO_C" >&6
84143 else
84144
84145
84146
84147 ac_ext=cc
84148 ac_cpp='$CXXCPP $CPPFLAGS'
84149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84152
84153 cat >conftest.$ac_ext <<_ACEOF
84154 /* confdefs.h. */
84155 _ACEOF
84156 cat confdefs.h >>conftest.$ac_ext
84157 cat >>conftest.$ac_ext <<_ACEOF
84158 /* end confdefs.h. */
84159 #include <math.h>
84160 int
84161 main ()
84162 {
84163 _ldexpf(0, 0);
84164 ;
84165 return 0;
84166 }
84167 _ACEOF
84168 rm -f conftest.$ac_objext
84169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84170 (eval $ac_compile) 2>conftest.er1
84171 ac_status=$?
84172 grep -v '^ *+' conftest.er1 >conftest.err
84173 rm -f conftest.er1
84174 cat conftest.err >&5
84175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84176 (exit $ac_status); } &&
84177 { ac_try='test -z "$ac_cxx_werror_flag"
84178 || test ! -s conftest.err'
84179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84180 (eval $ac_try) 2>&5
84181 ac_status=$?
84182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84183 (exit $ac_status); }; } &&
84184 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84190 glibcxx_cv_func__ldexpf_use=yes
84191 else
84192 echo "$as_me: failed program was:" >&5
84193 sed 's/^/| /' conftest.$ac_ext >&5
84194
84195 glibcxx_cv_func__ldexpf_use=no
84196 fi
84197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84198 ac_ext=c
84199 ac_cpp='$CPP $CPPFLAGS'
84200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84203
84204
84205 fi
84206
84207 fi
84208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
84209 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
84210
84211 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
84212
84213 for ac_func in _ldexpf
84214 do
84215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84216 echo "$as_me:$LINENO: checking for $ac_func" >&5
84217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84218 if eval "test \"\${$as_ac_var+set}\" = set"; then
84219 echo $ECHO_N "(cached) $ECHO_C" >&6
84220 else
84221 if test x$gcc_no_link = xyes; then
84222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84224 { (exit 1); exit 1; }; }
84225 fi
84226 cat >conftest.$ac_ext <<_ACEOF
84227 /* confdefs.h. */
84228 _ACEOF
84229 cat confdefs.h >>conftest.$ac_ext
84230 cat >>conftest.$ac_ext <<_ACEOF
84231 /* end confdefs.h. */
84232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84234 #define $ac_func innocuous_$ac_func
84235
84236 /* System header to define __stub macros and hopefully few prototypes,
84237 which can conflict with char $ac_func (); below.
84238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84239 <limits.h> exists even on freestanding compilers. */
84240
84241 #ifdef __STDC__
84242 # include <limits.h>
84243 #else
84244 # include <assert.h>
84245 #endif
84246
84247 #undef $ac_func
84248
84249 /* Override any gcc2 internal prototype to avoid an error. */
84250 #ifdef __cplusplus
84251 extern "C"
84252 {
84253 #endif
84254 /* We use char because int might match the return type of a gcc2
84255 builtin and then its argument prototype would still apply. */
84256 char $ac_func ();
84257 /* The GNU C library defines this for functions which it implements
84258 to always fail with ENOSYS. Some functions are actually named
84259 something starting with __ and the normal name is an alias. */
84260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84261 choke me
84262 #else
84263 char (*f) () = $ac_func;
84264 #endif
84265 #ifdef __cplusplus
84266 }
84267 #endif
84268
84269 int
84270 main ()
84271 {
84272 return f != $ac_func;
84273 ;
84274 return 0;
84275 }
84276 _ACEOF
84277 rm -f conftest.$ac_objext conftest$ac_exeext
84278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84279 (eval $ac_link) 2>conftest.er1
84280 ac_status=$?
84281 grep -v '^ *+' conftest.er1 >conftest.err
84282 rm -f conftest.er1
84283 cat conftest.err >&5
84284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84285 (exit $ac_status); } &&
84286 { ac_try='test -z "$ac_c_werror_flag"
84287 || test ! -s conftest.err'
84288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84289 (eval $ac_try) 2>&5
84290 ac_status=$?
84291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84292 (exit $ac_status); }; } &&
84293 { ac_try='test -s conftest$ac_exeext'
84294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84295 (eval $ac_try) 2>&5
84296 ac_status=$?
84297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84298 (exit $ac_status); }; }; then
84299 eval "$as_ac_var=yes"
84300 else
84301 echo "$as_me: failed program was:" >&5
84302 sed 's/^/| /' conftest.$ac_ext >&5
84303
84304 eval "$as_ac_var=no"
84305 fi
84306 rm -f conftest.err conftest.$ac_objext \
84307 conftest$ac_exeext conftest.$ac_ext
84308 fi
84309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84311 if test `eval echo '${'$as_ac_var'}'` = yes; then
84312 cat >>confdefs.h <<_ACEOF
84313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84314 _ACEOF
84315
84316 fi
84317 done
84318
84319 fi
84320 fi
84321
84322
84323
84324
84325
84326
84327 echo "$as_me:$LINENO: checking for logf declaration" >&5
84328 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
84329 if test x${glibcxx_cv_func_logf_use+set} != xset; then
84330 if test "${glibcxx_cv_func_logf_use+set}" = set; then
84331 echo $ECHO_N "(cached) $ECHO_C" >&6
84332 else
84333
84334
84335
84336 ac_ext=cc
84337 ac_cpp='$CXXCPP $CPPFLAGS'
84338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84341
84342 cat >conftest.$ac_ext <<_ACEOF
84343 /* confdefs.h. */
84344 _ACEOF
84345 cat confdefs.h >>conftest.$ac_ext
84346 cat >>conftest.$ac_ext <<_ACEOF
84347 /* end confdefs.h. */
84348 #include <math.h>
84349 #ifdef HAVE_IEEEFP_H
84350 #include <ieeefp.h>
84351 #endif
84352
84353 int
84354 main ()
84355 {
84356 logf(0);
84357 ;
84358 return 0;
84359 }
84360 _ACEOF
84361 rm -f conftest.$ac_objext
84362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84363 (eval $ac_compile) 2>conftest.er1
84364 ac_status=$?
84365 grep -v '^ *+' conftest.er1 >conftest.err
84366 rm -f conftest.er1
84367 cat conftest.err >&5
84368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84369 (exit $ac_status); } &&
84370 { ac_try='test -z "$ac_cxx_werror_flag"
84371 || test ! -s conftest.err'
84372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84373 (eval $ac_try) 2>&5
84374 ac_status=$?
84375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84376 (exit $ac_status); }; } &&
84377 { ac_try='test -s conftest.$ac_objext'
84378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84379 (eval $ac_try) 2>&5
84380 ac_status=$?
84381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84382 (exit $ac_status); }; }; then
84383 glibcxx_cv_func_logf_use=yes
84384 else
84385 echo "$as_me: failed program was:" >&5
84386 sed 's/^/| /' conftest.$ac_ext >&5
84387
84388 glibcxx_cv_func_logf_use=no
84389 fi
84390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84391 ac_ext=c
84392 ac_cpp='$CPP $CPPFLAGS'
84393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84396
84397
84398 fi
84399
84400 fi
84401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
84402 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
84403
84404 if test x$glibcxx_cv_func_logf_use = x"yes"; then
84405
84406 for ac_func in logf
84407 do
84408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84409 echo "$as_me:$LINENO: checking for $ac_func" >&5
84410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84411 if eval "test \"\${$as_ac_var+set}\" = set"; then
84412 echo $ECHO_N "(cached) $ECHO_C" >&6
84413 else
84414 if test x$gcc_no_link = xyes; then
84415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84417 { (exit 1); exit 1; }; }
84418 fi
84419 cat >conftest.$ac_ext <<_ACEOF
84420 /* confdefs.h. */
84421 _ACEOF
84422 cat confdefs.h >>conftest.$ac_ext
84423 cat >>conftest.$ac_ext <<_ACEOF
84424 /* end confdefs.h. */
84425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84427 #define $ac_func innocuous_$ac_func
84428
84429 /* System header to define __stub macros and hopefully few prototypes,
84430 which can conflict with char $ac_func (); below.
84431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84432 <limits.h> exists even on freestanding compilers. */
84433
84434 #ifdef __STDC__
84435 # include <limits.h>
84436 #else
84437 # include <assert.h>
84438 #endif
84439
84440 #undef $ac_func
84441
84442 /* Override any gcc2 internal prototype to avoid an error. */
84443 #ifdef __cplusplus
84444 extern "C"
84445 {
84446 #endif
84447 /* We use char because int might match the return type of a gcc2
84448 builtin and then its argument prototype would still apply. */
84449 char $ac_func ();
84450 /* The GNU C library defines this for functions which it implements
84451 to always fail with ENOSYS. Some functions are actually named
84452 something starting with __ and the normal name is an alias. */
84453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84454 choke me
84455 #else
84456 char (*f) () = $ac_func;
84457 #endif
84458 #ifdef __cplusplus
84459 }
84460 #endif
84461
84462 int
84463 main ()
84464 {
84465 return f != $ac_func;
84466 ;
84467 return 0;
84468 }
84469 _ACEOF
84470 rm -f conftest.$ac_objext conftest$ac_exeext
84471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84472 (eval $ac_link) 2>conftest.er1
84473 ac_status=$?
84474 grep -v '^ *+' conftest.er1 >conftest.err
84475 rm -f conftest.er1
84476 cat conftest.err >&5
84477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84478 (exit $ac_status); } &&
84479 { ac_try='test -z "$ac_c_werror_flag"
84480 || test ! -s conftest.err'
84481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84482 (eval $ac_try) 2>&5
84483 ac_status=$?
84484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84485 (exit $ac_status); }; } &&
84486 { ac_try='test -s conftest$ac_exeext'
84487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84488 (eval $ac_try) 2>&5
84489 ac_status=$?
84490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84491 (exit $ac_status); }; }; then
84492 eval "$as_ac_var=yes"
84493 else
84494 echo "$as_me: failed program was:" >&5
84495 sed 's/^/| /' conftest.$ac_ext >&5
84496
84497 eval "$as_ac_var=no"
84498 fi
84499 rm -f conftest.err conftest.$ac_objext \
84500 conftest$ac_exeext conftest.$ac_ext
84501 fi
84502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84504 if test `eval echo '${'$as_ac_var'}'` = yes; then
84505 cat >>confdefs.h <<_ACEOF
84506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84507 _ACEOF
84508
84509 fi
84510 done
84511
84512 else
84513
84514 echo "$as_me:$LINENO: checking for _logf declaration" >&5
84515 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
84516 if test x${glibcxx_cv_func__logf_use+set} != xset; then
84517 if test "${glibcxx_cv_func__logf_use+set}" = set; then
84518 echo $ECHO_N "(cached) $ECHO_C" >&6
84519 else
84520
84521
84522
84523 ac_ext=cc
84524 ac_cpp='$CXXCPP $CPPFLAGS'
84525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84528
84529 cat >conftest.$ac_ext <<_ACEOF
84530 /* confdefs.h. */
84531 _ACEOF
84532 cat confdefs.h >>conftest.$ac_ext
84533 cat >>conftest.$ac_ext <<_ACEOF
84534 /* end confdefs.h. */
84535 #include <math.h>
84536 #ifdef HAVE_IEEEFP_H
84537 #include <ieeefp.h>
84538 #endif
84539
84540 int
84541 main ()
84542 {
84543 _logf(0);
84544 ;
84545 return 0;
84546 }
84547 _ACEOF
84548 rm -f conftest.$ac_objext
84549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84550 (eval $ac_compile) 2>conftest.er1
84551 ac_status=$?
84552 grep -v '^ *+' conftest.er1 >conftest.err
84553 rm -f conftest.er1
84554 cat conftest.err >&5
84555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84556 (exit $ac_status); } &&
84557 { ac_try='test -z "$ac_cxx_werror_flag"
84558 || test ! -s conftest.err'
84559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84560 (eval $ac_try) 2>&5
84561 ac_status=$?
84562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84563 (exit $ac_status); }; } &&
84564 { ac_try='test -s conftest.$ac_objext'
84565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84566 (eval $ac_try) 2>&5
84567 ac_status=$?
84568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84569 (exit $ac_status); }; }; then
84570 glibcxx_cv_func__logf_use=yes
84571 else
84572 echo "$as_me: failed program was:" >&5
84573 sed 's/^/| /' conftest.$ac_ext >&5
84574
84575 glibcxx_cv_func__logf_use=no
84576 fi
84577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84578 ac_ext=c
84579 ac_cpp='$CPP $CPPFLAGS'
84580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84583
84584
84585 fi
84586
84587 fi
84588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
84589 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
84590
84591 if test x$glibcxx_cv_func__logf_use = x"yes"; then
84592
84593 for ac_func in _logf
84594 do
84595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84596 echo "$as_me:$LINENO: checking for $ac_func" >&5
84597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84598 if eval "test \"\${$as_ac_var+set}\" = set"; then
84599 echo $ECHO_N "(cached) $ECHO_C" >&6
84600 else
84601 if test x$gcc_no_link = xyes; then
84602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84604 { (exit 1); exit 1; }; }
84605 fi
84606 cat >conftest.$ac_ext <<_ACEOF
84607 /* confdefs.h. */
84608 _ACEOF
84609 cat confdefs.h >>conftest.$ac_ext
84610 cat >>conftest.$ac_ext <<_ACEOF
84611 /* end confdefs.h. */
84612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84614 #define $ac_func innocuous_$ac_func
84615
84616 /* System header to define __stub macros and hopefully few prototypes,
84617 which can conflict with char $ac_func (); below.
84618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84619 <limits.h> exists even on freestanding compilers. */
84620
84621 #ifdef __STDC__
84622 # include <limits.h>
84623 #else
84624 # include <assert.h>
84625 #endif
84626
84627 #undef $ac_func
84628
84629 /* Override any gcc2 internal prototype to avoid an error. */
84630 #ifdef __cplusplus
84631 extern "C"
84632 {
84633 #endif
84634 /* We use char because int might match the return type of a gcc2
84635 builtin and then its argument prototype would still apply. */
84636 char $ac_func ();
84637 /* The GNU C library defines this for functions which it implements
84638 to always fail with ENOSYS. Some functions are actually named
84639 something starting with __ and the normal name is an alias. */
84640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84641 choke me
84642 #else
84643 char (*f) () = $ac_func;
84644 #endif
84645 #ifdef __cplusplus
84646 }
84647 #endif
84648
84649 int
84650 main ()
84651 {
84652 return f != $ac_func;
84653 ;
84654 return 0;
84655 }
84656 _ACEOF
84657 rm -f conftest.$ac_objext conftest$ac_exeext
84658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84659 (eval $ac_link) 2>conftest.er1
84660 ac_status=$?
84661 grep -v '^ *+' conftest.er1 >conftest.err
84662 rm -f conftest.er1
84663 cat conftest.err >&5
84664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84665 (exit $ac_status); } &&
84666 { ac_try='test -z "$ac_c_werror_flag"
84667 || test ! -s conftest.err'
84668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84669 (eval $ac_try) 2>&5
84670 ac_status=$?
84671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84672 (exit $ac_status); }; } &&
84673 { ac_try='test -s conftest$ac_exeext'
84674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84675 (eval $ac_try) 2>&5
84676 ac_status=$?
84677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84678 (exit $ac_status); }; }; then
84679 eval "$as_ac_var=yes"
84680 else
84681 echo "$as_me: failed program was:" >&5
84682 sed 's/^/| /' conftest.$ac_ext >&5
84683
84684 eval "$as_ac_var=no"
84685 fi
84686 rm -f conftest.err conftest.$ac_objext \
84687 conftest$ac_exeext conftest.$ac_ext
84688 fi
84689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84691 if test `eval echo '${'$as_ac_var'}'` = yes; then
84692 cat >>confdefs.h <<_ACEOF
84693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84694 _ACEOF
84695
84696 fi
84697 done
84698
84699 fi
84700 fi
84701
84702
84703
84704
84705
84706
84707 echo "$as_me:$LINENO: checking for log10f declaration" >&5
84708 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
84709 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
84710 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
84711 echo $ECHO_N "(cached) $ECHO_C" >&6
84712 else
84713
84714
84715
84716 ac_ext=cc
84717 ac_cpp='$CXXCPP $CPPFLAGS'
84718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84721
84722 cat >conftest.$ac_ext <<_ACEOF
84723 /* confdefs.h. */
84724 _ACEOF
84725 cat confdefs.h >>conftest.$ac_ext
84726 cat >>conftest.$ac_ext <<_ACEOF
84727 /* end confdefs.h. */
84728 #include <math.h>
84729 #ifdef HAVE_IEEEFP_H
84730 #include <ieeefp.h>
84731 #endif
84732
84733 int
84734 main ()
84735 {
84736 log10f(0);
84737 ;
84738 return 0;
84739 }
84740 _ACEOF
84741 rm -f conftest.$ac_objext
84742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84743 (eval $ac_compile) 2>conftest.er1
84744 ac_status=$?
84745 grep -v '^ *+' conftest.er1 >conftest.err
84746 rm -f conftest.er1
84747 cat conftest.err >&5
84748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84749 (exit $ac_status); } &&
84750 { ac_try='test -z "$ac_cxx_werror_flag"
84751 || test ! -s conftest.err'
84752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84753 (eval $ac_try) 2>&5
84754 ac_status=$?
84755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84756 (exit $ac_status); }; } &&
84757 { ac_try='test -s conftest.$ac_objext'
84758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84759 (eval $ac_try) 2>&5
84760 ac_status=$?
84761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84762 (exit $ac_status); }; }; then
84763 glibcxx_cv_func_log10f_use=yes
84764 else
84765 echo "$as_me: failed program was:" >&5
84766 sed 's/^/| /' conftest.$ac_ext >&5
84767
84768 glibcxx_cv_func_log10f_use=no
84769 fi
84770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84771 ac_ext=c
84772 ac_cpp='$CPP $CPPFLAGS'
84773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84776
84777
84778 fi
84779
84780 fi
84781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
84782 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
84783
84784 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
84785
84786 for ac_func in log10f
84787 do
84788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84789 echo "$as_me:$LINENO: checking for $ac_func" >&5
84790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84791 if eval "test \"\${$as_ac_var+set}\" = set"; then
84792 echo $ECHO_N "(cached) $ECHO_C" >&6
84793 else
84794 if test x$gcc_no_link = xyes; then
84795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84797 { (exit 1); exit 1; }; }
84798 fi
84799 cat >conftest.$ac_ext <<_ACEOF
84800 /* confdefs.h. */
84801 _ACEOF
84802 cat confdefs.h >>conftest.$ac_ext
84803 cat >>conftest.$ac_ext <<_ACEOF
84804 /* end confdefs.h. */
84805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84807 #define $ac_func innocuous_$ac_func
84808
84809 /* System header to define __stub macros and hopefully few prototypes,
84810 which can conflict with char $ac_func (); below.
84811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84812 <limits.h> exists even on freestanding compilers. */
84813
84814 #ifdef __STDC__
84815 # include <limits.h>
84816 #else
84817 # include <assert.h>
84818 #endif
84819
84820 #undef $ac_func
84821
84822 /* Override any gcc2 internal prototype to avoid an error. */
84823 #ifdef __cplusplus
84824 extern "C"
84825 {
84826 #endif
84827 /* We use char because int might match the return type of a gcc2
84828 builtin and then its argument prototype would still apply. */
84829 char $ac_func ();
84830 /* The GNU C library defines this for functions which it implements
84831 to always fail with ENOSYS. Some functions are actually named
84832 something starting with __ and the normal name is an alias. */
84833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84834 choke me
84835 #else
84836 char (*f) () = $ac_func;
84837 #endif
84838 #ifdef __cplusplus
84839 }
84840 #endif
84841
84842 int
84843 main ()
84844 {
84845 return f != $ac_func;
84846 ;
84847 return 0;
84848 }
84849 _ACEOF
84850 rm -f conftest.$ac_objext conftest$ac_exeext
84851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84852 (eval $ac_link) 2>conftest.er1
84853 ac_status=$?
84854 grep -v '^ *+' conftest.er1 >conftest.err
84855 rm -f conftest.er1
84856 cat conftest.err >&5
84857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84858 (exit $ac_status); } &&
84859 { ac_try='test -z "$ac_c_werror_flag"
84860 || test ! -s conftest.err'
84861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84862 (eval $ac_try) 2>&5
84863 ac_status=$?
84864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84865 (exit $ac_status); }; } &&
84866 { ac_try='test -s conftest$ac_exeext'
84867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84868 (eval $ac_try) 2>&5
84869 ac_status=$?
84870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84871 (exit $ac_status); }; }; then
84872 eval "$as_ac_var=yes"
84873 else
84874 echo "$as_me: failed program was:" >&5
84875 sed 's/^/| /' conftest.$ac_ext >&5
84876
84877 eval "$as_ac_var=no"
84878 fi
84879 rm -f conftest.err conftest.$ac_objext \
84880 conftest$ac_exeext conftest.$ac_ext
84881 fi
84882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84884 if test `eval echo '${'$as_ac_var'}'` = yes; then
84885 cat >>confdefs.h <<_ACEOF
84886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84887 _ACEOF
84888
84889 fi
84890 done
84891
84892 else
84893
84894 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
84895 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
84896 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
84897 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
84898 echo $ECHO_N "(cached) $ECHO_C" >&6
84899 else
84900
84901
84902
84903 ac_ext=cc
84904 ac_cpp='$CXXCPP $CPPFLAGS'
84905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84908
84909 cat >conftest.$ac_ext <<_ACEOF
84910 /* confdefs.h. */
84911 _ACEOF
84912 cat confdefs.h >>conftest.$ac_ext
84913 cat >>conftest.$ac_ext <<_ACEOF
84914 /* end confdefs.h. */
84915 #include <math.h>
84916 #ifdef HAVE_IEEEFP_H
84917 #include <ieeefp.h>
84918 #endif
84919
84920 int
84921 main ()
84922 {
84923 _log10f(0);
84924 ;
84925 return 0;
84926 }
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_cxx_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 glibcxx_cv_func__log10f_use=yes
84951 else
84952 echo "$as_me: failed program was:" >&5
84953 sed 's/^/| /' conftest.$ac_ext >&5
84954
84955 glibcxx_cv_func__log10f_use=no
84956 fi
84957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84958 ac_ext=c
84959 ac_cpp='$CPP $CPPFLAGS'
84960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84963
84964
84965 fi
84966
84967 fi
84968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
84969 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
84970
84971 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
84972
84973 for ac_func in _log10f
84974 do
84975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84976 echo "$as_me:$LINENO: checking for $ac_func" >&5
84977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84978 if eval "test \"\${$as_ac_var+set}\" = set"; then
84979 echo $ECHO_N "(cached) $ECHO_C" >&6
84980 else
84981 if test x$gcc_no_link = xyes; then
84982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84984 { (exit 1); exit 1; }; }
84985 fi
84986 cat >conftest.$ac_ext <<_ACEOF
84987 /* confdefs.h. */
84988 _ACEOF
84989 cat confdefs.h >>conftest.$ac_ext
84990 cat >>conftest.$ac_ext <<_ACEOF
84991 /* end confdefs.h. */
84992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84994 #define $ac_func innocuous_$ac_func
84995
84996 /* System header to define __stub macros and hopefully few prototypes,
84997 which can conflict with char $ac_func (); below.
84998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84999 <limits.h> exists even on freestanding compilers. */
85000
85001 #ifdef __STDC__
85002 # include <limits.h>
85003 #else
85004 # include <assert.h>
85005 #endif
85006
85007 #undef $ac_func
85008
85009 /* Override any gcc2 internal prototype to avoid an error. */
85010 #ifdef __cplusplus
85011 extern "C"
85012 {
85013 #endif
85014 /* We use char because int might match the return type of a gcc2
85015 builtin and then its argument prototype would still apply. */
85016 char $ac_func ();
85017 /* The GNU C library defines this for functions which it implements
85018 to always fail with ENOSYS. Some functions are actually named
85019 something starting with __ and the normal name is an alias. */
85020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85021 choke me
85022 #else
85023 char (*f) () = $ac_func;
85024 #endif
85025 #ifdef __cplusplus
85026 }
85027 #endif
85028
85029 int
85030 main ()
85031 {
85032 return f != $ac_func;
85033 ;
85034 return 0;
85035 }
85036 _ACEOF
85037 rm -f conftest.$ac_objext conftest$ac_exeext
85038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85039 (eval $ac_link) 2>conftest.er1
85040 ac_status=$?
85041 grep -v '^ *+' conftest.er1 >conftest.err
85042 rm -f conftest.er1
85043 cat conftest.err >&5
85044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85045 (exit $ac_status); } &&
85046 { ac_try='test -z "$ac_c_werror_flag"
85047 || test ! -s conftest.err'
85048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85049 (eval $ac_try) 2>&5
85050 ac_status=$?
85051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85052 (exit $ac_status); }; } &&
85053 { ac_try='test -s conftest$ac_exeext'
85054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85055 (eval $ac_try) 2>&5
85056 ac_status=$?
85057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85058 (exit $ac_status); }; }; then
85059 eval "$as_ac_var=yes"
85060 else
85061 echo "$as_me: failed program was:" >&5
85062 sed 's/^/| /' conftest.$ac_ext >&5
85063
85064 eval "$as_ac_var=no"
85065 fi
85066 rm -f conftest.err conftest.$ac_objext \
85067 conftest$ac_exeext conftest.$ac_ext
85068 fi
85069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85071 if test `eval echo '${'$as_ac_var'}'` = yes; then
85072 cat >>confdefs.h <<_ACEOF
85073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85074 _ACEOF
85075
85076 fi
85077 done
85078
85079 fi
85080 fi
85081
85082
85083
85084
85085
85086
85087 echo "$as_me:$LINENO: checking for modff declaration" >&5
85088 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
85089 if test x${glibcxx_cv_func_modff_use+set} != xset; then
85090 if test "${glibcxx_cv_func_modff_use+set}" = set; then
85091 echo $ECHO_N "(cached) $ECHO_C" >&6
85092 else
85093
85094
85095
85096 ac_ext=cc
85097 ac_cpp='$CXXCPP $CPPFLAGS'
85098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85101
85102 cat >conftest.$ac_ext <<_ACEOF
85103 /* confdefs.h. */
85104 _ACEOF
85105 cat confdefs.h >>conftest.$ac_ext
85106 cat >>conftest.$ac_ext <<_ACEOF
85107 /* end confdefs.h. */
85108 #include <math.h>
85109 int
85110 main ()
85111 {
85112 modff(0, 0);
85113 ;
85114 return 0;
85115 }
85116 _ACEOF
85117 rm -f conftest.$ac_objext
85118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85119 (eval $ac_compile) 2>conftest.er1
85120 ac_status=$?
85121 grep -v '^ *+' conftest.er1 >conftest.err
85122 rm -f conftest.er1
85123 cat conftest.err >&5
85124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85125 (exit $ac_status); } &&
85126 { ac_try='test -z "$ac_cxx_werror_flag"
85127 || test ! -s conftest.err'
85128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85129 (eval $ac_try) 2>&5
85130 ac_status=$?
85131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85132 (exit $ac_status); }; } &&
85133 { ac_try='test -s conftest.$ac_objext'
85134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85135 (eval $ac_try) 2>&5
85136 ac_status=$?
85137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85138 (exit $ac_status); }; }; then
85139 glibcxx_cv_func_modff_use=yes
85140 else
85141 echo "$as_me: failed program was:" >&5
85142 sed 's/^/| /' conftest.$ac_ext >&5
85143
85144 glibcxx_cv_func_modff_use=no
85145 fi
85146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85147 ac_ext=c
85148 ac_cpp='$CPP $CPPFLAGS'
85149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85152
85153
85154 fi
85155
85156 fi
85157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
85158 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
85159
85160 if test x$glibcxx_cv_func_modff_use = x"yes"; then
85161
85162 for ac_func in modff
85163 do
85164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85165 echo "$as_me:$LINENO: checking for $ac_func" >&5
85166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85167 if eval "test \"\${$as_ac_var+set}\" = set"; then
85168 echo $ECHO_N "(cached) $ECHO_C" >&6
85169 else
85170 if test x$gcc_no_link = xyes; then
85171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85173 { (exit 1); exit 1; }; }
85174 fi
85175 cat >conftest.$ac_ext <<_ACEOF
85176 /* confdefs.h. */
85177 _ACEOF
85178 cat confdefs.h >>conftest.$ac_ext
85179 cat >>conftest.$ac_ext <<_ACEOF
85180 /* end confdefs.h. */
85181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85183 #define $ac_func innocuous_$ac_func
85184
85185 /* System header to define __stub macros and hopefully few prototypes,
85186 which can conflict with char $ac_func (); below.
85187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85188 <limits.h> exists even on freestanding compilers. */
85189
85190 #ifdef __STDC__
85191 # include <limits.h>
85192 #else
85193 # include <assert.h>
85194 #endif
85195
85196 #undef $ac_func
85197
85198 /* Override any gcc2 internal prototype to avoid an error. */
85199 #ifdef __cplusplus
85200 extern "C"
85201 {
85202 #endif
85203 /* We use char because int might match the return type of a gcc2
85204 builtin and then its argument prototype would still apply. */
85205 char $ac_func ();
85206 /* The GNU C library defines this for functions which it implements
85207 to always fail with ENOSYS. Some functions are actually named
85208 something starting with __ and the normal name is an alias. */
85209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85210 choke me
85211 #else
85212 char (*f) () = $ac_func;
85213 #endif
85214 #ifdef __cplusplus
85215 }
85216 #endif
85217
85218 int
85219 main ()
85220 {
85221 return f != $ac_func;
85222 ;
85223 return 0;
85224 }
85225 _ACEOF
85226 rm -f conftest.$ac_objext conftest$ac_exeext
85227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85228 (eval $ac_link) 2>conftest.er1
85229 ac_status=$?
85230 grep -v '^ *+' conftest.er1 >conftest.err
85231 rm -f conftest.er1
85232 cat conftest.err >&5
85233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85234 (exit $ac_status); } &&
85235 { ac_try='test -z "$ac_c_werror_flag"
85236 || test ! -s conftest.err'
85237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85238 (eval $ac_try) 2>&5
85239 ac_status=$?
85240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85241 (exit $ac_status); }; } &&
85242 { ac_try='test -s conftest$ac_exeext'
85243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85244 (eval $ac_try) 2>&5
85245 ac_status=$?
85246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85247 (exit $ac_status); }; }; then
85248 eval "$as_ac_var=yes"
85249 else
85250 echo "$as_me: failed program was:" >&5
85251 sed 's/^/| /' conftest.$ac_ext >&5
85252
85253 eval "$as_ac_var=no"
85254 fi
85255 rm -f conftest.err conftest.$ac_objext \
85256 conftest$ac_exeext conftest.$ac_ext
85257 fi
85258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85260 if test `eval echo '${'$as_ac_var'}'` = yes; then
85261 cat >>confdefs.h <<_ACEOF
85262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85263 _ACEOF
85264
85265 fi
85266 done
85267
85268 else
85269
85270 echo "$as_me:$LINENO: checking for _modff declaration" >&5
85271 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
85272 if test x${glibcxx_cv_func__modff_use+set} != xset; then
85273 if test "${glibcxx_cv_func__modff_use+set}" = set; then
85274 echo $ECHO_N "(cached) $ECHO_C" >&6
85275 else
85276
85277
85278
85279 ac_ext=cc
85280 ac_cpp='$CXXCPP $CPPFLAGS'
85281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85284
85285 cat >conftest.$ac_ext <<_ACEOF
85286 /* confdefs.h. */
85287 _ACEOF
85288 cat confdefs.h >>conftest.$ac_ext
85289 cat >>conftest.$ac_ext <<_ACEOF
85290 /* end confdefs.h. */
85291 #include <math.h>
85292 int
85293 main ()
85294 {
85295 _modff(0, 0);
85296 ;
85297 return 0;
85298 }
85299 _ACEOF
85300 rm -f conftest.$ac_objext
85301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85302 (eval $ac_compile) 2>conftest.er1
85303 ac_status=$?
85304 grep -v '^ *+' conftest.er1 >conftest.err
85305 rm -f conftest.er1
85306 cat conftest.err >&5
85307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85308 (exit $ac_status); } &&
85309 { ac_try='test -z "$ac_cxx_werror_flag"
85310 || test ! -s conftest.err'
85311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85312 (eval $ac_try) 2>&5
85313 ac_status=$?
85314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85315 (exit $ac_status); }; } &&
85316 { ac_try='test -s conftest.$ac_objext'
85317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85318 (eval $ac_try) 2>&5
85319 ac_status=$?
85320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85321 (exit $ac_status); }; }; then
85322 glibcxx_cv_func__modff_use=yes
85323 else
85324 echo "$as_me: failed program was:" >&5
85325 sed 's/^/| /' conftest.$ac_ext >&5
85326
85327 glibcxx_cv_func__modff_use=no
85328 fi
85329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85330 ac_ext=c
85331 ac_cpp='$CPP $CPPFLAGS'
85332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85335
85336
85337 fi
85338
85339 fi
85340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
85341 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
85342
85343 if test x$glibcxx_cv_func__modff_use = x"yes"; then
85344
85345 for ac_func in _modff
85346 do
85347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85348 echo "$as_me:$LINENO: checking for $ac_func" >&5
85349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85350 if eval "test \"\${$as_ac_var+set}\" = set"; then
85351 echo $ECHO_N "(cached) $ECHO_C" >&6
85352 else
85353 if test x$gcc_no_link = xyes; then
85354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85356 { (exit 1); exit 1; }; }
85357 fi
85358 cat >conftest.$ac_ext <<_ACEOF
85359 /* confdefs.h. */
85360 _ACEOF
85361 cat confdefs.h >>conftest.$ac_ext
85362 cat >>conftest.$ac_ext <<_ACEOF
85363 /* end confdefs.h. */
85364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85366 #define $ac_func innocuous_$ac_func
85367
85368 /* System header to define __stub macros and hopefully few prototypes,
85369 which can conflict with char $ac_func (); below.
85370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85371 <limits.h> exists even on freestanding compilers. */
85372
85373 #ifdef __STDC__
85374 # include <limits.h>
85375 #else
85376 # include <assert.h>
85377 #endif
85378
85379 #undef $ac_func
85380
85381 /* Override any gcc2 internal prototype to avoid an error. */
85382 #ifdef __cplusplus
85383 extern "C"
85384 {
85385 #endif
85386 /* We use char because int might match the return type of a gcc2
85387 builtin and then its argument prototype would still apply. */
85388 char $ac_func ();
85389 /* The GNU C library defines this for functions which it implements
85390 to always fail with ENOSYS. Some functions are actually named
85391 something starting with __ and the normal name is an alias. */
85392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85393 choke me
85394 #else
85395 char (*f) () = $ac_func;
85396 #endif
85397 #ifdef __cplusplus
85398 }
85399 #endif
85400
85401 int
85402 main ()
85403 {
85404 return f != $ac_func;
85405 ;
85406 return 0;
85407 }
85408 _ACEOF
85409 rm -f conftest.$ac_objext conftest$ac_exeext
85410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85411 (eval $ac_link) 2>conftest.er1
85412 ac_status=$?
85413 grep -v '^ *+' conftest.er1 >conftest.err
85414 rm -f conftest.er1
85415 cat conftest.err >&5
85416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85417 (exit $ac_status); } &&
85418 { ac_try='test -z "$ac_c_werror_flag"
85419 || test ! -s conftest.err'
85420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85421 (eval $ac_try) 2>&5
85422 ac_status=$?
85423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85424 (exit $ac_status); }; } &&
85425 { ac_try='test -s conftest$ac_exeext'
85426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85427 (eval $ac_try) 2>&5
85428 ac_status=$?
85429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85430 (exit $ac_status); }; }; then
85431 eval "$as_ac_var=yes"
85432 else
85433 echo "$as_me: failed program was:" >&5
85434 sed 's/^/| /' conftest.$ac_ext >&5
85435
85436 eval "$as_ac_var=no"
85437 fi
85438 rm -f conftest.err conftest.$ac_objext \
85439 conftest$ac_exeext conftest.$ac_ext
85440 fi
85441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85443 if test `eval echo '${'$as_ac_var'}'` = yes; then
85444 cat >>confdefs.h <<_ACEOF
85445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85446 _ACEOF
85447
85448 fi
85449 done
85450
85451 fi
85452 fi
85453
85454
85455
85456
85457
85458
85459 echo "$as_me:$LINENO: checking for modf declaration" >&5
85460 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
85461 if test x${glibcxx_cv_func_modf_use+set} != xset; then
85462 if test "${glibcxx_cv_func_modf_use+set}" = set; then
85463 echo $ECHO_N "(cached) $ECHO_C" >&6
85464 else
85465
85466
85467
85468 ac_ext=cc
85469 ac_cpp='$CXXCPP $CPPFLAGS'
85470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85473
85474 cat >conftest.$ac_ext <<_ACEOF
85475 /* confdefs.h. */
85476 _ACEOF
85477 cat confdefs.h >>conftest.$ac_ext
85478 cat >>conftest.$ac_ext <<_ACEOF
85479 /* end confdefs.h. */
85480 #include <math.h>
85481 int
85482 main ()
85483 {
85484 modf(0, 0);
85485 ;
85486 return 0;
85487 }
85488 _ACEOF
85489 rm -f conftest.$ac_objext
85490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85491 (eval $ac_compile) 2>conftest.er1
85492 ac_status=$?
85493 grep -v '^ *+' conftest.er1 >conftest.err
85494 rm -f conftest.er1
85495 cat conftest.err >&5
85496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85497 (exit $ac_status); } &&
85498 { ac_try='test -z "$ac_cxx_werror_flag"
85499 || test ! -s conftest.err'
85500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85501 (eval $ac_try) 2>&5
85502 ac_status=$?
85503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85504 (exit $ac_status); }; } &&
85505 { ac_try='test -s conftest.$ac_objext'
85506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85507 (eval $ac_try) 2>&5
85508 ac_status=$?
85509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85510 (exit $ac_status); }; }; then
85511 glibcxx_cv_func_modf_use=yes
85512 else
85513 echo "$as_me: failed program was:" >&5
85514 sed 's/^/| /' conftest.$ac_ext >&5
85515
85516 glibcxx_cv_func_modf_use=no
85517 fi
85518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85519 ac_ext=c
85520 ac_cpp='$CPP $CPPFLAGS'
85521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85524
85525
85526 fi
85527
85528 fi
85529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
85530 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
85531
85532 if test x$glibcxx_cv_func_modf_use = x"yes"; then
85533
85534 for ac_func in modf
85535 do
85536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85537 echo "$as_me:$LINENO: checking for $ac_func" >&5
85538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85539 if eval "test \"\${$as_ac_var+set}\" = set"; then
85540 echo $ECHO_N "(cached) $ECHO_C" >&6
85541 else
85542 if test x$gcc_no_link = xyes; then
85543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85545 { (exit 1); exit 1; }; }
85546 fi
85547 cat >conftest.$ac_ext <<_ACEOF
85548 /* confdefs.h. */
85549 _ACEOF
85550 cat confdefs.h >>conftest.$ac_ext
85551 cat >>conftest.$ac_ext <<_ACEOF
85552 /* end confdefs.h. */
85553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85555 #define $ac_func innocuous_$ac_func
85556
85557 /* System header to define __stub macros and hopefully few prototypes,
85558 which can conflict with char $ac_func (); below.
85559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85560 <limits.h> exists even on freestanding compilers. */
85561
85562 #ifdef __STDC__
85563 # include <limits.h>
85564 #else
85565 # include <assert.h>
85566 #endif
85567
85568 #undef $ac_func
85569
85570 /* Override any gcc2 internal prototype to avoid an error. */
85571 #ifdef __cplusplus
85572 extern "C"
85573 {
85574 #endif
85575 /* We use char because int might match the return type of a gcc2
85576 builtin and then its argument prototype would still apply. */
85577 char $ac_func ();
85578 /* The GNU C library defines this for functions which it implements
85579 to always fail with ENOSYS. Some functions are actually named
85580 something starting with __ and the normal name is an alias. */
85581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85582 choke me
85583 #else
85584 char (*f) () = $ac_func;
85585 #endif
85586 #ifdef __cplusplus
85587 }
85588 #endif
85589
85590 int
85591 main ()
85592 {
85593 return f != $ac_func;
85594 ;
85595 return 0;
85596 }
85597 _ACEOF
85598 rm -f conftest.$ac_objext conftest$ac_exeext
85599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85600 (eval $ac_link) 2>conftest.er1
85601 ac_status=$?
85602 grep -v '^ *+' conftest.er1 >conftest.err
85603 rm -f conftest.er1
85604 cat conftest.err >&5
85605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85606 (exit $ac_status); } &&
85607 { ac_try='test -z "$ac_c_werror_flag"
85608 || test ! -s conftest.err'
85609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85610 (eval $ac_try) 2>&5
85611 ac_status=$?
85612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85613 (exit $ac_status); }; } &&
85614 { ac_try='test -s conftest$ac_exeext'
85615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85616 (eval $ac_try) 2>&5
85617 ac_status=$?
85618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85619 (exit $ac_status); }; }; then
85620 eval "$as_ac_var=yes"
85621 else
85622 echo "$as_me: failed program was:" >&5
85623 sed 's/^/| /' conftest.$ac_ext >&5
85624
85625 eval "$as_ac_var=no"
85626 fi
85627 rm -f conftest.err conftest.$ac_objext \
85628 conftest$ac_exeext conftest.$ac_ext
85629 fi
85630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85632 if test `eval echo '${'$as_ac_var'}'` = yes; then
85633 cat >>confdefs.h <<_ACEOF
85634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85635 _ACEOF
85636
85637 fi
85638 done
85639
85640 else
85641
85642 echo "$as_me:$LINENO: checking for _modf declaration" >&5
85643 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
85644 if test x${glibcxx_cv_func__modf_use+set} != xset; then
85645 if test "${glibcxx_cv_func__modf_use+set}" = set; then
85646 echo $ECHO_N "(cached) $ECHO_C" >&6
85647 else
85648
85649
85650
85651 ac_ext=cc
85652 ac_cpp='$CXXCPP $CPPFLAGS'
85653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85656
85657 cat >conftest.$ac_ext <<_ACEOF
85658 /* confdefs.h. */
85659 _ACEOF
85660 cat confdefs.h >>conftest.$ac_ext
85661 cat >>conftest.$ac_ext <<_ACEOF
85662 /* end confdefs.h. */
85663 #include <math.h>
85664 int
85665 main ()
85666 {
85667 _modf(0, 0);
85668 ;
85669 return 0;
85670 }
85671 _ACEOF
85672 rm -f conftest.$ac_objext
85673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85674 (eval $ac_compile) 2>conftest.er1
85675 ac_status=$?
85676 grep -v '^ *+' conftest.er1 >conftest.err
85677 rm -f conftest.er1
85678 cat conftest.err >&5
85679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85680 (exit $ac_status); } &&
85681 { ac_try='test -z "$ac_cxx_werror_flag"
85682 || test ! -s conftest.err'
85683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85684 (eval $ac_try) 2>&5
85685 ac_status=$?
85686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85687 (exit $ac_status); }; } &&
85688 { ac_try='test -s conftest.$ac_objext'
85689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85690 (eval $ac_try) 2>&5
85691 ac_status=$?
85692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85693 (exit $ac_status); }; }; then
85694 glibcxx_cv_func__modf_use=yes
85695 else
85696 echo "$as_me: failed program was:" >&5
85697 sed 's/^/| /' conftest.$ac_ext >&5
85698
85699 glibcxx_cv_func__modf_use=no
85700 fi
85701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85702 ac_ext=c
85703 ac_cpp='$CPP $CPPFLAGS'
85704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85707
85708
85709 fi
85710
85711 fi
85712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
85713 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
85714
85715 if test x$glibcxx_cv_func__modf_use = x"yes"; then
85716
85717 for ac_func in _modf
85718 do
85719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85720 echo "$as_me:$LINENO: checking for $ac_func" >&5
85721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85722 if eval "test \"\${$as_ac_var+set}\" = set"; then
85723 echo $ECHO_N "(cached) $ECHO_C" >&6
85724 else
85725 if test x$gcc_no_link = xyes; then
85726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85728 { (exit 1); exit 1; }; }
85729 fi
85730 cat >conftest.$ac_ext <<_ACEOF
85731 /* confdefs.h. */
85732 _ACEOF
85733 cat confdefs.h >>conftest.$ac_ext
85734 cat >>conftest.$ac_ext <<_ACEOF
85735 /* end confdefs.h. */
85736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85738 #define $ac_func innocuous_$ac_func
85739
85740 /* System header to define __stub macros and hopefully few prototypes,
85741 which can conflict with char $ac_func (); below.
85742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85743 <limits.h> exists even on freestanding compilers. */
85744
85745 #ifdef __STDC__
85746 # include <limits.h>
85747 #else
85748 # include <assert.h>
85749 #endif
85750
85751 #undef $ac_func
85752
85753 /* Override any gcc2 internal prototype to avoid an error. */
85754 #ifdef __cplusplus
85755 extern "C"
85756 {
85757 #endif
85758 /* We use char because int might match the return type of a gcc2
85759 builtin and then its argument prototype would still apply. */
85760 char $ac_func ();
85761 /* The GNU C library defines this for functions which it implements
85762 to always fail with ENOSYS. Some functions are actually named
85763 something starting with __ and the normal name is an alias. */
85764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85765 choke me
85766 #else
85767 char (*f) () = $ac_func;
85768 #endif
85769 #ifdef __cplusplus
85770 }
85771 #endif
85772
85773 int
85774 main ()
85775 {
85776 return f != $ac_func;
85777 ;
85778 return 0;
85779 }
85780 _ACEOF
85781 rm -f conftest.$ac_objext conftest$ac_exeext
85782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85783 (eval $ac_link) 2>conftest.er1
85784 ac_status=$?
85785 grep -v '^ *+' conftest.er1 >conftest.err
85786 rm -f conftest.er1
85787 cat conftest.err >&5
85788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85789 (exit $ac_status); } &&
85790 { ac_try='test -z "$ac_c_werror_flag"
85791 || test ! -s conftest.err'
85792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85793 (eval $ac_try) 2>&5
85794 ac_status=$?
85795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796 (exit $ac_status); }; } &&
85797 { ac_try='test -s conftest$ac_exeext'
85798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85799 (eval $ac_try) 2>&5
85800 ac_status=$?
85801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802 (exit $ac_status); }; }; then
85803 eval "$as_ac_var=yes"
85804 else
85805 echo "$as_me: failed program was:" >&5
85806 sed 's/^/| /' conftest.$ac_ext >&5
85807
85808 eval "$as_ac_var=no"
85809 fi
85810 rm -f conftest.err conftest.$ac_objext \
85811 conftest$ac_exeext conftest.$ac_ext
85812 fi
85813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85815 if test `eval echo '${'$as_ac_var'}'` = yes; then
85816 cat >>confdefs.h <<_ACEOF
85817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85818 _ACEOF
85819
85820 fi
85821 done
85822
85823 fi
85824 fi
85825
85826
85827
85828
85829
85830
85831 echo "$as_me:$LINENO: checking for powf declaration" >&5
85832 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
85833 if test x${glibcxx_cv_func_powf_use+set} != xset; then
85834 if test "${glibcxx_cv_func_powf_use+set}" = set; then
85835 echo $ECHO_N "(cached) $ECHO_C" >&6
85836 else
85837
85838
85839
85840 ac_ext=cc
85841 ac_cpp='$CXXCPP $CPPFLAGS'
85842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85845
85846 cat >conftest.$ac_ext <<_ACEOF
85847 /* confdefs.h. */
85848 _ACEOF
85849 cat confdefs.h >>conftest.$ac_ext
85850 cat >>conftest.$ac_ext <<_ACEOF
85851 /* end confdefs.h. */
85852 #include <math.h>
85853 int
85854 main ()
85855 {
85856 powf(0, 0);
85857 ;
85858 return 0;
85859 }
85860 _ACEOF
85861 rm -f conftest.$ac_objext
85862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85863 (eval $ac_compile) 2>conftest.er1
85864 ac_status=$?
85865 grep -v '^ *+' conftest.er1 >conftest.err
85866 rm -f conftest.er1
85867 cat conftest.err >&5
85868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85869 (exit $ac_status); } &&
85870 { ac_try='test -z "$ac_cxx_werror_flag"
85871 || test ! -s conftest.err'
85872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85873 (eval $ac_try) 2>&5
85874 ac_status=$?
85875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85876 (exit $ac_status); }; } &&
85877 { ac_try='test -s conftest.$ac_objext'
85878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85879 (eval $ac_try) 2>&5
85880 ac_status=$?
85881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85882 (exit $ac_status); }; }; then
85883 glibcxx_cv_func_powf_use=yes
85884 else
85885 echo "$as_me: failed program was:" >&5
85886 sed 's/^/| /' conftest.$ac_ext >&5
85887
85888 glibcxx_cv_func_powf_use=no
85889 fi
85890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85891 ac_ext=c
85892 ac_cpp='$CPP $CPPFLAGS'
85893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85896
85897
85898 fi
85899
85900 fi
85901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
85902 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
85903
85904 if test x$glibcxx_cv_func_powf_use = x"yes"; then
85905
85906 for ac_func in powf
85907 do
85908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85909 echo "$as_me:$LINENO: checking for $ac_func" >&5
85910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85911 if eval "test \"\${$as_ac_var+set}\" = set"; then
85912 echo $ECHO_N "(cached) $ECHO_C" >&6
85913 else
85914 if test x$gcc_no_link = xyes; then
85915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85917 { (exit 1); exit 1; }; }
85918 fi
85919 cat >conftest.$ac_ext <<_ACEOF
85920 /* confdefs.h. */
85921 _ACEOF
85922 cat confdefs.h >>conftest.$ac_ext
85923 cat >>conftest.$ac_ext <<_ACEOF
85924 /* end confdefs.h. */
85925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85927 #define $ac_func innocuous_$ac_func
85928
85929 /* System header to define __stub macros and hopefully few prototypes,
85930 which can conflict with char $ac_func (); below.
85931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85932 <limits.h> exists even on freestanding compilers. */
85933
85934 #ifdef __STDC__
85935 # include <limits.h>
85936 #else
85937 # include <assert.h>
85938 #endif
85939
85940 #undef $ac_func
85941
85942 /* Override any gcc2 internal prototype to avoid an error. */
85943 #ifdef __cplusplus
85944 extern "C"
85945 {
85946 #endif
85947 /* We use char because int might match the return type of a gcc2
85948 builtin and then its argument prototype would still apply. */
85949 char $ac_func ();
85950 /* The GNU C library defines this for functions which it implements
85951 to always fail with ENOSYS. Some functions are actually named
85952 something starting with __ and the normal name is an alias. */
85953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85954 choke me
85955 #else
85956 char (*f) () = $ac_func;
85957 #endif
85958 #ifdef __cplusplus
85959 }
85960 #endif
85961
85962 int
85963 main ()
85964 {
85965 return f != $ac_func;
85966 ;
85967 return 0;
85968 }
85969 _ACEOF
85970 rm -f conftest.$ac_objext conftest$ac_exeext
85971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85972 (eval $ac_link) 2>conftest.er1
85973 ac_status=$?
85974 grep -v '^ *+' conftest.er1 >conftest.err
85975 rm -f conftest.er1
85976 cat conftest.err >&5
85977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85978 (exit $ac_status); } &&
85979 { ac_try='test -z "$ac_c_werror_flag"
85980 || test ! -s conftest.err'
85981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85982 (eval $ac_try) 2>&5
85983 ac_status=$?
85984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85985 (exit $ac_status); }; } &&
85986 { ac_try='test -s conftest$ac_exeext'
85987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85988 (eval $ac_try) 2>&5
85989 ac_status=$?
85990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991 (exit $ac_status); }; }; then
85992 eval "$as_ac_var=yes"
85993 else
85994 echo "$as_me: failed program was:" >&5
85995 sed 's/^/| /' conftest.$ac_ext >&5
85996
85997 eval "$as_ac_var=no"
85998 fi
85999 rm -f conftest.err conftest.$ac_objext \
86000 conftest$ac_exeext conftest.$ac_ext
86001 fi
86002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86004 if test `eval echo '${'$as_ac_var'}'` = yes; then
86005 cat >>confdefs.h <<_ACEOF
86006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86007 _ACEOF
86008
86009 fi
86010 done
86011
86012 else
86013
86014 echo "$as_me:$LINENO: checking for _powf declaration" >&5
86015 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
86016 if test x${glibcxx_cv_func__powf_use+set} != xset; then
86017 if test "${glibcxx_cv_func__powf_use+set}" = set; then
86018 echo $ECHO_N "(cached) $ECHO_C" >&6
86019 else
86020
86021
86022
86023 ac_ext=cc
86024 ac_cpp='$CXXCPP $CPPFLAGS'
86025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86028
86029 cat >conftest.$ac_ext <<_ACEOF
86030 /* confdefs.h. */
86031 _ACEOF
86032 cat confdefs.h >>conftest.$ac_ext
86033 cat >>conftest.$ac_ext <<_ACEOF
86034 /* end confdefs.h. */
86035 #include <math.h>
86036 int
86037 main ()
86038 {
86039 _powf(0, 0);
86040 ;
86041 return 0;
86042 }
86043 _ACEOF
86044 rm -f conftest.$ac_objext
86045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86046 (eval $ac_compile) 2>conftest.er1
86047 ac_status=$?
86048 grep -v '^ *+' conftest.er1 >conftest.err
86049 rm -f conftest.er1
86050 cat conftest.err >&5
86051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86052 (exit $ac_status); } &&
86053 { ac_try='test -z "$ac_cxx_werror_flag"
86054 || test ! -s conftest.err'
86055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86056 (eval $ac_try) 2>&5
86057 ac_status=$?
86058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86059 (exit $ac_status); }; } &&
86060 { ac_try='test -s conftest.$ac_objext'
86061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86062 (eval $ac_try) 2>&5
86063 ac_status=$?
86064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86065 (exit $ac_status); }; }; then
86066 glibcxx_cv_func__powf_use=yes
86067 else
86068 echo "$as_me: failed program was:" >&5
86069 sed 's/^/| /' conftest.$ac_ext >&5
86070
86071 glibcxx_cv_func__powf_use=no
86072 fi
86073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86074 ac_ext=c
86075 ac_cpp='$CPP $CPPFLAGS'
86076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86079
86080
86081 fi
86082
86083 fi
86084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
86085 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
86086
86087 if test x$glibcxx_cv_func__powf_use = x"yes"; then
86088
86089 for ac_func in _powf
86090 do
86091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86092 echo "$as_me:$LINENO: checking for $ac_func" >&5
86093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86094 if eval "test \"\${$as_ac_var+set}\" = set"; then
86095 echo $ECHO_N "(cached) $ECHO_C" >&6
86096 else
86097 if test x$gcc_no_link = xyes; then
86098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86100 { (exit 1); exit 1; }; }
86101 fi
86102 cat >conftest.$ac_ext <<_ACEOF
86103 /* confdefs.h. */
86104 _ACEOF
86105 cat confdefs.h >>conftest.$ac_ext
86106 cat >>conftest.$ac_ext <<_ACEOF
86107 /* end confdefs.h. */
86108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86110 #define $ac_func innocuous_$ac_func
86111
86112 /* System header to define __stub macros and hopefully few prototypes,
86113 which can conflict with char $ac_func (); below.
86114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86115 <limits.h> exists even on freestanding compilers. */
86116
86117 #ifdef __STDC__
86118 # include <limits.h>
86119 #else
86120 # include <assert.h>
86121 #endif
86122
86123 #undef $ac_func
86124
86125 /* Override any gcc2 internal prototype to avoid an error. */
86126 #ifdef __cplusplus
86127 extern "C"
86128 {
86129 #endif
86130 /* We use char because int might match the return type of a gcc2
86131 builtin and then its argument prototype would still apply. */
86132 char $ac_func ();
86133 /* The GNU C library defines this for functions which it implements
86134 to always fail with ENOSYS. Some functions are actually named
86135 something starting with __ and the normal name is an alias. */
86136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86137 choke me
86138 #else
86139 char (*f) () = $ac_func;
86140 #endif
86141 #ifdef __cplusplus
86142 }
86143 #endif
86144
86145 int
86146 main ()
86147 {
86148 return f != $ac_func;
86149 ;
86150 return 0;
86151 }
86152 _ACEOF
86153 rm -f conftest.$ac_objext conftest$ac_exeext
86154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86155 (eval $ac_link) 2>conftest.er1
86156 ac_status=$?
86157 grep -v '^ *+' conftest.er1 >conftest.err
86158 rm -f conftest.er1
86159 cat conftest.err >&5
86160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86161 (exit $ac_status); } &&
86162 { ac_try='test -z "$ac_c_werror_flag"
86163 || test ! -s conftest.err'
86164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86165 (eval $ac_try) 2>&5
86166 ac_status=$?
86167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86168 (exit $ac_status); }; } &&
86169 { ac_try='test -s conftest$ac_exeext'
86170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86171 (eval $ac_try) 2>&5
86172 ac_status=$?
86173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86174 (exit $ac_status); }; }; then
86175 eval "$as_ac_var=yes"
86176 else
86177 echo "$as_me: failed program was:" >&5
86178 sed 's/^/| /' conftest.$ac_ext >&5
86179
86180 eval "$as_ac_var=no"
86181 fi
86182 rm -f conftest.err conftest.$ac_objext \
86183 conftest$ac_exeext conftest.$ac_ext
86184 fi
86185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86187 if test `eval echo '${'$as_ac_var'}'` = yes; then
86188 cat >>confdefs.h <<_ACEOF
86189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86190 _ACEOF
86191
86192 fi
86193 done
86194
86195 fi
86196 fi
86197
86198
86199
86200
86201
86202
86203 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
86204 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
86205 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
86206 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
86207 echo $ECHO_N "(cached) $ECHO_C" >&6
86208 else
86209
86210
86211
86212 ac_ext=cc
86213 ac_cpp='$CXXCPP $CPPFLAGS'
86214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86217
86218 cat >conftest.$ac_ext <<_ACEOF
86219 /* confdefs.h. */
86220 _ACEOF
86221 cat confdefs.h >>conftest.$ac_ext
86222 cat >>conftest.$ac_ext <<_ACEOF
86223 /* end confdefs.h. */
86224 #include <math.h>
86225 #ifdef HAVE_IEEEFP_H
86226 #include <ieeefp.h>
86227 #endif
86228
86229 int
86230 main ()
86231 {
86232 sqrtf(0);
86233 ;
86234 return 0;
86235 }
86236 _ACEOF
86237 rm -f conftest.$ac_objext
86238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86239 (eval $ac_compile) 2>conftest.er1
86240 ac_status=$?
86241 grep -v '^ *+' conftest.er1 >conftest.err
86242 rm -f conftest.er1
86243 cat conftest.err >&5
86244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86245 (exit $ac_status); } &&
86246 { ac_try='test -z "$ac_cxx_werror_flag"
86247 || test ! -s conftest.err'
86248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86249 (eval $ac_try) 2>&5
86250 ac_status=$?
86251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86252 (exit $ac_status); }; } &&
86253 { ac_try='test -s conftest.$ac_objext'
86254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86255 (eval $ac_try) 2>&5
86256 ac_status=$?
86257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86258 (exit $ac_status); }; }; then
86259 glibcxx_cv_func_sqrtf_use=yes
86260 else
86261 echo "$as_me: failed program was:" >&5
86262 sed 's/^/| /' conftest.$ac_ext >&5
86263
86264 glibcxx_cv_func_sqrtf_use=no
86265 fi
86266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86267 ac_ext=c
86268 ac_cpp='$CPP $CPPFLAGS'
86269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86272
86273
86274 fi
86275
86276 fi
86277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
86278 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
86279
86280 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
86281
86282 for ac_func in sqrtf
86283 do
86284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86285 echo "$as_me:$LINENO: checking for $ac_func" >&5
86286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86287 if eval "test \"\${$as_ac_var+set}\" = set"; then
86288 echo $ECHO_N "(cached) $ECHO_C" >&6
86289 else
86290 if test x$gcc_no_link = xyes; then
86291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86293 { (exit 1); exit 1; }; }
86294 fi
86295 cat >conftest.$ac_ext <<_ACEOF
86296 /* confdefs.h. */
86297 _ACEOF
86298 cat confdefs.h >>conftest.$ac_ext
86299 cat >>conftest.$ac_ext <<_ACEOF
86300 /* end confdefs.h. */
86301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86303 #define $ac_func innocuous_$ac_func
86304
86305 /* System header to define __stub macros and hopefully few prototypes,
86306 which can conflict with char $ac_func (); below.
86307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86308 <limits.h> exists even on freestanding compilers. */
86309
86310 #ifdef __STDC__
86311 # include <limits.h>
86312 #else
86313 # include <assert.h>
86314 #endif
86315
86316 #undef $ac_func
86317
86318 /* Override any gcc2 internal prototype to avoid an error. */
86319 #ifdef __cplusplus
86320 extern "C"
86321 {
86322 #endif
86323 /* We use char because int might match the return type of a gcc2
86324 builtin and then its argument prototype would still apply. */
86325 char $ac_func ();
86326 /* The GNU C library defines this for functions which it implements
86327 to always fail with ENOSYS. Some functions are actually named
86328 something starting with __ and the normal name is an alias. */
86329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86330 choke me
86331 #else
86332 char (*f) () = $ac_func;
86333 #endif
86334 #ifdef __cplusplus
86335 }
86336 #endif
86337
86338 int
86339 main ()
86340 {
86341 return f != $ac_func;
86342 ;
86343 return 0;
86344 }
86345 _ACEOF
86346 rm -f conftest.$ac_objext conftest$ac_exeext
86347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86348 (eval $ac_link) 2>conftest.er1
86349 ac_status=$?
86350 grep -v '^ *+' conftest.er1 >conftest.err
86351 rm -f conftest.er1
86352 cat conftest.err >&5
86353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86354 (exit $ac_status); } &&
86355 { ac_try='test -z "$ac_c_werror_flag"
86356 || test ! -s conftest.err'
86357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86358 (eval $ac_try) 2>&5
86359 ac_status=$?
86360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86361 (exit $ac_status); }; } &&
86362 { ac_try='test -s conftest$ac_exeext'
86363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86364 (eval $ac_try) 2>&5
86365 ac_status=$?
86366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86367 (exit $ac_status); }; }; then
86368 eval "$as_ac_var=yes"
86369 else
86370 echo "$as_me: failed program was:" >&5
86371 sed 's/^/| /' conftest.$ac_ext >&5
86372
86373 eval "$as_ac_var=no"
86374 fi
86375 rm -f conftest.err conftest.$ac_objext \
86376 conftest$ac_exeext conftest.$ac_ext
86377 fi
86378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86380 if test `eval echo '${'$as_ac_var'}'` = yes; then
86381 cat >>confdefs.h <<_ACEOF
86382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86383 _ACEOF
86384
86385 fi
86386 done
86387
86388 else
86389
86390 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
86391 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
86392 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
86393 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
86394 echo $ECHO_N "(cached) $ECHO_C" >&6
86395 else
86396
86397
86398
86399 ac_ext=cc
86400 ac_cpp='$CXXCPP $CPPFLAGS'
86401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86404
86405 cat >conftest.$ac_ext <<_ACEOF
86406 /* confdefs.h. */
86407 _ACEOF
86408 cat confdefs.h >>conftest.$ac_ext
86409 cat >>conftest.$ac_ext <<_ACEOF
86410 /* end confdefs.h. */
86411 #include <math.h>
86412 #ifdef HAVE_IEEEFP_H
86413 #include <ieeefp.h>
86414 #endif
86415
86416 int
86417 main ()
86418 {
86419 _sqrtf(0);
86420 ;
86421 return 0;
86422 }
86423 _ACEOF
86424 rm -f conftest.$ac_objext
86425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86426 (eval $ac_compile) 2>conftest.er1
86427 ac_status=$?
86428 grep -v '^ *+' conftest.er1 >conftest.err
86429 rm -f conftest.er1
86430 cat conftest.err >&5
86431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86432 (exit $ac_status); } &&
86433 { ac_try='test -z "$ac_cxx_werror_flag"
86434 || test ! -s conftest.err'
86435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86436 (eval $ac_try) 2>&5
86437 ac_status=$?
86438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86439 (exit $ac_status); }; } &&
86440 { ac_try='test -s conftest.$ac_objext'
86441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86442 (eval $ac_try) 2>&5
86443 ac_status=$?
86444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86445 (exit $ac_status); }; }; then
86446 glibcxx_cv_func__sqrtf_use=yes
86447 else
86448 echo "$as_me: failed program was:" >&5
86449 sed 's/^/| /' conftest.$ac_ext >&5
86450
86451 glibcxx_cv_func__sqrtf_use=no
86452 fi
86453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86454 ac_ext=c
86455 ac_cpp='$CPP $CPPFLAGS'
86456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86459
86460
86461 fi
86462
86463 fi
86464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
86465 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
86466
86467 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
86468
86469 for ac_func in _sqrtf
86470 do
86471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86472 echo "$as_me:$LINENO: checking for $ac_func" >&5
86473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86474 if eval "test \"\${$as_ac_var+set}\" = set"; then
86475 echo $ECHO_N "(cached) $ECHO_C" >&6
86476 else
86477 if test x$gcc_no_link = xyes; then
86478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86480 { (exit 1); exit 1; }; }
86481 fi
86482 cat >conftest.$ac_ext <<_ACEOF
86483 /* confdefs.h. */
86484 _ACEOF
86485 cat confdefs.h >>conftest.$ac_ext
86486 cat >>conftest.$ac_ext <<_ACEOF
86487 /* end confdefs.h. */
86488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86490 #define $ac_func innocuous_$ac_func
86491
86492 /* System header to define __stub macros and hopefully few prototypes,
86493 which can conflict with char $ac_func (); below.
86494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86495 <limits.h> exists even on freestanding compilers. */
86496
86497 #ifdef __STDC__
86498 # include <limits.h>
86499 #else
86500 # include <assert.h>
86501 #endif
86502
86503 #undef $ac_func
86504
86505 /* Override any gcc2 internal prototype to avoid an error. */
86506 #ifdef __cplusplus
86507 extern "C"
86508 {
86509 #endif
86510 /* We use char because int might match the return type of a gcc2
86511 builtin and then its argument prototype would still apply. */
86512 char $ac_func ();
86513 /* The GNU C library defines this for functions which it implements
86514 to always fail with ENOSYS. Some functions are actually named
86515 something starting with __ and the normal name is an alias. */
86516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86517 choke me
86518 #else
86519 char (*f) () = $ac_func;
86520 #endif
86521 #ifdef __cplusplus
86522 }
86523 #endif
86524
86525 int
86526 main ()
86527 {
86528 return f != $ac_func;
86529 ;
86530 return 0;
86531 }
86532 _ACEOF
86533 rm -f conftest.$ac_objext conftest$ac_exeext
86534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86535 (eval $ac_link) 2>conftest.er1
86536 ac_status=$?
86537 grep -v '^ *+' conftest.er1 >conftest.err
86538 rm -f conftest.er1
86539 cat conftest.err >&5
86540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86541 (exit $ac_status); } &&
86542 { ac_try='test -z "$ac_c_werror_flag"
86543 || test ! -s conftest.err'
86544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86545 (eval $ac_try) 2>&5
86546 ac_status=$?
86547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86548 (exit $ac_status); }; } &&
86549 { ac_try='test -s conftest$ac_exeext'
86550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86551 (eval $ac_try) 2>&5
86552 ac_status=$?
86553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86554 (exit $ac_status); }; }; then
86555 eval "$as_ac_var=yes"
86556 else
86557 echo "$as_me: failed program was:" >&5
86558 sed 's/^/| /' conftest.$ac_ext >&5
86559
86560 eval "$as_ac_var=no"
86561 fi
86562 rm -f conftest.err conftest.$ac_objext \
86563 conftest$ac_exeext conftest.$ac_ext
86564 fi
86565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86567 if test `eval echo '${'$as_ac_var'}'` = yes; then
86568 cat >>confdefs.h <<_ACEOF
86569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86570 _ACEOF
86571
86572 fi
86573 done
86574
86575 fi
86576 fi
86577
86578
86579
86580
86581
86582
86583 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
86584 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
86585 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
86586 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
86587 echo $ECHO_N "(cached) $ECHO_C" >&6
86588 else
86589
86590
86591
86592 ac_ext=cc
86593 ac_cpp='$CXXCPP $CPPFLAGS'
86594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86597
86598 cat >conftest.$ac_ext <<_ACEOF
86599 /* confdefs.h. */
86600 _ACEOF
86601 cat confdefs.h >>conftest.$ac_ext
86602 cat >>conftest.$ac_ext <<_ACEOF
86603 /* end confdefs.h. */
86604 #include <math.h>
86605 int
86606 main ()
86607 {
86608 sincosf(0, 0, 0);
86609 ;
86610 return 0;
86611 }
86612 _ACEOF
86613 rm -f conftest.$ac_objext
86614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86615 (eval $ac_compile) 2>conftest.er1
86616 ac_status=$?
86617 grep -v '^ *+' conftest.er1 >conftest.err
86618 rm -f conftest.er1
86619 cat conftest.err >&5
86620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86621 (exit $ac_status); } &&
86622 { ac_try='test -z "$ac_cxx_werror_flag"
86623 || test ! -s conftest.err'
86624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86625 (eval $ac_try) 2>&5
86626 ac_status=$?
86627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86628 (exit $ac_status); }; } &&
86629 { ac_try='test -s conftest.$ac_objext'
86630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86631 (eval $ac_try) 2>&5
86632 ac_status=$?
86633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86634 (exit $ac_status); }; }; then
86635 glibcxx_cv_func_sincosf_use=yes
86636 else
86637 echo "$as_me: failed program was:" >&5
86638 sed 's/^/| /' conftest.$ac_ext >&5
86639
86640 glibcxx_cv_func_sincosf_use=no
86641 fi
86642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86643 ac_ext=c
86644 ac_cpp='$CPP $CPPFLAGS'
86645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86648
86649
86650 fi
86651
86652 fi
86653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
86654 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
86655
86656 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
86657
86658 for ac_func in sincosf
86659 do
86660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86661 echo "$as_me:$LINENO: checking for $ac_func" >&5
86662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86663 if eval "test \"\${$as_ac_var+set}\" = set"; then
86664 echo $ECHO_N "(cached) $ECHO_C" >&6
86665 else
86666 if test x$gcc_no_link = xyes; then
86667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86669 { (exit 1); exit 1; }; }
86670 fi
86671 cat >conftest.$ac_ext <<_ACEOF
86672 /* confdefs.h. */
86673 _ACEOF
86674 cat confdefs.h >>conftest.$ac_ext
86675 cat >>conftest.$ac_ext <<_ACEOF
86676 /* end confdefs.h. */
86677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86679 #define $ac_func innocuous_$ac_func
86680
86681 /* System header to define __stub macros and hopefully few prototypes,
86682 which can conflict with char $ac_func (); below.
86683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86684 <limits.h> exists even on freestanding compilers. */
86685
86686 #ifdef __STDC__
86687 # include <limits.h>
86688 #else
86689 # include <assert.h>
86690 #endif
86691
86692 #undef $ac_func
86693
86694 /* Override any gcc2 internal prototype to avoid an error. */
86695 #ifdef __cplusplus
86696 extern "C"
86697 {
86698 #endif
86699 /* We use char because int might match the return type of a gcc2
86700 builtin and then its argument prototype would still apply. */
86701 char $ac_func ();
86702 /* The GNU C library defines this for functions which it implements
86703 to always fail with ENOSYS. Some functions are actually named
86704 something starting with __ and the normal name is an alias. */
86705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86706 choke me
86707 #else
86708 char (*f) () = $ac_func;
86709 #endif
86710 #ifdef __cplusplus
86711 }
86712 #endif
86713
86714 int
86715 main ()
86716 {
86717 return f != $ac_func;
86718 ;
86719 return 0;
86720 }
86721 _ACEOF
86722 rm -f conftest.$ac_objext conftest$ac_exeext
86723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86724 (eval $ac_link) 2>conftest.er1
86725 ac_status=$?
86726 grep -v '^ *+' conftest.er1 >conftest.err
86727 rm -f conftest.er1
86728 cat conftest.err >&5
86729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86730 (exit $ac_status); } &&
86731 { ac_try='test -z "$ac_c_werror_flag"
86732 || test ! -s conftest.err'
86733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86734 (eval $ac_try) 2>&5
86735 ac_status=$?
86736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86737 (exit $ac_status); }; } &&
86738 { ac_try='test -s conftest$ac_exeext'
86739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86740 (eval $ac_try) 2>&5
86741 ac_status=$?
86742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86743 (exit $ac_status); }; }; then
86744 eval "$as_ac_var=yes"
86745 else
86746 echo "$as_me: failed program was:" >&5
86747 sed 's/^/| /' conftest.$ac_ext >&5
86748
86749 eval "$as_ac_var=no"
86750 fi
86751 rm -f conftest.err conftest.$ac_objext \
86752 conftest$ac_exeext conftest.$ac_ext
86753 fi
86754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86756 if test `eval echo '${'$as_ac_var'}'` = yes; then
86757 cat >>confdefs.h <<_ACEOF
86758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86759 _ACEOF
86760
86761 fi
86762 done
86763
86764 else
86765
86766 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
86767 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
86768 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
86769 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
86770 echo $ECHO_N "(cached) $ECHO_C" >&6
86771 else
86772
86773
86774
86775 ac_ext=cc
86776 ac_cpp='$CXXCPP $CPPFLAGS'
86777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86780
86781 cat >conftest.$ac_ext <<_ACEOF
86782 /* confdefs.h. */
86783 _ACEOF
86784 cat confdefs.h >>conftest.$ac_ext
86785 cat >>conftest.$ac_ext <<_ACEOF
86786 /* end confdefs.h. */
86787 #include <math.h>
86788 int
86789 main ()
86790 {
86791 _sincosf(0, 0, 0);
86792 ;
86793 return 0;
86794 }
86795 _ACEOF
86796 rm -f conftest.$ac_objext
86797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86798 (eval $ac_compile) 2>conftest.er1
86799 ac_status=$?
86800 grep -v '^ *+' conftest.er1 >conftest.err
86801 rm -f conftest.er1
86802 cat conftest.err >&5
86803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86804 (exit $ac_status); } &&
86805 { ac_try='test -z "$ac_cxx_werror_flag"
86806 || test ! -s conftest.err'
86807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86808 (eval $ac_try) 2>&5
86809 ac_status=$?
86810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86811 (exit $ac_status); }; } &&
86812 { ac_try='test -s conftest.$ac_objext'
86813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86814 (eval $ac_try) 2>&5
86815 ac_status=$?
86816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817 (exit $ac_status); }; }; then
86818 glibcxx_cv_func__sincosf_use=yes
86819 else
86820 echo "$as_me: failed program was:" >&5
86821 sed 's/^/| /' conftest.$ac_ext >&5
86822
86823 glibcxx_cv_func__sincosf_use=no
86824 fi
86825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86826 ac_ext=c
86827 ac_cpp='$CPP $CPPFLAGS'
86828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86831
86832
86833 fi
86834
86835 fi
86836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
86837 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
86838
86839 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
86840
86841 for ac_func in _sincosf
86842 do
86843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86844 echo "$as_me:$LINENO: checking for $ac_func" >&5
86845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86846 if eval "test \"\${$as_ac_var+set}\" = set"; then
86847 echo $ECHO_N "(cached) $ECHO_C" >&6
86848 else
86849 if test x$gcc_no_link = xyes; then
86850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86852 { (exit 1); exit 1; }; }
86853 fi
86854 cat >conftest.$ac_ext <<_ACEOF
86855 /* confdefs.h. */
86856 _ACEOF
86857 cat confdefs.h >>conftest.$ac_ext
86858 cat >>conftest.$ac_ext <<_ACEOF
86859 /* end confdefs.h. */
86860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86862 #define $ac_func innocuous_$ac_func
86863
86864 /* System header to define __stub macros and hopefully few prototypes,
86865 which can conflict with char $ac_func (); below.
86866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86867 <limits.h> exists even on freestanding compilers. */
86868
86869 #ifdef __STDC__
86870 # include <limits.h>
86871 #else
86872 # include <assert.h>
86873 #endif
86874
86875 #undef $ac_func
86876
86877 /* Override any gcc2 internal prototype to avoid an error. */
86878 #ifdef __cplusplus
86879 extern "C"
86880 {
86881 #endif
86882 /* We use char because int might match the return type of a gcc2
86883 builtin and then its argument prototype would still apply. */
86884 char $ac_func ();
86885 /* The GNU C library defines this for functions which it implements
86886 to always fail with ENOSYS. Some functions are actually named
86887 something starting with __ and the normal name is an alias. */
86888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86889 choke me
86890 #else
86891 char (*f) () = $ac_func;
86892 #endif
86893 #ifdef __cplusplus
86894 }
86895 #endif
86896
86897 int
86898 main ()
86899 {
86900 return f != $ac_func;
86901 ;
86902 return 0;
86903 }
86904 _ACEOF
86905 rm -f conftest.$ac_objext conftest$ac_exeext
86906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86907 (eval $ac_link) 2>conftest.er1
86908 ac_status=$?
86909 grep -v '^ *+' conftest.er1 >conftest.err
86910 rm -f conftest.er1
86911 cat conftest.err >&5
86912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86913 (exit $ac_status); } &&
86914 { ac_try='test -z "$ac_c_werror_flag"
86915 || test ! -s conftest.err'
86916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86917 (eval $ac_try) 2>&5
86918 ac_status=$?
86919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86920 (exit $ac_status); }; } &&
86921 { ac_try='test -s conftest$ac_exeext'
86922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86923 (eval $ac_try) 2>&5
86924 ac_status=$?
86925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86926 (exit $ac_status); }; }; then
86927 eval "$as_ac_var=yes"
86928 else
86929 echo "$as_me: failed program was:" >&5
86930 sed 's/^/| /' conftest.$ac_ext >&5
86931
86932 eval "$as_ac_var=no"
86933 fi
86934 rm -f conftest.err conftest.$ac_objext \
86935 conftest$ac_exeext conftest.$ac_ext
86936 fi
86937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86939 if test `eval echo '${'$as_ac_var'}'` = yes; then
86940 cat >>confdefs.h <<_ACEOF
86941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86942 _ACEOF
86943
86944 fi
86945 done
86946
86947 fi
86948 fi
86949
86950
86951
86952
86953
86954
86955 echo "$as_me:$LINENO: checking for finitef declaration" >&5
86956 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
86957 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
86958 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
86959 echo $ECHO_N "(cached) $ECHO_C" >&6
86960 else
86961
86962
86963
86964 ac_ext=cc
86965 ac_cpp='$CXXCPP $CPPFLAGS'
86966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86969
86970 cat >conftest.$ac_ext <<_ACEOF
86971 /* confdefs.h. */
86972 _ACEOF
86973 cat confdefs.h >>conftest.$ac_ext
86974 cat >>conftest.$ac_ext <<_ACEOF
86975 /* end confdefs.h. */
86976 #include <math.h>
86977 #ifdef HAVE_IEEEFP_H
86978 #include <ieeefp.h>
86979 #endif
86980
86981 int
86982 main ()
86983 {
86984 finitef(0);
86985 ;
86986 return 0;
86987 }
86988 _ACEOF
86989 rm -f conftest.$ac_objext
86990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86991 (eval $ac_compile) 2>conftest.er1
86992 ac_status=$?
86993 grep -v '^ *+' conftest.er1 >conftest.err
86994 rm -f conftest.er1
86995 cat conftest.err >&5
86996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86997 (exit $ac_status); } &&
86998 { ac_try='test -z "$ac_cxx_werror_flag"
86999 || test ! -s conftest.err'
87000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87001 (eval $ac_try) 2>&5
87002 ac_status=$?
87003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87004 (exit $ac_status); }; } &&
87005 { ac_try='test -s conftest.$ac_objext'
87006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87007 (eval $ac_try) 2>&5
87008 ac_status=$?
87009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87010 (exit $ac_status); }; }; then
87011 glibcxx_cv_func_finitef_use=yes
87012 else
87013 echo "$as_me: failed program was:" >&5
87014 sed 's/^/| /' conftest.$ac_ext >&5
87015
87016 glibcxx_cv_func_finitef_use=no
87017 fi
87018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87019 ac_ext=c
87020 ac_cpp='$CPP $CPPFLAGS'
87021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87024
87025
87026 fi
87027
87028 fi
87029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
87030 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
87031
87032 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
87033
87034 for ac_func in finitef
87035 do
87036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87037 echo "$as_me:$LINENO: checking for $ac_func" >&5
87038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87039 if eval "test \"\${$as_ac_var+set}\" = set"; then
87040 echo $ECHO_N "(cached) $ECHO_C" >&6
87041 else
87042 if test x$gcc_no_link = xyes; then
87043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87045 { (exit 1); exit 1; }; }
87046 fi
87047 cat >conftest.$ac_ext <<_ACEOF
87048 /* confdefs.h. */
87049 _ACEOF
87050 cat confdefs.h >>conftest.$ac_ext
87051 cat >>conftest.$ac_ext <<_ACEOF
87052 /* end confdefs.h. */
87053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87055 #define $ac_func innocuous_$ac_func
87056
87057 /* System header to define __stub macros and hopefully few prototypes,
87058 which can conflict with char $ac_func (); below.
87059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87060 <limits.h> exists even on freestanding compilers. */
87061
87062 #ifdef __STDC__
87063 # include <limits.h>
87064 #else
87065 # include <assert.h>
87066 #endif
87067
87068 #undef $ac_func
87069
87070 /* Override any gcc2 internal prototype to avoid an error. */
87071 #ifdef __cplusplus
87072 extern "C"
87073 {
87074 #endif
87075 /* We use char because int might match the return type of a gcc2
87076 builtin and then its argument prototype would still apply. */
87077 char $ac_func ();
87078 /* The GNU C library defines this for functions which it implements
87079 to always fail with ENOSYS. Some functions are actually named
87080 something starting with __ and the normal name is an alias. */
87081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87082 choke me
87083 #else
87084 char (*f) () = $ac_func;
87085 #endif
87086 #ifdef __cplusplus
87087 }
87088 #endif
87089
87090 int
87091 main ()
87092 {
87093 return f != $ac_func;
87094 ;
87095 return 0;
87096 }
87097 _ACEOF
87098 rm -f conftest.$ac_objext conftest$ac_exeext
87099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87100 (eval $ac_link) 2>conftest.er1
87101 ac_status=$?
87102 grep -v '^ *+' conftest.er1 >conftest.err
87103 rm -f conftest.er1
87104 cat conftest.err >&5
87105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87106 (exit $ac_status); } &&
87107 { ac_try='test -z "$ac_c_werror_flag"
87108 || test ! -s conftest.err'
87109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87110 (eval $ac_try) 2>&5
87111 ac_status=$?
87112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87113 (exit $ac_status); }; } &&
87114 { ac_try='test -s conftest$ac_exeext'
87115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87116 (eval $ac_try) 2>&5
87117 ac_status=$?
87118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87119 (exit $ac_status); }; }; then
87120 eval "$as_ac_var=yes"
87121 else
87122 echo "$as_me: failed program was:" >&5
87123 sed 's/^/| /' conftest.$ac_ext >&5
87124
87125 eval "$as_ac_var=no"
87126 fi
87127 rm -f conftest.err conftest.$ac_objext \
87128 conftest$ac_exeext conftest.$ac_ext
87129 fi
87130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87132 if test `eval echo '${'$as_ac_var'}'` = yes; then
87133 cat >>confdefs.h <<_ACEOF
87134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87135 _ACEOF
87136
87137 fi
87138 done
87139
87140 else
87141
87142 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
87143 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
87144 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
87145 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
87146 echo $ECHO_N "(cached) $ECHO_C" >&6
87147 else
87148
87149
87150
87151 ac_ext=cc
87152 ac_cpp='$CXXCPP $CPPFLAGS'
87153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87156
87157 cat >conftest.$ac_ext <<_ACEOF
87158 /* confdefs.h. */
87159 _ACEOF
87160 cat confdefs.h >>conftest.$ac_ext
87161 cat >>conftest.$ac_ext <<_ACEOF
87162 /* end confdefs.h. */
87163 #include <math.h>
87164 #ifdef HAVE_IEEEFP_H
87165 #include <ieeefp.h>
87166 #endif
87167
87168 int
87169 main ()
87170 {
87171 _finitef(0);
87172 ;
87173 return 0;
87174 }
87175 _ACEOF
87176 rm -f conftest.$ac_objext
87177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87178 (eval $ac_compile) 2>conftest.er1
87179 ac_status=$?
87180 grep -v '^ *+' conftest.er1 >conftest.err
87181 rm -f conftest.er1
87182 cat conftest.err >&5
87183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87184 (exit $ac_status); } &&
87185 { ac_try='test -z "$ac_cxx_werror_flag"
87186 || test ! -s conftest.err'
87187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87188 (eval $ac_try) 2>&5
87189 ac_status=$?
87190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87191 (exit $ac_status); }; } &&
87192 { ac_try='test -s conftest.$ac_objext'
87193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87194 (eval $ac_try) 2>&5
87195 ac_status=$?
87196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87197 (exit $ac_status); }; }; then
87198 glibcxx_cv_func__finitef_use=yes
87199 else
87200 echo "$as_me: failed program was:" >&5
87201 sed 's/^/| /' conftest.$ac_ext >&5
87202
87203 glibcxx_cv_func__finitef_use=no
87204 fi
87205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87206 ac_ext=c
87207 ac_cpp='$CPP $CPPFLAGS'
87208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87211
87212
87213 fi
87214
87215 fi
87216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
87217 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
87218
87219 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
87220
87221 for ac_func in _finitef
87222 do
87223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87224 echo "$as_me:$LINENO: checking for $ac_func" >&5
87225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87226 if eval "test \"\${$as_ac_var+set}\" = set"; then
87227 echo $ECHO_N "(cached) $ECHO_C" >&6
87228 else
87229 if test x$gcc_no_link = xyes; then
87230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87232 { (exit 1); exit 1; }; }
87233 fi
87234 cat >conftest.$ac_ext <<_ACEOF
87235 /* confdefs.h. */
87236 _ACEOF
87237 cat confdefs.h >>conftest.$ac_ext
87238 cat >>conftest.$ac_ext <<_ACEOF
87239 /* end confdefs.h. */
87240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87242 #define $ac_func innocuous_$ac_func
87243
87244 /* System header to define __stub macros and hopefully few prototypes,
87245 which can conflict with char $ac_func (); below.
87246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87247 <limits.h> exists even on freestanding compilers. */
87248
87249 #ifdef __STDC__
87250 # include <limits.h>
87251 #else
87252 # include <assert.h>
87253 #endif
87254
87255 #undef $ac_func
87256
87257 /* Override any gcc2 internal prototype to avoid an error. */
87258 #ifdef __cplusplus
87259 extern "C"
87260 {
87261 #endif
87262 /* We use char because int might match the return type of a gcc2
87263 builtin and then its argument prototype would still apply. */
87264 char $ac_func ();
87265 /* The GNU C library defines this for functions which it implements
87266 to always fail with ENOSYS. Some functions are actually named
87267 something starting with __ and the normal name is an alias. */
87268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87269 choke me
87270 #else
87271 char (*f) () = $ac_func;
87272 #endif
87273 #ifdef __cplusplus
87274 }
87275 #endif
87276
87277 int
87278 main ()
87279 {
87280 return f != $ac_func;
87281 ;
87282 return 0;
87283 }
87284 _ACEOF
87285 rm -f conftest.$ac_objext conftest$ac_exeext
87286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87287 (eval $ac_link) 2>conftest.er1
87288 ac_status=$?
87289 grep -v '^ *+' conftest.er1 >conftest.err
87290 rm -f conftest.er1
87291 cat conftest.err >&5
87292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87293 (exit $ac_status); } &&
87294 { ac_try='test -z "$ac_c_werror_flag"
87295 || test ! -s conftest.err'
87296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87297 (eval $ac_try) 2>&5
87298 ac_status=$?
87299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87300 (exit $ac_status); }; } &&
87301 { ac_try='test -s conftest$ac_exeext'
87302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87303 (eval $ac_try) 2>&5
87304 ac_status=$?
87305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87306 (exit $ac_status); }; }; then
87307 eval "$as_ac_var=yes"
87308 else
87309 echo "$as_me: failed program was:" >&5
87310 sed 's/^/| /' conftest.$ac_ext >&5
87311
87312 eval "$as_ac_var=no"
87313 fi
87314 rm -f conftest.err conftest.$ac_objext \
87315 conftest$ac_exeext conftest.$ac_ext
87316 fi
87317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87319 if test `eval echo '${'$as_ac_var'}'` = yes; then
87320 cat >>confdefs.h <<_ACEOF
87321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87322 _ACEOF
87323
87324 fi
87325 done
87326
87327 fi
87328 fi
87329
87330
87331
87332
87333
87334
87335 echo "$as_me:$LINENO: checking for long double trig functions" >&5
87336 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
87337 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
87338 echo $ECHO_N "(cached) $ECHO_C" >&6
87339 else
87340
87341
87342
87343 ac_ext=cc
87344 ac_cpp='$CXXCPP $CPPFLAGS'
87345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87348
87349 cat >conftest.$ac_ext <<_ACEOF
87350 /* confdefs.h. */
87351 _ACEOF
87352 cat confdefs.h >>conftest.$ac_ext
87353 cat >>conftest.$ac_ext <<_ACEOF
87354 /* end confdefs.h. */
87355 #include <math.h>
87356 int
87357 main ()
87358 {
87359 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
87360 ;
87361 return 0;
87362 }
87363 _ACEOF
87364 rm -f conftest.$ac_objext
87365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87366 (eval $ac_compile) 2>conftest.er1
87367 ac_status=$?
87368 grep -v '^ *+' conftest.er1 >conftest.err
87369 rm -f conftest.er1
87370 cat conftest.err >&5
87371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87372 (exit $ac_status); } &&
87373 { ac_try='test -z "$ac_cxx_werror_flag"
87374 || test ! -s conftest.err'
87375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87376 (eval $ac_try) 2>&5
87377 ac_status=$?
87378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87379 (exit $ac_status); }; } &&
87380 { ac_try='test -s conftest.$ac_objext'
87381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87382 (eval $ac_try) 2>&5
87383 ac_status=$?
87384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87385 (exit $ac_status); }; }; then
87386 glibcxx_cv_func_long_double_trig_use=yes
87387 else
87388 echo "$as_me: failed program was:" >&5
87389 sed 's/^/| /' conftest.$ac_ext >&5
87390
87391 glibcxx_cv_func_long_double_trig_use=no
87392 fi
87393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87394 ac_ext=c
87395 ac_cpp='$CPP $CPPFLAGS'
87396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87399
87400 fi
87401
87402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
87403 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
87404 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
87405
87406
87407
87408
87409
87410
87411
87412
87413
87414 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
87415 do
87416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87417 echo "$as_me:$LINENO: checking for $ac_func" >&5
87418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87419 if eval "test \"\${$as_ac_var+set}\" = set"; then
87420 echo $ECHO_N "(cached) $ECHO_C" >&6
87421 else
87422 if test x$gcc_no_link = xyes; then
87423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87425 { (exit 1); exit 1; }; }
87426 fi
87427 cat >conftest.$ac_ext <<_ACEOF
87428 /* confdefs.h. */
87429 _ACEOF
87430 cat confdefs.h >>conftest.$ac_ext
87431 cat >>conftest.$ac_ext <<_ACEOF
87432 /* end confdefs.h. */
87433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87435 #define $ac_func innocuous_$ac_func
87436
87437 /* System header to define __stub macros and hopefully few prototypes,
87438 which can conflict with char $ac_func (); below.
87439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87440 <limits.h> exists even on freestanding compilers. */
87441
87442 #ifdef __STDC__
87443 # include <limits.h>
87444 #else
87445 # include <assert.h>
87446 #endif
87447
87448 #undef $ac_func
87449
87450 /* Override any gcc2 internal prototype to avoid an error. */
87451 #ifdef __cplusplus
87452 extern "C"
87453 {
87454 #endif
87455 /* We use char because int might match the return type of a gcc2
87456 builtin and then its argument prototype would still apply. */
87457 char $ac_func ();
87458 /* The GNU C library defines this for functions which it implements
87459 to always fail with ENOSYS. Some functions are actually named
87460 something starting with __ and the normal name is an alias. */
87461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87462 choke me
87463 #else
87464 char (*f) () = $ac_func;
87465 #endif
87466 #ifdef __cplusplus
87467 }
87468 #endif
87469
87470 int
87471 main ()
87472 {
87473 return f != $ac_func;
87474 ;
87475 return 0;
87476 }
87477 _ACEOF
87478 rm -f conftest.$ac_objext conftest$ac_exeext
87479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87480 (eval $ac_link) 2>conftest.er1
87481 ac_status=$?
87482 grep -v '^ *+' conftest.er1 >conftest.err
87483 rm -f conftest.er1
87484 cat conftest.err >&5
87485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87486 (exit $ac_status); } &&
87487 { ac_try='test -z "$ac_c_werror_flag"
87488 || test ! -s conftest.err'
87489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87490 (eval $ac_try) 2>&5
87491 ac_status=$?
87492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87493 (exit $ac_status); }; } &&
87494 { ac_try='test -s conftest$ac_exeext'
87495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87496 (eval $ac_try) 2>&5
87497 ac_status=$?
87498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87499 (exit $ac_status); }; }; then
87500 eval "$as_ac_var=yes"
87501 else
87502 echo "$as_me: failed program was:" >&5
87503 sed 's/^/| /' conftest.$ac_ext >&5
87504
87505 eval "$as_ac_var=no"
87506 fi
87507 rm -f conftest.err conftest.$ac_objext \
87508 conftest$ac_exeext conftest.$ac_ext
87509 fi
87510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87512 if test `eval echo '${'$as_ac_var'}'` = yes; then
87513 cat >>confdefs.h <<_ACEOF
87514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87515 _ACEOF
87516
87517 fi
87518 done
87519
87520 else
87521 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
87522 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
87523 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
87524 echo $ECHO_N "(cached) $ECHO_C" >&6
87525 else
87526
87527
87528
87529 ac_ext=cc
87530 ac_cpp='$CXXCPP $CPPFLAGS'
87531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87534
87535 cat >conftest.$ac_ext <<_ACEOF
87536 /* confdefs.h. */
87537 _ACEOF
87538 cat confdefs.h >>conftest.$ac_ext
87539 cat >>conftest.$ac_ext <<_ACEOF
87540 /* end confdefs.h. */
87541 #include <math.h>
87542 int
87543 main ()
87544 {
87545 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
87546 ;
87547 return 0;
87548 }
87549 _ACEOF
87550 rm -f conftest.$ac_objext
87551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87552 (eval $ac_compile) 2>conftest.er1
87553 ac_status=$?
87554 grep -v '^ *+' conftest.er1 >conftest.err
87555 rm -f conftest.er1
87556 cat conftest.err >&5
87557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87558 (exit $ac_status); } &&
87559 { ac_try='test -z "$ac_cxx_werror_flag"
87560 || test ! -s conftest.err'
87561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87562 (eval $ac_try) 2>&5
87563 ac_status=$?
87564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87565 (exit $ac_status); }; } &&
87566 { ac_try='test -s conftest.$ac_objext'
87567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87568 (eval $ac_try) 2>&5
87569 ac_status=$?
87570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87571 (exit $ac_status); }; }; then
87572 glibcxx_cv_func__long_double_trig_use=yes
87573 else
87574 echo "$as_me: failed program was:" >&5
87575 sed 's/^/| /' conftest.$ac_ext >&5
87576
87577 glibcxx_cv_func__long_double_trig_use=no
87578 fi
87579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87580 ac_ext=c
87581 ac_cpp='$CPP $CPPFLAGS'
87582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87585
87586 fi
87587
87588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
87589 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
87590 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
87591
87592
87593
87594
87595
87596
87597
87598
87599
87600 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
87601 do
87602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87603 echo "$as_me:$LINENO: checking for $ac_func" >&5
87604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87605 if eval "test \"\${$as_ac_var+set}\" = set"; then
87606 echo $ECHO_N "(cached) $ECHO_C" >&6
87607 else
87608 if test x$gcc_no_link = xyes; then
87609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87611 { (exit 1); exit 1; }; }
87612 fi
87613 cat >conftest.$ac_ext <<_ACEOF
87614 /* confdefs.h. */
87615 _ACEOF
87616 cat confdefs.h >>conftest.$ac_ext
87617 cat >>conftest.$ac_ext <<_ACEOF
87618 /* end confdefs.h. */
87619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87621 #define $ac_func innocuous_$ac_func
87622
87623 /* System header to define __stub macros and hopefully few prototypes,
87624 which can conflict with char $ac_func (); below.
87625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87626 <limits.h> exists even on freestanding compilers. */
87627
87628 #ifdef __STDC__
87629 # include <limits.h>
87630 #else
87631 # include <assert.h>
87632 #endif
87633
87634 #undef $ac_func
87635
87636 /* Override any gcc2 internal prototype to avoid an error. */
87637 #ifdef __cplusplus
87638 extern "C"
87639 {
87640 #endif
87641 /* We use char because int might match the return type of a gcc2
87642 builtin and then its argument prototype would still apply. */
87643 char $ac_func ();
87644 /* The GNU C library defines this for functions which it implements
87645 to always fail with ENOSYS. Some functions are actually named
87646 something starting with __ and the normal name is an alias. */
87647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87648 choke me
87649 #else
87650 char (*f) () = $ac_func;
87651 #endif
87652 #ifdef __cplusplus
87653 }
87654 #endif
87655
87656 int
87657 main ()
87658 {
87659 return f != $ac_func;
87660 ;
87661 return 0;
87662 }
87663 _ACEOF
87664 rm -f conftest.$ac_objext conftest$ac_exeext
87665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87666 (eval $ac_link) 2>conftest.er1
87667 ac_status=$?
87668 grep -v '^ *+' conftest.er1 >conftest.err
87669 rm -f conftest.er1
87670 cat conftest.err >&5
87671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87672 (exit $ac_status); } &&
87673 { ac_try='test -z "$ac_c_werror_flag"
87674 || test ! -s conftest.err'
87675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87676 (eval $ac_try) 2>&5
87677 ac_status=$?
87678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87679 (exit $ac_status); }; } &&
87680 { ac_try='test -s conftest$ac_exeext'
87681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87682 (eval $ac_try) 2>&5
87683 ac_status=$?
87684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87685 (exit $ac_status); }; }; then
87686 eval "$as_ac_var=yes"
87687 else
87688 echo "$as_me: failed program was:" >&5
87689 sed 's/^/| /' conftest.$ac_ext >&5
87690
87691 eval "$as_ac_var=no"
87692 fi
87693 rm -f conftest.err conftest.$ac_objext \
87694 conftest$ac_exeext conftest.$ac_ext
87695 fi
87696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87698 if test `eval echo '${'$as_ac_var'}'` = yes; then
87699 cat >>confdefs.h <<_ACEOF
87700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87701 _ACEOF
87702
87703 fi
87704 done
87705
87706 fi
87707 fi
87708
87709
87710
87711
87712
87713
87714
87715
87716
87717
87718
87719
87720
87721
87722 echo "$as_me:$LINENO: checking for long double round functions" >&5
87723 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
87724 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
87725 echo $ECHO_N "(cached) $ECHO_C" >&6
87726 else
87727
87728
87729
87730 ac_ext=cc
87731 ac_cpp='$CXXCPP $CPPFLAGS'
87732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87735
87736 cat >conftest.$ac_ext <<_ACEOF
87737 /* confdefs.h. */
87738 _ACEOF
87739 cat confdefs.h >>conftest.$ac_ext
87740 cat >>conftest.$ac_ext <<_ACEOF
87741 /* end confdefs.h. */
87742 #include <math.h>
87743 int
87744 main ()
87745 {
87746 ceill (0); floorl (0);
87747 ;
87748 return 0;
87749 }
87750 _ACEOF
87751 rm -f conftest.$ac_objext
87752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87753 (eval $ac_compile) 2>conftest.er1
87754 ac_status=$?
87755 grep -v '^ *+' conftest.er1 >conftest.err
87756 rm -f conftest.er1
87757 cat conftest.err >&5
87758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87759 (exit $ac_status); } &&
87760 { ac_try='test -z "$ac_cxx_werror_flag"
87761 || test ! -s conftest.err'
87762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87763 (eval $ac_try) 2>&5
87764 ac_status=$?
87765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87766 (exit $ac_status); }; } &&
87767 { ac_try='test -s conftest.$ac_objext'
87768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87769 (eval $ac_try) 2>&5
87770 ac_status=$?
87771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87772 (exit $ac_status); }; }; then
87773 glibcxx_cv_func_long_double_round_use=yes
87774 else
87775 echo "$as_me: failed program was:" >&5
87776 sed 's/^/| /' conftest.$ac_ext >&5
87777
87778 glibcxx_cv_func_long_double_round_use=no
87779 fi
87780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87781 ac_ext=c
87782 ac_cpp='$CPP $CPPFLAGS'
87783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87786
87787 fi
87788
87789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
87790 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
87791 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
87792
87793
87794 for ac_func in ceill floorl
87795 do
87796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87797 echo "$as_me:$LINENO: checking for $ac_func" >&5
87798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87799 if eval "test \"\${$as_ac_var+set}\" = set"; then
87800 echo $ECHO_N "(cached) $ECHO_C" >&6
87801 else
87802 if test x$gcc_no_link = xyes; then
87803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87805 { (exit 1); exit 1; }; }
87806 fi
87807 cat >conftest.$ac_ext <<_ACEOF
87808 /* confdefs.h. */
87809 _ACEOF
87810 cat confdefs.h >>conftest.$ac_ext
87811 cat >>conftest.$ac_ext <<_ACEOF
87812 /* end confdefs.h. */
87813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87815 #define $ac_func innocuous_$ac_func
87816
87817 /* System header to define __stub macros and hopefully few prototypes,
87818 which can conflict with char $ac_func (); below.
87819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87820 <limits.h> exists even on freestanding compilers. */
87821
87822 #ifdef __STDC__
87823 # include <limits.h>
87824 #else
87825 # include <assert.h>
87826 #endif
87827
87828 #undef $ac_func
87829
87830 /* Override any gcc2 internal prototype to avoid an error. */
87831 #ifdef __cplusplus
87832 extern "C"
87833 {
87834 #endif
87835 /* We use char because int might match the return type of a gcc2
87836 builtin and then its argument prototype would still apply. */
87837 char $ac_func ();
87838 /* The GNU C library defines this for functions which it implements
87839 to always fail with ENOSYS. Some functions are actually named
87840 something starting with __ and the normal name is an alias. */
87841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87842 choke me
87843 #else
87844 char (*f) () = $ac_func;
87845 #endif
87846 #ifdef __cplusplus
87847 }
87848 #endif
87849
87850 int
87851 main ()
87852 {
87853 return f != $ac_func;
87854 ;
87855 return 0;
87856 }
87857 _ACEOF
87858 rm -f conftest.$ac_objext conftest$ac_exeext
87859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87860 (eval $ac_link) 2>conftest.er1
87861 ac_status=$?
87862 grep -v '^ *+' conftest.er1 >conftest.err
87863 rm -f conftest.er1
87864 cat conftest.err >&5
87865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87866 (exit $ac_status); } &&
87867 { ac_try='test -z "$ac_c_werror_flag"
87868 || test ! -s conftest.err'
87869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87870 (eval $ac_try) 2>&5
87871 ac_status=$?
87872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87873 (exit $ac_status); }; } &&
87874 { ac_try='test -s conftest$ac_exeext'
87875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87876 (eval $ac_try) 2>&5
87877 ac_status=$?
87878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87879 (exit $ac_status); }; }; then
87880 eval "$as_ac_var=yes"
87881 else
87882 echo "$as_me: failed program was:" >&5
87883 sed 's/^/| /' conftest.$ac_ext >&5
87884
87885 eval "$as_ac_var=no"
87886 fi
87887 rm -f conftest.err conftest.$ac_objext \
87888 conftest$ac_exeext conftest.$ac_ext
87889 fi
87890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87892 if test `eval echo '${'$as_ac_var'}'` = yes; then
87893 cat >>confdefs.h <<_ACEOF
87894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87895 _ACEOF
87896
87897 fi
87898 done
87899
87900 else
87901 echo "$as_me:$LINENO: checking for _long double round functions" >&5
87902 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
87903 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
87904 echo $ECHO_N "(cached) $ECHO_C" >&6
87905 else
87906
87907
87908
87909 ac_ext=cc
87910 ac_cpp='$CXXCPP $CPPFLAGS'
87911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87914
87915 cat >conftest.$ac_ext <<_ACEOF
87916 /* confdefs.h. */
87917 _ACEOF
87918 cat confdefs.h >>conftest.$ac_ext
87919 cat >>conftest.$ac_ext <<_ACEOF
87920 /* end confdefs.h. */
87921 #include <math.h>
87922 int
87923 main ()
87924 {
87925 _ceill (0); _floorl (0);
87926 ;
87927 return 0;
87928 }
87929 _ACEOF
87930 rm -f conftest.$ac_objext
87931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87932 (eval $ac_compile) 2>conftest.er1
87933 ac_status=$?
87934 grep -v '^ *+' conftest.er1 >conftest.err
87935 rm -f conftest.er1
87936 cat conftest.err >&5
87937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87938 (exit $ac_status); } &&
87939 { ac_try='test -z "$ac_cxx_werror_flag"
87940 || test ! -s conftest.err'
87941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87942 (eval $ac_try) 2>&5
87943 ac_status=$?
87944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87945 (exit $ac_status); }; } &&
87946 { ac_try='test -s conftest.$ac_objext'
87947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87948 (eval $ac_try) 2>&5
87949 ac_status=$?
87950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87951 (exit $ac_status); }; }; then
87952 glibcxx_cv_func__long_double_round_use=yes
87953 else
87954 echo "$as_me: failed program was:" >&5
87955 sed 's/^/| /' conftest.$ac_ext >&5
87956
87957 glibcxx_cv_func__long_double_round_use=no
87958 fi
87959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87960 ac_ext=c
87961 ac_cpp='$CPP $CPPFLAGS'
87962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87965
87966 fi
87967
87968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
87969 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
87970 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
87971
87972
87973 for ac_func in _ceill _floorl
87974 do
87975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87976 echo "$as_me:$LINENO: checking for $ac_func" >&5
87977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87978 if eval "test \"\${$as_ac_var+set}\" = set"; then
87979 echo $ECHO_N "(cached) $ECHO_C" >&6
87980 else
87981 if test x$gcc_no_link = xyes; then
87982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87984 { (exit 1); exit 1; }; }
87985 fi
87986 cat >conftest.$ac_ext <<_ACEOF
87987 /* confdefs.h. */
87988 _ACEOF
87989 cat confdefs.h >>conftest.$ac_ext
87990 cat >>conftest.$ac_ext <<_ACEOF
87991 /* end confdefs.h. */
87992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87994 #define $ac_func innocuous_$ac_func
87995
87996 /* System header to define __stub macros and hopefully few prototypes,
87997 which can conflict with char $ac_func (); below.
87998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87999 <limits.h> exists even on freestanding compilers. */
88000
88001 #ifdef __STDC__
88002 # include <limits.h>
88003 #else
88004 # include <assert.h>
88005 #endif
88006
88007 #undef $ac_func
88008
88009 /* Override any gcc2 internal prototype to avoid an error. */
88010 #ifdef __cplusplus
88011 extern "C"
88012 {
88013 #endif
88014 /* We use char because int might match the return type of a gcc2
88015 builtin and then its argument prototype would still apply. */
88016 char $ac_func ();
88017 /* The GNU C library defines this for functions which it implements
88018 to always fail with ENOSYS. Some functions are actually named
88019 something starting with __ and the normal name is an alias. */
88020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88021 choke me
88022 #else
88023 char (*f) () = $ac_func;
88024 #endif
88025 #ifdef __cplusplus
88026 }
88027 #endif
88028
88029 int
88030 main ()
88031 {
88032 return f != $ac_func;
88033 ;
88034 return 0;
88035 }
88036 _ACEOF
88037 rm -f conftest.$ac_objext conftest$ac_exeext
88038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88039 (eval $ac_link) 2>conftest.er1
88040 ac_status=$?
88041 grep -v '^ *+' conftest.er1 >conftest.err
88042 rm -f conftest.er1
88043 cat conftest.err >&5
88044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88045 (exit $ac_status); } &&
88046 { ac_try='test -z "$ac_c_werror_flag"
88047 || test ! -s conftest.err'
88048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88049 (eval $ac_try) 2>&5
88050 ac_status=$?
88051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88052 (exit $ac_status); }; } &&
88053 { ac_try='test -s conftest$ac_exeext'
88054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88055 (eval $ac_try) 2>&5
88056 ac_status=$?
88057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88058 (exit $ac_status); }; }; then
88059 eval "$as_ac_var=yes"
88060 else
88061 echo "$as_me: failed program was:" >&5
88062 sed 's/^/| /' conftest.$ac_ext >&5
88063
88064 eval "$as_ac_var=no"
88065 fi
88066 rm -f conftest.err conftest.$ac_objext \
88067 conftest$ac_exeext conftest.$ac_ext
88068 fi
88069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88071 if test `eval echo '${'$as_ac_var'}'` = yes; then
88072 cat >>confdefs.h <<_ACEOF
88073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88074 _ACEOF
88075
88076 fi
88077 done
88078
88079 fi
88080 fi
88081
88082
88083
88084
88085
88086
88087
88088
88089 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
88090 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
88091 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
88092 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
88093 echo $ECHO_N "(cached) $ECHO_C" >&6
88094 else
88095
88096
88097
88098 ac_ext=cc
88099 ac_cpp='$CXXCPP $CPPFLAGS'
88100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88103
88104 cat >conftest.$ac_ext <<_ACEOF
88105 /* confdefs.h. */
88106 _ACEOF
88107 cat confdefs.h >>conftest.$ac_ext
88108 cat >>conftest.$ac_ext <<_ACEOF
88109 /* end confdefs.h. */
88110 #include <math.h>
88111 #ifdef HAVE_IEEEFP_H
88112 #include <ieeefp.h>
88113 #endif
88114
88115 int
88116 main ()
88117 {
88118 isnanl(0);
88119 ;
88120 return 0;
88121 }
88122 _ACEOF
88123 rm -f conftest.$ac_objext
88124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88125 (eval $ac_compile) 2>conftest.er1
88126 ac_status=$?
88127 grep -v '^ *+' conftest.er1 >conftest.err
88128 rm -f conftest.er1
88129 cat conftest.err >&5
88130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88131 (exit $ac_status); } &&
88132 { ac_try='test -z "$ac_cxx_werror_flag"
88133 || test ! -s conftest.err'
88134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88135 (eval $ac_try) 2>&5
88136 ac_status=$?
88137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88138 (exit $ac_status); }; } &&
88139 { ac_try='test -s conftest.$ac_objext'
88140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88141 (eval $ac_try) 2>&5
88142 ac_status=$?
88143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88144 (exit $ac_status); }; }; then
88145 glibcxx_cv_func_isnanl_use=yes
88146 else
88147 echo "$as_me: failed program was:" >&5
88148 sed 's/^/| /' conftest.$ac_ext >&5
88149
88150 glibcxx_cv_func_isnanl_use=no
88151 fi
88152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88153 ac_ext=c
88154 ac_cpp='$CPP $CPPFLAGS'
88155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88158
88159
88160 fi
88161
88162 fi
88163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
88164 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
88165
88166 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
88167
88168 for ac_func in isnanl
88169 do
88170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88171 echo "$as_me:$LINENO: checking for $ac_func" >&5
88172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88173 if eval "test \"\${$as_ac_var+set}\" = set"; then
88174 echo $ECHO_N "(cached) $ECHO_C" >&6
88175 else
88176 if test x$gcc_no_link = xyes; then
88177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88179 { (exit 1); exit 1; }; }
88180 fi
88181 cat >conftest.$ac_ext <<_ACEOF
88182 /* confdefs.h. */
88183 _ACEOF
88184 cat confdefs.h >>conftest.$ac_ext
88185 cat >>conftest.$ac_ext <<_ACEOF
88186 /* end confdefs.h. */
88187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88189 #define $ac_func innocuous_$ac_func
88190
88191 /* System header to define __stub macros and hopefully few prototypes,
88192 which can conflict with char $ac_func (); below.
88193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88194 <limits.h> exists even on freestanding compilers. */
88195
88196 #ifdef __STDC__
88197 # include <limits.h>
88198 #else
88199 # include <assert.h>
88200 #endif
88201
88202 #undef $ac_func
88203
88204 /* Override any gcc2 internal prototype to avoid an error. */
88205 #ifdef __cplusplus
88206 extern "C"
88207 {
88208 #endif
88209 /* We use char because int might match the return type of a gcc2
88210 builtin and then its argument prototype would still apply. */
88211 char $ac_func ();
88212 /* The GNU C library defines this for functions which it implements
88213 to always fail with ENOSYS. Some functions are actually named
88214 something starting with __ and the normal name is an alias. */
88215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88216 choke me
88217 #else
88218 char (*f) () = $ac_func;
88219 #endif
88220 #ifdef __cplusplus
88221 }
88222 #endif
88223
88224 int
88225 main ()
88226 {
88227 return f != $ac_func;
88228 ;
88229 return 0;
88230 }
88231 _ACEOF
88232 rm -f conftest.$ac_objext conftest$ac_exeext
88233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88234 (eval $ac_link) 2>conftest.er1
88235 ac_status=$?
88236 grep -v '^ *+' conftest.er1 >conftest.err
88237 rm -f conftest.er1
88238 cat conftest.err >&5
88239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88240 (exit $ac_status); } &&
88241 { ac_try='test -z "$ac_c_werror_flag"
88242 || test ! -s conftest.err'
88243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244 (eval $ac_try) 2>&5
88245 ac_status=$?
88246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247 (exit $ac_status); }; } &&
88248 { ac_try='test -s conftest$ac_exeext'
88249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88250 (eval $ac_try) 2>&5
88251 ac_status=$?
88252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88253 (exit $ac_status); }; }; then
88254 eval "$as_ac_var=yes"
88255 else
88256 echo "$as_me: failed program was:" >&5
88257 sed 's/^/| /' conftest.$ac_ext >&5
88258
88259 eval "$as_ac_var=no"
88260 fi
88261 rm -f conftest.err conftest.$ac_objext \
88262 conftest$ac_exeext conftest.$ac_ext
88263 fi
88264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88266 if test `eval echo '${'$as_ac_var'}'` = yes; then
88267 cat >>confdefs.h <<_ACEOF
88268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88269 _ACEOF
88270
88271 fi
88272 done
88273
88274 else
88275
88276 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
88277 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
88278 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
88279 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
88280 echo $ECHO_N "(cached) $ECHO_C" >&6
88281 else
88282
88283
88284
88285 ac_ext=cc
88286 ac_cpp='$CXXCPP $CPPFLAGS'
88287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88290
88291 cat >conftest.$ac_ext <<_ACEOF
88292 /* confdefs.h. */
88293 _ACEOF
88294 cat confdefs.h >>conftest.$ac_ext
88295 cat >>conftest.$ac_ext <<_ACEOF
88296 /* end confdefs.h. */
88297 #include <math.h>
88298 #ifdef HAVE_IEEEFP_H
88299 #include <ieeefp.h>
88300 #endif
88301
88302 int
88303 main ()
88304 {
88305 _isnanl(0);
88306 ;
88307 return 0;
88308 }
88309 _ACEOF
88310 rm -f conftest.$ac_objext
88311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88312 (eval $ac_compile) 2>conftest.er1
88313 ac_status=$?
88314 grep -v '^ *+' conftest.er1 >conftest.err
88315 rm -f conftest.er1
88316 cat conftest.err >&5
88317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88318 (exit $ac_status); } &&
88319 { ac_try='test -z "$ac_cxx_werror_flag"
88320 || test ! -s conftest.err'
88321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88322 (eval $ac_try) 2>&5
88323 ac_status=$?
88324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88325 (exit $ac_status); }; } &&
88326 { ac_try='test -s conftest.$ac_objext'
88327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88328 (eval $ac_try) 2>&5
88329 ac_status=$?
88330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88331 (exit $ac_status); }; }; then
88332 glibcxx_cv_func__isnanl_use=yes
88333 else
88334 echo "$as_me: failed program was:" >&5
88335 sed 's/^/| /' conftest.$ac_ext >&5
88336
88337 glibcxx_cv_func__isnanl_use=no
88338 fi
88339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88340 ac_ext=c
88341 ac_cpp='$CPP $CPPFLAGS'
88342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88345
88346
88347 fi
88348
88349 fi
88350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
88351 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
88352
88353 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
88354
88355 for ac_func in _isnanl
88356 do
88357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88358 echo "$as_me:$LINENO: checking for $ac_func" >&5
88359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88360 if eval "test \"\${$as_ac_var+set}\" = set"; then
88361 echo $ECHO_N "(cached) $ECHO_C" >&6
88362 else
88363 if test x$gcc_no_link = xyes; then
88364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88366 { (exit 1); exit 1; }; }
88367 fi
88368 cat >conftest.$ac_ext <<_ACEOF
88369 /* confdefs.h. */
88370 _ACEOF
88371 cat confdefs.h >>conftest.$ac_ext
88372 cat >>conftest.$ac_ext <<_ACEOF
88373 /* end confdefs.h. */
88374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88376 #define $ac_func innocuous_$ac_func
88377
88378 /* System header to define __stub macros and hopefully few prototypes,
88379 which can conflict with char $ac_func (); below.
88380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88381 <limits.h> exists even on freestanding compilers. */
88382
88383 #ifdef __STDC__
88384 # include <limits.h>
88385 #else
88386 # include <assert.h>
88387 #endif
88388
88389 #undef $ac_func
88390
88391 /* Override any gcc2 internal prototype to avoid an error. */
88392 #ifdef __cplusplus
88393 extern "C"
88394 {
88395 #endif
88396 /* We use char because int might match the return type of a gcc2
88397 builtin and then its argument prototype would still apply. */
88398 char $ac_func ();
88399 /* The GNU C library defines this for functions which it implements
88400 to always fail with ENOSYS. Some functions are actually named
88401 something starting with __ and the normal name is an alias. */
88402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88403 choke me
88404 #else
88405 char (*f) () = $ac_func;
88406 #endif
88407 #ifdef __cplusplus
88408 }
88409 #endif
88410
88411 int
88412 main ()
88413 {
88414 return f != $ac_func;
88415 ;
88416 return 0;
88417 }
88418 _ACEOF
88419 rm -f conftest.$ac_objext conftest$ac_exeext
88420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88421 (eval $ac_link) 2>conftest.er1
88422 ac_status=$?
88423 grep -v '^ *+' conftest.er1 >conftest.err
88424 rm -f conftest.er1
88425 cat conftest.err >&5
88426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88427 (exit $ac_status); } &&
88428 { ac_try='test -z "$ac_c_werror_flag"
88429 || test ! -s conftest.err'
88430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88431 (eval $ac_try) 2>&5
88432 ac_status=$?
88433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88434 (exit $ac_status); }; } &&
88435 { ac_try='test -s conftest$ac_exeext'
88436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88437 (eval $ac_try) 2>&5
88438 ac_status=$?
88439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88440 (exit $ac_status); }; }; then
88441 eval "$as_ac_var=yes"
88442 else
88443 echo "$as_me: failed program was:" >&5
88444 sed 's/^/| /' conftest.$ac_ext >&5
88445
88446 eval "$as_ac_var=no"
88447 fi
88448 rm -f conftest.err conftest.$ac_objext \
88449 conftest$ac_exeext conftest.$ac_ext
88450 fi
88451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88453 if test `eval echo '${'$as_ac_var'}'` = yes; then
88454 cat >>confdefs.h <<_ACEOF
88455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88456 _ACEOF
88457
88458 fi
88459 done
88460
88461 fi
88462 fi
88463
88464
88465
88466
88467
88468
88469 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
88470 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
88471 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
88472 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
88473 echo $ECHO_N "(cached) $ECHO_C" >&6
88474 else
88475
88476
88477
88478 ac_ext=cc
88479 ac_cpp='$CXXCPP $CPPFLAGS'
88480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88483
88484 cat >conftest.$ac_ext <<_ACEOF
88485 /* confdefs.h. */
88486 _ACEOF
88487 cat confdefs.h >>conftest.$ac_ext
88488 cat >>conftest.$ac_ext <<_ACEOF
88489 /* end confdefs.h. */
88490 #include <math.h>
88491 #ifdef HAVE_IEEEFP_H
88492 #include <ieeefp.h>
88493 #endif
88494
88495 int
88496 main ()
88497 {
88498 isinfl(0);
88499 ;
88500 return 0;
88501 }
88502 _ACEOF
88503 rm -f conftest.$ac_objext
88504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88505 (eval $ac_compile) 2>conftest.er1
88506 ac_status=$?
88507 grep -v '^ *+' conftest.er1 >conftest.err
88508 rm -f conftest.er1
88509 cat conftest.err >&5
88510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88511 (exit $ac_status); } &&
88512 { ac_try='test -z "$ac_cxx_werror_flag"
88513 || test ! -s conftest.err'
88514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88515 (eval $ac_try) 2>&5
88516 ac_status=$?
88517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88518 (exit $ac_status); }; } &&
88519 { ac_try='test -s conftest.$ac_objext'
88520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88521 (eval $ac_try) 2>&5
88522 ac_status=$?
88523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88524 (exit $ac_status); }; }; then
88525 glibcxx_cv_func_isinfl_use=yes
88526 else
88527 echo "$as_me: failed program was:" >&5
88528 sed 's/^/| /' conftest.$ac_ext >&5
88529
88530 glibcxx_cv_func_isinfl_use=no
88531 fi
88532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88533 ac_ext=c
88534 ac_cpp='$CPP $CPPFLAGS'
88535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88538
88539
88540 fi
88541
88542 fi
88543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
88544 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
88545
88546 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
88547
88548 for ac_func in isinfl
88549 do
88550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88551 echo "$as_me:$LINENO: checking for $ac_func" >&5
88552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88553 if eval "test \"\${$as_ac_var+set}\" = set"; then
88554 echo $ECHO_N "(cached) $ECHO_C" >&6
88555 else
88556 if test x$gcc_no_link = xyes; then
88557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88559 { (exit 1); exit 1; }; }
88560 fi
88561 cat >conftest.$ac_ext <<_ACEOF
88562 /* confdefs.h. */
88563 _ACEOF
88564 cat confdefs.h >>conftest.$ac_ext
88565 cat >>conftest.$ac_ext <<_ACEOF
88566 /* end confdefs.h. */
88567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88569 #define $ac_func innocuous_$ac_func
88570
88571 /* System header to define __stub macros and hopefully few prototypes,
88572 which can conflict with char $ac_func (); below.
88573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88574 <limits.h> exists even on freestanding compilers. */
88575
88576 #ifdef __STDC__
88577 # include <limits.h>
88578 #else
88579 # include <assert.h>
88580 #endif
88581
88582 #undef $ac_func
88583
88584 /* Override any gcc2 internal prototype to avoid an error. */
88585 #ifdef __cplusplus
88586 extern "C"
88587 {
88588 #endif
88589 /* We use char because int might match the return type of a gcc2
88590 builtin and then its argument prototype would still apply. */
88591 char $ac_func ();
88592 /* The GNU C library defines this for functions which it implements
88593 to always fail with ENOSYS. Some functions are actually named
88594 something starting with __ and the normal name is an alias. */
88595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88596 choke me
88597 #else
88598 char (*f) () = $ac_func;
88599 #endif
88600 #ifdef __cplusplus
88601 }
88602 #endif
88603
88604 int
88605 main ()
88606 {
88607 return f != $ac_func;
88608 ;
88609 return 0;
88610 }
88611 _ACEOF
88612 rm -f conftest.$ac_objext conftest$ac_exeext
88613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88614 (eval $ac_link) 2>conftest.er1
88615 ac_status=$?
88616 grep -v '^ *+' conftest.er1 >conftest.err
88617 rm -f conftest.er1
88618 cat conftest.err >&5
88619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88620 (exit $ac_status); } &&
88621 { ac_try='test -z "$ac_c_werror_flag"
88622 || test ! -s conftest.err'
88623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88624 (eval $ac_try) 2>&5
88625 ac_status=$?
88626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88627 (exit $ac_status); }; } &&
88628 { ac_try='test -s conftest$ac_exeext'
88629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88630 (eval $ac_try) 2>&5
88631 ac_status=$?
88632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88633 (exit $ac_status); }; }; then
88634 eval "$as_ac_var=yes"
88635 else
88636 echo "$as_me: failed program was:" >&5
88637 sed 's/^/| /' conftest.$ac_ext >&5
88638
88639 eval "$as_ac_var=no"
88640 fi
88641 rm -f conftest.err conftest.$ac_objext \
88642 conftest$ac_exeext conftest.$ac_ext
88643 fi
88644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88646 if test `eval echo '${'$as_ac_var'}'` = yes; then
88647 cat >>confdefs.h <<_ACEOF
88648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88649 _ACEOF
88650
88651 fi
88652 done
88653
88654 else
88655
88656 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
88657 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
88658 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
88659 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
88660 echo $ECHO_N "(cached) $ECHO_C" >&6
88661 else
88662
88663
88664
88665 ac_ext=cc
88666 ac_cpp='$CXXCPP $CPPFLAGS'
88667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88670
88671 cat >conftest.$ac_ext <<_ACEOF
88672 /* confdefs.h. */
88673 _ACEOF
88674 cat confdefs.h >>conftest.$ac_ext
88675 cat >>conftest.$ac_ext <<_ACEOF
88676 /* end confdefs.h. */
88677 #include <math.h>
88678 #ifdef HAVE_IEEEFP_H
88679 #include <ieeefp.h>
88680 #endif
88681
88682 int
88683 main ()
88684 {
88685 _isinfl(0);
88686 ;
88687 return 0;
88688 }
88689 _ACEOF
88690 rm -f conftest.$ac_objext
88691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88692 (eval $ac_compile) 2>conftest.er1
88693 ac_status=$?
88694 grep -v '^ *+' conftest.er1 >conftest.err
88695 rm -f conftest.er1
88696 cat conftest.err >&5
88697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88698 (exit $ac_status); } &&
88699 { ac_try='test -z "$ac_cxx_werror_flag"
88700 || test ! -s conftest.err'
88701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88702 (eval $ac_try) 2>&5
88703 ac_status=$?
88704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88705 (exit $ac_status); }; } &&
88706 { ac_try='test -s conftest.$ac_objext'
88707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88708 (eval $ac_try) 2>&5
88709 ac_status=$?
88710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88711 (exit $ac_status); }; }; then
88712 glibcxx_cv_func__isinfl_use=yes
88713 else
88714 echo "$as_me: failed program was:" >&5
88715 sed 's/^/| /' conftest.$ac_ext >&5
88716
88717 glibcxx_cv_func__isinfl_use=no
88718 fi
88719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88720 ac_ext=c
88721 ac_cpp='$CPP $CPPFLAGS'
88722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88725
88726
88727 fi
88728
88729 fi
88730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
88731 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
88732
88733 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
88734
88735 for ac_func in _isinfl
88736 do
88737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88738 echo "$as_me:$LINENO: checking for $ac_func" >&5
88739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88740 if eval "test \"\${$as_ac_var+set}\" = set"; then
88741 echo $ECHO_N "(cached) $ECHO_C" >&6
88742 else
88743 if test x$gcc_no_link = xyes; then
88744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88746 { (exit 1); exit 1; }; }
88747 fi
88748 cat >conftest.$ac_ext <<_ACEOF
88749 /* confdefs.h. */
88750 _ACEOF
88751 cat confdefs.h >>conftest.$ac_ext
88752 cat >>conftest.$ac_ext <<_ACEOF
88753 /* end confdefs.h. */
88754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88756 #define $ac_func innocuous_$ac_func
88757
88758 /* System header to define __stub macros and hopefully few prototypes,
88759 which can conflict with char $ac_func (); below.
88760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88761 <limits.h> exists even on freestanding compilers. */
88762
88763 #ifdef __STDC__
88764 # include <limits.h>
88765 #else
88766 # include <assert.h>
88767 #endif
88768
88769 #undef $ac_func
88770
88771 /* Override any gcc2 internal prototype to avoid an error. */
88772 #ifdef __cplusplus
88773 extern "C"
88774 {
88775 #endif
88776 /* We use char because int might match the return type of a gcc2
88777 builtin and then its argument prototype would still apply. */
88778 char $ac_func ();
88779 /* The GNU C library defines this for functions which it implements
88780 to always fail with ENOSYS. Some functions are actually named
88781 something starting with __ and the normal name is an alias. */
88782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88783 choke me
88784 #else
88785 char (*f) () = $ac_func;
88786 #endif
88787 #ifdef __cplusplus
88788 }
88789 #endif
88790
88791 int
88792 main ()
88793 {
88794 return f != $ac_func;
88795 ;
88796 return 0;
88797 }
88798 _ACEOF
88799 rm -f conftest.$ac_objext conftest$ac_exeext
88800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88801 (eval $ac_link) 2>conftest.er1
88802 ac_status=$?
88803 grep -v '^ *+' conftest.er1 >conftest.err
88804 rm -f conftest.er1
88805 cat conftest.err >&5
88806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88807 (exit $ac_status); } &&
88808 { ac_try='test -z "$ac_c_werror_flag"
88809 || test ! -s conftest.err'
88810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88811 (eval $ac_try) 2>&5
88812 ac_status=$?
88813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88814 (exit $ac_status); }; } &&
88815 { ac_try='test -s conftest$ac_exeext'
88816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88817 (eval $ac_try) 2>&5
88818 ac_status=$?
88819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88820 (exit $ac_status); }; }; then
88821 eval "$as_ac_var=yes"
88822 else
88823 echo "$as_me: failed program was:" >&5
88824 sed 's/^/| /' conftest.$ac_ext >&5
88825
88826 eval "$as_ac_var=no"
88827 fi
88828 rm -f conftest.err conftest.$ac_objext \
88829 conftest$ac_exeext conftest.$ac_ext
88830 fi
88831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88833 if test `eval echo '${'$as_ac_var'}'` = yes; then
88834 cat >>confdefs.h <<_ACEOF
88835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88836 _ACEOF
88837
88838 fi
88839 done
88840
88841 fi
88842 fi
88843
88844
88845
88846
88847
88848
88849 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
88850 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
88851 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
88852 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
88853 echo $ECHO_N "(cached) $ECHO_C" >&6
88854 else
88855
88856
88857
88858 ac_ext=cc
88859 ac_cpp='$CXXCPP $CPPFLAGS'
88860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88863
88864 cat >conftest.$ac_ext <<_ACEOF
88865 /* confdefs.h. */
88866 _ACEOF
88867 cat confdefs.h >>conftest.$ac_ext
88868 cat >>conftest.$ac_ext <<_ACEOF
88869 /* end confdefs.h. */
88870 #include <math.h>
88871 int
88872 main ()
88873 {
88874 atan2l(0, 0);
88875 ;
88876 return 0;
88877 }
88878 _ACEOF
88879 rm -f conftest.$ac_objext
88880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88881 (eval $ac_compile) 2>conftest.er1
88882 ac_status=$?
88883 grep -v '^ *+' conftest.er1 >conftest.err
88884 rm -f conftest.er1
88885 cat conftest.err >&5
88886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88887 (exit $ac_status); } &&
88888 { ac_try='test -z "$ac_cxx_werror_flag"
88889 || test ! -s conftest.err'
88890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88891 (eval $ac_try) 2>&5
88892 ac_status=$?
88893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88894 (exit $ac_status); }; } &&
88895 { ac_try='test -s conftest.$ac_objext'
88896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88897 (eval $ac_try) 2>&5
88898 ac_status=$?
88899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88900 (exit $ac_status); }; }; then
88901 glibcxx_cv_func_atan2l_use=yes
88902 else
88903 echo "$as_me: failed program was:" >&5
88904 sed 's/^/| /' conftest.$ac_ext >&5
88905
88906 glibcxx_cv_func_atan2l_use=no
88907 fi
88908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88909 ac_ext=c
88910 ac_cpp='$CPP $CPPFLAGS'
88911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88914
88915
88916 fi
88917
88918 fi
88919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
88920 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
88921
88922 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
88923
88924 for ac_func in atan2l
88925 do
88926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88927 echo "$as_me:$LINENO: checking for $ac_func" >&5
88928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88929 if eval "test \"\${$as_ac_var+set}\" = set"; then
88930 echo $ECHO_N "(cached) $ECHO_C" >&6
88931 else
88932 if test x$gcc_no_link = xyes; then
88933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88935 { (exit 1); exit 1; }; }
88936 fi
88937 cat >conftest.$ac_ext <<_ACEOF
88938 /* confdefs.h. */
88939 _ACEOF
88940 cat confdefs.h >>conftest.$ac_ext
88941 cat >>conftest.$ac_ext <<_ACEOF
88942 /* end confdefs.h. */
88943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88945 #define $ac_func innocuous_$ac_func
88946
88947 /* System header to define __stub macros and hopefully few prototypes,
88948 which can conflict with char $ac_func (); below.
88949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88950 <limits.h> exists even on freestanding compilers. */
88951
88952 #ifdef __STDC__
88953 # include <limits.h>
88954 #else
88955 # include <assert.h>
88956 #endif
88957
88958 #undef $ac_func
88959
88960 /* Override any gcc2 internal prototype to avoid an error. */
88961 #ifdef __cplusplus
88962 extern "C"
88963 {
88964 #endif
88965 /* We use char because int might match the return type of a gcc2
88966 builtin and then its argument prototype would still apply. */
88967 char $ac_func ();
88968 /* The GNU C library defines this for functions which it implements
88969 to always fail with ENOSYS. Some functions are actually named
88970 something starting with __ and the normal name is an alias. */
88971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88972 choke me
88973 #else
88974 char (*f) () = $ac_func;
88975 #endif
88976 #ifdef __cplusplus
88977 }
88978 #endif
88979
88980 int
88981 main ()
88982 {
88983 return f != $ac_func;
88984 ;
88985 return 0;
88986 }
88987 _ACEOF
88988 rm -f conftest.$ac_objext conftest$ac_exeext
88989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88990 (eval $ac_link) 2>conftest.er1
88991 ac_status=$?
88992 grep -v '^ *+' conftest.er1 >conftest.err
88993 rm -f conftest.er1
88994 cat conftest.err >&5
88995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88996 (exit $ac_status); } &&
88997 { ac_try='test -z "$ac_c_werror_flag"
88998 || test ! -s conftest.err'
88999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89000 (eval $ac_try) 2>&5
89001 ac_status=$?
89002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89003 (exit $ac_status); }; } &&
89004 { ac_try='test -s conftest$ac_exeext'
89005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89006 (eval $ac_try) 2>&5
89007 ac_status=$?
89008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89009 (exit $ac_status); }; }; then
89010 eval "$as_ac_var=yes"
89011 else
89012 echo "$as_me: failed program was:" >&5
89013 sed 's/^/| /' conftest.$ac_ext >&5
89014
89015 eval "$as_ac_var=no"
89016 fi
89017 rm -f conftest.err conftest.$ac_objext \
89018 conftest$ac_exeext conftest.$ac_ext
89019 fi
89020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89022 if test `eval echo '${'$as_ac_var'}'` = yes; then
89023 cat >>confdefs.h <<_ACEOF
89024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89025 _ACEOF
89026
89027 fi
89028 done
89029
89030 else
89031
89032 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
89033 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
89034 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
89035 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
89036 echo $ECHO_N "(cached) $ECHO_C" >&6
89037 else
89038
89039
89040
89041 ac_ext=cc
89042 ac_cpp='$CXXCPP $CPPFLAGS'
89043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89046
89047 cat >conftest.$ac_ext <<_ACEOF
89048 /* confdefs.h. */
89049 _ACEOF
89050 cat confdefs.h >>conftest.$ac_ext
89051 cat >>conftest.$ac_ext <<_ACEOF
89052 /* end confdefs.h. */
89053 #include <math.h>
89054 int
89055 main ()
89056 {
89057 _atan2l(0, 0);
89058 ;
89059 return 0;
89060 }
89061 _ACEOF
89062 rm -f conftest.$ac_objext
89063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89064 (eval $ac_compile) 2>conftest.er1
89065 ac_status=$?
89066 grep -v '^ *+' conftest.er1 >conftest.err
89067 rm -f conftest.er1
89068 cat conftest.err >&5
89069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89070 (exit $ac_status); } &&
89071 { ac_try='test -z "$ac_cxx_werror_flag"
89072 || test ! -s conftest.err'
89073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89074 (eval $ac_try) 2>&5
89075 ac_status=$?
89076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89077 (exit $ac_status); }; } &&
89078 { ac_try='test -s conftest.$ac_objext'
89079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89080 (eval $ac_try) 2>&5
89081 ac_status=$?
89082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89083 (exit $ac_status); }; }; then
89084 glibcxx_cv_func__atan2l_use=yes
89085 else
89086 echo "$as_me: failed program was:" >&5
89087 sed 's/^/| /' conftest.$ac_ext >&5
89088
89089 glibcxx_cv_func__atan2l_use=no
89090 fi
89091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89092 ac_ext=c
89093 ac_cpp='$CPP $CPPFLAGS'
89094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89097
89098
89099 fi
89100
89101 fi
89102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
89103 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
89104
89105 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
89106
89107 for ac_func in _atan2l
89108 do
89109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89110 echo "$as_me:$LINENO: checking for $ac_func" >&5
89111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89112 if eval "test \"\${$as_ac_var+set}\" = set"; then
89113 echo $ECHO_N "(cached) $ECHO_C" >&6
89114 else
89115 if test x$gcc_no_link = xyes; then
89116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89118 { (exit 1); exit 1; }; }
89119 fi
89120 cat >conftest.$ac_ext <<_ACEOF
89121 /* confdefs.h. */
89122 _ACEOF
89123 cat confdefs.h >>conftest.$ac_ext
89124 cat >>conftest.$ac_ext <<_ACEOF
89125 /* end confdefs.h. */
89126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89128 #define $ac_func innocuous_$ac_func
89129
89130 /* System header to define __stub macros and hopefully few prototypes,
89131 which can conflict with char $ac_func (); below.
89132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89133 <limits.h> exists even on freestanding compilers. */
89134
89135 #ifdef __STDC__
89136 # include <limits.h>
89137 #else
89138 # include <assert.h>
89139 #endif
89140
89141 #undef $ac_func
89142
89143 /* Override any gcc2 internal prototype to avoid an error. */
89144 #ifdef __cplusplus
89145 extern "C"
89146 {
89147 #endif
89148 /* We use char because int might match the return type of a gcc2
89149 builtin and then its argument prototype would still apply. */
89150 char $ac_func ();
89151 /* The GNU C library defines this for functions which it implements
89152 to always fail with ENOSYS. Some functions are actually named
89153 something starting with __ and the normal name is an alias. */
89154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89155 choke me
89156 #else
89157 char (*f) () = $ac_func;
89158 #endif
89159 #ifdef __cplusplus
89160 }
89161 #endif
89162
89163 int
89164 main ()
89165 {
89166 return f != $ac_func;
89167 ;
89168 return 0;
89169 }
89170 _ACEOF
89171 rm -f conftest.$ac_objext conftest$ac_exeext
89172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89173 (eval $ac_link) 2>conftest.er1
89174 ac_status=$?
89175 grep -v '^ *+' conftest.er1 >conftest.err
89176 rm -f conftest.er1
89177 cat conftest.err >&5
89178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89179 (exit $ac_status); } &&
89180 { ac_try='test -z "$ac_c_werror_flag"
89181 || test ! -s conftest.err'
89182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89183 (eval $ac_try) 2>&5
89184 ac_status=$?
89185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89186 (exit $ac_status); }; } &&
89187 { ac_try='test -s conftest$ac_exeext'
89188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89189 (eval $ac_try) 2>&5
89190 ac_status=$?
89191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89192 (exit $ac_status); }; }; then
89193 eval "$as_ac_var=yes"
89194 else
89195 echo "$as_me: failed program was:" >&5
89196 sed 's/^/| /' conftest.$ac_ext >&5
89197
89198 eval "$as_ac_var=no"
89199 fi
89200 rm -f conftest.err conftest.$ac_objext \
89201 conftest$ac_exeext conftest.$ac_ext
89202 fi
89203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89205 if test `eval echo '${'$as_ac_var'}'` = yes; then
89206 cat >>confdefs.h <<_ACEOF
89207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89208 _ACEOF
89209
89210 fi
89211 done
89212
89213 fi
89214 fi
89215
89216
89217
89218
89219
89220
89221 echo "$as_me:$LINENO: checking for expl declaration" >&5
89222 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
89223 if test x${glibcxx_cv_func_expl_use+set} != xset; then
89224 if test "${glibcxx_cv_func_expl_use+set}" = set; then
89225 echo $ECHO_N "(cached) $ECHO_C" >&6
89226 else
89227
89228
89229
89230 ac_ext=cc
89231 ac_cpp='$CXXCPP $CPPFLAGS'
89232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89235
89236 cat >conftest.$ac_ext <<_ACEOF
89237 /* confdefs.h. */
89238 _ACEOF
89239 cat confdefs.h >>conftest.$ac_ext
89240 cat >>conftest.$ac_ext <<_ACEOF
89241 /* end confdefs.h. */
89242 #include <math.h>
89243 #ifdef HAVE_IEEEFP_H
89244 #include <ieeefp.h>
89245 #endif
89246
89247 int
89248 main ()
89249 {
89250 expl(0);
89251 ;
89252 return 0;
89253 }
89254 _ACEOF
89255 rm -f conftest.$ac_objext
89256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89257 (eval $ac_compile) 2>conftest.er1
89258 ac_status=$?
89259 grep -v '^ *+' conftest.er1 >conftest.err
89260 rm -f conftest.er1
89261 cat conftest.err >&5
89262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89263 (exit $ac_status); } &&
89264 { ac_try='test -z "$ac_cxx_werror_flag"
89265 || test ! -s conftest.err'
89266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89267 (eval $ac_try) 2>&5
89268 ac_status=$?
89269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89270 (exit $ac_status); }; } &&
89271 { ac_try='test -s conftest.$ac_objext'
89272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89273 (eval $ac_try) 2>&5
89274 ac_status=$?
89275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89276 (exit $ac_status); }; }; then
89277 glibcxx_cv_func_expl_use=yes
89278 else
89279 echo "$as_me: failed program was:" >&5
89280 sed 's/^/| /' conftest.$ac_ext >&5
89281
89282 glibcxx_cv_func_expl_use=no
89283 fi
89284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89285 ac_ext=c
89286 ac_cpp='$CPP $CPPFLAGS'
89287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89290
89291
89292 fi
89293
89294 fi
89295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
89296 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
89297
89298 if test x$glibcxx_cv_func_expl_use = x"yes"; then
89299
89300 for ac_func in expl
89301 do
89302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89303 echo "$as_me:$LINENO: checking for $ac_func" >&5
89304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89305 if eval "test \"\${$as_ac_var+set}\" = set"; then
89306 echo $ECHO_N "(cached) $ECHO_C" >&6
89307 else
89308 if test x$gcc_no_link = xyes; then
89309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89311 { (exit 1); exit 1; }; }
89312 fi
89313 cat >conftest.$ac_ext <<_ACEOF
89314 /* confdefs.h. */
89315 _ACEOF
89316 cat confdefs.h >>conftest.$ac_ext
89317 cat >>conftest.$ac_ext <<_ACEOF
89318 /* end confdefs.h. */
89319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89321 #define $ac_func innocuous_$ac_func
89322
89323 /* System header to define __stub macros and hopefully few prototypes,
89324 which can conflict with char $ac_func (); below.
89325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89326 <limits.h> exists even on freestanding compilers. */
89327
89328 #ifdef __STDC__
89329 # include <limits.h>
89330 #else
89331 # include <assert.h>
89332 #endif
89333
89334 #undef $ac_func
89335
89336 /* Override any gcc2 internal prototype to avoid an error. */
89337 #ifdef __cplusplus
89338 extern "C"
89339 {
89340 #endif
89341 /* We use char because int might match the return type of a gcc2
89342 builtin and then its argument prototype would still apply. */
89343 char $ac_func ();
89344 /* The GNU C library defines this for functions which it implements
89345 to always fail with ENOSYS. Some functions are actually named
89346 something starting with __ and the normal name is an alias. */
89347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89348 choke me
89349 #else
89350 char (*f) () = $ac_func;
89351 #endif
89352 #ifdef __cplusplus
89353 }
89354 #endif
89355
89356 int
89357 main ()
89358 {
89359 return f != $ac_func;
89360 ;
89361 return 0;
89362 }
89363 _ACEOF
89364 rm -f conftest.$ac_objext conftest$ac_exeext
89365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89366 (eval $ac_link) 2>conftest.er1
89367 ac_status=$?
89368 grep -v '^ *+' conftest.er1 >conftest.err
89369 rm -f conftest.er1
89370 cat conftest.err >&5
89371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89372 (exit $ac_status); } &&
89373 { ac_try='test -z "$ac_c_werror_flag"
89374 || test ! -s conftest.err'
89375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89376 (eval $ac_try) 2>&5
89377 ac_status=$?
89378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89379 (exit $ac_status); }; } &&
89380 { ac_try='test -s conftest$ac_exeext'
89381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89382 (eval $ac_try) 2>&5
89383 ac_status=$?
89384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89385 (exit $ac_status); }; }; then
89386 eval "$as_ac_var=yes"
89387 else
89388 echo "$as_me: failed program was:" >&5
89389 sed 's/^/| /' conftest.$ac_ext >&5
89390
89391 eval "$as_ac_var=no"
89392 fi
89393 rm -f conftest.err conftest.$ac_objext \
89394 conftest$ac_exeext conftest.$ac_ext
89395 fi
89396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89398 if test `eval echo '${'$as_ac_var'}'` = yes; then
89399 cat >>confdefs.h <<_ACEOF
89400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89401 _ACEOF
89402
89403 fi
89404 done
89405
89406 else
89407
89408 echo "$as_me:$LINENO: checking for _expl declaration" >&5
89409 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
89410 if test x${glibcxx_cv_func__expl_use+set} != xset; then
89411 if test "${glibcxx_cv_func__expl_use+set}" = set; then
89412 echo $ECHO_N "(cached) $ECHO_C" >&6
89413 else
89414
89415
89416
89417 ac_ext=cc
89418 ac_cpp='$CXXCPP $CPPFLAGS'
89419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89422
89423 cat >conftest.$ac_ext <<_ACEOF
89424 /* confdefs.h. */
89425 _ACEOF
89426 cat confdefs.h >>conftest.$ac_ext
89427 cat >>conftest.$ac_ext <<_ACEOF
89428 /* end confdefs.h. */
89429 #include <math.h>
89430 #ifdef HAVE_IEEEFP_H
89431 #include <ieeefp.h>
89432 #endif
89433
89434 int
89435 main ()
89436 {
89437 _expl(0);
89438 ;
89439 return 0;
89440 }
89441 _ACEOF
89442 rm -f conftest.$ac_objext
89443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89444 (eval $ac_compile) 2>conftest.er1
89445 ac_status=$?
89446 grep -v '^ *+' conftest.er1 >conftest.err
89447 rm -f conftest.er1
89448 cat conftest.err >&5
89449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89450 (exit $ac_status); } &&
89451 { ac_try='test -z "$ac_cxx_werror_flag"
89452 || test ! -s conftest.err'
89453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89454 (eval $ac_try) 2>&5
89455 ac_status=$?
89456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89457 (exit $ac_status); }; } &&
89458 { ac_try='test -s conftest.$ac_objext'
89459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89460 (eval $ac_try) 2>&5
89461 ac_status=$?
89462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89463 (exit $ac_status); }; }; then
89464 glibcxx_cv_func__expl_use=yes
89465 else
89466 echo "$as_me: failed program was:" >&5
89467 sed 's/^/| /' conftest.$ac_ext >&5
89468
89469 glibcxx_cv_func__expl_use=no
89470 fi
89471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89472 ac_ext=c
89473 ac_cpp='$CPP $CPPFLAGS'
89474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89477
89478
89479 fi
89480
89481 fi
89482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
89483 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
89484
89485 if test x$glibcxx_cv_func__expl_use = x"yes"; then
89486
89487 for ac_func in _expl
89488 do
89489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89490 echo "$as_me:$LINENO: checking for $ac_func" >&5
89491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89492 if eval "test \"\${$as_ac_var+set}\" = set"; then
89493 echo $ECHO_N "(cached) $ECHO_C" >&6
89494 else
89495 if test x$gcc_no_link = xyes; then
89496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89498 { (exit 1); exit 1; }; }
89499 fi
89500 cat >conftest.$ac_ext <<_ACEOF
89501 /* confdefs.h. */
89502 _ACEOF
89503 cat confdefs.h >>conftest.$ac_ext
89504 cat >>conftest.$ac_ext <<_ACEOF
89505 /* end confdefs.h. */
89506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89508 #define $ac_func innocuous_$ac_func
89509
89510 /* System header to define __stub macros and hopefully few prototypes,
89511 which can conflict with char $ac_func (); below.
89512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89513 <limits.h> exists even on freestanding compilers. */
89514
89515 #ifdef __STDC__
89516 # include <limits.h>
89517 #else
89518 # include <assert.h>
89519 #endif
89520
89521 #undef $ac_func
89522
89523 /* Override any gcc2 internal prototype to avoid an error. */
89524 #ifdef __cplusplus
89525 extern "C"
89526 {
89527 #endif
89528 /* We use char because int might match the return type of a gcc2
89529 builtin and then its argument prototype would still apply. */
89530 char $ac_func ();
89531 /* The GNU C library defines this for functions which it implements
89532 to always fail with ENOSYS. Some functions are actually named
89533 something starting with __ and the normal name is an alias. */
89534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89535 choke me
89536 #else
89537 char (*f) () = $ac_func;
89538 #endif
89539 #ifdef __cplusplus
89540 }
89541 #endif
89542
89543 int
89544 main ()
89545 {
89546 return f != $ac_func;
89547 ;
89548 return 0;
89549 }
89550 _ACEOF
89551 rm -f conftest.$ac_objext conftest$ac_exeext
89552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89553 (eval $ac_link) 2>conftest.er1
89554 ac_status=$?
89555 grep -v '^ *+' conftest.er1 >conftest.err
89556 rm -f conftest.er1
89557 cat conftest.err >&5
89558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89559 (exit $ac_status); } &&
89560 { ac_try='test -z "$ac_c_werror_flag"
89561 || test ! -s conftest.err'
89562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89563 (eval $ac_try) 2>&5
89564 ac_status=$?
89565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89566 (exit $ac_status); }; } &&
89567 { ac_try='test -s conftest$ac_exeext'
89568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89569 (eval $ac_try) 2>&5
89570 ac_status=$?
89571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89572 (exit $ac_status); }; }; then
89573 eval "$as_ac_var=yes"
89574 else
89575 echo "$as_me: failed program was:" >&5
89576 sed 's/^/| /' conftest.$ac_ext >&5
89577
89578 eval "$as_ac_var=no"
89579 fi
89580 rm -f conftest.err conftest.$ac_objext \
89581 conftest$ac_exeext conftest.$ac_ext
89582 fi
89583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89585 if test `eval echo '${'$as_ac_var'}'` = yes; then
89586 cat >>confdefs.h <<_ACEOF
89587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89588 _ACEOF
89589
89590 fi
89591 done
89592
89593 fi
89594 fi
89595
89596
89597
89598
89599
89600
89601 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
89602 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
89603 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
89604 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
89605 echo $ECHO_N "(cached) $ECHO_C" >&6
89606 else
89607
89608
89609
89610 ac_ext=cc
89611 ac_cpp='$CXXCPP $CPPFLAGS'
89612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89615
89616 cat >conftest.$ac_ext <<_ACEOF
89617 /* confdefs.h. */
89618 _ACEOF
89619 cat confdefs.h >>conftest.$ac_ext
89620 cat >>conftest.$ac_ext <<_ACEOF
89621 /* end confdefs.h. */
89622 #include <math.h>
89623 #ifdef HAVE_IEEEFP_H
89624 #include <ieeefp.h>
89625 #endif
89626
89627 int
89628 main ()
89629 {
89630 fabsl(0);
89631 ;
89632 return 0;
89633 }
89634 _ACEOF
89635 rm -f conftest.$ac_objext
89636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89637 (eval $ac_compile) 2>conftest.er1
89638 ac_status=$?
89639 grep -v '^ *+' conftest.er1 >conftest.err
89640 rm -f conftest.er1
89641 cat conftest.err >&5
89642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89643 (exit $ac_status); } &&
89644 { ac_try='test -z "$ac_cxx_werror_flag"
89645 || test ! -s conftest.err'
89646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89647 (eval $ac_try) 2>&5
89648 ac_status=$?
89649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89650 (exit $ac_status); }; } &&
89651 { ac_try='test -s conftest.$ac_objext'
89652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89653 (eval $ac_try) 2>&5
89654 ac_status=$?
89655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89656 (exit $ac_status); }; }; then
89657 glibcxx_cv_func_fabsl_use=yes
89658 else
89659 echo "$as_me: failed program was:" >&5
89660 sed 's/^/| /' conftest.$ac_ext >&5
89661
89662 glibcxx_cv_func_fabsl_use=no
89663 fi
89664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89665 ac_ext=c
89666 ac_cpp='$CPP $CPPFLAGS'
89667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89670
89671
89672 fi
89673
89674 fi
89675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
89676 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
89677
89678 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
89679
89680 for ac_func in fabsl
89681 do
89682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89683 echo "$as_me:$LINENO: checking for $ac_func" >&5
89684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89685 if eval "test \"\${$as_ac_var+set}\" = set"; then
89686 echo $ECHO_N "(cached) $ECHO_C" >&6
89687 else
89688 if test x$gcc_no_link = xyes; then
89689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89691 { (exit 1); exit 1; }; }
89692 fi
89693 cat >conftest.$ac_ext <<_ACEOF
89694 /* confdefs.h. */
89695 _ACEOF
89696 cat confdefs.h >>conftest.$ac_ext
89697 cat >>conftest.$ac_ext <<_ACEOF
89698 /* end confdefs.h. */
89699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89701 #define $ac_func innocuous_$ac_func
89702
89703 /* System header to define __stub macros and hopefully few prototypes,
89704 which can conflict with char $ac_func (); below.
89705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89706 <limits.h> exists even on freestanding compilers. */
89707
89708 #ifdef __STDC__
89709 # include <limits.h>
89710 #else
89711 # include <assert.h>
89712 #endif
89713
89714 #undef $ac_func
89715
89716 /* Override any gcc2 internal prototype to avoid an error. */
89717 #ifdef __cplusplus
89718 extern "C"
89719 {
89720 #endif
89721 /* We use char because int might match the return type of a gcc2
89722 builtin and then its argument prototype would still apply. */
89723 char $ac_func ();
89724 /* The GNU C library defines this for functions which it implements
89725 to always fail with ENOSYS. Some functions are actually named
89726 something starting with __ and the normal name is an alias. */
89727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89728 choke me
89729 #else
89730 char (*f) () = $ac_func;
89731 #endif
89732 #ifdef __cplusplus
89733 }
89734 #endif
89735
89736 int
89737 main ()
89738 {
89739 return f != $ac_func;
89740 ;
89741 return 0;
89742 }
89743 _ACEOF
89744 rm -f conftest.$ac_objext conftest$ac_exeext
89745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89746 (eval $ac_link) 2>conftest.er1
89747 ac_status=$?
89748 grep -v '^ *+' conftest.er1 >conftest.err
89749 rm -f conftest.er1
89750 cat conftest.err >&5
89751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89752 (exit $ac_status); } &&
89753 { ac_try='test -z "$ac_c_werror_flag"
89754 || test ! -s conftest.err'
89755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89756 (eval $ac_try) 2>&5
89757 ac_status=$?
89758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89759 (exit $ac_status); }; } &&
89760 { ac_try='test -s conftest$ac_exeext'
89761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89762 (eval $ac_try) 2>&5
89763 ac_status=$?
89764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89765 (exit $ac_status); }; }; then
89766 eval "$as_ac_var=yes"
89767 else
89768 echo "$as_me: failed program was:" >&5
89769 sed 's/^/| /' conftest.$ac_ext >&5
89770
89771 eval "$as_ac_var=no"
89772 fi
89773 rm -f conftest.err conftest.$ac_objext \
89774 conftest$ac_exeext conftest.$ac_ext
89775 fi
89776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89778 if test `eval echo '${'$as_ac_var'}'` = yes; then
89779 cat >>confdefs.h <<_ACEOF
89780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89781 _ACEOF
89782
89783 fi
89784 done
89785
89786 else
89787
89788 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
89789 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
89790 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
89791 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
89792 echo $ECHO_N "(cached) $ECHO_C" >&6
89793 else
89794
89795
89796
89797 ac_ext=cc
89798 ac_cpp='$CXXCPP $CPPFLAGS'
89799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89802
89803 cat >conftest.$ac_ext <<_ACEOF
89804 /* confdefs.h. */
89805 _ACEOF
89806 cat confdefs.h >>conftest.$ac_ext
89807 cat >>conftest.$ac_ext <<_ACEOF
89808 /* end confdefs.h. */
89809 #include <math.h>
89810 #ifdef HAVE_IEEEFP_H
89811 #include <ieeefp.h>
89812 #endif
89813
89814 int
89815 main ()
89816 {
89817 _fabsl(0);
89818 ;
89819 return 0;
89820 }
89821 _ACEOF
89822 rm -f conftest.$ac_objext
89823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89824 (eval $ac_compile) 2>conftest.er1
89825 ac_status=$?
89826 grep -v '^ *+' conftest.er1 >conftest.err
89827 rm -f conftest.er1
89828 cat conftest.err >&5
89829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89830 (exit $ac_status); } &&
89831 { ac_try='test -z "$ac_cxx_werror_flag"
89832 || test ! -s conftest.err'
89833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89834 (eval $ac_try) 2>&5
89835 ac_status=$?
89836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89837 (exit $ac_status); }; } &&
89838 { ac_try='test -s conftest.$ac_objext'
89839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89840 (eval $ac_try) 2>&5
89841 ac_status=$?
89842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89843 (exit $ac_status); }; }; then
89844 glibcxx_cv_func__fabsl_use=yes
89845 else
89846 echo "$as_me: failed program was:" >&5
89847 sed 's/^/| /' conftest.$ac_ext >&5
89848
89849 glibcxx_cv_func__fabsl_use=no
89850 fi
89851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89852 ac_ext=c
89853 ac_cpp='$CPP $CPPFLAGS'
89854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89857
89858
89859 fi
89860
89861 fi
89862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
89863 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
89864
89865 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
89866
89867 for ac_func in _fabsl
89868 do
89869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89870 echo "$as_me:$LINENO: checking for $ac_func" >&5
89871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89872 if eval "test \"\${$as_ac_var+set}\" = set"; then
89873 echo $ECHO_N "(cached) $ECHO_C" >&6
89874 else
89875 if test x$gcc_no_link = xyes; then
89876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89878 { (exit 1); exit 1; }; }
89879 fi
89880 cat >conftest.$ac_ext <<_ACEOF
89881 /* confdefs.h. */
89882 _ACEOF
89883 cat confdefs.h >>conftest.$ac_ext
89884 cat >>conftest.$ac_ext <<_ACEOF
89885 /* end confdefs.h. */
89886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89888 #define $ac_func innocuous_$ac_func
89889
89890 /* System header to define __stub macros and hopefully few prototypes,
89891 which can conflict with char $ac_func (); below.
89892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89893 <limits.h> exists even on freestanding compilers. */
89894
89895 #ifdef __STDC__
89896 # include <limits.h>
89897 #else
89898 # include <assert.h>
89899 #endif
89900
89901 #undef $ac_func
89902
89903 /* Override any gcc2 internal prototype to avoid an error. */
89904 #ifdef __cplusplus
89905 extern "C"
89906 {
89907 #endif
89908 /* We use char because int might match the return type of a gcc2
89909 builtin and then its argument prototype would still apply. */
89910 char $ac_func ();
89911 /* The GNU C library defines this for functions which it implements
89912 to always fail with ENOSYS. Some functions are actually named
89913 something starting with __ and the normal name is an alias. */
89914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89915 choke me
89916 #else
89917 char (*f) () = $ac_func;
89918 #endif
89919 #ifdef __cplusplus
89920 }
89921 #endif
89922
89923 int
89924 main ()
89925 {
89926 return f != $ac_func;
89927 ;
89928 return 0;
89929 }
89930 _ACEOF
89931 rm -f conftest.$ac_objext conftest$ac_exeext
89932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89933 (eval $ac_link) 2>conftest.er1
89934 ac_status=$?
89935 grep -v '^ *+' conftest.er1 >conftest.err
89936 rm -f conftest.er1
89937 cat conftest.err >&5
89938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89939 (exit $ac_status); } &&
89940 { ac_try='test -z "$ac_c_werror_flag"
89941 || test ! -s conftest.err'
89942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89943 (eval $ac_try) 2>&5
89944 ac_status=$?
89945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89946 (exit $ac_status); }; } &&
89947 { ac_try='test -s conftest$ac_exeext'
89948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89949 (eval $ac_try) 2>&5
89950 ac_status=$?
89951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89952 (exit $ac_status); }; }; then
89953 eval "$as_ac_var=yes"
89954 else
89955 echo "$as_me: failed program was:" >&5
89956 sed 's/^/| /' conftest.$ac_ext >&5
89957
89958 eval "$as_ac_var=no"
89959 fi
89960 rm -f conftest.err conftest.$ac_objext \
89961 conftest$ac_exeext conftest.$ac_ext
89962 fi
89963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89965 if test `eval echo '${'$as_ac_var'}'` = yes; then
89966 cat >>confdefs.h <<_ACEOF
89967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89968 _ACEOF
89969
89970 fi
89971 done
89972
89973 fi
89974 fi
89975
89976
89977
89978
89979
89980
89981 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
89982 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
89983 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
89984 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
89985 echo $ECHO_N "(cached) $ECHO_C" >&6
89986 else
89987
89988
89989
89990 ac_ext=cc
89991 ac_cpp='$CXXCPP $CPPFLAGS'
89992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89995
89996 cat >conftest.$ac_ext <<_ACEOF
89997 /* confdefs.h. */
89998 _ACEOF
89999 cat confdefs.h >>conftest.$ac_ext
90000 cat >>conftest.$ac_ext <<_ACEOF
90001 /* end confdefs.h. */
90002 #include <math.h>
90003 int
90004 main ()
90005 {
90006 fmodl(0, 0);
90007 ;
90008 return 0;
90009 }
90010 _ACEOF
90011 rm -f conftest.$ac_objext
90012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90013 (eval $ac_compile) 2>conftest.er1
90014 ac_status=$?
90015 grep -v '^ *+' conftest.er1 >conftest.err
90016 rm -f conftest.er1
90017 cat conftest.err >&5
90018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90019 (exit $ac_status); } &&
90020 { ac_try='test -z "$ac_cxx_werror_flag"
90021 || test ! -s conftest.err'
90022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90023 (eval $ac_try) 2>&5
90024 ac_status=$?
90025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90026 (exit $ac_status); }; } &&
90027 { ac_try='test -s conftest.$ac_objext'
90028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90029 (eval $ac_try) 2>&5
90030 ac_status=$?
90031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90032 (exit $ac_status); }; }; then
90033 glibcxx_cv_func_fmodl_use=yes
90034 else
90035 echo "$as_me: failed program was:" >&5
90036 sed 's/^/| /' conftest.$ac_ext >&5
90037
90038 glibcxx_cv_func_fmodl_use=no
90039 fi
90040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90041 ac_ext=c
90042 ac_cpp='$CPP $CPPFLAGS'
90043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90046
90047
90048 fi
90049
90050 fi
90051 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
90052 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
90053
90054 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
90055
90056 for ac_func in fmodl
90057 do
90058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90059 echo "$as_me:$LINENO: checking for $ac_func" >&5
90060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90061 if eval "test \"\${$as_ac_var+set}\" = set"; then
90062 echo $ECHO_N "(cached) $ECHO_C" >&6
90063 else
90064 if test x$gcc_no_link = xyes; then
90065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90067 { (exit 1); exit 1; }; }
90068 fi
90069 cat >conftest.$ac_ext <<_ACEOF
90070 /* confdefs.h. */
90071 _ACEOF
90072 cat confdefs.h >>conftest.$ac_ext
90073 cat >>conftest.$ac_ext <<_ACEOF
90074 /* end confdefs.h. */
90075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90077 #define $ac_func innocuous_$ac_func
90078
90079 /* System header to define __stub macros and hopefully few prototypes,
90080 which can conflict with char $ac_func (); below.
90081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90082 <limits.h> exists even on freestanding compilers. */
90083
90084 #ifdef __STDC__
90085 # include <limits.h>
90086 #else
90087 # include <assert.h>
90088 #endif
90089
90090 #undef $ac_func
90091
90092 /* Override any gcc2 internal prototype to avoid an error. */
90093 #ifdef __cplusplus
90094 extern "C"
90095 {
90096 #endif
90097 /* We use char because int might match the return type of a gcc2
90098 builtin and then its argument prototype would still apply. */
90099 char $ac_func ();
90100 /* The GNU C library defines this for functions which it implements
90101 to always fail with ENOSYS. Some functions are actually named
90102 something starting with __ and the normal name is an alias. */
90103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90104 choke me
90105 #else
90106 char (*f) () = $ac_func;
90107 #endif
90108 #ifdef __cplusplus
90109 }
90110 #endif
90111
90112 int
90113 main ()
90114 {
90115 return f != $ac_func;
90116 ;
90117 return 0;
90118 }
90119 _ACEOF
90120 rm -f conftest.$ac_objext conftest$ac_exeext
90121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90122 (eval $ac_link) 2>conftest.er1
90123 ac_status=$?
90124 grep -v '^ *+' conftest.er1 >conftest.err
90125 rm -f conftest.er1
90126 cat conftest.err >&5
90127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90128 (exit $ac_status); } &&
90129 { ac_try='test -z "$ac_c_werror_flag"
90130 || test ! -s conftest.err'
90131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90132 (eval $ac_try) 2>&5
90133 ac_status=$?
90134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90135 (exit $ac_status); }; } &&
90136 { ac_try='test -s conftest$ac_exeext'
90137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90138 (eval $ac_try) 2>&5
90139 ac_status=$?
90140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90141 (exit $ac_status); }; }; then
90142 eval "$as_ac_var=yes"
90143 else
90144 echo "$as_me: failed program was:" >&5
90145 sed 's/^/| /' conftest.$ac_ext >&5
90146
90147 eval "$as_ac_var=no"
90148 fi
90149 rm -f conftest.err conftest.$ac_objext \
90150 conftest$ac_exeext conftest.$ac_ext
90151 fi
90152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90154 if test `eval echo '${'$as_ac_var'}'` = yes; then
90155 cat >>confdefs.h <<_ACEOF
90156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90157 _ACEOF
90158
90159 fi
90160 done
90161
90162 else
90163
90164 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
90165 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
90166 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
90167 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
90168 echo $ECHO_N "(cached) $ECHO_C" >&6
90169 else
90170
90171
90172
90173 ac_ext=cc
90174 ac_cpp='$CXXCPP $CPPFLAGS'
90175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90178
90179 cat >conftest.$ac_ext <<_ACEOF
90180 /* confdefs.h. */
90181 _ACEOF
90182 cat confdefs.h >>conftest.$ac_ext
90183 cat >>conftest.$ac_ext <<_ACEOF
90184 /* end confdefs.h. */
90185 #include <math.h>
90186 int
90187 main ()
90188 {
90189 _fmodl(0, 0);
90190 ;
90191 return 0;
90192 }
90193 _ACEOF
90194 rm -f conftest.$ac_objext
90195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90196 (eval $ac_compile) 2>conftest.er1
90197 ac_status=$?
90198 grep -v '^ *+' conftest.er1 >conftest.err
90199 rm -f conftest.er1
90200 cat conftest.err >&5
90201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90202 (exit $ac_status); } &&
90203 { ac_try='test -z "$ac_cxx_werror_flag"
90204 || test ! -s conftest.err'
90205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90206 (eval $ac_try) 2>&5
90207 ac_status=$?
90208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90209 (exit $ac_status); }; } &&
90210 { ac_try='test -s conftest.$ac_objext'
90211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90212 (eval $ac_try) 2>&5
90213 ac_status=$?
90214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90215 (exit $ac_status); }; }; then
90216 glibcxx_cv_func__fmodl_use=yes
90217 else
90218 echo "$as_me: failed program was:" >&5
90219 sed 's/^/| /' conftest.$ac_ext >&5
90220
90221 glibcxx_cv_func__fmodl_use=no
90222 fi
90223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90224 ac_ext=c
90225 ac_cpp='$CPP $CPPFLAGS'
90226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90229
90230
90231 fi
90232
90233 fi
90234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
90235 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
90236
90237 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
90238
90239 for ac_func in _fmodl
90240 do
90241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90242 echo "$as_me:$LINENO: checking for $ac_func" >&5
90243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90244 if eval "test \"\${$as_ac_var+set}\" = set"; then
90245 echo $ECHO_N "(cached) $ECHO_C" >&6
90246 else
90247 if test x$gcc_no_link = xyes; then
90248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90250 { (exit 1); exit 1; }; }
90251 fi
90252 cat >conftest.$ac_ext <<_ACEOF
90253 /* confdefs.h. */
90254 _ACEOF
90255 cat confdefs.h >>conftest.$ac_ext
90256 cat >>conftest.$ac_ext <<_ACEOF
90257 /* end confdefs.h. */
90258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90260 #define $ac_func innocuous_$ac_func
90261
90262 /* System header to define __stub macros and hopefully few prototypes,
90263 which can conflict with char $ac_func (); below.
90264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90265 <limits.h> exists even on freestanding compilers. */
90266
90267 #ifdef __STDC__
90268 # include <limits.h>
90269 #else
90270 # include <assert.h>
90271 #endif
90272
90273 #undef $ac_func
90274
90275 /* Override any gcc2 internal prototype to avoid an error. */
90276 #ifdef __cplusplus
90277 extern "C"
90278 {
90279 #endif
90280 /* We use char because int might match the return type of a gcc2
90281 builtin and then its argument prototype would still apply. */
90282 char $ac_func ();
90283 /* The GNU C library defines this for functions which it implements
90284 to always fail with ENOSYS. Some functions are actually named
90285 something starting with __ and the normal name is an alias. */
90286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90287 choke me
90288 #else
90289 char (*f) () = $ac_func;
90290 #endif
90291 #ifdef __cplusplus
90292 }
90293 #endif
90294
90295 int
90296 main ()
90297 {
90298 return f != $ac_func;
90299 ;
90300 return 0;
90301 }
90302 _ACEOF
90303 rm -f conftest.$ac_objext conftest$ac_exeext
90304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90305 (eval $ac_link) 2>conftest.er1
90306 ac_status=$?
90307 grep -v '^ *+' conftest.er1 >conftest.err
90308 rm -f conftest.er1
90309 cat conftest.err >&5
90310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90311 (exit $ac_status); } &&
90312 { ac_try='test -z "$ac_c_werror_flag"
90313 || test ! -s conftest.err'
90314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90315 (eval $ac_try) 2>&5
90316 ac_status=$?
90317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90318 (exit $ac_status); }; } &&
90319 { ac_try='test -s conftest$ac_exeext'
90320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90321 (eval $ac_try) 2>&5
90322 ac_status=$?
90323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90324 (exit $ac_status); }; }; then
90325 eval "$as_ac_var=yes"
90326 else
90327 echo "$as_me: failed program was:" >&5
90328 sed 's/^/| /' conftest.$ac_ext >&5
90329
90330 eval "$as_ac_var=no"
90331 fi
90332 rm -f conftest.err conftest.$ac_objext \
90333 conftest$ac_exeext conftest.$ac_ext
90334 fi
90335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90337 if test `eval echo '${'$as_ac_var'}'` = yes; then
90338 cat >>confdefs.h <<_ACEOF
90339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90340 _ACEOF
90341
90342 fi
90343 done
90344
90345 fi
90346 fi
90347
90348
90349
90350
90351
90352
90353 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
90354 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
90355 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
90356 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
90357 echo $ECHO_N "(cached) $ECHO_C" >&6
90358 else
90359
90360
90361
90362 ac_ext=cc
90363 ac_cpp='$CXXCPP $CPPFLAGS'
90364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90367
90368 cat >conftest.$ac_ext <<_ACEOF
90369 /* confdefs.h. */
90370 _ACEOF
90371 cat confdefs.h >>conftest.$ac_ext
90372 cat >>conftest.$ac_ext <<_ACEOF
90373 /* end confdefs.h. */
90374 #include <math.h>
90375 int
90376 main ()
90377 {
90378 frexpl(0, 0);
90379 ;
90380 return 0;
90381 }
90382 _ACEOF
90383 rm -f conftest.$ac_objext
90384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90385 (eval $ac_compile) 2>conftest.er1
90386 ac_status=$?
90387 grep -v '^ *+' conftest.er1 >conftest.err
90388 rm -f conftest.er1
90389 cat conftest.err >&5
90390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391 (exit $ac_status); } &&
90392 { ac_try='test -z "$ac_cxx_werror_flag"
90393 || test ! -s conftest.err'
90394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90395 (eval $ac_try) 2>&5
90396 ac_status=$?
90397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90398 (exit $ac_status); }; } &&
90399 { ac_try='test -s conftest.$ac_objext'
90400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90401 (eval $ac_try) 2>&5
90402 ac_status=$?
90403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90404 (exit $ac_status); }; }; then
90405 glibcxx_cv_func_frexpl_use=yes
90406 else
90407 echo "$as_me: failed program was:" >&5
90408 sed 's/^/| /' conftest.$ac_ext >&5
90409
90410 glibcxx_cv_func_frexpl_use=no
90411 fi
90412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90413 ac_ext=c
90414 ac_cpp='$CPP $CPPFLAGS'
90415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90418
90419
90420 fi
90421
90422 fi
90423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
90424 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
90425
90426 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
90427
90428 for ac_func in frexpl
90429 do
90430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90431 echo "$as_me:$LINENO: checking for $ac_func" >&5
90432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90433 if eval "test \"\${$as_ac_var+set}\" = set"; then
90434 echo $ECHO_N "(cached) $ECHO_C" >&6
90435 else
90436 if test x$gcc_no_link = xyes; then
90437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90439 { (exit 1); exit 1; }; }
90440 fi
90441 cat >conftest.$ac_ext <<_ACEOF
90442 /* confdefs.h. */
90443 _ACEOF
90444 cat confdefs.h >>conftest.$ac_ext
90445 cat >>conftest.$ac_ext <<_ACEOF
90446 /* end confdefs.h. */
90447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90449 #define $ac_func innocuous_$ac_func
90450
90451 /* System header to define __stub macros and hopefully few prototypes,
90452 which can conflict with char $ac_func (); below.
90453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90454 <limits.h> exists even on freestanding compilers. */
90455
90456 #ifdef __STDC__
90457 # include <limits.h>
90458 #else
90459 # include <assert.h>
90460 #endif
90461
90462 #undef $ac_func
90463
90464 /* Override any gcc2 internal prototype to avoid an error. */
90465 #ifdef __cplusplus
90466 extern "C"
90467 {
90468 #endif
90469 /* We use char because int might match the return type of a gcc2
90470 builtin and then its argument prototype would still apply. */
90471 char $ac_func ();
90472 /* The GNU C library defines this for functions which it implements
90473 to always fail with ENOSYS. Some functions are actually named
90474 something starting with __ and the normal name is an alias. */
90475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90476 choke me
90477 #else
90478 char (*f) () = $ac_func;
90479 #endif
90480 #ifdef __cplusplus
90481 }
90482 #endif
90483
90484 int
90485 main ()
90486 {
90487 return f != $ac_func;
90488 ;
90489 return 0;
90490 }
90491 _ACEOF
90492 rm -f conftest.$ac_objext conftest$ac_exeext
90493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90494 (eval $ac_link) 2>conftest.er1
90495 ac_status=$?
90496 grep -v '^ *+' conftest.er1 >conftest.err
90497 rm -f conftest.er1
90498 cat conftest.err >&5
90499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90500 (exit $ac_status); } &&
90501 { ac_try='test -z "$ac_c_werror_flag"
90502 || test ! -s conftest.err'
90503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90504 (eval $ac_try) 2>&5
90505 ac_status=$?
90506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90507 (exit $ac_status); }; } &&
90508 { ac_try='test -s conftest$ac_exeext'
90509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90510 (eval $ac_try) 2>&5
90511 ac_status=$?
90512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90513 (exit $ac_status); }; }; then
90514 eval "$as_ac_var=yes"
90515 else
90516 echo "$as_me: failed program was:" >&5
90517 sed 's/^/| /' conftest.$ac_ext >&5
90518
90519 eval "$as_ac_var=no"
90520 fi
90521 rm -f conftest.err conftest.$ac_objext \
90522 conftest$ac_exeext conftest.$ac_ext
90523 fi
90524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90526 if test `eval echo '${'$as_ac_var'}'` = yes; then
90527 cat >>confdefs.h <<_ACEOF
90528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90529 _ACEOF
90530
90531 fi
90532 done
90533
90534 else
90535
90536 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
90537 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
90538 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
90539 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
90540 echo $ECHO_N "(cached) $ECHO_C" >&6
90541 else
90542
90543
90544
90545 ac_ext=cc
90546 ac_cpp='$CXXCPP $CPPFLAGS'
90547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90550
90551 cat >conftest.$ac_ext <<_ACEOF
90552 /* confdefs.h. */
90553 _ACEOF
90554 cat confdefs.h >>conftest.$ac_ext
90555 cat >>conftest.$ac_ext <<_ACEOF
90556 /* end confdefs.h. */
90557 #include <math.h>
90558 int
90559 main ()
90560 {
90561 _frexpl(0, 0);
90562 ;
90563 return 0;
90564 }
90565 _ACEOF
90566 rm -f conftest.$ac_objext
90567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90568 (eval $ac_compile) 2>conftest.er1
90569 ac_status=$?
90570 grep -v '^ *+' conftest.er1 >conftest.err
90571 rm -f conftest.er1
90572 cat conftest.err >&5
90573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90574 (exit $ac_status); } &&
90575 { ac_try='test -z "$ac_cxx_werror_flag"
90576 || test ! -s conftest.err'
90577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90578 (eval $ac_try) 2>&5
90579 ac_status=$?
90580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90581 (exit $ac_status); }; } &&
90582 { ac_try='test -s conftest.$ac_objext'
90583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90584 (eval $ac_try) 2>&5
90585 ac_status=$?
90586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90587 (exit $ac_status); }; }; then
90588 glibcxx_cv_func__frexpl_use=yes
90589 else
90590 echo "$as_me: failed program was:" >&5
90591 sed 's/^/| /' conftest.$ac_ext >&5
90592
90593 glibcxx_cv_func__frexpl_use=no
90594 fi
90595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90596 ac_ext=c
90597 ac_cpp='$CPP $CPPFLAGS'
90598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90601
90602
90603 fi
90604
90605 fi
90606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
90607 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
90608
90609 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
90610
90611 for ac_func in _frexpl
90612 do
90613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90614 echo "$as_me:$LINENO: checking for $ac_func" >&5
90615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90616 if eval "test \"\${$as_ac_var+set}\" = set"; then
90617 echo $ECHO_N "(cached) $ECHO_C" >&6
90618 else
90619 if test x$gcc_no_link = xyes; then
90620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90622 { (exit 1); exit 1; }; }
90623 fi
90624 cat >conftest.$ac_ext <<_ACEOF
90625 /* confdefs.h. */
90626 _ACEOF
90627 cat confdefs.h >>conftest.$ac_ext
90628 cat >>conftest.$ac_ext <<_ACEOF
90629 /* end confdefs.h. */
90630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90632 #define $ac_func innocuous_$ac_func
90633
90634 /* System header to define __stub macros and hopefully few prototypes,
90635 which can conflict with char $ac_func (); below.
90636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90637 <limits.h> exists even on freestanding compilers. */
90638
90639 #ifdef __STDC__
90640 # include <limits.h>
90641 #else
90642 # include <assert.h>
90643 #endif
90644
90645 #undef $ac_func
90646
90647 /* Override any gcc2 internal prototype to avoid an error. */
90648 #ifdef __cplusplus
90649 extern "C"
90650 {
90651 #endif
90652 /* We use char because int might match the return type of a gcc2
90653 builtin and then its argument prototype would still apply. */
90654 char $ac_func ();
90655 /* The GNU C library defines this for functions which it implements
90656 to always fail with ENOSYS. Some functions are actually named
90657 something starting with __ and the normal name is an alias. */
90658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90659 choke me
90660 #else
90661 char (*f) () = $ac_func;
90662 #endif
90663 #ifdef __cplusplus
90664 }
90665 #endif
90666
90667 int
90668 main ()
90669 {
90670 return f != $ac_func;
90671 ;
90672 return 0;
90673 }
90674 _ACEOF
90675 rm -f conftest.$ac_objext conftest$ac_exeext
90676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90677 (eval $ac_link) 2>conftest.er1
90678 ac_status=$?
90679 grep -v '^ *+' conftest.er1 >conftest.err
90680 rm -f conftest.er1
90681 cat conftest.err >&5
90682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90683 (exit $ac_status); } &&
90684 { ac_try='test -z "$ac_c_werror_flag"
90685 || test ! -s conftest.err'
90686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90687 (eval $ac_try) 2>&5
90688 ac_status=$?
90689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90690 (exit $ac_status); }; } &&
90691 { ac_try='test -s conftest$ac_exeext'
90692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90693 (eval $ac_try) 2>&5
90694 ac_status=$?
90695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90696 (exit $ac_status); }; }; then
90697 eval "$as_ac_var=yes"
90698 else
90699 echo "$as_me: failed program was:" >&5
90700 sed 's/^/| /' conftest.$ac_ext >&5
90701
90702 eval "$as_ac_var=no"
90703 fi
90704 rm -f conftest.err conftest.$ac_objext \
90705 conftest$ac_exeext conftest.$ac_ext
90706 fi
90707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90709 if test `eval echo '${'$as_ac_var'}'` = yes; then
90710 cat >>confdefs.h <<_ACEOF
90711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90712 _ACEOF
90713
90714 fi
90715 done
90716
90717 fi
90718 fi
90719
90720
90721
90722
90723
90724
90725 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
90726 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
90727 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
90728 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
90729 echo $ECHO_N "(cached) $ECHO_C" >&6
90730 else
90731
90732
90733
90734 ac_ext=cc
90735 ac_cpp='$CXXCPP $CPPFLAGS'
90736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90739
90740 cat >conftest.$ac_ext <<_ACEOF
90741 /* confdefs.h. */
90742 _ACEOF
90743 cat confdefs.h >>conftest.$ac_ext
90744 cat >>conftest.$ac_ext <<_ACEOF
90745 /* end confdefs.h. */
90746 #include <math.h>
90747 int
90748 main ()
90749 {
90750 hypotl(0, 0);
90751 ;
90752 return 0;
90753 }
90754 _ACEOF
90755 rm -f conftest.$ac_objext
90756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90757 (eval $ac_compile) 2>conftest.er1
90758 ac_status=$?
90759 grep -v '^ *+' conftest.er1 >conftest.err
90760 rm -f conftest.er1
90761 cat conftest.err >&5
90762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90763 (exit $ac_status); } &&
90764 { ac_try='test -z "$ac_cxx_werror_flag"
90765 || test ! -s conftest.err'
90766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90767 (eval $ac_try) 2>&5
90768 ac_status=$?
90769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90770 (exit $ac_status); }; } &&
90771 { ac_try='test -s conftest.$ac_objext'
90772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90773 (eval $ac_try) 2>&5
90774 ac_status=$?
90775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90776 (exit $ac_status); }; }; then
90777 glibcxx_cv_func_hypotl_use=yes
90778 else
90779 echo "$as_me: failed program was:" >&5
90780 sed 's/^/| /' conftest.$ac_ext >&5
90781
90782 glibcxx_cv_func_hypotl_use=no
90783 fi
90784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90785 ac_ext=c
90786 ac_cpp='$CPP $CPPFLAGS'
90787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90790
90791
90792 fi
90793
90794 fi
90795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
90796 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
90797
90798 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
90799
90800 for ac_func in hypotl
90801 do
90802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90803 echo "$as_me:$LINENO: checking for $ac_func" >&5
90804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90805 if eval "test \"\${$as_ac_var+set}\" = set"; then
90806 echo $ECHO_N "(cached) $ECHO_C" >&6
90807 else
90808 if test x$gcc_no_link = xyes; then
90809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90811 { (exit 1); exit 1; }; }
90812 fi
90813 cat >conftest.$ac_ext <<_ACEOF
90814 /* confdefs.h. */
90815 _ACEOF
90816 cat confdefs.h >>conftest.$ac_ext
90817 cat >>conftest.$ac_ext <<_ACEOF
90818 /* end confdefs.h. */
90819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90821 #define $ac_func innocuous_$ac_func
90822
90823 /* System header to define __stub macros and hopefully few prototypes,
90824 which can conflict with char $ac_func (); below.
90825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90826 <limits.h> exists even on freestanding compilers. */
90827
90828 #ifdef __STDC__
90829 # include <limits.h>
90830 #else
90831 # include <assert.h>
90832 #endif
90833
90834 #undef $ac_func
90835
90836 /* Override any gcc2 internal prototype to avoid an error. */
90837 #ifdef __cplusplus
90838 extern "C"
90839 {
90840 #endif
90841 /* We use char because int might match the return type of a gcc2
90842 builtin and then its argument prototype would still apply. */
90843 char $ac_func ();
90844 /* The GNU C library defines this for functions which it implements
90845 to always fail with ENOSYS. Some functions are actually named
90846 something starting with __ and the normal name is an alias. */
90847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90848 choke me
90849 #else
90850 char (*f) () = $ac_func;
90851 #endif
90852 #ifdef __cplusplus
90853 }
90854 #endif
90855
90856 int
90857 main ()
90858 {
90859 return f != $ac_func;
90860 ;
90861 return 0;
90862 }
90863 _ACEOF
90864 rm -f conftest.$ac_objext conftest$ac_exeext
90865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90866 (eval $ac_link) 2>conftest.er1
90867 ac_status=$?
90868 grep -v '^ *+' conftest.er1 >conftest.err
90869 rm -f conftest.er1
90870 cat conftest.err >&5
90871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90872 (exit $ac_status); } &&
90873 { ac_try='test -z "$ac_c_werror_flag"
90874 || test ! -s conftest.err'
90875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90876 (eval $ac_try) 2>&5
90877 ac_status=$?
90878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90879 (exit $ac_status); }; } &&
90880 { ac_try='test -s conftest$ac_exeext'
90881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90882 (eval $ac_try) 2>&5
90883 ac_status=$?
90884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90885 (exit $ac_status); }; }; then
90886 eval "$as_ac_var=yes"
90887 else
90888 echo "$as_me: failed program was:" >&5
90889 sed 's/^/| /' conftest.$ac_ext >&5
90890
90891 eval "$as_ac_var=no"
90892 fi
90893 rm -f conftest.err conftest.$ac_objext \
90894 conftest$ac_exeext conftest.$ac_ext
90895 fi
90896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90898 if test `eval echo '${'$as_ac_var'}'` = yes; then
90899 cat >>confdefs.h <<_ACEOF
90900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90901 _ACEOF
90902
90903 fi
90904 done
90905
90906 else
90907
90908 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
90909 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
90910 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
90911 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
90912 echo $ECHO_N "(cached) $ECHO_C" >&6
90913 else
90914
90915
90916
90917 ac_ext=cc
90918 ac_cpp='$CXXCPP $CPPFLAGS'
90919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90922
90923 cat >conftest.$ac_ext <<_ACEOF
90924 /* confdefs.h. */
90925 _ACEOF
90926 cat confdefs.h >>conftest.$ac_ext
90927 cat >>conftest.$ac_ext <<_ACEOF
90928 /* end confdefs.h. */
90929 #include <math.h>
90930 int
90931 main ()
90932 {
90933 _hypotl(0, 0);
90934 ;
90935 return 0;
90936 }
90937 _ACEOF
90938 rm -f conftest.$ac_objext
90939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90940 (eval $ac_compile) 2>conftest.er1
90941 ac_status=$?
90942 grep -v '^ *+' conftest.er1 >conftest.err
90943 rm -f conftest.er1
90944 cat conftest.err >&5
90945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90946 (exit $ac_status); } &&
90947 { ac_try='test -z "$ac_cxx_werror_flag"
90948 || test ! -s conftest.err'
90949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90950 (eval $ac_try) 2>&5
90951 ac_status=$?
90952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90953 (exit $ac_status); }; } &&
90954 { ac_try='test -s conftest.$ac_objext'
90955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90956 (eval $ac_try) 2>&5
90957 ac_status=$?
90958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90959 (exit $ac_status); }; }; then
90960 glibcxx_cv_func__hypotl_use=yes
90961 else
90962 echo "$as_me: failed program was:" >&5
90963 sed 's/^/| /' conftest.$ac_ext >&5
90964
90965 glibcxx_cv_func__hypotl_use=no
90966 fi
90967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90968 ac_ext=c
90969 ac_cpp='$CPP $CPPFLAGS'
90970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90973
90974
90975 fi
90976
90977 fi
90978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
90979 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
90980
90981 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
90982
90983 for ac_func in _hypotl
90984 do
90985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90986 echo "$as_me:$LINENO: checking for $ac_func" >&5
90987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90988 if eval "test \"\${$as_ac_var+set}\" = set"; then
90989 echo $ECHO_N "(cached) $ECHO_C" >&6
90990 else
90991 if test x$gcc_no_link = xyes; then
90992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90994 { (exit 1); exit 1; }; }
90995 fi
90996 cat >conftest.$ac_ext <<_ACEOF
90997 /* confdefs.h. */
90998 _ACEOF
90999 cat confdefs.h >>conftest.$ac_ext
91000 cat >>conftest.$ac_ext <<_ACEOF
91001 /* end confdefs.h. */
91002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91004 #define $ac_func innocuous_$ac_func
91005
91006 /* System header to define __stub macros and hopefully few prototypes,
91007 which can conflict with char $ac_func (); below.
91008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91009 <limits.h> exists even on freestanding compilers. */
91010
91011 #ifdef __STDC__
91012 # include <limits.h>
91013 #else
91014 # include <assert.h>
91015 #endif
91016
91017 #undef $ac_func
91018
91019 /* Override any gcc2 internal prototype to avoid an error. */
91020 #ifdef __cplusplus
91021 extern "C"
91022 {
91023 #endif
91024 /* We use char because int might match the return type of a gcc2
91025 builtin and then its argument prototype would still apply. */
91026 char $ac_func ();
91027 /* The GNU C library defines this for functions which it implements
91028 to always fail with ENOSYS. Some functions are actually named
91029 something starting with __ and the normal name is an alias. */
91030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91031 choke me
91032 #else
91033 char (*f) () = $ac_func;
91034 #endif
91035 #ifdef __cplusplus
91036 }
91037 #endif
91038
91039 int
91040 main ()
91041 {
91042 return f != $ac_func;
91043 ;
91044 return 0;
91045 }
91046 _ACEOF
91047 rm -f conftest.$ac_objext conftest$ac_exeext
91048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91049 (eval $ac_link) 2>conftest.er1
91050 ac_status=$?
91051 grep -v '^ *+' conftest.er1 >conftest.err
91052 rm -f conftest.er1
91053 cat conftest.err >&5
91054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91055 (exit $ac_status); } &&
91056 { ac_try='test -z "$ac_c_werror_flag"
91057 || test ! -s conftest.err'
91058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91059 (eval $ac_try) 2>&5
91060 ac_status=$?
91061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91062 (exit $ac_status); }; } &&
91063 { ac_try='test -s conftest$ac_exeext'
91064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91065 (eval $ac_try) 2>&5
91066 ac_status=$?
91067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91068 (exit $ac_status); }; }; then
91069 eval "$as_ac_var=yes"
91070 else
91071 echo "$as_me: failed program was:" >&5
91072 sed 's/^/| /' conftest.$ac_ext >&5
91073
91074 eval "$as_ac_var=no"
91075 fi
91076 rm -f conftest.err conftest.$ac_objext \
91077 conftest$ac_exeext conftest.$ac_ext
91078 fi
91079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91081 if test `eval echo '${'$as_ac_var'}'` = yes; then
91082 cat >>confdefs.h <<_ACEOF
91083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91084 _ACEOF
91085
91086 fi
91087 done
91088
91089 fi
91090 fi
91091
91092
91093
91094
91095
91096
91097 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
91098 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
91099 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
91100 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
91101 echo $ECHO_N "(cached) $ECHO_C" >&6
91102 else
91103
91104
91105
91106 ac_ext=cc
91107 ac_cpp='$CXXCPP $CPPFLAGS'
91108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91111
91112 cat >conftest.$ac_ext <<_ACEOF
91113 /* confdefs.h. */
91114 _ACEOF
91115 cat confdefs.h >>conftest.$ac_ext
91116 cat >>conftest.$ac_ext <<_ACEOF
91117 /* end confdefs.h. */
91118 #include <math.h>
91119 int
91120 main ()
91121 {
91122 ldexpl(0, 0);
91123 ;
91124 return 0;
91125 }
91126 _ACEOF
91127 rm -f conftest.$ac_objext
91128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91129 (eval $ac_compile) 2>conftest.er1
91130 ac_status=$?
91131 grep -v '^ *+' conftest.er1 >conftest.err
91132 rm -f conftest.er1
91133 cat conftest.err >&5
91134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91135 (exit $ac_status); } &&
91136 { ac_try='test -z "$ac_cxx_werror_flag"
91137 || test ! -s conftest.err'
91138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91139 (eval $ac_try) 2>&5
91140 ac_status=$?
91141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91142 (exit $ac_status); }; } &&
91143 { ac_try='test -s conftest.$ac_objext'
91144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91145 (eval $ac_try) 2>&5
91146 ac_status=$?
91147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91148 (exit $ac_status); }; }; then
91149 glibcxx_cv_func_ldexpl_use=yes
91150 else
91151 echo "$as_me: failed program was:" >&5
91152 sed 's/^/| /' conftest.$ac_ext >&5
91153
91154 glibcxx_cv_func_ldexpl_use=no
91155 fi
91156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91157 ac_ext=c
91158 ac_cpp='$CPP $CPPFLAGS'
91159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91162
91163
91164 fi
91165
91166 fi
91167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
91168 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
91169
91170 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
91171
91172 for ac_func in ldexpl
91173 do
91174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91175 echo "$as_me:$LINENO: checking for $ac_func" >&5
91176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91177 if eval "test \"\${$as_ac_var+set}\" = set"; then
91178 echo $ECHO_N "(cached) $ECHO_C" >&6
91179 else
91180 if test x$gcc_no_link = xyes; then
91181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91183 { (exit 1); exit 1; }; }
91184 fi
91185 cat >conftest.$ac_ext <<_ACEOF
91186 /* confdefs.h. */
91187 _ACEOF
91188 cat confdefs.h >>conftest.$ac_ext
91189 cat >>conftest.$ac_ext <<_ACEOF
91190 /* end confdefs.h. */
91191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91193 #define $ac_func innocuous_$ac_func
91194
91195 /* System header to define __stub macros and hopefully few prototypes,
91196 which can conflict with char $ac_func (); below.
91197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91198 <limits.h> exists even on freestanding compilers. */
91199
91200 #ifdef __STDC__
91201 # include <limits.h>
91202 #else
91203 # include <assert.h>
91204 #endif
91205
91206 #undef $ac_func
91207
91208 /* Override any gcc2 internal prototype to avoid an error. */
91209 #ifdef __cplusplus
91210 extern "C"
91211 {
91212 #endif
91213 /* We use char because int might match the return type of a gcc2
91214 builtin and then its argument prototype would still apply. */
91215 char $ac_func ();
91216 /* The GNU C library defines this for functions which it implements
91217 to always fail with ENOSYS. Some functions are actually named
91218 something starting with __ and the normal name is an alias. */
91219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91220 choke me
91221 #else
91222 char (*f) () = $ac_func;
91223 #endif
91224 #ifdef __cplusplus
91225 }
91226 #endif
91227
91228 int
91229 main ()
91230 {
91231 return f != $ac_func;
91232 ;
91233 return 0;
91234 }
91235 _ACEOF
91236 rm -f conftest.$ac_objext conftest$ac_exeext
91237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91238 (eval $ac_link) 2>conftest.er1
91239 ac_status=$?
91240 grep -v '^ *+' conftest.er1 >conftest.err
91241 rm -f conftest.er1
91242 cat conftest.err >&5
91243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91244 (exit $ac_status); } &&
91245 { ac_try='test -z "$ac_c_werror_flag"
91246 || test ! -s conftest.err'
91247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91248 (eval $ac_try) 2>&5
91249 ac_status=$?
91250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91251 (exit $ac_status); }; } &&
91252 { ac_try='test -s conftest$ac_exeext'
91253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91254 (eval $ac_try) 2>&5
91255 ac_status=$?
91256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91257 (exit $ac_status); }; }; then
91258 eval "$as_ac_var=yes"
91259 else
91260 echo "$as_me: failed program was:" >&5
91261 sed 's/^/| /' conftest.$ac_ext >&5
91262
91263 eval "$as_ac_var=no"
91264 fi
91265 rm -f conftest.err conftest.$ac_objext \
91266 conftest$ac_exeext conftest.$ac_ext
91267 fi
91268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91270 if test `eval echo '${'$as_ac_var'}'` = yes; then
91271 cat >>confdefs.h <<_ACEOF
91272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91273 _ACEOF
91274
91275 fi
91276 done
91277
91278 else
91279
91280 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
91281 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
91282 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
91283 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
91284 echo $ECHO_N "(cached) $ECHO_C" >&6
91285 else
91286
91287
91288
91289 ac_ext=cc
91290 ac_cpp='$CXXCPP $CPPFLAGS'
91291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91294
91295 cat >conftest.$ac_ext <<_ACEOF
91296 /* confdefs.h. */
91297 _ACEOF
91298 cat confdefs.h >>conftest.$ac_ext
91299 cat >>conftest.$ac_ext <<_ACEOF
91300 /* end confdefs.h. */
91301 #include <math.h>
91302 int
91303 main ()
91304 {
91305 _ldexpl(0, 0);
91306 ;
91307 return 0;
91308 }
91309 _ACEOF
91310 rm -f conftest.$ac_objext
91311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91312 (eval $ac_compile) 2>conftest.er1
91313 ac_status=$?
91314 grep -v '^ *+' conftest.er1 >conftest.err
91315 rm -f conftest.er1
91316 cat conftest.err >&5
91317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91318 (exit $ac_status); } &&
91319 { ac_try='test -z "$ac_cxx_werror_flag"
91320 || test ! -s conftest.err'
91321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91322 (eval $ac_try) 2>&5
91323 ac_status=$?
91324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91325 (exit $ac_status); }; } &&
91326 { ac_try='test -s conftest.$ac_objext'
91327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91328 (eval $ac_try) 2>&5
91329 ac_status=$?
91330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91331 (exit $ac_status); }; }; then
91332 glibcxx_cv_func__ldexpl_use=yes
91333 else
91334 echo "$as_me: failed program was:" >&5
91335 sed 's/^/| /' conftest.$ac_ext >&5
91336
91337 glibcxx_cv_func__ldexpl_use=no
91338 fi
91339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91340 ac_ext=c
91341 ac_cpp='$CPP $CPPFLAGS'
91342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91345
91346
91347 fi
91348
91349 fi
91350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
91351 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
91352
91353 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
91354
91355 for ac_func in _ldexpl
91356 do
91357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91358 echo "$as_me:$LINENO: checking for $ac_func" >&5
91359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91360 if eval "test \"\${$as_ac_var+set}\" = set"; then
91361 echo $ECHO_N "(cached) $ECHO_C" >&6
91362 else
91363 if test x$gcc_no_link = xyes; then
91364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91366 { (exit 1); exit 1; }; }
91367 fi
91368 cat >conftest.$ac_ext <<_ACEOF
91369 /* confdefs.h. */
91370 _ACEOF
91371 cat confdefs.h >>conftest.$ac_ext
91372 cat >>conftest.$ac_ext <<_ACEOF
91373 /* end confdefs.h. */
91374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91376 #define $ac_func innocuous_$ac_func
91377
91378 /* System header to define __stub macros and hopefully few prototypes,
91379 which can conflict with char $ac_func (); below.
91380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91381 <limits.h> exists even on freestanding compilers. */
91382
91383 #ifdef __STDC__
91384 # include <limits.h>
91385 #else
91386 # include <assert.h>
91387 #endif
91388
91389 #undef $ac_func
91390
91391 /* Override any gcc2 internal prototype to avoid an error. */
91392 #ifdef __cplusplus
91393 extern "C"
91394 {
91395 #endif
91396 /* We use char because int might match the return type of a gcc2
91397 builtin and then its argument prototype would still apply. */
91398 char $ac_func ();
91399 /* The GNU C library defines this for functions which it implements
91400 to always fail with ENOSYS. Some functions are actually named
91401 something starting with __ and the normal name is an alias. */
91402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91403 choke me
91404 #else
91405 char (*f) () = $ac_func;
91406 #endif
91407 #ifdef __cplusplus
91408 }
91409 #endif
91410
91411 int
91412 main ()
91413 {
91414 return f != $ac_func;
91415 ;
91416 return 0;
91417 }
91418 _ACEOF
91419 rm -f conftest.$ac_objext conftest$ac_exeext
91420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91421 (eval $ac_link) 2>conftest.er1
91422 ac_status=$?
91423 grep -v '^ *+' conftest.er1 >conftest.err
91424 rm -f conftest.er1
91425 cat conftest.err >&5
91426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91427 (exit $ac_status); } &&
91428 { ac_try='test -z "$ac_c_werror_flag"
91429 || test ! -s conftest.err'
91430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91431 (eval $ac_try) 2>&5
91432 ac_status=$?
91433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91434 (exit $ac_status); }; } &&
91435 { ac_try='test -s conftest$ac_exeext'
91436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91437 (eval $ac_try) 2>&5
91438 ac_status=$?
91439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91440 (exit $ac_status); }; }; then
91441 eval "$as_ac_var=yes"
91442 else
91443 echo "$as_me: failed program was:" >&5
91444 sed 's/^/| /' conftest.$ac_ext >&5
91445
91446 eval "$as_ac_var=no"
91447 fi
91448 rm -f conftest.err conftest.$ac_objext \
91449 conftest$ac_exeext conftest.$ac_ext
91450 fi
91451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91453 if test `eval echo '${'$as_ac_var'}'` = yes; then
91454 cat >>confdefs.h <<_ACEOF
91455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91456 _ACEOF
91457
91458 fi
91459 done
91460
91461 fi
91462 fi
91463
91464
91465
91466
91467
91468
91469 echo "$as_me:$LINENO: checking for logl declaration" >&5
91470 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
91471 if test x${glibcxx_cv_func_logl_use+set} != xset; then
91472 if test "${glibcxx_cv_func_logl_use+set}" = set; then
91473 echo $ECHO_N "(cached) $ECHO_C" >&6
91474 else
91475
91476
91477
91478 ac_ext=cc
91479 ac_cpp='$CXXCPP $CPPFLAGS'
91480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91483
91484 cat >conftest.$ac_ext <<_ACEOF
91485 /* confdefs.h. */
91486 _ACEOF
91487 cat confdefs.h >>conftest.$ac_ext
91488 cat >>conftest.$ac_ext <<_ACEOF
91489 /* end confdefs.h. */
91490 #include <math.h>
91491 #ifdef HAVE_IEEEFP_H
91492 #include <ieeefp.h>
91493 #endif
91494
91495 int
91496 main ()
91497 {
91498 logl(0);
91499 ;
91500 return 0;
91501 }
91502 _ACEOF
91503 rm -f conftest.$ac_objext
91504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91505 (eval $ac_compile) 2>conftest.er1
91506 ac_status=$?
91507 grep -v '^ *+' conftest.er1 >conftest.err
91508 rm -f conftest.er1
91509 cat conftest.err >&5
91510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511 (exit $ac_status); } &&
91512 { ac_try='test -z "$ac_cxx_werror_flag"
91513 || test ! -s conftest.err'
91514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91515 (eval $ac_try) 2>&5
91516 ac_status=$?
91517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91518 (exit $ac_status); }; } &&
91519 { ac_try='test -s conftest.$ac_objext'
91520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91521 (eval $ac_try) 2>&5
91522 ac_status=$?
91523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91524 (exit $ac_status); }; }; then
91525 glibcxx_cv_func_logl_use=yes
91526 else
91527 echo "$as_me: failed program was:" >&5
91528 sed 's/^/| /' conftest.$ac_ext >&5
91529
91530 glibcxx_cv_func_logl_use=no
91531 fi
91532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91533 ac_ext=c
91534 ac_cpp='$CPP $CPPFLAGS'
91535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91538
91539
91540 fi
91541
91542 fi
91543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
91544 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
91545
91546 if test x$glibcxx_cv_func_logl_use = x"yes"; then
91547
91548 for ac_func in logl
91549 do
91550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91551 echo "$as_me:$LINENO: checking for $ac_func" >&5
91552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91553 if eval "test \"\${$as_ac_var+set}\" = set"; then
91554 echo $ECHO_N "(cached) $ECHO_C" >&6
91555 else
91556 if test x$gcc_no_link = xyes; then
91557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91559 { (exit 1); exit 1; }; }
91560 fi
91561 cat >conftest.$ac_ext <<_ACEOF
91562 /* confdefs.h. */
91563 _ACEOF
91564 cat confdefs.h >>conftest.$ac_ext
91565 cat >>conftest.$ac_ext <<_ACEOF
91566 /* end confdefs.h. */
91567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91569 #define $ac_func innocuous_$ac_func
91570
91571 /* System header to define __stub macros and hopefully few prototypes,
91572 which can conflict with char $ac_func (); below.
91573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91574 <limits.h> exists even on freestanding compilers. */
91575
91576 #ifdef __STDC__
91577 # include <limits.h>
91578 #else
91579 # include <assert.h>
91580 #endif
91581
91582 #undef $ac_func
91583
91584 /* Override any gcc2 internal prototype to avoid an error. */
91585 #ifdef __cplusplus
91586 extern "C"
91587 {
91588 #endif
91589 /* We use char because int might match the return type of a gcc2
91590 builtin and then its argument prototype would still apply. */
91591 char $ac_func ();
91592 /* The GNU C library defines this for functions which it implements
91593 to always fail with ENOSYS. Some functions are actually named
91594 something starting with __ and the normal name is an alias. */
91595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91596 choke me
91597 #else
91598 char (*f) () = $ac_func;
91599 #endif
91600 #ifdef __cplusplus
91601 }
91602 #endif
91603
91604 int
91605 main ()
91606 {
91607 return f != $ac_func;
91608 ;
91609 return 0;
91610 }
91611 _ACEOF
91612 rm -f conftest.$ac_objext conftest$ac_exeext
91613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91614 (eval $ac_link) 2>conftest.er1
91615 ac_status=$?
91616 grep -v '^ *+' conftest.er1 >conftest.err
91617 rm -f conftest.er1
91618 cat conftest.err >&5
91619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91620 (exit $ac_status); } &&
91621 { ac_try='test -z "$ac_c_werror_flag"
91622 || test ! -s conftest.err'
91623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91624 (eval $ac_try) 2>&5
91625 ac_status=$?
91626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91627 (exit $ac_status); }; } &&
91628 { ac_try='test -s conftest$ac_exeext'
91629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91630 (eval $ac_try) 2>&5
91631 ac_status=$?
91632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91633 (exit $ac_status); }; }; then
91634 eval "$as_ac_var=yes"
91635 else
91636 echo "$as_me: failed program was:" >&5
91637 sed 's/^/| /' conftest.$ac_ext >&5
91638
91639 eval "$as_ac_var=no"
91640 fi
91641 rm -f conftest.err conftest.$ac_objext \
91642 conftest$ac_exeext conftest.$ac_ext
91643 fi
91644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91646 if test `eval echo '${'$as_ac_var'}'` = yes; then
91647 cat >>confdefs.h <<_ACEOF
91648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91649 _ACEOF
91650
91651 fi
91652 done
91653
91654 else
91655
91656 echo "$as_me:$LINENO: checking for _logl declaration" >&5
91657 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
91658 if test x${glibcxx_cv_func__logl_use+set} != xset; then
91659 if test "${glibcxx_cv_func__logl_use+set}" = set; then
91660 echo $ECHO_N "(cached) $ECHO_C" >&6
91661 else
91662
91663
91664
91665 ac_ext=cc
91666 ac_cpp='$CXXCPP $CPPFLAGS'
91667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91670
91671 cat >conftest.$ac_ext <<_ACEOF
91672 /* confdefs.h. */
91673 _ACEOF
91674 cat confdefs.h >>conftest.$ac_ext
91675 cat >>conftest.$ac_ext <<_ACEOF
91676 /* end confdefs.h. */
91677 #include <math.h>
91678 #ifdef HAVE_IEEEFP_H
91679 #include <ieeefp.h>
91680 #endif
91681
91682 int
91683 main ()
91684 {
91685 _logl(0);
91686 ;
91687 return 0;
91688 }
91689 _ACEOF
91690 rm -f conftest.$ac_objext
91691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91692 (eval $ac_compile) 2>conftest.er1
91693 ac_status=$?
91694 grep -v '^ *+' conftest.er1 >conftest.err
91695 rm -f conftest.er1
91696 cat conftest.err >&5
91697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91698 (exit $ac_status); } &&
91699 { ac_try='test -z "$ac_cxx_werror_flag"
91700 || test ! -s conftest.err'
91701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91702 (eval $ac_try) 2>&5
91703 ac_status=$?
91704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91705 (exit $ac_status); }; } &&
91706 { ac_try='test -s conftest.$ac_objext'
91707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91708 (eval $ac_try) 2>&5
91709 ac_status=$?
91710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91711 (exit $ac_status); }; }; then
91712 glibcxx_cv_func__logl_use=yes
91713 else
91714 echo "$as_me: failed program was:" >&5
91715 sed 's/^/| /' conftest.$ac_ext >&5
91716
91717 glibcxx_cv_func__logl_use=no
91718 fi
91719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91720 ac_ext=c
91721 ac_cpp='$CPP $CPPFLAGS'
91722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91725
91726
91727 fi
91728
91729 fi
91730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
91731 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
91732
91733 if test x$glibcxx_cv_func__logl_use = x"yes"; then
91734
91735 for ac_func in _logl
91736 do
91737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91738 echo "$as_me:$LINENO: checking for $ac_func" >&5
91739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91740 if eval "test \"\${$as_ac_var+set}\" = set"; then
91741 echo $ECHO_N "(cached) $ECHO_C" >&6
91742 else
91743 if test x$gcc_no_link = xyes; then
91744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91746 { (exit 1); exit 1; }; }
91747 fi
91748 cat >conftest.$ac_ext <<_ACEOF
91749 /* confdefs.h. */
91750 _ACEOF
91751 cat confdefs.h >>conftest.$ac_ext
91752 cat >>conftest.$ac_ext <<_ACEOF
91753 /* end confdefs.h. */
91754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91756 #define $ac_func innocuous_$ac_func
91757
91758 /* System header to define __stub macros and hopefully few prototypes,
91759 which can conflict with char $ac_func (); below.
91760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91761 <limits.h> exists even on freestanding compilers. */
91762
91763 #ifdef __STDC__
91764 # include <limits.h>
91765 #else
91766 # include <assert.h>
91767 #endif
91768
91769 #undef $ac_func
91770
91771 /* Override any gcc2 internal prototype to avoid an error. */
91772 #ifdef __cplusplus
91773 extern "C"
91774 {
91775 #endif
91776 /* We use char because int might match the return type of a gcc2
91777 builtin and then its argument prototype would still apply. */
91778 char $ac_func ();
91779 /* The GNU C library defines this for functions which it implements
91780 to always fail with ENOSYS. Some functions are actually named
91781 something starting with __ and the normal name is an alias. */
91782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91783 choke me
91784 #else
91785 char (*f) () = $ac_func;
91786 #endif
91787 #ifdef __cplusplus
91788 }
91789 #endif
91790
91791 int
91792 main ()
91793 {
91794 return f != $ac_func;
91795 ;
91796 return 0;
91797 }
91798 _ACEOF
91799 rm -f conftest.$ac_objext conftest$ac_exeext
91800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91801 (eval $ac_link) 2>conftest.er1
91802 ac_status=$?
91803 grep -v '^ *+' conftest.er1 >conftest.err
91804 rm -f conftest.er1
91805 cat conftest.err >&5
91806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91807 (exit $ac_status); } &&
91808 { ac_try='test -z "$ac_c_werror_flag"
91809 || test ! -s conftest.err'
91810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91811 (eval $ac_try) 2>&5
91812 ac_status=$?
91813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91814 (exit $ac_status); }; } &&
91815 { ac_try='test -s conftest$ac_exeext'
91816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91817 (eval $ac_try) 2>&5
91818 ac_status=$?
91819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91820 (exit $ac_status); }; }; then
91821 eval "$as_ac_var=yes"
91822 else
91823 echo "$as_me: failed program was:" >&5
91824 sed 's/^/| /' conftest.$ac_ext >&5
91825
91826 eval "$as_ac_var=no"
91827 fi
91828 rm -f conftest.err conftest.$ac_objext \
91829 conftest$ac_exeext conftest.$ac_ext
91830 fi
91831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91833 if test `eval echo '${'$as_ac_var'}'` = yes; then
91834 cat >>confdefs.h <<_ACEOF
91835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91836 _ACEOF
91837
91838 fi
91839 done
91840
91841 fi
91842 fi
91843
91844
91845
91846
91847
91848
91849 echo "$as_me:$LINENO: checking for log10l declaration" >&5
91850 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
91851 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
91852 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
91853 echo $ECHO_N "(cached) $ECHO_C" >&6
91854 else
91855
91856
91857
91858 ac_ext=cc
91859 ac_cpp='$CXXCPP $CPPFLAGS'
91860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91863
91864 cat >conftest.$ac_ext <<_ACEOF
91865 /* confdefs.h. */
91866 _ACEOF
91867 cat confdefs.h >>conftest.$ac_ext
91868 cat >>conftest.$ac_ext <<_ACEOF
91869 /* end confdefs.h. */
91870 #include <math.h>
91871 #ifdef HAVE_IEEEFP_H
91872 #include <ieeefp.h>
91873 #endif
91874
91875 int
91876 main ()
91877 {
91878 log10l(0);
91879 ;
91880 return 0;
91881 }
91882 _ACEOF
91883 rm -f conftest.$ac_objext
91884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91885 (eval $ac_compile) 2>conftest.er1
91886 ac_status=$?
91887 grep -v '^ *+' conftest.er1 >conftest.err
91888 rm -f conftest.er1
91889 cat conftest.err >&5
91890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91891 (exit $ac_status); } &&
91892 { ac_try='test -z "$ac_cxx_werror_flag"
91893 || test ! -s conftest.err'
91894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91895 (eval $ac_try) 2>&5
91896 ac_status=$?
91897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91898 (exit $ac_status); }; } &&
91899 { ac_try='test -s conftest.$ac_objext'
91900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91901 (eval $ac_try) 2>&5
91902 ac_status=$?
91903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91904 (exit $ac_status); }; }; then
91905 glibcxx_cv_func_log10l_use=yes
91906 else
91907 echo "$as_me: failed program was:" >&5
91908 sed 's/^/| /' conftest.$ac_ext >&5
91909
91910 glibcxx_cv_func_log10l_use=no
91911 fi
91912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91913 ac_ext=c
91914 ac_cpp='$CPP $CPPFLAGS'
91915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91918
91919
91920 fi
91921
91922 fi
91923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
91924 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
91925
91926 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
91927
91928 for ac_func in log10l
91929 do
91930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91931 echo "$as_me:$LINENO: checking for $ac_func" >&5
91932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91933 if eval "test \"\${$as_ac_var+set}\" = set"; then
91934 echo $ECHO_N "(cached) $ECHO_C" >&6
91935 else
91936 if test x$gcc_no_link = xyes; then
91937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91939 { (exit 1); exit 1; }; }
91940 fi
91941 cat >conftest.$ac_ext <<_ACEOF
91942 /* confdefs.h. */
91943 _ACEOF
91944 cat confdefs.h >>conftest.$ac_ext
91945 cat >>conftest.$ac_ext <<_ACEOF
91946 /* end confdefs.h. */
91947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91949 #define $ac_func innocuous_$ac_func
91950
91951 /* System header to define __stub macros and hopefully few prototypes,
91952 which can conflict with char $ac_func (); below.
91953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91954 <limits.h> exists even on freestanding compilers. */
91955
91956 #ifdef __STDC__
91957 # include <limits.h>
91958 #else
91959 # include <assert.h>
91960 #endif
91961
91962 #undef $ac_func
91963
91964 /* Override any gcc2 internal prototype to avoid an error. */
91965 #ifdef __cplusplus
91966 extern "C"
91967 {
91968 #endif
91969 /* We use char because int might match the return type of a gcc2
91970 builtin and then its argument prototype would still apply. */
91971 char $ac_func ();
91972 /* The GNU C library defines this for functions which it implements
91973 to always fail with ENOSYS. Some functions are actually named
91974 something starting with __ and the normal name is an alias. */
91975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91976 choke me
91977 #else
91978 char (*f) () = $ac_func;
91979 #endif
91980 #ifdef __cplusplus
91981 }
91982 #endif
91983
91984 int
91985 main ()
91986 {
91987 return f != $ac_func;
91988 ;
91989 return 0;
91990 }
91991 _ACEOF
91992 rm -f conftest.$ac_objext conftest$ac_exeext
91993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91994 (eval $ac_link) 2>conftest.er1
91995 ac_status=$?
91996 grep -v '^ *+' conftest.er1 >conftest.err
91997 rm -f conftest.er1
91998 cat conftest.err >&5
91999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92000 (exit $ac_status); } &&
92001 { ac_try='test -z "$ac_c_werror_flag"
92002 || test ! -s conftest.err'
92003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92004 (eval $ac_try) 2>&5
92005 ac_status=$?
92006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92007 (exit $ac_status); }; } &&
92008 { ac_try='test -s conftest$ac_exeext'
92009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92010 (eval $ac_try) 2>&5
92011 ac_status=$?
92012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92013 (exit $ac_status); }; }; then
92014 eval "$as_ac_var=yes"
92015 else
92016 echo "$as_me: failed program was:" >&5
92017 sed 's/^/| /' conftest.$ac_ext >&5
92018
92019 eval "$as_ac_var=no"
92020 fi
92021 rm -f conftest.err conftest.$ac_objext \
92022 conftest$ac_exeext conftest.$ac_ext
92023 fi
92024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92026 if test `eval echo '${'$as_ac_var'}'` = yes; then
92027 cat >>confdefs.h <<_ACEOF
92028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92029 _ACEOF
92030
92031 fi
92032 done
92033
92034 else
92035
92036 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
92037 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
92038 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
92039 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
92040 echo $ECHO_N "(cached) $ECHO_C" >&6
92041 else
92042
92043
92044
92045 ac_ext=cc
92046 ac_cpp='$CXXCPP $CPPFLAGS'
92047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92050
92051 cat >conftest.$ac_ext <<_ACEOF
92052 /* confdefs.h. */
92053 _ACEOF
92054 cat confdefs.h >>conftest.$ac_ext
92055 cat >>conftest.$ac_ext <<_ACEOF
92056 /* end confdefs.h. */
92057 #include <math.h>
92058 #ifdef HAVE_IEEEFP_H
92059 #include <ieeefp.h>
92060 #endif
92061
92062 int
92063 main ()
92064 {
92065 _log10l(0);
92066 ;
92067 return 0;
92068 }
92069 _ACEOF
92070 rm -f conftest.$ac_objext
92071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92072 (eval $ac_compile) 2>conftest.er1
92073 ac_status=$?
92074 grep -v '^ *+' conftest.er1 >conftest.err
92075 rm -f conftest.er1
92076 cat conftest.err >&5
92077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92078 (exit $ac_status); } &&
92079 { ac_try='test -z "$ac_cxx_werror_flag"
92080 || test ! -s conftest.err'
92081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92082 (eval $ac_try) 2>&5
92083 ac_status=$?
92084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92085 (exit $ac_status); }; } &&
92086 { ac_try='test -s conftest.$ac_objext'
92087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92088 (eval $ac_try) 2>&5
92089 ac_status=$?
92090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92091 (exit $ac_status); }; }; then
92092 glibcxx_cv_func__log10l_use=yes
92093 else
92094 echo "$as_me: failed program was:" >&5
92095 sed 's/^/| /' conftest.$ac_ext >&5
92096
92097 glibcxx_cv_func__log10l_use=no
92098 fi
92099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92100 ac_ext=c
92101 ac_cpp='$CPP $CPPFLAGS'
92102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92105
92106
92107 fi
92108
92109 fi
92110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
92111 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
92112
92113 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
92114
92115 for ac_func in _log10l
92116 do
92117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92118 echo "$as_me:$LINENO: checking for $ac_func" >&5
92119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92120 if eval "test \"\${$as_ac_var+set}\" = set"; then
92121 echo $ECHO_N "(cached) $ECHO_C" >&6
92122 else
92123 if test x$gcc_no_link = xyes; then
92124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92126 { (exit 1); exit 1; }; }
92127 fi
92128 cat >conftest.$ac_ext <<_ACEOF
92129 /* confdefs.h. */
92130 _ACEOF
92131 cat confdefs.h >>conftest.$ac_ext
92132 cat >>conftest.$ac_ext <<_ACEOF
92133 /* end confdefs.h. */
92134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92136 #define $ac_func innocuous_$ac_func
92137
92138 /* System header to define __stub macros and hopefully few prototypes,
92139 which can conflict with char $ac_func (); below.
92140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92141 <limits.h> exists even on freestanding compilers. */
92142
92143 #ifdef __STDC__
92144 # include <limits.h>
92145 #else
92146 # include <assert.h>
92147 #endif
92148
92149 #undef $ac_func
92150
92151 /* Override any gcc2 internal prototype to avoid an error. */
92152 #ifdef __cplusplus
92153 extern "C"
92154 {
92155 #endif
92156 /* We use char because int might match the return type of a gcc2
92157 builtin and then its argument prototype would still apply. */
92158 char $ac_func ();
92159 /* The GNU C library defines this for functions which it implements
92160 to always fail with ENOSYS. Some functions are actually named
92161 something starting with __ and the normal name is an alias. */
92162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92163 choke me
92164 #else
92165 char (*f) () = $ac_func;
92166 #endif
92167 #ifdef __cplusplus
92168 }
92169 #endif
92170
92171 int
92172 main ()
92173 {
92174 return f != $ac_func;
92175 ;
92176 return 0;
92177 }
92178 _ACEOF
92179 rm -f conftest.$ac_objext conftest$ac_exeext
92180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92181 (eval $ac_link) 2>conftest.er1
92182 ac_status=$?
92183 grep -v '^ *+' conftest.er1 >conftest.err
92184 rm -f conftest.er1
92185 cat conftest.err >&5
92186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92187 (exit $ac_status); } &&
92188 { ac_try='test -z "$ac_c_werror_flag"
92189 || test ! -s conftest.err'
92190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92191 (eval $ac_try) 2>&5
92192 ac_status=$?
92193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92194 (exit $ac_status); }; } &&
92195 { ac_try='test -s conftest$ac_exeext'
92196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92197 (eval $ac_try) 2>&5
92198 ac_status=$?
92199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92200 (exit $ac_status); }; }; then
92201 eval "$as_ac_var=yes"
92202 else
92203 echo "$as_me: failed program was:" >&5
92204 sed 's/^/| /' conftest.$ac_ext >&5
92205
92206 eval "$as_ac_var=no"
92207 fi
92208 rm -f conftest.err conftest.$ac_objext \
92209 conftest$ac_exeext conftest.$ac_ext
92210 fi
92211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92213 if test `eval echo '${'$as_ac_var'}'` = yes; then
92214 cat >>confdefs.h <<_ACEOF
92215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92216 _ACEOF
92217
92218 fi
92219 done
92220
92221 fi
92222 fi
92223
92224
92225
92226
92227
92228
92229 echo "$as_me:$LINENO: checking for modfl declaration" >&5
92230 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
92231 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
92232 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
92233 echo $ECHO_N "(cached) $ECHO_C" >&6
92234 else
92235
92236
92237
92238 ac_ext=cc
92239 ac_cpp='$CXXCPP $CPPFLAGS'
92240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92243
92244 cat >conftest.$ac_ext <<_ACEOF
92245 /* confdefs.h. */
92246 _ACEOF
92247 cat confdefs.h >>conftest.$ac_ext
92248 cat >>conftest.$ac_ext <<_ACEOF
92249 /* end confdefs.h. */
92250 #include <math.h>
92251 int
92252 main ()
92253 {
92254 modfl(0, 0);
92255 ;
92256 return 0;
92257 }
92258 _ACEOF
92259 rm -f conftest.$ac_objext
92260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92261 (eval $ac_compile) 2>conftest.er1
92262 ac_status=$?
92263 grep -v '^ *+' conftest.er1 >conftest.err
92264 rm -f conftest.er1
92265 cat conftest.err >&5
92266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92267 (exit $ac_status); } &&
92268 { ac_try='test -z "$ac_cxx_werror_flag"
92269 || test ! -s conftest.err'
92270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92271 (eval $ac_try) 2>&5
92272 ac_status=$?
92273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92274 (exit $ac_status); }; } &&
92275 { ac_try='test -s conftest.$ac_objext'
92276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92277 (eval $ac_try) 2>&5
92278 ac_status=$?
92279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92280 (exit $ac_status); }; }; then
92281 glibcxx_cv_func_modfl_use=yes
92282 else
92283 echo "$as_me: failed program was:" >&5
92284 sed 's/^/| /' conftest.$ac_ext >&5
92285
92286 glibcxx_cv_func_modfl_use=no
92287 fi
92288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92289 ac_ext=c
92290 ac_cpp='$CPP $CPPFLAGS'
92291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92294
92295
92296 fi
92297
92298 fi
92299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
92300 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
92301
92302 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
92303
92304 for ac_func in modfl
92305 do
92306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92307 echo "$as_me:$LINENO: checking for $ac_func" >&5
92308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92309 if eval "test \"\${$as_ac_var+set}\" = set"; then
92310 echo $ECHO_N "(cached) $ECHO_C" >&6
92311 else
92312 if test x$gcc_no_link = xyes; then
92313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92315 { (exit 1); exit 1; }; }
92316 fi
92317 cat >conftest.$ac_ext <<_ACEOF
92318 /* confdefs.h. */
92319 _ACEOF
92320 cat confdefs.h >>conftest.$ac_ext
92321 cat >>conftest.$ac_ext <<_ACEOF
92322 /* end confdefs.h. */
92323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92325 #define $ac_func innocuous_$ac_func
92326
92327 /* System header to define __stub macros and hopefully few prototypes,
92328 which can conflict with char $ac_func (); below.
92329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92330 <limits.h> exists even on freestanding compilers. */
92331
92332 #ifdef __STDC__
92333 # include <limits.h>
92334 #else
92335 # include <assert.h>
92336 #endif
92337
92338 #undef $ac_func
92339
92340 /* Override any gcc2 internal prototype to avoid an error. */
92341 #ifdef __cplusplus
92342 extern "C"
92343 {
92344 #endif
92345 /* We use char because int might match the return type of a gcc2
92346 builtin and then its argument prototype would still apply. */
92347 char $ac_func ();
92348 /* The GNU C library defines this for functions which it implements
92349 to always fail with ENOSYS. Some functions are actually named
92350 something starting with __ and the normal name is an alias. */
92351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92352 choke me
92353 #else
92354 char (*f) () = $ac_func;
92355 #endif
92356 #ifdef __cplusplus
92357 }
92358 #endif
92359
92360 int
92361 main ()
92362 {
92363 return f != $ac_func;
92364 ;
92365 return 0;
92366 }
92367 _ACEOF
92368 rm -f conftest.$ac_objext conftest$ac_exeext
92369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92370 (eval $ac_link) 2>conftest.er1
92371 ac_status=$?
92372 grep -v '^ *+' conftest.er1 >conftest.err
92373 rm -f conftest.er1
92374 cat conftest.err >&5
92375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92376 (exit $ac_status); } &&
92377 { ac_try='test -z "$ac_c_werror_flag"
92378 || test ! -s conftest.err'
92379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92380 (eval $ac_try) 2>&5
92381 ac_status=$?
92382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92383 (exit $ac_status); }; } &&
92384 { ac_try='test -s conftest$ac_exeext'
92385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92386 (eval $ac_try) 2>&5
92387 ac_status=$?
92388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92389 (exit $ac_status); }; }; then
92390 eval "$as_ac_var=yes"
92391 else
92392 echo "$as_me: failed program was:" >&5
92393 sed 's/^/| /' conftest.$ac_ext >&5
92394
92395 eval "$as_ac_var=no"
92396 fi
92397 rm -f conftest.err conftest.$ac_objext \
92398 conftest$ac_exeext conftest.$ac_ext
92399 fi
92400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92402 if test `eval echo '${'$as_ac_var'}'` = yes; then
92403 cat >>confdefs.h <<_ACEOF
92404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92405 _ACEOF
92406
92407 fi
92408 done
92409
92410 else
92411
92412 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
92413 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
92414 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
92415 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
92416 echo $ECHO_N "(cached) $ECHO_C" >&6
92417 else
92418
92419
92420
92421 ac_ext=cc
92422 ac_cpp='$CXXCPP $CPPFLAGS'
92423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92426
92427 cat >conftest.$ac_ext <<_ACEOF
92428 /* confdefs.h. */
92429 _ACEOF
92430 cat confdefs.h >>conftest.$ac_ext
92431 cat >>conftest.$ac_ext <<_ACEOF
92432 /* end confdefs.h. */
92433 #include <math.h>
92434 int
92435 main ()
92436 {
92437 _modfl(0, 0);
92438 ;
92439 return 0;
92440 }
92441 _ACEOF
92442 rm -f conftest.$ac_objext
92443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92444 (eval $ac_compile) 2>conftest.er1
92445 ac_status=$?
92446 grep -v '^ *+' conftest.er1 >conftest.err
92447 rm -f conftest.er1
92448 cat conftest.err >&5
92449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92450 (exit $ac_status); } &&
92451 { ac_try='test -z "$ac_cxx_werror_flag"
92452 || test ! -s conftest.err'
92453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92454 (eval $ac_try) 2>&5
92455 ac_status=$?
92456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92457 (exit $ac_status); }; } &&
92458 { ac_try='test -s conftest.$ac_objext'
92459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92460 (eval $ac_try) 2>&5
92461 ac_status=$?
92462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92463 (exit $ac_status); }; }; then
92464 glibcxx_cv_func__modfl_use=yes
92465 else
92466 echo "$as_me: failed program was:" >&5
92467 sed 's/^/| /' conftest.$ac_ext >&5
92468
92469 glibcxx_cv_func__modfl_use=no
92470 fi
92471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92472 ac_ext=c
92473 ac_cpp='$CPP $CPPFLAGS'
92474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92477
92478
92479 fi
92480
92481 fi
92482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
92483 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
92484
92485 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
92486
92487 for ac_func in _modfl
92488 do
92489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92490 echo "$as_me:$LINENO: checking for $ac_func" >&5
92491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92492 if eval "test \"\${$as_ac_var+set}\" = set"; then
92493 echo $ECHO_N "(cached) $ECHO_C" >&6
92494 else
92495 if test x$gcc_no_link = xyes; then
92496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92498 { (exit 1); exit 1; }; }
92499 fi
92500 cat >conftest.$ac_ext <<_ACEOF
92501 /* confdefs.h. */
92502 _ACEOF
92503 cat confdefs.h >>conftest.$ac_ext
92504 cat >>conftest.$ac_ext <<_ACEOF
92505 /* end confdefs.h. */
92506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92508 #define $ac_func innocuous_$ac_func
92509
92510 /* System header to define __stub macros and hopefully few prototypes,
92511 which can conflict with char $ac_func (); below.
92512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92513 <limits.h> exists even on freestanding compilers. */
92514
92515 #ifdef __STDC__
92516 # include <limits.h>
92517 #else
92518 # include <assert.h>
92519 #endif
92520
92521 #undef $ac_func
92522
92523 /* Override any gcc2 internal prototype to avoid an error. */
92524 #ifdef __cplusplus
92525 extern "C"
92526 {
92527 #endif
92528 /* We use char because int might match the return type of a gcc2
92529 builtin and then its argument prototype would still apply. */
92530 char $ac_func ();
92531 /* The GNU C library defines this for functions which it implements
92532 to always fail with ENOSYS. Some functions are actually named
92533 something starting with __ and the normal name is an alias. */
92534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92535 choke me
92536 #else
92537 char (*f) () = $ac_func;
92538 #endif
92539 #ifdef __cplusplus
92540 }
92541 #endif
92542
92543 int
92544 main ()
92545 {
92546 return f != $ac_func;
92547 ;
92548 return 0;
92549 }
92550 _ACEOF
92551 rm -f conftest.$ac_objext conftest$ac_exeext
92552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92553 (eval $ac_link) 2>conftest.er1
92554 ac_status=$?
92555 grep -v '^ *+' conftest.er1 >conftest.err
92556 rm -f conftest.er1
92557 cat conftest.err >&5
92558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92559 (exit $ac_status); } &&
92560 { ac_try='test -z "$ac_c_werror_flag"
92561 || test ! -s conftest.err'
92562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92563 (eval $ac_try) 2>&5
92564 ac_status=$?
92565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92566 (exit $ac_status); }; } &&
92567 { ac_try='test -s conftest$ac_exeext'
92568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92569 (eval $ac_try) 2>&5
92570 ac_status=$?
92571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92572 (exit $ac_status); }; }; then
92573 eval "$as_ac_var=yes"
92574 else
92575 echo "$as_me: failed program was:" >&5
92576 sed 's/^/| /' conftest.$ac_ext >&5
92577
92578 eval "$as_ac_var=no"
92579 fi
92580 rm -f conftest.err conftest.$ac_objext \
92581 conftest$ac_exeext conftest.$ac_ext
92582 fi
92583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92585 if test `eval echo '${'$as_ac_var'}'` = yes; then
92586 cat >>confdefs.h <<_ACEOF
92587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92588 _ACEOF
92589
92590 fi
92591 done
92592
92593 fi
92594 fi
92595
92596
92597
92598
92599
92600
92601 echo "$as_me:$LINENO: checking for powl declaration" >&5
92602 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
92603 if test x${glibcxx_cv_func_powl_use+set} != xset; then
92604 if test "${glibcxx_cv_func_powl_use+set}" = set; then
92605 echo $ECHO_N "(cached) $ECHO_C" >&6
92606 else
92607
92608
92609
92610 ac_ext=cc
92611 ac_cpp='$CXXCPP $CPPFLAGS'
92612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92615
92616 cat >conftest.$ac_ext <<_ACEOF
92617 /* confdefs.h. */
92618 _ACEOF
92619 cat confdefs.h >>conftest.$ac_ext
92620 cat >>conftest.$ac_ext <<_ACEOF
92621 /* end confdefs.h. */
92622 #include <math.h>
92623 int
92624 main ()
92625 {
92626 powl(0, 0);
92627 ;
92628 return 0;
92629 }
92630 _ACEOF
92631 rm -f conftest.$ac_objext
92632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92633 (eval $ac_compile) 2>conftest.er1
92634 ac_status=$?
92635 grep -v '^ *+' conftest.er1 >conftest.err
92636 rm -f conftest.er1
92637 cat conftest.err >&5
92638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92639 (exit $ac_status); } &&
92640 { ac_try='test -z "$ac_cxx_werror_flag"
92641 || test ! -s conftest.err'
92642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92643 (eval $ac_try) 2>&5
92644 ac_status=$?
92645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92646 (exit $ac_status); }; } &&
92647 { ac_try='test -s conftest.$ac_objext'
92648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92649 (eval $ac_try) 2>&5
92650 ac_status=$?
92651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92652 (exit $ac_status); }; }; then
92653 glibcxx_cv_func_powl_use=yes
92654 else
92655 echo "$as_me: failed program was:" >&5
92656 sed 's/^/| /' conftest.$ac_ext >&5
92657
92658 glibcxx_cv_func_powl_use=no
92659 fi
92660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92661 ac_ext=c
92662 ac_cpp='$CPP $CPPFLAGS'
92663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92666
92667
92668 fi
92669
92670 fi
92671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
92672 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
92673
92674 if test x$glibcxx_cv_func_powl_use = x"yes"; then
92675
92676 for ac_func in powl
92677 do
92678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92679 echo "$as_me:$LINENO: checking for $ac_func" >&5
92680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92681 if eval "test \"\${$as_ac_var+set}\" = set"; then
92682 echo $ECHO_N "(cached) $ECHO_C" >&6
92683 else
92684 if test x$gcc_no_link = xyes; then
92685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92687 { (exit 1); exit 1; }; }
92688 fi
92689 cat >conftest.$ac_ext <<_ACEOF
92690 /* confdefs.h. */
92691 _ACEOF
92692 cat confdefs.h >>conftest.$ac_ext
92693 cat >>conftest.$ac_ext <<_ACEOF
92694 /* end confdefs.h. */
92695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92697 #define $ac_func innocuous_$ac_func
92698
92699 /* System header to define __stub macros and hopefully few prototypes,
92700 which can conflict with char $ac_func (); below.
92701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92702 <limits.h> exists even on freestanding compilers. */
92703
92704 #ifdef __STDC__
92705 # include <limits.h>
92706 #else
92707 # include <assert.h>
92708 #endif
92709
92710 #undef $ac_func
92711
92712 /* Override any gcc2 internal prototype to avoid an error. */
92713 #ifdef __cplusplus
92714 extern "C"
92715 {
92716 #endif
92717 /* We use char because int might match the return type of a gcc2
92718 builtin and then its argument prototype would still apply. */
92719 char $ac_func ();
92720 /* The GNU C library defines this for functions which it implements
92721 to always fail with ENOSYS. Some functions are actually named
92722 something starting with __ and the normal name is an alias. */
92723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92724 choke me
92725 #else
92726 char (*f) () = $ac_func;
92727 #endif
92728 #ifdef __cplusplus
92729 }
92730 #endif
92731
92732 int
92733 main ()
92734 {
92735 return f != $ac_func;
92736 ;
92737 return 0;
92738 }
92739 _ACEOF
92740 rm -f conftest.$ac_objext conftest$ac_exeext
92741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92742 (eval $ac_link) 2>conftest.er1
92743 ac_status=$?
92744 grep -v '^ *+' conftest.er1 >conftest.err
92745 rm -f conftest.er1
92746 cat conftest.err >&5
92747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92748 (exit $ac_status); } &&
92749 { ac_try='test -z "$ac_c_werror_flag"
92750 || test ! -s conftest.err'
92751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92752 (eval $ac_try) 2>&5
92753 ac_status=$?
92754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92755 (exit $ac_status); }; } &&
92756 { ac_try='test -s conftest$ac_exeext'
92757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92758 (eval $ac_try) 2>&5
92759 ac_status=$?
92760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92761 (exit $ac_status); }; }; then
92762 eval "$as_ac_var=yes"
92763 else
92764 echo "$as_me: failed program was:" >&5
92765 sed 's/^/| /' conftest.$ac_ext >&5
92766
92767 eval "$as_ac_var=no"
92768 fi
92769 rm -f conftest.err conftest.$ac_objext \
92770 conftest$ac_exeext conftest.$ac_ext
92771 fi
92772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92774 if test `eval echo '${'$as_ac_var'}'` = yes; then
92775 cat >>confdefs.h <<_ACEOF
92776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92777 _ACEOF
92778
92779 fi
92780 done
92781
92782 else
92783
92784 echo "$as_me:$LINENO: checking for _powl declaration" >&5
92785 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
92786 if test x${glibcxx_cv_func__powl_use+set} != xset; then
92787 if test "${glibcxx_cv_func__powl_use+set}" = set; then
92788 echo $ECHO_N "(cached) $ECHO_C" >&6
92789 else
92790
92791
92792
92793 ac_ext=cc
92794 ac_cpp='$CXXCPP $CPPFLAGS'
92795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92798
92799 cat >conftest.$ac_ext <<_ACEOF
92800 /* confdefs.h. */
92801 _ACEOF
92802 cat confdefs.h >>conftest.$ac_ext
92803 cat >>conftest.$ac_ext <<_ACEOF
92804 /* end confdefs.h. */
92805 #include <math.h>
92806 int
92807 main ()
92808 {
92809 _powl(0, 0);
92810 ;
92811 return 0;
92812 }
92813 _ACEOF
92814 rm -f conftest.$ac_objext
92815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92816 (eval $ac_compile) 2>conftest.er1
92817 ac_status=$?
92818 grep -v '^ *+' conftest.er1 >conftest.err
92819 rm -f conftest.er1
92820 cat conftest.err >&5
92821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92822 (exit $ac_status); } &&
92823 { ac_try='test -z "$ac_cxx_werror_flag"
92824 || test ! -s conftest.err'
92825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92826 (eval $ac_try) 2>&5
92827 ac_status=$?
92828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92829 (exit $ac_status); }; } &&
92830 { ac_try='test -s conftest.$ac_objext'
92831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92832 (eval $ac_try) 2>&5
92833 ac_status=$?
92834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92835 (exit $ac_status); }; }; then
92836 glibcxx_cv_func__powl_use=yes
92837 else
92838 echo "$as_me: failed program was:" >&5
92839 sed 's/^/| /' conftest.$ac_ext >&5
92840
92841 glibcxx_cv_func__powl_use=no
92842 fi
92843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92844 ac_ext=c
92845 ac_cpp='$CPP $CPPFLAGS'
92846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92849
92850
92851 fi
92852
92853 fi
92854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
92855 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
92856
92857 if test x$glibcxx_cv_func__powl_use = x"yes"; then
92858
92859 for ac_func in _powl
92860 do
92861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92862 echo "$as_me:$LINENO: checking for $ac_func" >&5
92863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92864 if eval "test \"\${$as_ac_var+set}\" = set"; then
92865 echo $ECHO_N "(cached) $ECHO_C" >&6
92866 else
92867 if test x$gcc_no_link = xyes; then
92868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92870 { (exit 1); exit 1; }; }
92871 fi
92872 cat >conftest.$ac_ext <<_ACEOF
92873 /* confdefs.h. */
92874 _ACEOF
92875 cat confdefs.h >>conftest.$ac_ext
92876 cat >>conftest.$ac_ext <<_ACEOF
92877 /* end confdefs.h. */
92878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92880 #define $ac_func innocuous_$ac_func
92881
92882 /* System header to define __stub macros and hopefully few prototypes,
92883 which can conflict with char $ac_func (); below.
92884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92885 <limits.h> exists even on freestanding compilers. */
92886
92887 #ifdef __STDC__
92888 # include <limits.h>
92889 #else
92890 # include <assert.h>
92891 #endif
92892
92893 #undef $ac_func
92894
92895 /* Override any gcc2 internal prototype to avoid an error. */
92896 #ifdef __cplusplus
92897 extern "C"
92898 {
92899 #endif
92900 /* We use char because int might match the return type of a gcc2
92901 builtin and then its argument prototype would still apply. */
92902 char $ac_func ();
92903 /* The GNU C library defines this for functions which it implements
92904 to always fail with ENOSYS. Some functions are actually named
92905 something starting with __ and the normal name is an alias. */
92906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92907 choke me
92908 #else
92909 char (*f) () = $ac_func;
92910 #endif
92911 #ifdef __cplusplus
92912 }
92913 #endif
92914
92915 int
92916 main ()
92917 {
92918 return f != $ac_func;
92919 ;
92920 return 0;
92921 }
92922 _ACEOF
92923 rm -f conftest.$ac_objext conftest$ac_exeext
92924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92925 (eval $ac_link) 2>conftest.er1
92926 ac_status=$?
92927 grep -v '^ *+' conftest.er1 >conftest.err
92928 rm -f conftest.er1
92929 cat conftest.err >&5
92930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92931 (exit $ac_status); } &&
92932 { ac_try='test -z "$ac_c_werror_flag"
92933 || test ! -s conftest.err'
92934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92935 (eval $ac_try) 2>&5
92936 ac_status=$?
92937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92938 (exit $ac_status); }; } &&
92939 { ac_try='test -s conftest$ac_exeext'
92940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92941 (eval $ac_try) 2>&5
92942 ac_status=$?
92943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92944 (exit $ac_status); }; }; then
92945 eval "$as_ac_var=yes"
92946 else
92947 echo "$as_me: failed program was:" >&5
92948 sed 's/^/| /' conftest.$ac_ext >&5
92949
92950 eval "$as_ac_var=no"
92951 fi
92952 rm -f conftest.err conftest.$ac_objext \
92953 conftest$ac_exeext conftest.$ac_ext
92954 fi
92955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92957 if test `eval echo '${'$as_ac_var'}'` = yes; then
92958 cat >>confdefs.h <<_ACEOF
92959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92960 _ACEOF
92961
92962 fi
92963 done
92964
92965 fi
92966 fi
92967
92968
92969
92970
92971
92972
92973 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
92974 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
92975 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
92976 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
92977 echo $ECHO_N "(cached) $ECHO_C" >&6
92978 else
92979
92980
92981
92982 ac_ext=cc
92983 ac_cpp='$CXXCPP $CPPFLAGS'
92984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92987
92988 cat >conftest.$ac_ext <<_ACEOF
92989 /* confdefs.h. */
92990 _ACEOF
92991 cat confdefs.h >>conftest.$ac_ext
92992 cat >>conftest.$ac_ext <<_ACEOF
92993 /* end confdefs.h. */
92994 #include <math.h>
92995 #ifdef HAVE_IEEEFP_H
92996 #include <ieeefp.h>
92997 #endif
92998
92999 int
93000 main ()
93001 {
93002 sqrtl(0);
93003 ;
93004 return 0;
93005 }
93006 _ACEOF
93007 rm -f conftest.$ac_objext
93008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93009 (eval $ac_compile) 2>conftest.er1
93010 ac_status=$?
93011 grep -v '^ *+' conftest.er1 >conftest.err
93012 rm -f conftest.er1
93013 cat conftest.err >&5
93014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93015 (exit $ac_status); } &&
93016 { ac_try='test -z "$ac_cxx_werror_flag"
93017 || test ! -s conftest.err'
93018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93019 (eval $ac_try) 2>&5
93020 ac_status=$?
93021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93022 (exit $ac_status); }; } &&
93023 { ac_try='test -s conftest.$ac_objext'
93024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93025 (eval $ac_try) 2>&5
93026 ac_status=$?
93027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93028 (exit $ac_status); }; }; then
93029 glibcxx_cv_func_sqrtl_use=yes
93030 else
93031 echo "$as_me: failed program was:" >&5
93032 sed 's/^/| /' conftest.$ac_ext >&5
93033
93034 glibcxx_cv_func_sqrtl_use=no
93035 fi
93036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93037 ac_ext=c
93038 ac_cpp='$CPP $CPPFLAGS'
93039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93042
93043
93044 fi
93045
93046 fi
93047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
93048 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
93049
93050 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
93051
93052 for ac_func in sqrtl
93053 do
93054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93055 echo "$as_me:$LINENO: checking for $ac_func" >&5
93056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93057 if eval "test \"\${$as_ac_var+set}\" = set"; then
93058 echo $ECHO_N "(cached) $ECHO_C" >&6
93059 else
93060 if test x$gcc_no_link = xyes; then
93061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93063 { (exit 1); exit 1; }; }
93064 fi
93065 cat >conftest.$ac_ext <<_ACEOF
93066 /* confdefs.h. */
93067 _ACEOF
93068 cat confdefs.h >>conftest.$ac_ext
93069 cat >>conftest.$ac_ext <<_ACEOF
93070 /* end confdefs.h. */
93071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93073 #define $ac_func innocuous_$ac_func
93074
93075 /* System header to define __stub macros and hopefully few prototypes,
93076 which can conflict with char $ac_func (); below.
93077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93078 <limits.h> exists even on freestanding compilers. */
93079
93080 #ifdef __STDC__
93081 # include <limits.h>
93082 #else
93083 # include <assert.h>
93084 #endif
93085
93086 #undef $ac_func
93087
93088 /* Override any gcc2 internal prototype to avoid an error. */
93089 #ifdef __cplusplus
93090 extern "C"
93091 {
93092 #endif
93093 /* We use char because int might match the return type of a gcc2
93094 builtin and then its argument prototype would still apply. */
93095 char $ac_func ();
93096 /* The GNU C library defines this for functions which it implements
93097 to always fail with ENOSYS. Some functions are actually named
93098 something starting with __ and the normal name is an alias. */
93099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93100 choke me
93101 #else
93102 char (*f) () = $ac_func;
93103 #endif
93104 #ifdef __cplusplus
93105 }
93106 #endif
93107
93108 int
93109 main ()
93110 {
93111 return f != $ac_func;
93112 ;
93113 return 0;
93114 }
93115 _ACEOF
93116 rm -f conftest.$ac_objext conftest$ac_exeext
93117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93118 (eval $ac_link) 2>conftest.er1
93119 ac_status=$?
93120 grep -v '^ *+' conftest.er1 >conftest.err
93121 rm -f conftest.er1
93122 cat conftest.err >&5
93123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93124 (exit $ac_status); } &&
93125 { ac_try='test -z "$ac_c_werror_flag"
93126 || test ! -s conftest.err'
93127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93128 (eval $ac_try) 2>&5
93129 ac_status=$?
93130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93131 (exit $ac_status); }; } &&
93132 { ac_try='test -s conftest$ac_exeext'
93133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93134 (eval $ac_try) 2>&5
93135 ac_status=$?
93136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93137 (exit $ac_status); }; }; then
93138 eval "$as_ac_var=yes"
93139 else
93140 echo "$as_me: failed program was:" >&5
93141 sed 's/^/| /' conftest.$ac_ext >&5
93142
93143 eval "$as_ac_var=no"
93144 fi
93145 rm -f conftest.err conftest.$ac_objext \
93146 conftest$ac_exeext conftest.$ac_ext
93147 fi
93148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93150 if test `eval echo '${'$as_ac_var'}'` = yes; then
93151 cat >>confdefs.h <<_ACEOF
93152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93153 _ACEOF
93154
93155 fi
93156 done
93157
93158 else
93159
93160 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
93161 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
93162 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
93163 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
93164 echo $ECHO_N "(cached) $ECHO_C" >&6
93165 else
93166
93167
93168
93169 ac_ext=cc
93170 ac_cpp='$CXXCPP $CPPFLAGS'
93171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93174
93175 cat >conftest.$ac_ext <<_ACEOF
93176 /* confdefs.h. */
93177 _ACEOF
93178 cat confdefs.h >>conftest.$ac_ext
93179 cat >>conftest.$ac_ext <<_ACEOF
93180 /* end confdefs.h. */
93181 #include <math.h>
93182 #ifdef HAVE_IEEEFP_H
93183 #include <ieeefp.h>
93184 #endif
93185
93186 int
93187 main ()
93188 {
93189 _sqrtl(0);
93190 ;
93191 return 0;
93192 }
93193 _ACEOF
93194 rm -f conftest.$ac_objext
93195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93196 (eval $ac_compile) 2>conftest.er1
93197 ac_status=$?
93198 grep -v '^ *+' conftest.er1 >conftest.err
93199 rm -f conftest.er1
93200 cat conftest.err >&5
93201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93202 (exit $ac_status); } &&
93203 { ac_try='test -z "$ac_cxx_werror_flag"
93204 || test ! -s conftest.err'
93205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93206 (eval $ac_try) 2>&5
93207 ac_status=$?
93208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93209 (exit $ac_status); }; } &&
93210 { ac_try='test -s conftest.$ac_objext'
93211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93212 (eval $ac_try) 2>&5
93213 ac_status=$?
93214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93215 (exit $ac_status); }; }; then
93216 glibcxx_cv_func__sqrtl_use=yes
93217 else
93218 echo "$as_me: failed program was:" >&5
93219 sed 's/^/| /' conftest.$ac_ext >&5
93220
93221 glibcxx_cv_func__sqrtl_use=no
93222 fi
93223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93224 ac_ext=c
93225 ac_cpp='$CPP $CPPFLAGS'
93226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93229
93230
93231 fi
93232
93233 fi
93234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
93235 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
93236
93237 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
93238
93239 for ac_func in _sqrtl
93240 do
93241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93242 echo "$as_me:$LINENO: checking for $ac_func" >&5
93243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93244 if eval "test \"\${$as_ac_var+set}\" = set"; then
93245 echo $ECHO_N "(cached) $ECHO_C" >&6
93246 else
93247 if test x$gcc_no_link = xyes; then
93248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93250 { (exit 1); exit 1; }; }
93251 fi
93252 cat >conftest.$ac_ext <<_ACEOF
93253 /* confdefs.h. */
93254 _ACEOF
93255 cat confdefs.h >>conftest.$ac_ext
93256 cat >>conftest.$ac_ext <<_ACEOF
93257 /* end confdefs.h. */
93258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93260 #define $ac_func innocuous_$ac_func
93261
93262 /* System header to define __stub macros and hopefully few prototypes,
93263 which can conflict with char $ac_func (); below.
93264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93265 <limits.h> exists even on freestanding compilers. */
93266
93267 #ifdef __STDC__
93268 # include <limits.h>
93269 #else
93270 # include <assert.h>
93271 #endif
93272
93273 #undef $ac_func
93274
93275 /* Override any gcc2 internal prototype to avoid an error. */
93276 #ifdef __cplusplus
93277 extern "C"
93278 {
93279 #endif
93280 /* We use char because int might match the return type of a gcc2
93281 builtin and then its argument prototype would still apply. */
93282 char $ac_func ();
93283 /* The GNU C library defines this for functions which it implements
93284 to always fail with ENOSYS. Some functions are actually named
93285 something starting with __ and the normal name is an alias. */
93286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93287 choke me
93288 #else
93289 char (*f) () = $ac_func;
93290 #endif
93291 #ifdef __cplusplus
93292 }
93293 #endif
93294
93295 int
93296 main ()
93297 {
93298 return f != $ac_func;
93299 ;
93300 return 0;
93301 }
93302 _ACEOF
93303 rm -f conftest.$ac_objext conftest$ac_exeext
93304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93305 (eval $ac_link) 2>conftest.er1
93306 ac_status=$?
93307 grep -v '^ *+' conftest.er1 >conftest.err
93308 rm -f conftest.er1
93309 cat conftest.err >&5
93310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93311 (exit $ac_status); } &&
93312 { ac_try='test -z "$ac_c_werror_flag"
93313 || test ! -s conftest.err'
93314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93315 (eval $ac_try) 2>&5
93316 ac_status=$?
93317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93318 (exit $ac_status); }; } &&
93319 { ac_try='test -s conftest$ac_exeext'
93320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93321 (eval $ac_try) 2>&5
93322 ac_status=$?
93323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93324 (exit $ac_status); }; }; then
93325 eval "$as_ac_var=yes"
93326 else
93327 echo "$as_me: failed program was:" >&5
93328 sed 's/^/| /' conftest.$ac_ext >&5
93329
93330 eval "$as_ac_var=no"
93331 fi
93332 rm -f conftest.err conftest.$ac_objext \
93333 conftest$ac_exeext conftest.$ac_ext
93334 fi
93335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93337 if test `eval echo '${'$as_ac_var'}'` = yes; then
93338 cat >>confdefs.h <<_ACEOF
93339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93340 _ACEOF
93341
93342 fi
93343 done
93344
93345 fi
93346 fi
93347
93348
93349
93350
93351
93352
93353 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
93354 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
93355 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
93356 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
93357 echo $ECHO_N "(cached) $ECHO_C" >&6
93358 else
93359
93360
93361
93362 ac_ext=cc
93363 ac_cpp='$CXXCPP $CPPFLAGS'
93364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93367
93368 cat >conftest.$ac_ext <<_ACEOF
93369 /* confdefs.h. */
93370 _ACEOF
93371 cat confdefs.h >>conftest.$ac_ext
93372 cat >>conftest.$ac_ext <<_ACEOF
93373 /* end confdefs.h. */
93374 #include <math.h>
93375 int
93376 main ()
93377 {
93378 sincosl(0, 0, 0);
93379 ;
93380 return 0;
93381 }
93382 _ACEOF
93383 rm -f conftest.$ac_objext
93384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93385 (eval $ac_compile) 2>conftest.er1
93386 ac_status=$?
93387 grep -v '^ *+' conftest.er1 >conftest.err
93388 rm -f conftest.er1
93389 cat conftest.err >&5
93390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93391 (exit $ac_status); } &&
93392 { ac_try='test -z "$ac_cxx_werror_flag"
93393 || test ! -s conftest.err'
93394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93395 (eval $ac_try) 2>&5
93396 ac_status=$?
93397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93398 (exit $ac_status); }; } &&
93399 { ac_try='test -s conftest.$ac_objext'
93400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93401 (eval $ac_try) 2>&5
93402 ac_status=$?
93403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93404 (exit $ac_status); }; }; then
93405 glibcxx_cv_func_sincosl_use=yes
93406 else
93407 echo "$as_me: failed program was:" >&5
93408 sed 's/^/| /' conftest.$ac_ext >&5
93409
93410 glibcxx_cv_func_sincosl_use=no
93411 fi
93412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93413 ac_ext=c
93414 ac_cpp='$CPP $CPPFLAGS'
93415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93418
93419
93420 fi
93421
93422 fi
93423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
93424 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
93425
93426 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
93427
93428 for ac_func in sincosl
93429 do
93430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93431 echo "$as_me:$LINENO: checking for $ac_func" >&5
93432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93433 if eval "test \"\${$as_ac_var+set}\" = set"; then
93434 echo $ECHO_N "(cached) $ECHO_C" >&6
93435 else
93436 if test x$gcc_no_link = xyes; then
93437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93439 { (exit 1); exit 1; }; }
93440 fi
93441 cat >conftest.$ac_ext <<_ACEOF
93442 /* confdefs.h. */
93443 _ACEOF
93444 cat confdefs.h >>conftest.$ac_ext
93445 cat >>conftest.$ac_ext <<_ACEOF
93446 /* end confdefs.h. */
93447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93449 #define $ac_func innocuous_$ac_func
93450
93451 /* System header to define __stub macros and hopefully few prototypes,
93452 which can conflict with char $ac_func (); below.
93453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93454 <limits.h> exists even on freestanding compilers. */
93455
93456 #ifdef __STDC__
93457 # include <limits.h>
93458 #else
93459 # include <assert.h>
93460 #endif
93461
93462 #undef $ac_func
93463
93464 /* Override any gcc2 internal prototype to avoid an error. */
93465 #ifdef __cplusplus
93466 extern "C"
93467 {
93468 #endif
93469 /* We use char because int might match the return type of a gcc2
93470 builtin and then its argument prototype would still apply. */
93471 char $ac_func ();
93472 /* The GNU C library defines this for functions which it implements
93473 to always fail with ENOSYS. Some functions are actually named
93474 something starting with __ and the normal name is an alias. */
93475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93476 choke me
93477 #else
93478 char (*f) () = $ac_func;
93479 #endif
93480 #ifdef __cplusplus
93481 }
93482 #endif
93483
93484 int
93485 main ()
93486 {
93487 return f != $ac_func;
93488 ;
93489 return 0;
93490 }
93491 _ACEOF
93492 rm -f conftest.$ac_objext conftest$ac_exeext
93493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93494 (eval $ac_link) 2>conftest.er1
93495 ac_status=$?
93496 grep -v '^ *+' conftest.er1 >conftest.err
93497 rm -f conftest.er1
93498 cat conftest.err >&5
93499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93500 (exit $ac_status); } &&
93501 { ac_try='test -z "$ac_c_werror_flag"
93502 || test ! -s conftest.err'
93503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93504 (eval $ac_try) 2>&5
93505 ac_status=$?
93506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93507 (exit $ac_status); }; } &&
93508 { ac_try='test -s conftest$ac_exeext'
93509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93510 (eval $ac_try) 2>&5
93511 ac_status=$?
93512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93513 (exit $ac_status); }; }; then
93514 eval "$as_ac_var=yes"
93515 else
93516 echo "$as_me: failed program was:" >&5
93517 sed 's/^/| /' conftest.$ac_ext >&5
93518
93519 eval "$as_ac_var=no"
93520 fi
93521 rm -f conftest.err conftest.$ac_objext \
93522 conftest$ac_exeext conftest.$ac_ext
93523 fi
93524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93526 if test `eval echo '${'$as_ac_var'}'` = yes; then
93527 cat >>confdefs.h <<_ACEOF
93528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93529 _ACEOF
93530
93531 fi
93532 done
93533
93534 else
93535
93536 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
93537 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
93538 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
93539 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
93540 echo $ECHO_N "(cached) $ECHO_C" >&6
93541 else
93542
93543
93544
93545 ac_ext=cc
93546 ac_cpp='$CXXCPP $CPPFLAGS'
93547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93550
93551 cat >conftest.$ac_ext <<_ACEOF
93552 /* confdefs.h. */
93553 _ACEOF
93554 cat confdefs.h >>conftest.$ac_ext
93555 cat >>conftest.$ac_ext <<_ACEOF
93556 /* end confdefs.h. */
93557 #include <math.h>
93558 int
93559 main ()
93560 {
93561 _sincosl(0, 0, 0);
93562 ;
93563 return 0;
93564 }
93565 _ACEOF
93566 rm -f conftest.$ac_objext
93567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93568 (eval $ac_compile) 2>conftest.er1
93569 ac_status=$?
93570 grep -v '^ *+' conftest.er1 >conftest.err
93571 rm -f conftest.er1
93572 cat conftest.err >&5
93573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93574 (exit $ac_status); } &&
93575 { ac_try='test -z "$ac_cxx_werror_flag"
93576 || test ! -s conftest.err'
93577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93578 (eval $ac_try) 2>&5
93579 ac_status=$?
93580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93581 (exit $ac_status); }; } &&
93582 { ac_try='test -s conftest.$ac_objext'
93583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93584 (eval $ac_try) 2>&5
93585 ac_status=$?
93586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93587 (exit $ac_status); }; }; then
93588 glibcxx_cv_func__sincosl_use=yes
93589 else
93590 echo "$as_me: failed program was:" >&5
93591 sed 's/^/| /' conftest.$ac_ext >&5
93592
93593 glibcxx_cv_func__sincosl_use=no
93594 fi
93595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93596 ac_ext=c
93597 ac_cpp='$CPP $CPPFLAGS'
93598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93601
93602
93603 fi
93604
93605 fi
93606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
93607 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
93608
93609 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
93610
93611 for ac_func in _sincosl
93612 do
93613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93614 echo "$as_me:$LINENO: checking for $ac_func" >&5
93615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93616 if eval "test \"\${$as_ac_var+set}\" = set"; then
93617 echo $ECHO_N "(cached) $ECHO_C" >&6
93618 else
93619 if test x$gcc_no_link = xyes; then
93620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93622 { (exit 1); exit 1; }; }
93623 fi
93624 cat >conftest.$ac_ext <<_ACEOF
93625 /* confdefs.h. */
93626 _ACEOF
93627 cat confdefs.h >>conftest.$ac_ext
93628 cat >>conftest.$ac_ext <<_ACEOF
93629 /* end confdefs.h. */
93630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93632 #define $ac_func innocuous_$ac_func
93633
93634 /* System header to define __stub macros and hopefully few prototypes,
93635 which can conflict with char $ac_func (); below.
93636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93637 <limits.h> exists even on freestanding compilers. */
93638
93639 #ifdef __STDC__
93640 # include <limits.h>
93641 #else
93642 # include <assert.h>
93643 #endif
93644
93645 #undef $ac_func
93646
93647 /* Override any gcc2 internal prototype to avoid an error. */
93648 #ifdef __cplusplus
93649 extern "C"
93650 {
93651 #endif
93652 /* We use char because int might match the return type of a gcc2
93653 builtin and then its argument prototype would still apply. */
93654 char $ac_func ();
93655 /* The GNU C library defines this for functions which it implements
93656 to always fail with ENOSYS. Some functions are actually named
93657 something starting with __ and the normal name is an alias. */
93658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93659 choke me
93660 #else
93661 char (*f) () = $ac_func;
93662 #endif
93663 #ifdef __cplusplus
93664 }
93665 #endif
93666
93667 int
93668 main ()
93669 {
93670 return f != $ac_func;
93671 ;
93672 return 0;
93673 }
93674 _ACEOF
93675 rm -f conftest.$ac_objext conftest$ac_exeext
93676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93677 (eval $ac_link) 2>conftest.er1
93678 ac_status=$?
93679 grep -v '^ *+' conftest.er1 >conftest.err
93680 rm -f conftest.er1
93681 cat conftest.err >&5
93682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93683 (exit $ac_status); } &&
93684 { ac_try='test -z "$ac_c_werror_flag"
93685 || test ! -s conftest.err'
93686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93687 (eval $ac_try) 2>&5
93688 ac_status=$?
93689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93690 (exit $ac_status); }; } &&
93691 { ac_try='test -s conftest$ac_exeext'
93692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93693 (eval $ac_try) 2>&5
93694 ac_status=$?
93695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93696 (exit $ac_status); }; }; then
93697 eval "$as_ac_var=yes"
93698 else
93699 echo "$as_me: failed program was:" >&5
93700 sed 's/^/| /' conftest.$ac_ext >&5
93701
93702 eval "$as_ac_var=no"
93703 fi
93704 rm -f conftest.err conftest.$ac_objext \
93705 conftest$ac_exeext conftest.$ac_ext
93706 fi
93707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93709 if test `eval echo '${'$as_ac_var'}'` = yes; then
93710 cat >>confdefs.h <<_ACEOF
93711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93712 _ACEOF
93713
93714 fi
93715 done
93716
93717 fi
93718 fi
93719
93720
93721
93722
93723
93724
93725 echo "$as_me:$LINENO: checking for finitel declaration" >&5
93726 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
93727 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
93728 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
93729 echo $ECHO_N "(cached) $ECHO_C" >&6
93730 else
93731
93732
93733
93734 ac_ext=cc
93735 ac_cpp='$CXXCPP $CPPFLAGS'
93736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93739
93740 cat >conftest.$ac_ext <<_ACEOF
93741 /* confdefs.h. */
93742 _ACEOF
93743 cat confdefs.h >>conftest.$ac_ext
93744 cat >>conftest.$ac_ext <<_ACEOF
93745 /* end confdefs.h. */
93746 #include <math.h>
93747 #ifdef HAVE_IEEEFP_H
93748 #include <ieeefp.h>
93749 #endif
93750
93751 int
93752 main ()
93753 {
93754 finitel(0);
93755 ;
93756 return 0;
93757 }
93758 _ACEOF
93759 rm -f conftest.$ac_objext
93760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93761 (eval $ac_compile) 2>conftest.er1
93762 ac_status=$?
93763 grep -v '^ *+' conftest.er1 >conftest.err
93764 rm -f conftest.er1
93765 cat conftest.err >&5
93766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93767 (exit $ac_status); } &&
93768 { ac_try='test -z "$ac_cxx_werror_flag"
93769 || test ! -s conftest.err'
93770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93771 (eval $ac_try) 2>&5
93772 ac_status=$?
93773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93774 (exit $ac_status); }; } &&
93775 { ac_try='test -s conftest.$ac_objext'
93776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93777 (eval $ac_try) 2>&5
93778 ac_status=$?
93779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93780 (exit $ac_status); }; }; then
93781 glibcxx_cv_func_finitel_use=yes
93782 else
93783 echo "$as_me: failed program was:" >&5
93784 sed 's/^/| /' conftest.$ac_ext >&5
93785
93786 glibcxx_cv_func_finitel_use=no
93787 fi
93788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93789 ac_ext=c
93790 ac_cpp='$CPP $CPPFLAGS'
93791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93794
93795
93796 fi
93797
93798 fi
93799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
93800 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
93801
93802 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
93803
93804 for ac_func in finitel
93805 do
93806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93807 echo "$as_me:$LINENO: checking for $ac_func" >&5
93808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93809 if eval "test \"\${$as_ac_var+set}\" = set"; then
93810 echo $ECHO_N "(cached) $ECHO_C" >&6
93811 else
93812 if test x$gcc_no_link = xyes; then
93813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93815 { (exit 1); exit 1; }; }
93816 fi
93817 cat >conftest.$ac_ext <<_ACEOF
93818 /* confdefs.h. */
93819 _ACEOF
93820 cat confdefs.h >>conftest.$ac_ext
93821 cat >>conftest.$ac_ext <<_ACEOF
93822 /* end confdefs.h. */
93823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93825 #define $ac_func innocuous_$ac_func
93826
93827 /* System header to define __stub macros and hopefully few prototypes,
93828 which can conflict with char $ac_func (); below.
93829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93830 <limits.h> exists even on freestanding compilers. */
93831
93832 #ifdef __STDC__
93833 # include <limits.h>
93834 #else
93835 # include <assert.h>
93836 #endif
93837
93838 #undef $ac_func
93839
93840 /* Override any gcc2 internal prototype to avoid an error. */
93841 #ifdef __cplusplus
93842 extern "C"
93843 {
93844 #endif
93845 /* We use char because int might match the return type of a gcc2
93846 builtin and then its argument prototype would still apply. */
93847 char $ac_func ();
93848 /* The GNU C library defines this for functions which it implements
93849 to always fail with ENOSYS. Some functions are actually named
93850 something starting with __ and the normal name is an alias. */
93851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93852 choke me
93853 #else
93854 char (*f) () = $ac_func;
93855 #endif
93856 #ifdef __cplusplus
93857 }
93858 #endif
93859
93860 int
93861 main ()
93862 {
93863 return f != $ac_func;
93864 ;
93865 return 0;
93866 }
93867 _ACEOF
93868 rm -f conftest.$ac_objext conftest$ac_exeext
93869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93870 (eval $ac_link) 2>conftest.er1
93871 ac_status=$?
93872 grep -v '^ *+' conftest.er1 >conftest.err
93873 rm -f conftest.er1
93874 cat conftest.err >&5
93875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93876 (exit $ac_status); } &&
93877 { ac_try='test -z "$ac_c_werror_flag"
93878 || test ! -s conftest.err'
93879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93880 (eval $ac_try) 2>&5
93881 ac_status=$?
93882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93883 (exit $ac_status); }; } &&
93884 { ac_try='test -s conftest$ac_exeext'
93885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93886 (eval $ac_try) 2>&5
93887 ac_status=$?
93888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93889 (exit $ac_status); }; }; then
93890 eval "$as_ac_var=yes"
93891 else
93892 echo "$as_me: failed program was:" >&5
93893 sed 's/^/| /' conftest.$ac_ext >&5
93894
93895 eval "$as_ac_var=no"
93896 fi
93897 rm -f conftest.err conftest.$ac_objext \
93898 conftest$ac_exeext conftest.$ac_ext
93899 fi
93900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93902 if test `eval echo '${'$as_ac_var'}'` = yes; then
93903 cat >>confdefs.h <<_ACEOF
93904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93905 _ACEOF
93906
93907 fi
93908 done
93909
93910 else
93911
93912 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
93913 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
93914 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
93915 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
93916 echo $ECHO_N "(cached) $ECHO_C" >&6
93917 else
93918
93919
93920
93921 ac_ext=cc
93922 ac_cpp='$CXXCPP $CPPFLAGS'
93923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93926
93927 cat >conftest.$ac_ext <<_ACEOF
93928 /* confdefs.h. */
93929 _ACEOF
93930 cat confdefs.h >>conftest.$ac_ext
93931 cat >>conftest.$ac_ext <<_ACEOF
93932 /* end confdefs.h. */
93933 #include <math.h>
93934 #ifdef HAVE_IEEEFP_H
93935 #include <ieeefp.h>
93936 #endif
93937
93938 int
93939 main ()
93940 {
93941 _finitel(0);
93942 ;
93943 return 0;
93944 }
93945 _ACEOF
93946 rm -f conftest.$ac_objext
93947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93948 (eval $ac_compile) 2>conftest.er1
93949 ac_status=$?
93950 grep -v '^ *+' conftest.er1 >conftest.err
93951 rm -f conftest.er1
93952 cat conftest.err >&5
93953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93954 (exit $ac_status); } &&
93955 { ac_try='test -z "$ac_cxx_werror_flag"
93956 || test ! -s conftest.err'
93957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93958 (eval $ac_try) 2>&5
93959 ac_status=$?
93960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93961 (exit $ac_status); }; } &&
93962 { ac_try='test -s conftest.$ac_objext'
93963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93964 (eval $ac_try) 2>&5
93965 ac_status=$?
93966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93967 (exit $ac_status); }; }; then
93968 glibcxx_cv_func__finitel_use=yes
93969 else
93970 echo "$as_me: failed program was:" >&5
93971 sed 's/^/| /' conftest.$ac_ext >&5
93972
93973 glibcxx_cv_func__finitel_use=no
93974 fi
93975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93976 ac_ext=c
93977 ac_cpp='$CPP $CPPFLAGS'
93978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93981
93982
93983 fi
93984
93985 fi
93986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
93987 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
93988
93989 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
93990
93991 for ac_func in _finitel
93992 do
93993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93994 echo "$as_me:$LINENO: checking for $ac_func" >&5
93995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93996 if eval "test \"\${$as_ac_var+set}\" = set"; then
93997 echo $ECHO_N "(cached) $ECHO_C" >&6
93998 else
93999 if test x$gcc_no_link = xyes; then
94000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94002 { (exit 1); exit 1; }; }
94003 fi
94004 cat >conftest.$ac_ext <<_ACEOF
94005 /* confdefs.h. */
94006 _ACEOF
94007 cat confdefs.h >>conftest.$ac_ext
94008 cat >>conftest.$ac_ext <<_ACEOF
94009 /* end confdefs.h. */
94010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94012 #define $ac_func innocuous_$ac_func
94013
94014 /* System header to define __stub macros and hopefully few prototypes,
94015 which can conflict with char $ac_func (); below.
94016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94017 <limits.h> exists even on freestanding compilers. */
94018
94019 #ifdef __STDC__
94020 # include <limits.h>
94021 #else
94022 # include <assert.h>
94023 #endif
94024
94025 #undef $ac_func
94026
94027 /* Override any gcc2 internal prototype to avoid an error. */
94028 #ifdef __cplusplus
94029 extern "C"
94030 {
94031 #endif
94032 /* We use char because int might match the return type of a gcc2
94033 builtin and then its argument prototype would still apply. */
94034 char $ac_func ();
94035 /* The GNU C library defines this for functions which it implements
94036 to always fail with ENOSYS. Some functions are actually named
94037 something starting with __ and the normal name is an alias. */
94038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94039 choke me
94040 #else
94041 char (*f) () = $ac_func;
94042 #endif
94043 #ifdef __cplusplus
94044 }
94045 #endif
94046
94047 int
94048 main ()
94049 {
94050 return f != $ac_func;
94051 ;
94052 return 0;
94053 }
94054 _ACEOF
94055 rm -f conftest.$ac_objext conftest$ac_exeext
94056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94057 (eval $ac_link) 2>conftest.er1
94058 ac_status=$?
94059 grep -v '^ *+' conftest.er1 >conftest.err
94060 rm -f conftest.er1
94061 cat conftest.err >&5
94062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94063 (exit $ac_status); } &&
94064 { ac_try='test -z "$ac_c_werror_flag"
94065 || test ! -s conftest.err'
94066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94067 (eval $ac_try) 2>&5
94068 ac_status=$?
94069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94070 (exit $ac_status); }; } &&
94071 { ac_try='test -s conftest$ac_exeext'
94072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94073 (eval $ac_try) 2>&5
94074 ac_status=$?
94075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94076 (exit $ac_status); }; }; then
94077 eval "$as_ac_var=yes"
94078 else
94079 echo "$as_me: failed program was:" >&5
94080 sed 's/^/| /' conftest.$ac_ext >&5
94081
94082 eval "$as_ac_var=no"
94083 fi
94084 rm -f conftest.err conftest.$ac_objext \
94085 conftest$ac_exeext conftest.$ac_ext
94086 fi
94087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94089 if test `eval echo '${'$as_ac_var'}'` = yes; then
94090 cat >>confdefs.h <<_ACEOF
94091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94092 _ACEOF
94093
94094 fi
94095 done
94096
94097 fi
94098 fi
94099
94100
94101
94102
94103
94104 LIBS="$ac_save_LIBS"
94105 CXXFLAGS="$ac_save_CXXFLAGS"
94106
94107
94108 ac_test_CXXFLAGS="${CXXFLAGS+set}"
94109 ac_save_CXXFLAGS="$CXXFLAGS"
94110 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
94111
94112
94113 echo "$as_me:$LINENO: checking for strtold declaration" >&5
94114 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
94115 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
94116 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
94117 echo $ECHO_N "(cached) $ECHO_C" >&6
94118 else
94119
94120
94121
94122 ac_ext=cc
94123 ac_cpp='$CXXCPP $CPPFLAGS'
94124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94127
94128 cat >conftest.$ac_ext <<_ACEOF
94129 /* confdefs.h. */
94130 _ACEOF
94131 cat confdefs.h >>conftest.$ac_ext
94132 cat >>conftest.$ac_ext <<_ACEOF
94133 /* end confdefs.h. */
94134 #include <stdlib.h>
94135 int
94136 main ()
94137 {
94138 strtold(0, 0);
94139 ;
94140 return 0;
94141 }
94142 _ACEOF
94143 rm -f conftest.$ac_objext
94144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94145 (eval $ac_compile) 2>conftest.er1
94146 ac_status=$?
94147 grep -v '^ *+' conftest.er1 >conftest.err
94148 rm -f conftest.er1
94149 cat conftest.err >&5
94150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94151 (exit $ac_status); } &&
94152 { ac_try='test -z "$ac_cxx_werror_flag"
94153 || test ! -s conftest.err'
94154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94155 (eval $ac_try) 2>&5
94156 ac_status=$?
94157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94158 (exit $ac_status); }; } &&
94159 { ac_try='test -s conftest.$ac_objext'
94160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94161 (eval $ac_try) 2>&5
94162 ac_status=$?
94163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94164 (exit $ac_status); }; }; then
94165 glibcxx_cv_func_strtold_use=yes
94166 else
94167 echo "$as_me: failed program was:" >&5
94168 sed 's/^/| /' conftest.$ac_ext >&5
94169
94170 glibcxx_cv_func_strtold_use=no
94171 fi
94172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94173 ac_ext=c
94174 ac_cpp='$CPP $CPPFLAGS'
94175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94178
94179
94180 fi
94181
94182 fi
94183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
94184 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
94185 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
94186
94187 for ac_func in strtold
94188 do
94189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94190 echo "$as_me:$LINENO: checking for $ac_func" >&5
94191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94192 if eval "test \"\${$as_ac_var+set}\" = set"; then
94193 echo $ECHO_N "(cached) $ECHO_C" >&6
94194 else
94195 if test x$gcc_no_link = xyes; then
94196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94198 { (exit 1); exit 1; }; }
94199 fi
94200 cat >conftest.$ac_ext <<_ACEOF
94201 /* confdefs.h. */
94202 _ACEOF
94203 cat confdefs.h >>conftest.$ac_ext
94204 cat >>conftest.$ac_ext <<_ACEOF
94205 /* end confdefs.h. */
94206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94208 #define $ac_func innocuous_$ac_func
94209
94210 /* System header to define __stub macros and hopefully few prototypes,
94211 which can conflict with char $ac_func (); below.
94212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94213 <limits.h> exists even on freestanding compilers. */
94214
94215 #ifdef __STDC__
94216 # include <limits.h>
94217 #else
94218 # include <assert.h>
94219 #endif
94220
94221 #undef $ac_func
94222
94223 /* Override any gcc2 internal prototype to avoid an error. */
94224 #ifdef __cplusplus
94225 extern "C"
94226 {
94227 #endif
94228 /* We use char because int might match the return type of a gcc2
94229 builtin and then its argument prototype would still apply. */
94230 char $ac_func ();
94231 /* The GNU C library defines this for functions which it implements
94232 to always fail with ENOSYS. Some functions are actually named
94233 something starting with __ and the normal name is an alias. */
94234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94235 choke me
94236 #else
94237 char (*f) () = $ac_func;
94238 #endif
94239 #ifdef __cplusplus
94240 }
94241 #endif
94242
94243 int
94244 main ()
94245 {
94246 return f != $ac_func;
94247 ;
94248 return 0;
94249 }
94250 _ACEOF
94251 rm -f conftest.$ac_objext conftest$ac_exeext
94252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94253 (eval $ac_link) 2>conftest.er1
94254 ac_status=$?
94255 grep -v '^ *+' conftest.er1 >conftest.err
94256 rm -f conftest.er1
94257 cat conftest.err >&5
94258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94259 (exit $ac_status); } &&
94260 { ac_try='test -z "$ac_c_werror_flag"
94261 || test ! -s conftest.err'
94262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94263 (eval $ac_try) 2>&5
94264 ac_status=$?
94265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94266 (exit $ac_status); }; } &&
94267 { ac_try='test -s conftest$ac_exeext'
94268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94269 (eval $ac_try) 2>&5
94270 ac_status=$?
94271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94272 (exit $ac_status); }; }; then
94273 eval "$as_ac_var=yes"
94274 else
94275 echo "$as_me: failed program was:" >&5
94276 sed 's/^/| /' conftest.$ac_ext >&5
94277
94278 eval "$as_ac_var=no"
94279 fi
94280 rm -f conftest.err conftest.$ac_objext \
94281 conftest$ac_exeext conftest.$ac_ext
94282 fi
94283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94285 if test `eval echo '${'$as_ac_var'}'` = yes; then
94286 cat >>confdefs.h <<_ACEOF
94287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94288 _ACEOF
94289
94290 fi
94291 done
94292
94293 fi
94294
94295
94296
94297
94298
94299 echo "$as_me:$LINENO: checking for strtof declaration" >&5
94300 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
94301 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
94302 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
94303 echo $ECHO_N "(cached) $ECHO_C" >&6
94304 else
94305
94306
94307
94308 ac_ext=cc
94309 ac_cpp='$CXXCPP $CPPFLAGS'
94310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94313
94314 cat >conftest.$ac_ext <<_ACEOF
94315 /* confdefs.h. */
94316 _ACEOF
94317 cat confdefs.h >>conftest.$ac_ext
94318 cat >>conftest.$ac_ext <<_ACEOF
94319 /* end confdefs.h. */
94320 #include <stdlib.h>
94321 int
94322 main ()
94323 {
94324 strtof(0, 0);
94325 ;
94326 return 0;
94327 }
94328 _ACEOF
94329 rm -f conftest.$ac_objext
94330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94331 (eval $ac_compile) 2>conftest.er1
94332 ac_status=$?
94333 grep -v '^ *+' conftest.er1 >conftest.err
94334 rm -f conftest.er1
94335 cat conftest.err >&5
94336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94337 (exit $ac_status); } &&
94338 { ac_try='test -z "$ac_cxx_werror_flag"
94339 || test ! -s conftest.err'
94340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94341 (eval $ac_try) 2>&5
94342 ac_status=$?
94343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94344 (exit $ac_status); }; } &&
94345 { ac_try='test -s conftest.$ac_objext'
94346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94347 (eval $ac_try) 2>&5
94348 ac_status=$?
94349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94350 (exit $ac_status); }; }; then
94351 glibcxx_cv_func_strtof_use=yes
94352 else
94353 echo "$as_me: failed program was:" >&5
94354 sed 's/^/| /' conftest.$ac_ext >&5
94355
94356 glibcxx_cv_func_strtof_use=no
94357 fi
94358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94359 ac_ext=c
94360 ac_cpp='$CPP $CPPFLAGS'
94361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94364
94365
94366 fi
94367
94368 fi
94369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
94370 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
94371 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
94372
94373 for ac_func in strtof
94374 do
94375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94376 echo "$as_me:$LINENO: checking for $ac_func" >&5
94377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94378 if eval "test \"\${$as_ac_var+set}\" = set"; then
94379 echo $ECHO_N "(cached) $ECHO_C" >&6
94380 else
94381 if test x$gcc_no_link = xyes; then
94382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94384 { (exit 1); exit 1; }; }
94385 fi
94386 cat >conftest.$ac_ext <<_ACEOF
94387 /* confdefs.h. */
94388 _ACEOF
94389 cat confdefs.h >>conftest.$ac_ext
94390 cat >>conftest.$ac_ext <<_ACEOF
94391 /* end confdefs.h. */
94392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94394 #define $ac_func innocuous_$ac_func
94395
94396 /* System header to define __stub macros and hopefully few prototypes,
94397 which can conflict with char $ac_func (); below.
94398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94399 <limits.h> exists even on freestanding compilers. */
94400
94401 #ifdef __STDC__
94402 # include <limits.h>
94403 #else
94404 # include <assert.h>
94405 #endif
94406
94407 #undef $ac_func
94408
94409 /* Override any gcc2 internal prototype to avoid an error. */
94410 #ifdef __cplusplus
94411 extern "C"
94412 {
94413 #endif
94414 /* We use char because int might match the return type of a gcc2
94415 builtin and then its argument prototype would still apply. */
94416 char $ac_func ();
94417 /* The GNU C library defines this for functions which it implements
94418 to always fail with ENOSYS. Some functions are actually named
94419 something starting with __ and the normal name is an alias. */
94420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94421 choke me
94422 #else
94423 char (*f) () = $ac_func;
94424 #endif
94425 #ifdef __cplusplus
94426 }
94427 #endif
94428
94429 int
94430 main ()
94431 {
94432 return f != $ac_func;
94433 ;
94434 return 0;
94435 }
94436 _ACEOF
94437 rm -f conftest.$ac_objext conftest$ac_exeext
94438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94439 (eval $ac_link) 2>conftest.er1
94440 ac_status=$?
94441 grep -v '^ *+' conftest.er1 >conftest.err
94442 rm -f conftest.er1
94443 cat conftest.err >&5
94444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94445 (exit $ac_status); } &&
94446 { ac_try='test -z "$ac_c_werror_flag"
94447 || test ! -s conftest.err'
94448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94449 (eval $ac_try) 2>&5
94450 ac_status=$?
94451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94452 (exit $ac_status); }; } &&
94453 { ac_try='test -s conftest$ac_exeext'
94454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94455 (eval $ac_try) 2>&5
94456 ac_status=$?
94457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94458 (exit $ac_status); }; }; then
94459 eval "$as_ac_var=yes"
94460 else
94461 echo "$as_me: failed program was:" >&5
94462 sed 's/^/| /' conftest.$ac_ext >&5
94463
94464 eval "$as_ac_var=no"
94465 fi
94466 rm -f conftest.err conftest.$ac_objext \
94467 conftest$ac_exeext conftest.$ac_ext
94468 fi
94469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94471 if test `eval echo '${'$as_ac_var'}'` = yes; then
94472 cat >>confdefs.h <<_ACEOF
94473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94474 _ACEOF
94475
94476 fi
94477 done
94478
94479 fi
94480
94481
94482
94483
94484
94485 CXXFLAGS="$ac_save_CXXFLAGS"
94486
94487 cat >>confdefs.h <<\_ACEOF
94488 #define _GLIBCXX_USE_RANDOM_TR1 1
94489 _ACEOF
94490
94491
94492 # Check whether --enable-tls or --disable-tls was given.
94493 if test "${enable_tls+set}" = set; then
94494 enableval="$enable_tls"
94495
94496 case "$enableval" in
94497 yes|no) ;;
94498 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
94499 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
94500 { (exit 1); exit 1; }; } ;;
94501 esac
94502
94503 else
94504 enable_tls=yes
94505 fi;
94506
94507 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
94508 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
94509 if test "${gcc_cv_have_tls+set}" = set; then
94510 echo $ECHO_N "(cached) $ECHO_C" >&6
94511 else
94512
94513 if test "$cross_compiling" = yes; then
94514 if test x$gcc_no_link = xyes; then
94515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94517 { (exit 1); exit 1; }; }
94518 fi
94519 cat >conftest.$ac_ext <<_ACEOF
94520 __thread int a; int b; int main() { return a = b; }
94521 _ACEOF
94522 rm -f conftest.$ac_objext conftest$ac_exeext
94523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94524 (eval $ac_link) 2>conftest.er1
94525 ac_status=$?
94526 grep -v '^ *+' conftest.er1 >conftest.err
94527 rm -f conftest.er1
94528 cat conftest.err >&5
94529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94530 (exit $ac_status); } &&
94531 { ac_try='test -z "$ac_c_werror_flag"
94532 || test ! -s conftest.err'
94533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94534 (eval $ac_try) 2>&5
94535 ac_status=$?
94536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94537 (exit $ac_status); }; } &&
94538 { ac_try='test -s conftest$ac_exeext'
94539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94540 (eval $ac_try) 2>&5
94541 ac_status=$?
94542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94543 (exit $ac_status); }; }; then
94544 gcc_cv_have_tls=yes
94545 else
94546 echo "$as_me: failed program was:" >&5
94547 sed 's/^/| /' conftest.$ac_ext >&5
94548
94549 gcc_cv_have_tls=no
94550 fi
94551 rm -f conftest.err conftest.$ac_objext \
94552 conftest$ac_exeext conftest.$ac_ext
94553
94554
94555 else
94556 cat >conftest.$ac_ext <<_ACEOF
94557 __thread int a; int b; int main() { return a = b; }
94558 _ACEOF
94559 rm -f conftest$ac_exeext
94560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94561 (eval $ac_link) 2>&5
94562 ac_status=$?
94563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94566 (eval $ac_try) 2>&5
94567 ac_status=$?
94568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94569 (exit $ac_status); }; }; then
94570 chktls_save_LDFLAGS="$LDFLAGS"
94571 LDFLAGS="-static $LDFLAGS"
94572 if test x$gcc_no_link = xyes; then
94573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94575 { (exit 1); exit 1; }; }
94576 fi
94577 cat >conftest.$ac_ext <<_ACEOF
94578 int main() { return 0; }
94579 _ACEOF
94580 rm -f conftest.$ac_objext conftest$ac_exeext
94581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94582 (eval $ac_link) 2>conftest.er1
94583 ac_status=$?
94584 grep -v '^ *+' conftest.er1 >conftest.err
94585 rm -f conftest.er1
94586 cat conftest.err >&5
94587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94588 (exit $ac_status); } &&
94589 { ac_try='test -z "$ac_c_werror_flag"
94590 || test ! -s conftest.err'
94591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94592 (eval $ac_try) 2>&5
94593 ac_status=$?
94594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94595 (exit $ac_status); }; } &&
94596 { ac_try='test -s conftest$ac_exeext'
94597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94598 (eval $ac_try) 2>&5
94599 ac_status=$?
94600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94601 (exit $ac_status); }; }; then
94602 if test "$cross_compiling" = yes; then
94603 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94604 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94605 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94606 See \`config.log' for more details." >&5
94607 echo "$as_me: error: cannot run test program while cross compiling
94608 See \`config.log' for more details." >&2;}
94609 { (exit 1); exit 1; }; }; }
94610 else
94611 cat >conftest.$ac_ext <<_ACEOF
94612 __thread int a; int b; int main() { return a = b; }
94613 _ACEOF
94614 rm -f conftest$ac_exeext
94615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94616 (eval $ac_link) 2>&5
94617 ac_status=$?
94618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94621 (eval $ac_try) 2>&5
94622 ac_status=$?
94623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94624 (exit $ac_status); }; }; then
94625 gcc_cv_have_tls=yes
94626 else
94627 echo "$as_me: program exited with status $ac_status" >&5
94628 echo "$as_me: failed program was:" >&5
94629 sed 's/^/| /' conftest.$ac_ext >&5
94630
94631 ( exit $ac_status )
94632 gcc_cv_have_tls=no
94633 fi
94634 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94635 fi
94636 else
94637 echo "$as_me: failed program was:" >&5
94638 sed 's/^/| /' conftest.$ac_ext >&5
94639
94640 gcc_cv_have_tls=yes
94641 fi
94642 rm -f conftest.err conftest.$ac_objext \
94643 conftest$ac_exeext conftest.$ac_ext
94644 LDFLAGS="$chktls_save_LDFLAGS"
94645 if test $gcc_cv_have_tls = yes; then
94646 chktls_save_CFLAGS="$CFLAGS"
94647 thread_CFLAGS=failed
94648 for flag in '' '-pthread' '-lpthread'; do
94649 CFLAGS="$flag $chktls_save_CFLAGS"
94650 if test x$gcc_no_link = xyes; then
94651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94653 { (exit 1); exit 1; }; }
94654 fi
94655 cat >conftest.$ac_ext <<_ACEOF
94656 /* confdefs.h. */
94657 _ACEOF
94658 cat confdefs.h >>conftest.$ac_ext
94659 cat >>conftest.$ac_ext <<_ACEOF
94660 /* end confdefs.h. */
94661 #include <pthread.h>
94662 void *g(void *d) { return NULL; }
94663 int
94664 main ()
94665 {
94666 pthread_t t; pthread_create(&t,NULL,g,NULL);
94667 ;
94668 return 0;
94669 }
94670 _ACEOF
94671 rm -f conftest.$ac_objext conftest$ac_exeext
94672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94673 (eval $ac_link) 2>conftest.er1
94674 ac_status=$?
94675 grep -v '^ *+' conftest.er1 >conftest.err
94676 rm -f conftest.er1
94677 cat conftest.err >&5
94678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94679 (exit $ac_status); } &&
94680 { ac_try='test -z "$ac_c_werror_flag"
94681 || test ! -s conftest.err'
94682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94683 (eval $ac_try) 2>&5
94684 ac_status=$?
94685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94686 (exit $ac_status); }; } &&
94687 { ac_try='test -s conftest$ac_exeext'
94688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94689 (eval $ac_try) 2>&5
94690 ac_status=$?
94691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94692 (exit $ac_status); }; }; then
94693 thread_CFLAGS="$flag"
94694 else
94695 echo "$as_me: failed program was:" >&5
94696 sed 's/^/| /' conftest.$ac_ext >&5
94697
94698 fi
94699 rm -f conftest.err conftest.$ac_objext \
94700 conftest$ac_exeext conftest.$ac_ext
94701 if test "X$thread_CFLAGS" != Xfailed; then
94702 break
94703 fi
94704 done
94705 CFLAGS="$chktls_save_CFLAGS"
94706 if test "X$thread_CFLAGS" != Xfailed; then
94707 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
94708 if test "$cross_compiling" = yes; then
94709 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94710 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94711 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94712 See \`config.log' for more details." >&5
94713 echo "$as_me: error: cannot run test program while cross compiling
94714 See \`config.log' for more details." >&2;}
94715 { (exit 1); exit 1; }; }; }
94716 else
94717 cat >conftest.$ac_ext <<_ACEOF
94718 /* confdefs.h. */
94719 _ACEOF
94720 cat confdefs.h >>conftest.$ac_ext
94721 cat >>conftest.$ac_ext <<_ACEOF
94722 /* end confdefs.h. */
94723 #include <pthread.h>
94724 __thread int a;
94725 static int *a_in_other_thread;
94726 static void *
94727 thread_func (void *arg)
94728 {
94729 a_in_other_thread = &a;
94730 return (void *)0;
94731 }
94732 int
94733 main ()
94734 {
94735 pthread_t thread;
94736 void *thread_retval;
94737 int *a_in_main_thread;
94738 if (pthread_create (&thread, (pthread_attr_t *)0,
94739 thread_func, (void *)0))
94740 return 0;
94741 a_in_main_thread = &a;
94742 if (pthread_join (thread, &thread_retval))
94743 return 0;
94744 return (a_in_other_thread == a_in_main_thread);
94745 ;
94746 return 0;
94747 }
94748 _ACEOF
94749 rm -f conftest$ac_exeext
94750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94751 (eval $ac_link) 2>&5
94752 ac_status=$?
94753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94756 (eval $ac_try) 2>&5
94757 ac_status=$?
94758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94759 (exit $ac_status); }; }; then
94760 gcc_cv_have_tls=yes
94761 else
94762 echo "$as_me: program exited with status $ac_status" >&5
94763 echo "$as_me: failed program was:" >&5
94764 sed 's/^/| /' conftest.$ac_ext >&5
94765
94766 ( exit $ac_status )
94767 gcc_cv_have_tls=no
94768 fi
94769 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94770 fi
94771 CFLAGS="$chktls_save_CFLAGS"
94772 fi
94773 fi
94774 else
94775 echo "$as_me: program exited with status $ac_status" >&5
94776 echo "$as_me: failed program was:" >&5
94777 sed 's/^/| /' conftest.$ac_ext >&5
94778
94779 ( exit $ac_status )
94780 gcc_cv_have_tls=no
94781 fi
94782 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94783 fi
94784 fi
94785 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
94786 echo "${ECHO_T}$gcc_cv_have_tls" >&6
94787 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
94788
94789 cat >>confdefs.h <<\_ACEOF
94790 #define HAVE_TLS 1
94791 _ACEOF
94792
94793 fi
94794
94795
94796
94797
94798
94799 am_save_CPPFLAGS="$CPPFLAGS"
94800
94801 for element in $INCICONV; do
94802 haveit=
94803 for x in $CPPFLAGS; do
94804
94805 acl_save_prefix="$prefix"
94806 prefix="$acl_final_prefix"
94807 acl_save_exec_prefix="$exec_prefix"
94808 exec_prefix="$acl_final_exec_prefix"
94809 eval x=\"$x\"
94810 exec_prefix="$acl_save_exec_prefix"
94811 prefix="$acl_save_prefix"
94812
94813 if test "X$x" = "X$element"; then
94814 haveit=yes
94815 break
94816 fi
94817 done
94818 if test -z "$haveit"; then
94819 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
94820 fi
94821 done
94822
94823
94824 echo "$as_me:$LINENO: checking for iconv" >&5
94825 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
94826 if test "${am_cv_func_iconv+set}" = set; then
94827 echo $ECHO_N "(cached) $ECHO_C" >&6
94828 else
94829
94830 am_cv_func_iconv="no, consider installing GNU libiconv"
94831 am_cv_lib_iconv=no
94832 if test x$gcc_no_link = xyes; then
94833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94835 { (exit 1); exit 1; }; }
94836 fi
94837 cat >conftest.$ac_ext <<_ACEOF
94838 /* confdefs.h. */
94839 _ACEOF
94840 cat confdefs.h >>conftest.$ac_ext
94841 cat >>conftest.$ac_ext <<_ACEOF
94842 /* end confdefs.h. */
94843 #include <stdlib.h>
94844 #include <iconv.h>
94845 int
94846 main ()
94847 {
94848 iconv_t cd = iconv_open("","");
94849 iconv(cd,NULL,NULL,NULL,NULL);
94850 iconv_close(cd);
94851 ;
94852 return 0;
94853 }
94854 _ACEOF
94855 rm -f conftest.$ac_objext conftest$ac_exeext
94856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94857 (eval $ac_link) 2>conftest.er1
94858 ac_status=$?
94859 grep -v '^ *+' conftest.er1 >conftest.err
94860 rm -f conftest.er1
94861 cat conftest.err >&5
94862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94863 (exit $ac_status); } &&
94864 { ac_try='test -z "$ac_c_werror_flag"
94865 || test ! -s conftest.err'
94866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94867 (eval $ac_try) 2>&5
94868 ac_status=$?
94869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94870 (exit $ac_status); }; } &&
94871 { ac_try='test -s conftest$ac_exeext'
94872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94873 (eval $ac_try) 2>&5
94874 ac_status=$?
94875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94876 (exit $ac_status); }; }; then
94877 am_cv_func_iconv=yes
94878 else
94879 echo "$as_me: failed program was:" >&5
94880 sed 's/^/| /' conftest.$ac_ext >&5
94881
94882 fi
94883 rm -f conftest.err conftest.$ac_objext \
94884 conftest$ac_exeext conftest.$ac_ext
94885 if test "$am_cv_func_iconv" != yes; then
94886 am_save_LIBS="$LIBS"
94887 LIBS="$LIBS $LIBICONV"
94888 if test x$gcc_no_link = xyes; then
94889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94891 { (exit 1); exit 1; }; }
94892 fi
94893 cat >conftest.$ac_ext <<_ACEOF
94894 /* confdefs.h. */
94895 _ACEOF
94896 cat confdefs.h >>conftest.$ac_ext
94897 cat >>conftest.$ac_ext <<_ACEOF
94898 /* end confdefs.h. */
94899 #include <stdlib.h>
94900 #include <iconv.h>
94901 int
94902 main ()
94903 {
94904 iconv_t cd = iconv_open("","");
94905 iconv(cd,NULL,NULL,NULL,NULL);
94906 iconv_close(cd);
94907 ;
94908 return 0;
94909 }
94910 _ACEOF
94911 rm -f conftest.$ac_objext conftest$ac_exeext
94912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94913 (eval $ac_link) 2>conftest.er1
94914 ac_status=$?
94915 grep -v '^ *+' conftest.er1 >conftest.err
94916 rm -f conftest.er1
94917 cat conftest.err >&5
94918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94919 (exit $ac_status); } &&
94920 { ac_try='test -z "$ac_c_werror_flag"
94921 || test ! -s conftest.err'
94922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94923 (eval $ac_try) 2>&5
94924 ac_status=$?
94925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94926 (exit $ac_status); }; } &&
94927 { ac_try='test -s conftest$ac_exeext'
94928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94929 (eval $ac_try) 2>&5
94930 ac_status=$?
94931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94932 (exit $ac_status); }; }; then
94933 am_cv_lib_iconv=yes
94934 am_cv_func_iconv=yes
94935 else
94936 echo "$as_me: failed program was:" >&5
94937 sed 's/^/| /' conftest.$ac_ext >&5
94938
94939 fi
94940 rm -f conftest.err conftest.$ac_objext \
94941 conftest$ac_exeext conftest.$ac_ext
94942 LIBS="$am_save_LIBS"
94943 fi
94944
94945 fi
94946 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
94947 echo "${ECHO_T}$am_cv_func_iconv" >&6
94948 if test "$am_cv_func_iconv" = yes; then
94949
94950 cat >>confdefs.h <<\_ACEOF
94951 #define HAVE_ICONV 1
94952 _ACEOF
94953
94954 fi
94955 if test "$am_cv_lib_iconv" = yes; then
94956 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
94957 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
94958 echo "$as_me:$LINENO: result: $LIBICONV" >&5
94959 echo "${ECHO_T}$LIBICONV" >&6
94960 else
94961 CPPFLAGS="$am_save_CPPFLAGS"
94962 LIBICONV=
94963 LTLIBICONV=
94964 fi
94965
94966
94967
94968 if test "$am_cv_func_iconv" = yes; then
94969 echo "$as_me:$LINENO: checking for iconv declaration" >&5
94970 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
94971 if test "${am_cv_proto_iconv+set}" = set; then
94972 echo $ECHO_N "(cached) $ECHO_C" >&6
94973 else
94974
94975 cat >conftest.$ac_ext <<_ACEOF
94976 /* confdefs.h. */
94977 _ACEOF
94978 cat confdefs.h >>conftest.$ac_ext
94979 cat >>conftest.$ac_ext <<_ACEOF
94980 /* end confdefs.h. */
94981
94982 #include <stdlib.h>
94983 #include <iconv.h>
94984 extern
94985 #ifdef __cplusplus
94986 "C"
94987 #endif
94988 #if defined(__STDC__) || defined(__cplusplus)
94989 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
94990 #else
94991 size_t iconv();
94992 #endif
94993
94994 int
94995 main ()
94996 {
94997
94998 ;
94999 return 0;
95000 }
95001 _ACEOF
95002 rm -f conftest.$ac_objext
95003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95004 (eval $ac_compile) 2>conftest.er1
95005 ac_status=$?
95006 grep -v '^ *+' conftest.er1 >conftest.err
95007 rm -f conftest.er1
95008 cat conftest.err >&5
95009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95010 (exit $ac_status); } &&
95011 { ac_try='test -z "$ac_c_werror_flag"
95012 || test ! -s conftest.err'
95013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95014 (eval $ac_try) 2>&5
95015 ac_status=$?
95016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95017 (exit $ac_status); }; } &&
95018 { ac_try='test -s conftest.$ac_objext'
95019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95020 (eval $ac_try) 2>&5
95021 ac_status=$?
95022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95023 (exit $ac_status); }; }; then
95024 am_cv_proto_iconv_arg1=""
95025 else
95026 echo "$as_me: failed program was:" >&5
95027 sed 's/^/| /' conftest.$ac_ext >&5
95028
95029 am_cv_proto_iconv_arg1="const"
95030 fi
95031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95032 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);"
95033 fi
95034
95035 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
95036 echo "$as_me:$LINENO: result: ${ac_t:-
95037 }$am_cv_proto_iconv" >&5
95038 echo "${ECHO_T}${ac_t:-
95039 }$am_cv_proto_iconv" >&6
95040
95041 cat >>confdefs.h <<_ACEOF
95042 #define ICONV_CONST $am_cv_proto_iconv_arg1
95043 _ACEOF
95044
95045 fi
95046
95047 ;;
95048 *-mingw32*)
95049
95050 # If we're not using GNU ld, then there's no point in even trying these
95051 # tests. Check for that first. We should have already tested for gld
95052 # by now (in libtool), but require it now just to be safe...
95053 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
95054 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
95055
95056
95057
95058 # The name set by libtool depends on the version of libtool. Shame on us
95059 # for depending on an impl detail, but c'est la vie. Older versions used
95060 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
95061 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
95062 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
95063 # set (hence we're using an older libtool), then set it.
95064 if test x${with_gnu_ld+set} != xset; then
95065 if test x${ac_cv_prog_gnu_ld+set} != xset; then
95066 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
95067 with_gnu_ld=no
95068 else
95069 with_gnu_ld=$ac_cv_prog_gnu_ld
95070 fi
95071 fi
95072
95073 # Start by getting the version number. I think the libtool test already
95074 # does some of this, but throws away the result.
95075 glibcxx_ld_is_gold=no
95076 if test x"$with_gnu_ld" = x"yes"; then
95077 echo "$as_me:$LINENO: checking for ld version" >&5
95078 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
95079
95080 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
95081 glibcxx_ld_is_gold=yes
95082 fi
95083 ldver=`$LD --version 2>/dev/null | head -1 | \
95084 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
95085
95086 glibcxx_gnu_ld_version=`echo $ldver | \
95087 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
95088 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
95089 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
95090 fi
95091
95092 # Set --gc-sections.
95093 glibcxx_have_gc_sections=no
95094 if test "$glibcxx_ld_is_gold" = "yes"; then
95095 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
95096 glibcxx_have_gc_sections=yes
95097 fi
95098 else
95099 glibcxx_gcsections_min_ld=21602
95100 if test x"$with_gnu_ld" = x"yes" &&
95101 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
95102 glibcxx_have_gc_sections=yes
95103 fi
95104 fi
95105 if test "$glibcxx_have_gc_sections" = "yes"; then
95106 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
95107 # NB: This flag only works reliably after 2.16.1. Configure tests
95108 # for this are difficult, so hard wire a value that should work.
95109
95110 ac_test_CFLAGS="${CFLAGS+set}"
95111 ac_save_CFLAGS="$CFLAGS"
95112 CFLAGS='-Wl,--gc-sections'
95113
95114 # Check for -Wl,--gc-sections
95115 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
95116 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
95117 if test x$gcc_no_link = xyes; then
95118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95120 { (exit 1); exit 1; }; }
95121 fi
95122 cat >conftest.$ac_ext <<_ACEOF
95123 /* confdefs.h. */
95124 _ACEOF
95125 cat confdefs.h >>conftest.$ac_ext
95126 cat >>conftest.$ac_ext <<_ACEOF
95127 /* end confdefs.h. */
95128 int one(void) { return 1; }
95129 int two(void) { return 2; }
95130
95131 int
95132 main ()
95133 {
95134 two();
95135 ;
95136 return 0;
95137 }
95138 _ACEOF
95139 rm -f conftest.$ac_objext conftest$ac_exeext
95140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95141 (eval $ac_link) 2>conftest.er1
95142 ac_status=$?
95143 grep -v '^ *+' conftest.er1 >conftest.err
95144 rm -f conftest.er1
95145 cat conftest.err >&5
95146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95147 (exit $ac_status); } &&
95148 { ac_try='test -z "$ac_c_werror_flag"
95149 || test ! -s conftest.err'
95150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95151 (eval $ac_try) 2>&5
95152 ac_status=$?
95153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95154 (exit $ac_status); }; } &&
95155 { ac_try='test -s conftest$ac_exeext'
95156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95157 (eval $ac_try) 2>&5
95158 ac_status=$?
95159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95160 (exit $ac_status); }; }; then
95161 ac_gcsections=yes
95162 else
95163 echo "$as_me: failed program was:" >&5
95164 sed 's/^/| /' conftest.$ac_ext >&5
95165
95166 ac_gcsections=no
95167 fi
95168 rm -f conftest.err conftest.$ac_objext \
95169 conftest$ac_exeext conftest.$ac_ext
95170 if test "$ac_gcsections" = "yes"; then
95171 rm -f conftest.c
95172 touch conftest.c
95173 if $CC -c conftest.c; then
95174 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
95175 grep "Warning: gc-sections option ignored" > /dev/null; then
95176 ac_gcsections=no
95177 fi
95178 fi
95179 rm -f conftest.c conftest.o conftest
95180 fi
95181 if test "$ac_gcsections" = "yes"; then
95182 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
95183 fi
95184 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
95185 echo "${ECHO_T}$ac_gcsections" >&6
95186
95187 if test "$ac_test_CFLAGS" = set; then
95188 CFLAGS="$ac_save_CFLAGS"
95189 else
95190 # this is the suspicious part
95191 CFLAGS=''
95192 fi
95193 fi
95194
95195 # Set -z,relro.
95196 # Note this is only for shared objects.
95197 ac_ld_relro=no
95198 if test x"$with_gnu_ld" = x"yes"; then
95199 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
95200 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
95201 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
95202 if test -n "$cxx_z_relo"; then
95203 OPT_LDFLAGS="-Wl,-z,relro"
95204 ac_ld_relro=yes
95205 fi
95206 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
95207 echo "${ECHO_T}$ac_ld_relro" >&6
95208 fi
95209
95210 # Set linker optimization flags.
95211 if test x"$with_gnu_ld" = x"yes"; then
95212 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
95213 fi
95214
95215
95216
95217
95218
95219 ac_test_CXXFLAGS="${CXXFLAGS+set}"
95220 ac_save_CXXFLAGS="$CXXFLAGS"
95221 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
95222
95223 echo "$as_me:$LINENO: checking for sin in -lm" >&5
95224 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
95225 if test "${ac_cv_lib_m_sin+set}" = set; then
95226 echo $ECHO_N "(cached) $ECHO_C" >&6
95227 else
95228 ac_check_lib_save_LIBS=$LIBS
95229 LIBS="-lm $LIBS"
95230 if test x$gcc_no_link = xyes; then
95231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95233 { (exit 1); exit 1; }; }
95234 fi
95235 cat >conftest.$ac_ext <<_ACEOF
95236 /* confdefs.h. */
95237 _ACEOF
95238 cat confdefs.h >>conftest.$ac_ext
95239 cat >>conftest.$ac_ext <<_ACEOF
95240 /* end confdefs.h. */
95241
95242 /* Override any gcc2 internal prototype to avoid an error. */
95243 #ifdef __cplusplus
95244 extern "C"
95245 #endif
95246 /* We use char because int might match the return type of a gcc2
95247 builtin and then its argument prototype would still apply. */
95248 char sin ();
95249 int
95250 main ()
95251 {
95252 sin ();
95253 ;
95254 return 0;
95255 }
95256 _ACEOF
95257 rm -f conftest.$ac_objext conftest$ac_exeext
95258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95259 (eval $ac_link) 2>conftest.er1
95260 ac_status=$?
95261 grep -v '^ *+' conftest.er1 >conftest.err
95262 rm -f conftest.er1
95263 cat conftest.err >&5
95264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95265 (exit $ac_status); } &&
95266 { ac_try='test -z "$ac_c_werror_flag"
95267 || test ! -s conftest.err'
95268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95269 (eval $ac_try) 2>&5
95270 ac_status=$?
95271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95272 (exit $ac_status); }; } &&
95273 { ac_try='test -s conftest$ac_exeext'
95274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95275 (eval $ac_try) 2>&5
95276 ac_status=$?
95277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95278 (exit $ac_status); }; }; then
95279 ac_cv_lib_m_sin=yes
95280 else
95281 echo "$as_me: failed program was:" >&5
95282 sed 's/^/| /' conftest.$ac_ext >&5
95283
95284 ac_cv_lib_m_sin=no
95285 fi
95286 rm -f conftest.err conftest.$ac_objext \
95287 conftest$ac_exeext conftest.$ac_ext
95288 LIBS=$ac_check_lib_save_LIBS
95289 fi
95290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
95291 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
95292 if test $ac_cv_lib_m_sin = yes; then
95293 libm="-lm"
95294 fi
95295
95296 ac_save_LIBS="$LIBS"
95297 LIBS="$LIBS $libm"
95298
95299
95300
95301 echo "$as_me:$LINENO: checking for isinf declaration" >&5
95302 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
95303 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
95304 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
95305 echo $ECHO_N "(cached) $ECHO_C" >&6
95306 else
95307
95308
95309
95310 ac_ext=cc
95311 ac_cpp='$CXXCPP $CPPFLAGS'
95312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95315
95316 cat >conftest.$ac_ext <<_ACEOF
95317 /* confdefs.h. */
95318 _ACEOF
95319 cat confdefs.h >>conftest.$ac_ext
95320 cat >>conftest.$ac_ext <<_ACEOF
95321 /* end confdefs.h. */
95322 #include <math.h>
95323 #ifdef HAVE_IEEEFP_H
95324 #include <ieeefp.h>
95325 #endif
95326
95327 int
95328 main ()
95329 {
95330 isinf(0);
95331 ;
95332 return 0;
95333 }
95334 _ACEOF
95335 rm -f conftest.$ac_objext
95336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95337 (eval $ac_compile) 2>conftest.er1
95338 ac_status=$?
95339 grep -v '^ *+' conftest.er1 >conftest.err
95340 rm -f conftest.er1
95341 cat conftest.err >&5
95342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95343 (exit $ac_status); } &&
95344 { ac_try='test -z "$ac_cxx_werror_flag"
95345 || test ! -s conftest.err'
95346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95347 (eval $ac_try) 2>&5
95348 ac_status=$?
95349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95350 (exit $ac_status); }; } &&
95351 { ac_try='test -s conftest.$ac_objext'
95352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95353 (eval $ac_try) 2>&5
95354 ac_status=$?
95355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95356 (exit $ac_status); }; }; then
95357 glibcxx_cv_func_isinf_use=yes
95358 else
95359 echo "$as_me: failed program was:" >&5
95360 sed 's/^/| /' conftest.$ac_ext >&5
95361
95362 glibcxx_cv_func_isinf_use=no
95363 fi
95364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95365 ac_ext=c
95366 ac_cpp='$CPP $CPPFLAGS'
95367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95370
95371
95372 fi
95373
95374 fi
95375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
95376 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
95377
95378 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
95379
95380 for ac_func in isinf
95381 do
95382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95383 echo "$as_me:$LINENO: checking for $ac_func" >&5
95384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95385 if eval "test \"\${$as_ac_var+set}\" = set"; then
95386 echo $ECHO_N "(cached) $ECHO_C" >&6
95387 else
95388 if test x$gcc_no_link = xyes; then
95389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95391 { (exit 1); exit 1; }; }
95392 fi
95393 cat >conftest.$ac_ext <<_ACEOF
95394 /* confdefs.h. */
95395 _ACEOF
95396 cat confdefs.h >>conftest.$ac_ext
95397 cat >>conftest.$ac_ext <<_ACEOF
95398 /* end confdefs.h. */
95399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95401 #define $ac_func innocuous_$ac_func
95402
95403 /* System header to define __stub macros and hopefully few prototypes,
95404 which can conflict with char $ac_func (); below.
95405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95406 <limits.h> exists even on freestanding compilers. */
95407
95408 #ifdef __STDC__
95409 # include <limits.h>
95410 #else
95411 # include <assert.h>
95412 #endif
95413
95414 #undef $ac_func
95415
95416 /* Override any gcc2 internal prototype to avoid an error. */
95417 #ifdef __cplusplus
95418 extern "C"
95419 {
95420 #endif
95421 /* We use char because int might match the return type of a gcc2
95422 builtin and then its argument prototype would still apply. */
95423 char $ac_func ();
95424 /* The GNU C library defines this for functions which it implements
95425 to always fail with ENOSYS. Some functions are actually named
95426 something starting with __ and the normal name is an alias. */
95427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95428 choke me
95429 #else
95430 char (*f) () = $ac_func;
95431 #endif
95432 #ifdef __cplusplus
95433 }
95434 #endif
95435
95436 int
95437 main ()
95438 {
95439 return f != $ac_func;
95440 ;
95441 return 0;
95442 }
95443 _ACEOF
95444 rm -f conftest.$ac_objext conftest$ac_exeext
95445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95446 (eval $ac_link) 2>conftest.er1
95447 ac_status=$?
95448 grep -v '^ *+' conftest.er1 >conftest.err
95449 rm -f conftest.er1
95450 cat conftest.err >&5
95451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95452 (exit $ac_status); } &&
95453 { ac_try='test -z "$ac_c_werror_flag"
95454 || test ! -s conftest.err'
95455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95456 (eval $ac_try) 2>&5
95457 ac_status=$?
95458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95459 (exit $ac_status); }; } &&
95460 { ac_try='test -s conftest$ac_exeext'
95461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95462 (eval $ac_try) 2>&5
95463 ac_status=$?
95464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95465 (exit $ac_status); }; }; then
95466 eval "$as_ac_var=yes"
95467 else
95468 echo "$as_me: failed program was:" >&5
95469 sed 's/^/| /' conftest.$ac_ext >&5
95470
95471 eval "$as_ac_var=no"
95472 fi
95473 rm -f conftest.err conftest.$ac_objext \
95474 conftest$ac_exeext conftest.$ac_ext
95475 fi
95476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95478 if test `eval echo '${'$as_ac_var'}'` = yes; then
95479 cat >>confdefs.h <<_ACEOF
95480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95481 _ACEOF
95482
95483 fi
95484 done
95485
95486 else
95487
95488 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
95489 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
95490 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
95491 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
95492 echo $ECHO_N "(cached) $ECHO_C" >&6
95493 else
95494
95495
95496
95497 ac_ext=cc
95498 ac_cpp='$CXXCPP $CPPFLAGS'
95499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95502
95503 cat >conftest.$ac_ext <<_ACEOF
95504 /* confdefs.h. */
95505 _ACEOF
95506 cat confdefs.h >>conftest.$ac_ext
95507 cat >>conftest.$ac_ext <<_ACEOF
95508 /* end confdefs.h. */
95509 #include <math.h>
95510 #ifdef HAVE_IEEEFP_H
95511 #include <ieeefp.h>
95512 #endif
95513
95514 int
95515 main ()
95516 {
95517 _isinf(0);
95518 ;
95519 return 0;
95520 }
95521 _ACEOF
95522 rm -f conftest.$ac_objext
95523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95524 (eval $ac_compile) 2>conftest.er1
95525 ac_status=$?
95526 grep -v '^ *+' conftest.er1 >conftest.err
95527 rm -f conftest.er1
95528 cat conftest.err >&5
95529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95530 (exit $ac_status); } &&
95531 { ac_try='test -z "$ac_cxx_werror_flag"
95532 || test ! -s conftest.err'
95533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95534 (eval $ac_try) 2>&5
95535 ac_status=$?
95536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95537 (exit $ac_status); }; } &&
95538 { ac_try='test -s conftest.$ac_objext'
95539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95540 (eval $ac_try) 2>&5
95541 ac_status=$?
95542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543 (exit $ac_status); }; }; then
95544 glibcxx_cv_func__isinf_use=yes
95545 else
95546 echo "$as_me: failed program was:" >&5
95547 sed 's/^/| /' conftest.$ac_ext >&5
95548
95549 glibcxx_cv_func__isinf_use=no
95550 fi
95551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95552 ac_ext=c
95553 ac_cpp='$CPP $CPPFLAGS'
95554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95557
95558
95559 fi
95560
95561 fi
95562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
95563 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
95564
95565 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
95566
95567 for ac_func in _isinf
95568 do
95569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95570 echo "$as_me:$LINENO: checking for $ac_func" >&5
95571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95572 if eval "test \"\${$as_ac_var+set}\" = set"; then
95573 echo $ECHO_N "(cached) $ECHO_C" >&6
95574 else
95575 if test x$gcc_no_link = xyes; then
95576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95578 { (exit 1); exit 1; }; }
95579 fi
95580 cat >conftest.$ac_ext <<_ACEOF
95581 /* confdefs.h. */
95582 _ACEOF
95583 cat confdefs.h >>conftest.$ac_ext
95584 cat >>conftest.$ac_ext <<_ACEOF
95585 /* end confdefs.h. */
95586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95588 #define $ac_func innocuous_$ac_func
95589
95590 /* System header to define __stub macros and hopefully few prototypes,
95591 which can conflict with char $ac_func (); below.
95592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95593 <limits.h> exists even on freestanding compilers. */
95594
95595 #ifdef __STDC__
95596 # include <limits.h>
95597 #else
95598 # include <assert.h>
95599 #endif
95600
95601 #undef $ac_func
95602
95603 /* Override any gcc2 internal prototype to avoid an error. */
95604 #ifdef __cplusplus
95605 extern "C"
95606 {
95607 #endif
95608 /* We use char because int might match the return type of a gcc2
95609 builtin and then its argument prototype would still apply. */
95610 char $ac_func ();
95611 /* The GNU C library defines this for functions which it implements
95612 to always fail with ENOSYS. Some functions are actually named
95613 something starting with __ and the normal name is an alias. */
95614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95615 choke me
95616 #else
95617 char (*f) () = $ac_func;
95618 #endif
95619 #ifdef __cplusplus
95620 }
95621 #endif
95622
95623 int
95624 main ()
95625 {
95626 return f != $ac_func;
95627 ;
95628 return 0;
95629 }
95630 _ACEOF
95631 rm -f conftest.$ac_objext conftest$ac_exeext
95632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95633 (eval $ac_link) 2>conftest.er1
95634 ac_status=$?
95635 grep -v '^ *+' conftest.er1 >conftest.err
95636 rm -f conftest.er1
95637 cat conftest.err >&5
95638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95639 (exit $ac_status); } &&
95640 { ac_try='test -z "$ac_c_werror_flag"
95641 || test ! -s conftest.err'
95642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95643 (eval $ac_try) 2>&5
95644 ac_status=$?
95645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95646 (exit $ac_status); }; } &&
95647 { ac_try='test -s conftest$ac_exeext'
95648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95649 (eval $ac_try) 2>&5
95650 ac_status=$?
95651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95652 (exit $ac_status); }; }; then
95653 eval "$as_ac_var=yes"
95654 else
95655 echo "$as_me: failed program was:" >&5
95656 sed 's/^/| /' conftest.$ac_ext >&5
95657
95658 eval "$as_ac_var=no"
95659 fi
95660 rm -f conftest.err conftest.$ac_objext \
95661 conftest$ac_exeext conftest.$ac_ext
95662 fi
95663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95665 if test `eval echo '${'$as_ac_var'}'` = yes; then
95666 cat >>confdefs.h <<_ACEOF
95667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95668 _ACEOF
95669
95670 fi
95671 done
95672
95673 fi
95674 fi
95675
95676
95677
95678
95679
95680
95681 echo "$as_me:$LINENO: checking for isnan declaration" >&5
95682 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
95683 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
95684 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
95685 echo $ECHO_N "(cached) $ECHO_C" >&6
95686 else
95687
95688
95689
95690 ac_ext=cc
95691 ac_cpp='$CXXCPP $CPPFLAGS'
95692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95695
95696 cat >conftest.$ac_ext <<_ACEOF
95697 /* confdefs.h. */
95698 _ACEOF
95699 cat confdefs.h >>conftest.$ac_ext
95700 cat >>conftest.$ac_ext <<_ACEOF
95701 /* end confdefs.h. */
95702 #include <math.h>
95703 #ifdef HAVE_IEEEFP_H
95704 #include <ieeefp.h>
95705 #endif
95706
95707 int
95708 main ()
95709 {
95710 isnan(0);
95711 ;
95712 return 0;
95713 }
95714 _ACEOF
95715 rm -f conftest.$ac_objext
95716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95717 (eval $ac_compile) 2>conftest.er1
95718 ac_status=$?
95719 grep -v '^ *+' conftest.er1 >conftest.err
95720 rm -f conftest.er1
95721 cat conftest.err >&5
95722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95723 (exit $ac_status); } &&
95724 { ac_try='test -z "$ac_cxx_werror_flag"
95725 || test ! -s conftest.err'
95726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95727 (eval $ac_try) 2>&5
95728 ac_status=$?
95729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95730 (exit $ac_status); }; } &&
95731 { ac_try='test -s conftest.$ac_objext'
95732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95733 (eval $ac_try) 2>&5
95734 ac_status=$?
95735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95736 (exit $ac_status); }; }; then
95737 glibcxx_cv_func_isnan_use=yes
95738 else
95739 echo "$as_me: failed program was:" >&5
95740 sed 's/^/| /' conftest.$ac_ext >&5
95741
95742 glibcxx_cv_func_isnan_use=no
95743 fi
95744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95745 ac_ext=c
95746 ac_cpp='$CPP $CPPFLAGS'
95747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95750
95751
95752 fi
95753
95754 fi
95755 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
95756 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
95757
95758 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
95759
95760 for ac_func in isnan
95761 do
95762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95763 echo "$as_me:$LINENO: checking for $ac_func" >&5
95764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95765 if eval "test \"\${$as_ac_var+set}\" = set"; then
95766 echo $ECHO_N "(cached) $ECHO_C" >&6
95767 else
95768 if test x$gcc_no_link = xyes; then
95769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95771 { (exit 1); exit 1; }; }
95772 fi
95773 cat >conftest.$ac_ext <<_ACEOF
95774 /* confdefs.h. */
95775 _ACEOF
95776 cat confdefs.h >>conftest.$ac_ext
95777 cat >>conftest.$ac_ext <<_ACEOF
95778 /* end confdefs.h. */
95779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95781 #define $ac_func innocuous_$ac_func
95782
95783 /* System header to define __stub macros and hopefully few prototypes,
95784 which can conflict with char $ac_func (); below.
95785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95786 <limits.h> exists even on freestanding compilers. */
95787
95788 #ifdef __STDC__
95789 # include <limits.h>
95790 #else
95791 # include <assert.h>
95792 #endif
95793
95794 #undef $ac_func
95795
95796 /* Override any gcc2 internal prototype to avoid an error. */
95797 #ifdef __cplusplus
95798 extern "C"
95799 {
95800 #endif
95801 /* We use char because int might match the return type of a gcc2
95802 builtin and then its argument prototype would still apply. */
95803 char $ac_func ();
95804 /* The GNU C library defines this for functions which it implements
95805 to always fail with ENOSYS. Some functions are actually named
95806 something starting with __ and the normal name is an alias. */
95807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95808 choke me
95809 #else
95810 char (*f) () = $ac_func;
95811 #endif
95812 #ifdef __cplusplus
95813 }
95814 #endif
95815
95816 int
95817 main ()
95818 {
95819 return f != $ac_func;
95820 ;
95821 return 0;
95822 }
95823 _ACEOF
95824 rm -f conftest.$ac_objext conftest$ac_exeext
95825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95826 (eval $ac_link) 2>conftest.er1
95827 ac_status=$?
95828 grep -v '^ *+' conftest.er1 >conftest.err
95829 rm -f conftest.er1
95830 cat conftest.err >&5
95831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95832 (exit $ac_status); } &&
95833 { ac_try='test -z "$ac_c_werror_flag"
95834 || test ! -s conftest.err'
95835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95836 (eval $ac_try) 2>&5
95837 ac_status=$?
95838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95839 (exit $ac_status); }; } &&
95840 { ac_try='test -s conftest$ac_exeext'
95841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95842 (eval $ac_try) 2>&5
95843 ac_status=$?
95844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95845 (exit $ac_status); }; }; then
95846 eval "$as_ac_var=yes"
95847 else
95848 echo "$as_me: failed program was:" >&5
95849 sed 's/^/| /' conftest.$ac_ext >&5
95850
95851 eval "$as_ac_var=no"
95852 fi
95853 rm -f conftest.err conftest.$ac_objext \
95854 conftest$ac_exeext conftest.$ac_ext
95855 fi
95856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95858 if test `eval echo '${'$as_ac_var'}'` = yes; then
95859 cat >>confdefs.h <<_ACEOF
95860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95861 _ACEOF
95862
95863 fi
95864 done
95865
95866 else
95867
95868 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
95869 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
95870 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
95871 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
95872 echo $ECHO_N "(cached) $ECHO_C" >&6
95873 else
95874
95875
95876
95877 ac_ext=cc
95878 ac_cpp='$CXXCPP $CPPFLAGS'
95879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95882
95883 cat >conftest.$ac_ext <<_ACEOF
95884 /* confdefs.h. */
95885 _ACEOF
95886 cat confdefs.h >>conftest.$ac_ext
95887 cat >>conftest.$ac_ext <<_ACEOF
95888 /* end confdefs.h. */
95889 #include <math.h>
95890 #ifdef HAVE_IEEEFP_H
95891 #include <ieeefp.h>
95892 #endif
95893
95894 int
95895 main ()
95896 {
95897 _isnan(0);
95898 ;
95899 return 0;
95900 }
95901 _ACEOF
95902 rm -f conftest.$ac_objext
95903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95904 (eval $ac_compile) 2>conftest.er1
95905 ac_status=$?
95906 grep -v '^ *+' conftest.er1 >conftest.err
95907 rm -f conftest.er1
95908 cat conftest.err >&5
95909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95910 (exit $ac_status); } &&
95911 { ac_try='test -z "$ac_cxx_werror_flag"
95912 || test ! -s conftest.err'
95913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95914 (eval $ac_try) 2>&5
95915 ac_status=$?
95916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95917 (exit $ac_status); }; } &&
95918 { ac_try='test -s conftest.$ac_objext'
95919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95920 (eval $ac_try) 2>&5
95921 ac_status=$?
95922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95923 (exit $ac_status); }; }; then
95924 glibcxx_cv_func__isnan_use=yes
95925 else
95926 echo "$as_me: failed program was:" >&5
95927 sed 's/^/| /' conftest.$ac_ext >&5
95928
95929 glibcxx_cv_func__isnan_use=no
95930 fi
95931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95932 ac_ext=c
95933 ac_cpp='$CPP $CPPFLAGS'
95934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95937
95938
95939 fi
95940
95941 fi
95942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
95943 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
95944
95945 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
95946
95947 for ac_func in _isnan
95948 do
95949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95950 echo "$as_me:$LINENO: checking for $ac_func" >&5
95951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95952 if eval "test \"\${$as_ac_var+set}\" = set"; then
95953 echo $ECHO_N "(cached) $ECHO_C" >&6
95954 else
95955 if test x$gcc_no_link = xyes; then
95956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95958 { (exit 1); exit 1; }; }
95959 fi
95960 cat >conftest.$ac_ext <<_ACEOF
95961 /* confdefs.h. */
95962 _ACEOF
95963 cat confdefs.h >>conftest.$ac_ext
95964 cat >>conftest.$ac_ext <<_ACEOF
95965 /* end confdefs.h. */
95966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95968 #define $ac_func innocuous_$ac_func
95969
95970 /* System header to define __stub macros and hopefully few prototypes,
95971 which can conflict with char $ac_func (); below.
95972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95973 <limits.h> exists even on freestanding compilers. */
95974
95975 #ifdef __STDC__
95976 # include <limits.h>
95977 #else
95978 # include <assert.h>
95979 #endif
95980
95981 #undef $ac_func
95982
95983 /* Override any gcc2 internal prototype to avoid an error. */
95984 #ifdef __cplusplus
95985 extern "C"
95986 {
95987 #endif
95988 /* We use char because int might match the return type of a gcc2
95989 builtin and then its argument prototype would still apply. */
95990 char $ac_func ();
95991 /* The GNU C library defines this for functions which it implements
95992 to always fail with ENOSYS. Some functions are actually named
95993 something starting with __ and the normal name is an alias. */
95994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95995 choke me
95996 #else
95997 char (*f) () = $ac_func;
95998 #endif
95999 #ifdef __cplusplus
96000 }
96001 #endif
96002
96003 int
96004 main ()
96005 {
96006 return f != $ac_func;
96007 ;
96008 return 0;
96009 }
96010 _ACEOF
96011 rm -f conftest.$ac_objext conftest$ac_exeext
96012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96013 (eval $ac_link) 2>conftest.er1
96014 ac_status=$?
96015 grep -v '^ *+' conftest.er1 >conftest.err
96016 rm -f conftest.er1
96017 cat conftest.err >&5
96018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96019 (exit $ac_status); } &&
96020 { ac_try='test -z "$ac_c_werror_flag"
96021 || test ! -s conftest.err'
96022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96023 (eval $ac_try) 2>&5
96024 ac_status=$?
96025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96026 (exit $ac_status); }; } &&
96027 { ac_try='test -s conftest$ac_exeext'
96028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96029 (eval $ac_try) 2>&5
96030 ac_status=$?
96031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96032 (exit $ac_status); }; }; then
96033 eval "$as_ac_var=yes"
96034 else
96035 echo "$as_me: failed program was:" >&5
96036 sed 's/^/| /' conftest.$ac_ext >&5
96037
96038 eval "$as_ac_var=no"
96039 fi
96040 rm -f conftest.err conftest.$ac_objext \
96041 conftest$ac_exeext conftest.$ac_ext
96042 fi
96043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96045 if test `eval echo '${'$as_ac_var'}'` = yes; then
96046 cat >>confdefs.h <<_ACEOF
96047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96048 _ACEOF
96049
96050 fi
96051 done
96052
96053 fi
96054 fi
96055
96056
96057
96058
96059
96060
96061 echo "$as_me:$LINENO: checking for finite declaration" >&5
96062 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
96063 if test x${glibcxx_cv_func_finite_use+set} != xset; then
96064 if test "${glibcxx_cv_func_finite_use+set}" = set; then
96065 echo $ECHO_N "(cached) $ECHO_C" >&6
96066 else
96067
96068
96069
96070 ac_ext=cc
96071 ac_cpp='$CXXCPP $CPPFLAGS'
96072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96075
96076 cat >conftest.$ac_ext <<_ACEOF
96077 /* confdefs.h. */
96078 _ACEOF
96079 cat confdefs.h >>conftest.$ac_ext
96080 cat >>conftest.$ac_ext <<_ACEOF
96081 /* end confdefs.h. */
96082 #include <math.h>
96083 #ifdef HAVE_IEEEFP_H
96084 #include <ieeefp.h>
96085 #endif
96086
96087 int
96088 main ()
96089 {
96090 finite(0);
96091 ;
96092 return 0;
96093 }
96094 _ACEOF
96095 rm -f conftest.$ac_objext
96096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96097 (eval $ac_compile) 2>conftest.er1
96098 ac_status=$?
96099 grep -v '^ *+' conftest.er1 >conftest.err
96100 rm -f conftest.er1
96101 cat conftest.err >&5
96102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96103 (exit $ac_status); } &&
96104 { ac_try='test -z "$ac_cxx_werror_flag"
96105 || test ! -s conftest.err'
96106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96107 (eval $ac_try) 2>&5
96108 ac_status=$?
96109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96110 (exit $ac_status); }; } &&
96111 { ac_try='test -s conftest.$ac_objext'
96112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96113 (eval $ac_try) 2>&5
96114 ac_status=$?
96115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96116 (exit $ac_status); }; }; then
96117 glibcxx_cv_func_finite_use=yes
96118 else
96119 echo "$as_me: failed program was:" >&5
96120 sed 's/^/| /' conftest.$ac_ext >&5
96121
96122 glibcxx_cv_func_finite_use=no
96123 fi
96124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96125 ac_ext=c
96126 ac_cpp='$CPP $CPPFLAGS'
96127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96130
96131
96132 fi
96133
96134 fi
96135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
96136 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
96137
96138 if test x$glibcxx_cv_func_finite_use = x"yes"; then
96139
96140 for ac_func in finite
96141 do
96142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96143 echo "$as_me:$LINENO: checking for $ac_func" >&5
96144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96145 if eval "test \"\${$as_ac_var+set}\" = set"; then
96146 echo $ECHO_N "(cached) $ECHO_C" >&6
96147 else
96148 if test x$gcc_no_link = xyes; then
96149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96151 { (exit 1); exit 1; }; }
96152 fi
96153 cat >conftest.$ac_ext <<_ACEOF
96154 /* confdefs.h. */
96155 _ACEOF
96156 cat confdefs.h >>conftest.$ac_ext
96157 cat >>conftest.$ac_ext <<_ACEOF
96158 /* end confdefs.h. */
96159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96161 #define $ac_func innocuous_$ac_func
96162
96163 /* System header to define __stub macros and hopefully few prototypes,
96164 which can conflict with char $ac_func (); below.
96165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96166 <limits.h> exists even on freestanding compilers. */
96167
96168 #ifdef __STDC__
96169 # include <limits.h>
96170 #else
96171 # include <assert.h>
96172 #endif
96173
96174 #undef $ac_func
96175
96176 /* Override any gcc2 internal prototype to avoid an error. */
96177 #ifdef __cplusplus
96178 extern "C"
96179 {
96180 #endif
96181 /* We use char because int might match the return type of a gcc2
96182 builtin and then its argument prototype would still apply. */
96183 char $ac_func ();
96184 /* The GNU C library defines this for functions which it implements
96185 to always fail with ENOSYS. Some functions are actually named
96186 something starting with __ and the normal name is an alias. */
96187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96188 choke me
96189 #else
96190 char (*f) () = $ac_func;
96191 #endif
96192 #ifdef __cplusplus
96193 }
96194 #endif
96195
96196 int
96197 main ()
96198 {
96199 return f != $ac_func;
96200 ;
96201 return 0;
96202 }
96203 _ACEOF
96204 rm -f conftest.$ac_objext conftest$ac_exeext
96205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96206 (eval $ac_link) 2>conftest.er1
96207 ac_status=$?
96208 grep -v '^ *+' conftest.er1 >conftest.err
96209 rm -f conftest.er1
96210 cat conftest.err >&5
96211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96212 (exit $ac_status); } &&
96213 { ac_try='test -z "$ac_c_werror_flag"
96214 || test ! -s conftest.err'
96215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96216 (eval $ac_try) 2>&5
96217 ac_status=$?
96218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96219 (exit $ac_status); }; } &&
96220 { ac_try='test -s conftest$ac_exeext'
96221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96222 (eval $ac_try) 2>&5
96223 ac_status=$?
96224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96225 (exit $ac_status); }; }; then
96226 eval "$as_ac_var=yes"
96227 else
96228 echo "$as_me: failed program was:" >&5
96229 sed 's/^/| /' conftest.$ac_ext >&5
96230
96231 eval "$as_ac_var=no"
96232 fi
96233 rm -f conftest.err conftest.$ac_objext \
96234 conftest$ac_exeext conftest.$ac_ext
96235 fi
96236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96238 if test `eval echo '${'$as_ac_var'}'` = yes; then
96239 cat >>confdefs.h <<_ACEOF
96240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96241 _ACEOF
96242
96243 fi
96244 done
96245
96246 else
96247
96248 echo "$as_me:$LINENO: checking for _finite declaration" >&5
96249 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
96250 if test x${glibcxx_cv_func__finite_use+set} != xset; then
96251 if test "${glibcxx_cv_func__finite_use+set}" = set; then
96252 echo $ECHO_N "(cached) $ECHO_C" >&6
96253 else
96254
96255
96256
96257 ac_ext=cc
96258 ac_cpp='$CXXCPP $CPPFLAGS'
96259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96262
96263 cat >conftest.$ac_ext <<_ACEOF
96264 /* confdefs.h. */
96265 _ACEOF
96266 cat confdefs.h >>conftest.$ac_ext
96267 cat >>conftest.$ac_ext <<_ACEOF
96268 /* end confdefs.h. */
96269 #include <math.h>
96270 #ifdef HAVE_IEEEFP_H
96271 #include <ieeefp.h>
96272 #endif
96273
96274 int
96275 main ()
96276 {
96277 _finite(0);
96278 ;
96279 return 0;
96280 }
96281 _ACEOF
96282 rm -f conftest.$ac_objext
96283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96284 (eval $ac_compile) 2>conftest.er1
96285 ac_status=$?
96286 grep -v '^ *+' conftest.er1 >conftest.err
96287 rm -f conftest.er1
96288 cat conftest.err >&5
96289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96290 (exit $ac_status); } &&
96291 { ac_try='test -z "$ac_cxx_werror_flag"
96292 || test ! -s conftest.err'
96293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96294 (eval $ac_try) 2>&5
96295 ac_status=$?
96296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96297 (exit $ac_status); }; } &&
96298 { ac_try='test -s conftest.$ac_objext'
96299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96300 (eval $ac_try) 2>&5
96301 ac_status=$?
96302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96303 (exit $ac_status); }; }; then
96304 glibcxx_cv_func__finite_use=yes
96305 else
96306 echo "$as_me: failed program was:" >&5
96307 sed 's/^/| /' conftest.$ac_ext >&5
96308
96309 glibcxx_cv_func__finite_use=no
96310 fi
96311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96312 ac_ext=c
96313 ac_cpp='$CPP $CPPFLAGS'
96314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96317
96318
96319 fi
96320
96321 fi
96322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
96323 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
96324
96325 if test x$glibcxx_cv_func__finite_use = x"yes"; then
96326
96327 for ac_func in _finite
96328 do
96329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96330 echo "$as_me:$LINENO: checking for $ac_func" >&5
96331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96332 if eval "test \"\${$as_ac_var+set}\" = set"; then
96333 echo $ECHO_N "(cached) $ECHO_C" >&6
96334 else
96335 if test x$gcc_no_link = xyes; then
96336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96338 { (exit 1); exit 1; }; }
96339 fi
96340 cat >conftest.$ac_ext <<_ACEOF
96341 /* confdefs.h. */
96342 _ACEOF
96343 cat confdefs.h >>conftest.$ac_ext
96344 cat >>conftest.$ac_ext <<_ACEOF
96345 /* end confdefs.h. */
96346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96348 #define $ac_func innocuous_$ac_func
96349
96350 /* System header to define __stub macros and hopefully few prototypes,
96351 which can conflict with char $ac_func (); below.
96352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96353 <limits.h> exists even on freestanding compilers. */
96354
96355 #ifdef __STDC__
96356 # include <limits.h>
96357 #else
96358 # include <assert.h>
96359 #endif
96360
96361 #undef $ac_func
96362
96363 /* Override any gcc2 internal prototype to avoid an error. */
96364 #ifdef __cplusplus
96365 extern "C"
96366 {
96367 #endif
96368 /* We use char because int might match the return type of a gcc2
96369 builtin and then its argument prototype would still apply. */
96370 char $ac_func ();
96371 /* The GNU C library defines this for functions which it implements
96372 to always fail with ENOSYS. Some functions are actually named
96373 something starting with __ and the normal name is an alias. */
96374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96375 choke me
96376 #else
96377 char (*f) () = $ac_func;
96378 #endif
96379 #ifdef __cplusplus
96380 }
96381 #endif
96382
96383 int
96384 main ()
96385 {
96386 return f != $ac_func;
96387 ;
96388 return 0;
96389 }
96390 _ACEOF
96391 rm -f conftest.$ac_objext conftest$ac_exeext
96392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96393 (eval $ac_link) 2>conftest.er1
96394 ac_status=$?
96395 grep -v '^ *+' conftest.er1 >conftest.err
96396 rm -f conftest.er1
96397 cat conftest.err >&5
96398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96399 (exit $ac_status); } &&
96400 { ac_try='test -z "$ac_c_werror_flag"
96401 || test ! -s conftest.err'
96402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96403 (eval $ac_try) 2>&5
96404 ac_status=$?
96405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96406 (exit $ac_status); }; } &&
96407 { ac_try='test -s conftest$ac_exeext'
96408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96409 (eval $ac_try) 2>&5
96410 ac_status=$?
96411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96412 (exit $ac_status); }; }; then
96413 eval "$as_ac_var=yes"
96414 else
96415 echo "$as_me: failed program was:" >&5
96416 sed 's/^/| /' conftest.$ac_ext >&5
96417
96418 eval "$as_ac_var=no"
96419 fi
96420 rm -f conftest.err conftest.$ac_objext \
96421 conftest$ac_exeext conftest.$ac_ext
96422 fi
96423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96425 if test `eval echo '${'$as_ac_var'}'` = yes; then
96426 cat >>confdefs.h <<_ACEOF
96427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96428 _ACEOF
96429
96430 fi
96431 done
96432
96433 fi
96434 fi
96435
96436
96437
96438
96439
96440
96441 echo "$as_me:$LINENO: checking for sincos declaration" >&5
96442 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
96443 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
96444 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
96445 echo $ECHO_N "(cached) $ECHO_C" >&6
96446 else
96447
96448
96449
96450 ac_ext=cc
96451 ac_cpp='$CXXCPP $CPPFLAGS'
96452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96455
96456 cat >conftest.$ac_ext <<_ACEOF
96457 /* confdefs.h. */
96458 _ACEOF
96459 cat confdefs.h >>conftest.$ac_ext
96460 cat >>conftest.$ac_ext <<_ACEOF
96461 /* end confdefs.h. */
96462 #include <math.h>
96463 int
96464 main ()
96465 {
96466 sincos(0, 0, 0);
96467 ;
96468 return 0;
96469 }
96470 _ACEOF
96471 rm -f conftest.$ac_objext
96472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96473 (eval $ac_compile) 2>conftest.er1
96474 ac_status=$?
96475 grep -v '^ *+' conftest.er1 >conftest.err
96476 rm -f conftest.er1
96477 cat conftest.err >&5
96478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96479 (exit $ac_status); } &&
96480 { ac_try='test -z "$ac_cxx_werror_flag"
96481 || test ! -s conftest.err'
96482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96483 (eval $ac_try) 2>&5
96484 ac_status=$?
96485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96486 (exit $ac_status); }; } &&
96487 { ac_try='test -s conftest.$ac_objext'
96488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96489 (eval $ac_try) 2>&5
96490 ac_status=$?
96491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96492 (exit $ac_status); }; }; then
96493 glibcxx_cv_func_sincos_use=yes
96494 else
96495 echo "$as_me: failed program was:" >&5
96496 sed 's/^/| /' conftest.$ac_ext >&5
96497
96498 glibcxx_cv_func_sincos_use=no
96499 fi
96500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96501 ac_ext=c
96502 ac_cpp='$CPP $CPPFLAGS'
96503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96506
96507
96508 fi
96509
96510 fi
96511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
96512 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
96513
96514 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
96515
96516 for ac_func in sincos
96517 do
96518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96519 echo "$as_me:$LINENO: checking for $ac_func" >&5
96520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96521 if eval "test \"\${$as_ac_var+set}\" = set"; then
96522 echo $ECHO_N "(cached) $ECHO_C" >&6
96523 else
96524 if test x$gcc_no_link = xyes; then
96525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96527 { (exit 1); exit 1; }; }
96528 fi
96529 cat >conftest.$ac_ext <<_ACEOF
96530 /* confdefs.h. */
96531 _ACEOF
96532 cat confdefs.h >>conftest.$ac_ext
96533 cat >>conftest.$ac_ext <<_ACEOF
96534 /* end confdefs.h. */
96535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96537 #define $ac_func innocuous_$ac_func
96538
96539 /* System header to define __stub macros and hopefully few prototypes,
96540 which can conflict with char $ac_func (); below.
96541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96542 <limits.h> exists even on freestanding compilers. */
96543
96544 #ifdef __STDC__
96545 # include <limits.h>
96546 #else
96547 # include <assert.h>
96548 #endif
96549
96550 #undef $ac_func
96551
96552 /* Override any gcc2 internal prototype to avoid an error. */
96553 #ifdef __cplusplus
96554 extern "C"
96555 {
96556 #endif
96557 /* We use char because int might match the return type of a gcc2
96558 builtin and then its argument prototype would still apply. */
96559 char $ac_func ();
96560 /* The GNU C library defines this for functions which it implements
96561 to always fail with ENOSYS. Some functions are actually named
96562 something starting with __ and the normal name is an alias. */
96563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96564 choke me
96565 #else
96566 char (*f) () = $ac_func;
96567 #endif
96568 #ifdef __cplusplus
96569 }
96570 #endif
96571
96572 int
96573 main ()
96574 {
96575 return f != $ac_func;
96576 ;
96577 return 0;
96578 }
96579 _ACEOF
96580 rm -f conftest.$ac_objext conftest$ac_exeext
96581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96582 (eval $ac_link) 2>conftest.er1
96583 ac_status=$?
96584 grep -v '^ *+' conftest.er1 >conftest.err
96585 rm -f conftest.er1
96586 cat conftest.err >&5
96587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96588 (exit $ac_status); } &&
96589 { ac_try='test -z "$ac_c_werror_flag"
96590 || test ! -s conftest.err'
96591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96592 (eval $ac_try) 2>&5
96593 ac_status=$?
96594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96595 (exit $ac_status); }; } &&
96596 { ac_try='test -s conftest$ac_exeext'
96597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96598 (eval $ac_try) 2>&5
96599 ac_status=$?
96600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96601 (exit $ac_status); }; }; then
96602 eval "$as_ac_var=yes"
96603 else
96604 echo "$as_me: failed program was:" >&5
96605 sed 's/^/| /' conftest.$ac_ext >&5
96606
96607 eval "$as_ac_var=no"
96608 fi
96609 rm -f conftest.err conftest.$ac_objext \
96610 conftest$ac_exeext conftest.$ac_ext
96611 fi
96612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96614 if test `eval echo '${'$as_ac_var'}'` = yes; then
96615 cat >>confdefs.h <<_ACEOF
96616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96617 _ACEOF
96618
96619 fi
96620 done
96621
96622 else
96623
96624 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
96625 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
96626 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
96627 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
96628 echo $ECHO_N "(cached) $ECHO_C" >&6
96629 else
96630
96631
96632
96633 ac_ext=cc
96634 ac_cpp='$CXXCPP $CPPFLAGS'
96635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96638
96639 cat >conftest.$ac_ext <<_ACEOF
96640 /* confdefs.h. */
96641 _ACEOF
96642 cat confdefs.h >>conftest.$ac_ext
96643 cat >>conftest.$ac_ext <<_ACEOF
96644 /* end confdefs.h. */
96645 #include <math.h>
96646 int
96647 main ()
96648 {
96649 _sincos(0, 0, 0);
96650 ;
96651 return 0;
96652 }
96653 _ACEOF
96654 rm -f conftest.$ac_objext
96655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96656 (eval $ac_compile) 2>conftest.er1
96657 ac_status=$?
96658 grep -v '^ *+' conftest.er1 >conftest.err
96659 rm -f conftest.er1
96660 cat conftest.err >&5
96661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96662 (exit $ac_status); } &&
96663 { ac_try='test -z "$ac_cxx_werror_flag"
96664 || test ! -s conftest.err'
96665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96666 (eval $ac_try) 2>&5
96667 ac_status=$?
96668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96669 (exit $ac_status); }; } &&
96670 { ac_try='test -s conftest.$ac_objext'
96671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96672 (eval $ac_try) 2>&5
96673 ac_status=$?
96674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96675 (exit $ac_status); }; }; then
96676 glibcxx_cv_func__sincos_use=yes
96677 else
96678 echo "$as_me: failed program was:" >&5
96679 sed 's/^/| /' conftest.$ac_ext >&5
96680
96681 glibcxx_cv_func__sincos_use=no
96682 fi
96683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96684 ac_ext=c
96685 ac_cpp='$CPP $CPPFLAGS'
96686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96689
96690
96691 fi
96692
96693 fi
96694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
96695 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
96696
96697 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
96698
96699 for ac_func in _sincos
96700 do
96701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96702 echo "$as_me:$LINENO: checking for $ac_func" >&5
96703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96704 if eval "test \"\${$as_ac_var+set}\" = set"; then
96705 echo $ECHO_N "(cached) $ECHO_C" >&6
96706 else
96707 if test x$gcc_no_link = xyes; then
96708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96710 { (exit 1); exit 1; }; }
96711 fi
96712 cat >conftest.$ac_ext <<_ACEOF
96713 /* confdefs.h. */
96714 _ACEOF
96715 cat confdefs.h >>conftest.$ac_ext
96716 cat >>conftest.$ac_ext <<_ACEOF
96717 /* end confdefs.h. */
96718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96720 #define $ac_func innocuous_$ac_func
96721
96722 /* System header to define __stub macros and hopefully few prototypes,
96723 which can conflict with char $ac_func (); below.
96724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96725 <limits.h> exists even on freestanding compilers. */
96726
96727 #ifdef __STDC__
96728 # include <limits.h>
96729 #else
96730 # include <assert.h>
96731 #endif
96732
96733 #undef $ac_func
96734
96735 /* Override any gcc2 internal prototype to avoid an error. */
96736 #ifdef __cplusplus
96737 extern "C"
96738 {
96739 #endif
96740 /* We use char because int might match the return type of a gcc2
96741 builtin and then its argument prototype would still apply. */
96742 char $ac_func ();
96743 /* The GNU C library defines this for functions which it implements
96744 to always fail with ENOSYS. Some functions are actually named
96745 something starting with __ and the normal name is an alias. */
96746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96747 choke me
96748 #else
96749 char (*f) () = $ac_func;
96750 #endif
96751 #ifdef __cplusplus
96752 }
96753 #endif
96754
96755 int
96756 main ()
96757 {
96758 return f != $ac_func;
96759 ;
96760 return 0;
96761 }
96762 _ACEOF
96763 rm -f conftest.$ac_objext conftest$ac_exeext
96764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96765 (eval $ac_link) 2>conftest.er1
96766 ac_status=$?
96767 grep -v '^ *+' conftest.er1 >conftest.err
96768 rm -f conftest.er1
96769 cat conftest.err >&5
96770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96771 (exit $ac_status); } &&
96772 { ac_try='test -z "$ac_c_werror_flag"
96773 || test ! -s conftest.err'
96774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96775 (eval $ac_try) 2>&5
96776 ac_status=$?
96777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96778 (exit $ac_status); }; } &&
96779 { ac_try='test -s conftest$ac_exeext'
96780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96781 (eval $ac_try) 2>&5
96782 ac_status=$?
96783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96784 (exit $ac_status); }; }; then
96785 eval "$as_ac_var=yes"
96786 else
96787 echo "$as_me: failed program was:" >&5
96788 sed 's/^/| /' conftest.$ac_ext >&5
96789
96790 eval "$as_ac_var=no"
96791 fi
96792 rm -f conftest.err conftest.$ac_objext \
96793 conftest$ac_exeext conftest.$ac_ext
96794 fi
96795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96797 if test `eval echo '${'$as_ac_var'}'` = yes; then
96798 cat >>confdefs.h <<_ACEOF
96799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96800 _ACEOF
96801
96802 fi
96803 done
96804
96805 fi
96806 fi
96807
96808
96809
96810
96811
96812
96813 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
96814 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
96815 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
96816 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
96817 echo $ECHO_N "(cached) $ECHO_C" >&6
96818 else
96819
96820
96821
96822 ac_ext=cc
96823 ac_cpp='$CXXCPP $CPPFLAGS'
96824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96827
96828 cat >conftest.$ac_ext <<_ACEOF
96829 /* confdefs.h. */
96830 _ACEOF
96831 cat confdefs.h >>conftest.$ac_ext
96832 cat >>conftest.$ac_ext <<_ACEOF
96833 /* end confdefs.h. */
96834 #include <math.h>
96835 #ifdef HAVE_IEEEFP_H
96836 #include <ieeefp.h>
96837 #endif
96838
96839 int
96840 main ()
96841 {
96842 fpclass(0);
96843 ;
96844 return 0;
96845 }
96846 _ACEOF
96847 rm -f conftest.$ac_objext
96848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96849 (eval $ac_compile) 2>conftest.er1
96850 ac_status=$?
96851 grep -v '^ *+' conftest.er1 >conftest.err
96852 rm -f conftest.er1
96853 cat conftest.err >&5
96854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96855 (exit $ac_status); } &&
96856 { ac_try='test -z "$ac_cxx_werror_flag"
96857 || test ! -s conftest.err'
96858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96859 (eval $ac_try) 2>&5
96860 ac_status=$?
96861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96862 (exit $ac_status); }; } &&
96863 { ac_try='test -s conftest.$ac_objext'
96864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96865 (eval $ac_try) 2>&5
96866 ac_status=$?
96867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96868 (exit $ac_status); }; }; then
96869 glibcxx_cv_func_fpclass_use=yes
96870 else
96871 echo "$as_me: failed program was:" >&5
96872 sed 's/^/| /' conftest.$ac_ext >&5
96873
96874 glibcxx_cv_func_fpclass_use=no
96875 fi
96876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96877 ac_ext=c
96878 ac_cpp='$CPP $CPPFLAGS'
96879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96882
96883
96884 fi
96885
96886 fi
96887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
96888 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
96889
96890 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
96891
96892 for ac_func in fpclass
96893 do
96894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96895 echo "$as_me:$LINENO: checking for $ac_func" >&5
96896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96897 if eval "test \"\${$as_ac_var+set}\" = set"; then
96898 echo $ECHO_N "(cached) $ECHO_C" >&6
96899 else
96900 if test x$gcc_no_link = xyes; then
96901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96903 { (exit 1); exit 1; }; }
96904 fi
96905 cat >conftest.$ac_ext <<_ACEOF
96906 /* confdefs.h. */
96907 _ACEOF
96908 cat confdefs.h >>conftest.$ac_ext
96909 cat >>conftest.$ac_ext <<_ACEOF
96910 /* end confdefs.h. */
96911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96913 #define $ac_func innocuous_$ac_func
96914
96915 /* System header to define __stub macros and hopefully few prototypes,
96916 which can conflict with char $ac_func (); below.
96917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96918 <limits.h> exists even on freestanding compilers. */
96919
96920 #ifdef __STDC__
96921 # include <limits.h>
96922 #else
96923 # include <assert.h>
96924 #endif
96925
96926 #undef $ac_func
96927
96928 /* Override any gcc2 internal prototype to avoid an error. */
96929 #ifdef __cplusplus
96930 extern "C"
96931 {
96932 #endif
96933 /* We use char because int might match the return type of a gcc2
96934 builtin and then its argument prototype would still apply. */
96935 char $ac_func ();
96936 /* The GNU C library defines this for functions which it implements
96937 to always fail with ENOSYS. Some functions are actually named
96938 something starting with __ and the normal name is an alias. */
96939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96940 choke me
96941 #else
96942 char (*f) () = $ac_func;
96943 #endif
96944 #ifdef __cplusplus
96945 }
96946 #endif
96947
96948 int
96949 main ()
96950 {
96951 return f != $ac_func;
96952 ;
96953 return 0;
96954 }
96955 _ACEOF
96956 rm -f conftest.$ac_objext conftest$ac_exeext
96957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96958 (eval $ac_link) 2>conftest.er1
96959 ac_status=$?
96960 grep -v '^ *+' conftest.er1 >conftest.err
96961 rm -f conftest.er1
96962 cat conftest.err >&5
96963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96964 (exit $ac_status); } &&
96965 { ac_try='test -z "$ac_c_werror_flag"
96966 || test ! -s conftest.err'
96967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96968 (eval $ac_try) 2>&5
96969 ac_status=$?
96970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96971 (exit $ac_status); }; } &&
96972 { ac_try='test -s conftest$ac_exeext'
96973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96974 (eval $ac_try) 2>&5
96975 ac_status=$?
96976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96977 (exit $ac_status); }; }; then
96978 eval "$as_ac_var=yes"
96979 else
96980 echo "$as_me: failed program was:" >&5
96981 sed 's/^/| /' conftest.$ac_ext >&5
96982
96983 eval "$as_ac_var=no"
96984 fi
96985 rm -f conftest.err conftest.$ac_objext \
96986 conftest$ac_exeext conftest.$ac_ext
96987 fi
96988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96990 if test `eval echo '${'$as_ac_var'}'` = yes; then
96991 cat >>confdefs.h <<_ACEOF
96992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96993 _ACEOF
96994
96995 fi
96996 done
96997
96998 else
96999
97000 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
97001 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
97002 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
97003 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
97004 echo $ECHO_N "(cached) $ECHO_C" >&6
97005 else
97006
97007
97008
97009 ac_ext=cc
97010 ac_cpp='$CXXCPP $CPPFLAGS'
97011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97014
97015 cat >conftest.$ac_ext <<_ACEOF
97016 /* confdefs.h. */
97017 _ACEOF
97018 cat confdefs.h >>conftest.$ac_ext
97019 cat >>conftest.$ac_ext <<_ACEOF
97020 /* end confdefs.h. */
97021 #include <math.h>
97022 #ifdef HAVE_IEEEFP_H
97023 #include <ieeefp.h>
97024 #endif
97025
97026 int
97027 main ()
97028 {
97029 _fpclass(0);
97030 ;
97031 return 0;
97032 }
97033 _ACEOF
97034 rm -f conftest.$ac_objext
97035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97036 (eval $ac_compile) 2>conftest.er1
97037 ac_status=$?
97038 grep -v '^ *+' conftest.er1 >conftest.err
97039 rm -f conftest.er1
97040 cat conftest.err >&5
97041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97042 (exit $ac_status); } &&
97043 { ac_try='test -z "$ac_cxx_werror_flag"
97044 || test ! -s conftest.err'
97045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97046 (eval $ac_try) 2>&5
97047 ac_status=$?
97048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97049 (exit $ac_status); }; } &&
97050 { ac_try='test -s conftest.$ac_objext'
97051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97052 (eval $ac_try) 2>&5
97053 ac_status=$?
97054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97055 (exit $ac_status); }; }; then
97056 glibcxx_cv_func__fpclass_use=yes
97057 else
97058 echo "$as_me: failed program was:" >&5
97059 sed 's/^/| /' conftest.$ac_ext >&5
97060
97061 glibcxx_cv_func__fpclass_use=no
97062 fi
97063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97064 ac_ext=c
97065 ac_cpp='$CPP $CPPFLAGS'
97066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97069
97070
97071 fi
97072
97073 fi
97074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
97075 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
97076
97077 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
97078
97079 for ac_func in _fpclass
97080 do
97081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97082 echo "$as_me:$LINENO: checking for $ac_func" >&5
97083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97084 if eval "test \"\${$as_ac_var+set}\" = set"; then
97085 echo $ECHO_N "(cached) $ECHO_C" >&6
97086 else
97087 if test x$gcc_no_link = xyes; then
97088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97090 { (exit 1); exit 1; }; }
97091 fi
97092 cat >conftest.$ac_ext <<_ACEOF
97093 /* confdefs.h. */
97094 _ACEOF
97095 cat confdefs.h >>conftest.$ac_ext
97096 cat >>conftest.$ac_ext <<_ACEOF
97097 /* end confdefs.h. */
97098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97100 #define $ac_func innocuous_$ac_func
97101
97102 /* System header to define __stub macros and hopefully few prototypes,
97103 which can conflict with char $ac_func (); below.
97104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97105 <limits.h> exists even on freestanding compilers. */
97106
97107 #ifdef __STDC__
97108 # include <limits.h>
97109 #else
97110 # include <assert.h>
97111 #endif
97112
97113 #undef $ac_func
97114
97115 /* Override any gcc2 internal prototype to avoid an error. */
97116 #ifdef __cplusplus
97117 extern "C"
97118 {
97119 #endif
97120 /* We use char because int might match the return type of a gcc2
97121 builtin and then its argument prototype would still apply. */
97122 char $ac_func ();
97123 /* The GNU C library defines this for functions which it implements
97124 to always fail with ENOSYS. Some functions are actually named
97125 something starting with __ and the normal name is an alias. */
97126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97127 choke me
97128 #else
97129 char (*f) () = $ac_func;
97130 #endif
97131 #ifdef __cplusplus
97132 }
97133 #endif
97134
97135 int
97136 main ()
97137 {
97138 return f != $ac_func;
97139 ;
97140 return 0;
97141 }
97142 _ACEOF
97143 rm -f conftest.$ac_objext conftest$ac_exeext
97144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97145 (eval $ac_link) 2>conftest.er1
97146 ac_status=$?
97147 grep -v '^ *+' conftest.er1 >conftest.err
97148 rm -f conftest.er1
97149 cat conftest.err >&5
97150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97151 (exit $ac_status); } &&
97152 { ac_try='test -z "$ac_c_werror_flag"
97153 || test ! -s conftest.err'
97154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97155 (eval $ac_try) 2>&5
97156 ac_status=$?
97157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97158 (exit $ac_status); }; } &&
97159 { ac_try='test -s conftest$ac_exeext'
97160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97161 (eval $ac_try) 2>&5
97162 ac_status=$?
97163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97164 (exit $ac_status); }; }; then
97165 eval "$as_ac_var=yes"
97166 else
97167 echo "$as_me: failed program was:" >&5
97168 sed 's/^/| /' conftest.$ac_ext >&5
97169
97170 eval "$as_ac_var=no"
97171 fi
97172 rm -f conftest.err conftest.$ac_objext \
97173 conftest$ac_exeext conftest.$ac_ext
97174 fi
97175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97177 if test `eval echo '${'$as_ac_var'}'` = yes; then
97178 cat >>confdefs.h <<_ACEOF
97179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97180 _ACEOF
97181
97182 fi
97183 done
97184
97185 fi
97186 fi
97187
97188
97189
97190
97191
97192
97193 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
97194 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
97195 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
97196 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
97197 echo $ECHO_N "(cached) $ECHO_C" >&6
97198 else
97199
97200
97201
97202 ac_ext=cc
97203 ac_cpp='$CXXCPP $CPPFLAGS'
97204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97207
97208 cat >conftest.$ac_ext <<_ACEOF
97209 /* confdefs.h. */
97210 _ACEOF
97211 cat confdefs.h >>conftest.$ac_ext
97212 cat >>conftest.$ac_ext <<_ACEOF
97213 /* end confdefs.h. */
97214 #include <math.h>
97215 #ifdef HAVE_IEEEFP_H
97216 #include <ieeefp.h>
97217 #endif
97218
97219 int
97220 main ()
97221 {
97222 qfpclass(0);
97223 ;
97224 return 0;
97225 }
97226 _ACEOF
97227 rm -f conftest.$ac_objext
97228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97229 (eval $ac_compile) 2>conftest.er1
97230 ac_status=$?
97231 grep -v '^ *+' conftest.er1 >conftest.err
97232 rm -f conftest.er1
97233 cat conftest.err >&5
97234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97235 (exit $ac_status); } &&
97236 { ac_try='test -z "$ac_cxx_werror_flag"
97237 || test ! -s conftest.err'
97238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97239 (eval $ac_try) 2>&5
97240 ac_status=$?
97241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97242 (exit $ac_status); }; } &&
97243 { ac_try='test -s conftest.$ac_objext'
97244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97245 (eval $ac_try) 2>&5
97246 ac_status=$?
97247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97248 (exit $ac_status); }; }; then
97249 glibcxx_cv_func_qfpclass_use=yes
97250 else
97251 echo "$as_me: failed program was:" >&5
97252 sed 's/^/| /' conftest.$ac_ext >&5
97253
97254 glibcxx_cv_func_qfpclass_use=no
97255 fi
97256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97257 ac_ext=c
97258 ac_cpp='$CPP $CPPFLAGS'
97259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97262
97263
97264 fi
97265
97266 fi
97267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
97268 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
97269
97270 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
97271
97272 for ac_func in qfpclass
97273 do
97274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97275 echo "$as_me:$LINENO: checking for $ac_func" >&5
97276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97277 if eval "test \"\${$as_ac_var+set}\" = set"; then
97278 echo $ECHO_N "(cached) $ECHO_C" >&6
97279 else
97280 if test x$gcc_no_link = xyes; then
97281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97283 { (exit 1); exit 1; }; }
97284 fi
97285 cat >conftest.$ac_ext <<_ACEOF
97286 /* confdefs.h. */
97287 _ACEOF
97288 cat confdefs.h >>conftest.$ac_ext
97289 cat >>conftest.$ac_ext <<_ACEOF
97290 /* end confdefs.h. */
97291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97293 #define $ac_func innocuous_$ac_func
97294
97295 /* System header to define __stub macros and hopefully few prototypes,
97296 which can conflict with char $ac_func (); below.
97297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97298 <limits.h> exists even on freestanding compilers. */
97299
97300 #ifdef __STDC__
97301 # include <limits.h>
97302 #else
97303 # include <assert.h>
97304 #endif
97305
97306 #undef $ac_func
97307
97308 /* Override any gcc2 internal prototype to avoid an error. */
97309 #ifdef __cplusplus
97310 extern "C"
97311 {
97312 #endif
97313 /* We use char because int might match the return type of a gcc2
97314 builtin and then its argument prototype would still apply. */
97315 char $ac_func ();
97316 /* The GNU C library defines this for functions which it implements
97317 to always fail with ENOSYS. Some functions are actually named
97318 something starting with __ and the normal name is an alias. */
97319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97320 choke me
97321 #else
97322 char (*f) () = $ac_func;
97323 #endif
97324 #ifdef __cplusplus
97325 }
97326 #endif
97327
97328 int
97329 main ()
97330 {
97331 return f != $ac_func;
97332 ;
97333 return 0;
97334 }
97335 _ACEOF
97336 rm -f conftest.$ac_objext conftest$ac_exeext
97337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97338 (eval $ac_link) 2>conftest.er1
97339 ac_status=$?
97340 grep -v '^ *+' conftest.er1 >conftest.err
97341 rm -f conftest.er1
97342 cat conftest.err >&5
97343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97344 (exit $ac_status); } &&
97345 { ac_try='test -z "$ac_c_werror_flag"
97346 || test ! -s conftest.err'
97347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97348 (eval $ac_try) 2>&5
97349 ac_status=$?
97350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97351 (exit $ac_status); }; } &&
97352 { ac_try='test -s conftest$ac_exeext'
97353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97354 (eval $ac_try) 2>&5
97355 ac_status=$?
97356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97357 (exit $ac_status); }; }; then
97358 eval "$as_ac_var=yes"
97359 else
97360 echo "$as_me: failed program was:" >&5
97361 sed 's/^/| /' conftest.$ac_ext >&5
97362
97363 eval "$as_ac_var=no"
97364 fi
97365 rm -f conftest.err conftest.$ac_objext \
97366 conftest$ac_exeext conftest.$ac_ext
97367 fi
97368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97370 if test `eval echo '${'$as_ac_var'}'` = yes; then
97371 cat >>confdefs.h <<_ACEOF
97372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97373 _ACEOF
97374
97375 fi
97376 done
97377
97378 else
97379
97380 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
97381 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
97382 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
97383 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
97384 echo $ECHO_N "(cached) $ECHO_C" >&6
97385 else
97386
97387
97388
97389 ac_ext=cc
97390 ac_cpp='$CXXCPP $CPPFLAGS'
97391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97394
97395 cat >conftest.$ac_ext <<_ACEOF
97396 /* confdefs.h. */
97397 _ACEOF
97398 cat confdefs.h >>conftest.$ac_ext
97399 cat >>conftest.$ac_ext <<_ACEOF
97400 /* end confdefs.h. */
97401 #include <math.h>
97402 #ifdef HAVE_IEEEFP_H
97403 #include <ieeefp.h>
97404 #endif
97405
97406 int
97407 main ()
97408 {
97409 _qfpclass(0);
97410 ;
97411 return 0;
97412 }
97413 _ACEOF
97414 rm -f conftest.$ac_objext
97415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97416 (eval $ac_compile) 2>conftest.er1
97417 ac_status=$?
97418 grep -v '^ *+' conftest.er1 >conftest.err
97419 rm -f conftest.er1
97420 cat conftest.err >&5
97421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97422 (exit $ac_status); } &&
97423 { ac_try='test -z "$ac_cxx_werror_flag"
97424 || test ! -s conftest.err'
97425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97426 (eval $ac_try) 2>&5
97427 ac_status=$?
97428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97429 (exit $ac_status); }; } &&
97430 { ac_try='test -s conftest.$ac_objext'
97431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97432 (eval $ac_try) 2>&5
97433 ac_status=$?
97434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97435 (exit $ac_status); }; }; then
97436 glibcxx_cv_func__qfpclass_use=yes
97437 else
97438 echo "$as_me: failed program was:" >&5
97439 sed 's/^/| /' conftest.$ac_ext >&5
97440
97441 glibcxx_cv_func__qfpclass_use=no
97442 fi
97443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97444 ac_ext=c
97445 ac_cpp='$CPP $CPPFLAGS'
97446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97449
97450
97451 fi
97452
97453 fi
97454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
97455 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
97456
97457 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
97458
97459 for ac_func in _qfpclass
97460 do
97461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97462 echo "$as_me:$LINENO: checking for $ac_func" >&5
97463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97464 if eval "test \"\${$as_ac_var+set}\" = set"; then
97465 echo $ECHO_N "(cached) $ECHO_C" >&6
97466 else
97467 if test x$gcc_no_link = xyes; then
97468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97470 { (exit 1); exit 1; }; }
97471 fi
97472 cat >conftest.$ac_ext <<_ACEOF
97473 /* confdefs.h. */
97474 _ACEOF
97475 cat confdefs.h >>conftest.$ac_ext
97476 cat >>conftest.$ac_ext <<_ACEOF
97477 /* end confdefs.h. */
97478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97480 #define $ac_func innocuous_$ac_func
97481
97482 /* System header to define __stub macros and hopefully few prototypes,
97483 which can conflict with char $ac_func (); below.
97484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97485 <limits.h> exists even on freestanding compilers. */
97486
97487 #ifdef __STDC__
97488 # include <limits.h>
97489 #else
97490 # include <assert.h>
97491 #endif
97492
97493 #undef $ac_func
97494
97495 /* Override any gcc2 internal prototype to avoid an error. */
97496 #ifdef __cplusplus
97497 extern "C"
97498 {
97499 #endif
97500 /* We use char because int might match the return type of a gcc2
97501 builtin and then its argument prototype would still apply. */
97502 char $ac_func ();
97503 /* The GNU C library defines this for functions which it implements
97504 to always fail with ENOSYS. Some functions are actually named
97505 something starting with __ and the normal name is an alias. */
97506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97507 choke me
97508 #else
97509 char (*f) () = $ac_func;
97510 #endif
97511 #ifdef __cplusplus
97512 }
97513 #endif
97514
97515 int
97516 main ()
97517 {
97518 return f != $ac_func;
97519 ;
97520 return 0;
97521 }
97522 _ACEOF
97523 rm -f conftest.$ac_objext conftest$ac_exeext
97524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97525 (eval $ac_link) 2>conftest.er1
97526 ac_status=$?
97527 grep -v '^ *+' conftest.er1 >conftest.err
97528 rm -f conftest.er1
97529 cat conftest.err >&5
97530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97531 (exit $ac_status); } &&
97532 { ac_try='test -z "$ac_c_werror_flag"
97533 || test ! -s conftest.err'
97534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97535 (eval $ac_try) 2>&5
97536 ac_status=$?
97537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97538 (exit $ac_status); }; } &&
97539 { ac_try='test -s conftest$ac_exeext'
97540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97541 (eval $ac_try) 2>&5
97542 ac_status=$?
97543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97544 (exit $ac_status); }; }; then
97545 eval "$as_ac_var=yes"
97546 else
97547 echo "$as_me: failed program was:" >&5
97548 sed 's/^/| /' conftest.$ac_ext >&5
97549
97550 eval "$as_ac_var=no"
97551 fi
97552 rm -f conftest.err conftest.$ac_objext \
97553 conftest$ac_exeext conftest.$ac_ext
97554 fi
97555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97557 if test `eval echo '${'$as_ac_var'}'` = yes; then
97558 cat >>confdefs.h <<_ACEOF
97559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97560 _ACEOF
97561
97562 fi
97563 done
97564
97565 fi
97566 fi
97567
97568
97569
97570
97571
97572
97573 echo "$as_me:$LINENO: checking for hypot declaration" >&5
97574 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
97575 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
97576 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
97577 echo $ECHO_N "(cached) $ECHO_C" >&6
97578 else
97579
97580
97581
97582 ac_ext=cc
97583 ac_cpp='$CXXCPP $CPPFLAGS'
97584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97587
97588 cat >conftest.$ac_ext <<_ACEOF
97589 /* confdefs.h. */
97590 _ACEOF
97591 cat confdefs.h >>conftest.$ac_ext
97592 cat >>conftest.$ac_ext <<_ACEOF
97593 /* end confdefs.h. */
97594 #include <math.h>
97595 int
97596 main ()
97597 {
97598 hypot(0, 0);
97599 ;
97600 return 0;
97601 }
97602 _ACEOF
97603 rm -f conftest.$ac_objext
97604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97605 (eval $ac_compile) 2>conftest.er1
97606 ac_status=$?
97607 grep -v '^ *+' conftest.er1 >conftest.err
97608 rm -f conftest.er1
97609 cat conftest.err >&5
97610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97611 (exit $ac_status); } &&
97612 { ac_try='test -z "$ac_cxx_werror_flag"
97613 || test ! -s conftest.err'
97614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97615 (eval $ac_try) 2>&5
97616 ac_status=$?
97617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97618 (exit $ac_status); }; } &&
97619 { ac_try='test -s conftest.$ac_objext'
97620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97621 (eval $ac_try) 2>&5
97622 ac_status=$?
97623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97624 (exit $ac_status); }; }; then
97625 glibcxx_cv_func_hypot_use=yes
97626 else
97627 echo "$as_me: failed program was:" >&5
97628 sed 's/^/| /' conftest.$ac_ext >&5
97629
97630 glibcxx_cv_func_hypot_use=no
97631 fi
97632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97633 ac_ext=c
97634 ac_cpp='$CPP $CPPFLAGS'
97635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97638
97639
97640 fi
97641
97642 fi
97643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
97644 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
97645
97646 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
97647
97648 for ac_func in hypot
97649 do
97650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97651 echo "$as_me:$LINENO: checking for $ac_func" >&5
97652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97653 if eval "test \"\${$as_ac_var+set}\" = set"; then
97654 echo $ECHO_N "(cached) $ECHO_C" >&6
97655 else
97656 if test x$gcc_no_link = xyes; then
97657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97659 { (exit 1); exit 1; }; }
97660 fi
97661 cat >conftest.$ac_ext <<_ACEOF
97662 /* confdefs.h. */
97663 _ACEOF
97664 cat confdefs.h >>conftest.$ac_ext
97665 cat >>conftest.$ac_ext <<_ACEOF
97666 /* end confdefs.h. */
97667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97669 #define $ac_func innocuous_$ac_func
97670
97671 /* System header to define __stub macros and hopefully few prototypes,
97672 which can conflict with char $ac_func (); below.
97673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97674 <limits.h> exists even on freestanding compilers. */
97675
97676 #ifdef __STDC__
97677 # include <limits.h>
97678 #else
97679 # include <assert.h>
97680 #endif
97681
97682 #undef $ac_func
97683
97684 /* Override any gcc2 internal prototype to avoid an error. */
97685 #ifdef __cplusplus
97686 extern "C"
97687 {
97688 #endif
97689 /* We use char because int might match the return type of a gcc2
97690 builtin and then its argument prototype would still apply. */
97691 char $ac_func ();
97692 /* The GNU C library defines this for functions which it implements
97693 to always fail with ENOSYS. Some functions are actually named
97694 something starting with __ and the normal name is an alias. */
97695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97696 choke me
97697 #else
97698 char (*f) () = $ac_func;
97699 #endif
97700 #ifdef __cplusplus
97701 }
97702 #endif
97703
97704 int
97705 main ()
97706 {
97707 return f != $ac_func;
97708 ;
97709 return 0;
97710 }
97711 _ACEOF
97712 rm -f conftest.$ac_objext conftest$ac_exeext
97713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97714 (eval $ac_link) 2>conftest.er1
97715 ac_status=$?
97716 grep -v '^ *+' conftest.er1 >conftest.err
97717 rm -f conftest.er1
97718 cat conftest.err >&5
97719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97720 (exit $ac_status); } &&
97721 { ac_try='test -z "$ac_c_werror_flag"
97722 || test ! -s conftest.err'
97723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97724 (eval $ac_try) 2>&5
97725 ac_status=$?
97726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97727 (exit $ac_status); }; } &&
97728 { ac_try='test -s conftest$ac_exeext'
97729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97730 (eval $ac_try) 2>&5
97731 ac_status=$?
97732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97733 (exit $ac_status); }; }; then
97734 eval "$as_ac_var=yes"
97735 else
97736 echo "$as_me: failed program was:" >&5
97737 sed 's/^/| /' conftest.$ac_ext >&5
97738
97739 eval "$as_ac_var=no"
97740 fi
97741 rm -f conftest.err conftest.$ac_objext \
97742 conftest$ac_exeext conftest.$ac_ext
97743 fi
97744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97746 if test `eval echo '${'$as_ac_var'}'` = yes; then
97747 cat >>confdefs.h <<_ACEOF
97748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97749 _ACEOF
97750
97751 fi
97752 done
97753
97754 else
97755
97756 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
97757 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
97758 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
97759 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
97760 echo $ECHO_N "(cached) $ECHO_C" >&6
97761 else
97762
97763
97764
97765 ac_ext=cc
97766 ac_cpp='$CXXCPP $CPPFLAGS'
97767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97770
97771 cat >conftest.$ac_ext <<_ACEOF
97772 /* confdefs.h. */
97773 _ACEOF
97774 cat confdefs.h >>conftest.$ac_ext
97775 cat >>conftest.$ac_ext <<_ACEOF
97776 /* end confdefs.h. */
97777 #include <math.h>
97778 int
97779 main ()
97780 {
97781 _hypot(0, 0);
97782 ;
97783 return 0;
97784 }
97785 _ACEOF
97786 rm -f conftest.$ac_objext
97787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97788 (eval $ac_compile) 2>conftest.er1
97789 ac_status=$?
97790 grep -v '^ *+' conftest.er1 >conftest.err
97791 rm -f conftest.er1
97792 cat conftest.err >&5
97793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97794 (exit $ac_status); } &&
97795 { ac_try='test -z "$ac_cxx_werror_flag"
97796 || test ! -s conftest.err'
97797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97798 (eval $ac_try) 2>&5
97799 ac_status=$?
97800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97801 (exit $ac_status); }; } &&
97802 { ac_try='test -s conftest.$ac_objext'
97803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97804 (eval $ac_try) 2>&5
97805 ac_status=$?
97806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97807 (exit $ac_status); }; }; then
97808 glibcxx_cv_func__hypot_use=yes
97809 else
97810 echo "$as_me: failed program was:" >&5
97811 sed 's/^/| /' conftest.$ac_ext >&5
97812
97813 glibcxx_cv_func__hypot_use=no
97814 fi
97815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97816 ac_ext=c
97817 ac_cpp='$CPP $CPPFLAGS'
97818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97821
97822
97823 fi
97824
97825 fi
97826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
97827 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
97828
97829 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
97830
97831 for ac_func in _hypot
97832 do
97833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97834 echo "$as_me:$LINENO: checking for $ac_func" >&5
97835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97836 if eval "test \"\${$as_ac_var+set}\" = set"; then
97837 echo $ECHO_N "(cached) $ECHO_C" >&6
97838 else
97839 if test x$gcc_no_link = xyes; then
97840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97842 { (exit 1); exit 1; }; }
97843 fi
97844 cat >conftest.$ac_ext <<_ACEOF
97845 /* confdefs.h. */
97846 _ACEOF
97847 cat confdefs.h >>conftest.$ac_ext
97848 cat >>conftest.$ac_ext <<_ACEOF
97849 /* end confdefs.h. */
97850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97852 #define $ac_func innocuous_$ac_func
97853
97854 /* System header to define __stub macros and hopefully few prototypes,
97855 which can conflict with char $ac_func (); below.
97856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97857 <limits.h> exists even on freestanding compilers. */
97858
97859 #ifdef __STDC__
97860 # include <limits.h>
97861 #else
97862 # include <assert.h>
97863 #endif
97864
97865 #undef $ac_func
97866
97867 /* Override any gcc2 internal prototype to avoid an error. */
97868 #ifdef __cplusplus
97869 extern "C"
97870 {
97871 #endif
97872 /* We use char because int might match the return type of a gcc2
97873 builtin and then its argument prototype would still apply. */
97874 char $ac_func ();
97875 /* The GNU C library defines this for functions which it implements
97876 to always fail with ENOSYS. Some functions are actually named
97877 something starting with __ and the normal name is an alias. */
97878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97879 choke me
97880 #else
97881 char (*f) () = $ac_func;
97882 #endif
97883 #ifdef __cplusplus
97884 }
97885 #endif
97886
97887 int
97888 main ()
97889 {
97890 return f != $ac_func;
97891 ;
97892 return 0;
97893 }
97894 _ACEOF
97895 rm -f conftest.$ac_objext conftest$ac_exeext
97896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97897 (eval $ac_link) 2>conftest.er1
97898 ac_status=$?
97899 grep -v '^ *+' conftest.er1 >conftest.err
97900 rm -f conftest.er1
97901 cat conftest.err >&5
97902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97903 (exit $ac_status); } &&
97904 { ac_try='test -z "$ac_c_werror_flag"
97905 || test ! -s conftest.err'
97906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97907 (eval $ac_try) 2>&5
97908 ac_status=$?
97909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97910 (exit $ac_status); }; } &&
97911 { ac_try='test -s conftest$ac_exeext'
97912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97913 (eval $ac_try) 2>&5
97914 ac_status=$?
97915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97916 (exit $ac_status); }; }; then
97917 eval "$as_ac_var=yes"
97918 else
97919 echo "$as_me: failed program was:" >&5
97920 sed 's/^/| /' conftest.$ac_ext >&5
97921
97922 eval "$as_ac_var=no"
97923 fi
97924 rm -f conftest.err conftest.$ac_objext \
97925 conftest$ac_exeext conftest.$ac_ext
97926 fi
97927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97929 if test `eval echo '${'$as_ac_var'}'` = yes; then
97930 cat >>confdefs.h <<_ACEOF
97931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97932 _ACEOF
97933
97934 fi
97935 done
97936
97937 fi
97938 fi
97939
97940
97941
97942
97943
97944
97945 echo "$as_me:$LINENO: checking for float trig functions" >&5
97946 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
97947 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
97948 echo $ECHO_N "(cached) $ECHO_C" >&6
97949 else
97950
97951
97952
97953 ac_ext=cc
97954 ac_cpp='$CXXCPP $CPPFLAGS'
97955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97958
97959 cat >conftest.$ac_ext <<_ACEOF
97960 /* confdefs.h. */
97961 _ACEOF
97962 cat confdefs.h >>conftest.$ac_ext
97963 cat >>conftest.$ac_ext <<_ACEOF
97964 /* end confdefs.h. */
97965 #include <math.h>
97966 int
97967 main ()
97968 {
97969 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
97970 ;
97971 return 0;
97972 }
97973 _ACEOF
97974 rm -f conftest.$ac_objext
97975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97976 (eval $ac_compile) 2>conftest.er1
97977 ac_status=$?
97978 grep -v '^ *+' conftest.er1 >conftest.err
97979 rm -f conftest.er1
97980 cat conftest.err >&5
97981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97982 (exit $ac_status); } &&
97983 { ac_try='test -z "$ac_cxx_werror_flag"
97984 || test ! -s conftest.err'
97985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97986 (eval $ac_try) 2>&5
97987 ac_status=$?
97988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97989 (exit $ac_status); }; } &&
97990 { ac_try='test -s conftest.$ac_objext'
97991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97992 (eval $ac_try) 2>&5
97993 ac_status=$?
97994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97995 (exit $ac_status); }; }; then
97996 glibcxx_cv_func_float_trig_use=yes
97997 else
97998 echo "$as_me: failed program was:" >&5
97999 sed 's/^/| /' conftest.$ac_ext >&5
98000
98001 glibcxx_cv_func_float_trig_use=no
98002 fi
98003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98004 ac_ext=c
98005 ac_cpp='$CPP $CPPFLAGS'
98006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98009
98010 fi
98011
98012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
98013 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
98014 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
98015
98016
98017
98018
98019
98020
98021
98022
98023
98024 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
98025 do
98026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98027 echo "$as_me:$LINENO: checking for $ac_func" >&5
98028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98029 if eval "test \"\${$as_ac_var+set}\" = set"; then
98030 echo $ECHO_N "(cached) $ECHO_C" >&6
98031 else
98032 if test x$gcc_no_link = xyes; then
98033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98035 { (exit 1); exit 1; }; }
98036 fi
98037 cat >conftest.$ac_ext <<_ACEOF
98038 /* confdefs.h. */
98039 _ACEOF
98040 cat confdefs.h >>conftest.$ac_ext
98041 cat >>conftest.$ac_ext <<_ACEOF
98042 /* end confdefs.h. */
98043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98045 #define $ac_func innocuous_$ac_func
98046
98047 /* System header to define __stub macros and hopefully few prototypes,
98048 which can conflict with char $ac_func (); below.
98049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98050 <limits.h> exists even on freestanding compilers. */
98051
98052 #ifdef __STDC__
98053 # include <limits.h>
98054 #else
98055 # include <assert.h>
98056 #endif
98057
98058 #undef $ac_func
98059
98060 /* Override any gcc2 internal prototype to avoid an error. */
98061 #ifdef __cplusplus
98062 extern "C"
98063 {
98064 #endif
98065 /* We use char because int might match the return type of a gcc2
98066 builtin and then its argument prototype would still apply. */
98067 char $ac_func ();
98068 /* The GNU C library defines this for functions which it implements
98069 to always fail with ENOSYS. Some functions are actually named
98070 something starting with __ and the normal name is an alias. */
98071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98072 choke me
98073 #else
98074 char (*f) () = $ac_func;
98075 #endif
98076 #ifdef __cplusplus
98077 }
98078 #endif
98079
98080 int
98081 main ()
98082 {
98083 return f != $ac_func;
98084 ;
98085 return 0;
98086 }
98087 _ACEOF
98088 rm -f conftest.$ac_objext conftest$ac_exeext
98089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98090 (eval $ac_link) 2>conftest.er1
98091 ac_status=$?
98092 grep -v '^ *+' conftest.er1 >conftest.err
98093 rm -f conftest.er1
98094 cat conftest.err >&5
98095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98096 (exit $ac_status); } &&
98097 { ac_try='test -z "$ac_c_werror_flag"
98098 || test ! -s conftest.err'
98099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98100 (eval $ac_try) 2>&5
98101 ac_status=$?
98102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98103 (exit $ac_status); }; } &&
98104 { ac_try='test -s conftest$ac_exeext'
98105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98106 (eval $ac_try) 2>&5
98107 ac_status=$?
98108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98109 (exit $ac_status); }; }; then
98110 eval "$as_ac_var=yes"
98111 else
98112 echo "$as_me: failed program was:" >&5
98113 sed 's/^/| /' conftest.$ac_ext >&5
98114
98115 eval "$as_ac_var=no"
98116 fi
98117 rm -f conftest.err conftest.$ac_objext \
98118 conftest$ac_exeext conftest.$ac_ext
98119 fi
98120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98122 if test `eval echo '${'$as_ac_var'}'` = yes; then
98123 cat >>confdefs.h <<_ACEOF
98124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98125 _ACEOF
98126
98127 fi
98128 done
98129
98130 else
98131 echo "$as_me:$LINENO: checking for _float trig functions" >&5
98132 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
98133 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
98134 echo $ECHO_N "(cached) $ECHO_C" >&6
98135 else
98136
98137
98138
98139 ac_ext=cc
98140 ac_cpp='$CXXCPP $CPPFLAGS'
98141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98144
98145 cat >conftest.$ac_ext <<_ACEOF
98146 /* confdefs.h. */
98147 _ACEOF
98148 cat confdefs.h >>conftest.$ac_ext
98149 cat >>conftest.$ac_ext <<_ACEOF
98150 /* end confdefs.h. */
98151 #include <math.h>
98152 int
98153 main ()
98154 {
98155 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
98156 ;
98157 return 0;
98158 }
98159 _ACEOF
98160 rm -f conftest.$ac_objext
98161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98162 (eval $ac_compile) 2>conftest.er1
98163 ac_status=$?
98164 grep -v '^ *+' conftest.er1 >conftest.err
98165 rm -f conftest.er1
98166 cat conftest.err >&5
98167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98168 (exit $ac_status); } &&
98169 { ac_try='test -z "$ac_cxx_werror_flag"
98170 || test ! -s conftest.err'
98171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98172 (eval $ac_try) 2>&5
98173 ac_status=$?
98174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98175 (exit $ac_status); }; } &&
98176 { ac_try='test -s conftest.$ac_objext'
98177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98178 (eval $ac_try) 2>&5
98179 ac_status=$?
98180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98181 (exit $ac_status); }; }; then
98182 glibcxx_cv_func__float_trig_use=yes
98183 else
98184 echo "$as_me: failed program was:" >&5
98185 sed 's/^/| /' conftest.$ac_ext >&5
98186
98187 glibcxx_cv_func__float_trig_use=no
98188 fi
98189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98190 ac_ext=c
98191 ac_cpp='$CPP $CPPFLAGS'
98192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98195
98196 fi
98197
98198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
98199 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
98200 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
98201
98202
98203
98204
98205
98206
98207
98208
98209
98210 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
98211 do
98212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98213 echo "$as_me:$LINENO: checking for $ac_func" >&5
98214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98215 if eval "test \"\${$as_ac_var+set}\" = set"; then
98216 echo $ECHO_N "(cached) $ECHO_C" >&6
98217 else
98218 if test x$gcc_no_link = xyes; then
98219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98221 { (exit 1); exit 1; }; }
98222 fi
98223 cat >conftest.$ac_ext <<_ACEOF
98224 /* confdefs.h. */
98225 _ACEOF
98226 cat confdefs.h >>conftest.$ac_ext
98227 cat >>conftest.$ac_ext <<_ACEOF
98228 /* end confdefs.h. */
98229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98231 #define $ac_func innocuous_$ac_func
98232
98233 /* System header to define __stub macros and hopefully few prototypes,
98234 which can conflict with char $ac_func (); below.
98235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98236 <limits.h> exists even on freestanding compilers. */
98237
98238 #ifdef __STDC__
98239 # include <limits.h>
98240 #else
98241 # include <assert.h>
98242 #endif
98243
98244 #undef $ac_func
98245
98246 /* Override any gcc2 internal prototype to avoid an error. */
98247 #ifdef __cplusplus
98248 extern "C"
98249 {
98250 #endif
98251 /* We use char because int might match the return type of a gcc2
98252 builtin and then its argument prototype would still apply. */
98253 char $ac_func ();
98254 /* The GNU C library defines this for functions which it implements
98255 to always fail with ENOSYS. Some functions are actually named
98256 something starting with __ and the normal name is an alias. */
98257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98258 choke me
98259 #else
98260 char (*f) () = $ac_func;
98261 #endif
98262 #ifdef __cplusplus
98263 }
98264 #endif
98265
98266 int
98267 main ()
98268 {
98269 return f != $ac_func;
98270 ;
98271 return 0;
98272 }
98273 _ACEOF
98274 rm -f conftest.$ac_objext conftest$ac_exeext
98275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98276 (eval $ac_link) 2>conftest.er1
98277 ac_status=$?
98278 grep -v '^ *+' conftest.er1 >conftest.err
98279 rm -f conftest.er1
98280 cat conftest.err >&5
98281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98282 (exit $ac_status); } &&
98283 { ac_try='test -z "$ac_c_werror_flag"
98284 || test ! -s conftest.err'
98285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98286 (eval $ac_try) 2>&5
98287 ac_status=$?
98288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98289 (exit $ac_status); }; } &&
98290 { ac_try='test -s conftest$ac_exeext'
98291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98292 (eval $ac_try) 2>&5
98293 ac_status=$?
98294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98295 (exit $ac_status); }; }; then
98296 eval "$as_ac_var=yes"
98297 else
98298 echo "$as_me: failed program was:" >&5
98299 sed 's/^/| /' conftest.$ac_ext >&5
98300
98301 eval "$as_ac_var=no"
98302 fi
98303 rm -f conftest.err conftest.$ac_objext \
98304 conftest$ac_exeext conftest.$ac_ext
98305 fi
98306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98308 if test `eval echo '${'$as_ac_var'}'` = yes; then
98309 cat >>confdefs.h <<_ACEOF
98310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98311 _ACEOF
98312
98313 fi
98314 done
98315
98316 fi
98317 fi
98318
98319
98320
98321
98322
98323
98324
98325
98326
98327
98328
98329
98330
98331
98332 echo "$as_me:$LINENO: checking for float round functions" >&5
98333 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
98334 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
98335 echo $ECHO_N "(cached) $ECHO_C" >&6
98336 else
98337
98338
98339
98340 ac_ext=cc
98341 ac_cpp='$CXXCPP $CPPFLAGS'
98342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98345
98346 cat >conftest.$ac_ext <<_ACEOF
98347 /* confdefs.h. */
98348 _ACEOF
98349 cat confdefs.h >>conftest.$ac_ext
98350 cat >>conftest.$ac_ext <<_ACEOF
98351 /* end confdefs.h. */
98352 #include <math.h>
98353 int
98354 main ()
98355 {
98356 ceilf (0); floorf (0);
98357 ;
98358 return 0;
98359 }
98360 _ACEOF
98361 rm -f conftest.$ac_objext
98362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98363 (eval $ac_compile) 2>conftest.er1
98364 ac_status=$?
98365 grep -v '^ *+' conftest.er1 >conftest.err
98366 rm -f conftest.er1
98367 cat conftest.err >&5
98368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98369 (exit $ac_status); } &&
98370 { ac_try='test -z "$ac_cxx_werror_flag"
98371 || test ! -s conftest.err'
98372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98373 (eval $ac_try) 2>&5
98374 ac_status=$?
98375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98376 (exit $ac_status); }; } &&
98377 { ac_try='test -s conftest.$ac_objext'
98378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98379 (eval $ac_try) 2>&5
98380 ac_status=$?
98381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98382 (exit $ac_status); }; }; then
98383 glibcxx_cv_func_float_round_use=yes
98384 else
98385 echo "$as_me: failed program was:" >&5
98386 sed 's/^/| /' conftest.$ac_ext >&5
98387
98388 glibcxx_cv_func_float_round_use=no
98389 fi
98390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98391 ac_ext=c
98392 ac_cpp='$CPP $CPPFLAGS'
98393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98396
98397 fi
98398
98399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
98400 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
98401 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
98402
98403
98404 for ac_func in ceilf floorf
98405 do
98406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98407 echo "$as_me:$LINENO: checking for $ac_func" >&5
98408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98409 if eval "test \"\${$as_ac_var+set}\" = set"; then
98410 echo $ECHO_N "(cached) $ECHO_C" >&6
98411 else
98412 if test x$gcc_no_link = xyes; then
98413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98415 { (exit 1); exit 1; }; }
98416 fi
98417 cat >conftest.$ac_ext <<_ACEOF
98418 /* confdefs.h. */
98419 _ACEOF
98420 cat confdefs.h >>conftest.$ac_ext
98421 cat >>conftest.$ac_ext <<_ACEOF
98422 /* end confdefs.h. */
98423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98425 #define $ac_func innocuous_$ac_func
98426
98427 /* System header to define __stub macros and hopefully few prototypes,
98428 which can conflict with char $ac_func (); below.
98429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98430 <limits.h> exists even on freestanding compilers. */
98431
98432 #ifdef __STDC__
98433 # include <limits.h>
98434 #else
98435 # include <assert.h>
98436 #endif
98437
98438 #undef $ac_func
98439
98440 /* Override any gcc2 internal prototype to avoid an error. */
98441 #ifdef __cplusplus
98442 extern "C"
98443 {
98444 #endif
98445 /* We use char because int might match the return type of a gcc2
98446 builtin and then its argument prototype would still apply. */
98447 char $ac_func ();
98448 /* The GNU C library defines this for functions which it implements
98449 to always fail with ENOSYS. Some functions are actually named
98450 something starting with __ and the normal name is an alias. */
98451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98452 choke me
98453 #else
98454 char (*f) () = $ac_func;
98455 #endif
98456 #ifdef __cplusplus
98457 }
98458 #endif
98459
98460 int
98461 main ()
98462 {
98463 return f != $ac_func;
98464 ;
98465 return 0;
98466 }
98467 _ACEOF
98468 rm -f conftest.$ac_objext conftest$ac_exeext
98469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98470 (eval $ac_link) 2>conftest.er1
98471 ac_status=$?
98472 grep -v '^ *+' conftest.er1 >conftest.err
98473 rm -f conftest.er1
98474 cat conftest.err >&5
98475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98476 (exit $ac_status); } &&
98477 { ac_try='test -z "$ac_c_werror_flag"
98478 || test ! -s conftest.err'
98479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98480 (eval $ac_try) 2>&5
98481 ac_status=$?
98482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98483 (exit $ac_status); }; } &&
98484 { ac_try='test -s conftest$ac_exeext'
98485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98486 (eval $ac_try) 2>&5
98487 ac_status=$?
98488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98489 (exit $ac_status); }; }; then
98490 eval "$as_ac_var=yes"
98491 else
98492 echo "$as_me: failed program was:" >&5
98493 sed 's/^/| /' conftest.$ac_ext >&5
98494
98495 eval "$as_ac_var=no"
98496 fi
98497 rm -f conftest.err conftest.$ac_objext \
98498 conftest$ac_exeext conftest.$ac_ext
98499 fi
98500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98502 if test `eval echo '${'$as_ac_var'}'` = yes; then
98503 cat >>confdefs.h <<_ACEOF
98504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98505 _ACEOF
98506
98507 fi
98508 done
98509
98510 else
98511 echo "$as_me:$LINENO: checking for _float round functions" >&5
98512 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
98513 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
98514 echo $ECHO_N "(cached) $ECHO_C" >&6
98515 else
98516
98517
98518
98519 ac_ext=cc
98520 ac_cpp='$CXXCPP $CPPFLAGS'
98521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98524
98525 cat >conftest.$ac_ext <<_ACEOF
98526 /* confdefs.h. */
98527 _ACEOF
98528 cat confdefs.h >>conftest.$ac_ext
98529 cat >>conftest.$ac_ext <<_ACEOF
98530 /* end confdefs.h. */
98531 #include <math.h>
98532 int
98533 main ()
98534 {
98535 _ceilf (0); _floorf (0);
98536 ;
98537 return 0;
98538 }
98539 _ACEOF
98540 rm -f conftest.$ac_objext
98541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98542 (eval $ac_compile) 2>conftest.er1
98543 ac_status=$?
98544 grep -v '^ *+' conftest.er1 >conftest.err
98545 rm -f conftest.er1
98546 cat conftest.err >&5
98547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98548 (exit $ac_status); } &&
98549 { ac_try='test -z "$ac_cxx_werror_flag"
98550 || test ! -s conftest.err'
98551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98552 (eval $ac_try) 2>&5
98553 ac_status=$?
98554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98555 (exit $ac_status); }; } &&
98556 { ac_try='test -s conftest.$ac_objext'
98557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98558 (eval $ac_try) 2>&5
98559 ac_status=$?
98560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98561 (exit $ac_status); }; }; then
98562 glibcxx_cv_func__float_round_use=yes
98563 else
98564 echo "$as_me: failed program was:" >&5
98565 sed 's/^/| /' conftest.$ac_ext >&5
98566
98567 glibcxx_cv_func__float_round_use=no
98568 fi
98569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98570 ac_ext=c
98571 ac_cpp='$CPP $CPPFLAGS'
98572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98575
98576 fi
98577
98578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
98579 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
98580 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
98581
98582
98583 for ac_func in _ceilf _floorf
98584 do
98585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98586 echo "$as_me:$LINENO: checking for $ac_func" >&5
98587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98588 if eval "test \"\${$as_ac_var+set}\" = set"; then
98589 echo $ECHO_N "(cached) $ECHO_C" >&6
98590 else
98591 if test x$gcc_no_link = xyes; then
98592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98594 { (exit 1); exit 1; }; }
98595 fi
98596 cat >conftest.$ac_ext <<_ACEOF
98597 /* confdefs.h. */
98598 _ACEOF
98599 cat confdefs.h >>conftest.$ac_ext
98600 cat >>conftest.$ac_ext <<_ACEOF
98601 /* end confdefs.h. */
98602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98604 #define $ac_func innocuous_$ac_func
98605
98606 /* System header to define __stub macros and hopefully few prototypes,
98607 which can conflict with char $ac_func (); below.
98608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98609 <limits.h> exists even on freestanding compilers. */
98610
98611 #ifdef __STDC__
98612 # include <limits.h>
98613 #else
98614 # include <assert.h>
98615 #endif
98616
98617 #undef $ac_func
98618
98619 /* Override any gcc2 internal prototype to avoid an error. */
98620 #ifdef __cplusplus
98621 extern "C"
98622 {
98623 #endif
98624 /* We use char because int might match the return type of a gcc2
98625 builtin and then its argument prototype would still apply. */
98626 char $ac_func ();
98627 /* The GNU C library defines this for functions which it implements
98628 to always fail with ENOSYS. Some functions are actually named
98629 something starting with __ and the normal name is an alias. */
98630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98631 choke me
98632 #else
98633 char (*f) () = $ac_func;
98634 #endif
98635 #ifdef __cplusplus
98636 }
98637 #endif
98638
98639 int
98640 main ()
98641 {
98642 return f != $ac_func;
98643 ;
98644 return 0;
98645 }
98646 _ACEOF
98647 rm -f conftest.$ac_objext conftest$ac_exeext
98648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98649 (eval $ac_link) 2>conftest.er1
98650 ac_status=$?
98651 grep -v '^ *+' conftest.er1 >conftest.err
98652 rm -f conftest.er1
98653 cat conftest.err >&5
98654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98655 (exit $ac_status); } &&
98656 { ac_try='test -z "$ac_c_werror_flag"
98657 || test ! -s conftest.err'
98658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98659 (eval $ac_try) 2>&5
98660 ac_status=$?
98661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98662 (exit $ac_status); }; } &&
98663 { ac_try='test -s conftest$ac_exeext'
98664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98665 (eval $ac_try) 2>&5
98666 ac_status=$?
98667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98668 (exit $ac_status); }; }; then
98669 eval "$as_ac_var=yes"
98670 else
98671 echo "$as_me: failed program was:" >&5
98672 sed 's/^/| /' conftest.$ac_ext >&5
98673
98674 eval "$as_ac_var=no"
98675 fi
98676 rm -f conftest.err conftest.$ac_objext \
98677 conftest$ac_exeext conftest.$ac_ext
98678 fi
98679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98681 if test `eval echo '${'$as_ac_var'}'` = yes; then
98682 cat >>confdefs.h <<_ACEOF
98683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98684 _ACEOF
98685
98686 fi
98687 done
98688
98689 fi
98690 fi
98691
98692
98693
98694
98695
98696
98697
98698
98699 echo "$as_me:$LINENO: checking for expf declaration" >&5
98700 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
98701 if test x${glibcxx_cv_func_expf_use+set} != xset; then
98702 if test "${glibcxx_cv_func_expf_use+set}" = set; then
98703 echo $ECHO_N "(cached) $ECHO_C" >&6
98704 else
98705
98706
98707
98708 ac_ext=cc
98709 ac_cpp='$CXXCPP $CPPFLAGS'
98710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98713
98714 cat >conftest.$ac_ext <<_ACEOF
98715 /* confdefs.h. */
98716 _ACEOF
98717 cat confdefs.h >>conftest.$ac_ext
98718 cat >>conftest.$ac_ext <<_ACEOF
98719 /* end confdefs.h. */
98720 #include <math.h>
98721 #ifdef HAVE_IEEEFP_H
98722 #include <ieeefp.h>
98723 #endif
98724
98725 int
98726 main ()
98727 {
98728 expf(0);
98729 ;
98730 return 0;
98731 }
98732 _ACEOF
98733 rm -f conftest.$ac_objext
98734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98735 (eval $ac_compile) 2>conftest.er1
98736 ac_status=$?
98737 grep -v '^ *+' conftest.er1 >conftest.err
98738 rm -f conftest.er1
98739 cat conftest.err >&5
98740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98741 (exit $ac_status); } &&
98742 { ac_try='test -z "$ac_cxx_werror_flag"
98743 || test ! -s conftest.err'
98744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98745 (eval $ac_try) 2>&5
98746 ac_status=$?
98747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98748 (exit $ac_status); }; } &&
98749 { ac_try='test -s conftest.$ac_objext'
98750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98751 (eval $ac_try) 2>&5
98752 ac_status=$?
98753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98754 (exit $ac_status); }; }; then
98755 glibcxx_cv_func_expf_use=yes
98756 else
98757 echo "$as_me: failed program was:" >&5
98758 sed 's/^/| /' conftest.$ac_ext >&5
98759
98760 glibcxx_cv_func_expf_use=no
98761 fi
98762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98763 ac_ext=c
98764 ac_cpp='$CPP $CPPFLAGS'
98765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98768
98769
98770 fi
98771
98772 fi
98773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
98774 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
98775
98776 if test x$glibcxx_cv_func_expf_use = x"yes"; then
98777
98778 for ac_func in expf
98779 do
98780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98781 echo "$as_me:$LINENO: checking for $ac_func" >&5
98782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98783 if eval "test \"\${$as_ac_var+set}\" = set"; then
98784 echo $ECHO_N "(cached) $ECHO_C" >&6
98785 else
98786 if test x$gcc_no_link = xyes; then
98787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98789 { (exit 1); exit 1; }; }
98790 fi
98791 cat >conftest.$ac_ext <<_ACEOF
98792 /* confdefs.h. */
98793 _ACEOF
98794 cat confdefs.h >>conftest.$ac_ext
98795 cat >>conftest.$ac_ext <<_ACEOF
98796 /* end confdefs.h. */
98797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98799 #define $ac_func innocuous_$ac_func
98800
98801 /* System header to define __stub macros and hopefully few prototypes,
98802 which can conflict with char $ac_func (); below.
98803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98804 <limits.h> exists even on freestanding compilers. */
98805
98806 #ifdef __STDC__
98807 # include <limits.h>
98808 #else
98809 # include <assert.h>
98810 #endif
98811
98812 #undef $ac_func
98813
98814 /* Override any gcc2 internal prototype to avoid an error. */
98815 #ifdef __cplusplus
98816 extern "C"
98817 {
98818 #endif
98819 /* We use char because int might match the return type of a gcc2
98820 builtin and then its argument prototype would still apply. */
98821 char $ac_func ();
98822 /* The GNU C library defines this for functions which it implements
98823 to always fail with ENOSYS. Some functions are actually named
98824 something starting with __ and the normal name is an alias. */
98825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98826 choke me
98827 #else
98828 char (*f) () = $ac_func;
98829 #endif
98830 #ifdef __cplusplus
98831 }
98832 #endif
98833
98834 int
98835 main ()
98836 {
98837 return f != $ac_func;
98838 ;
98839 return 0;
98840 }
98841 _ACEOF
98842 rm -f conftest.$ac_objext conftest$ac_exeext
98843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98844 (eval $ac_link) 2>conftest.er1
98845 ac_status=$?
98846 grep -v '^ *+' conftest.er1 >conftest.err
98847 rm -f conftest.er1
98848 cat conftest.err >&5
98849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98850 (exit $ac_status); } &&
98851 { ac_try='test -z "$ac_c_werror_flag"
98852 || test ! -s conftest.err'
98853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98854 (eval $ac_try) 2>&5
98855 ac_status=$?
98856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98857 (exit $ac_status); }; } &&
98858 { ac_try='test -s conftest$ac_exeext'
98859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98860 (eval $ac_try) 2>&5
98861 ac_status=$?
98862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98863 (exit $ac_status); }; }; then
98864 eval "$as_ac_var=yes"
98865 else
98866 echo "$as_me: failed program was:" >&5
98867 sed 's/^/| /' conftest.$ac_ext >&5
98868
98869 eval "$as_ac_var=no"
98870 fi
98871 rm -f conftest.err conftest.$ac_objext \
98872 conftest$ac_exeext conftest.$ac_ext
98873 fi
98874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98876 if test `eval echo '${'$as_ac_var'}'` = yes; then
98877 cat >>confdefs.h <<_ACEOF
98878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98879 _ACEOF
98880
98881 fi
98882 done
98883
98884 else
98885
98886 echo "$as_me:$LINENO: checking for _expf declaration" >&5
98887 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
98888 if test x${glibcxx_cv_func__expf_use+set} != xset; then
98889 if test "${glibcxx_cv_func__expf_use+set}" = set; then
98890 echo $ECHO_N "(cached) $ECHO_C" >&6
98891 else
98892
98893
98894
98895 ac_ext=cc
98896 ac_cpp='$CXXCPP $CPPFLAGS'
98897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98900
98901 cat >conftest.$ac_ext <<_ACEOF
98902 /* confdefs.h. */
98903 _ACEOF
98904 cat confdefs.h >>conftest.$ac_ext
98905 cat >>conftest.$ac_ext <<_ACEOF
98906 /* end confdefs.h. */
98907 #include <math.h>
98908 #ifdef HAVE_IEEEFP_H
98909 #include <ieeefp.h>
98910 #endif
98911
98912 int
98913 main ()
98914 {
98915 _expf(0);
98916 ;
98917 return 0;
98918 }
98919 _ACEOF
98920 rm -f conftest.$ac_objext
98921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98922 (eval $ac_compile) 2>conftest.er1
98923 ac_status=$?
98924 grep -v '^ *+' conftest.er1 >conftest.err
98925 rm -f conftest.er1
98926 cat conftest.err >&5
98927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98928 (exit $ac_status); } &&
98929 { ac_try='test -z "$ac_cxx_werror_flag"
98930 || test ! -s conftest.err'
98931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98932 (eval $ac_try) 2>&5
98933 ac_status=$?
98934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98935 (exit $ac_status); }; } &&
98936 { ac_try='test -s conftest.$ac_objext'
98937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98938 (eval $ac_try) 2>&5
98939 ac_status=$?
98940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98941 (exit $ac_status); }; }; then
98942 glibcxx_cv_func__expf_use=yes
98943 else
98944 echo "$as_me: failed program was:" >&5
98945 sed 's/^/| /' conftest.$ac_ext >&5
98946
98947 glibcxx_cv_func__expf_use=no
98948 fi
98949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98950 ac_ext=c
98951 ac_cpp='$CPP $CPPFLAGS'
98952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98955
98956
98957 fi
98958
98959 fi
98960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
98961 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
98962
98963 if test x$glibcxx_cv_func__expf_use = x"yes"; then
98964
98965 for ac_func in _expf
98966 do
98967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98968 echo "$as_me:$LINENO: checking for $ac_func" >&5
98969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98970 if eval "test \"\${$as_ac_var+set}\" = set"; then
98971 echo $ECHO_N "(cached) $ECHO_C" >&6
98972 else
98973 if test x$gcc_no_link = xyes; then
98974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98976 { (exit 1); exit 1; }; }
98977 fi
98978 cat >conftest.$ac_ext <<_ACEOF
98979 /* confdefs.h. */
98980 _ACEOF
98981 cat confdefs.h >>conftest.$ac_ext
98982 cat >>conftest.$ac_ext <<_ACEOF
98983 /* end confdefs.h. */
98984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98986 #define $ac_func innocuous_$ac_func
98987
98988 /* System header to define __stub macros and hopefully few prototypes,
98989 which can conflict with char $ac_func (); below.
98990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98991 <limits.h> exists even on freestanding compilers. */
98992
98993 #ifdef __STDC__
98994 # include <limits.h>
98995 #else
98996 # include <assert.h>
98997 #endif
98998
98999 #undef $ac_func
99000
99001 /* Override any gcc2 internal prototype to avoid an error. */
99002 #ifdef __cplusplus
99003 extern "C"
99004 {
99005 #endif
99006 /* We use char because int might match the return type of a gcc2
99007 builtin and then its argument prototype would still apply. */
99008 char $ac_func ();
99009 /* The GNU C library defines this for functions which it implements
99010 to always fail with ENOSYS. Some functions are actually named
99011 something starting with __ and the normal name is an alias. */
99012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99013 choke me
99014 #else
99015 char (*f) () = $ac_func;
99016 #endif
99017 #ifdef __cplusplus
99018 }
99019 #endif
99020
99021 int
99022 main ()
99023 {
99024 return f != $ac_func;
99025 ;
99026 return 0;
99027 }
99028 _ACEOF
99029 rm -f conftest.$ac_objext conftest$ac_exeext
99030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99031 (eval $ac_link) 2>conftest.er1
99032 ac_status=$?
99033 grep -v '^ *+' conftest.er1 >conftest.err
99034 rm -f conftest.er1
99035 cat conftest.err >&5
99036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99037 (exit $ac_status); } &&
99038 { ac_try='test -z "$ac_c_werror_flag"
99039 || test ! -s conftest.err'
99040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99041 (eval $ac_try) 2>&5
99042 ac_status=$?
99043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99044 (exit $ac_status); }; } &&
99045 { ac_try='test -s conftest$ac_exeext'
99046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99047 (eval $ac_try) 2>&5
99048 ac_status=$?
99049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99050 (exit $ac_status); }; }; then
99051 eval "$as_ac_var=yes"
99052 else
99053 echo "$as_me: failed program was:" >&5
99054 sed 's/^/| /' conftest.$ac_ext >&5
99055
99056 eval "$as_ac_var=no"
99057 fi
99058 rm -f conftest.err conftest.$ac_objext \
99059 conftest$ac_exeext conftest.$ac_ext
99060 fi
99061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99063 if test `eval echo '${'$as_ac_var'}'` = yes; then
99064 cat >>confdefs.h <<_ACEOF
99065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99066 _ACEOF
99067
99068 fi
99069 done
99070
99071 fi
99072 fi
99073
99074
99075
99076
99077
99078
99079 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
99080 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
99081 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
99082 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
99083 echo $ECHO_N "(cached) $ECHO_C" >&6
99084 else
99085
99086
99087
99088 ac_ext=cc
99089 ac_cpp='$CXXCPP $CPPFLAGS'
99090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99093
99094 cat >conftest.$ac_ext <<_ACEOF
99095 /* confdefs.h. */
99096 _ACEOF
99097 cat confdefs.h >>conftest.$ac_ext
99098 cat >>conftest.$ac_ext <<_ACEOF
99099 /* end confdefs.h. */
99100 #include <math.h>
99101 #ifdef HAVE_IEEEFP_H
99102 #include <ieeefp.h>
99103 #endif
99104
99105 int
99106 main ()
99107 {
99108 isnanf(0);
99109 ;
99110 return 0;
99111 }
99112 _ACEOF
99113 rm -f conftest.$ac_objext
99114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99115 (eval $ac_compile) 2>conftest.er1
99116 ac_status=$?
99117 grep -v '^ *+' conftest.er1 >conftest.err
99118 rm -f conftest.er1
99119 cat conftest.err >&5
99120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99121 (exit $ac_status); } &&
99122 { ac_try='test -z "$ac_cxx_werror_flag"
99123 || test ! -s conftest.err'
99124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99125 (eval $ac_try) 2>&5
99126 ac_status=$?
99127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99128 (exit $ac_status); }; } &&
99129 { ac_try='test -s conftest.$ac_objext'
99130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99131 (eval $ac_try) 2>&5
99132 ac_status=$?
99133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99134 (exit $ac_status); }; }; then
99135 glibcxx_cv_func_isnanf_use=yes
99136 else
99137 echo "$as_me: failed program was:" >&5
99138 sed 's/^/| /' conftest.$ac_ext >&5
99139
99140 glibcxx_cv_func_isnanf_use=no
99141 fi
99142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99143 ac_ext=c
99144 ac_cpp='$CPP $CPPFLAGS'
99145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99148
99149
99150 fi
99151
99152 fi
99153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
99154 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
99155
99156 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
99157
99158 for ac_func in isnanf
99159 do
99160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99161 echo "$as_me:$LINENO: checking for $ac_func" >&5
99162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99163 if eval "test \"\${$as_ac_var+set}\" = set"; then
99164 echo $ECHO_N "(cached) $ECHO_C" >&6
99165 else
99166 if test x$gcc_no_link = xyes; then
99167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99169 { (exit 1); exit 1; }; }
99170 fi
99171 cat >conftest.$ac_ext <<_ACEOF
99172 /* confdefs.h. */
99173 _ACEOF
99174 cat confdefs.h >>conftest.$ac_ext
99175 cat >>conftest.$ac_ext <<_ACEOF
99176 /* end confdefs.h. */
99177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99179 #define $ac_func innocuous_$ac_func
99180
99181 /* System header to define __stub macros and hopefully few prototypes,
99182 which can conflict with char $ac_func (); below.
99183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99184 <limits.h> exists even on freestanding compilers. */
99185
99186 #ifdef __STDC__
99187 # include <limits.h>
99188 #else
99189 # include <assert.h>
99190 #endif
99191
99192 #undef $ac_func
99193
99194 /* Override any gcc2 internal prototype to avoid an error. */
99195 #ifdef __cplusplus
99196 extern "C"
99197 {
99198 #endif
99199 /* We use char because int might match the return type of a gcc2
99200 builtin and then its argument prototype would still apply. */
99201 char $ac_func ();
99202 /* The GNU C library defines this for functions which it implements
99203 to always fail with ENOSYS. Some functions are actually named
99204 something starting with __ and the normal name is an alias. */
99205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99206 choke me
99207 #else
99208 char (*f) () = $ac_func;
99209 #endif
99210 #ifdef __cplusplus
99211 }
99212 #endif
99213
99214 int
99215 main ()
99216 {
99217 return f != $ac_func;
99218 ;
99219 return 0;
99220 }
99221 _ACEOF
99222 rm -f conftest.$ac_objext conftest$ac_exeext
99223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99224 (eval $ac_link) 2>conftest.er1
99225 ac_status=$?
99226 grep -v '^ *+' conftest.er1 >conftest.err
99227 rm -f conftest.er1
99228 cat conftest.err >&5
99229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99230 (exit $ac_status); } &&
99231 { ac_try='test -z "$ac_c_werror_flag"
99232 || test ! -s conftest.err'
99233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99234 (eval $ac_try) 2>&5
99235 ac_status=$?
99236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99237 (exit $ac_status); }; } &&
99238 { ac_try='test -s conftest$ac_exeext'
99239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99240 (eval $ac_try) 2>&5
99241 ac_status=$?
99242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99243 (exit $ac_status); }; }; then
99244 eval "$as_ac_var=yes"
99245 else
99246 echo "$as_me: failed program was:" >&5
99247 sed 's/^/| /' conftest.$ac_ext >&5
99248
99249 eval "$as_ac_var=no"
99250 fi
99251 rm -f conftest.err conftest.$ac_objext \
99252 conftest$ac_exeext conftest.$ac_ext
99253 fi
99254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99256 if test `eval echo '${'$as_ac_var'}'` = yes; then
99257 cat >>confdefs.h <<_ACEOF
99258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99259 _ACEOF
99260
99261 fi
99262 done
99263
99264 else
99265
99266 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
99267 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
99268 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
99269 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
99270 echo $ECHO_N "(cached) $ECHO_C" >&6
99271 else
99272
99273
99274
99275 ac_ext=cc
99276 ac_cpp='$CXXCPP $CPPFLAGS'
99277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99280
99281 cat >conftest.$ac_ext <<_ACEOF
99282 /* confdefs.h. */
99283 _ACEOF
99284 cat confdefs.h >>conftest.$ac_ext
99285 cat >>conftest.$ac_ext <<_ACEOF
99286 /* end confdefs.h. */
99287 #include <math.h>
99288 #ifdef HAVE_IEEEFP_H
99289 #include <ieeefp.h>
99290 #endif
99291
99292 int
99293 main ()
99294 {
99295 _isnanf(0);
99296 ;
99297 return 0;
99298 }
99299 _ACEOF
99300 rm -f conftest.$ac_objext
99301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99302 (eval $ac_compile) 2>conftest.er1
99303 ac_status=$?
99304 grep -v '^ *+' conftest.er1 >conftest.err
99305 rm -f conftest.er1
99306 cat conftest.err >&5
99307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99308 (exit $ac_status); } &&
99309 { ac_try='test -z "$ac_cxx_werror_flag"
99310 || test ! -s conftest.err'
99311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99312 (eval $ac_try) 2>&5
99313 ac_status=$?
99314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99315 (exit $ac_status); }; } &&
99316 { ac_try='test -s conftest.$ac_objext'
99317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99318 (eval $ac_try) 2>&5
99319 ac_status=$?
99320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99321 (exit $ac_status); }; }; then
99322 glibcxx_cv_func__isnanf_use=yes
99323 else
99324 echo "$as_me: failed program was:" >&5
99325 sed 's/^/| /' conftest.$ac_ext >&5
99326
99327 glibcxx_cv_func__isnanf_use=no
99328 fi
99329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99330 ac_ext=c
99331 ac_cpp='$CPP $CPPFLAGS'
99332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99335
99336
99337 fi
99338
99339 fi
99340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
99341 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
99342
99343 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
99344
99345 for ac_func in _isnanf
99346 do
99347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99348 echo "$as_me:$LINENO: checking for $ac_func" >&5
99349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99350 if eval "test \"\${$as_ac_var+set}\" = set"; then
99351 echo $ECHO_N "(cached) $ECHO_C" >&6
99352 else
99353 if test x$gcc_no_link = xyes; then
99354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99356 { (exit 1); exit 1; }; }
99357 fi
99358 cat >conftest.$ac_ext <<_ACEOF
99359 /* confdefs.h. */
99360 _ACEOF
99361 cat confdefs.h >>conftest.$ac_ext
99362 cat >>conftest.$ac_ext <<_ACEOF
99363 /* end confdefs.h. */
99364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99366 #define $ac_func innocuous_$ac_func
99367
99368 /* System header to define __stub macros and hopefully few prototypes,
99369 which can conflict with char $ac_func (); below.
99370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99371 <limits.h> exists even on freestanding compilers. */
99372
99373 #ifdef __STDC__
99374 # include <limits.h>
99375 #else
99376 # include <assert.h>
99377 #endif
99378
99379 #undef $ac_func
99380
99381 /* Override any gcc2 internal prototype to avoid an error. */
99382 #ifdef __cplusplus
99383 extern "C"
99384 {
99385 #endif
99386 /* We use char because int might match the return type of a gcc2
99387 builtin and then its argument prototype would still apply. */
99388 char $ac_func ();
99389 /* The GNU C library defines this for functions which it implements
99390 to always fail with ENOSYS. Some functions are actually named
99391 something starting with __ and the normal name is an alias. */
99392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99393 choke me
99394 #else
99395 char (*f) () = $ac_func;
99396 #endif
99397 #ifdef __cplusplus
99398 }
99399 #endif
99400
99401 int
99402 main ()
99403 {
99404 return f != $ac_func;
99405 ;
99406 return 0;
99407 }
99408 _ACEOF
99409 rm -f conftest.$ac_objext conftest$ac_exeext
99410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99411 (eval $ac_link) 2>conftest.er1
99412 ac_status=$?
99413 grep -v '^ *+' conftest.er1 >conftest.err
99414 rm -f conftest.er1
99415 cat conftest.err >&5
99416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99417 (exit $ac_status); } &&
99418 { ac_try='test -z "$ac_c_werror_flag"
99419 || test ! -s conftest.err'
99420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99421 (eval $ac_try) 2>&5
99422 ac_status=$?
99423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99424 (exit $ac_status); }; } &&
99425 { ac_try='test -s conftest$ac_exeext'
99426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99427 (eval $ac_try) 2>&5
99428 ac_status=$?
99429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99430 (exit $ac_status); }; }; then
99431 eval "$as_ac_var=yes"
99432 else
99433 echo "$as_me: failed program was:" >&5
99434 sed 's/^/| /' conftest.$ac_ext >&5
99435
99436 eval "$as_ac_var=no"
99437 fi
99438 rm -f conftest.err conftest.$ac_objext \
99439 conftest$ac_exeext conftest.$ac_ext
99440 fi
99441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99443 if test `eval echo '${'$as_ac_var'}'` = yes; then
99444 cat >>confdefs.h <<_ACEOF
99445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99446 _ACEOF
99447
99448 fi
99449 done
99450
99451 fi
99452 fi
99453
99454
99455
99456
99457
99458
99459 echo "$as_me:$LINENO: checking for isinff declaration" >&5
99460 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
99461 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
99462 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
99463 echo $ECHO_N "(cached) $ECHO_C" >&6
99464 else
99465
99466
99467
99468 ac_ext=cc
99469 ac_cpp='$CXXCPP $CPPFLAGS'
99470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99473
99474 cat >conftest.$ac_ext <<_ACEOF
99475 /* confdefs.h. */
99476 _ACEOF
99477 cat confdefs.h >>conftest.$ac_ext
99478 cat >>conftest.$ac_ext <<_ACEOF
99479 /* end confdefs.h. */
99480 #include <math.h>
99481 #ifdef HAVE_IEEEFP_H
99482 #include <ieeefp.h>
99483 #endif
99484
99485 int
99486 main ()
99487 {
99488 isinff(0);
99489 ;
99490 return 0;
99491 }
99492 _ACEOF
99493 rm -f conftest.$ac_objext
99494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99495 (eval $ac_compile) 2>conftest.er1
99496 ac_status=$?
99497 grep -v '^ *+' conftest.er1 >conftest.err
99498 rm -f conftest.er1
99499 cat conftest.err >&5
99500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99501 (exit $ac_status); } &&
99502 { ac_try='test -z "$ac_cxx_werror_flag"
99503 || test ! -s conftest.err'
99504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99505 (eval $ac_try) 2>&5
99506 ac_status=$?
99507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99508 (exit $ac_status); }; } &&
99509 { ac_try='test -s conftest.$ac_objext'
99510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99511 (eval $ac_try) 2>&5
99512 ac_status=$?
99513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99514 (exit $ac_status); }; }; then
99515 glibcxx_cv_func_isinff_use=yes
99516 else
99517 echo "$as_me: failed program was:" >&5
99518 sed 's/^/| /' conftest.$ac_ext >&5
99519
99520 glibcxx_cv_func_isinff_use=no
99521 fi
99522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99523 ac_ext=c
99524 ac_cpp='$CPP $CPPFLAGS'
99525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99528
99529
99530 fi
99531
99532 fi
99533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
99534 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
99535
99536 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
99537
99538 for ac_func in isinff
99539 do
99540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99541 echo "$as_me:$LINENO: checking for $ac_func" >&5
99542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99543 if eval "test \"\${$as_ac_var+set}\" = set"; then
99544 echo $ECHO_N "(cached) $ECHO_C" >&6
99545 else
99546 if test x$gcc_no_link = xyes; then
99547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99549 { (exit 1); exit 1; }; }
99550 fi
99551 cat >conftest.$ac_ext <<_ACEOF
99552 /* confdefs.h. */
99553 _ACEOF
99554 cat confdefs.h >>conftest.$ac_ext
99555 cat >>conftest.$ac_ext <<_ACEOF
99556 /* end confdefs.h. */
99557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99559 #define $ac_func innocuous_$ac_func
99560
99561 /* System header to define __stub macros and hopefully few prototypes,
99562 which can conflict with char $ac_func (); below.
99563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99564 <limits.h> exists even on freestanding compilers. */
99565
99566 #ifdef __STDC__
99567 # include <limits.h>
99568 #else
99569 # include <assert.h>
99570 #endif
99571
99572 #undef $ac_func
99573
99574 /* Override any gcc2 internal prototype to avoid an error. */
99575 #ifdef __cplusplus
99576 extern "C"
99577 {
99578 #endif
99579 /* We use char because int might match the return type of a gcc2
99580 builtin and then its argument prototype would still apply. */
99581 char $ac_func ();
99582 /* The GNU C library defines this for functions which it implements
99583 to always fail with ENOSYS. Some functions are actually named
99584 something starting with __ and the normal name is an alias. */
99585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99586 choke me
99587 #else
99588 char (*f) () = $ac_func;
99589 #endif
99590 #ifdef __cplusplus
99591 }
99592 #endif
99593
99594 int
99595 main ()
99596 {
99597 return f != $ac_func;
99598 ;
99599 return 0;
99600 }
99601 _ACEOF
99602 rm -f conftest.$ac_objext conftest$ac_exeext
99603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99604 (eval $ac_link) 2>conftest.er1
99605 ac_status=$?
99606 grep -v '^ *+' conftest.er1 >conftest.err
99607 rm -f conftest.er1
99608 cat conftest.err >&5
99609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99610 (exit $ac_status); } &&
99611 { ac_try='test -z "$ac_c_werror_flag"
99612 || test ! -s conftest.err'
99613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99614 (eval $ac_try) 2>&5
99615 ac_status=$?
99616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99617 (exit $ac_status); }; } &&
99618 { ac_try='test -s conftest$ac_exeext'
99619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99620 (eval $ac_try) 2>&5
99621 ac_status=$?
99622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99623 (exit $ac_status); }; }; then
99624 eval "$as_ac_var=yes"
99625 else
99626 echo "$as_me: failed program was:" >&5
99627 sed 's/^/| /' conftest.$ac_ext >&5
99628
99629 eval "$as_ac_var=no"
99630 fi
99631 rm -f conftest.err conftest.$ac_objext \
99632 conftest$ac_exeext conftest.$ac_ext
99633 fi
99634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99636 if test `eval echo '${'$as_ac_var'}'` = yes; then
99637 cat >>confdefs.h <<_ACEOF
99638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99639 _ACEOF
99640
99641 fi
99642 done
99643
99644 else
99645
99646 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
99647 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
99648 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
99649 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
99650 echo $ECHO_N "(cached) $ECHO_C" >&6
99651 else
99652
99653
99654
99655 ac_ext=cc
99656 ac_cpp='$CXXCPP $CPPFLAGS'
99657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99660
99661 cat >conftest.$ac_ext <<_ACEOF
99662 /* confdefs.h. */
99663 _ACEOF
99664 cat confdefs.h >>conftest.$ac_ext
99665 cat >>conftest.$ac_ext <<_ACEOF
99666 /* end confdefs.h. */
99667 #include <math.h>
99668 #ifdef HAVE_IEEEFP_H
99669 #include <ieeefp.h>
99670 #endif
99671
99672 int
99673 main ()
99674 {
99675 _isinff(0);
99676 ;
99677 return 0;
99678 }
99679 _ACEOF
99680 rm -f conftest.$ac_objext
99681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99682 (eval $ac_compile) 2>conftest.er1
99683 ac_status=$?
99684 grep -v '^ *+' conftest.er1 >conftest.err
99685 rm -f conftest.er1
99686 cat conftest.err >&5
99687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99688 (exit $ac_status); } &&
99689 { ac_try='test -z "$ac_cxx_werror_flag"
99690 || test ! -s conftest.err'
99691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99692 (eval $ac_try) 2>&5
99693 ac_status=$?
99694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99695 (exit $ac_status); }; } &&
99696 { ac_try='test -s conftest.$ac_objext'
99697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99698 (eval $ac_try) 2>&5
99699 ac_status=$?
99700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99701 (exit $ac_status); }; }; then
99702 glibcxx_cv_func__isinff_use=yes
99703 else
99704 echo "$as_me: failed program was:" >&5
99705 sed 's/^/| /' conftest.$ac_ext >&5
99706
99707 glibcxx_cv_func__isinff_use=no
99708 fi
99709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99710 ac_ext=c
99711 ac_cpp='$CPP $CPPFLAGS'
99712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99715
99716
99717 fi
99718
99719 fi
99720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
99721 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
99722
99723 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
99724
99725 for ac_func in _isinff
99726 do
99727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99728 echo "$as_me:$LINENO: checking for $ac_func" >&5
99729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99730 if eval "test \"\${$as_ac_var+set}\" = set"; then
99731 echo $ECHO_N "(cached) $ECHO_C" >&6
99732 else
99733 if test x$gcc_no_link = xyes; then
99734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99736 { (exit 1); exit 1; }; }
99737 fi
99738 cat >conftest.$ac_ext <<_ACEOF
99739 /* confdefs.h. */
99740 _ACEOF
99741 cat confdefs.h >>conftest.$ac_ext
99742 cat >>conftest.$ac_ext <<_ACEOF
99743 /* end confdefs.h. */
99744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99746 #define $ac_func innocuous_$ac_func
99747
99748 /* System header to define __stub macros and hopefully few prototypes,
99749 which can conflict with char $ac_func (); below.
99750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99751 <limits.h> exists even on freestanding compilers. */
99752
99753 #ifdef __STDC__
99754 # include <limits.h>
99755 #else
99756 # include <assert.h>
99757 #endif
99758
99759 #undef $ac_func
99760
99761 /* Override any gcc2 internal prototype to avoid an error. */
99762 #ifdef __cplusplus
99763 extern "C"
99764 {
99765 #endif
99766 /* We use char because int might match the return type of a gcc2
99767 builtin and then its argument prototype would still apply. */
99768 char $ac_func ();
99769 /* The GNU C library defines this for functions which it implements
99770 to always fail with ENOSYS. Some functions are actually named
99771 something starting with __ and the normal name is an alias. */
99772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99773 choke me
99774 #else
99775 char (*f) () = $ac_func;
99776 #endif
99777 #ifdef __cplusplus
99778 }
99779 #endif
99780
99781 int
99782 main ()
99783 {
99784 return f != $ac_func;
99785 ;
99786 return 0;
99787 }
99788 _ACEOF
99789 rm -f conftest.$ac_objext conftest$ac_exeext
99790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99791 (eval $ac_link) 2>conftest.er1
99792 ac_status=$?
99793 grep -v '^ *+' conftest.er1 >conftest.err
99794 rm -f conftest.er1
99795 cat conftest.err >&5
99796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99797 (exit $ac_status); } &&
99798 { ac_try='test -z "$ac_c_werror_flag"
99799 || test ! -s conftest.err'
99800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99801 (eval $ac_try) 2>&5
99802 ac_status=$?
99803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99804 (exit $ac_status); }; } &&
99805 { ac_try='test -s conftest$ac_exeext'
99806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99807 (eval $ac_try) 2>&5
99808 ac_status=$?
99809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99810 (exit $ac_status); }; }; then
99811 eval "$as_ac_var=yes"
99812 else
99813 echo "$as_me: failed program was:" >&5
99814 sed 's/^/| /' conftest.$ac_ext >&5
99815
99816 eval "$as_ac_var=no"
99817 fi
99818 rm -f conftest.err conftest.$ac_objext \
99819 conftest$ac_exeext conftest.$ac_ext
99820 fi
99821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99823 if test `eval echo '${'$as_ac_var'}'` = yes; then
99824 cat >>confdefs.h <<_ACEOF
99825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99826 _ACEOF
99827
99828 fi
99829 done
99830
99831 fi
99832 fi
99833
99834
99835
99836
99837
99838
99839 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
99840 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
99841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
99842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
99843 echo $ECHO_N "(cached) $ECHO_C" >&6
99844 else
99845
99846
99847
99848 ac_ext=cc
99849 ac_cpp='$CXXCPP $CPPFLAGS'
99850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99853
99854 cat >conftest.$ac_ext <<_ACEOF
99855 /* confdefs.h. */
99856 _ACEOF
99857 cat confdefs.h >>conftest.$ac_ext
99858 cat >>conftest.$ac_ext <<_ACEOF
99859 /* end confdefs.h. */
99860 #include <math.h>
99861 int
99862 main ()
99863 {
99864 atan2f(0, 0);
99865 ;
99866 return 0;
99867 }
99868 _ACEOF
99869 rm -f conftest.$ac_objext
99870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99871 (eval $ac_compile) 2>conftest.er1
99872 ac_status=$?
99873 grep -v '^ *+' conftest.er1 >conftest.err
99874 rm -f conftest.er1
99875 cat conftest.err >&5
99876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99877 (exit $ac_status); } &&
99878 { ac_try='test -z "$ac_cxx_werror_flag"
99879 || test ! -s conftest.err'
99880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99881 (eval $ac_try) 2>&5
99882 ac_status=$?
99883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99884 (exit $ac_status); }; } &&
99885 { ac_try='test -s conftest.$ac_objext'
99886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99887 (eval $ac_try) 2>&5
99888 ac_status=$?
99889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99890 (exit $ac_status); }; }; then
99891 glibcxx_cv_func_atan2f_use=yes
99892 else
99893 echo "$as_me: failed program was:" >&5
99894 sed 's/^/| /' conftest.$ac_ext >&5
99895
99896 glibcxx_cv_func_atan2f_use=no
99897 fi
99898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99899 ac_ext=c
99900 ac_cpp='$CPP $CPPFLAGS'
99901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99904
99905
99906 fi
99907
99908 fi
99909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
99910 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
99911
99912 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
99913
99914 for ac_func in atan2f
99915 do
99916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99917 echo "$as_me:$LINENO: checking for $ac_func" >&5
99918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99919 if eval "test \"\${$as_ac_var+set}\" = set"; then
99920 echo $ECHO_N "(cached) $ECHO_C" >&6
99921 else
99922 if test x$gcc_no_link = xyes; then
99923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99925 { (exit 1); exit 1; }; }
99926 fi
99927 cat >conftest.$ac_ext <<_ACEOF
99928 /* confdefs.h. */
99929 _ACEOF
99930 cat confdefs.h >>conftest.$ac_ext
99931 cat >>conftest.$ac_ext <<_ACEOF
99932 /* end confdefs.h. */
99933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99935 #define $ac_func innocuous_$ac_func
99936
99937 /* System header to define __stub macros and hopefully few prototypes,
99938 which can conflict with char $ac_func (); below.
99939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99940 <limits.h> exists even on freestanding compilers. */
99941
99942 #ifdef __STDC__
99943 # include <limits.h>
99944 #else
99945 # include <assert.h>
99946 #endif
99947
99948 #undef $ac_func
99949
99950 /* Override any gcc2 internal prototype to avoid an error. */
99951 #ifdef __cplusplus
99952 extern "C"
99953 {
99954 #endif
99955 /* We use char because int might match the return type of a gcc2
99956 builtin and then its argument prototype would still apply. */
99957 char $ac_func ();
99958 /* The GNU C library defines this for functions which it implements
99959 to always fail with ENOSYS. Some functions are actually named
99960 something starting with __ and the normal name is an alias. */
99961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99962 choke me
99963 #else
99964 char (*f) () = $ac_func;
99965 #endif
99966 #ifdef __cplusplus
99967 }
99968 #endif
99969
99970 int
99971 main ()
99972 {
99973 return f != $ac_func;
99974 ;
99975 return 0;
99976 }
99977 _ACEOF
99978 rm -f conftest.$ac_objext conftest$ac_exeext
99979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99980 (eval $ac_link) 2>conftest.er1
99981 ac_status=$?
99982 grep -v '^ *+' conftest.er1 >conftest.err
99983 rm -f conftest.er1
99984 cat conftest.err >&5
99985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99986 (exit $ac_status); } &&
99987 { ac_try='test -z "$ac_c_werror_flag"
99988 || test ! -s conftest.err'
99989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99990 (eval $ac_try) 2>&5
99991 ac_status=$?
99992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99993 (exit $ac_status); }; } &&
99994 { ac_try='test -s conftest$ac_exeext'
99995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99996 (eval $ac_try) 2>&5
99997 ac_status=$?
99998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99999 (exit $ac_status); }; }; then
100000 eval "$as_ac_var=yes"
100001 else
100002 echo "$as_me: failed program was:" >&5
100003 sed 's/^/| /' conftest.$ac_ext >&5
100004
100005 eval "$as_ac_var=no"
100006 fi
100007 rm -f conftest.err conftest.$ac_objext \
100008 conftest$ac_exeext conftest.$ac_ext
100009 fi
100010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100012 if test `eval echo '${'$as_ac_var'}'` = yes; then
100013 cat >>confdefs.h <<_ACEOF
100014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100015 _ACEOF
100016
100017 fi
100018 done
100019
100020 else
100021
100022 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
100023 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
100024 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
100025 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
100026 echo $ECHO_N "(cached) $ECHO_C" >&6
100027 else
100028
100029
100030
100031 ac_ext=cc
100032 ac_cpp='$CXXCPP $CPPFLAGS'
100033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100036
100037 cat >conftest.$ac_ext <<_ACEOF
100038 /* confdefs.h. */
100039 _ACEOF
100040 cat confdefs.h >>conftest.$ac_ext
100041 cat >>conftest.$ac_ext <<_ACEOF
100042 /* end confdefs.h. */
100043 #include <math.h>
100044 int
100045 main ()
100046 {
100047 _atan2f(0, 0);
100048 ;
100049 return 0;
100050 }
100051 _ACEOF
100052 rm -f conftest.$ac_objext
100053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100054 (eval $ac_compile) 2>conftest.er1
100055 ac_status=$?
100056 grep -v '^ *+' conftest.er1 >conftest.err
100057 rm -f conftest.er1
100058 cat conftest.err >&5
100059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100060 (exit $ac_status); } &&
100061 { ac_try='test -z "$ac_cxx_werror_flag"
100062 || test ! -s conftest.err'
100063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100064 (eval $ac_try) 2>&5
100065 ac_status=$?
100066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100067 (exit $ac_status); }; } &&
100068 { ac_try='test -s conftest.$ac_objext'
100069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100070 (eval $ac_try) 2>&5
100071 ac_status=$?
100072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100073 (exit $ac_status); }; }; then
100074 glibcxx_cv_func__atan2f_use=yes
100075 else
100076 echo "$as_me: failed program was:" >&5
100077 sed 's/^/| /' conftest.$ac_ext >&5
100078
100079 glibcxx_cv_func__atan2f_use=no
100080 fi
100081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100082 ac_ext=c
100083 ac_cpp='$CPP $CPPFLAGS'
100084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100087
100088
100089 fi
100090
100091 fi
100092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
100093 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
100094
100095 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
100096
100097 for ac_func in _atan2f
100098 do
100099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100100 echo "$as_me:$LINENO: checking for $ac_func" >&5
100101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100102 if eval "test \"\${$as_ac_var+set}\" = set"; then
100103 echo $ECHO_N "(cached) $ECHO_C" >&6
100104 else
100105 if test x$gcc_no_link = xyes; then
100106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100108 { (exit 1); exit 1; }; }
100109 fi
100110 cat >conftest.$ac_ext <<_ACEOF
100111 /* confdefs.h. */
100112 _ACEOF
100113 cat confdefs.h >>conftest.$ac_ext
100114 cat >>conftest.$ac_ext <<_ACEOF
100115 /* end confdefs.h. */
100116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100118 #define $ac_func innocuous_$ac_func
100119
100120 /* System header to define __stub macros and hopefully few prototypes,
100121 which can conflict with char $ac_func (); below.
100122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100123 <limits.h> exists even on freestanding compilers. */
100124
100125 #ifdef __STDC__
100126 # include <limits.h>
100127 #else
100128 # include <assert.h>
100129 #endif
100130
100131 #undef $ac_func
100132
100133 /* Override any gcc2 internal prototype to avoid an error. */
100134 #ifdef __cplusplus
100135 extern "C"
100136 {
100137 #endif
100138 /* We use char because int might match the return type of a gcc2
100139 builtin and then its argument prototype would still apply. */
100140 char $ac_func ();
100141 /* The GNU C library defines this for functions which it implements
100142 to always fail with ENOSYS. Some functions are actually named
100143 something starting with __ and the normal name is an alias. */
100144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100145 choke me
100146 #else
100147 char (*f) () = $ac_func;
100148 #endif
100149 #ifdef __cplusplus
100150 }
100151 #endif
100152
100153 int
100154 main ()
100155 {
100156 return f != $ac_func;
100157 ;
100158 return 0;
100159 }
100160 _ACEOF
100161 rm -f conftest.$ac_objext conftest$ac_exeext
100162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100163 (eval $ac_link) 2>conftest.er1
100164 ac_status=$?
100165 grep -v '^ *+' conftest.er1 >conftest.err
100166 rm -f conftest.er1
100167 cat conftest.err >&5
100168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100169 (exit $ac_status); } &&
100170 { ac_try='test -z "$ac_c_werror_flag"
100171 || test ! -s conftest.err'
100172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100173 (eval $ac_try) 2>&5
100174 ac_status=$?
100175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100176 (exit $ac_status); }; } &&
100177 { ac_try='test -s conftest$ac_exeext'
100178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100179 (eval $ac_try) 2>&5
100180 ac_status=$?
100181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100182 (exit $ac_status); }; }; then
100183 eval "$as_ac_var=yes"
100184 else
100185 echo "$as_me: failed program was:" >&5
100186 sed 's/^/| /' conftest.$ac_ext >&5
100187
100188 eval "$as_ac_var=no"
100189 fi
100190 rm -f conftest.err conftest.$ac_objext \
100191 conftest$ac_exeext conftest.$ac_ext
100192 fi
100193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100195 if test `eval echo '${'$as_ac_var'}'` = yes; then
100196 cat >>confdefs.h <<_ACEOF
100197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100198 _ACEOF
100199
100200 fi
100201 done
100202
100203 fi
100204 fi
100205
100206
100207
100208
100209
100210
100211 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
100212 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
100213 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
100214 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
100215 echo $ECHO_N "(cached) $ECHO_C" >&6
100216 else
100217
100218
100219
100220 ac_ext=cc
100221 ac_cpp='$CXXCPP $CPPFLAGS'
100222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100225
100226 cat >conftest.$ac_ext <<_ACEOF
100227 /* confdefs.h. */
100228 _ACEOF
100229 cat confdefs.h >>conftest.$ac_ext
100230 cat >>conftest.$ac_ext <<_ACEOF
100231 /* end confdefs.h. */
100232 #include <math.h>
100233 #ifdef HAVE_IEEEFP_H
100234 #include <ieeefp.h>
100235 #endif
100236
100237 int
100238 main ()
100239 {
100240 fabsf(0);
100241 ;
100242 return 0;
100243 }
100244 _ACEOF
100245 rm -f conftest.$ac_objext
100246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100247 (eval $ac_compile) 2>conftest.er1
100248 ac_status=$?
100249 grep -v '^ *+' conftest.er1 >conftest.err
100250 rm -f conftest.er1
100251 cat conftest.err >&5
100252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100253 (exit $ac_status); } &&
100254 { ac_try='test -z "$ac_cxx_werror_flag"
100255 || test ! -s conftest.err'
100256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100257 (eval $ac_try) 2>&5
100258 ac_status=$?
100259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100260 (exit $ac_status); }; } &&
100261 { ac_try='test -s conftest.$ac_objext'
100262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100263 (eval $ac_try) 2>&5
100264 ac_status=$?
100265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100266 (exit $ac_status); }; }; then
100267 glibcxx_cv_func_fabsf_use=yes
100268 else
100269 echo "$as_me: failed program was:" >&5
100270 sed 's/^/| /' conftest.$ac_ext >&5
100271
100272 glibcxx_cv_func_fabsf_use=no
100273 fi
100274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100275 ac_ext=c
100276 ac_cpp='$CPP $CPPFLAGS'
100277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100280
100281
100282 fi
100283
100284 fi
100285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
100286 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
100287
100288 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
100289
100290 for ac_func in fabsf
100291 do
100292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100293 echo "$as_me:$LINENO: checking for $ac_func" >&5
100294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100295 if eval "test \"\${$as_ac_var+set}\" = set"; then
100296 echo $ECHO_N "(cached) $ECHO_C" >&6
100297 else
100298 if test x$gcc_no_link = xyes; then
100299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100301 { (exit 1); exit 1; }; }
100302 fi
100303 cat >conftest.$ac_ext <<_ACEOF
100304 /* confdefs.h. */
100305 _ACEOF
100306 cat confdefs.h >>conftest.$ac_ext
100307 cat >>conftest.$ac_ext <<_ACEOF
100308 /* end confdefs.h. */
100309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100311 #define $ac_func innocuous_$ac_func
100312
100313 /* System header to define __stub macros and hopefully few prototypes,
100314 which can conflict with char $ac_func (); below.
100315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100316 <limits.h> exists even on freestanding compilers. */
100317
100318 #ifdef __STDC__
100319 # include <limits.h>
100320 #else
100321 # include <assert.h>
100322 #endif
100323
100324 #undef $ac_func
100325
100326 /* Override any gcc2 internal prototype to avoid an error. */
100327 #ifdef __cplusplus
100328 extern "C"
100329 {
100330 #endif
100331 /* We use char because int might match the return type of a gcc2
100332 builtin and then its argument prototype would still apply. */
100333 char $ac_func ();
100334 /* The GNU C library defines this for functions which it implements
100335 to always fail with ENOSYS. Some functions are actually named
100336 something starting with __ and the normal name is an alias. */
100337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100338 choke me
100339 #else
100340 char (*f) () = $ac_func;
100341 #endif
100342 #ifdef __cplusplus
100343 }
100344 #endif
100345
100346 int
100347 main ()
100348 {
100349 return f != $ac_func;
100350 ;
100351 return 0;
100352 }
100353 _ACEOF
100354 rm -f conftest.$ac_objext conftest$ac_exeext
100355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100356 (eval $ac_link) 2>conftest.er1
100357 ac_status=$?
100358 grep -v '^ *+' conftest.er1 >conftest.err
100359 rm -f conftest.er1
100360 cat conftest.err >&5
100361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100362 (exit $ac_status); } &&
100363 { ac_try='test -z "$ac_c_werror_flag"
100364 || test ! -s conftest.err'
100365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100366 (eval $ac_try) 2>&5
100367 ac_status=$?
100368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100369 (exit $ac_status); }; } &&
100370 { ac_try='test -s conftest$ac_exeext'
100371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100372 (eval $ac_try) 2>&5
100373 ac_status=$?
100374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100375 (exit $ac_status); }; }; then
100376 eval "$as_ac_var=yes"
100377 else
100378 echo "$as_me: failed program was:" >&5
100379 sed 's/^/| /' conftest.$ac_ext >&5
100380
100381 eval "$as_ac_var=no"
100382 fi
100383 rm -f conftest.err conftest.$ac_objext \
100384 conftest$ac_exeext conftest.$ac_ext
100385 fi
100386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100388 if test `eval echo '${'$as_ac_var'}'` = yes; then
100389 cat >>confdefs.h <<_ACEOF
100390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100391 _ACEOF
100392
100393 fi
100394 done
100395
100396 else
100397
100398 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
100399 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
100400 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
100401 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
100402 echo $ECHO_N "(cached) $ECHO_C" >&6
100403 else
100404
100405
100406
100407 ac_ext=cc
100408 ac_cpp='$CXXCPP $CPPFLAGS'
100409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100412
100413 cat >conftest.$ac_ext <<_ACEOF
100414 /* confdefs.h. */
100415 _ACEOF
100416 cat confdefs.h >>conftest.$ac_ext
100417 cat >>conftest.$ac_ext <<_ACEOF
100418 /* end confdefs.h. */
100419 #include <math.h>
100420 #ifdef HAVE_IEEEFP_H
100421 #include <ieeefp.h>
100422 #endif
100423
100424 int
100425 main ()
100426 {
100427 _fabsf(0);
100428 ;
100429 return 0;
100430 }
100431 _ACEOF
100432 rm -f conftest.$ac_objext
100433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100434 (eval $ac_compile) 2>conftest.er1
100435 ac_status=$?
100436 grep -v '^ *+' conftest.er1 >conftest.err
100437 rm -f conftest.er1
100438 cat conftest.err >&5
100439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100440 (exit $ac_status); } &&
100441 { ac_try='test -z "$ac_cxx_werror_flag"
100442 || test ! -s conftest.err'
100443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100444 (eval $ac_try) 2>&5
100445 ac_status=$?
100446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100447 (exit $ac_status); }; } &&
100448 { ac_try='test -s conftest.$ac_objext'
100449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100450 (eval $ac_try) 2>&5
100451 ac_status=$?
100452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100453 (exit $ac_status); }; }; then
100454 glibcxx_cv_func__fabsf_use=yes
100455 else
100456 echo "$as_me: failed program was:" >&5
100457 sed 's/^/| /' conftest.$ac_ext >&5
100458
100459 glibcxx_cv_func__fabsf_use=no
100460 fi
100461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100462 ac_ext=c
100463 ac_cpp='$CPP $CPPFLAGS'
100464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100467
100468
100469 fi
100470
100471 fi
100472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
100473 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
100474
100475 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
100476
100477 for ac_func in _fabsf
100478 do
100479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100480 echo "$as_me:$LINENO: checking for $ac_func" >&5
100481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100482 if eval "test \"\${$as_ac_var+set}\" = set"; then
100483 echo $ECHO_N "(cached) $ECHO_C" >&6
100484 else
100485 if test x$gcc_no_link = xyes; then
100486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100488 { (exit 1); exit 1; }; }
100489 fi
100490 cat >conftest.$ac_ext <<_ACEOF
100491 /* confdefs.h. */
100492 _ACEOF
100493 cat confdefs.h >>conftest.$ac_ext
100494 cat >>conftest.$ac_ext <<_ACEOF
100495 /* end confdefs.h. */
100496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100498 #define $ac_func innocuous_$ac_func
100499
100500 /* System header to define __stub macros and hopefully few prototypes,
100501 which can conflict with char $ac_func (); below.
100502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100503 <limits.h> exists even on freestanding compilers. */
100504
100505 #ifdef __STDC__
100506 # include <limits.h>
100507 #else
100508 # include <assert.h>
100509 #endif
100510
100511 #undef $ac_func
100512
100513 /* Override any gcc2 internal prototype to avoid an error. */
100514 #ifdef __cplusplus
100515 extern "C"
100516 {
100517 #endif
100518 /* We use char because int might match the return type of a gcc2
100519 builtin and then its argument prototype would still apply. */
100520 char $ac_func ();
100521 /* The GNU C library defines this for functions which it implements
100522 to always fail with ENOSYS. Some functions are actually named
100523 something starting with __ and the normal name is an alias. */
100524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100525 choke me
100526 #else
100527 char (*f) () = $ac_func;
100528 #endif
100529 #ifdef __cplusplus
100530 }
100531 #endif
100532
100533 int
100534 main ()
100535 {
100536 return f != $ac_func;
100537 ;
100538 return 0;
100539 }
100540 _ACEOF
100541 rm -f conftest.$ac_objext conftest$ac_exeext
100542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100543 (eval $ac_link) 2>conftest.er1
100544 ac_status=$?
100545 grep -v '^ *+' conftest.er1 >conftest.err
100546 rm -f conftest.er1
100547 cat conftest.err >&5
100548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100549 (exit $ac_status); } &&
100550 { ac_try='test -z "$ac_c_werror_flag"
100551 || test ! -s conftest.err'
100552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100553 (eval $ac_try) 2>&5
100554 ac_status=$?
100555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100556 (exit $ac_status); }; } &&
100557 { ac_try='test -s conftest$ac_exeext'
100558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100559 (eval $ac_try) 2>&5
100560 ac_status=$?
100561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100562 (exit $ac_status); }; }; then
100563 eval "$as_ac_var=yes"
100564 else
100565 echo "$as_me: failed program was:" >&5
100566 sed 's/^/| /' conftest.$ac_ext >&5
100567
100568 eval "$as_ac_var=no"
100569 fi
100570 rm -f conftest.err conftest.$ac_objext \
100571 conftest$ac_exeext conftest.$ac_ext
100572 fi
100573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100575 if test `eval echo '${'$as_ac_var'}'` = yes; then
100576 cat >>confdefs.h <<_ACEOF
100577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100578 _ACEOF
100579
100580 fi
100581 done
100582
100583 fi
100584 fi
100585
100586
100587
100588
100589
100590
100591 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
100592 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
100593 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
100594 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
100595 echo $ECHO_N "(cached) $ECHO_C" >&6
100596 else
100597
100598
100599
100600 ac_ext=cc
100601 ac_cpp='$CXXCPP $CPPFLAGS'
100602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100605
100606 cat >conftest.$ac_ext <<_ACEOF
100607 /* confdefs.h. */
100608 _ACEOF
100609 cat confdefs.h >>conftest.$ac_ext
100610 cat >>conftest.$ac_ext <<_ACEOF
100611 /* end confdefs.h. */
100612 #include <math.h>
100613 int
100614 main ()
100615 {
100616 fmodf(0, 0);
100617 ;
100618 return 0;
100619 }
100620 _ACEOF
100621 rm -f conftest.$ac_objext
100622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100623 (eval $ac_compile) 2>conftest.er1
100624 ac_status=$?
100625 grep -v '^ *+' conftest.er1 >conftest.err
100626 rm -f conftest.er1
100627 cat conftest.err >&5
100628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100629 (exit $ac_status); } &&
100630 { ac_try='test -z "$ac_cxx_werror_flag"
100631 || test ! -s conftest.err'
100632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100633 (eval $ac_try) 2>&5
100634 ac_status=$?
100635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100636 (exit $ac_status); }; } &&
100637 { ac_try='test -s conftest.$ac_objext'
100638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100639 (eval $ac_try) 2>&5
100640 ac_status=$?
100641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100642 (exit $ac_status); }; }; then
100643 glibcxx_cv_func_fmodf_use=yes
100644 else
100645 echo "$as_me: failed program was:" >&5
100646 sed 's/^/| /' conftest.$ac_ext >&5
100647
100648 glibcxx_cv_func_fmodf_use=no
100649 fi
100650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100651 ac_ext=c
100652 ac_cpp='$CPP $CPPFLAGS'
100653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100656
100657
100658 fi
100659
100660 fi
100661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
100662 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
100663
100664 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
100665
100666 for ac_func in fmodf
100667 do
100668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100669 echo "$as_me:$LINENO: checking for $ac_func" >&5
100670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100671 if eval "test \"\${$as_ac_var+set}\" = set"; then
100672 echo $ECHO_N "(cached) $ECHO_C" >&6
100673 else
100674 if test x$gcc_no_link = xyes; then
100675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100677 { (exit 1); exit 1; }; }
100678 fi
100679 cat >conftest.$ac_ext <<_ACEOF
100680 /* confdefs.h. */
100681 _ACEOF
100682 cat confdefs.h >>conftest.$ac_ext
100683 cat >>conftest.$ac_ext <<_ACEOF
100684 /* end confdefs.h. */
100685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100687 #define $ac_func innocuous_$ac_func
100688
100689 /* System header to define __stub macros and hopefully few prototypes,
100690 which can conflict with char $ac_func (); below.
100691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100692 <limits.h> exists even on freestanding compilers. */
100693
100694 #ifdef __STDC__
100695 # include <limits.h>
100696 #else
100697 # include <assert.h>
100698 #endif
100699
100700 #undef $ac_func
100701
100702 /* Override any gcc2 internal prototype to avoid an error. */
100703 #ifdef __cplusplus
100704 extern "C"
100705 {
100706 #endif
100707 /* We use char because int might match the return type of a gcc2
100708 builtin and then its argument prototype would still apply. */
100709 char $ac_func ();
100710 /* The GNU C library defines this for functions which it implements
100711 to always fail with ENOSYS. Some functions are actually named
100712 something starting with __ and the normal name is an alias. */
100713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100714 choke me
100715 #else
100716 char (*f) () = $ac_func;
100717 #endif
100718 #ifdef __cplusplus
100719 }
100720 #endif
100721
100722 int
100723 main ()
100724 {
100725 return f != $ac_func;
100726 ;
100727 return 0;
100728 }
100729 _ACEOF
100730 rm -f conftest.$ac_objext conftest$ac_exeext
100731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100732 (eval $ac_link) 2>conftest.er1
100733 ac_status=$?
100734 grep -v '^ *+' conftest.er1 >conftest.err
100735 rm -f conftest.er1
100736 cat conftest.err >&5
100737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100738 (exit $ac_status); } &&
100739 { ac_try='test -z "$ac_c_werror_flag"
100740 || test ! -s conftest.err'
100741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100742 (eval $ac_try) 2>&5
100743 ac_status=$?
100744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100745 (exit $ac_status); }; } &&
100746 { ac_try='test -s conftest$ac_exeext'
100747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100748 (eval $ac_try) 2>&5
100749 ac_status=$?
100750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100751 (exit $ac_status); }; }; then
100752 eval "$as_ac_var=yes"
100753 else
100754 echo "$as_me: failed program was:" >&5
100755 sed 's/^/| /' conftest.$ac_ext >&5
100756
100757 eval "$as_ac_var=no"
100758 fi
100759 rm -f conftest.err conftest.$ac_objext \
100760 conftest$ac_exeext conftest.$ac_ext
100761 fi
100762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100764 if test `eval echo '${'$as_ac_var'}'` = yes; then
100765 cat >>confdefs.h <<_ACEOF
100766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100767 _ACEOF
100768
100769 fi
100770 done
100771
100772 else
100773
100774 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
100775 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
100776 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
100777 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
100778 echo $ECHO_N "(cached) $ECHO_C" >&6
100779 else
100780
100781
100782
100783 ac_ext=cc
100784 ac_cpp='$CXXCPP $CPPFLAGS'
100785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100788
100789 cat >conftest.$ac_ext <<_ACEOF
100790 /* confdefs.h. */
100791 _ACEOF
100792 cat confdefs.h >>conftest.$ac_ext
100793 cat >>conftest.$ac_ext <<_ACEOF
100794 /* end confdefs.h. */
100795 #include <math.h>
100796 int
100797 main ()
100798 {
100799 _fmodf(0, 0);
100800 ;
100801 return 0;
100802 }
100803 _ACEOF
100804 rm -f conftest.$ac_objext
100805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100806 (eval $ac_compile) 2>conftest.er1
100807 ac_status=$?
100808 grep -v '^ *+' conftest.er1 >conftest.err
100809 rm -f conftest.er1
100810 cat conftest.err >&5
100811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100812 (exit $ac_status); } &&
100813 { ac_try='test -z "$ac_cxx_werror_flag"
100814 || test ! -s conftest.err'
100815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100816 (eval $ac_try) 2>&5
100817 ac_status=$?
100818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100819 (exit $ac_status); }; } &&
100820 { ac_try='test -s conftest.$ac_objext'
100821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100822 (eval $ac_try) 2>&5
100823 ac_status=$?
100824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100825 (exit $ac_status); }; }; then
100826 glibcxx_cv_func__fmodf_use=yes
100827 else
100828 echo "$as_me: failed program was:" >&5
100829 sed 's/^/| /' conftest.$ac_ext >&5
100830
100831 glibcxx_cv_func__fmodf_use=no
100832 fi
100833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100834 ac_ext=c
100835 ac_cpp='$CPP $CPPFLAGS'
100836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100839
100840
100841 fi
100842
100843 fi
100844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
100845 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
100846
100847 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
100848
100849 for ac_func in _fmodf
100850 do
100851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100852 echo "$as_me:$LINENO: checking for $ac_func" >&5
100853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100854 if eval "test \"\${$as_ac_var+set}\" = set"; then
100855 echo $ECHO_N "(cached) $ECHO_C" >&6
100856 else
100857 if test x$gcc_no_link = xyes; then
100858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100860 { (exit 1); exit 1; }; }
100861 fi
100862 cat >conftest.$ac_ext <<_ACEOF
100863 /* confdefs.h. */
100864 _ACEOF
100865 cat confdefs.h >>conftest.$ac_ext
100866 cat >>conftest.$ac_ext <<_ACEOF
100867 /* end confdefs.h. */
100868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100870 #define $ac_func innocuous_$ac_func
100871
100872 /* System header to define __stub macros and hopefully few prototypes,
100873 which can conflict with char $ac_func (); below.
100874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100875 <limits.h> exists even on freestanding compilers. */
100876
100877 #ifdef __STDC__
100878 # include <limits.h>
100879 #else
100880 # include <assert.h>
100881 #endif
100882
100883 #undef $ac_func
100884
100885 /* Override any gcc2 internal prototype to avoid an error. */
100886 #ifdef __cplusplus
100887 extern "C"
100888 {
100889 #endif
100890 /* We use char because int might match the return type of a gcc2
100891 builtin and then its argument prototype would still apply. */
100892 char $ac_func ();
100893 /* The GNU C library defines this for functions which it implements
100894 to always fail with ENOSYS. Some functions are actually named
100895 something starting with __ and the normal name is an alias. */
100896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100897 choke me
100898 #else
100899 char (*f) () = $ac_func;
100900 #endif
100901 #ifdef __cplusplus
100902 }
100903 #endif
100904
100905 int
100906 main ()
100907 {
100908 return f != $ac_func;
100909 ;
100910 return 0;
100911 }
100912 _ACEOF
100913 rm -f conftest.$ac_objext conftest$ac_exeext
100914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100915 (eval $ac_link) 2>conftest.er1
100916 ac_status=$?
100917 grep -v '^ *+' conftest.er1 >conftest.err
100918 rm -f conftest.er1
100919 cat conftest.err >&5
100920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100921 (exit $ac_status); } &&
100922 { ac_try='test -z "$ac_c_werror_flag"
100923 || test ! -s conftest.err'
100924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100925 (eval $ac_try) 2>&5
100926 ac_status=$?
100927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100928 (exit $ac_status); }; } &&
100929 { ac_try='test -s conftest$ac_exeext'
100930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100931 (eval $ac_try) 2>&5
100932 ac_status=$?
100933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100934 (exit $ac_status); }; }; then
100935 eval "$as_ac_var=yes"
100936 else
100937 echo "$as_me: failed program was:" >&5
100938 sed 's/^/| /' conftest.$ac_ext >&5
100939
100940 eval "$as_ac_var=no"
100941 fi
100942 rm -f conftest.err conftest.$ac_objext \
100943 conftest$ac_exeext conftest.$ac_ext
100944 fi
100945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100947 if test `eval echo '${'$as_ac_var'}'` = yes; then
100948 cat >>confdefs.h <<_ACEOF
100949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100950 _ACEOF
100951
100952 fi
100953 done
100954
100955 fi
100956 fi
100957
100958
100959
100960
100961
100962
100963 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
100964 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
100965 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
100966 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
100967 echo $ECHO_N "(cached) $ECHO_C" >&6
100968 else
100969
100970
100971
100972 ac_ext=cc
100973 ac_cpp='$CXXCPP $CPPFLAGS'
100974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100977
100978 cat >conftest.$ac_ext <<_ACEOF
100979 /* confdefs.h. */
100980 _ACEOF
100981 cat confdefs.h >>conftest.$ac_ext
100982 cat >>conftest.$ac_ext <<_ACEOF
100983 /* end confdefs.h. */
100984 #include <math.h>
100985 int
100986 main ()
100987 {
100988 frexpf(0, 0);
100989 ;
100990 return 0;
100991 }
100992 _ACEOF
100993 rm -f conftest.$ac_objext
100994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100995 (eval $ac_compile) 2>conftest.er1
100996 ac_status=$?
100997 grep -v '^ *+' conftest.er1 >conftest.err
100998 rm -f conftest.er1
100999 cat conftest.err >&5
101000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101001 (exit $ac_status); } &&
101002 { ac_try='test -z "$ac_cxx_werror_flag"
101003 || test ! -s conftest.err'
101004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101005 (eval $ac_try) 2>&5
101006 ac_status=$?
101007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101008 (exit $ac_status); }; } &&
101009 { ac_try='test -s conftest.$ac_objext'
101010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101011 (eval $ac_try) 2>&5
101012 ac_status=$?
101013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101014 (exit $ac_status); }; }; then
101015 glibcxx_cv_func_frexpf_use=yes
101016 else
101017 echo "$as_me: failed program was:" >&5
101018 sed 's/^/| /' conftest.$ac_ext >&5
101019
101020 glibcxx_cv_func_frexpf_use=no
101021 fi
101022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101023 ac_ext=c
101024 ac_cpp='$CPP $CPPFLAGS'
101025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101028
101029
101030 fi
101031
101032 fi
101033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
101034 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
101035
101036 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
101037
101038 for ac_func in frexpf
101039 do
101040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101041 echo "$as_me:$LINENO: checking for $ac_func" >&5
101042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101043 if eval "test \"\${$as_ac_var+set}\" = set"; then
101044 echo $ECHO_N "(cached) $ECHO_C" >&6
101045 else
101046 if test x$gcc_no_link = xyes; then
101047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101049 { (exit 1); exit 1; }; }
101050 fi
101051 cat >conftest.$ac_ext <<_ACEOF
101052 /* confdefs.h. */
101053 _ACEOF
101054 cat confdefs.h >>conftest.$ac_ext
101055 cat >>conftest.$ac_ext <<_ACEOF
101056 /* end confdefs.h. */
101057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101059 #define $ac_func innocuous_$ac_func
101060
101061 /* System header to define __stub macros and hopefully few prototypes,
101062 which can conflict with char $ac_func (); below.
101063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101064 <limits.h> exists even on freestanding compilers. */
101065
101066 #ifdef __STDC__
101067 # include <limits.h>
101068 #else
101069 # include <assert.h>
101070 #endif
101071
101072 #undef $ac_func
101073
101074 /* Override any gcc2 internal prototype to avoid an error. */
101075 #ifdef __cplusplus
101076 extern "C"
101077 {
101078 #endif
101079 /* We use char because int might match the return type of a gcc2
101080 builtin and then its argument prototype would still apply. */
101081 char $ac_func ();
101082 /* The GNU C library defines this for functions which it implements
101083 to always fail with ENOSYS. Some functions are actually named
101084 something starting with __ and the normal name is an alias. */
101085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101086 choke me
101087 #else
101088 char (*f) () = $ac_func;
101089 #endif
101090 #ifdef __cplusplus
101091 }
101092 #endif
101093
101094 int
101095 main ()
101096 {
101097 return f != $ac_func;
101098 ;
101099 return 0;
101100 }
101101 _ACEOF
101102 rm -f conftest.$ac_objext conftest$ac_exeext
101103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101104 (eval $ac_link) 2>conftest.er1
101105 ac_status=$?
101106 grep -v '^ *+' conftest.er1 >conftest.err
101107 rm -f conftest.er1
101108 cat conftest.err >&5
101109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101110 (exit $ac_status); } &&
101111 { ac_try='test -z "$ac_c_werror_flag"
101112 || test ! -s conftest.err'
101113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101114 (eval $ac_try) 2>&5
101115 ac_status=$?
101116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101117 (exit $ac_status); }; } &&
101118 { ac_try='test -s conftest$ac_exeext'
101119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101120 (eval $ac_try) 2>&5
101121 ac_status=$?
101122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101123 (exit $ac_status); }; }; then
101124 eval "$as_ac_var=yes"
101125 else
101126 echo "$as_me: failed program was:" >&5
101127 sed 's/^/| /' conftest.$ac_ext >&5
101128
101129 eval "$as_ac_var=no"
101130 fi
101131 rm -f conftest.err conftest.$ac_objext \
101132 conftest$ac_exeext conftest.$ac_ext
101133 fi
101134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101136 if test `eval echo '${'$as_ac_var'}'` = yes; then
101137 cat >>confdefs.h <<_ACEOF
101138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101139 _ACEOF
101140
101141 fi
101142 done
101143
101144 else
101145
101146 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
101147 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
101148 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
101149 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
101150 echo $ECHO_N "(cached) $ECHO_C" >&6
101151 else
101152
101153
101154
101155 ac_ext=cc
101156 ac_cpp='$CXXCPP $CPPFLAGS'
101157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101160
101161 cat >conftest.$ac_ext <<_ACEOF
101162 /* confdefs.h. */
101163 _ACEOF
101164 cat confdefs.h >>conftest.$ac_ext
101165 cat >>conftest.$ac_ext <<_ACEOF
101166 /* end confdefs.h. */
101167 #include <math.h>
101168 int
101169 main ()
101170 {
101171 _frexpf(0, 0);
101172 ;
101173 return 0;
101174 }
101175 _ACEOF
101176 rm -f conftest.$ac_objext
101177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101178 (eval $ac_compile) 2>conftest.er1
101179 ac_status=$?
101180 grep -v '^ *+' conftest.er1 >conftest.err
101181 rm -f conftest.er1
101182 cat conftest.err >&5
101183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101184 (exit $ac_status); } &&
101185 { ac_try='test -z "$ac_cxx_werror_flag"
101186 || test ! -s conftest.err'
101187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101188 (eval $ac_try) 2>&5
101189 ac_status=$?
101190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101191 (exit $ac_status); }; } &&
101192 { ac_try='test -s conftest.$ac_objext'
101193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101194 (eval $ac_try) 2>&5
101195 ac_status=$?
101196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101197 (exit $ac_status); }; }; then
101198 glibcxx_cv_func__frexpf_use=yes
101199 else
101200 echo "$as_me: failed program was:" >&5
101201 sed 's/^/| /' conftest.$ac_ext >&5
101202
101203 glibcxx_cv_func__frexpf_use=no
101204 fi
101205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101206 ac_ext=c
101207 ac_cpp='$CPP $CPPFLAGS'
101208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101211
101212
101213 fi
101214
101215 fi
101216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
101217 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
101218
101219 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
101220
101221 for ac_func in _frexpf
101222 do
101223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101224 echo "$as_me:$LINENO: checking for $ac_func" >&5
101225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101226 if eval "test \"\${$as_ac_var+set}\" = set"; then
101227 echo $ECHO_N "(cached) $ECHO_C" >&6
101228 else
101229 if test x$gcc_no_link = xyes; then
101230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101232 { (exit 1); exit 1; }; }
101233 fi
101234 cat >conftest.$ac_ext <<_ACEOF
101235 /* confdefs.h. */
101236 _ACEOF
101237 cat confdefs.h >>conftest.$ac_ext
101238 cat >>conftest.$ac_ext <<_ACEOF
101239 /* end confdefs.h. */
101240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101242 #define $ac_func innocuous_$ac_func
101243
101244 /* System header to define __stub macros and hopefully few prototypes,
101245 which can conflict with char $ac_func (); below.
101246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101247 <limits.h> exists even on freestanding compilers. */
101248
101249 #ifdef __STDC__
101250 # include <limits.h>
101251 #else
101252 # include <assert.h>
101253 #endif
101254
101255 #undef $ac_func
101256
101257 /* Override any gcc2 internal prototype to avoid an error. */
101258 #ifdef __cplusplus
101259 extern "C"
101260 {
101261 #endif
101262 /* We use char because int might match the return type of a gcc2
101263 builtin and then its argument prototype would still apply. */
101264 char $ac_func ();
101265 /* The GNU C library defines this for functions which it implements
101266 to always fail with ENOSYS. Some functions are actually named
101267 something starting with __ and the normal name is an alias. */
101268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101269 choke me
101270 #else
101271 char (*f) () = $ac_func;
101272 #endif
101273 #ifdef __cplusplus
101274 }
101275 #endif
101276
101277 int
101278 main ()
101279 {
101280 return f != $ac_func;
101281 ;
101282 return 0;
101283 }
101284 _ACEOF
101285 rm -f conftest.$ac_objext conftest$ac_exeext
101286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101287 (eval $ac_link) 2>conftest.er1
101288 ac_status=$?
101289 grep -v '^ *+' conftest.er1 >conftest.err
101290 rm -f conftest.er1
101291 cat conftest.err >&5
101292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101293 (exit $ac_status); } &&
101294 { ac_try='test -z "$ac_c_werror_flag"
101295 || test ! -s conftest.err'
101296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101297 (eval $ac_try) 2>&5
101298 ac_status=$?
101299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101300 (exit $ac_status); }; } &&
101301 { ac_try='test -s conftest$ac_exeext'
101302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101303 (eval $ac_try) 2>&5
101304 ac_status=$?
101305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101306 (exit $ac_status); }; }; then
101307 eval "$as_ac_var=yes"
101308 else
101309 echo "$as_me: failed program was:" >&5
101310 sed 's/^/| /' conftest.$ac_ext >&5
101311
101312 eval "$as_ac_var=no"
101313 fi
101314 rm -f conftest.err conftest.$ac_objext \
101315 conftest$ac_exeext conftest.$ac_ext
101316 fi
101317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101319 if test `eval echo '${'$as_ac_var'}'` = yes; then
101320 cat >>confdefs.h <<_ACEOF
101321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101322 _ACEOF
101323
101324 fi
101325 done
101326
101327 fi
101328 fi
101329
101330
101331
101332
101333
101334
101335 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
101336 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
101337 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
101338 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
101339 echo $ECHO_N "(cached) $ECHO_C" >&6
101340 else
101341
101342
101343
101344 ac_ext=cc
101345 ac_cpp='$CXXCPP $CPPFLAGS'
101346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101349
101350 cat >conftest.$ac_ext <<_ACEOF
101351 /* confdefs.h. */
101352 _ACEOF
101353 cat confdefs.h >>conftest.$ac_ext
101354 cat >>conftest.$ac_ext <<_ACEOF
101355 /* end confdefs.h. */
101356 #include <math.h>
101357 int
101358 main ()
101359 {
101360 hypotf(0, 0);
101361 ;
101362 return 0;
101363 }
101364 _ACEOF
101365 rm -f conftest.$ac_objext
101366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101367 (eval $ac_compile) 2>conftest.er1
101368 ac_status=$?
101369 grep -v '^ *+' conftest.er1 >conftest.err
101370 rm -f conftest.er1
101371 cat conftest.err >&5
101372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101373 (exit $ac_status); } &&
101374 { ac_try='test -z "$ac_cxx_werror_flag"
101375 || test ! -s conftest.err'
101376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101377 (eval $ac_try) 2>&5
101378 ac_status=$?
101379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101380 (exit $ac_status); }; } &&
101381 { ac_try='test -s conftest.$ac_objext'
101382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101383 (eval $ac_try) 2>&5
101384 ac_status=$?
101385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101386 (exit $ac_status); }; }; then
101387 glibcxx_cv_func_hypotf_use=yes
101388 else
101389 echo "$as_me: failed program was:" >&5
101390 sed 's/^/| /' conftest.$ac_ext >&5
101391
101392 glibcxx_cv_func_hypotf_use=no
101393 fi
101394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101395 ac_ext=c
101396 ac_cpp='$CPP $CPPFLAGS'
101397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101400
101401
101402 fi
101403
101404 fi
101405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
101406 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
101407
101408 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
101409
101410 for ac_func in hypotf
101411 do
101412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101413 echo "$as_me:$LINENO: checking for $ac_func" >&5
101414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101415 if eval "test \"\${$as_ac_var+set}\" = set"; then
101416 echo $ECHO_N "(cached) $ECHO_C" >&6
101417 else
101418 if test x$gcc_no_link = xyes; then
101419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101421 { (exit 1); exit 1; }; }
101422 fi
101423 cat >conftest.$ac_ext <<_ACEOF
101424 /* confdefs.h. */
101425 _ACEOF
101426 cat confdefs.h >>conftest.$ac_ext
101427 cat >>conftest.$ac_ext <<_ACEOF
101428 /* end confdefs.h. */
101429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101431 #define $ac_func innocuous_$ac_func
101432
101433 /* System header to define __stub macros and hopefully few prototypes,
101434 which can conflict with char $ac_func (); below.
101435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101436 <limits.h> exists even on freestanding compilers. */
101437
101438 #ifdef __STDC__
101439 # include <limits.h>
101440 #else
101441 # include <assert.h>
101442 #endif
101443
101444 #undef $ac_func
101445
101446 /* Override any gcc2 internal prototype to avoid an error. */
101447 #ifdef __cplusplus
101448 extern "C"
101449 {
101450 #endif
101451 /* We use char because int might match the return type of a gcc2
101452 builtin and then its argument prototype would still apply. */
101453 char $ac_func ();
101454 /* The GNU C library defines this for functions which it implements
101455 to always fail with ENOSYS. Some functions are actually named
101456 something starting with __ and the normal name is an alias. */
101457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101458 choke me
101459 #else
101460 char (*f) () = $ac_func;
101461 #endif
101462 #ifdef __cplusplus
101463 }
101464 #endif
101465
101466 int
101467 main ()
101468 {
101469 return f != $ac_func;
101470 ;
101471 return 0;
101472 }
101473 _ACEOF
101474 rm -f conftest.$ac_objext conftest$ac_exeext
101475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101476 (eval $ac_link) 2>conftest.er1
101477 ac_status=$?
101478 grep -v '^ *+' conftest.er1 >conftest.err
101479 rm -f conftest.er1
101480 cat conftest.err >&5
101481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101482 (exit $ac_status); } &&
101483 { ac_try='test -z "$ac_c_werror_flag"
101484 || test ! -s conftest.err'
101485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101486 (eval $ac_try) 2>&5
101487 ac_status=$?
101488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101489 (exit $ac_status); }; } &&
101490 { ac_try='test -s conftest$ac_exeext'
101491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101492 (eval $ac_try) 2>&5
101493 ac_status=$?
101494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101495 (exit $ac_status); }; }; then
101496 eval "$as_ac_var=yes"
101497 else
101498 echo "$as_me: failed program was:" >&5
101499 sed 's/^/| /' conftest.$ac_ext >&5
101500
101501 eval "$as_ac_var=no"
101502 fi
101503 rm -f conftest.err conftest.$ac_objext \
101504 conftest$ac_exeext conftest.$ac_ext
101505 fi
101506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101508 if test `eval echo '${'$as_ac_var'}'` = yes; then
101509 cat >>confdefs.h <<_ACEOF
101510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101511 _ACEOF
101512
101513 fi
101514 done
101515
101516 else
101517
101518 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
101519 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
101520 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
101521 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
101522 echo $ECHO_N "(cached) $ECHO_C" >&6
101523 else
101524
101525
101526
101527 ac_ext=cc
101528 ac_cpp='$CXXCPP $CPPFLAGS'
101529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101532
101533 cat >conftest.$ac_ext <<_ACEOF
101534 /* confdefs.h. */
101535 _ACEOF
101536 cat confdefs.h >>conftest.$ac_ext
101537 cat >>conftest.$ac_ext <<_ACEOF
101538 /* end confdefs.h. */
101539 #include <math.h>
101540 int
101541 main ()
101542 {
101543 _hypotf(0, 0);
101544 ;
101545 return 0;
101546 }
101547 _ACEOF
101548 rm -f conftest.$ac_objext
101549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101550 (eval $ac_compile) 2>conftest.er1
101551 ac_status=$?
101552 grep -v '^ *+' conftest.er1 >conftest.err
101553 rm -f conftest.er1
101554 cat conftest.err >&5
101555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101556 (exit $ac_status); } &&
101557 { ac_try='test -z "$ac_cxx_werror_flag"
101558 || test ! -s conftest.err'
101559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101560 (eval $ac_try) 2>&5
101561 ac_status=$?
101562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101563 (exit $ac_status); }; } &&
101564 { ac_try='test -s conftest.$ac_objext'
101565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101566 (eval $ac_try) 2>&5
101567 ac_status=$?
101568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101569 (exit $ac_status); }; }; then
101570 glibcxx_cv_func__hypotf_use=yes
101571 else
101572 echo "$as_me: failed program was:" >&5
101573 sed 's/^/| /' conftest.$ac_ext >&5
101574
101575 glibcxx_cv_func__hypotf_use=no
101576 fi
101577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101578 ac_ext=c
101579 ac_cpp='$CPP $CPPFLAGS'
101580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101583
101584
101585 fi
101586
101587 fi
101588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
101589 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
101590
101591 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
101592
101593 for ac_func in _hypotf
101594 do
101595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101596 echo "$as_me:$LINENO: checking for $ac_func" >&5
101597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101598 if eval "test \"\${$as_ac_var+set}\" = set"; then
101599 echo $ECHO_N "(cached) $ECHO_C" >&6
101600 else
101601 if test x$gcc_no_link = xyes; then
101602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101604 { (exit 1); exit 1; }; }
101605 fi
101606 cat >conftest.$ac_ext <<_ACEOF
101607 /* confdefs.h. */
101608 _ACEOF
101609 cat confdefs.h >>conftest.$ac_ext
101610 cat >>conftest.$ac_ext <<_ACEOF
101611 /* end confdefs.h. */
101612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101614 #define $ac_func innocuous_$ac_func
101615
101616 /* System header to define __stub macros and hopefully few prototypes,
101617 which can conflict with char $ac_func (); below.
101618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101619 <limits.h> exists even on freestanding compilers. */
101620
101621 #ifdef __STDC__
101622 # include <limits.h>
101623 #else
101624 # include <assert.h>
101625 #endif
101626
101627 #undef $ac_func
101628
101629 /* Override any gcc2 internal prototype to avoid an error. */
101630 #ifdef __cplusplus
101631 extern "C"
101632 {
101633 #endif
101634 /* We use char because int might match the return type of a gcc2
101635 builtin and then its argument prototype would still apply. */
101636 char $ac_func ();
101637 /* The GNU C library defines this for functions which it implements
101638 to always fail with ENOSYS. Some functions are actually named
101639 something starting with __ and the normal name is an alias. */
101640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101641 choke me
101642 #else
101643 char (*f) () = $ac_func;
101644 #endif
101645 #ifdef __cplusplus
101646 }
101647 #endif
101648
101649 int
101650 main ()
101651 {
101652 return f != $ac_func;
101653 ;
101654 return 0;
101655 }
101656 _ACEOF
101657 rm -f conftest.$ac_objext conftest$ac_exeext
101658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101659 (eval $ac_link) 2>conftest.er1
101660 ac_status=$?
101661 grep -v '^ *+' conftest.er1 >conftest.err
101662 rm -f conftest.er1
101663 cat conftest.err >&5
101664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101665 (exit $ac_status); } &&
101666 { ac_try='test -z "$ac_c_werror_flag"
101667 || test ! -s conftest.err'
101668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101669 (eval $ac_try) 2>&5
101670 ac_status=$?
101671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101672 (exit $ac_status); }; } &&
101673 { ac_try='test -s conftest$ac_exeext'
101674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101675 (eval $ac_try) 2>&5
101676 ac_status=$?
101677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101678 (exit $ac_status); }; }; then
101679 eval "$as_ac_var=yes"
101680 else
101681 echo "$as_me: failed program was:" >&5
101682 sed 's/^/| /' conftest.$ac_ext >&5
101683
101684 eval "$as_ac_var=no"
101685 fi
101686 rm -f conftest.err conftest.$ac_objext \
101687 conftest$ac_exeext conftest.$ac_ext
101688 fi
101689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101691 if test `eval echo '${'$as_ac_var'}'` = yes; then
101692 cat >>confdefs.h <<_ACEOF
101693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101694 _ACEOF
101695
101696 fi
101697 done
101698
101699 fi
101700 fi
101701
101702
101703
101704
101705
101706
101707 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
101708 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
101709 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
101710 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
101711 echo $ECHO_N "(cached) $ECHO_C" >&6
101712 else
101713
101714
101715
101716 ac_ext=cc
101717 ac_cpp='$CXXCPP $CPPFLAGS'
101718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101721
101722 cat >conftest.$ac_ext <<_ACEOF
101723 /* confdefs.h. */
101724 _ACEOF
101725 cat confdefs.h >>conftest.$ac_ext
101726 cat >>conftest.$ac_ext <<_ACEOF
101727 /* end confdefs.h. */
101728 #include <math.h>
101729 int
101730 main ()
101731 {
101732 ldexpf(0, 0);
101733 ;
101734 return 0;
101735 }
101736 _ACEOF
101737 rm -f conftest.$ac_objext
101738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101739 (eval $ac_compile) 2>conftest.er1
101740 ac_status=$?
101741 grep -v '^ *+' conftest.er1 >conftest.err
101742 rm -f conftest.er1
101743 cat conftest.err >&5
101744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101745 (exit $ac_status); } &&
101746 { ac_try='test -z "$ac_cxx_werror_flag"
101747 || test ! -s conftest.err'
101748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101749 (eval $ac_try) 2>&5
101750 ac_status=$?
101751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101752 (exit $ac_status); }; } &&
101753 { ac_try='test -s conftest.$ac_objext'
101754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101755 (eval $ac_try) 2>&5
101756 ac_status=$?
101757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101758 (exit $ac_status); }; }; then
101759 glibcxx_cv_func_ldexpf_use=yes
101760 else
101761 echo "$as_me: failed program was:" >&5
101762 sed 's/^/| /' conftest.$ac_ext >&5
101763
101764 glibcxx_cv_func_ldexpf_use=no
101765 fi
101766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101767 ac_ext=c
101768 ac_cpp='$CPP $CPPFLAGS'
101769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101772
101773
101774 fi
101775
101776 fi
101777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
101778 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
101779
101780 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
101781
101782 for ac_func in ldexpf
101783 do
101784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101785 echo "$as_me:$LINENO: checking for $ac_func" >&5
101786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101787 if eval "test \"\${$as_ac_var+set}\" = set"; then
101788 echo $ECHO_N "(cached) $ECHO_C" >&6
101789 else
101790 if test x$gcc_no_link = xyes; then
101791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101793 { (exit 1); exit 1; }; }
101794 fi
101795 cat >conftest.$ac_ext <<_ACEOF
101796 /* confdefs.h. */
101797 _ACEOF
101798 cat confdefs.h >>conftest.$ac_ext
101799 cat >>conftest.$ac_ext <<_ACEOF
101800 /* end confdefs.h. */
101801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101803 #define $ac_func innocuous_$ac_func
101804
101805 /* System header to define __stub macros and hopefully few prototypes,
101806 which can conflict with char $ac_func (); below.
101807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101808 <limits.h> exists even on freestanding compilers. */
101809
101810 #ifdef __STDC__
101811 # include <limits.h>
101812 #else
101813 # include <assert.h>
101814 #endif
101815
101816 #undef $ac_func
101817
101818 /* Override any gcc2 internal prototype to avoid an error. */
101819 #ifdef __cplusplus
101820 extern "C"
101821 {
101822 #endif
101823 /* We use char because int might match the return type of a gcc2
101824 builtin and then its argument prototype would still apply. */
101825 char $ac_func ();
101826 /* The GNU C library defines this for functions which it implements
101827 to always fail with ENOSYS. Some functions are actually named
101828 something starting with __ and the normal name is an alias. */
101829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101830 choke me
101831 #else
101832 char (*f) () = $ac_func;
101833 #endif
101834 #ifdef __cplusplus
101835 }
101836 #endif
101837
101838 int
101839 main ()
101840 {
101841 return f != $ac_func;
101842 ;
101843 return 0;
101844 }
101845 _ACEOF
101846 rm -f conftest.$ac_objext conftest$ac_exeext
101847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101848 (eval $ac_link) 2>conftest.er1
101849 ac_status=$?
101850 grep -v '^ *+' conftest.er1 >conftest.err
101851 rm -f conftest.er1
101852 cat conftest.err >&5
101853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101854 (exit $ac_status); } &&
101855 { ac_try='test -z "$ac_c_werror_flag"
101856 || test ! -s conftest.err'
101857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101858 (eval $ac_try) 2>&5
101859 ac_status=$?
101860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101861 (exit $ac_status); }; } &&
101862 { ac_try='test -s conftest$ac_exeext'
101863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101864 (eval $ac_try) 2>&5
101865 ac_status=$?
101866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101867 (exit $ac_status); }; }; then
101868 eval "$as_ac_var=yes"
101869 else
101870 echo "$as_me: failed program was:" >&5
101871 sed 's/^/| /' conftest.$ac_ext >&5
101872
101873 eval "$as_ac_var=no"
101874 fi
101875 rm -f conftest.err conftest.$ac_objext \
101876 conftest$ac_exeext conftest.$ac_ext
101877 fi
101878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101880 if test `eval echo '${'$as_ac_var'}'` = yes; then
101881 cat >>confdefs.h <<_ACEOF
101882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101883 _ACEOF
101884
101885 fi
101886 done
101887
101888 else
101889
101890 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
101891 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
101892 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
101893 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
101894 echo $ECHO_N "(cached) $ECHO_C" >&6
101895 else
101896
101897
101898
101899 ac_ext=cc
101900 ac_cpp='$CXXCPP $CPPFLAGS'
101901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101904
101905 cat >conftest.$ac_ext <<_ACEOF
101906 /* confdefs.h. */
101907 _ACEOF
101908 cat confdefs.h >>conftest.$ac_ext
101909 cat >>conftest.$ac_ext <<_ACEOF
101910 /* end confdefs.h. */
101911 #include <math.h>
101912 int
101913 main ()
101914 {
101915 _ldexpf(0, 0);
101916 ;
101917 return 0;
101918 }
101919 _ACEOF
101920 rm -f conftest.$ac_objext
101921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101922 (eval $ac_compile) 2>conftest.er1
101923 ac_status=$?
101924 grep -v '^ *+' conftest.er1 >conftest.err
101925 rm -f conftest.er1
101926 cat conftest.err >&5
101927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101928 (exit $ac_status); } &&
101929 { ac_try='test -z "$ac_cxx_werror_flag"
101930 || test ! -s conftest.err'
101931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101932 (eval $ac_try) 2>&5
101933 ac_status=$?
101934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101935 (exit $ac_status); }; } &&
101936 { ac_try='test -s conftest.$ac_objext'
101937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101938 (eval $ac_try) 2>&5
101939 ac_status=$?
101940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101941 (exit $ac_status); }; }; then
101942 glibcxx_cv_func__ldexpf_use=yes
101943 else
101944 echo "$as_me: failed program was:" >&5
101945 sed 's/^/| /' conftest.$ac_ext >&5
101946
101947 glibcxx_cv_func__ldexpf_use=no
101948 fi
101949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101950 ac_ext=c
101951 ac_cpp='$CPP $CPPFLAGS'
101952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101955
101956
101957 fi
101958
101959 fi
101960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
101961 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
101962
101963 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
101964
101965 for ac_func in _ldexpf
101966 do
101967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101968 echo "$as_me:$LINENO: checking for $ac_func" >&5
101969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101970 if eval "test \"\${$as_ac_var+set}\" = set"; then
101971 echo $ECHO_N "(cached) $ECHO_C" >&6
101972 else
101973 if test x$gcc_no_link = xyes; then
101974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101976 { (exit 1); exit 1; }; }
101977 fi
101978 cat >conftest.$ac_ext <<_ACEOF
101979 /* confdefs.h. */
101980 _ACEOF
101981 cat confdefs.h >>conftest.$ac_ext
101982 cat >>conftest.$ac_ext <<_ACEOF
101983 /* end confdefs.h. */
101984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101986 #define $ac_func innocuous_$ac_func
101987
101988 /* System header to define __stub macros and hopefully few prototypes,
101989 which can conflict with char $ac_func (); below.
101990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101991 <limits.h> exists even on freestanding compilers. */
101992
101993 #ifdef __STDC__
101994 # include <limits.h>
101995 #else
101996 # include <assert.h>
101997 #endif
101998
101999 #undef $ac_func
102000
102001 /* Override any gcc2 internal prototype to avoid an error. */
102002 #ifdef __cplusplus
102003 extern "C"
102004 {
102005 #endif
102006 /* We use char because int might match the return type of a gcc2
102007 builtin and then its argument prototype would still apply. */
102008 char $ac_func ();
102009 /* The GNU C library defines this for functions which it implements
102010 to always fail with ENOSYS. Some functions are actually named
102011 something starting with __ and the normal name is an alias. */
102012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102013 choke me
102014 #else
102015 char (*f) () = $ac_func;
102016 #endif
102017 #ifdef __cplusplus
102018 }
102019 #endif
102020
102021 int
102022 main ()
102023 {
102024 return f != $ac_func;
102025 ;
102026 return 0;
102027 }
102028 _ACEOF
102029 rm -f conftest.$ac_objext conftest$ac_exeext
102030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102031 (eval $ac_link) 2>conftest.er1
102032 ac_status=$?
102033 grep -v '^ *+' conftest.er1 >conftest.err
102034 rm -f conftest.er1
102035 cat conftest.err >&5
102036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102037 (exit $ac_status); } &&
102038 { ac_try='test -z "$ac_c_werror_flag"
102039 || test ! -s conftest.err'
102040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102041 (eval $ac_try) 2>&5
102042 ac_status=$?
102043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102044 (exit $ac_status); }; } &&
102045 { ac_try='test -s conftest$ac_exeext'
102046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102047 (eval $ac_try) 2>&5
102048 ac_status=$?
102049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102050 (exit $ac_status); }; }; then
102051 eval "$as_ac_var=yes"
102052 else
102053 echo "$as_me: failed program was:" >&5
102054 sed 's/^/| /' conftest.$ac_ext >&5
102055
102056 eval "$as_ac_var=no"
102057 fi
102058 rm -f conftest.err conftest.$ac_objext \
102059 conftest$ac_exeext conftest.$ac_ext
102060 fi
102061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102063 if test `eval echo '${'$as_ac_var'}'` = yes; then
102064 cat >>confdefs.h <<_ACEOF
102065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102066 _ACEOF
102067
102068 fi
102069 done
102070
102071 fi
102072 fi
102073
102074
102075
102076
102077
102078
102079 echo "$as_me:$LINENO: checking for logf declaration" >&5
102080 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
102081 if test x${glibcxx_cv_func_logf_use+set} != xset; then
102082 if test "${glibcxx_cv_func_logf_use+set}" = set; then
102083 echo $ECHO_N "(cached) $ECHO_C" >&6
102084 else
102085
102086
102087
102088 ac_ext=cc
102089 ac_cpp='$CXXCPP $CPPFLAGS'
102090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102093
102094 cat >conftest.$ac_ext <<_ACEOF
102095 /* confdefs.h. */
102096 _ACEOF
102097 cat confdefs.h >>conftest.$ac_ext
102098 cat >>conftest.$ac_ext <<_ACEOF
102099 /* end confdefs.h. */
102100 #include <math.h>
102101 #ifdef HAVE_IEEEFP_H
102102 #include <ieeefp.h>
102103 #endif
102104
102105 int
102106 main ()
102107 {
102108 logf(0);
102109 ;
102110 return 0;
102111 }
102112 _ACEOF
102113 rm -f conftest.$ac_objext
102114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102115 (eval $ac_compile) 2>conftest.er1
102116 ac_status=$?
102117 grep -v '^ *+' conftest.er1 >conftest.err
102118 rm -f conftest.er1
102119 cat conftest.err >&5
102120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102121 (exit $ac_status); } &&
102122 { ac_try='test -z "$ac_cxx_werror_flag"
102123 || test ! -s conftest.err'
102124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102125 (eval $ac_try) 2>&5
102126 ac_status=$?
102127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102128 (exit $ac_status); }; } &&
102129 { ac_try='test -s conftest.$ac_objext'
102130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102131 (eval $ac_try) 2>&5
102132 ac_status=$?
102133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102134 (exit $ac_status); }; }; then
102135 glibcxx_cv_func_logf_use=yes
102136 else
102137 echo "$as_me: failed program was:" >&5
102138 sed 's/^/| /' conftest.$ac_ext >&5
102139
102140 glibcxx_cv_func_logf_use=no
102141 fi
102142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102143 ac_ext=c
102144 ac_cpp='$CPP $CPPFLAGS'
102145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102148
102149
102150 fi
102151
102152 fi
102153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
102154 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
102155
102156 if test x$glibcxx_cv_func_logf_use = x"yes"; then
102157
102158 for ac_func in logf
102159 do
102160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102161 echo "$as_me:$LINENO: checking for $ac_func" >&5
102162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102163 if eval "test \"\${$as_ac_var+set}\" = set"; then
102164 echo $ECHO_N "(cached) $ECHO_C" >&6
102165 else
102166 if test x$gcc_no_link = xyes; then
102167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102169 { (exit 1); exit 1; }; }
102170 fi
102171 cat >conftest.$ac_ext <<_ACEOF
102172 /* confdefs.h. */
102173 _ACEOF
102174 cat confdefs.h >>conftest.$ac_ext
102175 cat >>conftest.$ac_ext <<_ACEOF
102176 /* end confdefs.h. */
102177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102179 #define $ac_func innocuous_$ac_func
102180
102181 /* System header to define __stub macros and hopefully few prototypes,
102182 which can conflict with char $ac_func (); below.
102183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102184 <limits.h> exists even on freestanding compilers. */
102185
102186 #ifdef __STDC__
102187 # include <limits.h>
102188 #else
102189 # include <assert.h>
102190 #endif
102191
102192 #undef $ac_func
102193
102194 /* Override any gcc2 internal prototype to avoid an error. */
102195 #ifdef __cplusplus
102196 extern "C"
102197 {
102198 #endif
102199 /* We use char because int might match the return type of a gcc2
102200 builtin and then its argument prototype would still apply. */
102201 char $ac_func ();
102202 /* The GNU C library defines this for functions which it implements
102203 to always fail with ENOSYS. Some functions are actually named
102204 something starting with __ and the normal name is an alias. */
102205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102206 choke me
102207 #else
102208 char (*f) () = $ac_func;
102209 #endif
102210 #ifdef __cplusplus
102211 }
102212 #endif
102213
102214 int
102215 main ()
102216 {
102217 return f != $ac_func;
102218 ;
102219 return 0;
102220 }
102221 _ACEOF
102222 rm -f conftest.$ac_objext conftest$ac_exeext
102223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102224 (eval $ac_link) 2>conftest.er1
102225 ac_status=$?
102226 grep -v '^ *+' conftest.er1 >conftest.err
102227 rm -f conftest.er1
102228 cat conftest.err >&5
102229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102230 (exit $ac_status); } &&
102231 { ac_try='test -z "$ac_c_werror_flag"
102232 || test ! -s conftest.err'
102233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102234 (eval $ac_try) 2>&5
102235 ac_status=$?
102236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102237 (exit $ac_status); }; } &&
102238 { ac_try='test -s conftest$ac_exeext'
102239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102240 (eval $ac_try) 2>&5
102241 ac_status=$?
102242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102243 (exit $ac_status); }; }; then
102244 eval "$as_ac_var=yes"
102245 else
102246 echo "$as_me: failed program was:" >&5
102247 sed 's/^/| /' conftest.$ac_ext >&5
102248
102249 eval "$as_ac_var=no"
102250 fi
102251 rm -f conftest.err conftest.$ac_objext \
102252 conftest$ac_exeext conftest.$ac_ext
102253 fi
102254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102256 if test `eval echo '${'$as_ac_var'}'` = yes; then
102257 cat >>confdefs.h <<_ACEOF
102258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102259 _ACEOF
102260
102261 fi
102262 done
102263
102264 else
102265
102266 echo "$as_me:$LINENO: checking for _logf declaration" >&5
102267 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
102268 if test x${glibcxx_cv_func__logf_use+set} != xset; then
102269 if test "${glibcxx_cv_func__logf_use+set}" = set; then
102270 echo $ECHO_N "(cached) $ECHO_C" >&6
102271 else
102272
102273
102274
102275 ac_ext=cc
102276 ac_cpp='$CXXCPP $CPPFLAGS'
102277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102280
102281 cat >conftest.$ac_ext <<_ACEOF
102282 /* confdefs.h. */
102283 _ACEOF
102284 cat confdefs.h >>conftest.$ac_ext
102285 cat >>conftest.$ac_ext <<_ACEOF
102286 /* end confdefs.h. */
102287 #include <math.h>
102288 #ifdef HAVE_IEEEFP_H
102289 #include <ieeefp.h>
102290 #endif
102291
102292 int
102293 main ()
102294 {
102295 _logf(0);
102296 ;
102297 return 0;
102298 }
102299 _ACEOF
102300 rm -f conftest.$ac_objext
102301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102302 (eval $ac_compile) 2>conftest.er1
102303 ac_status=$?
102304 grep -v '^ *+' conftest.er1 >conftest.err
102305 rm -f conftest.er1
102306 cat conftest.err >&5
102307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102308 (exit $ac_status); } &&
102309 { ac_try='test -z "$ac_cxx_werror_flag"
102310 || test ! -s conftest.err'
102311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102312 (eval $ac_try) 2>&5
102313 ac_status=$?
102314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102315 (exit $ac_status); }; } &&
102316 { ac_try='test -s conftest.$ac_objext'
102317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102318 (eval $ac_try) 2>&5
102319 ac_status=$?
102320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102321 (exit $ac_status); }; }; then
102322 glibcxx_cv_func__logf_use=yes
102323 else
102324 echo "$as_me: failed program was:" >&5
102325 sed 's/^/| /' conftest.$ac_ext >&5
102326
102327 glibcxx_cv_func__logf_use=no
102328 fi
102329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102330 ac_ext=c
102331 ac_cpp='$CPP $CPPFLAGS'
102332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102335
102336
102337 fi
102338
102339 fi
102340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
102341 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
102342
102343 if test x$glibcxx_cv_func__logf_use = x"yes"; then
102344
102345 for ac_func in _logf
102346 do
102347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102348 echo "$as_me:$LINENO: checking for $ac_func" >&5
102349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102350 if eval "test \"\${$as_ac_var+set}\" = set"; then
102351 echo $ECHO_N "(cached) $ECHO_C" >&6
102352 else
102353 if test x$gcc_no_link = xyes; then
102354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102356 { (exit 1); exit 1; }; }
102357 fi
102358 cat >conftest.$ac_ext <<_ACEOF
102359 /* confdefs.h. */
102360 _ACEOF
102361 cat confdefs.h >>conftest.$ac_ext
102362 cat >>conftest.$ac_ext <<_ACEOF
102363 /* end confdefs.h. */
102364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102366 #define $ac_func innocuous_$ac_func
102367
102368 /* System header to define __stub macros and hopefully few prototypes,
102369 which can conflict with char $ac_func (); below.
102370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102371 <limits.h> exists even on freestanding compilers. */
102372
102373 #ifdef __STDC__
102374 # include <limits.h>
102375 #else
102376 # include <assert.h>
102377 #endif
102378
102379 #undef $ac_func
102380
102381 /* Override any gcc2 internal prototype to avoid an error. */
102382 #ifdef __cplusplus
102383 extern "C"
102384 {
102385 #endif
102386 /* We use char because int might match the return type of a gcc2
102387 builtin and then its argument prototype would still apply. */
102388 char $ac_func ();
102389 /* The GNU C library defines this for functions which it implements
102390 to always fail with ENOSYS. Some functions are actually named
102391 something starting with __ and the normal name is an alias. */
102392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102393 choke me
102394 #else
102395 char (*f) () = $ac_func;
102396 #endif
102397 #ifdef __cplusplus
102398 }
102399 #endif
102400
102401 int
102402 main ()
102403 {
102404 return f != $ac_func;
102405 ;
102406 return 0;
102407 }
102408 _ACEOF
102409 rm -f conftest.$ac_objext conftest$ac_exeext
102410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102411 (eval $ac_link) 2>conftest.er1
102412 ac_status=$?
102413 grep -v '^ *+' conftest.er1 >conftest.err
102414 rm -f conftest.er1
102415 cat conftest.err >&5
102416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102417 (exit $ac_status); } &&
102418 { ac_try='test -z "$ac_c_werror_flag"
102419 || test ! -s conftest.err'
102420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102421 (eval $ac_try) 2>&5
102422 ac_status=$?
102423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102424 (exit $ac_status); }; } &&
102425 { ac_try='test -s conftest$ac_exeext'
102426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102427 (eval $ac_try) 2>&5
102428 ac_status=$?
102429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102430 (exit $ac_status); }; }; then
102431 eval "$as_ac_var=yes"
102432 else
102433 echo "$as_me: failed program was:" >&5
102434 sed 's/^/| /' conftest.$ac_ext >&5
102435
102436 eval "$as_ac_var=no"
102437 fi
102438 rm -f conftest.err conftest.$ac_objext \
102439 conftest$ac_exeext conftest.$ac_ext
102440 fi
102441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102443 if test `eval echo '${'$as_ac_var'}'` = yes; then
102444 cat >>confdefs.h <<_ACEOF
102445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102446 _ACEOF
102447
102448 fi
102449 done
102450
102451 fi
102452 fi
102453
102454
102455
102456
102457
102458
102459 echo "$as_me:$LINENO: checking for log10f declaration" >&5
102460 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
102461 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
102462 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
102463 echo $ECHO_N "(cached) $ECHO_C" >&6
102464 else
102465
102466
102467
102468 ac_ext=cc
102469 ac_cpp='$CXXCPP $CPPFLAGS'
102470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102473
102474 cat >conftest.$ac_ext <<_ACEOF
102475 /* confdefs.h. */
102476 _ACEOF
102477 cat confdefs.h >>conftest.$ac_ext
102478 cat >>conftest.$ac_ext <<_ACEOF
102479 /* end confdefs.h. */
102480 #include <math.h>
102481 #ifdef HAVE_IEEEFP_H
102482 #include <ieeefp.h>
102483 #endif
102484
102485 int
102486 main ()
102487 {
102488 log10f(0);
102489 ;
102490 return 0;
102491 }
102492 _ACEOF
102493 rm -f conftest.$ac_objext
102494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102495 (eval $ac_compile) 2>conftest.er1
102496 ac_status=$?
102497 grep -v '^ *+' conftest.er1 >conftest.err
102498 rm -f conftest.er1
102499 cat conftest.err >&5
102500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102501 (exit $ac_status); } &&
102502 { ac_try='test -z "$ac_cxx_werror_flag"
102503 || test ! -s conftest.err'
102504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102505 (eval $ac_try) 2>&5
102506 ac_status=$?
102507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102508 (exit $ac_status); }; } &&
102509 { ac_try='test -s conftest.$ac_objext'
102510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102511 (eval $ac_try) 2>&5
102512 ac_status=$?
102513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102514 (exit $ac_status); }; }; then
102515 glibcxx_cv_func_log10f_use=yes
102516 else
102517 echo "$as_me: failed program was:" >&5
102518 sed 's/^/| /' conftest.$ac_ext >&5
102519
102520 glibcxx_cv_func_log10f_use=no
102521 fi
102522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102523 ac_ext=c
102524 ac_cpp='$CPP $CPPFLAGS'
102525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102528
102529
102530 fi
102531
102532 fi
102533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
102534 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
102535
102536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
102537
102538 for ac_func in log10f
102539 do
102540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102541 echo "$as_me:$LINENO: checking for $ac_func" >&5
102542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102543 if eval "test \"\${$as_ac_var+set}\" = set"; then
102544 echo $ECHO_N "(cached) $ECHO_C" >&6
102545 else
102546 if test x$gcc_no_link = xyes; then
102547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102549 { (exit 1); exit 1; }; }
102550 fi
102551 cat >conftest.$ac_ext <<_ACEOF
102552 /* confdefs.h. */
102553 _ACEOF
102554 cat confdefs.h >>conftest.$ac_ext
102555 cat >>conftest.$ac_ext <<_ACEOF
102556 /* end confdefs.h. */
102557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102559 #define $ac_func innocuous_$ac_func
102560
102561 /* System header to define __stub macros and hopefully few prototypes,
102562 which can conflict with char $ac_func (); below.
102563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102564 <limits.h> exists even on freestanding compilers. */
102565
102566 #ifdef __STDC__
102567 # include <limits.h>
102568 #else
102569 # include <assert.h>
102570 #endif
102571
102572 #undef $ac_func
102573
102574 /* Override any gcc2 internal prototype to avoid an error. */
102575 #ifdef __cplusplus
102576 extern "C"
102577 {
102578 #endif
102579 /* We use char because int might match the return type of a gcc2
102580 builtin and then its argument prototype would still apply. */
102581 char $ac_func ();
102582 /* The GNU C library defines this for functions which it implements
102583 to always fail with ENOSYS. Some functions are actually named
102584 something starting with __ and the normal name is an alias. */
102585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102586 choke me
102587 #else
102588 char (*f) () = $ac_func;
102589 #endif
102590 #ifdef __cplusplus
102591 }
102592 #endif
102593
102594 int
102595 main ()
102596 {
102597 return f != $ac_func;
102598 ;
102599 return 0;
102600 }
102601 _ACEOF
102602 rm -f conftest.$ac_objext conftest$ac_exeext
102603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102604 (eval $ac_link) 2>conftest.er1
102605 ac_status=$?
102606 grep -v '^ *+' conftest.er1 >conftest.err
102607 rm -f conftest.er1
102608 cat conftest.err >&5
102609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102610 (exit $ac_status); } &&
102611 { ac_try='test -z "$ac_c_werror_flag"
102612 || test ! -s conftest.err'
102613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102614 (eval $ac_try) 2>&5
102615 ac_status=$?
102616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102617 (exit $ac_status); }; } &&
102618 { ac_try='test -s conftest$ac_exeext'
102619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102620 (eval $ac_try) 2>&5
102621 ac_status=$?
102622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102623 (exit $ac_status); }; }; then
102624 eval "$as_ac_var=yes"
102625 else
102626 echo "$as_me: failed program was:" >&5
102627 sed 's/^/| /' conftest.$ac_ext >&5
102628
102629 eval "$as_ac_var=no"
102630 fi
102631 rm -f conftest.err conftest.$ac_objext \
102632 conftest$ac_exeext conftest.$ac_ext
102633 fi
102634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102636 if test `eval echo '${'$as_ac_var'}'` = yes; then
102637 cat >>confdefs.h <<_ACEOF
102638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102639 _ACEOF
102640
102641 fi
102642 done
102643
102644 else
102645
102646 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
102647 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
102648 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
102649 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
102650 echo $ECHO_N "(cached) $ECHO_C" >&6
102651 else
102652
102653
102654
102655 ac_ext=cc
102656 ac_cpp='$CXXCPP $CPPFLAGS'
102657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102660
102661 cat >conftest.$ac_ext <<_ACEOF
102662 /* confdefs.h. */
102663 _ACEOF
102664 cat confdefs.h >>conftest.$ac_ext
102665 cat >>conftest.$ac_ext <<_ACEOF
102666 /* end confdefs.h. */
102667 #include <math.h>
102668 #ifdef HAVE_IEEEFP_H
102669 #include <ieeefp.h>
102670 #endif
102671
102672 int
102673 main ()
102674 {
102675 _log10f(0);
102676 ;
102677 return 0;
102678 }
102679 _ACEOF
102680 rm -f conftest.$ac_objext
102681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102682 (eval $ac_compile) 2>conftest.er1
102683 ac_status=$?
102684 grep -v '^ *+' conftest.er1 >conftest.err
102685 rm -f conftest.er1
102686 cat conftest.err >&5
102687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102688 (exit $ac_status); } &&
102689 { ac_try='test -z "$ac_cxx_werror_flag"
102690 || test ! -s conftest.err'
102691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102692 (eval $ac_try) 2>&5
102693 ac_status=$?
102694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102695 (exit $ac_status); }; } &&
102696 { ac_try='test -s conftest.$ac_objext'
102697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102698 (eval $ac_try) 2>&5
102699 ac_status=$?
102700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102701 (exit $ac_status); }; }; then
102702 glibcxx_cv_func__log10f_use=yes
102703 else
102704 echo "$as_me: failed program was:" >&5
102705 sed 's/^/| /' conftest.$ac_ext >&5
102706
102707 glibcxx_cv_func__log10f_use=no
102708 fi
102709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102710 ac_ext=c
102711 ac_cpp='$CPP $CPPFLAGS'
102712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102715
102716
102717 fi
102718
102719 fi
102720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
102721 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
102722
102723 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
102724
102725 for ac_func in _log10f
102726 do
102727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102728 echo "$as_me:$LINENO: checking for $ac_func" >&5
102729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102730 if eval "test \"\${$as_ac_var+set}\" = set"; then
102731 echo $ECHO_N "(cached) $ECHO_C" >&6
102732 else
102733 if test x$gcc_no_link = xyes; then
102734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102736 { (exit 1); exit 1; }; }
102737 fi
102738 cat >conftest.$ac_ext <<_ACEOF
102739 /* confdefs.h. */
102740 _ACEOF
102741 cat confdefs.h >>conftest.$ac_ext
102742 cat >>conftest.$ac_ext <<_ACEOF
102743 /* end confdefs.h. */
102744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102746 #define $ac_func innocuous_$ac_func
102747
102748 /* System header to define __stub macros and hopefully few prototypes,
102749 which can conflict with char $ac_func (); below.
102750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102751 <limits.h> exists even on freestanding compilers. */
102752
102753 #ifdef __STDC__
102754 # include <limits.h>
102755 #else
102756 # include <assert.h>
102757 #endif
102758
102759 #undef $ac_func
102760
102761 /* Override any gcc2 internal prototype to avoid an error. */
102762 #ifdef __cplusplus
102763 extern "C"
102764 {
102765 #endif
102766 /* We use char because int might match the return type of a gcc2
102767 builtin and then its argument prototype would still apply. */
102768 char $ac_func ();
102769 /* The GNU C library defines this for functions which it implements
102770 to always fail with ENOSYS. Some functions are actually named
102771 something starting with __ and the normal name is an alias. */
102772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102773 choke me
102774 #else
102775 char (*f) () = $ac_func;
102776 #endif
102777 #ifdef __cplusplus
102778 }
102779 #endif
102780
102781 int
102782 main ()
102783 {
102784 return f != $ac_func;
102785 ;
102786 return 0;
102787 }
102788 _ACEOF
102789 rm -f conftest.$ac_objext conftest$ac_exeext
102790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102791 (eval $ac_link) 2>conftest.er1
102792 ac_status=$?
102793 grep -v '^ *+' conftest.er1 >conftest.err
102794 rm -f conftest.er1
102795 cat conftest.err >&5
102796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102797 (exit $ac_status); } &&
102798 { ac_try='test -z "$ac_c_werror_flag"
102799 || test ! -s conftest.err'
102800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102801 (eval $ac_try) 2>&5
102802 ac_status=$?
102803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102804 (exit $ac_status); }; } &&
102805 { ac_try='test -s conftest$ac_exeext'
102806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102807 (eval $ac_try) 2>&5
102808 ac_status=$?
102809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102810 (exit $ac_status); }; }; then
102811 eval "$as_ac_var=yes"
102812 else
102813 echo "$as_me: failed program was:" >&5
102814 sed 's/^/| /' conftest.$ac_ext >&5
102815
102816 eval "$as_ac_var=no"
102817 fi
102818 rm -f conftest.err conftest.$ac_objext \
102819 conftest$ac_exeext conftest.$ac_ext
102820 fi
102821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102823 if test `eval echo '${'$as_ac_var'}'` = yes; then
102824 cat >>confdefs.h <<_ACEOF
102825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102826 _ACEOF
102827
102828 fi
102829 done
102830
102831 fi
102832 fi
102833
102834
102835
102836
102837
102838
102839 echo "$as_me:$LINENO: checking for modff declaration" >&5
102840 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
102841 if test x${glibcxx_cv_func_modff_use+set} != xset; then
102842 if test "${glibcxx_cv_func_modff_use+set}" = set; then
102843 echo $ECHO_N "(cached) $ECHO_C" >&6
102844 else
102845
102846
102847
102848 ac_ext=cc
102849 ac_cpp='$CXXCPP $CPPFLAGS'
102850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102853
102854 cat >conftest.$ac_ext <<_ACEOF
102855 /* confdefs.h. */
102856 _ACEOF
102857 cat confdefs.h >>conftest.$ac_ext
102858 cat >>conftest.$ac_ext <<_ACEOF
102859 /* end confdefs.h. */
102860 #include <math.h>
102861 int
102862 main ()
102863 {
102864 modff(0, 0);
102865 ;
102866 return 0;
102867 }
102868 _ACEOF
102869 rm -f conftest.$ac_objext
102870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102871 (eval $ac_compile) 2>conftest.er1
102872 ac_status=$?
102873 grep -v '^ *+' conftest.er1 >conftest.err
102874 rm -f conftest.er1
102875 cat conftest.err >&5
102876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102877 (exit $ac_status); } &&
102878 { ac_try='test -z "$ac_cxx_werror_flag"
102879 || test ! -s conftest.err'
102880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102881 (eval $ac_try) 2>&5
102882 ac_status=$?
102883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102884 (exit $ac_status); }; } &&
102885 { ac_try='test -s conftest.$ac_objext'
102886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102887 (eval $ac_try) 2>&5
102888 ac_status=$?
102889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102890 (exit $ac_status); }; }; then
102891 glibcxx_cv_func_modff_use=yes
102892 else
102893 echo "$as_me: failed program was:" >&5
102894 sed 's/^/| /' conftest.$ac_ext >&5
102895
102896 glibcxx_cv_func_modff_use=no
102897 fi
102898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102899 ac_ext=c
102900 ac_cpp='$CPP $CPPFLAGS'
102901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102904
102905
102906 fi
102907
102908 fi
102909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
102910 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
102911
102912 if test x$glibcxx_cv_func_modff_use = x"yes"; then
102913
102914 for ac_func in modff
102915 do
102916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102917 echo "$as_me:$LINENO: checking for $ac_func" >&5
102918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102919 if eval "test \"\${$as_ac_var+set}\" = set"; then
102920 echo $ECHO_N "(cached) $ECHO_C" >&6
102921 else
102922 if test x$gcc_no_link = xyes; then
102923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102925 { (exit 1); exit 1; }; }
102926 fi
102927 cat >conftest.$ac_ext <<_ACEOF
102928 /* confdefs.h. */
102929 _ACEOF
102930 cat confdefs.h >>conftest.$ac_ext
102931 cat >>conftest.$ac_ext <<_ACEOF
102932 /* end confdefs.h. */
102933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102935 #define $ac_func innocuous_$ac_func
102936
102937 /* System header to define __stub macros and hopefully few prototypes,
102938 which can conflict with char $ac_func (); below.
102939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102940 <limits.h> exists even on freestanding compilers. */
102941
102942 #ifdef __STDC__
102943 # include <limits.h>
102944 #else
102945 # include <assert.h>
102946 #endif
102947
102948 #undef $ac_func
102949
102950 /* Override any gcc2 internal prototype to avoid an error. */
102951 #ifdef __cplusplus
102952 extern "C"
102953 {
102954 #endif
102955 /* We use char because int might match the return type of a gcc2
102956 builtin and then its argument prototype would still apply. */
102957 char $ac_func ();
102958 /* The GNU C library defines this for functions which it implements
102959 to always fail with ENOSYS. Some functions are actually named
102960 something starting with __ and the normal name is an alias. */
102961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102962 choke me
102963 #else
102964 char (*f) () = $ac_func;
102965 #endif
102966 #ifdef __cplusplus
102967 }
102968 #endif
102969
102970 int
102971 main ()
102972 {
102973 return f != $ac_func;
102974 ;
102975 return 0;
102976 }
102977 _ACEOF
102978 rm -f conftest.$ac_objext conftest$ac_exeext
102979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102980 (eval $ac_link) 2>conftest.er1
102981 ac_status=$?
102982 grep -v '^ *+' conftest.er1 >conftest.err
102983 rm -f conftest.er1
102984 cat conftest.err >&5
102985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102986 (exit $ac_status); } &&
102987 { ac_try='test -z "$ac_c_werror_flag"
102988 || test ! -s conftest.err'
102989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102990 (eval $ac_try) 2>&5
102991 ac_status=$?
102992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102993 (exit $ac_status); }; } &&
102994 { ac_try='test -s conftest$ac_exeext'
102995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102996 (eval $ac_try) 2>&5
102997 ac_status=$?
102998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102999 (exit $ac_status); }; }; then
103000 eval "$as_ac_var=yes"
103001 else
103002 echo "$as_me: failed program was:" >&5
103003 sed 's/^/| /' conftest.$ac_ext >&5
103004
103005 eval "$as_ac_var=no"
103006 fi
103007 rm -f conftest.err conftest.$ac_objext \
103008 conftest$ac_exeext conftest.$ac_ext
103009 fi
103010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103012 if test `eval echo '${'$as_ac_var'}'` = yes; then
103013 cat >>confdefs.h <<_ACEOF
103014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103015 _ACEOF
103016
103017 fi
103018 done
103019
103020 else
103021
103022 echo "$as_me:$LINENO: checking for _modff declaration" >&5
103023 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
103024 if test x${glibcxx_cv_func__modff_use+set} != xset; then
103025 if test "${glibcxx_cv_func__modff_use+set}" = set; then
103026 echo $ECHO_N "(cached) $ECHO_C" >&6
103027 else
103028
103029
103030
103031 ac_ext=cc
103032 ac_cpp='$CXXCPP $CPPFLAGS'
103033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103036
103037 cat >conftest.$ac_ext <<_ACEOF
103038 /* confdefs.h. */
103039 _ACEOF
103040 cat confdefs.h >>conftest.$ac_ext
103041 cat >>conftest.$ac_ext <<_ACEOF
103042 /* end confdefs.h. */
103043 #include <math.h>
103044 int
103045 main ()
103046 {
103047 _modff(0, 0);
103048 ;
103049 return 0;
103050 }
103051 _ACEOF
103052 rm -f conftest.$ac_objext
103053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103054 (eval $ac_compile) 2>conftest.er1
103055 ac_status=$?
103056 grep -v '^ *+' conftest.er1 >conftest.err
103057 rm -f conftest.er1
103058 cat conftest.err >&5
103059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103060 (exit $ac_status); } &&
103061 { ac_try='test -z "$ac_cxx_werror_flag"
103062 || test ! -s conftest.err'
103063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103064 (eval $ac_try) 2>&5
103065 ac_status=$?
103066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103067 (exit $ac_status); }; } &&
103068 { ac_try='test -s conftest.$ac_objext'
103069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103070 (eval $ac_try) 2>&5
103071 ac_status=$?
103072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103073 (exit $ac_status); }; }; then
103074 glibcxx_cv_func__modff_use=yes
103075 else
103076 echo "$as_me: failed program was:" >&5
103077 sed 's/^/| /' conftest.$ac_ext >&5
103078
103079 glibcxx_cv_func__modff_use=no
103080 fi
103081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103082 ac_ext=c
103083 ac_cpp='$CPP $CPPFLAGS'
103084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103087
103088
103089 fi
103090
103091 fi
103092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
103093 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
103094
103095 if test x$glibcxx_cv_func__modff_use = x"yes"; then
103096
103097 for ac_func in _modff
103098 do
103099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103100 echo "$as_me:$LINENO: checking for $ac_func" >&5
103101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103102 if eval "test \"\${$as_ac_var+set}\" = set"; then
103103 echo $ECHO_N "(cached) $ECHO_C" >&6
103104 else
103105 if test x$gcc_no_link = xyes; then
103106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103108 { (exit 1); exit 1; }; }
103109 fi
103110 cat >conftest.$ac_ext <<_ACEOF
103111 /* confdefs.h. */
103112 _ACEOF
103113 cat confdefs.h >>conftest.$ac_ext
103114 cat >>conftest.$ac_ext <<_ACEOF
103115 /* end confdefs.h. */
103116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103118 #define $ac_func innocuous_$ac_func
103119
103120 /* System header to define __stub macros and hopefully few prototypes,
103121 which can conflict with char $ac_func (); below.
103122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103123 <limits.h> exists even on freestanding compilers. */
103124
103125 #ifdef __STDC__
103126 # include <limits.h>
103127 #else
103128 # include <assert.h>
103129 #endif
103130
103131 #undef $ac_func
103132
103133 /* Override any gcc2 internal prototype to avoid an error. */
103134 #ifdef __cplusplus
103135 extern "C"
103136 {
103137 #endif
103138 /* We use char because int might match the return type of a gcc2
103139 builtin and then its argument prototype would still apply. */
103140 char $ac_func ();
103141 /* The GNU C library defines this for functions which it implements
103142 to always fail with ENOSYS. Some functions are actually named
103143 something starting with __ and the normal name is an alias. */
103144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103145 choke me
103146 #else
103147 char (*f) () = $ac_func;
103148 #endif
103149 #ifdef __cplusplus
103150 }
103151 #endif
103152
103153 int
103154 main ()
103155 {
103156 return f != $ac_func;
103157 ;
103158 return 0;
103159 }
103160 _ACEOF
103161 rm -f conftest.$ac_objext conftest$ac_exeext
103162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103163 (eval $ac_link) 2>conftest.er1
103164 ac_status=$?
103165 grep -v '^ *+' conftest.er1 >conftest.err
103166 rm -f conftest.er1
103167 cat conftest.err >&5
103168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103169 (exit $ac_status); } &&
103170 { ac_try='test -z "$ac_c_werror_flag"
103171 || test ! -s conftest.err'
103172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103173 (eval $ac_try) 2>&5
103174 ac_status=$?
103175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103176 (exit $ac_status); }; } &&
103177 { ac_try='test -s conftest$ac_exeext'
103178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103179 (eval $ac_try) 2>&5
103180 ac_status=$?
103181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103182 (exit $ac_status); }; }; then
103183 eval "$as_ac_var=yes"
103184 else
103185 echo "$as_me: failed program was:" >&5
103186 sed 's/^/| /' conftest.$ac_ext >&5
103187
103188 eval "$as_ac_var=no"
103189 fi
103190 rm -f conftest.err conftest.$ac_objext \
103191 conftest$ac_exeext conftest.$ac_ext
103192 fi
103193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103195 if test `eval echo '${'$as_ac_var'}'` = yes; then
103196 cat >>confdefs.h <<_ACEOF
103197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103198 _ACEOF
103199
103200 fi
103201 done
103202
103203 fi
103204 fi
103205
103206
103207
103208
103209
103210
103211 echo "$as_me:$LINENO: checking for modf declaration" >&5
103212 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
103213 if test x${glibcxx_cv_func_modf_use+set} != xset; then
103214 if test "${glibcxx_cv_func_modf_use+set}" = set; then
103215 echo $ECHO_N "(cached) $ECHO_C" >&6
103216 else
103217
103218
103219
103220 ac_ext=cc
103221 ac_cpp='$CXXCPP $CPPFLAGS'
103222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103225
103226 cat >conftest.$ac_ext <<_ACEOF
103227 /* confdefs.h. */
103228 _ACEOF
103229 cat confdefs.h >>conftest.$ac_ext
103230 cat >>conftest.$ac_ext <<_ACEOF
103231 /* end confdefs.h. */
103232 #include <math.h>
103233 int
103234 main ()
103235 {
103236 modf(0, 0);
103237 ;
103238 return 0;
103239 }
103240 _ACEOF
103241 rm -f conftest.$ac_objext
103242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103243 (eval $ac_compile) 2>conftest.er1
103244 ac_status=$?
103245 grep -v '^ *+' conftest.er1 >conftest.err
103246 rm -f conftest.er1
103247 cat conftest.err >&5
103248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103249 (exit $ac_status); } &&
103250 { ac_try='test -z "$ac_cxx_werror_flag"
103251 || test ! -s conftest.err'
103252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103253 (eval $ac_try) 2>&5
103254 ac_status=$?
103255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103256 (exit $ac_status); }; } &&
103257 { ac_try='test -s conftest.$ac_objext'
103258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103259 (eval $ac_try) 2>&5
103260 ac_status=$?
103261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103262 (exit $ac_status); }; }; then
103263 glibcxx_cv_func_modf_use=yes
103264 else
103265 echo "$as_me: failed program was:" >&5
103266 sed 's/^/| /' conftest.$ac_ext >&5
103267
103268 glibcxx_cv_func_modf_use=no
103269 fi
103270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103271 ac_ext=c
103272 ac_cpp='$CPP $CPPFLAGS'
103273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103276
103277
103278 fi
103279
103280 fi
103281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
103282 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
103283
103284 if test x$glibcxx_cv_func_modf_use = x"yes"; then
103285
103286 for ac_func in modf
103287 do
103288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103289 echo "$as_me:$LINENO: checking for $ac_func" >&5
103290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103291 if eval "test \"\${$as_ac_var+set}\" = set"; then
103292 echo $ECHO_N "(cached) $ECHO_C" >&6
103293 else
103294 if test x$gcc_no_link = xyes; then
103295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103297 { (exit 1); exit 1; }; }
103298 fi
103299 cat >conftest.$ac_ext <<_ACEOF
103300 /* confdefs.h. */
103301 _ACEOF
103302 cat confdefs.h >>conftest.$ac_ext
103303 cat >>conftest.$ac_ext <<_ACEOF
103304 /* end confdefs.h. */
103305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103307 #define $ac_func innocuous_$ac_func
103308
103309 /* System header to define __stub macros and hopefully few prototypes,
103310 which can conflict with char $ac_func (); below.
103311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103312 <limits.h> exists even on freestanding compilers. */
103313
103314 #ifdef __STDC__
103315 # include <limits.h>
103316 #else
103317 # include <assert.h>
103318 #endif
103319
103320 #undef $ac_func
103321
103322 /* Override any gcc2 internal prototype to avoid an error. */
103323 #ifdef __cplusplus
103324 extern "C"
103325 {
103326 #endif
103327 /* We use char because int might match the return type of a gcc2
103328 builtin and then its argument prototype would still apply. */
103329 char $ac_func ();
103330 /* The GNU C library defines this for functions which it implements
103331 to always fail with ENOSYS. Some functions are actually named
103332 something starting with __ and the normal name is an alias. */
103333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103334 choke me
103335 #else
103336 char (*f) () = $ac_func;
103337 #endif
103338 #ifdef __cplusplus
103339 }
103340 #endif
103341
103342 int
103343 main ()
103344 {
103345 return f != $ac_func;
103346 ;
103347 return 0;
103348 }
103349 _ACEOF
103350 rm -f conftest.$ac_objext conftest$ac_exeext
103351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103352 (eval $ac_link) 2>conftest.er1
103353 ac_status=$?
103354 grep -v '^ *+' conftest.er1 >conftest.err
103355 rm -f conftest.er1
103356 cat conftest.err >&5
103357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103358 (exit $ac_status); } &&
103359 { ac_try='test -z "$ac_c_werror_flag"
103360 || test ! -s conftest.err'
103361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103362 (eval $ac_try) 2>&5
103363 ac_status=$?
103364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103365 (exit $ac_status); }; } &&
103366 { ac_try='test -s conftest$ac_exeext'
103367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103368 (eval $ac_try) 2>&5
103369 ac_status=$?
103370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103371 (exit $ac_status); }; }; then
103372 eval "$as_ac_var=yes"
103373 else
103374 echo "$as_me: failed program was:" >&5
103375 sed 's/^/| /' conftest.$ac_ext >&5
103376
103377 eval "$as_ac_var=no"
103378 fi
103379 rm -f conftest.err conftest.$ac_objext \
103380 conftest$ac_exeext conftest.$ac_ext
103381 fi
103382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103384 if test `eval echo '${'$as_ac_var'}'` = yes; then
103385 cat >>confdefs.h <<_ACEOF
103386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103387 _ACEOF
103388
103389 fi
103390 done
103391
103392 else
103393
103394 echo "$as_me:$LINENO: checking for _modf declaration" >&5
103395 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
103396 if test x${glibcxx_cv_func__modf_use+set} != xset; then
103397 if test "${glibcxx_cv_func__modf_use+set}" = set; then
103398 echo $ECHO_N "(cached) $ECHO_C" >&6
103399 else
103400
103401
103402
103403 ac_ext=cc
103404 ac_cpp='$CXXCPP $CPPFLAGS'
103405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103408
103409 cat >conftest.$ac_ext <<_ACEOF
103410 /* confdefs.h. */
103411 _ACEOF
103412 cat confdefs.h >>conftest.$ac_ext
103413 cat >>conftest.$ac_ext <<_ACEOF
103414 /* end confdefs.h. */
103415 #include <math.h>
103416 int
103417 main ()
103418 {
103419 _modf(0, 0);
103420 ;
103421 return 0;
103422 }
103423 _ACEOF
103424 rm -f conftest.$ac_objext
103425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103426 (eval $ac_compile) 2>conftest.er1
103427 ac_status=$?
103428 grep -v '^ *+' conftest.er1 >conftest.err
103429 rm -f conftest.er1
103430 cat conftest.err >&5
103431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103432 (exit $ac_status); } &&
103433 { ac_try='test -z "$ac_cxx_werror_flag"
103434 || test ! -s conftest.err'
103435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103436 (eval $ac_try) 2>&5
103437 ac_status=$?
103438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103439 (exit $ac_status); }; } &&
103440 { ac_try='test -s conftest.$ac_objext'
103441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103442 (eval $ac_try) 2>&5
103443 ac_status=$?
103444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103445 (exit $ac_status); }; }; then
103446 glibcxx_cv_func__modf_use=yes
103447 else
103448 echo "$as_me: failed program was:" >&5
103449 sed 's/^/| /' conftest.$ac_ext >&5
103450
103451 glibcxx_cv_func__modf_use=no
103452 fi
103453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103454 ac_ext=c
103455 ac_cpp='$CPP $CPPFLAGS'
103456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103459
103460
103461 fi
103462
103463 fi
103464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
103465 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
103466
103467 if test x$glibcxx_cv_func__modf_use = x"yes"; then
103468
103469 for ac_func in _modf
103470 do
103471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103472 echo "$as_me:$LINENO: checking for $ac_func" >&5
103473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103474 if eval "test \"\${$as_ac_var+set}\" = set"; then
103475 echo $ECHO_N "(cached) $ECHO_C" >&6
103476 else
103477 if test x$gcc_no_link = xyes; then
103478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103480 { (exit 1); exit 1; }; }
103481 fi
103482 cat >conftest.$ac_ext <<_ACEOF
103483 /* confdefs.h. */
103484 _ACEOF
103485 cat confdefs.h >>conftest.$ac_ext
103486 cat >>conftest.$ac_ext <<_ACEOF
103487 /* end confdefs.h. */
103488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103490 #define $ac_func innocuous_$ac_func
103491
103492 /* System header to define __stub macros and hopefully few prototypes,
103493 which can conflict with char $ac_func (); below.
103494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103495 <limits.h> exists even on freestanding compilers. */
103496
103497 #ifdef __STDC__
103498 # include <limits.h>
103499 #else
103500 # include <assert.h>
103501 #endif
103502
103503 #undef $ac_func
103504
103505 /* Override any gcc2 internal prototype to avoid an error. */
103506 #ifdef __cplusplus
103507 extern "C"
103508 {
103509 #endif
103510 /* We use char because int might match the return type of a gcc2
103511 builtin and then its argument prototype would still apply. */
103512 char $ac_func ();
103513 /* The GNU C library defines this for functions which it implements
103514 to always fail with ENOSYS. Some functions are actually named
103515 something starting with __ and the normal name is an alias. */
103516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103517 choke me
103518 #else
103519 char (*f) () = $ac_func;
103520 #endif
103521 #ifdef __cplusplus
103522 }
103523 #endif
103524
103525 int
103526 main ()
103527 {
103528 return f != $ac_func;
103529 ;
103530 return 0;
103531 }
103532 _ACEOF
103533 rm -f conftest.$ac_objext conftest$ac_exeext
103534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103535 (eval $ac_link) 2>conftest.er1
103536 ac_status=$?
103537 grep -v '^ *+' conftest.er1 >conftest.err
103538 rm -f conftest.er1
103539 cat conftest.err >&5
103540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103541 (exit $ac_status); } &&
103542 { ac_try='test -z "$ac_c_werror_flag"
103543 || test ! -s conftest.err'
103544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103545 (eval $ac_try) 2>&5
103546 ac_status=$?
103547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103548 (exit $ac_status); }; } &&
103549 { ac_try='test -s conftest$ac_exeext'
103550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103551 (eval $ac_try) 2>&5
103552 ac_status=$?
103553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103554 (exit $ac_status); }; }; then
103555 eval "$as_ac_var=yes"
103556 else
103557 echo "$as_me: failed program was:" >&5
103558 sed 's/^/| /' conftest.$ac_ext >&5
103559
103560 eval "$as_ac_var=no"
103561 fi
103562 rm -f conftest.err conftest.$ac_objext \
103563 conftest$ac_exeext conftest.$ac_ext
103564 fi
103565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103567 if test `eval echo '${'$as_ac_var'}'` = yes; then
103568 cat >>confdefs.h <<_ACEOF
103569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103570 _ACEOF
103571
103572 fi
103573 done
103574
103575 fi
103576 fi
103577
103578
103579
103580
103581
103582
103583 echo "$as_me:$LINENO: checking for powf declaration" >&5
103584 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
103585 if test x${glibcxx_cv_func_powf_use+set} != xset; then
103586 if test "${glibcxx_cv_func_powf_use+set}" = set; then
103587 echo $ECHO_N "(cached) $ECHO_C" >&6
103588 else
103589
103590
103591
103592 ac_ext=cc
103593 ac_cpp='$CXXCPP $CPPFLAGS'
103594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103597
103598 cat >conftest.$ac_ext <<_ACEOF
103599 /* confdefs.h. */
103600 _ACEOF
103601 cat confdefs.h >>conftest.$ac_ext
103602 cat >>conftest.$ac_ext <<_ACEOF
103603 /* end confdefs.h. */
103604 #include <math.h>
103605 int
103606 main ()
103607 {
103608 powf(0, 0);
103609 ;
103610 return 0;
103611 }
103612 _ACEOF
103613 rm -f conftest.$ac_objext
103614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103615 (eval $ac_compile) 2>conftest.er1
103616 ac_status=$?
103617 grep -v '^ *+' conftest.er1 >conftest.err
103618 rm -f conftest.er1
103619 cat conftest.err >&5
103620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103621 (exit $ac_status); } &&
103622 { ac_try='test -z "$ac_cxx_werror_flag"
103623 || test ! -s conftest.err'
103624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103625 (eval $ac_try) 2>&5
103626 ac_status=$?
103627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103628 (exit $ac_status); }; } &&
103629 { ac_try='test -s conftest.$ac_objext'
103630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103631 (eval $ac_try) 2>&5
103632 ac_status=$?
103633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103634 (exit $ac_status); }; }; then
103635 glibcxx_cv_func_powf_use=yes
103636 else
103637 echo "$as_me: failed program was:" >&5
103638 sed 's/^/| /' conftest.$ac_ext >&5
103639
103640 glibcxx_cv_func_powf_use=no
103641 fi
103642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103643 ac_ext=c
103644 ac_cpp='$CPP $CPPFLAGS'
103645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103648
103649
103650 fi
103651
103652 fi
103653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
103654 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
103655
103656 if test x$glibcxx_cv_func_powf_use = x"yes"; then
103657
103658 for ac_func in powf
103659 do
103660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103661 echo "$as_me:$LINENO: checking for $ac_func" >&5
103662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103663 if eval "test \"\${$as_ac_var+set}\" = set"; then
103664 echo $ECHO_N "(cached) $ECHO_C" >&6
103665 else
103666 if test x$gcc_no_link = xyes; then
103667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103669 { (exit 1); exit 1; }; }
103670 fi
103671 cat >conftest.$ac_ext <<_ACEOF
103672 /* confdefs.h. */
103673 _ACEOF
103674 cat confdefs.h >>conftest.$ac_ext
103675 cat >>conftest.$ac_ext <<_ACEOF
103676 /* end confdefs.h. */
103677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103679 #define $ac_func innocuous_$ac_func
103680
103681 /* System header to define __stub macros and hopefully few prototypes,
103682 which can conflict with char $ac_func (); below.
103683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103684 <limits.h> exists even on freestanding compilers. */
103685
103686 #ifdef __STDC__
103687 # include <limits.h>
103688 #else
103689 # include <assert.h>
103690 #endif
103691
103692 #undef $ac_func
103693
103694 /* Override any gcc2 internal prototype to avoid an error. */
103695 #ifdef __cplusplus
103696 extern "C"
103697 {
103698 #endif
103699 /* We use char because int might match the return type of a gcc2
103700 builtin and then its argument prototype would still apply. */
103701 char $ac_func ();
103702 /* The GNU C library defines this for functions which it implements
103703 to always fail with ENOSYS. Some functions are actually named
103704 something starting with __ and the normal name is an alias. */
103705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103706 choke me
103707 #else
103708 char (*f) () = $ac_func;
103709 #endif
103710 #ifdef __cplusplus
103711 }
103712 #endif
103713
103714 int
103715 main ()
103716 {
103717 return f != $ac_func;
103718 ;
103719 return 0;
103720 }
103721 _ACEOF
103722 rm -f conftest.$ac_objext conftest$ac_exeext
103723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103724 (eval $ac_link) 2>conftest.er1
103725 ac_status=$?
103726 grep -v '^ *+' conftest.er1 >conftest.err
103727 rm -f conftest.er1
103728 cat conftest.err >&5
103729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103730 (exit $ac_status); } &&
103731 { ac_try='test -z "$ac_c_werror_flag"
103732 || test ! -s conftest.err'
103733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103734 (eval $ac_try) 2>&5
103735 ac_status=$?
103736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103737 (exit $ac_status); }; } &&
103738 { ac_try='test -s conftest$ac_exeext'
103739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103740 (eval $ac_try) 2>&5
103741 ac_status=$?
103742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103743 (exit $ac_status); }; }; then
103744 eval "$as_ac_var=yes"
103745 else
103746 echo "$as_me: failed program was:" >&5
103747 sed 's/^/| /' conftest.$ac_ext >&5
103748
103749 eval "$as_ac_var=no"
103750 fi
103751 rm -f conftest.err conftest.$ac_objext \
103752 conftest$ac_exeext conftest.$ac_ext
103753 fi
103754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103756 if test `eval echo '${'$as_ac_var'}'` = yes; then
103757 cat >>confdefs.h <<_ACEOF
103758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103759 _ACEOF
103760
103761 fi
103762 done
103763
103764 else
103765
103766 echo "$as_me:$LINENO: checking for _powf declaration" >&5
103767 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
103768 if test x${glibcxx_cv_func__powf_use+set} != xset; then
103769 if test "${glibcxx_cv_func__powf_use+set}" = set; then
103770 echo $ECHO_N "(cached) $ECHO_C" >&6
103771 else
103772
103773
103774
103775 ac_ext=cc
103776 ac_cpp='$CXXCPP $CPPFLAGS'
103777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103780
103781 cat >conftest.$ac_ext <<_ACEOF
103782 /* confdefs.h. */
103783 _ACEOF
103784 cat confdefs.h >>conftest.$ac_ext
103785 cat >>conftest.$ac_ext <<_ACEOF
103786 /* end confdefs.h. */
103787 #include <math.h>
103788 int
103789 main ()
103790 {
103791 _powf(0, 0);
103792 ;
103793 return 0;
103794 }
103795 _ACEOF
103796 rm -f conftest.$ac_objext
103797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103798 (eval $ac_compile) 2>conftest.er1
103799 ac_status=$?
103800 grep -v '^ *+' conftest.er1 >conftest.err
103801 rm -f conftest.er1
103802 cat conftest.err >&5
103803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103804 (exit $ac_status); } &&
103805 { ac_try='test -z "$ac_cxx_werror_flag"
103806 || test ! -s conftest.err'
103807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103808 (eval $ac_try) 2>&5
103809 ac_status=$?
103810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103811 (exit $ac_status); }; } &&
103812 { ac_try='test -s conftest.$ac_objext'
103813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103814 (eval $ac_try) 2>&5
103815 ac_status=$?
103816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103817 (exit $ac_status); }; }; then
103818 glibcxx_cv_func__powf_use=yes
103819 else
103820 echo "$as_me: failed program was:" >&5
103821 sed 's/^/| /' conftest.$ac_ext >&5
103822
103823 glibcxx_cv_func__powf_use=no
103824 fi
103825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103826 ac_ext=c
103827 ac_cpp='$CPP $CPPFLAGS'
103828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103831
103832
103833 fi
103834
103835 fi
103836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
103837 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
103838
103839 if test x$glibcxx_cv_func__powf_use = x"yes"; then
103840
103841 for ac_func in _powf
103842 do
103843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103844 echo "$as_me:$LINENO: checking for $ac_func" >&5
103845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103846 if eval "test \"\${$as_ac_var+set}\" = set"; then
103847 echo $ECHO_N "(cached) $ECHO_C" >&6
103848 else
103849 if test x$gcc_no_link = xyes; then
103850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103852 { (exit 1); exit 1; }; }
103853 fi
103854 cat >conftest.$ac_ext <<_ACEOF
103855 /* confdefs.h. */
103856 _ACEOF
103857 cat confdefs.h >>conftest.$ac_ext
103858 cat >>conftest.$ac_ext <<_ACEOF
103859 /* end confdefs.h. */
103860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103862 #define $ac_func innocuous_$ac_func
103863
103864 /* System header to define __stub macros and hopefully few prototypes,
103865 which can conflict with char $ac_func (); below.
103866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103867 <limits.h> exists even on freestanding compilers. */
103868
103869 #ifdef __STDC__
103870 # include <limits.h>
103871 #else
103872 # include <assert.h>
103873 #endif
103874
103875 #undef $ac_func
103876
103877 /* Override any gcc2 internal prototype to avoid an error. */
103878 #ifdef __cplusplus
103879 extern "C"
103880 {
103881 #endif
103882 /* We use char because int might match the return type of a gcc2
103883 builtin and then its argument prototype would still apply. */
103884 char $ac_func ();
103885 /* The GNU C library defines this for functions which it implements
103886 to always fail with ENOSYS. Some functions are actually named
103887 something starting with __ and the normal name is an alias. */
103888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103889 choke me
103890 #else
103891 char (*f) () = $ac_func;
103892 #endif
103893 #ifdef __cplusplus
103894 }
103895 #endif
103896
103897 int
103898 main ()
103899 {
103900 return f != $ac_func;
103901 ;
103902 return 0;
103903 }
103904 _ACEOF
103905 rm -f conftest.$ac_objext conftest$ac_exeext
103906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103907 (eval $ac_link) 2>conftest.er1
103908 ac_status=$?
103909 grep -v '^ *+' conftest.er1 >conftest.err
103910 rm -f conftest.er1
103911 cat conftest.err >&5
103912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103913 (exit $ac_status); } &&
103914 { ac_try='test -z "$ac_c_werror_flag"
103915 || test ! -s conftest.err'
103916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103917 (eval $ac_try) 2>&5
103918 ac_status=$?
103919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103920 (exit $ac_status); }; } &&
103921 { ac_try='test -s conftest$ac_exeext'
103922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103923 (eval $ac_try) 2>&5
103924 ac_status=$?
103925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103926 (exit $ac_status); }; }; then
103927 eval "$as_ac_var=yes"
103928 else
103929 echo "$as_me: failed program was:" >&5
103930 sed 's/^/| /' conftest.$ac_ext >&5
103931
103932 eval "$as_ac_var=no"
103933 fi
103934 rm -f conftest.err conftest.$ac_objext \
103935 conftest$ac_exeext conftest.$ac_ext
103936 fi
103937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103939 if test `eval echo '${'$as_ac_var'}'` = yes; then
103940 cat >>confdefs.h <<_ACEOF
103941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103942 _ACEOF
103943
103944 fi
103945 done
103946
103947 fi
103948 fi
103949
103950
103951
103952
103953
103954
103955 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
103956 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
103957 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
103958 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
103959 echo $ECHO_N "(cached) $ECHO_C" >&6
103960 else
103961
103962
103963
103964 ac_ext=cc
103965 ac_cpp='$CXXCPP $CPPFLAGS'
103966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103969
103970 cat >conftest.$ac_ext <<_ACEOF
103971 /* confdefs.h. */
103972 _ACEOF
103973 cat confdefs.h >>conftest.$ac_ext
103974 cat >>conftest.$ac_ext <<_ACEOF
103975 /* end confdefs.h. */
103976 #include <math.h>
103977 #ifdef HAVE_IEEEFP_H
103978 #include <ieeefp.h>
103979 #endif
103980
103981 int
103982 main ()
103983 {
103984 sqrtf(0);
103985 ;
103986 return 0;
103987 }
103988 _ACEOF
103989 rm -f conftest.$ac_objext
103990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103991 (eval $ac_compile) 2>conftest.er1
103992 ac_status=$?
103993 grep -v '^ *+' conftest.er1 >conftest.err
103994 rm -f conftest.er1
103995 cat conftest.err >&5
103996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103997 (exit $ac_status); } &&
103998 { ac_try='test -z "$ac_cxx_werror_flag"
103999 || test ! -s conftest.err'
104000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104001 (eval $ac_try) 2>&5
104002 ac_status=$?
104003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104004 (exit $ac_status); }; } &&
104005 { ac_try='test -s conftest.$ac_objext'
104006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104007 (eval $ac_try) 2>&5
104008 ac_status=$?
104009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104010 (exit $ac_status); }; }; then
104011 glibcxx_cv_func_sqrtf_use=yes
104012 else
104013 echo "$as_me: failed program was:" >&5
104014 sed 's/^/| /' conftest.$ac_ext >&5
104015
104016 glibcxx_cv_func_sqrtf_use=no
104017 fi
104018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104019 ac_ext=c
104020 ac_cpp='$CPP $CPPFLAGS'
104021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104024
104025
104026 fi
104027
104028 fi
104029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
104030 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
104031
104032 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
104033
104034 for ac_func in sqrtf
104035 do
104036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104037 echo "$as_me:$LINENO: checking for $ac_func" >&5
104038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104039 if eval "test \"\${$as_ac_var+set}\" = set"; then
104040 echo $ECHO_N "(cached) $ECHO_C" >&6
104041 else
104042 if test x$gcc_no_link = xyes; then
104043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104045 { (exit 1); exit 1; }; }
104046 fi
104047 cat >conftest.$ac_ext <<_ACEOF
104048 /* confdefs.h. */
104049 _ACEOF
104050 cat confdefs.h >>conftest.$ac_ext
104051 cat >>conftest.$ac_ext <<_ACEOF
104052 /* end confdefs.h. */
104053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104055 #define $ac_func innocuous_$ac_func
104056
104057 /* System header to define __stub macros and hopefully few prototypes,
104058 which can conflict with char $ac_func (); below.
104059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104060 <limits.h> exists even on freestanding compilers. */
104061
104062 #ifdef __STDC__
104063 # include <limits.h>
104064 #else
104065 # include <assert.h>
104066 #endif
104067
104068 #undef $ac_func
104069
104070 /* Override any gcc2 internal prototype to avoid an error. */
104071 #ifdef __cplusplus
104072 extern "C"
104073 {
104074 #endif
104075 /* We use char because int might match the return type of a gcc2
104076 builtin and then its argument prototype would still apply. */
104077 char $ac_func ();
104078 /* The GNU C library defines this for functions which it implements
104079 to always fail with ENOSYS. Some functions are actually named
104080 something starting with __ and the normal name is an alias. */
104081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104082 choke me
104083 #else
104084 char (*f) () = $ac_func;
104085 #endif
104086 #ifdef __cplusplus
104087 }
104088 #endif
104089
104090 int
104091 main ()
104092 {
104093 return f != $ac_func;
104094 ;
104095 return 0;
104096 }
104097 _ACEOF
104098 rm -f conftest.$ac_objext conftest$ac_exeext
104099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104100 (eval $ac_link) 2>conftest.er1
104101 ac_status=$?
104102 grep -v '^ *+' conftest.er1 >conftest.err
104103 rm -f conftest.er1
104104 cat conftest.err >&5
104105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104106 (exit $ac_status); } &&
104107 { ac_try='test -z "$ac_c_werror_flag"
104108 || test ! -s conftest.err'
104109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104110 (eval $ac_try) 2>&5
104111 ac_status=$?
104112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104113 (exit $ac_status); }; } &&
104114 { ac_try='test -s conftest$ac_exeext'
104115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104116 (eval $ac_try) 2>&5
104117 ac_status=$?
104118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104119 (exit $ac_status); }; }; then
104120 eval "$as_ac_var=yes"
104121 else
104122 echo "$as_me: failed program was:" >&5
104123 sed 's/^/| /' conftest.$ac_ext >&5
104124
104125 eval "$as_ac_var=no"
104126 fi
104127 rm -f conftest.err conftest.$ac_objext \
104128 conftest$ac_exeext conftest.$ac_ext
104129 fi
104130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104132 if test `eval echo '${'$as_ac_var'}'` = yes; then
104133 cat >>confdefs.h <<_ACEOF
104134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104135 _ACEOF
104136
104137 fi
104138 done
104139
104140 else
104141
104142 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
104143 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
104144 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
104145 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
104146 echo $ECHO_N "(cached) $ECHO_C" >&6
104147 else
104148
104149
104150
104151 ac_ext=cc
104152 ac_cpp='$CXXCPP $CPPFLAGS'
104153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104156
104157 cat >conftest.$ac_ext <<_ACEOF
104158 /* confdefs.h. */
104159 _ACEOF
104160 cat confdefs.h >>conftest.$ac_ext
104161 cat >>conftest.$ac_ext <<_ACEOF
104162 /* end confdefs.h. */
104163 #include <math.h>
104164 #ifdef HAVE_IEEEFP_H
104165 #include <ieeefp.h>
104166 #endif
104167
104168 int
104169 main ()
104170 {
104171 _sqrtf(0);
104172 ;
104173 return 0;
104174 }
104175 _ACEOF
104176 rm -f conftest.$ac_objext
104177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104178 (eval $ac_compile) 2>conftest.er1
104179 ac_status=$?
104180 grep -v '^ *+' conftest.er1 >conftest.err
104181 rm -f conftest.er1
104182 cat conftest.err >&5
104183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104184 (exit $ac_status); } &&
104185 { ac_try='test -z "$ac_cxx_werror_flag"
104186 || test ! -s conftest.err'
104187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104188 (eval $ac_try) 2>&5
104189 ac_status=$?
104190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104191 (exit $ac_status); }; } &&
104192 { ac_try='test -s conftest.$ac_objext'
104193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104194 (eval $ac_try) 2>&5
104195 ac_status=$?
104196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104197 (exit $ac_status); }; }; then
104198 glibcxx_cv_func__sqrtf_use=yes
104199 else
104200 echo "$as_me: failed program was:" >&5
104201 sed 's/^/| /' conftest.$ac_ext >&5
104202
104203 glibcxx_cv_func__sqrtf_use=no
104204 fi
104205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104206 ac_ext=c
104207 ac_cpp='$CPP $CPPFLAGS'
104208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104211
104212
104213 fi
104214
104215 fi
104216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
104217 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
104218
104219 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
104220
104221 for ac_func in _sqrtf
104222 do
104223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104224 echo "$as_me:$LINENO: checking for $ac_func" >&5
104225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104226 if eval "test \"\${$as_ac_var+set}\" = set"; then
104227 echo $ECHO_N "(cached) $ECHO_C" >&6
104228 else
104229 if test x$gcc_no_link = xyes; then
104230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104232 { (exit 1); exit 1; }; }
104233 fi
104234 cat >conftest.$ac_ext <<_ACEOF
104235 /* confdefs.h. */
104236 _ACEOF
104237 cat confdefs.h >>conftest.$ac_ext
104238 cat >>conftest.$ac_ext <<_ACEOF
104239 /* end confdefs.h. */
104240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104242 #define $ac_func innocuous_$ac_func
104243
104244 /* System header to define __stub macros and hopefully few prototypes,
104245 which can conflict with char $ac_func (); below.
104246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104247 <limits.h> exists even on freestanding compilers. */
104248
104249 #ifdef __STDC__
104250 # include <limits.h>
104251 #else
104252 # include <assert.h>
104253 #endif
104254
104255 #undef $ac_func
104256
104257 /* Override any gcc2 internal prototype to avoid an error. */
104258 #ifdef __cplusplus
104259 extern "C"
104260 {
104261 #endif
104262 /* We use char because int might match the return type of a gcc2
104263 builtin and then its argument prototype would still apply. */
104264 char $ac_func ();
104265 /* The GNU C library defines this for functions which it implements
104266 to always fail with ENOSYS. Some functions are actually named
104267 something starting with __ and the normal name is an alias. */
104268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104269 choke me
104270 #else
104271 char (*f) () = $ac_func;
104272 #endif
104273 #ifdef __cplusplus
104274 }
104275 #endif
104276
104277 int
104278 main ()
104279 {
104280 return f != $ac_func;
104281 ;
104282 return 0;
104283 }
104284 _ACEOF
104285 rm -f conftest.$ac_objext conftest$ac_exeext
104286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104287 (eval $ac_link) 2>conftest.er1
104288 ac_status=$?
104289 grep -v '^ *+' conftest.er1 >conftest.err
104290 rm -f conftest.er1
104291 cat conftest.err >&5
104292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104293 (exit $ac_status); } &&
104294 { ac_try='test -z "$ac_c_werror_flag"
104295 || test ! -s conftest.err'
104296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104297 (eval $ac_try) 2>&5
104298 ac_status=$?
104299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104300 (exit $ac_status); }; } &&
104301 { ac_try='test -s conftest$ac_exeext'
104302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104303 (eval $ac_try) 2>&5
104304 ac_status=$?
104305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104306 (exit $ac_status); }; }; then
104307 eval "$as_ac_var=yes"
104308 else
104309 echo "$as_me: failed program was:" >&5
104310 sed 's/^/| /' conftest.$ac_ext >&5
104311
104312 eval "$as_ac_var=no"
104313 fi
104314 rm -f conftest.err conftest.$ac_objext \
104315 conftest$ac_exeext conftest.$ac_ext
104316 fi
104317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104319 if test `eval echo '${'$as_ac_var'}'` = yes; then
104320 cat >>confdefs.h <<_ACEOF
104321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104322 _ACEOF
104323
104324 fi
104325 done
104326
104327 fi
104328 fi
104329
104330
104331
104332
104333
104334
104335 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
104336 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
104337 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
104338 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
104339 echo $ECHO_N "(cached) $ECHO_C" >&6
104340 else
104341
104342
104343
104344 ac_ext=cc
104345 ac_cpp='$CXXCPP $CPPFLAGS'
104346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104349
104350 cat >conftest.$ac_ext <<_ACEOF
104351 /* confdefs.h. */
104352 _ACEOF
104353 cat confdefs.h >>conftest.$ac_ext
104354 cat >>conftest.$ac_ext <<_ACEOF
104355 /* end confdefs.h. */
104356 #include <math.h>
104357 int
104358 main ()
104359 {
104360 sincosf(0, 0, 0);
104361 ;
104362 return 0;
104363 }
104364 _ACEOF
104365 rm -f conftest.$ac_objext
104366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104367 (eval $ac_compile) 2>conftest.er1
104368 ac_status=$?
104369 grep -v '^ *+' conftest.er1 >conftest.err
104370 rm -f conftest.er1
104371 cat conftest.err >&5
104372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104373 (exit $ac_status); } &&
104374 { ac_try='test -z "$ac_cxx_werror_flag"
104375 || test ! -s conftest.err'
104376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104377 (eval $ac_try) 2>&5
104378 ac_status=$?
104379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104380 (exit $ac_status); }; } &&
104381 { ac_try='test -s conftest.$ac_objext'
104382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104383 (eval $ac_try) 2>&5
104384 ac_status=$?
104385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104386 (exit $ac_status); }; }; then
104387 glibcxx_cv_func_sincosf_use=yes
104388 else
104389 echo "$as_me: failed program was:" >&5
104390 sed 's/^/| /' conftest.$ac_ext >&5
104391
104392 glibcxx_cv_func_sincosf_use=no
104393 fi
104394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104395 ac_ext=c
104396 ac_cpp='$CPP $CPPFLAGS'
104397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104400
104401
104402 fi
104403
104404 fi
104405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
104406 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
104407
104408 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
104409
104410 for ac_func in sincosf
104411 do
104412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104413 echo "$as_me:$LINENO: checking for $ac_func" >&5
104414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104415 if eval "test \"\${$as_ac_var+set}\" = set"; then
104416 echo $ECHO_N "(cached) $ECHO_C" >&6
104417 else
104418 if test x$gcc_no_link = xyes; then
104419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104421 { (exit 1); exit 1; }; }
104422 fi
104423 cat >conftest.$ac_ext <<_ACEOF
104424 /* confdefs.h. */
104425 _ACEOF
104426 cat confdefs.h >>conftest.$ac_ext
104427 cat >>conftest.$ac_ext <<_ACEOF
104428 /* end confdefs.h. */
104429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104431 #define $ac_func innocuous_$ac_func
104432
104433 /* System header to define __stub macros and hopefully few prototypes,
104434 which can conflict with char $ac_func (); below.
104435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104436 <limits.h> exists even on freestanding compilers. */
104437
104438 #ifdef __STDC__
104439 # include <limits.h>
104440 #else
104441 # include <assert.h>
104442 #endif
104443
104444 #undef $ac_func
104445
104446 /* Override any gcc2 internal prototype to avoid an error. */
104447 #ifdef __cplusplus
104448 extern "C"
104449 {
104450 #endif
104451 /* We use char because int might match the return type of a gcc2
104452 builtin and then its argument prototype would still apply. */
104453 char $ac_func ();
104454 /* The GNU C library defines this for functions which it implements
104455 to always fail with ENOSYS. Some functions are actually named
104456 something starting with __ and the normal name is an alias. */
104457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104458 choke me
104459 #else
104460 char (*f) () = $ac_func;
104461 #endif
104462 #ifdef __cplusplus
104463 }
104464 #endif
104465
104466 int
104467 main ()
104468 {
104469 return f != $ac_func;
104470 ;
104471 return 0;
104472 }
104473 _ACEOF
104474 rm -f conftest.$ac_objext conftest$ac_exeext
104475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104476 (eval $ac_link) 2>conftest.er1
104477 ac_status=$?
104478 grep -v '^ *+' conftest.er1 >conftest.err
104479 rm -f conftest.er1
104480 cat conftest.err >&5
104481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104482 (exit $ac_status); } &&
104483 { ac_try='test -z "$ac_c_werror_flag"
104484 || test ! -s conftest.err'
104485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104486 (eval $ac_try) 2>&5
104487 ac_status=$?
104488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104489 (exit $ac_status); }; } &&
104490 { ac_try='test -s conftest$ac_exeext'
104491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104492 (eval $ac_try) 2>&5
104493 ac_status=$?
104494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104495 (exit $ac_status); }; }; then
104496 eval "$as_ac_var=yes"
104497 else
104498 echo "$as_me: failed program was:" >&5
104499 sed 's/^/| /' conftest.$ac_ext >&5
104500
104501 eval "$as_ac_var=no"
104502 fi
104503 rm -f conftest.err conftest.$ac_objext \
104504 conftest$ac_exeext conftest.$ac_ext
104505 fi
104506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104508 if test `eval echo '${'$as_ac_var'}'` = yes; then
104509 cat >>confdefs.h <<_ACEOF
104510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104511 _ACEOF
104512
104513 fi
104514 done
104515
104516 else
104517
104518 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
104519 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
104520 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
104521 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
104522 echo $ECHO_N "(cached) $ECHO_C" >&6
104523 else
104524
104525
104526
104527 ac_ext=cc
104528 ac_cpp='$CXXCPP $CPPFLAGS'
104529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104532
104533 cat >conftest.$ac_ext <<_ACEOF
104534 /* confdefs.h. */
104535 _ACEOF
104536 cat confdefs.h >>conftest.$ac_ext
104537 cat >>conftest.$ac_ext <<_ACEOF
104538 /* end confdefs.h. */
104539 #include <math.h>
104540 int
104541 main ()
104542 {
104543 _sincosf(0, 0, 0);
104544 ;
104545 return 0;
104546 }
104547 _ACEOF
104548 rm -f conftest.$ac_objext
104549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104550 (eval $ac_compile) 2>conftest.er1
104551 ac_status=$?
104552 grep -v '^ *+' conftest.er1 >conftest.err
104553 rm -f conftest.er1
104554 cat conftest.err >&5
104555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104556 (exit $ac_status); } &&
104557 { ac_try='test -z "$ac_cxx_werror_flag"
104558 || test ! -s conftest.err'
104559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104560 (eval $ac_try) 2>&5
104561 ac_status=$?
104562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104563 (exit $ac_status); }; } &&
104564 { ac_try='test -s conftest.$ac_objext'
104565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104566 (eval $ac_try) 2>&5
104567 ac_status=$?
104568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104569 (exit $ac_status); }; }; then
104570 glibcxx_cv_func__sincosf_use=yes
104571 else
104572 echo "$as_me: failed program was:" >&5
104573 sed 's/^/| /' conftest.$ac_ext >&5
104574
104575 glibcxx_cv_func__sincosf_use=no
104576 fi
104577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104578 ac_ext=c
104579 ac_cpp='$CPP $CPPFLAGS'
104580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104583
104584
104585 fi
104586
104587 fi
104588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
104589 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
104590
104591 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
104592
104593 for ac_func in _sincosf
104594 do
104595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104596 echo "$as_me:$LINENO: checking for $ac_func" >&5
104597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104598 if eval "test \"\${$as_ac_var+set}\" = set"; then
104599 echo $ECHO_N "(cached) $ECHO_C" >&6
104600 else
104601 if test x$gcc_no_link = xyes; then
104602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104604 { (exit 1); exit 1; }; }
104605 fi
104606 cat >conftest.$ac_ext <<_ACEOF
104607 /* confdefs.h. */
104608 _ACEOF
104609 cat confdefs.h >>conftest.$ac_ext
104610 cat >>conftest.$ac_ext <<_ACEOF
104611 /* end confdefs.h. */
104612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104614 #define $ac_func innocuous_$ac_func
104615
104616 /* System header to define __stub macros and hopefully few prototypes,
104617 which can conflict with char $ac_func (); below.
104618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104619 <limits.h> exists even on freestanding compilers. */
104620
104621 #ifdef __STDC__
104622 # include <limits.h>
104623 #else
104624 # include <assert.h>
104625 #endif
104626
104627 #undef $ac_func
104628
104629 /* Override any gcc2 internal prototype to avoid an error. */
104630 #ifdef __cplusplus
104631 extern "C"
104632 {
104633 #endif
104634 /* We use char because int might match the return type of a gcc2
104635 builtin and then its argument prototype would still apply. */
104636 char $ac_func ();
104637 /* The GNU C library defines this for functions which it implements
104638 to always fail with ENOSYS. Some functions are actually named
104639 something starting with __ and the normal name is an alias. */
104640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104641 choke me
104642 #else
104643 char (*f) () = $ac_func;
104644 #endif
104645 #ifdef __cplusplus
104646 }
104647 #endif
104648
104649 int
104650 main ()
104651 {
104652 return f != $ac_func;
104653 ;
104654 return 0;
104655 }
104656 _ACEOF
104657 rm -f conftest.$ac_objext conftest$ac_exeext
104658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104659 (eval $ac_link) 2>conftest.er1
104660 ac_status=$?
104661 grep -v '^ *+' conftest.er1 >conftest.err
104662 rm -f conftest.er1
104663 cat conftest.err >&5
104664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104665 (exit $ac_status); } &&
104666 { ac_try='test -z "$ac_c_werror_flag"
104667 || test ! -s conftest.err'
104668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104669 (eval $ac_try) 2>&5
104670 ac_status=$?
104671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104672 (exit $ac_status); }; } &&
104673 { ac_try='test -s conftest$ac_exeext'
104674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104675 (eval $ac_try) 2>&5
104676 ac_status=$?
104677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104678 (exit $ac_status); }; }; then
104679 eval "$as_ac_var=yes"
104680 else
104681 echo "$as_me: failed program was:" >&5
104682 sed 's/^/| /' conftest.$ac_ext >&5
104683
104684 eval "$as_ac_var=no"
104685 fi
104686 rm -f conftest.err conftest.$ac_objext \
104687 conftest$ac_exeext conftest.$ac_ext
104688 fi
104689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104691 if test `eval echo '${'$as_ac_var'}'` = yes; then
104692 cat >>confdefs.h <<_ACEOF
104693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104694 _ACEOF
104695
104696 fi
104697 done
104698
104699 fi
104700 fi
104701
104702
104703
104704
104705
104706
104707 echo "$as_me:$LINENO: checking for finitef declaration" >&5
104708 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
104709 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
104710 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
104711 echo $ECHO_N "(cached) $ECHO_C" >&6
104712 else
104713
104714
104715
104716 ac_ext=cc
104717 ac_cpp='$CXXCPP $CPPFLAGS'
104718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104721
104722 cat >conftest.$ac_ext <<_ACEOF
104723 /* confdefs.h. */
104724 _ACEOF
104725 cat confdefs.h >>conftest.$ac_ext
104726 cat >>conftest.$ac_ext <<_ACEOF
104727 /* end confdefs.h. */
104728 #include <math.h>
104729 #ifdef HAVE_IEEEFP_H
104730 #include <ieeefp.h>
104731 #endif
104732
104733 int
104734 main ()
104735 {
104736 finitef(0);
104737 ;
104738 return 0;
104739 }
104740 _ACEOF
104741 rm -f conftest.$ac_objext
104742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104743 (eval $ac_compile) 2>conftest.er1
104744 ac_status=$?
104745 grep -v '^ *+' conftest.er1 >conftest.err
104746 rm -f conftest.er1
104747 cat conftest.err >&5
104748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104749 (exit $ac_status); } &&
104750 { ac_try='test -z "$ac_cxx_werror_flag"
104751 || test ! -s conftest.err'
104752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104753 (eval $ac_try) 2>&5
104754 ac_status=$?
104755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104756 (exit $ac_status); }; } &&
104757 { ac_try='test -s conftest.$ac_objext'
104758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104759 (eval $ac_try) 2>&5
104760 ac_status=$?
104761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104762 (exit $ac_status); }; }; then
104763 glibcxx_cv_func_finitef_use=yes
104764 else
104765 echo "$as_me: failed program was:" >&5
104766 sed 's/^/| /' conftest.$ac_ext >&5
104767
104768 glibcxx_cv_func_finitef_use=no
104769 fi
104770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104771 ac_ext=c
104772 ac_cpp='$CPP $CPPFLAGS'
104773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104776
104777
104778 fi
104779
104780 fi
104781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
104782 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
104783
104784 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
104785
104786 for ac_func in finitef
104787 do
104788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104789 echo "$as_me:$LINENO: checking for $ac_func" >&5
104790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104791 if eval "test \"\${$as_ac_var+set}\" = set"; then
104792 echo $ECHO_N "(cached) $ECHO_C" >&6
104793 else
104794 if test x$gcc_no_link = xyes; then
104795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104797 { (exit 1); exit 1; }; }
104798 fi
104799 cat >conftest.$ac_ext <<_ACEOF
104800 /* confdefs.h. */
104801 _ACEOF
104802 cat confdefs.h >>conftest.$ac_ext
104803 cat >>conftest.$ac_ext <<_ACEOF
104804 /* end confdefs.h. */
104805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104807 #define $ac_func innocuous_$ac_func
104808
104809 /* System header to define __stub macros and hopefully few prototypes,
104810 which can conflict with char $ac_func (); below.
104811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104812 <limits.h> exists even on freestanding compilers. */
104813
104814 #ifdef __STDC__
104815 # include <limits.h>
104816 #else
104817 # include <assert.h>
104818 #endif
104819
104820 #undef $ac_func
104821
104822 /* Override any gcc2 internal prototype to avoid an error. */
104823 #ifdef __cplusplus
104824 extern "C"
104825 {
104826 #endif
104827 /* We use char because int might match the return type of a gcc2
104828 builtin and then its argument prototype would still apply. */
104829 char $ac_func ();
104830 /* The GNU C library defines this for functions which it implements
104831 to always fail with ENOSYS. Some functions are actually named
104832 something starting with __ and the normal name is an alias. */
104833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104834 choke me
104835 #else
104836 char (*f) () = $ac_func;
104837 #endif
104838 #ifdef __cplusplus
104839 }
104840 #endif
104841
104842 int
104843 main ()
104844 {
104845 return f != $ac_func;
104846 ;
104847 return 0;
104848 }
104849 _ACEOF
104850 rm -f conftest.$ac_objext conftest$ac_exeext
104851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104852 (eval $ac_link) 2>conftest.er1
104853 ac_status=$?
104854 grep -v '^ *+' conftest.er1 >conftest.err
104855 rm -f conftest.er1
104856 cat conftest.err >&5
104857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104858 (exit $ac_status); } &&
104859 { ac_try='test -z "$ac_c_werror_flag"
104860 || test ! -s conftest.err'
104861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104862 (eval $ac_try) 2>&5
104863 ac_status=$?
104864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104865 (exit $ac_status); }; } &&
104866 { ac_try='test -s conftest$ac_exeext'
104867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104868 (eval $ac_try) 2>&5
104869 ac_status=$?
104870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104871 (exit $ac_status); }; }; then
104872 eval "$as_ac_var=yes"
104873 else
104874 echo "$as_me: failed program was:" >&5
104875 sed 's/^/| /' conftest.$ac_ext >&5
104876
104877 eval "$as_ac_var=no"
104878 fi
104879 rm -f conftest.err conftest.$ac_objext \
104880 conftest$ac_exeext conftest.$ac_ext
104881 fi
104882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104884 if test `eval echo '${'$as_ac_var'}'` = yes; then
104885 cat >>confdefs.h <<_ACEOF
104886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104887 _ACEOF
104888
104889 fi
104890 done
104891
104892 else
104893
104894 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
104895 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
104896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
104897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
104898 echo $ECHO_N "(cached) $ECHO_C" >&6
104899 else
104900
104901
104902
104903 ac_ext=cc
104904 ac_cpp='$CXXCPP $CPPFLAGS'
104905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104908
104909 cat >conftest.$ac_ext <<_ACEOF
104910 /* confdefs.h. */
104911 _ACEOF
104912 cat confdefs.h >>conftest.$ac_ext
104913 cat >>conftest.$ac_ext <<_ACEOF
104914 /* end confdefs.h. */
104915 #include <math.h>
104916 #ifdef HAVE_IEEEFP_H
104917 #include <ieeefp.h>
104918 #endif
104919
104920 int
104921 main ()
104922 {
104923 _finitef(0);
104924 ;
104925 return 0;
104926 }
104927 _ACEOF
104928 rm -f conftest.$ac_objext
104929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104930 (eval $ac_compile) 2>conftest.er1
104931 ac_status=$?
104932 grep -v '^ *+' conftest.er1 >conftest.err
104933 rm -f conftest.er1
104934 cat conftest.err >&5
104935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104936 (exit $ac_status); } &&
104937 { ac_try='test -z "$ac_cxx_werror_flag"
104938 || test ! -s conftest.err'
104939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104940 (eval $ac_try) 2>&5
104941 ac_status=$?
104942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104943 (exit $ac_status); }; } &&
104944 { ac_try='test -s conftest.$ac_objext'
104945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104946 (eval $ac_try) 2>&5
104947 ac_status=$?
104948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104949 (exit $ac_status); }; }; then
104950 glibcxx_cv_func__finitef_use=yes
104951 else
104952 echo "$as_me: failed program was:" >&5
104953 sed 's/^/| /' conftest.$ac_ext >&5
104954
104955 glibcxx_cv_func__finitef_use=no
104956 fi
104957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104958 ac_ext=c
104959 ac_cpp='$CPP $CPPFLAGS'
104960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104963
104964
104965 fi
104966
104967 fi
104968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
104969 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
104970
104971 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
104972
104973 for ac_func in _finitef
104974 do
104975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104976 echo "$as_me:$LINENO: checking for $ac_func" >&5
104977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104978 if eval "test \"\${$as_ac_var+set}\" = set"; then
104979 echo $ECHO_N "(cached) $ECHO_C" >&6
104980 else
104981 if test x$gcc_no_link = xyes; then
104982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104984 { (exit 1); exit 1; }; }
104985 fi
104986 cat >conftest.$ac_ext <<_ACEOF
104987 /* confdefs.h. */
104988 _ACEOF
104989 cat confdefs.h >>conftest.$ac_ext
104990 cat >>conftest.$ac_ext <<_ACEOF
104991 /* end confdefs.h. */
104992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104994 #define $ac_func innocuous_$ac_func
104995
104996 /* System header to define __stub macros and hopefully few prototypes,
104997 which can conflict with char $ac_func (); below.
104998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104999 <limits.h> exists even on freestanding compilers. */
105000
105001 #ifdef __STDC__
105002 # include <limits.h>
105003 #else
105004 # include <assert.h>
105005 #endif
105006
105007 #undef $ac_func
105008
105009 /* Override any gcc2 internal prototype to avoid an error. */
105010 #ifdef __cplusplus
105011 extern "C"
105012 {
105013 #endif
105014 /* We use char because int might match the return type of a gcc2
105015 builtin and then its argument prototype would still apply. */
105016 char $ac_func ();
105017 /* The GNU C library defines this for functions which it implements
105018 to always fail with ENOSYS. Some functions are actually named
105019 something starting with __ and the normal name is an alias. */
105020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105021 choke me
105022 #else
105023 char (*f) () = $ac_func;
105024 #endif
105025 #ifdef __cplusplus
105026 }
105027 #endif
105028
105029 int
105030 main ()
105031 {
105032 return f != $ac_func;
105033 ;
105034 return 0;
105035 }
105036 _ACEOF
105037 rm -f conftest.$ac_objext conftest$ac_exeext
105038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105039 (eval $ac_link) 2>conftest.er1
105040 ac_status=$?
105041 grep -v '^ *+' conftest.er1 >conftest.err
105042 rm -f conftest.er1
105043 cat conftest.err >&5
105044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105045 (exit $ac_status); } &&
105046 { ac_try='test -z "$ac_c_werror_flag"
105047 || test ! -s conftest.err'
105048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105049 (eval $ac_try) 2>&5
105050 ac_status=$?
105051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105052 (exit $ac_status); }; } &&
105053 { ac_try='test -s conftest$ac_exeext'
105054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105055 (eval $ac_try) 2>&5
105056 ac_status=$?
105057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105058 (exit $ac_status); }; }; then
105059 eval "$as_ac_var=yes"
105060 else
105061 echo "$as_me: failed program was:" >&5
105062 sed 's/^/| /' conftest.$ac_ext >&5
105063
105064 eval "$as_ac_var=no"
105065 fi
105066 rm -f conftest.err conftest.$ac_objext \
105067 conftest$ac_exeext conftest.$ac_ext
105068 fi
105069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105071 if test `eval echo '${'$as_ac_var'}'` = yes; then
105072 cat >>confdefs.h <<_ACEOF
105073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105074 _ACEOF
105075
105076 fi
105077 done
105078
105079 fi
105080 fi
105081
105082
105083
105084
105085
105086
105087 echo "$as_me:$LINENO: checking for long double trig functions" >&5
105088 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
105089 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
105090 echo $ECHO_N "(cached) $ECHO_C" >&6
105091 else
105092
105093
105094
105095 ac_ext=cc
105096 ac_cpp='$CXXCPP $CPPFLAGS'
105097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105100
105101 cat >conftest.$ac_ext <<_ACEOF
105102 /* confdefs.h. */
105103 _ACEOF
105104 cat confdefs.h >>conftest.$ac_ext
105105 cat >>conftest.$ac_ext <<_ACEOF
105106 /* end confdefs.h. */
105107 #include <math.h>
105108 int
105109 main ()
105110 {
105111 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
105112 ;
105113 return 0;
105114 }
105115 _ACEOF
105116 rm -f conftest.$ac_objext
105117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105118 (eval $ac_compile) 2>conftest.er1
105119 ac_status=$?
105120 grep -v '^ *+' conftest.er1 >conftest.err
105121 rm -f conftest.er1
105122 cat conftest.err >&5
105123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105124 (exit $ac_status); } &&
105125 { ac_try='test -z "$ac_cxx_werror_flag"
105126 || test ! -s conftest.err'
105127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105128 (eval $ac_try) 2>&5
105129 ac_status=$?
105130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105131 (exit $ac_status); }; } &&
105132 { ac_try='test -s conftest.$ac_objext'
105133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105134 (eval $ac_try) 2>&5
105135 ac_status=$?
105136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105137 (exit $ac_status); }; }; then
105138 glibcxx_cv_func_long_double_trig_use=yes
105139 else
105140 echo "$as_me: failed program was:" >&5
105141 sed 's/^/| /' conftest.$ac_ext >&5
105142
105143 glibcxx_cv_func_long_double_trig_use=no
105144 fi
105145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105146 ac_ext=c
105147 ac_cpp='$CPP $CPPFLAGS'
105148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105151
105152 fi
105153
105154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
105155 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
105156 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
105157
105158
105159
105160
105161
105162
105163
105164
105165
105166 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
105167 do
105168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105169 echo "$as_me:$LINENO: checking for $ac_func" >&5
105170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105171 if eval "test \"\${$as_ac_var+set}\" = set"; then
105172 echo $ECHO_N "(cached) $ECHO_C" >&6
105173 else
105174 if test x$gcc_no_link = xyes; then
105175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105177 { (exit 1); exit 1; }; }
105178 fi
105179 cat >conftest.$ac_ext <<_ACEOF
105180 /* confdefs.h. */
105181 _ACEOF
105182 cat confdefs.h >>conftest.$ac_ext
105183 cat >>conftest.$ac_ext <<_ACEOF
105184 /* end confdefs.h. */
105185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105187 #define $ac_func innocuous_$ac_func
105188
105189 /* System header to define __stub macros and hopefully few prototypes,
105190 which can conflict with char $ac_func (); below.
105191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105192 <limits.h> exists even on freestanding compilers. */
105193
105194 #ifdef __STDC__
105195 # include <limits.h>
105196 #else
105197 # include <assert.h>
105198 #endif
105199
105200 #undef $ac_func
105201
105202 /* Override any gcc2 internal prototype to avoid an error. */
105203 #ifdef __cplusplus
105204 extern "C"
105205 {
105206 #endif
105207 /* We use char because int might match the return type of a gcc2
105208 builtin and then its argument prototype would still apply. */
105209 char $ac_func ();
105210 /* The GNU C library defines this for functions which it implements
105211 to always fail with ENOSYS. Some functions are actually named
105212 something starting with __ and the normal name is an alias. */
105213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105214 choke me
105215 #else
105216 char (*f) () = $ac_func;
105217 #endif
105218 #ifdef __cplusplus
105219 }
105220 #endif
105221
105222 int
105223 main ()
105224 {
105225 return f != $ac_func;
105226 ;
105227 return 0;
105228 }
105229 _ACEOF
105230 rm -f conftest.$ac_objext conftest$ac_exeext
105231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105232 (eval $ac_link) 2>conftest.er1
105233 ac_status=$?
105234 grep -v '^ *+' conftest.er1 >conftest.err
105235 rm -f conftest.er1
105236 cat conftest.err >&5
105237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105238 (exit $ac_status); } &&
105239 { ac_try='test -z "$ac_c_werror_flag"
105240 || test ! -s conftest.err'
105241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105242 (eval $ac_try) 2>&5
105243 ac_status=$?
105244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105245 (exit $ac_status); }; } &&
105246 { ac_try='test -s conftest$ac_exeext'
105247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105248 (eval $ac_try) 2>&5
105249 ac_status=$?
105250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105251 (exit $ac_status); }; }; then
105252 eval "$as_ac_var=yes"
105253 else
105254 echo "$as_me: failed program was:" >&5
105255 sed 's/^/| /' conftest.$ac_ext >&5
105256
105257 eval "$as_ac_var=no"
105258 fi
105259 rm -f conftest.err conftest.$ac_objext \
105260 conftest$ac_exeext conftest.$ac_ext
105261 fi
105262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105264 if test `eval echo '${'$as_ac_var'}'` = yes; then
105265 cat >>confdefs.h <<_ACEOF
105266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105267 _ACEOF
105268
105269 fi
105270 done
105271
105272 else
105273 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
105274 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
105275 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
105276 echo $ECHO_N "(cached) $ECHO_C" >&6
105277 else
105278
105279
105280
105281 ac_ext=cc
105282 ac_cpp='$CXXCPP $CPPFLAGS'
105283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105286
105287 cat >conftest.$ac_ext <<_ACEOF
105288 /* confdefs.h. */
105289 _ACEOF
105290 cat confdefs.h >>conftest.$ac_ext
105291 cat >>conftest.$ac_ext <<_ACEOF
105292 /* end confdefs.h. */
105293 #include <math.h>
105294 int
105295 main ()
105296 {
105297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
105298 ;
105299 return 0;
105300 }
105301 _ACEOF
105302 rm -f conftest.$ac_objext
105303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105304 (eval $ac_compile) 2>conftest.er1
105305 ac_status=$?
105306 grep -v '^ *+' conftest.er1 >conftest.err
105307 rm -f conftest.er1
105308 cat conftest.err >&5
105309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105310 (exit $ac_status); } &&
105311 { ac_try='test -z "$ac_cxx_werror_flag"
105312 || test ! -s conftest.err'
105313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105314 (eval $ac_try) 2>&5
105315 ac_status=$?
105316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105317 (exit $ac_status); }; } &&
105318 { ac_try='test -s conftest.$ac_objext'
105319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105320 (eval $ac_try) 2>&5
105321 ac_status=$?
105322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105323 (exit $ac_status); }; }; then
105324 glibcxx_cv_func__long_double_trig_use=yes
105325 else
105326 echo "$as_me: failed program was:" >&5
105327 sed 's/^/| /' conftest.$ac_ext >&5
105328
105329 glibcxx_cv_func__long_double_trig_use=no
105330 fi
105331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105332 ac_ext=c
105333 ac_cpp='$CPP $CPPFLAGS'
105334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105337
105338 fi
105339
105340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
105341 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
105342 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
105343
105344
105345
105346
105347
105348
105349
105350
105351
105352 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
105353 do
105354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105355 echo "$as_me:$LINENO: checking for $ac_func" >&5
105356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105357 if eval "test \"\${$as_ac_var+set}\" = set"; then
105358 echo $ECHO_N "(cached) $ECHO_C" >&6
105359 else
105360 if test x$gcc_no_link = xyes; then
105361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105363 { (exit 1); exit 1; }; }
105364 fi
105365 cat >conftest.$ac_ext <<_ACEOF
105366 /* confdefs.h. */
105367 _ACEOF
105368 cat confdefs.h >>conftest.$ac_ext
105369 cat >>conftest.$ac_ext <<_ACEOF
105370 /* end confdefs.h. */
105371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105373 #define $ac_func innocuous_$ac_func
105374
105375 /* System header to define __stub macros and hopefully few prototypes,
105376 which can conflict with char $ac_func (); below.
105377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105378 <limits.h> exists even on freestanding compilers. */
105379
105380 #ifdef __STDC__
105381 # include <limits.h>
105382 #else
105383 # include <assert.h>
105384 #endif
105385
105386 #undef $ac_func
105387
105388 /* Override any gcc2 internal prototype to avoid an error. */
105389 #ifdef __cplusplus
105390 extern "C"
105391 {
105392 #endif
105393 /* We use char because int might match the return type of a gcc2
105394 builtin and then its argument prototype would still apply. */
105395 char $ac_func ();
105396 /* The GNU C library defines this for functions which it implements
105397 to always fail with ENOSYS. Some functions are actually named
105398 something starting with __ and the normal name is an alias. */
105399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105400 choke me
105401 #else
105402 char (*f) () = $ac_func;
105403 #endif
105404 #ifdef __cplusplus
105405 }
105406 #endif
105407
105408 int
105409 main ()
105410 {
105411 return f != $ac_func;
105412 ;
105413 return 0;
105414 }
105415 _ACEOF
105416 rm -f conftest.$ac_objext conftest$ac_exeext
105417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105418 (eval $ac_link) 2>conftest.er1
105419 ac_status=$?
105420 grep -v '^ *+' conftest.er1 >conftest.err
105421 rm -f conftest.er1
105422 cat conftest.err >&5
105423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105424 (exit $ac_status); } &&
105425 { ac_try='test -z "$ac_c_werror_flag"
105426 || test ! -s conftest.err'
105427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105428 (eval $ac_try) 2>&5
105429 ac_status=$?
105430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105431 (exit $ac_status); }; } &&
105432 { ac_try='test -s conftest$ac_exeext'
105433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105434 (eval $ac_try) 2>&5
105435 ac_status=$?
105436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105437 (exit $ac_status); }; }; then
105438 eval "$as_ac_var=yes"
105439 else
105440 echo "$as_me: failed program was:" >&5
105441 sed 's/^/| /' conftest.$ac_ext >&5
105442
105443 eval "$as_ac_var=no"
105444 fi
105445 rm -f conftest.err conftest.$ac_objext \
105446 conftest$ac_exeext conftest.$ac_ext
105447 fi
105448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105450 if test `eval echo '${'$as_ac_var'}'` = yes; then
105451 cat >>confdefs.h <<_ACEOF
105452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105453 _ACEOF
105454
105455 fi
105456 done
105457
105458 fi
105459 fi
105460
105461
105462
105463
105464
105465
105466
105467
105468
105469
105470
105471
105472
105473
105474 echo "$as_me:$LINENO: checking for long double round functions" >&5
105475 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
105476 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
105477 echo $ECHO_N "(cached) $ECHO_C" >&6
105478 else
105479
105480
105481
105482 ac_ext=cc
105483 ac_cpp='$CXXCPP $CPPFLAGS'
105484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105487
105488 cat >conftest.$ac_ext <<_ACEOF
105489 /* confdefs.h. */
105490 _ACEOF
105491 cat confdefs.h >>conftest.$ac_ext
105492 cat >>conftest.$ac_ext <<_ACEOF
105493 /* end confdefs.h. */
105494 #include <math.h>
105495 int
105496 main ()
105497 {
105498 ceill (0); floorl (0);
105499 ;
105500 return 0;
105501 }
105502 _ACEOF
105503 rm -f conftest.$ac_objext
105504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105505 (eval $ac_compile) 2>conftest.er1
105506 ac_status=$?
105507 grep -v '^ *+' conftest.er1 >conftest.err
105508 rm -f conftest.er1
105509 cat conftest.err >&5
105510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105511 (exit $ac_status); } &&
105512 { ac_try='test -z "$ac_cxx_werror_flag"
105513 || test ! -s conftest.err'
105514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105515 (eval $ac_try) 2>&5
105516 ac_status=$?
105517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105518 (exit $ac_status); }; } &&
105519 { ac_try='test -s conftest.$ac_objext'
105520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105521 (eval $ac_try) 2>&5
105522 ac_status=$?
105523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105524 (exit $ac_status); }; }; then
105525 glibcxx_cv_func_long_double_round_use=yes
105526 else
105527 echo "$as_me: failed program was:" >&5
105528 sed 's/^/| /' conftest.$ac_ext >&5
105529
105530 glibcxx_cv_func_long_double_round_use=no
105531 fi
105532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105533 ac_ext=c
105534 ac_cpp='$CPP $CPPFLAGS'
105535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105538
105539 fi
105540
105541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
105542 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
105543 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
105544
105545
105546 for ac_func in ceill floorl
105547 do
105548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105549 echo "$as_me:$LINENO: checking for $ac_func" >&5
105550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105551 if eval "test \"\${$as_ac_var+set}\" = set"; then
105552 echo $ECHO_N "(cached) $ECHO_C" >&6
105553 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105567 #define $ac_func innocuous_$ac_func
105568
105569 /* System header to define __stub macros and hopefully few prototypes,
105570 which can conflict with char $ac_func (); below.
105571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105572 <limits.h> exists even on freestanding compilers. */
105573
105574 #ifdef __STDC__
105575 # include <limits.h>
105576 #else
105577 # include <assert.h>
105578 #endif
105579
105580 #undef $ac_func
105581
105582 /* Override any gcc2 internal prototype to avoid an error. */
105583 #ifdef __cplusplus
105584 extern "C"
105585 {
105586 #endif
105587 /* We use char because int might match the return type of a gcc2
105588 builtin and then its argument prototype would still apply. */
105589 char $ac_func ();
105590 /* The GNU C library defines this for functions which it implements
105591 to always fail with ENOSYS. Some functions are actually named
105592 something starting with __ and the normal name is an alias. */
105593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105594 choke me
105595 #else
105596 char (*f) () = $ac_func;
105597 #endif
105598 #ifdef __cplusplus
105599 }
105600 #endif
105601
105602 int
105603 main ()
105604 {
105605 return f != $ac_func;
105606 ;
105607 return 0;
105608 }
105609 _ACEOF
105610 rm -f conftest.$ac_objext conftest$ac_exeext
105611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105612 (eval $ac_link) 2>conftest.er1
105613 ac_status=$?
105614 grep -v '^ *+' conftest.er1 >conftest.err
105615 rm -f conftest.er1
105616 cat conftest.err >&5
105617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105618 (exit $ac_status); } &&
105619 { ac_try='test -z "$ac_c_werror_flag"
105620 || test ! -s conftest.err'
105621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105622 (eval $ac_try) 2>&5
105623 ac_status=$?
105624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105625 (exit $ac_status); }; } &&
105626 { ac_try='test -s conftest$ac_exeext'
105627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105628 (eval $ac_try) 2>&5
105629 ac_status=$?
105630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105631 (exit $ac_status); }; }; then
105632 eval "$as_ac_var=yes"
105633 else
105634 echo "$as_me: failed program was:" >&5
105635 sed 's/^/| /' conftest.$ac_ext >&5
105636
105637 eval "$as_ac_var=no"
105638 fi
105639 rm -f conftest.err conftest.$ac_objext \
105640 conftest$ac_exeext conftest.$ac_ext
105641 fi
105642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105644 if test `eval echo '${'$as_ac_var'}'` = yes; then
105645 cat >>confdefs.h <<_ACEOF
105646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105647 _ACEOF
105648
105649 fi
105650 done
105651
105652 else
105653 echo "$as_me:$LINENO: checking for _long double round functions" >&5
105654 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
105655 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
105656 echo $ECHO_N "(cached) $ECHO_C" >&6
105657 else
105658
105659
105660
105661 ac_ext=cc
105662 ac_cpp='$CXXCPP $CPPFLAGS'
105663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105666
105667 cat >conftest.$ac_ext <<_ACEOF
105668 /* confdefs.h. */
105669 _ACEOF
105670 cat confdefs.h >>conftest.$ac_ext
105671 cat >>conftest.$ac_ext <<_ACEOF
105672 /* end confdefs.h. */
105673 #include <math.h>
105674 int
105675 main ()
105676 {
105677 _ceill (0); _floorl (0);
105678 ;
105679 return 0;
105680 }
105681 _ACEOF
105682 rm -f conftest.$ac_objext
105683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105684 (eval $ac_compile) 2>conftest.er1
105685 ac_status=$?
105686 grep -v '^ *+' conftest.er1 >conftest.err
105687 rm -f conftest.er1
105688 cat conftest.err >&5
105689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105690 (exit $ac_status); } &&
105691 { ac_try='test -z "$ac_cxx_werror_flag"
105692 || test ! -s conftest.err'
105693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105694 (eval $ac_try) 2>&5
105695 ac_status=$?
105696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105697 (exit $ac_status); }; } &&
105698 { ac_try='test -s conftest.$ac_objext'
105699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105700 (eval $ac_try) 2>&5
105701 ac_status=$?
105702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105703 (exit $ac_status); }; }; then
105704 glibcxx_cv_func__long_double_round_use=yes
105705 else
105706 echo "$as_me: failed program was:" >&5
105707 sed 's/^/| /' conftest.$ac_ext >&5
105708
105709 glibcxx_cv_func__long_double_round_use=no
105710 fi
105711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105712 ac_ext=c
105713 ac_cpp='$CPP $CPPFLAGS'
105714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105717
105718 fi
105719
105720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
105721 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
105722 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
105723
105724
105725 for ac_func in _ceill _floorl
105726 do
105727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105728 echo "$as_me:$LINENO: checking for $ac_func" >&5
105729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105730 if eval "test \"\${$as_ac_var+set}\" = set"; then
105731 echo $ECHO_N "(cached) $ECHO_C" >&6
105732 else
105733 if test x$gcc_no_link = xyes; then
105734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105736 { (exit 1); exit 1; }; }
105737 fi
105738 cat >conftest.$ac_ext <<_ACEOF
105739 /* confdefs.h. */
105740 _ACEOF
105741 cat confdefs.h >>conftest.$ac_ext
105742 cat >>conftest.$ac_ext <<_ACEOF
105743 /* end confdefs.h. */
105744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105746 #define $ac_func innocuous_$ac_func
105747
105748 /* System header to define __stub macros and hopefully few prototypes,
105749 which can conflict with char $ac_func (); below.
105750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105751 <limits.h> exists even on freestanding compilers. */
105752
105753 #ifdef __STDC__
105754 # include <limits.h>
105755 #else
105756 # include <assert.h>
105757 #endif
105758
105759 #undef $ac_func
105760
105761 /* Override any gcc2 internal prototype to avoid an error. */
105762 #ifdef __cplusplus
105763 extern "C"
105764 {
105765 #endif
105766 /* We use char because int might match the return type of a gcc2
105767 builtin and then its argument prototype would still apply. */
105768 char $ac_func ();
105769 /* The GNU C library defines this for functions which it implements
105770 to always fail with ENOSYS. Some functions are actually named
105771 something starting with __ and the normal name is an alias. */
105772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105773 choke me
105774 #else
105775 char (*f) () = $ac_func;
105776 #endif
105777 #ifdef __cplusplus
105778 }
105779 #endif
105780
105781 int
105782 main ()
105783 {
105784 return f != $ac_func;
105785 ;
105786 return 0;
105787 }
105788 _ACEOF
105789 rm -f conftest.$ac_objext conftest$ac_exeext
105790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105791 (eval $ac_link) 2>conftest.er1
105792 ac_status=$?
105793 grep -v '^ *+' conftest.er1 >conftest.err
105794 rm -f conftest.er1
105795 cat conftest.err >&5
105796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105797 (exit $ac_status); } &&
105798 { ac_try='test -z "$ac_c_werror_flag"
105799 || test ! -s conftest.err'
105800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105801 (eval $ac_try) 2>&5
105802 ac_status=$?
105803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105804 (exit $ac_status); }; } &&
105805 { ac_try='test -s conftest$ac_exeext'
105806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105807 (eval $ac_try) 2>&5
105808 ac_status=$?
105809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105810 (exit $ac_status); }; }; then
105811 eval "$as_ac_var=yes"
105812 else
105813 echo "$as_me: failed program was:" >&5
105814 sed 's/^/| /' conftest.$ac_ext >&5
105815
105816 eval "$as_ac_var=no"
105817 fi
105818 rm -f conftest.err conftest.$ac_objext \
105819 conftest$ac_exeext conftest.$ac_ext
105820 fi
105821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105823 if test `eval echo '${'$as_ac_var'}'` = yes; then
105824 cat >>confdefs.h <<_ACEOF
105825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105826 _ACEOF
105827
105828 fi
105829 done
105830
105831 fi
105832 fi
105833
105834
105835
105836
105837
105838
105839
105840
105841 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
105842 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
105843 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
105844 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
105845 echo $ECHO_N "(cached) $ECHO_C" >&6
105846 else
105847
105848
105849
105850 ac_ext=cc
105851 ac_cpp='$CXXCPP $CPPFLAGS'
105852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105855
105856 cat >conftest.$ac_ext <<_ACEOF
105857 /* confdefs.h. */
105858 _ACEOF
105859 cat confdefs.h >>conftest.$ac_ext
105860 cat >>conftest.$ac_ext <<_ACEOF
105861 /* end confdefs.h. */
105862 #include <math.h>
105863 #ifdef HAVE_IEEEFP_H
105864 #include <ieeefp.h>
105865 #endif
105866
105867 int
105868 main ()
105869 {
105870 isnanl(0);
105871 ;
105872 return 0;
105873 }
105874 _ACEOF
105875 rm -f conftest.$ac_objext
105876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105877 (eval $ac_compile) 2>conftest.er1
105878 ac_status=$?
105879 grep -v '^ *+' conftest.er1 >conftest.err
105880 rm -f conftest.er1
105881 cat conftest.err >&5
105882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105883 (exit $ac_status); } &&
105884 { ac_try='test -z "$ac_cxx_werror_flag"
105885 || test ! -s conftest.err'
105886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105887 (eval $ac_try) 2>&5
105888 ac_status=$?
105889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105890 (exit $ac_status); }; } &&
105891 { ac_try='test -s conftest.$ac_objext'
105892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105893 (eval $ac_try) 2>&5
105894 ac_status=$?
105895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105896 (exit $ac_status); }; }; then
105897 glibcxx_cv_func_isnanl_use=yes
105898 else
105899 echo "$as_me: failed program was:" >&5
105900 sed 's/^/| /' conftest.$ac_ext >&5
105901
105902 glibcxx_cv_func_isnanl_use=no
105903 fi
105904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105905 ac_ext=c
105906 ac_cpp='$CPP $CPPFLAGS'
105907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105910
105911
105912 fi
105913
105914 fi
105915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
105916 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
105917
105918 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
105919
105920 for ac_func in isnanl
105921 do
105922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105923 echo "$as_me:$LINENO: checking for $ac_func" >&5
105924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105925 if eval "test \"\${$as_ac_var+set}\" = set"; then
105926 echo $ECHO_N "(cached) $ECHO_C" >&6
105927 else
105928 if test x$gcc_no_link = xyes; then
105929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105931 { (exit 1); exit 1; }; }
105932 fi
105933 cat >conftest.$ac_ext <<_ACEOF
105934 /* confdefs.h. */
105935 _ACEOF
105936 cat confdefs.h >>conftest.$ac_ext
105937 cat >>conftest.$ac_ext <<_ACEOF
105938 /* end confdefs.h. */
105939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105941 #define $ac_func innocuous_$ac_func
105942
105943 /* System header to define __stub macros and hopefully few prototypes,
105944 which can conflict with char $ac_func (); below.
105945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105946 <limits.h> exists even on freestanding compilers. */
105947
105948 #ifdef __STDC__
105949 # include <limits.h>
105950 #else
105951 # include <assert.h>
105952 #endif
105953
105954 #undef $ac_func
105955
105956 /* Override any gcc2 internal prototype to avoid an error. */
105957 #ifdef __cplusplus
105958 extern "C"
105959 {
105960 #endif
105961 /* We use char because int might match the return type of a gcc2
105962 builtin and then its argument prototype would still apply. */
105963 char $ac_func ();
105964 /* The GNU C library defines this for functions which it implements
105965 to always fail with ENOSYS. Some functions are actually named
105966 something starting with __ and the normal name is an alias. */
105967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105968 choke me
105969 #else
105970 char (*f) () = $ac_func;
105971 #endif
105972 #ifdef __cplusplus
105973 }
105974 #endif
105975
105976 int
105977 main ()
105978 {
105979 return f != $ac_func;
105980 ;
105981 return 0;
105982 }
105983 _ACEOF
105984 rm -f conftest.$ac_objext conftest$ac_exeext
105985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105986 (eval $ac_link) 2>conftest.er1
105987 ac_status=$?
105988 grep -v '^ *+' conftest.er1 >conftest.err
105989 rm -f conftest.er1
105990 cat conftest.err >&5
105991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105992 (exit $ac_status); } &&
105993 { ac_try='test -z "$ac_c_werror_flag"
105994 || test ! -s conftest.err'
105995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105996 (eval $ac_try) 2>&5
105997 ac_status=$?
105998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105999 (exit $ac_status); }; } &&
106000 { ac_try='test -s conftest$ac_exeext'
106001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106002 (eval $ac_try) 2>&5
106003 ac_status=$?
106004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106005 (exit $ac_status); }; }; then
106006 eval "$as_ac_var=yes"
106007 else
106008 echo "$as_me: failed program was:" >&5
106009 sed 's/^/| /' conftest.$ac_ext >&5
106010
106011 eval "$as_ac_var=no"
106012 fi
106013 rm -f conftest.err conftest.$ac_objext \
106014 conftest$ac_exeext conftest.$ac_ext
106015 fi
106016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106018 if test `eval echo '${'$as_ac_var'}'` = yes; then
106019 cat >>confdefs.h <<_ACEOF
106020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106021 _ACEOF
106022
106023 fi
106024 done
106025
106026 else
106027
106028 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
106029 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
106030 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
106031 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
106032 echo $ECHO_N "(cached) $ECHO_C" >&6
106033 else
106034
106035
106036
106037 ac_ext=cc
106038 ac_cpp='$CXXCPP $CPPFLAGS'
106039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106042
106043 cat >conftest.$ac_ext <<_ACEOF
106044 /* confdefs.h. */
106045 _ACEOF
106046 cat confdefs.h >>conftest.$ac_ext
106047 cat >>conftest.$ac_ext <<_ACEOF
106048 /* end confdefs.h. */
106049 #include <math.h>
106050 #ifdef HAVE_IEEEFP_H
106051 #include <ieeefp.h>
106052 #endif
106053
106054 int
106055 main ()
106056 {
106057 _isnanl(0);
106058 ;
106059 return 0;
106060 }
106061 _ACEOF
106062 rm -f conftest.$ac_objext
106063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106064 (eval $ac_compile) 2>conftest.er1
106065 ac_status=$?
106066 grep -v '^ *+' conftest.er1 >conftest.err
106067 rm -f conftest.er1
106068 cat conftest.err >&5
106069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106070 (exit $ac_status); } &&
106071 { ac_try='test -z "$ac_cxx_werror_flag"
106072 || test ! -s conftest.err'
106073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106074 (eval $ac_try) 2>&5
106075 ac_status=$?
106076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106077 (exit $ac_status); }; } &&
106078 { ac_try='test -s conftest.$ac_objext'
106079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106080 (eval $ac_try) 2>&5
106081 ac_status=$?
106082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106083 (exit $ac_status); }; }; then
106084 glibcxx_cv_func__isnanl_use=yes
106085 else
106086 echo "$as_me: failed program was:" >&5
106087 sed 's/^/| /' conftest.$ac_ext >&5
106088
106089 glibcxx_cv_func__isnanl_use=no
106090 fi
106091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106092 ac_ext=c
106093 ac_cpp='$CPP $CPPFLAGS'
106094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106097
106098
106099 fi
106100
106101 fi
106102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
106103 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
106104
106105 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
106106
106107 for ac_func in _isnanl
106108 do
106109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106110 echo "$as_me:$LINENO: checking for $ac_func" >&5
106111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106112 if eval "test \"\${$as_ac_var+set}\" = set"; then
106113 echo $ECHO_N "(cached) $ECHO_C" >&6
106114 else
106115 if test x$gcc_no_link = xyes; then
106116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106118 { (exit 1); exit 1; }; }
106119 fi
106120 cat >conftest.$ac_ext <<_ACEOF
106121 /* confdefs.h. */
106122 _ACEOF
106123 cat confdefs.h >>conftest.$ac_ext
106124 cat >>conftest.$ac_ext <<_ACEOF
106125 /* end confdefs.h. */
106126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106128 #define $ac_func innocuous_$ac_func
106129
106130 /* System header to define __stub macros and hopefully few prototypes,
106131 which can conflict with char $ac_func (); below.
106132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106133 <limits.h> exists even on freestanding compilers. */
106134
106135 #ifdef __STDC__
106136 # include <limits.h>
106137 #else
106138 # include <assert.h>
106139 #endif
106140
106141 #undef $ac_func
106142
106143 /* Override any gcc2 internal prototype to avoid an error. */
106144 #ifdef __cplusplus
106145 extern "C"
106146 {
106147 #endif
106148 /* We use char because int might match the return type of a gcc2
106149 builtin and then its argument prototype would still apply. */
106150 char $ac_func ();
106151 /* The GNU C library defines this for functions which it implements
106152 to always fail with ENOSYS. Some functions are actually named
106153 something starting with __ and the normal name is an alias. */
106154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106155 choke me
106156 #else
106157 char (*f) () = $ac_func;
106158 #endif
106159 #ifdef __cplusplus
106160 }
106161 #endif
106162
106163 int
106164 main ()
106165 {
106166 return f != $ac_func;
106167 ;
106168 return 0;
106169 }
106170 _ACEOF
106171 rm -f conftest.$ac_objext conftest$ac_exeext
106172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106173 (eval $ac_link) 2>conftest.er1
106174 ac_status=$?
106175 grep -v '^ *+' conftest.er1 >conftest.err
106176 rm -f conftest.er1
106177 cat conftest.err >&5
106178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106179 (exit $ac_status); } &&
106180 { ac_try='test -z "$ac_c_werror_flag"
106181 || test ! -s conftest.err'
106182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106183 (eval $ac_try) 2>&5
106184 ac_status=$?
106185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106186 (exit $ac_status); }; } &&
106187 { ac_try='test -s conftest$ac_exeext'
106188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106189 (eval $ac_try) 2>&5
106190 ac_status=$?
106191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106192 (exit $ac_status); }; }; then
106193 eval "$as_ac_var=yes"
106194 else
106195 echo "$as_me: failed program was:" >&5
106196 sed 's/^/| /' conftest.$ac_ext >&5
106197
106198 eval "$as_ac_var=no"
106199 fi
106200 rm -f conftest.err conftest.$ac_objext \
106201 conftest$ac_exeext conftest.$ac_ext
106202 fi
106203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106205 if test `eval echo '${'$as_ac_var'}'` = yes; then
106206 cat >>confdefs.h <<_ACEOF
106207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106208 _ACEOF
106209
106210 fi
106211 done
106212
106213 fi
106214 fi
106215
106216
106217
106218
106219
106220
106221 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
106222 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
106223 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
106224 if test "${glibcxx_cv_func_isinfl_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 #ifdef HAVE_IEEEFP_H
106244 #include <ieeefp.h>
106245 #endif
106246
106247 int
106248 main ()
106249 {
106250 isinfl(0);
106251 ;
106252 return 0;
106253 }
106254 _ACEOF
106255 rm -f conftest.$ac_objext
106256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106257 (eval $ac_compile) 2>conftest.er1
106258 ac_status=$?
106259 grep -v '^ *+' conftest.er1 >conftest.err
106260 rm -f conftest.er1
106261 cat conftest.err >&5
106262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106263 (exit $ac_status); } &&
106264 { ac_try='test -z "$ac_cxx_werror_flag"
106265 || test ! -s conftest.err'
106266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106267 (eval $ac_try) 2>&5
106268 ac_status=$?
106269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106270 (exit $ac_status); }; } &&
106271 { ac_try='test -s conftest.$ac_objext'
106272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106273 (eval $ac_try) 2>&5
106274 ac_status=$?
106275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106276 (exit $ac_status); }; }; then
106277 glibcxx_cv_func_isinfl_use=yes
106278 else
106279 echo "$as_me: failed program was:" >&5
106280 sed 's/^/| /' conftest.$ac_ext >&5
106281
106282 glibcxx_cv_func_isinfl_use=no
106283 fi
106284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106285 ac_ext=c
106286 ac_cpp='$CPP $CPPFLAGS'
106287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106290
106291
106292 fi
106293
106294 fi
106295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
106296 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
106297
106298 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
106299
106300 for ac_func in isinfl
106301 do
106302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106303 echo "$as_me:$LINENO: checking for $ac_func" >&5
106304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106305 if eval "test \"\${$as_ac_var+set}\" = set"; then
106306 echo $ECHO_N "(cached) $ECHO_C" >&6
106307 else
106308 if test x$gcc_no_link = xyes; then
106309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106311 { (exit 1); exit 1; }; }
106312 fi
106313 cat >conftest.$ac_ext <<_ACEOF
106314 /* confdefs.h. */
106315 _ACEOF
106316 cat confdefs.h >>conftest.$ac_ext
106317 cat >>conftest.$ac_ext <<_ACEOF
106318 /* end confdefs.h. */
106319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106321 #define $ac_func innocuous_$ac_func
106322
106323 /* System header to define __stub macros and hopefully few prototypes,
106324 which can conflict with char $ac_func (); below.
106325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106326 <limits.h> exists even on freestanding compilers. */
106327
106328 #ifdef __STDC__
106329 # include <limits.h>
106330 #else
106331 # include <assert.h>
106332 #endif
106333
106334 #undef $ac_func
106335
106336 /* Override any gcc2 internal prototype to avoid an error. */
106337 #ifdef __cplusplus
106338 extern "C"
106339 {
106340 #endif
106341 /* We use char because int might match the return type of a gcc2
106342 builtin and then its argument prototype would still apply. */
106343 char $ac_func ();
106344 /* The GNU C library defines this for functions which it implements
106345 to always fail with ENOSYS. Some functions are actually named
106346 something starting with __ and the normal name is an alias. */
106347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106348 choke me
106349 #else
106350 char (*f) () = $ac_func;
106351 #endif
106352 #ifdef __cplusplus
106353 }
106354 #endif
106355
106356 int
106357 main ()
106358 {
106359 return f != $ac_func;
106360 ;
106361 return 0;
106362 }
106363 _ACEOF
106364 rm -f conftest.$ac_objext conftest$ac_exeext
106365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106366 (eval $ac_link) 2>conftest.er1
106367 ac_status=$?
106368 grep -v '^ *+' conftest.er1 >conftest.err
106369 rm -f conftest.er1
106370 cat conftest.err >&5
106371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106372 (exit $ac_status); } &&
106373 { ac_try='test -z "$ac_c_werror_flag"
106374 || test ! -s conftest.err'
106375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106376 (eval $ac_try) 2>&5
106377 ac_status=$?
106378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106379 (exit $ac_status); }; } &&
106380 { ac_try='test -s conftest$ac_exeext'
106381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106382 (eval $ac_try) 2>&5
106383 ac_status=$?
106384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106385 (exit $ac_status); }; }; then
106386 eval "$as_ac_var=yes"
106387 else
106388 echo "$as_me: failed program was:" >&5
106389 sed 's/^/| /' conftest.$ac_ext >&5
106390
106391 eval "$as_ac_var=no"
106392 fi
106393 rm -f conftest.err conftest.$ac_objext \
106394 conftest$ac_exeext conftest.$ac_ext
106395 fi
106396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106398 if test `eval echo '${'$as_ac_var'}'` = yes; then
106399 cat >>confdefs.h <<_ACEOF
106400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106401 _ACEOF
106402
106403 fi
106404 done
106405
106406 else
106407
106408 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
106409 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
106410 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
106411 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
106412 echo $ECHO_N "(cached) $ECHO_C" >&6
106413 else
106414
106415
106416
106417 ac_ext=cc
106418 ac_cpp='$CXXCPP $CPPFLAGS'
106419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106422
106423 cat >conftest.$ac_ext <<_ACEOF
106424 /* confdefs.h. */
106425 _ACEOF
106426 cat confdefs.h >>conftest.$ac_ext
106427 cat >>conftest.$ac_ext <<_ACEOF
106428 /* end confdefs.h. */
106429 #include <math.h>
106430 #ifdef HAVE_IEEEFP_H
106431 #include <ieeefp.h>
106432 #endif
106433
106434 int
106435 main ()
106436 {
106437 _isinfl(0);
106438 ;
106439 return 0;
106440 }
106441 _ACEOF
106442 rm -f conftest.$ac_objext
106443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106444 (eval $ac_compile) 2>conftest.er1
106445 ac_status=$?
106446 grep -v '^ *+' conftest.er1 >conftest.err
106447 rm -f conftest.er1
106448 cat conftest.err >&5
106449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106450 (exit $ac_status); } &&
106451 { ac_try='test -z "$ac_cxx_werror_flag"
106452 || test ! -s conftest.err'
106453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106454 (eval $ac_try) 2>&5
106455 ac_status=$?
106456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106457 (exit $ac_status); }; } &&
106458 { ac_try='test -s conftest.$ac_objext'
106459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106460 (eval $ac_try) 2>&5
106461 ac_status=$?
106462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106463 (exit $ac_status); }; }; then
106464 glibcxx_cv_func__isinfl_use=yes
106465 else
106466 echo "$as_me: failed program was:" >&5
106467 sed 's/^/| /' conftest.$ac_ext >&5
106468
106469 glibcxx_cv_func__isinfl_use=no
106470 fi
106471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106472 ac_ext=c
106473 ac_cpp='$CPP $CPPFLAGS'
106474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106477
106478
106479 fi
106480
106481 fi
106482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
106483 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
106484
106485 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
106486
106487 for ac_func in _isinfl
106488 do
106489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106490 echo "$as_me:$LINENO: checking for $ac_func" >&5
106491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106492 if eval "test \"\${$as_ac_var+set}\" = set"; then
106493 echo $ECHO_N "(cached) $ECHO_C" >&6
106494 else
106495 if test x$gcc_no_link = xyes; then
106496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106498 { (exit 1); exit 1; }; }
106499 fi
106500 cat >conftest.$ac_ext <<_ACEOF
106501 /* confdefs.h. */
106502 _ACEOF
106503 cat confdefs.h >>conftest.$ac_ext
106504 cat >>conftest.$ac_ext <<_ACEOF
106505 /* end confdefs.h. */
106506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106508 #define $ac_func innocuous_$ac_func
106509
106510 /* System header to define __stub macros and hopefully few prototypes,
106511 which can conflict with char $ac_func (); below.
106512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106513 <limits.h> exists even on freestanding compilers. */
106514
106515 #ifdef __STDC__
106516 # include <limits.h>
106517 #else
106518 # include <assert.h>
106519 #endif
106520
106521 #undef $ac_func
106522
106523 /* Override any gcc2 internal prototype to avoid an error. */
106524 #ifdef __cplusplus
106525 extern "C"
106526 {
106527 #endif
106528 /* We use char because int might match the return type of a gcc2
106529 builtin and then its argument prototype would still apply. */
106530 char $ac_func ();
106531 /* The GNU C library defines this for functions which it implements
106532 to always fail with ENOSYS. Some functions are actually named
106533 something starting with __ and the normal name is an alias. */
106534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106535 choke me
106536 #else
106537 char (*f) () = $ac_func;
106538 #endif
106539 #ifdef __cplusplus
106540 }
106541 #endif
106542
106543 int
106544 main ()
106545 {
106546 return f != $ac_func;
106547 ;
106548 return 0;
106549 }
106550 _ACEOF
106551 rm -f conftest.$ac_objext conftest$ac_exeext
106552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106553 (eval $ac_link) 2>conftest.er1
106554 ac_status=$?
106555 grep -v '^ *+' conftest.er1 >conftest.err
106556 rm -f conftest.er1
106557 cat conftest.err >&5
106558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106559 (exit $ac_status); } &&
106560 { ac_try='test -z "$ac_c_werror_flag"
106561 || test ! -s conftest.err'
106562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106563 (eval $ac_try) 2>&5
106564 ac_status=$?
106565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106566 (exit $ac_status); }; } &&
106567 { ac_try='test -s conftest$ac_exeext'
106568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106569 (eval $ac_try) 2>&5
106570 ac_status=$?
106571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106572 (exit $ac_status); }; }; then
106573 eval "$as_ac_var=yes"
106574 else
106575 echo "$as_me: failed program was:" >&5
106576 sed 's/^/| /' conftest.$ac_ext >&5
106577
106578 eval "$as_ac_var=no"
106579 fi
106580 rm -f conftest.err conftest.$ac_objext \
106581 conftest$ac_exeext conftest.$ac_ext
106582 fi
106583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106585 if test `eval echo '${'$as_ac_var'}'` = yes; then
106586 cat >>confdefs.h <<_ACEOF
106587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106588 _ACEOF
106589
106590 fi
106591 done
106592
106593 fi
106594 fi
106595
106596
106597
106598
106599
106600
106601 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
106602 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
106603 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
106604 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
106605 echo $ECHO_N "(cached) $ECHO_C" >&6
106606 else
106607
106608
106609
106610 ac_ext=cc
106611 ac_cpp='$CXXCPP $CPPFLAGS'
106612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106615
106616 cat >conftest.$ac_ext <<_ACEOF
106617 /* confdefs.h. */
106618 _ACEOF
106619 cat confdefs.h >>conftest.$ac_ext
106620 cat >>conftest.$ac_ext <<_ACEOF
106621 /* end confdefs.h. */
106622 #include <math.h>
106623 int
106624 main ()
106625 {
106626 atan2l(0, 0);
106627 ;
106628 return 0;
106629 }
106630 _ACEOF
106631 rm -f conftest.$ac_objext
106632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106633 (eval $ac_compile) 2>conftest.er1
106634 ac_status=$?
106635 grep -v '^ *+' conftest.er1 >conftest.err
106636 rm -f conftest.er1
106637 cat conftest.err >&5
106638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106639 (exit $ac_status); } &&
106640 { ac_try='test -z "$ac_cxx_werror_flag"
106641 || test ! -s conftest.err'
106642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106643 (eval $ac_try) 2>&5
106644 ac_status=$?
106645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106646 (exit $ac_status); }; } &&
106647 { ac_try='test -s conftest.$ac_objext'
106648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106649 (eval $ac_try) 2>&5
106650 ac_status=$?
106651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106652 (exit $ac_status); }; }; then
106653 glibcxx_cv_func_atan2l_use=yes
106654 else
106655 echo "$as_me: failed program was:" >&5
106656 sed 's/^/| /' conftest.$ac_ext >&5
106657
106658 glibcxx_cv_func_atan2l_use=no
106659 fi
106660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106661 ac_ext=c
106662 ac_cpp='$CPP $CPPFLAGS'
106663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106666
106667
106668 fi
106669
106670 fi
106671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
106672 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
106673
106674 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
106675
106676 for ac_func in atan2l
106677 do
106678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106679 echo "$as_me:$LINENO: checking for $ac_func" >&5
106680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106681 if eval "test \"\${$as_ac_var+set}\" = set"; then
106682 echo $ECHO_N "(cached) $ECHO_C" >&6
106683 else
106684 if test x$gcc_no_link = xyes; then
106685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106687 { (exit 1); exit 1; }; }
106688 fi
106689 cat >conftest.$ac_ext <<_ACEOF
106690 /* confdefs.h. */
106691 _ACEOF
106692 cat confdefs.h >>conftest.$ac_ext
106693 cat >>conftest.$ac_ext <<_ACEOF
106694 /* end confdefs.h. */
106695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106697 #define $ac_func innocuous_$ac_func
106698
106699 /* System header to define __stub macros and hopefully few prototypes,
106700 which can conflict with char $ac_func (); below.
106701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106702 <limits.h> exists even on freestanding compilers. */
106703
106704 #ifdef __STDC__
106705 # include <limits.h>
106706 #else
106707 # include <assert.h>
106708 #endif
106709
106710 #undef $ac_func
106711
106712 /* Override any gcc2 internal prototype to avoid an error. */
106713 #ifdef __cplusplus
106714 extern "C"
106715 {
106716 #endif
106717 /* We use char because int might match the return type of a gcc2
106718 builtin and then its argument prototype would still apply. */
106719 char $ac_func ();
106720 /* The GNU C library defines this for functions which it implements
106721 to always fail with ENOSYS. Some functions are actually named
106722 something starting with __ and the normal name is an alias. */
106723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106724 choke me
106725 #else
106726 char (*f) () = $ac_func;
106727 #endif
106728 #ifdef __cplusplus
106729 }
106730 #endif
106731
106732 int
106733 main ()
106734 {
106735 return f != $ac_func;
106736 ;
106737 return 0;
106738 }
106739 _ACEOF
106740 rm -f conftest.$ac_objext conftest$ac_exeext
106741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106742 (eval $ac_link) 2>conftest.er1
106743 ac_status=$?
106744 grep -v '^ *+' conftest.er1 >conftest.err
106745 rm -f conftest.er1
106746 cat conftest.err >&5
106747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106748 (exit $ac_status); } &&
106749 { ac_try='test -z "$ac_c_werror_flag"
106750 || test ! -s conftest.err'
106751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106752 (eval $ac_try) 2>&5
106753 ac_status=$?
106754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106755 (exit $ac_status); }; } &&
106756 { ac_try='test -s conftest$ac_exeext'
106757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106758 (eval $ac_try) 2>&5
106759 ac_status=$?
106760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106761 (exit $ac_status); }; }; then
106762 eval "$as_ac_var=yes"
106763 else
106764 echo "$as_me: failed program was:" >&5
106765 sed 's/^/| /' conftest.$ac_ext >&5
106766
106767 eval "$as_ac_var=no"
106768 fi
106769 rm -f conftest.err conftest.$ac_objext \
106770 conftest$ac_exeext conftest.$ac_ext
106771 fi
106772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106774 if test `eval echo '${'$as_ac_var'}'` = yes; then
106775 cat >>confdefs.h <<_ACEOF
106776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106777 _ACEOF
106778
106779 fi
106780 done
106781
106782 else
106783
106784 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
106785 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
106786 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
106787 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
106788 echo $ECHO_N "(cached) $ECHO_C" >&6
106789 else
106790
106791
106792
106793 ac_ext=cc
106794 ac_cpp='$CXXCPP $CPPFLAGS'
106795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106798
106799 cat >conftest.$ac_ext <<_ACEOF
106800 /* confdefs.h. */
106801 _ACEOF
106802 cat confdefs.h >>conftest.$ac_ext
106803 cat >>conftest.$ac_ext <<_ACEOF
106804 /* end confdefs.h. */
106805 #include <math.h>
106806 int
106807 main ()
106808 {
106809 _atan2l(0, 0);
106810 ;
106811 return 0;
106812 }
106813 _ACEOF
106814 rm -f conftest.$ac_objext
106815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106816 (eval $ac_compile) 2>conftest.er1
106817 ac_status=$?
106818 grep -v '^ *+' conftest.er1 >conftest.err
106819 rm -f conftest.er1
106820 cat conftest.err >&5
106821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106822 (exit $ac_status); } &&
106823 { ac_try='test -z "$ac_cxx_werror_flag"
106824 || test ! -s conftest.err'
106825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106826 (eval $ac_try) 2>&5
106827 ac_status=$?
106828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106829 (exit $ac_status); }; } &&
106830 { ac_try='test -s conftest.$ac_objext'
106831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106832 (eval $ac_try) 2>&5
106833 ac_status=$?
106834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106835 (exit $ac_status); }; }; then
106836 glibcxx_cv_func__atan2l_use=yes
106837 else
106838 echo "$as_me: failed program was:" >&5
106839 sed 's/^/| /' conftest.$ac_ext >&5
106840
106841 glibcxx_cv_func__atan2l_use=no
106842 fi
106843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106844 ac_ext=c
106845 ac_cpp='$CPP $CPPFLAGS'
106846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106849
106850
106851 fi
106852
106853 fi
106854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
106855 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
106856
106857 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
106858
106859 for ac_func in _atan2l
106860 do
106861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106862 echo "$as_me:$LINENO: checking for $ac_func" >&5
106863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106864 if eval "test \"\${$as_ac_var+set}\" = set"; then
106865 echo $ECHO_N "(cached) $ECHO_C" >&6
106866 else
106867 if test x$gcc_no_link = xyes; then
106868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106870 { (exit 1); exit 1; }; }
106871 fi
106872 cat >conftest.$ac_ext <<_ACEOF
106873 /* confdefs.h. */
106874 _ACEOF
106875 cat confdefs.h >>conftest.$ac_ext
106876 cat >>conftest.$ac_ext <<_ACEOF
106877 /* end confdefs.h. */
106878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106880 #define $ac_func innocuous_$ac_func
106881
106882 /* System header to define __stub macros and hopefully few prototypes,
106883 which can conflict with char $ac_func (); below.
106884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106885 <limits.h> exists even on freestanding compilers. */
106886
106887 #ifdef __STDC__
106888 # include <limits.h>
106889 #else
106890 # include <assert.h>
106891 #endif
106892
106893 #undef $ac_func
106894
106895 /* Override any gcc2 internal prototype to avoid an error. */
106896 #ifdef __cplusplus
106897 extern "C"
106898 {
106899 #endif
106900 /* We use char because int might match the return type of a gcc2
106901 builtin and then its argument prototype would still apply. */
106902 char $ac_func ();
106903 /* The GNU C library defines this for functions which it implements
106904 to always fail with ENOSYS. Some functions are actually named
106905 something starting with __ and the normal name is an alias. */
106906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106907 choke me
106908 #else
106909 char (*f) () = $ac_func;
106910 #endif
106911 #ifdef __cplusplus
106912 }
106913 #endif
106914
106915 int
106916 main ()
106917 {
106918 return f != $ac_func;
106919 ;
106920 return 0;
106921 }
106922 _ACEOF
106923 rm -f conftest.$ac_objext conftest$ac_exeext
106924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106925 (eval $ac_link) 2>conftest.er1
106926 ac_status=$?
106927 grep -v '^ *+' conftest.er1 >conftest.err
106928 rm -f conftest.er1
106929 cat conftest.err >&5
106930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106931 (exit $ac_status); } &&
106932 { ac_try='test -z "$ac_c_werror_flag"
106933 || test ! -s conftest.err'
106934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106935 (eval $ac_try) 2>&5
106936 ac_status=$?
106937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106938 (exit $ac_status); }; } &&
106939 { ac_try='test -s conftest$ac_exeext'
106940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106941 (eval $ac_try) 2>&5
106942 ac_status=$?
106943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106944 (exit $ac_status); }; }; then
106945 eval "$as_ac_var=yes"
106946 else
106947 echo "$as_me: failed program was:" >&5
106948 sed 's/^/| /' conftest.$ac_ext >&5
106949
106950 eval "$as_ac_var=no"
106951 fi
106952 rm -f conftest.err conftest.$ac_objext \
106953 conftest$ac_exeext conftest.$ac_ext
106954 fi
106955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106957 if test `eval echo '${'$as_ac_var'}'` = yes; then
106958 cat >>confdefs.h <<_ACEOF
106959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106960 _ACEOF
106961
106962 fi
106963 done
106964
106965 fi
106966 fi
106967
106968
106969
106970
106971
106972
106973 echo "$as_me:$LINENO: checking for expl declaration" >&5
106974 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
106975 if test x${glibcxx_cv_func_expl_use+set} != xset; then
106976 if test "${glibcxx_cv_func_expl_use+set}" = set; then
106977 echo $ECHO_N "(cached) $ECHO_C" >&6
106978 else
106979
106980
106981
106982 ac_ext=cc
106983 ac_cpp='$CXXCPP $CPPFLAGS'
106984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106987
106988 cat >conftest.$ac_ext <<_ACEOF
106989 /* confdefs.h. */
106990 _ACEOF
106991 cat confdefs.h >>conftest.$ac_ext
106992 cat >>conftest.$ac_ext <<_ACEOF
106993 /* end confdefs.h. */
106994 #include <math.h>
106995 #ifdef HAVE_IEEEFP_H
106996 #include <ieeefp.h>
106997 #endif
106998
106999 int
107000 main ()
107001 {
107002 expl(0);
107003 ;
107004 return 0;
107005 }
107006 _ACEOF
107007 rm -f conftest.$ac_objext
107008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107009 (eval $ac_compile) 2>conftest.er1
107010 ac_status=$?
107011 grep -v '^ *+' conftest.er1 >conftest.err
107012 rm -f conftest.er1
107013 cat conftest.err >&5
107014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107015 (exit $ac_status); } &&
107016 { ac_try='test -z "$ac_cxx_werror_flag"
107017 || test ! -s conftest.err'
107018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107019 (eval $ac_try) 2>&5
107020 ac_status=$?
107021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107022 (exit $ac_status); }; } &&
107023 { ac_try='test -s conftest.$ac_objext'
107024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107025 (eval $ac_try) 2>&5
107026 ac_status=$?
107027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107028 (exit $ac_status); }; }; then
107029 glibcxx_cv_func_expl_use=yes
107030 else
107031 echo "$as_me: failed program was:" >&5
107032 sed 's/^/| /' conftest.$ac_ext >&5
107033
107034 glibcxx_cv_func_expl_use=no
107035 fi
107036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107037 ac_ext=c
107038 ac_cpp='$CPP $CPPFLAGS'
107039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107042
107043
107044 fi
107045
107046 fi
107047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
107048 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
107049
107050 if test x$glibcxx_cv_func_expl_use = x"yes"; then
107051
107052 for ac_func in expl
107053 do
107054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107055 echo "$as_me:$LINENO: checking for $ac_func" >&5
107056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107057 if eval "test \"\${$as_ac_var+set}\" = set"; then
107058 echo $ECHO_N "(cached) $ECHO_C" >&6
107059 else
107060 if test x$gcc_no_link = xyes; then
107061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107063 { (exit 1); exit 1; }; }
107064 fi
107065 cat >conftest.$ac_ext <<_ACEOF
107066 /* confdefs.h. */
107067 _ACEOF
107068 cat confdefs.h >>conftest.$ac_ext
107069 cat >>conftest.$ac_ext <<_ACEOF
107070 /* end confdefs.h. */
107071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107073 #define $ac_func innocuous_$ac_func
107074
107075 /* System header to define __stub macros and hopefully few prototypes,
107076 which can conflict with char $ac_func (); below.
107077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107078 <limits.h> exists even on freestanding compilers. */
107079
107080 #ifdef __STDC__
107081 # include <limits.h>
107082 #else
107083 # include <assert.h>
107084 #endif
107085
107086 #undef $ac_func
107087
107088 /* Override any gcc2 internal prototype to avoid an error. */
107089 #ifdef __cplusplus
107090 extern "C"
107091 {
107092 #endif
107093 /* We use char because int might match the return type of a gcc2
107094 builtin and then its argument prototype would still apply. */
107095 char $ac_func ();
107096 /* The GNU C library defines this for functions which it implements
107097 to always fail with ENOSYS. Some functions are actually named
107098 something starting with __ and the normal name is an alias. */
107099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107100 choke me
107101 #else
107102 char (*f) () = $ac_func;
107103 #endif
107104 #ifdef __cplusplus
107105 }
107106 #endif
107107
107108 int
107109 main ()
107110 {
107111 return f != $ac_func;
107112 ;
107113 return 0;
107114 }
107115 _ACEOF
107116 rm -f conftest.$ac_objext conftest$ac_exeext
107117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107118 (eval $ac_link) 2>conftest.er1
107119 ac_status=$?
107120 grep -v '^ *+' conftest.er1 >conftest.err
107121 rm -f conftest.er1
107122 cat conftest.err >&5
107123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107124 (exit $ac_status); } &&
107125 { ac_try='test -z "$ac_c_werror_flag"
107126 || test ! -s conftest.err'
107127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107128 (eval $ac_try) 2>&5
107129 ac_status=$?
107130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107131 (exit $ac_status); }; } &&
107132 { ac_try='test -s conftest$ac_exeext'
107133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107134 (eval $ac_try) 2>&5
107135 ac_status=$?
107136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107137 (exit $ac_status); }; }; then
107138 eval "$as_ac_var=yes"
107139 else
107140 echo "$as_me: failed program was:" >&5
107141 sed 's/^/| /' conftest.$ac_ext >&5
107142
107143 eval "$as_ac_var=no"
107144 fi
107145 rm -f conftest.err conftest.$ac_objext \
107146 conftest$ac_exeext conftest.$ac_ext
107147 fi
107148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107150 if test `eval echo '${'$as_ac_var'}'` = yes; then
107151 cat >>confdefs.h <<_ACEOF
107152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107153 _ACEOF
107154
107155 fi
107156 done
107157
107158 else
107159
107160 echo "$as_me:$LINENO: checking for _expl declaration" >&5
107161 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
107162 if test x${glibcxx_cv_func__expl_use+set} != xset; then
107163 if test "${glibcxx_cv_func__expl_use+set}" = set; then
107164 echo $ECHO_N "(cached) $ECHO_C" >&6
107165 else
107166
107167
107168
107169 ac_ext=cc
107170 ac_cpp='$CXXCPP $CPPFLAGS'
107171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107174
107175 cat >conftest.$ac_ext <<_ACEOF
107176 /* confdefs.h. */
107177 _ACEOF
107178 cat confdefs.h >>conftest.$ac_ext
107179 cat >>conftest.$ac_ext <<_ACEOF
107180 /* end confdefs.h. */
107181 #include <math.h>
107182 #ifdef HAVE_IEEEFP_H
107183 #include <ieeefp.h>
107184 #endif
107185
107186 int
107187 main ()
107188 {
107189 _expl(0);
107190 ;
107191 return 0;
107192 }
107193 _ACEOF
107194 rm -f conftest.$ac_objext
107195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107196 (eval $ac_compile) 2>conftest.er1
107197 ac_status=$?
107198 grep -v '^ *+' conftest.er1 >conftest.err
107199 rm -f conftest.er1
107200 cat conftest.err >&5
107201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107202 (exit $ac_status); } &&
107203 { ac_try='test -z "$ac_cxx_werror_flag"
107204 || test ! -s conftest.err'
107205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107206 (eval $ac_try) 2>&5
107207 ac_status=$?
107208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107209 (exit $ac_status); }; } &&
107210 { ac_try='test -s conftest.$ac_objext'
107211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107212 (eval $ac_try) 2>&5
107213 ac_status=$?
107214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107215 (exit $ac_status); }; }; then
107216 glibcxx_cv_func__expl_use=yes
107217 else
107218 echo "$as_me: failed program was:" >&5
107219 sed 's/^/| /' conftest.$ac_ext >&5
107220
107221 glibcxx_cv_func__expl_use=no
107222 fi
107223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107224 ac_ext=c
107225 ac_cpp='$CPP $CPPFLAGS'
107226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107229
107230
107231 fi
107232
107233 fi
107234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
107235 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
107236
107237 if test x$glibcxx_cv_func__expl_use = x"yes"; then
107238
107239 for ac_func in _expl
107240 do
107241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107242 echo "$as_me:$LINENO: checking for $ac_func" >&5
107243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107244 if eval "test \"\${$as_ac_var+set}\" = set"; then
107245 echo $ECHO_N "(cached) $ECHO_C" >&6
107246 else
107247 if test x$gcc_no_link = xyes; then
107248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107250 { (exit 1); exit 1; }; }
107251 fi
107252 cat >conftest.$ac_ext <<_ACEOF
107253 /* confdefs.h. */
107254 _ACEOF
107255 cat confdefs.h >>conftest.$ac_ext
107256 cat >>conftest.$ac_ext <<_ACEOF
107257 /* end confdefs.h. */
107258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107260 #define $ac_func innocuous_$ac_func
107261
107262 /* System header to define __stub macros and hopefully few prototypes,
107263 which can conflict with char $ac_func (); below.
107264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107265 <limits.h> exists even on freestanding compilers. */
107266
107267 #ifdef __STDC__
107268 # include <limits.h>
107269 #else
107270 # include <assert.h>
107271 #endif
107272
107273 #undef $ac_func
107274
107275 /* Override any gcc2 internal prototype to avoid an error. */
107276 #ifdef __cplusplus
107277 extern "C"
107278 {
107279 #endif
107280 /* We use char because int might match the return type of a gcc2
107281 builtin and then its argument prototype would still apply. */
107282 char $ac_func ();
107283 /* The GNU C library defines this for functions which it implements
107284 to always fail with ENOSYS. Some functions are actually named
107285 something starting with __ and the normal name is an alias. */
107286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107287 choke me
107288 #else
107289 char (*f) () = $ac_func;
107290 #endif
107291 #ifdef __cplusplus
107292 }
107293 #endif
107294
107295 int
107296 main ()
107297 {
107298 return f != $ac_func;
107299 ;
107300 return 0;
107301 }
107302 _ACEOF
107303 rm -f conftest.$ac_objext conftest$ac_exeext
107304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107305 (eval $ac_link) 2>conftest.er1
107306 ac_status=$?
107307 grep -v '^ *+' conftest.er1 >conftest.err
107308 rm -f conftest.er1
107309 cat conftest.err >&5
107310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107311 (exit $ac_status); } &&
107312 { ac_try='test -z "$ac_c_werror_flag"
107313 || test ! -s conftest.err'
107314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107315 (eval $ac_try) 2>&5
107316 ac_status=$?
107317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107318 (exit $ac_status); }; } &&
107319 { ac_try='test -s conftest$ac_exeext'
107320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107321 (eval $ac_try) 2>&5
107322 ac_status=$?
107323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107324 (exit $ac_status); }; }; then
107325 eval "$as_ac_var=yes"
107326 else
107327 echo "$as_me: failed program was:" >&5
107328 sed 's/^/| /' conftest.$ac_ext >&5
107329
107330 eval "$as_ac_var=no"
107331 fi
107332 rm -f conftest.err conftest.$ac_objext \
107333 conftest$ac_exeext conftest.$ac_ext
107334 fi
107335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107337 if test `eval echo '${'$as_ac_var'}'` = yes; then
107338 cat >>confdefs.h <<_ACEOF
107339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107340 _ACEOF
107341
107342 fi
107343 done
107344
107345 fi
107346 fi
107347
107348
107349
107350
107351
107352
107353 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
107354 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
107355 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
107356 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
107357 echo $ECHO_N "(cached) $ECHO_C" >&6
107358 else
107359
107360
107361
107362 ac_ext=cc
107363 ac_cpp='$CXXCPP $CPPFLAGS'
107364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107367
107368 cat >conftest.$ac_ext <<_ACEOF
107369 /* confdefs.h. */
107370 _ACEOF
107371 cat confdefs.h >>conftest.$ac_ext
107372 cat >>conftest.$ac_ext <<_ACEOF
107373 /* end confdefs.h. */
107374 #include <math.h>
107375 #ifdef HAVE_IEEEFP_H
107376 #include <ieeefp.h>
107377 #endif
107378
107379 int
107380 main ()
107381 {
107382 fabsl(0);
107383 ;
107384 return 0;
107385 }
107386 _ACEOF
107387 rm -f conftest.$ac_objext
107388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107389 (eval $ac_compile) 2>conftest.er1
107390 ac_status=$?
107391 grep -v '^ *+' conftest.er1 >conftest.err
107392 rm -f conftest.er1
107393 cat conftest.err >&5
107394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107395 (exit $ac_status); } &&
107396 { ac_try='test -z "$ac_cxx_werror_flag"
107397 || test ! -s conftest.err'
107398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107399 (eval $ac_try) 2>&5
107400 ac_status=$?
107401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107402 (exit $ac_status); }; } &&
107403 { ac_try='test -s conftest.$ac_objext'
107404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107405 (eval $ac_try) 2>&5
107406 ac_status=$?
107407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107408 (exit $ac_status); }; }; then
107409 glibcxx_cv_func_fabsl_use=yes
107410 else
107411 echo "$as_me: failed program was:" >&5
107412 sed 's/^/| /' conftest.$ac_ext >&5
107413
107414 glibcxx_cv_func_fabsl_use=no
107415 fi
107416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107417 ac_ext=c
107418 ac_cpp='$CPP $CPPFLAGS'
107419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107422
107423
107424 fi
107425
107426 fi
107427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
107428 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
107429
107430 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
107431
107432 for ac_func in fabsl
107433 do
107434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107435 echo "$as_me:$LINENO: checking for $ac_func" >&5
107436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107437 if eval "test \"\${$as_ac_var+set}\" = set"; then
107438 echo $ECHO_N "(cached) $ECHO_C" >&6
107439 else
107440 if test x$gcc_no_link = xyes; then
107441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107443 { (exit 1); exit 1; }; }
107444 fi
107445 cat >conftest.$ac_ext <<_ACEOF
107446 /* confdefs.h. */
107447 _ACEOF
107448 cat confdefs.h >>conftest.$ac_ext
107449 cat >>conftest.$ac_ext <<_ACEOF
107450 /* end confdefs.h. */
107451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107453 #define $ac_func innocuous_$ac_func
107454
107455 /* System header to define __stub macros and hopefully few prototypes,
107456 which can conflict with char $ac_func (); below.
107457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107458 <limits.h> exists even on freestanding compilers. */
107459
107460 #ifdef __STDC__
107461 # include <limits.h>
107462 #else
107463 # include <assert.h>
107464 #endif
107465
107466 #undef $ac_func
107467
107468 /* Override any gcc2 internal prototype to avoid an error. */
107469 #ifdef __cplusplus
107470 extern "C"
107471 {
107472 #endif
107473 /* We use char because int might match the return type of a gcc2
107474 builtin and then its argument prototype would still apply. */
107475 char $ac_func ();
107476 /* The GNU C library defines this for functions which it implements
107477 to always fail with ENOSYS. Some functions are actually named
107478 something starting with __ and the normal name is an alias. */
107479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107480 choke me
107481 #else
107482 char (*f) () = $ac_func;
107483 #endif
107484 #ifdef __cplusplus
107485 }
107486 #endif
107487
107488 int
107489 main ()
107490 {
107491 return f != $ac_func;
107492 ;
107493 return 0;
107494 }
107495 _ACEOF
107496 rm -f conftest.$ac_objext conftest$ac_exeext
107497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107498 (eval $ac_link) 2>conftest.er1
107499 ac_status=$?
107500 grep -v '^ *+' conftest.er1 >conftest.err
107501 rm -f conftest.er1
107502 cat conftest.err >&5
107503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107504 (exit $ac_status); } &&
107505 { ac_try='test -z "$ac_c_werror_flag"
107506 || test ! -s conftest.err'
107507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107508 (eval $ac_try) 2>&5
107509 ac_status=$?
107510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107511 (exit $ac_status); }; } &&
107512 { ac_try='test -s conftest$ac_exeext'
107513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107514 (eval $ac_try) 2>&5
107515 ac_status=$?
107516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107517 (exit $ac_status); }; }; then
107518 eval "$as_ac_var=yes"
107519 else
107520 echo "$as_me: failed program was:" >&5
107521 sed 's/^/| /' conftest.$ac_ext >&5
107522
107523 eval "$as_ac_var=no"
107524 fi
107525 rm -f conftest.err conftest.$ac_objext \
107526 conftest$ac_exeext conftest.$ac_ext
107527 fi
107528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107530 if test `eval echo '${'$as_ac_var'}'` = yes; then
107531 cat >>confdefs.h <<_ACEOF
107532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107533 _ACEOF
107534
107535 fi
107536 done
107537
107538 else
107539
107540 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
107541 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
107542 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
107543 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
107544 echo $ECHO_N "(cached) $ECHO_C" >&6
107545 else
107546
107547
107548
107549 ac_ext=cc
107550 ac_cpp='$CXXCPP $CPPFLAGS'
107551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107554
107555 cat >conftest.$ac_ext <<_ACEOF
107556 /* confdefs.h. */
107557 _ACEOF
107558 cat confdefs.h >>conftest.$ac_ext
107559 cat >>conftest.$ac_ext <<_ACEOF
107560 /* end confdefs.h. */
107561 #include <math.h>
107562 #ifdef HAVE_IEEEFP_H
107563 #include <ieeefp.h>
107564 #endif
107565
107566 int
107567 main ()
107568 {
107569 _fabsl(0);
107570 ;
107571 return 0;
107572 }
107573 _ACEOF
107574 rm -f conftest.$ac_objext
107575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107576 (eval $ac_compile) 2>conftest.er1
107577 ac_status=$?
107578 grep -v '^ *+' conftest.er1 >conftest.err
107579 rm -f conftest.er1
107580 cat conftest.err >&5
107581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107582 (exit $ac_status); } &&
107583 { ac_try='test -z "$ac_cxx_werror_flag"
107584 || test ! -s conftest.err'
107585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107586 (eval $ac_try) 2>&5
107587 ac_status=$?
107588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107589 (exit $ac_status); }; } &&
107590 { ac_try='test -s conftest.$ac_objext'
107591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107592 (eval $ac_try) 2>&5
107593 ac_status=$?
107594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107595 (exit $ac_status); }; }; then
107596 glibcxx_cv_func__fabsl_use=yes
107597 else
107598 echo "$as_me: failed program was:" >&5
107599 sed 's/^/| /' conftest.$ac_ext >&5
107600
107601 glibcxx_cv_func__fabsl_use=no
107602 fi
107603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107604 ac_ext=c
107605 ac_cpp='$CPP $CPPFLAGS'
107606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107609
107610
107611 fi
107612
107613 fi
107614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
107615 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
107616
107617 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
107618
107619 for ac_func in _fabsl
107620 do
107621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107622 echo "$as_me:$LINENO: checking for $ac_func" >&5
107623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107624 if eval "test \"\${$as_ac_var+set}\" = set"; then
107625 echo $ECHO_N "(cached) $ECHO_C" >&6
107626 else
107627 if test x$gcc_no_link = xyes; then
107628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107630 { (exit 1); exit 1; }; }
107631 fi
107632 cat >conftest.$ac_ext <<_ACEOF
107633 /* confdefs.h. */
107634 _ACEOF
107635 cat confdefs.h >>conftest.$ac_ext
107636 cat >>conftest.$ac_ext <<_ACEOF
107637 /* end confdefs.h. */
107638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107640 #define $ac_func innocuous_$ac_func
107641
107642 /* System header to define __stub macros and hopefully few prototypes,
107643 which can conflict with char $ac_func (); below.
107644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107645 <limits.h> exists even on freestanding compilers. */
107646
107647 #ifdef __STDC__
107648 # include <limits.h>
107649 #else
107650 # include <assert.h>
107651 #endif
107652
107653 #undef $ac_func
107654
107655 /* Override any gcc2 internal prototype to avoid an error. */
107656 #ifdef __cplusplus
107657 extern "C"
107658 {
107659 #endif
107660 /* We use char because int might match the return type of a gcc2
107661 builtin and then its argument prototype would still apply. */
107662 char $ac_func ();
107663 /* The GNU C library defines this for functions which it implements
107664 to always fail with ENOSYS. Some functions are actually named
107665 something starting with __ and the normal name is an alias. */
107666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107667 choke me
107668 #else
107669 char (*f) () = $ac_func;
107670 #endif
107671 #ifdef __cplusplus
107672 }
107673 #endif
107674
107675 int
107676 main ()
107677 {
107678 return f != $ac_func;
107679 ;
107680 return 0;
107681 }
107682 _ACEOF
107683 rm -f conftest.$ac_objext conftest$ac_exeext
107684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107685 (eval $ac_link) 2>conftest.er1
107686 ac_status=$?
107687 grep -v '^ *+' conftest.er1 >conftest.err
107688 rm -f conftest.er1
107689 cat conftest.err >&5
107690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107691 (exit $ac_status); } &&
107692 { ac_try='test -z "$ac_c_werror_flag"
107693 || test ! -s conftest.err'
107694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107695 (eval $ac_try) 2>&5
107696 ac_status=$?
107697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107698 (exit $ac_status); }; } &&
107699 { ac_try='test -s conftest$ac_exeext'
107700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107701 (eval $ac_try) 2>&5
107702 ac_status=$?
107703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107704 (exit $ac_status); }; }; then
107705 eval "$as_ac_var=yes"
107706 else
107707 echo "$as_me: failed program was:" >&5
107708 sed 's/^/| /' conftest.$ac_ext >&5
107709
107710 eval "$as_ac_var=no"
107711 fi
107712 rm -f conftest.err conftest.$ac_objext \
107713 conftest$ac_exeext conftest.$ac_ext
107714 fi
107715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107717 if test `eval echo '${'$as_ac_var'}'` = yes; then
107718 cat >>confdefs.h <<_ACEOF
107719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107720 _ACEOF
107721
107722 fi
107723 done
107724
107725 fi
107726 fi
107727
107728
107729
107730
107731
107732
107733 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
107734 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
107735 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
107736 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
107737 echo $ECHO_N "(cached) $ECHO_C" >&6
107738 else
107739
107740
107741
107742 ac_ext=cc
107743 ac_cpp='$CXXCPP $CPPFLAGS'
107744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107747
107748 cat >conftest.$ac_ext <<_ACEOF
107749 /* confdefs.h. */
107750 _ACEOF
107751 cat confdefs.h >>conftest.$ac_ext
107752 cat >>conftest.$ac_ext <<_ACEOF
107753 /* end confdefs.h. */
107754 #include <math.h>
107755 int
107756 main ()
107757 {
107758 fmodl(0, 0);
107759 ;
107760 return 0;
107761 }
107762 _ACEOF
107763 rm -f conftest.$ac_objext
107764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107765 (eval $ac_compile) 2>conftest.er1
107766 ac_status=$?
107767 grep -v '^ *+' conftest.er1 >conftest.err
107768 rm -f conftest.er1
107769 cat conftest.err >&5
107770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107771 (exit $ac_status); } &&
107772 { ac_try='test -z "$ac_cxx_werror_flag"
107773 || test ! -s conftest.err'
107774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107775 (eval $ac_try) 2>&5
107776 ac_status=$?
107777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107778 (exit $ac_status); }; } &&
107779 { ac_try='test -s conftest.$ac_objext'
107780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107781 (eval $ac_try) 2>&5
107782 ac_status=$?
107783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107784 (exit $ac_status); }; }; then
107785 glibcxx_cv_func_fmodl_use=yes
107786 else
107787 echo "$as_me: failed program was:" >&5
107788 sed 's/^/| /' conftest.$ac_ext >&5
107789
107790 glibcxx_cv_func_fmodl_use=no
107791 fi
107792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107793 ac_ext=c
107794 ac_cpp='$CPP $CPPFLAGS'
107795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107798
107799
107800 fi
107801
107802 fi
107803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
107804 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
107805
107806 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
107807
107808 for ac_func in fmodl
107809 do
107810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107811 echo "$as_me:$LINENO: checking for $ac_func" >&5
107812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107813 if eval "test \"\${$as_ac_var+set}\" = set"; then
107814 echo $ECHO_N "(cached) $ECHO_C" >&6
107815 else
107816 if test x$gcc_no_link = xyes; then
107817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107819 { (exit 1); exit 1; }; }
107820 fi
107821 cat >conftest.$ac_ext <<_ACEOF
107822 /* confdefs.h. */
107823 _ACEOF
107824 cat confdefs.h >>conftest.$ac_ext
107825 cat >>conftest.$ac_ext <<_ACEOF
107826 /* end confdefs.h. */
107827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107829 #define $ac_func innocuous_$ac_func
107830
107831 /* System header to define __stub macros and hopefully few prototypes,
107832 which can conflict with char $ac_func (); below.
107833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107834 <limits.h> exists even on freestanding compilers. */
107835
107836 #ifdef __STDC__
107837 # include <limits.h>
107838 #else
107839 # include <assert.h>
107840 #endif
107841
107842 #undef $ac_func
107843
107844 /* Override any gcc2 internal prototype to avoid an error. */
107845 #ifdef __cplusplus
107846 extern "C"
107847 {
107848 #endif
107849 /* We use char because int might match the return type of a gcc2
107850 builtin and then its argument prototype would still apply. */
107851 char $ac_func ();
107852 /* The GNU C library defines this for functions which it implements
107853 to always fail with ENOSYS. Some functions are actually named
107854 something starting with __ and the normal name is an alias. */
107855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107856 choke me
107857 #else
107858 char (*f) () = $ac_func;
107859 #endif
107860 #ifdef __cplusplus
107861 }
107862 #endif
107863
107864 int
107865 main ()
107866 {
107867 return f != $ac_func;
107868 ;
107869 return 0;
107870 }
107871 _ACEOF
107872 rm -f conftest.$ac_objext conftest$ac_exeext
107873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107874 (eval $ac_link) 2>conftest.er1
107875 ac_status=$?
107876 grep -v '^ *+' conftest.er1 >conftest.err
107877 rm -f conftest.er1
107878 cat conftest.err >&5
107879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107880 (exit $ac_status); } &&
107881 { ac_try='test -z "$ac_c_werror_flag"
107882 || test ! -s conftest.err'
107883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107884 (eval $ac_try) 2>&5
107885 ac_status=$?
107886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107887 (exit $ac_status); }; } &&
107888 { ac_try='test -s conftest$ac_exeext'
107889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107890 (eval $ac_try) 2>&5
107891 ac_status=$?
107892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107893 (exit $ac_status); }; }; then
107894 eval "$as_ac_var=yes"
107895 else
107896 echo "$as_me: failed program was:" >&5
107897 sed 's/^/| /' conftest.$ac_ext >&5
107898
107899 eval "$as_ac_var=no"
107900 fi
107901 rm -f conftest.err conftest.$ac_objext \
107902 conftest$ac_exeext conftest.$ac_ext
107903 fi
107904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107906 if test `eval echo '${'$as_ac_var'}'` = yes; then
107907 cat >>confdefs.h <<_ACEOF
107908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107909 _ACEOF
107910
107911 fi
107912 done
107913
107914 else
107915
107916 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
107917 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
107918 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
107919 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
107920 echo $ECHO_N "(cached) $ECHO_C" >&6
107921 else
107922
107923
107924
107925 ac_ext=cc
107926 ac_cpp='$CXXCPP $CPPFLAGS'
107927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107930
107931 cat >conftest.$ac_ext <<_ACEOF
107932 /* confdefs.h. */
107933 _ACEOF
107934 cat confdefs.h >>conftest.$ac_ext
107935 cat >>conftest.$ac_ext <<_ACEOF
107936 /* end confdefs.h. */
107937 #include <math.h>
107938 int
107939 main ()
107940 {
107941 _fmodl(0, 0);
107942 ;
107943 return 0;
107944 }
107945 _ACEOF
107946 rm -f conftest.$ac_objext
107947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107948 (eval $ac_compile) 2>conftest.er1
107949 ac_status=$?
107950 grep -v '^ *+' conftest.er1 >conftest.err
107951 rm -f conftest.er1
107952 cat conftest.err >&5
107953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107954 (exit $ac_status); } &&
107955 { ac_try='test -z "$ac_cxx_werror_flag"
107956 || test ! -s conftest.err'
107957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107958 (eval $ac_try) 2>&5
107959 ac_status=$?
107960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107961 (exit $ac_status); }; } &&
107962 { ac_try='test -s conftest.$ac_objext'
107963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107964 (eval $ac_try) 2>&5
107965 ac_status=$?
107966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107967 (exit $ac_status); }; }; then
107968 glibcxx_cv_func__fmodl_use=yes
107969 else
107970 echo "$as_me: failed program was:" >&5
107971 sed 's/^/| /' conftest.$ac_ext >&5
107972
107973 glibcxx_cv_func__fmodl_use=no
107974 fi
107975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107976 ac_ext=c
107977 ac_cpp='$CPP $CPPFLAGS'
107978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107981
107982
107983 fi
107984
107985 fi
107986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
107987 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
107988
107989 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
107990
107991 for ac_func in _fmodl
107992 do
107993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107994 echo "$as_me:$LINENO: checking for $ac_func" >&5
107995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107996 if eval "test \"\${$as_ac_var+set}\" = set"; then
107997 echo $ECHO_N "(cached) $ECHO_C" >&6
107998 else
107999 if test x$gcc_no_link = xyes; then
108000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108002 { (exit 1); exit 1; }; }
108003 fi
108004 cat >conftest.$ac_ext <<_ACEOF
108005 /* confdefs.h. */
108006 _ACEOF
108007 cat confdefs.h >>conftest.$ac_ext
108008 cat >>conftest.$ac_ext <<_ACEOF
108009 /* end confdefs.h. */
108010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108012 #define $ac_func innocuous_$ac_func
108013
108014 /* System header to define __stub macros and hopefully few prototypes,
108015 which can conflict with char $ac_func (); below.
108016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108017 <limits.h> exists even on freestanding compilers. */
108018
108019 #ifdef __STDC__
108020 # include <limits.h>
108021 #else
108022 # include <assert.h>
108023 #endif
108024
108025 #undef $ac_func
108026
108027 /* Override any gcc2 internal prototype to avoid an error. */
108028 #ifdef __cplusplus
108029 extern "C"
108030 {
108031 #endif
108032 /* We use char because int might match the return type of a gcc2
108033 builtin and then its argument prototype would still apply. */
108034 char $ac_func ();
108035 /* The GNU C library defines this for functions which it implements
108036 to always fail with ENOSYS. Some functions are actually named
108037 something starting with __ and the normal name is an alias. */
108038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108039 choke me
108040 #else
108041 char (*f) () = $ac_func;
108042 #endif
108043 #ifdef __cplusplus
108044 }
108045 #endif
108046
108047 int
108048 main ()
108049 {
108050 return f != $ac_func;
108051 ;
108052 return 0;
108053 }
108054 _ACEOF
108055 rm -f conftest.$ac_objext conftest$ac_exeext
108056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108057 (eval $ac_link) 2>conftest.er1
108058 ac_status=$?
108059 grep -v '^ *+' conftest.er1 >conftest.err
108060 rm -f conftest.er1
108061 cat conftest.err >&5
108062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108063 (exit $ac_status); } &&
108064 { ac_try='test -z "$ac_c_werror_flag"
108065 || test ! -s conftest.err'
108066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108067 (eval $ac_try) 2>&5
108068 ac_status=$?
108069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108070 (exit $ac_status); }; } &&
108071 { ac_try='test -s conftest$ac_exeext'
108072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108073 (eval $ac_try) 2>&5
108074 ac_status=$?
108075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108076 (exit $ac_status); }; }; then
108077 eval "$as_ac_var=yes"
108078 else
108079 echo "$as_me: failed program was:" >&5
108080 sed 's/^/| /' conftest.$ac_ext >&5
108081
108082 eval "$as_ac_var=no"
108083 fi
108084 rm -f conftest.err conftest.$ac_objext \
108085 conftest$ac_exeext conftest.$ac_ext
108086 fi
108087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108089 if test `eval echo '${'$as_ac_var'}'` = yes; then
108090 cat >>confdefs.h <<_ACEOF
108091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108092 _ACEOF
108093
108094 fi
108095 done
108096
108097 fi
108098 fi
108099
108100
108101
108102
108103
108104
108105 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
108106 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
108107 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
108108 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
108109 echo $ECHO_N "(cached) $ECHO_C" >&6
108110 else
108111
108112
108113
108114 ac_ext=cc
108115 ac_cpp='$CXXCPP $CPPFLAGS'
108116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108119
108120 cat >conftest.$ac_ext <<_ACEOF
108121 /* confdefs.h. */
108122 _ACEOF
108123 cat confdefs.h >>conftest.$ac_ext
108124 cat >>conftest.$ac_ext <<_ACEOF
108125 /* end confdefs.h. */
108126 #include <math.h>
108127 int
108128 main ()
108129 {
108130 frexpl(0, 0);
108131 ;
108132 return 0;
108133 }
108134 _ACEOF
108135 rm -f conftest.$ac_objext
108136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108137 (eval $ac_compile) 2>conftest.er1
108138 ac_status=$?
108139 grep -v '^ *+' conftest.er1 >conftest.err
108140 rm -f conftest.er1
108141 cat conftest.err >&5
108142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108143 (exit $ac_status); } &&
108144 { ac_try='test -z "$ac_cxx_werror_flag"
108145 || test ! -s conftest.err'
108146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108147 (eval $ac_try) 2>&5
108148 ac_status=$?
108149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108150 (exit $ac_status); }; } &&
108151 { ac_try='test -s conftest.$ac_objext'
108152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108153 (eval $ac_try) 2>&5
108154 ac_status=$?
108155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108156 (exit $ac_status); }; }; then
108157 glibcxx_cv_func_frexpl_use=yes
108158 else
108159 echo "$as_me: failed program was:" >&5
108160 sed 's/^/| /' conftest.$ac_ext >&5
108161
108162 glibcxx_cv_func_frexpl_use=no
108163 fi
108164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108165 ac_ext=c
108166 ac_cpp='$CPP $CPPFLAGS'
108167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108170
108171
108172 fi
108173
108174 fi
108175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
108176 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
108177
108178 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
108179
108180 for ac_func in frexpl
108181 do
108182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108183 echo "$as_me:$LINENO: checking for $ac_func" >&5
108184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108185 if eval "test \"\${$as_ac_var+set}\" = set"; then
108186 echo $ECHO_N "(cached) $ECHO_C" >&6
108187 else
108188 if test x$gcc_no_link = xyes; then
108189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108191 { (exit 1); exit 1; }; }
108192 fi
108193 cat >conftest.$ac_ext <<_ACEOF
108194 /* confdefs.h. */
108195 _ACEOF
108196 cat confdefs.h >>conftest.$ac_ext
108197 cat >>conftest.$ac_ext <<_ACEOF
108198 /* end confdefs.h. */
108199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108201 #define $ac_func innocuous_$ac_func
108202
108203 /* System header to define __stub macros and hopefully few prototypes,
108204 which can conflict with char $ac_func (); below.
108205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108206 <limits.h> exists even on freestanding compilers. */
108207
108208 #ifdef __STDC__
108209 # include <limits.h>
108210 #else
108211 # include <assert.h>
108212 #endif
108213
108214 #undef $ac_func
108215
108216 /* Override any gcc2 internal prototype to avoid an error. */
108217 #ifdef __cplusplus
108218 extern "C"
108219 {
108220 #endif
108221 /* We use char because int might match the return type of a gcc2
108222 builtin and then its argument prototype would still apply. */
108223 char $ac_func ();
108224 /* The GNU C library defines this for functions which it implements
108225 to always fail with ENOSYS. Some functions are actually named
108226 something starting with __ and the normal name is an alias. */
108227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108228 choke me
108229 #else
108230 char (*f) () = $ac_func;
108231 #endif
108232 #ifdef __cplusplus
108233 }
108234 #endif
108235
108236 int
108237 main ()
108238 {
108239 return f != $ac_func;
108240 ;
108241 return 0;
108242 }
108243 _ACEOF
108244 rm -f conftest.$ac_objext conftest$ac_exeext
108245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108246 (eval $ac_link) 2>conftest.er1
108247 ac_status=$?
108248 grep -v '^ *+' conftest.er1 >conftest.err
108249 rm -f conftest.er1
108250 cat conftest.err >&5
108251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108252 (exit $ac_status); } &&
108253 { ac_try='test -z "$ac_c_werror_flag"
108254 || test ! -s conftest.err'
108255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108256 (eval $ac_try) 2>&5
108257 ac_status=$?
108258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108259 (exit $ac_status); }; } &&
108260 { ac_try='test -s conftest$ac_exeext'
108261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108262 (eval $ac_try) 2>&5
108263 ac_status=$?
108264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108265 (exit $ac_status); }; }; then
108266 eval "$as_ac_var=yes"
108267 else
108268 echo "$as_me: failed program was:" >&5
108269 sed 's/^/| /' conftest.$ac_ext >&5
108270
108271 eval "$as_ac_var=no"
108272 fi
108273 rm -f conftest.err conftest.$ac_objext \
108274 conftest$ac_exeext conftest.$ac_ext
108275 fi
108276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108278 if test `eval echo '${'$as_ac_var'}'` = yes; then
108279 cat >>confdefs.h <<_ACEOF
108280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108281 _ACEOF
108282
108283 fi
108284 done
108285
108286 else
108287
108288 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
108289 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
108290 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
108291 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
108292 echo $ECHO_N "(cached) $ECHO_C" >&6
108293 else
108294
108295
108296
108297 ac_ext=cc
108298 ac_cpp='$CXXCPP $CPPFLAGS'
108299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108302
108303 cat >conftest.$ac_ext <<_ACEOF
108304 /* confdefs.h. */
108305 _ACEOF
108306 cat confdefs.h >>conftest.$ac_ext
108307 cat >>conftest.$ac_ext <<_ACEOF
108308 /* end confdefs.h. */
108309 #include <math.h>
108310 int
108311 main ()
108312 {
108313 _frexpl(0, 0);
108314 ;
108315 return 0;
108316 }
108317 _ACEOF
108318 rm -f conftest.$ac_objext
108319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108320 (eval $ac_compile) 2>conftest.er1
108321 ac_status=$?
108322 grep -v '^ *+' conftest.er1 >conftest.err
108323 rm -f conftest.er1
108324 cat conftest.err >&5
108325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108326 (exit $ac_status); } &&
108327 { ac_try='test -z "$ac_cxx_werror_flag"
108328 || test ! -s conftest.err'
108329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108330 (eval $ac_try) 2>&5
108331 ac_status=$?
108332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108333 (exit $ac_status); }; } &&
108334 { ac_try='test -s conftest.$ac_objext'
108335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108336 (eval $ac_try) 2>&5
108337 ac_status=$?
108338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108339 (exit $ac_status); }; }; then
108340 glibcxx_cv_func__frexpl_use=yes
108341 else
108342 echo "$as_me: failed program was:" >&5
108343 sed 's/^/| /' conftest.$ac_ext >&5
108344
108345 glibcxx_cv_func__frexpl_use=no
108346 fi
108347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108348 ac_ext=c
108349 ac_cpp='$CPP $CPPFLAGS'
108350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108353
108354
108355 fi
108356
108357 fi
108358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
108359 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
108360
108361 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
108362
108363 for ac_func in _frexpl
108364 do
108365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108366 echo "$as_me:$LINENO: checking for $ac_func" >&5
108367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108368 if eval "test \"\${$as_ac_var+set}\" = set"; then
108369 echo $ECHO_N "(cached) $ECHO_C" >&6
108370 else
108371 if test x$gcc_no_link = xyes; then
108372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108374 { (exit 1); exit 1; }; }
108375 fi
108376 cat >conftest.$ac_ext <<_ACEOF
108377 /* confdefs.h. */
108378 _ACEOF
108379 cat confdefs.h >>conftest.$ac_ext
108380 cat >>conftest.$ac_ext <<_ACEOF
108381 /* end confdefs.h. */
108382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108384 #define $ac_func innocuous_$ac_func
108385
108386 /* System header to define __stub macros and hopefully few prototypes,
108387 which can conflict with char $ac_func (); below.
108388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108389 <limits.h> exists even on freestanding compilers. */
108390
108391 #ifdef __STDC__
108392 # include <limits.h>
108393 #else
108394 # include <assert.h>
108395 #endif
108396
108397 #undef $ac_func
108398
108399 /* Override any gcc2 internal prototype to avoid an error. */
108400 #ifdef __cplusplus
108401 extern "C"
108402 {
108403 #endif
108404 /* We use char because int might match the return type of a gcc2
108405 builtin and then its argument prototype would still apply. */
108406 char $ac_func ();
108407 /* The GNU C library defines this for functions which it implements
108408 to always fail with ENOSYS. Some functions are actually named
108409 something starting with __ and the normal name is an alias. */
108410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108411 choke me
108412 #else
108413 char (*f) () = $ac_func;
108414 #endif
108415 #ifdef __cplusplus
108416 }
108417 #endif
108418
108419 int
108420 main ()
108421 {
108422 return f != $ac_func;
108423 ;
108424 return 0;
108425 }
108426 _ACEOF
108427 rm -f conftest.$ac_objext conftest$ac_exeext
108428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108429 (eval $ac_link) 2>conftest.er1
108430 ac_status=$?
108431 grep -v '^ *+' conftest.er1 >conftest.err
108432 rm -f conftest.er1
108433 cat conftest.err >&5
108434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108435 (exit $ac_status); } &&
108436 { ac_try='test -z "$ac_c_werror_flag"
108437 || test ! -s conftest.err'
108438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108439 (eval $ac_try) 2>&5
108440 ac_status=$?
108441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108442 (exit $ac_status); }; } &&
108443 { ac_try='test -s conftest$ac_exeext'
108444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108445 (eval $ac_try) 2>&5
108446 ac_status=$?
108447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108448 (exit $ac_status); }; }; then
108449 eval "$as_ac_var=yes"
108450 else
108451 echo "$as_me: failed program was:" >&5
108452 sed 's/^/| /' conftest.$ac_ext >&5
108453
108454 eval "$as_ac_var=no"
108455 fi
108456 rm -f conftest.err conftest.$ac_objext \
108457 conftest$ac_exeext conftest.$ac_ext
108458 fi
108459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108461 if test `eval echo '${'$as_ac_var'}'` = yes; then
108462 cat >>confdefs.h <<_ACEOF
108463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108464 _ACEOF
108465
108466 fi
108467 done
108468
108469 fi
108470 fi
108471
108472
108473
108474
108475
108476
108477 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
108478 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
108479 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
108480 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
108481 echo $ECHO_N "(cached) $ECHO_C" >&6
108482 else
108483
108484
108485
108486 ac_ext=cc
108487 ac_cpp='$CXXCPP $CPPFLAGS'
108488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108491
108492 cat >conftest.$ac_ext <<_ACEOF
108493 /* confdefs.h. */
108494 _ACEOF
108495 cat confdefs.h >>conftest.$ac_ext
108496 cat >>conftest.$ac_ext <<_ACEOF
108497 /* end confdefs.h. */
108498 #include <math.h>
108499 int
108500 main ()
108501 {
108502 hypotl(0, 0);
108503 ;
108504 return 0;
108505 }
108506 _ACEOF
108507 rm -f conftest.$ac_objext
108508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108509 (eval $ac_compile) 2>conftest.er1
108510 ac_status=$?
108511 grep -v '^ *+' conftest.er1 >conftest.err
108512 rm -f conftest.er1
108513 cat conftest.err >&5
108514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108515 (exit $ac_status); } &&
108516 { ac_try='test -z "$ac_cxx_werror_flag"
108517 || test ! -s conftest.err'
108518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108519 (eval $ac_try) 2>&5
108520 ac_status=$?
108521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108522 (exit $ac_status); }; } &&
108523 { ac_try='test -s conftest.$ac_objext'
108524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108525 (eval $ac_try) 2>&5
108526 ac_status=$?
108527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108528 (exit $ac_status); }; }; then
108529 glibcxx_cv_func_hypotl_use=yes
108530 else
108531 echo "$as_me: failed program was:" >&5
108532 sed 's/^/| /' conftest.$ac_ext >&5
108533
108534 glibcxx_cv_func_hypotl_use=no
108535 fi
108536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108537 ac_ext=c
108538 ac_cpp='$CPP $CPPFLAGS'
108539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108542
108543
108544 fi
108545
108546 fi
108547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
108548 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
108549
108550 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
108551
108552 for ac_func in hypotl
108553 do
108554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108555 echo "$as_me:$LINENO: checking for $ac_func" >&5
108556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108557 if eval "test \"\${$as_ac_var+set}\" = set"; then
108558 echo $ECHO_N "(cached) $ECHO_C" >&6
108559 else
108560 if test x$gcc_no_link = xyes; then
108561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108563 { (exit 1); exit 1; }; }
108564 fi
108565 cat >conftest.$ac_ext <<_ACEOF
108566 /* confdefs.h. */
108567 _ACEOF
108568 cat confdefs.h >>conftest.$ac_ext
108569 cat >>conftest.$ac_ext <<_ACEOF
108570 /* end confdefs.h. */
108571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108573 #define $ac_func innocuous_$ac_func
108574
108575 /* System header to define __stub macros and hopefully few prototypes,
108576 which can conflict with char $ac_func (); below.
108577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108578 <limits.h> exists even on freestanding compilers. */
108579
108580 #ifdef __STDC__
108581 # include <limits.h>
108582 #else
108583 # include <assert.h>
108584 #endif
108585
108586 #undef $ac_func
108587
108588 /* Override any gcc2 internal prototype to avoid an error. */
108589 #ifdef __cplusplus
108590 extern "C"
108591 {
108592 #endif
108593 /* We use char because int might match the return type of a gcc2
108594 builtin and then its argument prototype would still apply. */
108595 char $ac_func ();
108596 /* The GNU C library defines this for functions which it implements
108597 to always fail with ENOSYS. Some functions are actually named
108598 something starting with __ and the normal name is an alias. */
108599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108600 choke me
108601 #else
108602 char (*f) () = $ac_func;
108603 #endif
108604 #ifdef __cplusplus
108605 }
108606 #endif
108607
108608 int
108609 main ()
108610 {
108611 return f != $ac_func;
108612 ;
108613 return 0;
108614 }
108615 _ACEOF
108616 rm -f conftest.$ac_objext conftest$ac_exeext
108617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108618 (eval $ac_link) 2>conftest.er1
108619 ac_status=$?
108620 grep -v '^ *+' conftest.er1 >conftest.err
108621 rm -f conftest.er1
108622 cat conftest.err >&5
108623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108624 (exit $ac_status); } &&
108625 { ac_try='test -z "$ac_c_werror_flag"
108626 || test ! -s conftest.err'
108627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108628 (eval $ac_try) 2>&5
108629 ac_status=$?
108630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108631 (exit $ac_status); }; } &&
108632 { ac_try='test -s conftest$ac_exeext'
108633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108634 (eval $ac_try) 2>&5
108635 ac_status=$?
108636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108637 (exit $ac_status); }; }; then
108638 eval "$as_ac_var=yes"
108639 else
108640 echo "$as_me: failed program was:" >&5
108641 sed 's/^/| /' conftest.$ac_ext >&5
108642
108643 eval "$as_ac_var=no"
108644 fi
108645 rm -f conftest.err conftest.$ac_objext \
108646 conftest$ac_exeext conftest.$ac_ext
108647 fi
108648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108650 if test `eval echo '${'$as_ac_var'}'` = yes; then
108651 cat >>confdefs.h <<_ACEOF
108652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108653 _ACEOF
108654
108655 fi
108656 done
108657
108658 else
108659
108660 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
108661 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
108662 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
108663 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
108664 echo $ECHO_N "(cached) $ECHO_C" >&6
108665 else
108666
108667
108668
108669 ac_ext=cc
108670 ac_cpp='$CXXCPP $CPPFLAGS'
108671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108674
108675 cat >conftest.$ac_ext <<_ACEOF
108676 /* confdefs.h. */
108677 _ACEOF
108678 cat confdefs.h >>conftest.$ac_ext
108679 cat >>conftest.$ac_ext <<_ACEOF
108680 /* end confdefs.h. */
108681 #include <math.h>
108682 int
108683 main ()
108684 {
108685 _hypotl(0, 0);
108686 ;
108687 return 0;
108688 }
108689 _ACEOF
108690 rm -f conftest.$ac_objext
108691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108692 (eval $ac_compile) 2>conftest.er1
108693 ac_status=$?
108694 grep -v '^ *+' conftest.er1 >conftest.err
108695 rm -f conftest.er1
108696 cat conftest.err >&5
108697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108698 (exit $ac_status); } &&
108699 { ac_try='test -z "$ac_cxx_werror_flag"
108700 || test ! -s conftest.err'
108701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108702 (eval $ac_try) 2>&5
108703 ac_status=$?
108704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108705 (exit $ac_status); }; } &&
108706 { ac_try='test -s conftest.$ac_objext'
108707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108708 (eval $ac_try) 2>&5
108709 ac_status=$?
108710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108711 (exit $ac_status); }; }; then
108712 glibcxx_cv_func__hypotl_use=yes
108713 else
108714 echo "$as_me: failed program was:" >&5
108715 sed 's/^/| /' conftest.$ac_ext >&5
108716
108717 glibcxx_cv_func__hypotl_use=no
108718 fi
108719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108720 ac_ext=c
108721 ac_cpp='$CPP $CPPFLAGS'
108722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108725
108726
108727 fi
108728
108729 fi
108730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
108731 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
108732
108733 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
108734
108735 for ac_func in _hypotl
108736 do
108737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108738 echo "$as_me:$LINENO: checking for $ac_func" >&5
108739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108740 if eval "test \"\${$as_ac_var+set}\" = set"; then
108741 echo $ECHO_N "(cached) $ECHO_C" >&6
108742 else
108743 if test x$gcc_no_link = xyes; then
108744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108746 { (exit 1); exit 1; }; }
108747 fi
108748 cat >conftest.$ac_ext <<_ACEOF
108749 /* confdefs.h. */
108750 _ACEOF
108751 cat confdefs.h >>conftest.$ac_ext
108752 cat >>conftest.$ac_ext <<_ACEOF
108753 /* end confdefs.h. */
108754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108756 #define $ac_func innocuous_$ac_func
108757
108758 /* System header to define __stub macros and hopefully few prototypes,
108759 which can conflict with char $ac_func (); below.
108760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108761 <limits.h> exists even on freestanding compilers. */
108762
108763 #ifdef __STDC__
108764 # include <limits.h>
108765 #else
108766 # include <assert.h>
108767 #endif
108768
108769 #undef $ac_func
108770
108771 /* Override any gcc2 internal prototype to avoid an error. */
108772 #ifdef __cplusplus
108773 extern "C"
108774 {
108775 #endif
108776 /* We use char because int might match the return type of a gcc2
108777 builtin and then its argument prototype would still apply. */
108778 char $ac_func ();
108779 /* The GNU C library defines this for functions which it implements
108780 to always fail with ENOSYS. Some functions are actually named
108781 something starting with __ and the normal name is an alias. */
108782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108783 choke me
108784 #else
108785 char (*f) () = $ac_func;
108786 #endif
108787 #ifdef __cplusplus
108788 }
108789 #endif
108790
108791 int
108792 main ()
108793 {
108794 return f != $ac_func;
108795 ;
108796 return 0;
108797 }
108798 _ACEOF
108799 rm -f conftest.$ac_objext conftest$ac_exeext
108800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108801 (eval $ac_link) 2>conftest.er1
108802 ac_status=$?
108803 grep -v '^ *+' conftest.er1 >conftest.err
108804 rm -f conftest.er1
108805 cat conftest.err >&5
108806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108807 (exit $ac_status); } &&
108808 { ac_try='test -z "$ac_c_werror_flag"
108809 || test ! -s conftest.err'
108810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108811 (eval $ac_try) 2>&5
108812 ac_status=$?
108813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108814 (exit $ac_status); }; } &&
108815 { ac_try='test -s conftest$ac_exeext'
108816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108817 (eval $ac_try) 2>&5
108818 ac_status=$?
108819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108820 (exit $ac_status); }; }; then
108821 eval "$as_ac_var=yes"
108822 else
108823 echo "$as_me: failed program was:" >&5
108824 sed 's/^/| /' conftest.$ac_ext >&5
108825
108826 eval "$as_ac_var=no"
108827 fi
108828 rm -f conftest.err conftest.$ac_objext \
108829 conftest$ac_exeext conftest.$ac_ext
108830 fi
108831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108833 if test `eval echo '${'$as_ac_var'}'` = yes; then
108834 cat >>confdefs.h <<_ACEOF
108835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108836 _ACEOF
108837
108838 fi
108839 done
108840
108841 fi
108842 fi
108843
108844
108845
108846
108847
108848
108849 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
108850 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
108851 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
108852 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
108853 echo $ECHO_N "(cached) $ECHO_C" >&6
108854 else
108855
108856
108857
108858 ac_ext=cc
108859 ac_cpp='$CXXCPP $CPPFLAGS'
108860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108863
108864 cat >conftest.$ac_ext <<_ACEOF
108865 /* confdefs.h. */
108866 _ACEOF
108867 cat confdefs.h >>conftest.$ac_ext
108868 cat >>conftest.$ac_ext <<_ACEOF
108869 /* end confdefs.h. */
108870 #include <math.h>
108871 int
108872 main ()
108873 {
108874 ldexpl(0, 0);
108875 ;
108876 return 0;
108877 }
108878 _ACEOF
108879 rm -f conftest.$ac_objext
108880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108881 (eval $ac_compile) 2>conftest.er1
108882 ac_status=$?
108883 grep -v '^ *+' conftest.er1 >conftest.err
108884 rm -f conftest.er1
108885 cat conftest.err >&5
108886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108887 (exit $ac_status); } &&
108888 { ac_try='test -z "$ac_cxx_werror_flag"
108889 || test ! -s conftest.err'
108890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108891 (eval $ac_try) 2>&5
108892 ac_status=$?
108893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108894 (exit $ac_status); }; } &&
108895 { ac_try='test -s conftest.$ac_objext'
108896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108897 (eval $ac_try) 2>&5
108898 ac_status=$?
108899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108900 (exit $ac_status); }; }; then
108901 glibcxx_cv_func_ldexpl_use=yes
108902 else
108903 echo "$as_me: failed program was:" >&5
108904 sed 's/^/| /' conftest.$ac_ext >&5
108905
108906 glibcxx_cv_func_ldexpl_use=no
108907 fi
108908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108909 ac_ext=c
108910 ac_cpp='$CPP $CPPFLAGS'
108911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108914
108915
108916 fi
108917
108918 fi
108919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
108920 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
108921
108922 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
108923
108924 for ac_func in ldexpl
108925 do
108926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108927 echo "$as_me:$LINENO: checking for $ac_func" >&5
108928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108929 if eval "test \"\${$as_ac_var+set}\" = set"; then
108930 echo $ECHO_N "(cached) $ECHO_C" >&6
108931 else
108932 if test x$gcc_no_link = xyes; then
108933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108935 { (exit 1); exit 1; }; }
108936 fi
108937 cat >conftest.$ac_ext <<_ACEOF
108938 /* confdefs.h. */
108939 _ACEOF
108940 cat confdefs.h >>conftest.$ac_ext
108941 cat >>conftest.$ac_ext <<_ACEOF
108942 /* end confdefs.h. */
108943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108945 #define $ac_func innocuous_$ac_func
108946
108947 /* System header to define __stub macros and hopefully few prototypes,
108948 which can conflict with char $ac_func (); below.
108949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108950 <limits.h> exists even on freestanding compilers. */
108951
108952 #ifdef __STDC__
108953 # include <limits.h>
108954 #else
108955 # include <assert.h>
108956 #endif
108957
108958 #undef $ac_func
108959
108960 /* Override any gcc2 internal prototype to avoid an error. */
108961 #ifdef __cplusplus
108962 extern "C"
108963 {
108964 #endif
108965 /* We use char because int might match the return type of a gcc2
108966 builtin and then its argument prototype would still apply. */
108967 char $ac_func ();
108968 /* The GNU C library defines this for functions which it implements
108969 to always fail with ENOSYS. Some functions are actually named
108970 something starting with __ and the normal name is an alias. */
108971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108972 choke me
108973 #else
108974 char (*f) () = $ac_func;
108975 #endif
108976 #ifdef __cplusplus
108977 }
108978 #endif
108979
108980 int
108981 main ()
108982 {
108983 return f != $ac_func;
108984 ;
108985 return 0;
108986 }
108987 _ACEOF
108988 rm -f conftest.$ac_objext conftest$ac_exeext
108989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108990 (eval $ac_link) 2>conftest.er1
108991 ac_status=$?
108992 grep -v '^ *+' conftest.er1 >conftest.err
108993 rm -f conftest.er1
108994 cat conftest.err >&5
108995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108996 (exit $ac_status); } &&
108997 { ac_try='test -z "$ac_c_werror_flag"
108998 || test ! -s conftest.err'
108999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109000 (eval $ac_try) 2>&5
109001 ac_status=$?
109002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109003 (exit $ac_status); }; } &&
109004 { ac_try='test -s conftest$ac_exeext'
109005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109006 (eval $ac_try) 2>&5
109007 ac_status=$?
109008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109009 (exit $ac_status); }; }; then
109010 eval "$as_ac_var=yes"
109011 else
109012 echo "$as_me: failed program was:" >&5
109013 sed 's/^/| /' conftest.$ac_ext >&5
109014
109015 eval "$as_ac_var=no"
109016 fi
109017 rm -f conftest.err conftest.$ac_objext \
109018 conftest$ac_exeext conftest.$ac_ext
109019 fi
109020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109022 if test `eval echo '${'$as_ac_var'}'` = yes; then
109023 cat >>confdefs.h <<_ACEOF
109024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109025 _ACEOF
109026
109027 fi
109028 done
109029
109030 else
109031
109032 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
109033 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
109034 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
109035 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
109036 echo $ECHO_N "(cached) $ECHO_C" >&6
109037 else
109038
109039
109040
109041 ac_ext=cc
109042 ac_cpp='$CXXCPP $CPPFLAGS'
109043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109046
109047 cat >conftest.$ac_ext <<_ACEOF
109048 /* confdefs.h. */
109049 _ACEOF
109050 cat confdefs.h >>conftest.$ac_ext
109051 cat >>conftest.$ac_ext <<_ACEOF
109052 /* end confdefs.h. */
109053 #include <math.h>
109054 int
109055 main ()
109056 {
109057 _ldexpl(0, 0);
109058 ;
109059 return 0;
109060 }
109061 _ACEOF
109062 rm -f conftest.$ac_objext
109063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109064 (eval $ac_compile) 2>conftest.er1
109065 ac_status=$?
109066 grep -v '^ *+' conftest.er1 >conftest.err
109067 rm -f conftest.er1
109068 cat conftest.err >&5
109069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109070 (exit $ac_status); } &&
109071 { ac_try='test -z "$ac_cxx_werror_flag"
109072 || test ! -s conftest.err'
109073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109074 (eval $ac_try) 2>&5
109075 ac_status=$?
109076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109077 (exit $ac_status); }; } &&
109078 { ac_try='test -s conftest.$ac_objext'
109079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109080 (eval $ac_try) 2>&5
109081 ac_status=$?
109082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109083 (exit $ac_status); }; }; then
109084 glibcxx_cv_func__ldexpl_use=yes
109085 else
109086 echo "$as_me: failed program was:" >&5
109087 sed 's/^/| /' conftest.$ac_ext >&5
109088
109089 glibcxx_cv_func__ldexpl_use=no
109090 fi
109091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109092 ac_ext=c
109093 ac_cpp='$CPP $CPPFLAGS'
109094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109097
109098
109099 fi
109100
109101 fi
109102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
109103 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
109104
109105 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
109106
109107 for ac_func in _ldexpl
109108 do
109109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109110 echo "$as_me:$LINENO: checking for $ac_func" >&5
109111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109112 if eval "test \"\${$as_ac_var+set}\" = set"; then
109113 echo $ECHO_N "(cached) $ECHO_C" >&6
109114 else
109115 if test x$gcc_no_link = xyes; then
109116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109118 { (exit 1); exit 1; }; }
109119 fi
109120 cat >conftest.$ac_ext <<_ACEOF
109121 /* confdefs.h. */
109122 _ACEOF
109123 cat confdefs.h >>conftest.$ac_ext
109124 cat >>conftest.$ac_ext <<_ACEOF
109125 /* end confdefs.h. */
109126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109128 #define $ac_func innocuous_$ac_func
109129
109130 /* System header to define __stub macros and hopefully few prototypes,
109131 which can conflict with char $ac_func (); below.
109132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109133 <limits.h> exists even on freestanding compilers. */
109134
109135 #ifdef __STDC__
109136 # include <limits.h>
109137 #else
109138 # include <assert.h>
109139 #endif
109140
109141 #undef $ac_func
109142
109143 /* Override any gcc2 internal prototype to avoid an error. */
109144 #ifdef __cplusplus
109145 extern "C"
109146 {
109147 #endif
109148 /* We use char because int might match the return type of a gcc2
109149 builtin and then its argument prototype would still apply. */
109150 char $ac_func ();
109151 /* The GNU C library defines this for functions which it implements
109152 to always fail with ENOSYS. Some functions are actually named
109153 something starting with __ and the normal name is an alias. */
109154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109155 choke me
109156 #else
109157 char (*f) () = $ac_func;
109158 #endif
109159 #ifdef __cplusplus
109160 }
109161 #endif
109162
109163 int
109164 main ()
109165 {
109166 return f != $ac_func;
109167 ;
109168 return 0;
109169 }
109170 _ACEOF
109171 rm -f conftest.$ac_objext conftest$ac_exeext
109172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109173 (eval $ac_link) 2>conftest.er1
109174 ac_status=$?
109175 grep -v '^ *+' conftest.er1 >conftest.err
109176 rm -f conftest.er1
109177 cat conftest.err >&5
109178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109179 (exit $ac_status); } &&
109180 { ac_try='test -z "$ac_c_werror_flag"
109181 || test ! -s conftest.err'
109182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109183 (eval $ac_try) 2>&5
109184 ac_status=$?
109185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109186 (exit $ac_status); }; } &&
109187 { ac_try='test -s conftest$ac_exeext'
109188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109189 (eval $ac_try) 2>&5
109190 ac_status=$?
109191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109192 (exit $ac_status); }; }; then
109193 eval "$as_ac_var=yes"
109194 else
109195 echo "$as_me: failed program was:" >&5
109196 sed 's/^/| /' conftest.$ac_ext >&5
109197
109198 eval "$as_ac_var=no"
109199 fi
109200 rm -f conftest.err conftest.$ac_objext \
109201 conftest$ac_exeext conftest.$ac_ext
109202 fi
109203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109205 if test `eval echo '${'$as_ac_var'}'` = yes; then
109206 cat >>confdefs.h <<_ACEOF
109207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109208 _ACEOF
109209
109210 fi
109211 done
109212
109213 fi
109214 fi
109215
109216
109217
109218
109219
109220
109221 echo "$as_me:$LINENO: checking for logl declaration" >&5
109222 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
109223 if test x${glibcxx_cv_func_logl_use+set} != xset; then
109224 if test "${glibcxx_cv_func_logl_use+set}" = set; then
109225 echo $ECHO_N "(cached) $ECHO_C" >&6
109226 else
109227
109228
109229
109230 ac_ext=cc
109231 ac_cpp='$CXXCPP $CPPFLAGS'
109232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109235
109236 cat >conftest.$ac_ext <<_ACEOF
109237 /* confdefs.h. */
109238 _ACEOF
109239 cat confdefs.h >>conftest.$ac_ext
109240 cat >>conftest.$ac_ext <<_ACEOF
109241 /* end confdefs.h. */
109242 #include <math.h>
109243 #ifdef HAVE_IEEEFP_H
109244 #include <ieeefp.h>
109245 #endif
109246
109247 int
109248 main ()
109249 {
109250 logl(0);
109251 ;
109252 return 0;
109253 }
109254 _ACEOF
109255 rm -f conftest.$ac_objext
109256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109257 (eval $ac_compile) 2>conftest.er1
109258 ac_status=$?
109259 grep -v '^ *+' conftest.er1 >conftest.err
109260 rm -f conftest.er1
109261 cat conftest.err >&5
109262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109263 (exit $ac_status); } &&
109264 { ac_try='test -z "$ac_cxx_werror_flag"
109265 || test ! -s conftest.err'
109266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109267 (eval $ac_try) 2>&5
109268 ac_status=$?
109269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109270 (exit $ac_status); }; } &&
109271 { ac_try='test -s conftest.$ac_objext'
109272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109273 (eval $ac_try) 2>&5
109274 ac_status=$?
109275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109276 (exit $ac_status); }; }; then
109277 glibcxx_cv_func_logl_use=yes
109278 else
109279 echo "$as_me: failed program was:" >&5
109280 sed 's/^/| /' conftest.$ac_ext >&5
109281
109282 glibcxx_cv_func_logl_use=no
109283 fi
109284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109285 ac_ext=c
109286 ac_cpp='$CPP $CPPFLAGS'
109287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109290
109291
109292 fi
109293
109294 fi
109295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
109296 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
109297
109298 if test x$glibcxx_cv_func_logl_use = x"yes"; then
109299
109300 for ac_func in logl
109301 do
109302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109303 echo "$as_me:$LINENO: checking for $ac_func" >&5
109304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109305 if eval "test \"\${$as_ac_var+set}\" = set"; then
109306 echo $ECHO_N "(cached) $ECHO_C" >&6
109307 else
109308 if test x$gcc_no_link = xyes; then
109309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109311 { (exit 1); exit 1; }; }
109312 fi
109313 cat >conftest.$ac_ext <<_ACEOF
109314 /* confdefs.h. */
109315 _ACEOF
109316 cat confdefs.h >>conftest.$ac_ext
109317 cat >>conftest.$ac_ext <<_ACEOF
109318 /* end confdefs.h. */
109319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109321 #define $ac_func innocuous_$ac_func
109322
109323 /* System header to define __stub macros and hopefully few prototypes,
109324 which can conflict with char $ac_func (); below.
109325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109326 <limits.h> exists even on freestanding compilers. */
109327
109328 #ifdef __STDC__
109329 # include <limits.h>
109330 #else
109331 # include <assert.h>
109332 #endif
109333
109334 #undef $ac_func
109335
109336 /* Override any gcc2 internal prototype to avoid an error. */
109337 #ifdef __cplusplus
109338 extern "C"
109339 {
109340 #endif
109341 /* We use char because int might match the return type of a gcc2
109342 builtin and then its argument prototype would still apply. */
109343 char $ac_func ();
109344 /* The GNU C library defines this for functions which it implements
109345 to always fail with ENOSYS. Some functions are actually named
109346 something starting with __ and the normal name is an alias. */
109347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109348 choke me
109349 #else
109350 char (*f) () = $ac_func;
109351 #endif
109352 #ifdef __cplusplus
109353 }
109354 #endif
109355
109356 int
109357 main ()
109358 {
109359 return f != $ac_func;
109360 ;
109361 return 0;
109362 }
109363 _ACEOF
109364 rm -f conftest.$ac_objext conftest$ac_exeext
109365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109366 (eval $ac_link) 2>conftest.er1
109367 ac_status=$?
109368 grep -v '^ *+' conftest.er1 >conftest.err
109369 rm -f conftest.er1
109370 cat conftest.err >&5
109371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109372 (exit $ac_status); } &&
109373 { ac_try='test -z "$ac_c_werror_flag"
109374 || test ! -s conftest.err'
109375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109376 (eval $ac_try) 2>&5
109377 ac_status=$?
109378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109379 (exit $ac_status); }; } &&
109380 { ac_try='test -s conftest$ac_exeext'
109381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109382 (eval $ac_try) 2>&5
109383 ac_status=$?
109384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109385 (exit $ac_status); }; }; then
109386 eval "$as_ac_var=yes"
109387 else
109388 echo "$as_me: failed program was:" >&5
109389 sed 's/^/| /' conftest.$ac_ext >&5
109390
109391 eval "$as_ac_var=no"
109392 fi
109393 rm -f conftest.err conftest.$ac_objext \
109394 conftest$ac_exeext conftest.$ac_ext
109395 fi
109396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109398 if test `eval echo '${'$as_ac_var'}'` = yes; then
109399 cat >>confdefs.h <<_ACEOF
109400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109401 _ACEOF
109402
109403 fi
109404 done
109405
109406 else
109407
109408 echo "$as_me:$LINENO: checking for _logl declaration" >&5
109409 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
109410 if test x${glibcxx_cv_func__logl_use+set} != xset; then
109411 if test "${glibcxx_cv_func__logl_use+set}" = set; then
109412 echo $ECHO_N "(cached) $ECHO_C" >&6
109413 else
109414
109415
109416
109417 ac_ext=cc
109418 ac_cpp='$CXXCPP $CPPFLAGS'
109419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109422
109423 cat >conftest.$ac_ext <<_ACEOF
109424 /* confdefs.h. */
109425 _ACEOF
109426 cat confdefs.h >>conftest.$ac_ext
109427 cat >>conftest.$ac_ext <<_ACEOF
109428 /* end confdefs.h. */
109429 #include <math.h>
109430 #ifdef HAVE_IEEEFP_H
109431 #include <ieeefp.h>
109432 #endif
109433
109434 int
109435 main ()
109436 {
109437 _logl(0);
109438 ;
109439 return 0;
109440 }
109441 _ACEOF
109442 rm -f conftest.$ac_objext
109443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109444 (eval $ac_compile) 2>conftest.er1
109445 ac_status=$?
109446 grep -v '^ *+' conftest.er1 >conftest.err
109447 rm -f conftest.er1
109448 cat conftest.err >&5
109449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109450 (exit $ac_status); } &&
109451 { ac_try='test -z "$ac_cxx_werror_flag"
109452 || test ! -s conftest.err'
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); }; } &&
109458 { ac_try='test -s conftest.$ac_objext'
109459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109460 (eval $ac_try) 2>&5
109461 ac_status=$?
109462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109463 (exit $ac_status); }; }; then
109464 glibcxx_cv_func__logl_use=yes
109465 else
109466 echo "$as_me: failed program was:" >&5
109467 sed 's/^/| /' conftest.$ac_ext >&5
109468
109469 glibcxx_cv_func__logl_use=no
109470 fi
109471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109472 ac_ext=c
109473 ac_cpp='$CPP $CPPFLAGS'
109474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109477
109478
109479 fi
109480
109481 fi
109482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
109483 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
109484
109485 if test x$glibcxx_cv_func__logl_use = x"yes"; then
109486
109487 for ac_func in _logl
109488 do
109489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109490 echo "$as_me:$LINENO: checking for $ac_func" >&5
109491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109492 if eval "test \"\${$as_ac_var+set}\" = set"; then
109493 echo $ECHO_N "(cached) $ECHO_C" >&6
109494 else
109495 if test x$gcc_no_link = xyes; then
109496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109498 { (exit 1); exit 1; }; }
109499 fi
109500 cat >conftest.$ac_ext <<_ACEOF
109501 /* confdefs.h. */
109502 _ACEOF
109503 cat confdefs.h >>conftest.$ac_ext
109504 cat >>conftest.$ac_ext <<_ACEOF
109505 /* end confdefs.h. */
109506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109508 #define $ac_func innocuous_$ac_func
109509
109510 /* System header to define __stub macros and hopefully few prototypes,
109511 which can conflict with char $ac_func (); below.
109512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109513 <limits.h> exists even on freestanding compilers. */
109514
109515 #ifdef __STDC__
109516 # include <limits.h>
109517 #else
109518 # include <assert.h>
109519 #endif
109520
109521 #undef $ac_func
109522
109523 /* Override any gcc2 internal prototype to avoid an error. */
109524 #ifdef __cplusplus
109525 extern "C"
109526 {
109527 #endif
109528 /* We use char because int might match the return type of a gcc2
109529 builtin and then its argument prototype would still apply. */
109530 char $ac_func ();
109531 /* The GNU C library defines this for functions which it implements
109532 to always fail with ENOSYS. Some functions are actually named
109533 something starting with __ and the normal name is an alias. */
109534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109535 choke me
109536 #else
109537 char (*f) () = $ac_func;
109538 #endif
109539 #ifdef __cplusplus
109540 }
109541 #endif
109542
109543 int
109544 main ()
109545 {
109546 return f != $ac_func;
109547 ;
109548 return 0;
109549 }
109550 _ACEOF
109551 rm -f conftest.$ac_objext conftest$ac_exeext
109552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109553 (eval $ac_link) 2>conftest.er1
109554 ac_status=$?
109555 grep -v '^ *+' conftest.er1 >conftest.err
109556 rm -f conftest.er1
109557 cat conftest.err >&5
109558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109559 (exit $ac_status); } &&
109560 { ac_try='test -z "$ac_c_werror_flag"
109561 || test ! -s conftest.err'
109562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109563 (eval $ac_try) 2>&5
109564 ac_status=$?
109565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109566 (exit $ac_status); }; } &&
109567 { ac_try='test -s conftest$ac_exeext'
109568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109569 (eval $ac_try) 2>&5
109570 ac_status=$?
109571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109572 (exit $ac_status); }; }; then
109573 eval "$as_ac_var=yes"
109574 else
109575 echo "$as_me: failed program was:" >&5
109576 sed 's/^/| /' conftest.$ac_ext >&5
109577
109578 eval "$as_ac_var=no"
109579 fi
109580 rm -f conftest.err conftest.$ac_objext \
109581 conftest$ac_exeext conftest.$ac_ext
109582 fi
109583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109585 if test `eval echo '${'$as_ac_var'}'` = yes; then
109586 cat >>confdefs.h <<_ACEOF
109587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109588 _ACEOF
109589
109590 fi
109591 done
109592
109593 fi
109594 fi
109595
109596
109597
109598
109599
109600
109601 echo "$as_me:$LINENO: checking for log10l declaration" >&5
109602 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
109603 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
109604 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
109605 echo $ECHO_N "(cached) $ECHO_C" >&6
109606 else
109607
109608
109609
109610 ac_ext=cc
109611 ac_cpp='$CXXCPP $CPPFLAGS'
109612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109615
109616 cat >conftest.$ac_ext <<_ACEOF
109617 /* confdefs.h. */
109618 _ACEOF
109619 cat confdefs.h >>conftest.$ac_ext
109620 cat >>conftest.$ac_ext <<_ACEOF
109621 /* end confdefs.h. */
109622 #include <math.h>
109623 #ifdef HAVE_IEEEFP_H
109624 #include <ieeefp.h>
109625 #endif
109626
109627 int
109628 main ()
109629 {
109630 log10l(0);
109631 ;
109632 return 0;
109633 }
109634 _ACEOF
109635 rm -f conftest.$ac_objext
109636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109637 (eval $ac_compile) 2>conftest.er1
109638 ac_status=$?
109639 grep -v '^ *+' conftest.er1 >conftest.err
109640 rm -f conftest.er1
109641 cat conftest.err >&5
109642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109643 (exit $ac_status); } &&
109644 { ac_try='test -z "$ac_cxx_werror_flag"
109645 || test ! -s conftest.err'
109646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109647 (eval $ac_try) 2>&5
109648 ac_status=$?
109649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109650 (exit $ac_status); }; } &&
109651 { ac_try='test -s conftest.$ac_objext'
109652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109653 (eval $ac_try) 2>&5
109654 ac_status=$?
109655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109656 (exit $ac_status); }; }; then
109657 glibcxx_cv_func_log10l_use=yes
109658 else
109659 echo "$as_me: failed program was:" >&5
109660 sed 's/^/| /' conftest.$ac_ext >&5
109661
109662 glibcxx_cv_func_log10l_use=no
109663 fi
109664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109665 ac_ext=c
109666 ac_cpp='$CPP $CPPFLAGS'
109667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109670
109671
109672 fi
109673
109674 fi
109675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
109676 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
109677
109678 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
109679
109680 for ac_func in log10l
109681 do
109682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109683 echo "$as_me:$LINENO: checking for $ac_func" >&5
109684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109685 if eval "test \"\${$as_ac_var+set}\" = set"; then
109686 echo $ECHO_N "(cached) $ECHO_C" >&6
109687 else
109688 if test x$gcc_no_link = xyes; then
109689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109691 { (exit 1); exit 1; }; }
109692 fi
109693 cat >conftest.$ac_ext <<_ACEOF
109694 /* confdefs.h. */
109695 _ACEOF
109696 cat confdefs.h >>conftest.$ac_ext
109697 cat >>conftest.$ac_ext <<_ACEOF
109698 /* end confdefs.h. */
109699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109701 #define $ac_func innocuous_$ac_func
109702
109703 /* System header to define __stub macros and hopefully few prototypes,
109704 which can conflict with char $ac_func (); below.
109705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109706 <limits.h> exists even on freestanding compilers. */
109707
109708 #ifdef __STDC__
109709 # include <limits.h>
109710 #else
109711 # include <assert.h>
109712 #endif
109713
109714 #undef $ac_func
109715
109716 /* Override any gcc2 internal prototype to avoid an error. */
109717 #ifdef __cplusplus
109718 extern "C"
109719 {
109720 #endif
109721 /* We use char because int might match the return type of a gcc2
109722 builtin and then its argument prototype would still apply. */
109723 char $ac_func ();
109724 /* The GNU C library defines this for functions which it implements
109725 to always fail with ENOSYS. Some functions are actually named
109726 something starting with __ and the normal name is an alias. */
109727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109728 choke me
109729 #else
109730 char (*f) () = $ac_func;
109731 #endif
109732 #ifdef __cplusplus
109733 }
109734 #endif
109735
109736 int
109737 main ()
109738 {
109739 return f != $ac_func;
109740 ;
109741 return 0;
109742 }
109743 _ACEOF
109744 rm -f conftest.$ac_objext conftest$ac_exeext
109745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109746 (eval $ac_link) 2>conftest.er1
109747 ac_status=$?
109748 grep -v '^ *+' conftest.er1 >conftest.err
109749 rm -f conftest.er1
109750 cat conftest.err >&5
109751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109752 (exit $ac_status); } &&
109753 { ac_try='test -z "$ac_c_werror_flag"
109754 || test ! -s conftest.err'
109755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109756 (eval $ac_try) 2>&5
109757 ac_status=$?
109758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109759 (exit $ac_status); }; } &&
109760 { ac_try='test -s conftest$ac_exeext'
109761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109762 (eval $ac_try) 2>&5
109763 ac_status=$?
109764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109765 (exit $ac_status); }; }; then
109766 eval "$as_ac_var=yes"
109767 else
109768 echo "$as_me: failed program was:" >&5
109769 sed 's/^/| /' conftest.$ac_ext >&5
109770
109771 eval "$as_ac_var=no"
109772 fi
109773 rm -f conftest.err conftest.$ac_objext \
109774 conftest$ac_exeext conftest.$ac_ext
109775 fi
109776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109778 if test `eval echo '${'$as_ac_var'}'` = yes; then
109779 cat >>confdefs.h <<_ACEOF
109780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109781 _ACEOF
109782
109783 fi
109784 done
109785
109786 else
109787
109788 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
109789 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
109790 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
109791 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
109792 echo $ECHO_N "(cached) $ECHO_C" >&6
109793 else
109794
109795
109796
109797 ac_ext=cc
109798 ac_cpp='$CXXCPP $CPPFLAGS'
109799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109802
109803 cat >conftest.$ac_ext <<_ACEOF
109804 /* confdefs.h. */
109805 _ACEOF
109806 cat confdefs.h >>conftest.$ac_ext
109807 cat >>conftest.$ac_ext <<_ACEOF
109808 /* end confdefs.h. */
109809 #include <math.h>
109810 #ifdef HAVE_IEEEFP_H
109811 #include <ieeefp.h>
109812 #endif
109813
109814 int
109815 main ()
109816 {
109817 _log10l(0);
109818 ;
109819 return 0;
109820 }
109821 _ACEOF
109822 rm -f conftest.$ac_objext
109823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109824 (eval $ac_compile) 2>conftest.er1
109825 ac_status=$?
109826 grep -v '^ *+' conftest.er1 >conftest.err
109827 rm -f conftest.er1
109828 cat conftest.err >&5
109829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109830 (exit $ac_status); } &&
109831 { ac_try='test -z "$ac_cxx_werror_flag"
109832 || test ! -s conftest.err'
109833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109834 (eval $ac_try) 2>&5
109835 ac_status=$?
109836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109837 (exit $ac_status); }; } &&
109838 { ac_try='test -s conftest.$ac_objext'
109839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109840 (eval $ac_try) 2>&5
109841 ac_status=$?
109842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109843 (exit $ac_status); }; }; then
109844 glibcxx_cv_func__log10l_use=yes
109845 else
109846 echo "$as_me: failed program was:" >&5
109847 sed 's/^/| /' conftest.$ac_ext >&5
109848
109849 glibcxx_cv_func__log10l_use=no
109850 fi
109851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109852 ac_ext=c
109853 ac_cpp='$CPP $CPPFLAGS'
109854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109857
109858
109859 fi
109860
109861 fi
109862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
109863 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
109864
109865 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
109866
109867 for ac_func in _log10l
109868 do
109869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109870 echo "$as_me:$LINENO: checking for $ac_func" >&5
109871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109872 if eval "test \"\${$as_ac_var+set}\" = set"; then
109873 echo $ECHO_N "(cached) $ECHO_C" >&6
109874 else
109875 if test x$gcc_no_link = xyes; then
109876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109878 { (exit 1); exit 1; }; }
109879 fi
109880 cat >conftest.$ac_ext <<_ACEOF
109881 /* confdefs.h. */
109882 _ACEOF
109883 cat confdefs.h >>conftest.$ac_ext
109884 cat >>conftest.$ac_ext <<_ACEOF
109885 /* end confdefs.h. */
109886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109888 #define $ac_func innocuous_$ac_func
109889
109890 /* System header to define __stub macros and hopefully few prototypes,
109891 which can conflict with char $ac_func (); below.
109892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109893 <limits.h> exists even on freestanding compilers. */
109894
109895 #ifdef __STDC__
109896 # include <limits.h>
109897 #else
109898 # include <assert.h>
109899 #endif
109900
109901 #undef $ac_func
109902
109903 /* Override any gcc2 internal prototype to avoid an error. */
109904 #ifdef __cplusplus
109905 extern "C"
109906 {
109907 #endif
109908 /* We use char because int might match the return type of a gcc2
109909 builtin and then its argument prototype would still apply. */
109910 char $ac_func ();
109911 /* The GNU C library defines this for functions which it implements
109912 to always fail with ENOSYS. Some functions are actually named
109913 something starting with __ and the normal name is an alias. */
109914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109915 choke me
109916 #else
109917 char (*f) () = $ac_func;
109918 #endif
109919 #ifdef __cplusplus
109920 }
109921 #endif
109922
109923 int
109924 main ()
109925 {
109926 return f != $ac_func;
109927 ;
109928 return 0;
109929 }
109930 _ACEOF
109931 rm -f conftest.$ac_objext conftest$ac_exeext
109932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109933 (eval $ac_link) 2>conftest.er1
109934 ac_status=$?
109935 grep -v '^ *+' conftest.er1 >conftest.err
109936 rm -f conftest.er1
109937 cat conftest.err >&5
109938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109939 (exit $ac_status); } &&
109940 { ac_try='test -z "$ac_c_werror_flag"
109941 || test ! -s conftest.err'
109942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109943 (eval $ac_try) 2>&5
109944 ac_status=$?
109945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109946 (exit $ac_status); }; } &&
109947 { ac_try='test -s conftest$ac_exeext'
109948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109949 (eval $ac_try) 2>&5
109950 ac_status=$?
109951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109952 (exit $ac_status); }; }; then
109953 eval "$as_ac_var=yes"
109954 else
109955 echo "$as_me: failed program was:" >&5
109956 sed 's/^/| /' conftest.$ac_ext >&5
109957
109958 eval "$as_ac_var=no"
109959 fi
109960 rm -f conftest.err conftest.$ac_objext \
109961 conftest$ac_exeext conftest.$ac_ext
109962 fi
109963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109965 if test `eval echo '${'$as_ac_var'}'` = yes; then
109966 cat >>confdefs.h <<_ACEOF
109967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109968 _ACEOF
109969
109970 fi
109971 done
109972
109973 fi
109974 fi
109975
109976
109977
109978
109979
109980
109981 echo "$as_me:$LINENO: checking for modfl declaration" >&5
109982 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
109983 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
109984 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
109985 echo $ECHO_N "(cached) $ECHO_C" >&6
109986 else
109987
109988
109989
109990 ac_ext=cc
109991 ac_cpp='$CXXCPP $CPPFLAGS'
109992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109995
109996 cat >conftest.$ac_ext <<_ACEOF
109997 /* confdefs.h. */
109998 _ACEOF
109999 cat confdefs.h >>conftest.$ac_ext
110000 cat >>conftest.$ac_ext <<_ACEOF
110001 /* end confdefs.h. */
110002 #include <math.h>
110003 int
110004 main ()
110005 {
110006 modfl(0, 0);
110007 ;
110008 return 0;
110009 }
110010 _ACEOF
110011 rm -f conftest.$ac_objext
110012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110013 (eval $ac_compile) 2>conftest.er1
110014 ac_status=$?
110015 grep -v '^ *+' conftest.er1 >conftest.err
110016 rm -f conftest.er1
110017 cat conftest.err >&5
110018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110019 (exit $ac_status); } &&
110020 { ac_try='test -z "$ac_cxx_werror_flag"
110021 || test ! -s conftest.err'
110022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110023 (eval $ac_try) 2>&5
110024 ac_status=$?
110025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110026 (exit $ac_status); }; } &&
110027 { ac_try='test -s conftest.$ac_objext'
110028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110029 (eval $ac_try) 2>&5
110030 ac_status=$?
110031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110032 (exit $ac_status); }; }; then
110033 glibcxx_cv_func_modfl_use=yes
110034 else
110035 echo "$as_me: failed program was:" >&5
110036 sed 's/^/| /' conftest.$ac_ext >&5
110037
110038 glibcxx_cv_func_modfl_use=no
110039 fi
110040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110041 ac_ext=c
110042 ac_cpp='$CPP $CPPFLAGS'
110043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110046
110047
110048 fi
110049
110050 fi
110051 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
110052 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
110053
110054 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
110055
110056 for ac_func in modfl
110057 do
110058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110059 echo "$as_me:$LINENO: checking for $ac_func" >&5
110060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110061 if eval "test \"\${$as_ac_var+set}\" = set"; then
110062 echo $ECHO_N "(cached) $ECHO_C" >&6
110063 else
110064 if test x$gcc_no_link = xyes; then
110065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110067 { (exit 1); exit 1; }; }
110068 fi
110069 cat >conftest.$ac_ext <<_ACEOF
110070 /* confdefs.h. */
110071 _ACEOF
110072 cat confdefs.h >>conftest.$ac_ext
110073 cat >>conftest.$ac_ext <<_ACEOF
110074 /* end confdefs.h. */
110075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110077 #define $ac_func innocuous_$ac_func
110078
110079 /* System header to define __stub macros and hopefully few prototypes,
110080 which can conflict with char $ac_func (); below.
110081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110082 <limits.h> exists even on freestanding compilers. */
110083
110084 #ifdef __STDC__
110085 # include <limits.h>
110086 #else
110087 # include <assert.h>
110088 #endif
110089
110090 #undef $ac_func
110091
110092 /* Override any gcc2 internal prototype to avoid an error. */
110093 #ifdef __cplusplus
110094 extern "C"
110095 {
110096 #endif
110097 /* We use char because int might match the return type of a gcc2
110098 builtin and then its argument prototype would still apply. */
110099 char $ac_func ();
110100 /* The GNU C library defines this for functions which it implements
110101 to always fail with ENOSYS. Some functions are actually named
110102 something starting with __ and the normal name is an alias. */
110103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110104 choke me
110105 #else
110106 char (*f) () = $ac_func;
110107 #endif
110108 #ifdef __cplusplus
110109 }
110110 #endif
110111
110112 int
110113 main ()
110114 {
110115 return f != $ac_func;
110116 ;
110117 return 0;
110118 }
110119 _ACEOF
110120 rm -f conftest.$ac_objext conftest$ac_exeext
110121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110122 (eval $ac_link) 2>conftest.er1
110123 ac_status=$?
110124 grep -v '^ *+' conftest.er1 >conftest.err
110125 rm -f conftest.er1
110126 cat conftest.err >&5
110127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110128 (exit $ac_status); } &&
110129 { ac_try='test -z "$ac_c_werror_flag"
110130 || test ! -s conftest.err'
110131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110132 (eval $ac_try) 2>&5
110133 ac_status=$?
110134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110135 (exit $ac_status); }; } &&
110136 { ac_try='test -s conftest$ac_exeext'
110137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110138 (eval $ac_try) 2>&5
110139 ac_status=$?
110140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110141 (exit $ac_status); }; }; then
110142 eval "$as_ac_var=yes"
110143 else
110144 echo "$as_me: failed program was:" >&5
110145 sed 's/^/| /' conftest.$ac_ext >&5
110146
110147 eval "$as_ac_var=no"
110148 fi
110149 rm -f conftest.err conftest.$ac_objext \
110150 conftest$ac_exeext conftest.$ac_ext
110151 fi
110152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110154 if test `eval echo '${'$as_ac_var'}'` = yes; then
110155 cat >>confdefs.h <<_ACEOF
110156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110157 _ACEOF
110158
110159 fi
110160 done
110161
110162 else
110163
110164 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
110165 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
110166 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
110167 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
110168 echo $ECHO_N "(cached) $ECHO_C" >&6
110169 else
110170
110171
110172
110173 ac_ext=cc
110174 ac_cpp='$CXXCPP $CPPFLAGS'
110175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110178
110179 cat >conftest.$ac_ext <<_ACEOF
110180 /* confdefs.h. */
110181 _ACEOF
110182 cat confdefs.h >>conftest.$ac_ext
110183 cat >>conftest.$ac_ext <<_ACEOF
110184 /* end confdefs.h. */
110185 #include <math.h>
110186 int
110187 main ()
110188 {
110189 _modfl(0, 0);
110190 ;
110191 return 0;
110192 }
110193 _ACEOF
110194 rm -f conftest.$ac_objext
110195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110196 (eval $ac_compile) 2>conftest.er1
110197 ac_status=$?
110198 grep -v '^ *+' conftest.er1 >conftest.err
110199 rm -f conftest.er1
110200 cat conftest.err >&5
110201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110202 (exit $ac_status); } &&
110203 { ac_try='test -z "$ac_cxx_werror_flag"
110204 || test ! -s conftest.err'
110205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110206 (eval $ac_try) 2>&5
110207 ac_status=$?
110208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110209 (exit $ac_status); }; } &&
110210 { ac_try='test -s conftest.$ac_objext'
110211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110212 (eval $ac_try) 2>&5
110213 ac_status=$?
110214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110215 (exit $ac_status); }; }; then
110216 glibcxx_cv_func__modfl_use=yes
110217 else
110218 echo "$as_me: failed program was:" >&5
110219 sed 's/^/| /' conftest.$ac_ext >&5
110220
110221 glibcxx_cv_func__modfl_use=no
110222 fi
110223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110224 ac_ext=c
110225 ac_cpp='$CPP $CPPFLAGS'
110226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110229
110230
110231 fi
110232
110233 fi
110234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
110235 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
110236
110237 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
110238
110239 for ac_func in _modfl
110240 do
110241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110242 echo "$as_me:$LINENO: checking for $ac_func" >&5
110243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110244 if eval "test \"\${$as_ac_var+set}\" = set"; then
110245 echo $ECHO_N "(cached) $ECHO_C" >&6
110246 else
110247 if test x$gcc_no_link = xyes; then
110248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110250 { (exit 1); exit 1; }; }
110251 fi
110252 cat >conftest.$ac_ext <<_ACEOF
110253 /* confdefs.h. */
110254 _ACEOF
110255 cat confdefs.h >>conftest.$ac_ext
110256 cat >>conftest.$ac_ext <<_ACEOF
110257 /* end confdefs.h. */
110258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110260 #define $ac_func innocuous_$ac_func
110261
110262 /* System header to define __stub macros and hopefully few prototypes,
110263 which can conflict with char $ac_func (); below.
110264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110265 <limits.h> exists even on freestanding compilers. */
110266
110267 #ifdef __STDC__
110268 # include <limits.h>
110269 #else
110270 # include <assert.h>
110271 #endif
110272
110273 #undef $ac_func
110274
110275 /* Override any gcc2 internal prototype to avoid an error. */
110276 #ifdef __cplusplus
110277 extern "C"
110278 {
110279 #endif
110280 /* We use char because int might match the return type of a gcc2
110281 builtin and then its argument prototype would still apply. */
110282 char $ac_func ();
110283 /* The GNU C library defines this for functions which it implements
110284 to always fail with ENOSYS. Some functions are actually named
110285 something starting with __ and the normal name is an alias. */
110286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110287 choke me
110288 #else
110289 char (*f) () = $ac_func;
110290 #endif
110291 #ifdef __cplusplus
110292 }
110293 #endif
110294
110295 int
110296 main ()
110297 {
110298 return f != $ac_func;
110299 ;
110300 return 0;
110301 }
110302 _ACEOF
110303 rm -f conftest.$ac_objext conftest$ac_exeext
110304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110305 (eval $ac_link) 2>conftest.er1
110306 ac_status=$?
110307 grep -v '^ *+' conftest.er1 >conftest.err
110308 rm -f conftest.er1
110309 cat conftest.err >&5
110310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110311 (exit $ac_status); } &&
110312 { ac_try='test -z "$ac_c_werror_flag"
110313 || test ! -s conftest.err'
110314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110315 (eval $ac_try) 2>&5
110316 ac_status=$?
110317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110318 (exit $ac_status); }; } &&
110319 { ac_try='test -s conftest$ac_exeext'
110320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110321 (eval $ac_try) 2>&5
110322 ac_status=$?
110323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110324 (exit $ac_status); }; }; then
110325 eval "$as_ac_var=yes"
110326 else
110327 echo "$as_me: failed program was:" >&5
110328 sed 's/^/| /' conftest.$ac_ext >&5
110329
110330 eval "$as_ac_var=no"
110331 fi
110332 rm -f conftest.err conftest.$ac_objext \
110333 conftest$ac_exeext conftest.$ac_ext
110334 fi
110335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110337 if test `eval echo '${'$as_ac_var'}'` = yes; then
110338 cat >>confdefs.h <<_ACEOF
110339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110340 _ACEOF
110341
110342 fi
110343 done
110344
110345 fi
110346 fi
110347
110348
110349
110350
110351
110352
110353 echo "$as_me:$LINENO: checking for powl declaration" >&5
110354 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
110355 if test x${glibcxx_cv_func_powl_use+set} != xset; then
110356 if test "${glibcxx_cv_func_powl_use+set}" = set; then
110357 echo $ECHO_N "(cached) $ECHO_C" >&6
110358 else
110359
110360
110361
110362 ac_ext=cc
110363 ac_cpp='$CXXCPP $CPPFLAGS'
110364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110367
110368 cat >conftest.$ac_ext <<_ACEOF
110369 /* confdefs.h. */
110370 _ACEOF
110371 cat confdefs.h >>conftest.$ac_ext
110372 cat >>conftest.$ac_ext <<_ACEOF
110373 /* end confdefs.h. */
110374 #include <math.h>
110375 int
110376 main ()
110377 {
110378 powl(0, 0);
110379 ;
110380 return 0;
110381 }
110382 _ACEOF
110383 rm -f conftest.$ac_objext
110384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110385 (eval $ac_compile) 2>conftest.er1
110386 ac_status=$?
110387 grep -v '^ *+' conftest.er1 >conftest.err
110388 rm -f conftest.er1
110389 cat conftest.err >&5
110390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110391 (exit $ac_status); } &&
110392 { ac_try='test -z "$ac_cxx_werror_flag"
110393 || test ! -s conftest.err'
110394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110395 (eval $ac_try) 2>&5
110396 ac_status=$?
110397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110398 (exit $ac_status); }; } &&
110399 { ac_try='test -s conftest.$ac_objext'
110400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110401 (eval $ac_try) 2>&5
110402 ac_status=$?
110403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110404 (exit $ac_status); }; }; then
110405 glibcxx_cv_func_powl_use=yes
110406 else
110407 echo "$as_me: failed program was:" >&5
110408 sed 's/^/| /' conftest.$ac_ext >&5
110409
110410 glibcxx_cv_func_powl_use=no
110411 fi
110412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110413 ac_ext=c
110414 ac_cpp='$CPP $CPPFLAGS'
110415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110418
110419
110420 fi
110421
110422 fi
110423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
110424 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
110425
110426 if test x$glibcxx_cv_func_powl_use = x"yes"; then
110427
110428 for ac_func in powl
110429 do
110430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110431 echo "$as_me:$LINENO: checking for $ac_func" >&5
110432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110433 if eval "test \"\${$as_ac_var+set}\" = set"; then
110434 echo $ECHO_N "(cached) $ECHO_C" >&6
110435 else
110436 if test x$gcc_no_link = xyes; then
110437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110439 { (exit 1); exit 1; }; }
110440 fi
110441 cat >conftest.$ac_ext <<_ACEOF
110442 /* confdefs.h. */
110443 _ACEOF
110444 cat confdefs.h >>conftest.$ac_ext
110445 cat >>conftest.$ac_ext <<_ACEOF
110446 /* end confdefs.h. */
110447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110449 #define $ac_func innocuous_$ac_func
110450
110451 /* System header to define __stub macros and hopefully few prototypes,
110452 which can conflict with char $ac_func (); below.
110453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110454 <limits.h> exists even on freestanding compilers. */
110455
110456 #ifdef __STDC__
110457 # include <limits.h>
110458 #else
110459 # include <assert.h>
110460 #endif
110461
110462 #undef $ac_func
110463
110464 /* Override any gcc2 internal prototype to avoid an error. */
110465 #ifdef __cplusplus
110466 extern "C"
110467 {
110468 #endif
110469 /* We use char because int might match the return type of a gcc2
110470 builtin and then its argument prototype would still apply. */
110471 char $ac_func ();
110472 /* The GNU C library defines this for functions which it implements
110473 to always fail with ENOSYS. Some functions are actually named
110474 something starting with __ and the normal name is an alias. */
110475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110476 choke me
110477 #else
110478 char (*f) () = $ac_func;
110479 #endif
110480 #ifdef __cplusplus
110481 }
110482 #endif
110483
110484 int
110485 main ()
110486 {
110487 return f != $ac_func;
110488 ;
110489 return 0;
110490 }
110491 _ACEOF
110492 rm -f conftest.$ac_objext conftest$ac_exeext
110493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110494 (eval $ac_link) 2>conftest.er1
110495 ac_status=$?
110496 grep -v '^ *+' conftest.er1 >conftest.err
110497 rm -f conftest.er1
110498 cat conftest.err >&5
110499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110500 (exit $ac_status); } &&
110501 { ac_try='test -z "$ac_c_werror_flag"
110502 || test ! -s conftest.err'
110503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110504 (eval $ac_try) 2>&5
110505 ac_status=$?
110506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110507 (exit $ac_status); }; } &&
110508 { ac_try='test -s conftest$ac_exeext'
110509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110510 (eval $ac_try) 2>&5
110511 ac_status=$?
110512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110513 (exit $ac_status); }; }; then
110514 eval "$as_ac_var=yes"
110515 else
110516 echo "$as_me: failed program was:" >&5
110517 sed 's/^/| /' conftest.$ac_ext >&5
110518
110519 eval "$as_ac_var=no"
110520 fi
110521 rm -f conftest.err conftest.$ac_objext \
110522 conftest$ac_exeext conftest.$ac_ext
110523 fi
110524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110526 if test `eval echo '${'$as_ac_var'}'` = yes; then
110527 cat >>confdefs.h <<_ACEOF
110528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110529 _ACEOF
110530
110531 fi
110532 done
110533
110534 else
110535
110536 echo "$as_me:$LINENO: checking for _powl declaration" >&5
110537 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
110538 if test x${glibcxx_cv_func__powl_use+set} != xset; then
110539 if test "${glibcxx_cv_func__powl_use+set}" = set; then
110540 echo $ECHO_N "(cached) $ECHO_C" >&6
110541 else
110542
110543
110544
110545 ac_ext=cc
110546 ac_cpp='$CXXCPP $CPPFLAGS'
110547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110550
110551 cat >conftest.$ac_ext <<_ACEOF
110552 /* confdefs.h. */
110553 _ACEOF
110554 cat confdefs.h >>conftest.$ac_ext
110555 cat >>conftest.$ac_ext <<_ACEOF
110556 /* end confdefs.h. */
110557 #include <math.h>
110558 int
110559 main ()
110560 {
110561 _powl(0, 0);
110562 ;
110563 return 0;
110564 }
110565 _ACEOF
110566 rm -f conftest.$ac_objext
110567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110568 (eval $ac_compile) 2>conftest.er1
110569 ac_status=$?
110570 grep -v '^ *+' conftest.er1 >conftest.err
110571 rm -f conftest.er1
110572 cat conftest.err >&5
110573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110574 (exit $ac_status); } &&
110575 { ac_try='test -z "$ac_cxx_werror_flag"
110576 || test ! -s conftest.err'
110577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110578 (eval $ac_try) 2>&5
110579 ac_status=$?
110580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110581 (exit $ac_status); }; } &&
110582 { ac_try='test -s conftest.$ac_objext'
110583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110584 (eval $ac_try) 2>&5
110585 ac_status=$?
110586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110587 (exit $ac_status); }; }; then
110588 glibcxx_cv_func__powl_use=yes
110589 else
110590 echo "$as_me: failed program was:" >&5
110591 sed 's/^/| /' conftest.$ac_ext >&5
110592
110593 glibcxx_cv_func__powl_use=no
110594 fi
110595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110596 ac_ext=c
110597 ac_cpp='$CPP $CPPFLAGS'
110598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110601
110602
110603 fi
110604
110605 fi
110606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
110607 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
110608
110609 if test x$glibcxx_cv_func__powl_use = x"yes"; then
110610
110611 for ac_func in _powl
110612 do
110613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110614 echo "$as_me:$LINENO: checking for $ac_func" >&5
110615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110616 if eval "test \"\${$as_ac_var+set}\" = set"; then
110617 echo $ECHO_N "(cached) $ECHO_C" >&6
110618 else
110619 if test x$gcc_no_link = xyes; then
110620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110622 { (exit 1); exit 1; }; }
110623 fi
110624 cat >conftest.$ac_ext <<_ACEOF
110625 /* confdefs.h. */
110626 _ACEOF
110627 cat confdefs.h >>conftest.$ac_ext
110628 cat >>conftest.$ac_ext <<_ACEOF
110629 /* end confdefs.h. */
110630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110632 #define $ac_func innocuous_$ac_func
110633
110634 /* System header to define __stub macros and hopefully few prototypes,
110635 which can conflict with char $ac_func (); below.
110636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110637 <limits.h> exists even on freestanding compilers. */
110638
110639 #ifdef __STDC__
110640 # include <limits.h>
110641 #else
110642 # include <assert.h>
110643 #endif
110644
110645 #undef $ac_func
110646
110647 /* Override any gcc2 internal prototype to avoid an error. */
110648 #ifdef __cplusplus
110649 extern "C"
110650 {
110651 #endif
110652 /* We use char because int might match the return type of a gcc2
110653 builtin and then its argument prototype would still apply. */
110654 char $ac_func ();
110655 /* The GNU C library defines this for functions which it implements
110656 to always fail with ENOSYS. Some functions are actually named
110657 something starting with __ and the normal name is an alias. */
110658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110659 choke me
110660 #else
110661 char (*f) () = $ac_func;
110662 #endif
110663 #ifdef __cplusplus
110664 }
110665 #endif
110666
110667 int
110668 main ()
110669 {
110670 return f != $ac_func;
110671 ;
110672 return 0;
110673 }
110674 _ACEOF
110675 rm -f conftest.$ac_objext conftest$ac_exeext
110676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110677 (eval $ac_link) 2>conftest.er1
110678 ac_status=$?
110679 grep -v '^ *+' conftest.er1 >conftest.err
110680 rm -f conftest.er1
110681 cat conftest.err >&5
110682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110683 (exit $ac_status); } &&
110684 { ac_try='test -z "$ac_c_werror_flag"
110685 || test ! -s conftest.err'
110686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110687 (eval $ac_try) 2>&5
110688 ac_status=$?
110689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110690 (exit $ac_status); }; } &&
110691 { ac_try='test -s conftest$ac_exeext'
110692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110693 (eval $ac_try) 2>&5
110694 ac_status=$?
110695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110696 (exit $ac_status); }; }; then
110697 eval "$as_ac_var=yes"
110698 else
110699 echo "$as_me: failed program was:" >&5
110700 sed 's/^/| /' conftest.$ac_ext >&5
110701
110702 eval "$as_ac_var=no"
110703 fi
110704 rm -f conftest.err conftest.$ac_objext \
110705 conftest$ac_exeext conftest.$ac_ext
110706 fi
110707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110709 if test `eval echo '${'$as_ac_var'}'` = yes; then
110710 cat >>confdefs.h <<_ACEOF
110711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110712 _ACEOF
110713
110714 fi
110715 done
110716
110717 fi
110718 fi
110719
110720
110721
110722
110723
110724
110725 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
110726 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
110727 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
110728 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
110729 echo $ECHO_N "(cached) $ECHO_C" >&6
110730 else
110731
110732
110733
110734 ac_ext=cc
110735 ac_cpp='$CXXCPP $CPPFLAGS'
110736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110739
110740 cat >conftest.$ac_ext <<_ACEOF
110741 /* confdefs.h. */
110742 _ACEOF
110743 cat confdefs.h >>conftest.$ac_ext
110744 cat >>conftest.$ac_ext <<_ACEOF
110745 /* end confdefs.h. */
110746 #include <math.h>
110747 #ifdef HAVE_IEEEFP_H
110748 #include <ieeefp.h>
110749 #endif
110750
110751 int
110752 main ()
110753 {
110754 sqrtl(0);
110755 ;
110756 return 0;
110757 }
110758 _ACEOF
110759 rm -f conftest.$ac_objext
110760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110761 (eval $ac_compile) 2>conftest.er1
110762 ac_status=$?
110763 grep -v '^ *+' conftest.er1 >conftest.err
110764 rm -f conftest.er1
110765 cat conftest.err >&5
110766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110767 (exit $ac_status); } &&
110768 { ac_try='test -z "$ac_cxx_werror_flag"
110769 || test ! -s conftest.err'
110770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110771 (eval $ac_try) 2>&5
110772 ac_status=$?
110773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110774 (exit $ac_status); }; } &&
110775 { ac_try='test -s conftest.$ac_objext'
110776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110777 (eval $ac_try) 2>&5
110778 ac_status=$?
110779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110780 (exit $ac_status); }; }; then
110781 glibcxx_cv_func_sqrtl_use=yes
110782 else
110783 echo "$as_me: failed program was:" >&5
110784 sed 's/^/| /' conftest.$ac_ext >&5
110785
110786 glibcxx_cv_func_sqrtl_use=no
110787 fi
110788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110789 ac_ext=c
110790 ac_cpp='$CPP $CPPFLAGS'
110791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110794
110795
110796 fi
110797
110798 fi
110799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
110800 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
110801
110802 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
110803
110804 for ac_func in sqrtl
110805 do
110806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110807 echo "$as_me:$LINENO: checking for $ac_func" >&5
110808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110809 if eval "test \"\${$as_ac_var+set}\" = set"; then
110810 echo $ECHO_N "(cached) $ECHO_C" >&6
110811 else
110812 if test x$gcc_no_link = xyes; then
110813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110815 { (exit 1); exit 1; }; }
110816 fi
110817 cat >conftest.$ac_ext <<_ACEOF
110818 /* confdefs.h. */
110819 _ACEOF
110820 cat confdefs.h >>conftest.$ac_ext
110821 cat >>conftest.$ac_ext <<_ACEOF
110822 /* end confdefs.h. */
110823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110825 #define $ac_func innocuous_$ac_func
110826
110827 /* System header to define __stub macros and hopefully few prototypes,
110828 which can conflict with char $ac_func (); below.
110829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110830 <limits.h> exists even on freestanding compilers. */
110831
110832 #ifdef __STDC__
110833 # include <limits.h>
110834 #else
110835 # include <assert.h>
110836 #endif
110837
110838 #undef $ac_func
110839
110840 /* Override any gcc2 internal prototype to avoid an error. */
110841 #ifdef __cplusplus
110842 extern "C"
110843 {
110844 #endif
110845 /* We use char because int might match the return type of a gcc2
110846 builtin and then its argument prototype would still apply. */
110847 char $ac_func ();
110848 /* The GNU C library defines this for functions which it implements
110849 to always fail with ENOSYS. Some functions are actually named
110850 something starting with __ and the normal name is an alias. */
110851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110852 choke me
110853 #else
110854 char (*f) () = $ac_func;
110855 #endif
110856 #ifdef __cplusplus
110857 }
110858 #endif
110859
110860 int
110861 main ()
110862 {
110863 return f != $ac_func;
110864 ;
110865 return 0;
110866 }
110867 _ACEOF
110868 rm -f conftest.$ac_objext conftest$ac_exeext
110869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110870 (eval $ac_link) 2>conftest.er1
110871 ac_status=$?
110872 grep -v '^ *+' conftest.er1 >conftest.err
110873 rm -f conftest.er1
110874 cat conftest.err >&5
110875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110876 (exit $ac_status); } &&
110877 { ac_try='test -z "$ac_c_werror_flag"
110878 || test ! -s conftest.err'
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); }; } &&
110884 { ac_try='test -s conftest$ac_exeext'
110885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110886 (eval $ac_try) 2>&5
110887 ac_status=$?
110888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110889 (exit $ac_status); }; }; then
110890 eval "$as_ac_var=yes"
110891 else
110892 echo "$as_me: failed program was:" >&5
110893 sed 's/^/| /' conftest.$ac_ext >&5
110894
110895 eval "$as_ac_var=no"
110896 fi
110897 rm -f conftest.err conftest.$ac_objext \
110898 conftest$ac_exeext conftest.$ac_ext
110899 fi
110900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110902 if test `eval echo '${'$as_ac_var'}'` = yes; then
110903 cat >>confdefs.h <<_ACEOF
110904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110905 _ACEOF
110906
110907 fi
110908 done
110909
110910 else
110911
110912 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
110913 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
110914 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
110915 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
110916 echo $ECHO_N "(cached) $ECHO_C" >&6
110917 else
110918
110919
110920
110921 ac_ext=cc
110922 ac_cpp='$CXXCPP $CPPFLAGS'
110923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110926
110927 cat >conftest.$ac_ext <<_ACEOF
110928 /* confdefs.h. */
110929 _ACEOF
110930 cat confdefs.h >>conftest.$ac_ext
110931 cat >>conftest.$ac_ext <<_ACEOF
110932 /* end confdefs.h. */
110933 #include <math.h>
110934 #ifdef HAVE_IEEEFP_H
110935 #include <ieeefp.h>
110936 #endif
110937
110938 int
110939 main ()
110940 {
110941 _sqrtl(0);
110942 ;
110943 return 0;
110944 }
110945 _ACEOF
110946 rm -f conftest.$ac_objext
110947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110948 (eval $ac_compile) 2>conftest.er1
110949 ac_status=$?
110950 grep -v '^ *+' conftest.er1 >conftest.err
110951 rm -f conftest.er1
110952 cat conftest.err >&5
110953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110954 (exit $ac_status); } &&
110955 { ac_try='test -z "$ac_cxx_werror_flag"
110956 || test ! -s conftest.err'
110957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110958 (eval $ac_try) 2>&5
110959 ac_status=$?
110960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110961 (exit $ac_status); }; } &&
110962 { ac_try='test -s conftest.$ac_objext'
110963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110964 (eval $ac_try) 2>&5
110965 ac_status=$?
110966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110967 (exit $ac_status); }; }; then
110968 glibcxx_cv_func__sqrtl_use=yes
110969 else
110970 echo "$as_me: failed program was:" >&5
110971 sed 's/^/| /' conftest.$ac_ext >&5
110972
110973 glibcxx_cv_func__sqrtl_use=no
110974 fi
110975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110976 ac_ext=c
110977 ac_cpp='$CPP $CPPFLAGS'
110978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110981
110982
110983 fi
110984
110985 fi
110986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
110987 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
110988
110989 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
110990
110991 for ac_func in _sqrtl
110992 do
110993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110994 echo "$as_me:$LINENO: checking for $ac_func" >&5
110995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110996 if eval "test \"\${$as_ac_var+set}\" = set"; then
110997 echo $ECHO_N "(cached) $ECHO_C" >&6
110998 else
110999 if test x$gcc_no_link = xyes; then
111000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111002 { (exit 1); exit 1; }; }
111003 fi
111004 cat >conftest.$ac_ext <<_ACEOF
111005 /* confdefs.h. */
111006 _ACEOF
111007 cat confdefs.h >>conftest.$ac_ext
111008 cat >>conftest.$ac_ext <<_ACEOF
111009 /* end confdefs.h. */
111010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111012 #define $ac_func innocuous_$ac_func
111013
111014 /* System header to define __stub macros and hopefully few prototypes,
111015 which can conflict with char $ac_func (); below.
111016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111017 <limits.h> exists even on freestanding compilers. */
111018
111019 #ifdef __STDC__
111020 # include <limits.h>
111021 #else
111022 # include <assert.h>
111023 #endif
111024
111025 #undef $ac_func
111026
111027 /* Override any gcc2 internal prototype to avoid an error. */
111028 #ifdef __cplusplus
111029 extern "C"
111030 {
111031 #endif
111032 /* We use char because int might match the return type of a gcc2
111033 builtin and then its argument prototype would still apply. */
111034 char $ac_func ();
111035 /* The GNU C library defines this for functions which it implements
111036 to always fail with ENOSYS. Some functions are actually named
111037 something starting with __ and the normal name is an alias. */
111038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111039 choke me
111040 #else
111041 char (*f) () = $ac_func;
111042 #endif
111043 #ifdef __cplusplus
111044 }
111045 #endif
111046
111047 int
111048 main ()
111049 {
111050 return f != $ac_func;
111051 ;
111052 return 0;
111053 }
111054 _ACEOF
111055 rm -f conftest.$ac_objext conftest$ac_exeext
111056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111057 (eval $ac_link) 2>conftest.er1
111058 ac_status=$?
111059 grep -v '^ *+' conftest.er1 >conftest.err
111060 rm -f conftest.er1
111061 cat conftest.err >&5
111062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111063 (exit $ac_status); } &&
111064 { ac_try='test -z "$ac_c_werror_flag"
111065 || test ! -s conftest.err'
111066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111067 (eval $ac_try) 2>&5
111068 ac_status=$?
111069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111070 (exit $ac_status); }; } &&
111071 { ac_try='test -s conftest$ac_exeext'
111072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111073 (eval $ac_try) 2>&5
111074 ac_status=$?
111075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111076 (exit $ac_status); }; }; then
111077 eval "$as_ac_var=yes"
111078 else
111079 echo "$as_me: failed program was:" >&5
111080 sed 's/^/| /' conftest.$ac_ext >&5
111081
111082 eval "$as_ac_var=no"
111083 fi
111084 rm -f conftest.err conftest.$ac_objext \
111085 conftest$ac_exeext conftest.$ac_ext
111086 fi
111087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111089 if test `eval echo '${'$as_ac_var'}'` = yes; then
111090 cat >>confdefs.h <<_ACEOF
111091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111092 _ACEOF
111093
111094 fi
111095 done
111096
111097 fi
111098 fi
111099
111100
111101
111102
111103
111104
111105 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
111106 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
111107 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
111108 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
111109 echo $ECHO_N "(cached) $ECHO_C" >&6
111110 else
111111
111112
111113
111114 ac_ext=cc
111115 ac_cpp='$CXXCPP $CPPFLAGS'
111116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111119
111120 cat >conftest.$ac_ext <<_ACEOF
111121 /* confdefs.h. */
111122 _ACEOF
111123 cat confdefs.h >>conftest.$ac_ext
111124 cat >>conftest.$ac_ext <<_ACEOF
111125 /* end confdefs.h. */
111126 #include <math.h>
111127 int
111128 main ()
111129 {
111130 sincosl(0, 0, 0);
111131 ;
111132 return 0;
111133 }
111134 _ACEOF
111135 rm -f conftest.$ac_objext
111136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111137 (eval $ac_compile) 2>conftest.er1
111138 ac_status=$?
111139 grep -v '^ *+' conftest.er1 >conftest.err
111140 rm -f conftest.er1
111141 cat conftest.err >&5
111142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111143 (exit $ac_status); } &&
111144 { ac_try='test -z "$ac_cxx_werror_flag"
111145 || test ! -s conftest.err'
111146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111147 (eval $ac_try) 2>&5
111148 ac_status=$?
111149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111150 (exit $ac_status); }; } &&
111151 { ac_try='test -s conftest.$ac_objext'
111152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111153 (eval $ac_try) 2>&5
111154 ac_status=$?
111155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111156 (exit $ac_status); }; }; then
111157 glibcxx_cv_func_sincosl_use=yes
111158 else
111159 echo "$as_me: failed program was:" >&5
111160 sed 's/^/| /' conftest.$ac_ext >&5
111161
111162 glibcxx_cv_func_sincosl_use=no
111163 fi
111164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111165 ac_ext=c
111166 ac_cpp='$CPP $CPPFLAGS'
111167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111170
111171
111172 fi
111173
111174 fi
111175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
111176 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
111177
111178 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
111179
111180 for ac_func in sincosl
111181 do
111182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111183 echo "$as_me:$LINENO: checking for $ac_func" >&5
111184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111185 if eval "test \"\${$as_ac_var+set}\" = set"; then
111186 echo $ECHO_N "(cached) $ECHO_C" >&6
111187 else
111188 if test x$gcc_no_link = xyes; then
111189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111191 { (exit 1); exit 1; }; }
111192 fi
111193 cat >conftest.$ac_ext <<_ACEOF
111194 /* confdefs.h. */
111195 _ACEOF
111196 cat confdefs.h >>conftest.$ac_ext
111197 cat >>conftest.$ac_ext <<_ACEOF
111198 /* end confdefs.h. */
111199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111201 #define $ac_func innocuous_$ac_func
111202
111203 /* System header to define __stub macros and hopefully few prototypes,
111204 which can conflict with char $ac_func (); below.
111205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111206 <limits.h> exists even on freestanding compilers. */
111207
111208 #ifdef __STDC__
111209 # include <limits.h>
111210 #else
111211 # include <assert.h>
111212 #endif
111213
111214 #undef $ac_func
111215
111216 /* Override any gcc2 internal prototype to avoid an error. */
111217 #ifdef __cplusplus
111218 extern "C"
111219 {
111220 #endif
111221 /* We use char because int might match the return type of a gcc2
111222 builtin and then its argument prototype would still apply. */
111223 char $ac_func ();
111224 /* The GNU C library defines this for functions which it implements
111225 to always fail with ENOSYS. Some functions are actually named
111226 something starting with __ and the normal name is an alias. */
111227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111228 choke me
111229 #else
111230 char (*f) () = $ac_func;
111231 #endif
111232 #ifdef __cplusplus
111233 }
111234 #endif
111235
111236 int
111237 main ()
111238 {
111239 return f != $ac_func;
111240 ;
111241 return 0;
111242 }
111243 _ACEOF
111244 rm -f conftest.$ac_objext conftest$ac_exeext
111245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111246 (eval $ac_link) 2>conftest.er1
111247 ac_status=$?
111248 grep -v '^ *+' conftest.er1 >conftest.err
111249 rm -f conftest.er1
111250 cat conftest.err >&5
111251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111252 (exit $ac_status); } &&
111253 { ac_try='test -z "$ac_c_werror_flag"
111254 || test ! -s conftest.err'
111255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111256 (eval $ac_try) 2>&5
111257 ac_status=$?
111258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111259 (exit $ac_status); }; } &&
111260 { ac_try='test -s conftest$ac_exeext'
111261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111262 (eval $ac_try) 2>&5
111263 ac_status=$?
111264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111265 (exit $ac_status); }; }; then
111266 eval "$as_ac_var=yes"
111267 else
111268 echo "$as_me: failed program was:" >&5
111269 sed 's/^/| /' conftest.$ac_ext >&5
111270
111271 eval "$as_ac_var=no"
111272 fi
111273 rm -f conftest.err conftest.$ac_objext \
111274 conftest$ac_exeext conftest.$ac_ext
111275 fi
111276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111278 if test `eval echo '${'$as_ac_var'}'` = yes; then
111279 cat >>confdefs.h <<_ACEOF
111280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111281 _ACEOF
111282
111283 fi
111284 done
111285
111286 else
111287
111288 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
111289 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
111290 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
111291 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
111292 echo $ECHO_N "(cached) $ECHO_C" >&6
111293 else
111294
111295
111296
111297 ac_ext=cc
111298 ac_cpp='$CXXCPP $CPPFLAGS'
111299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111302
111303 cat >conftest.$ac_ext <<_ACEOF
111304 /* confdefs.h. */
111305 _ACEOF
111306 cat confdefs.h >>conftest.$ac_ext
111307 cat >>conftest.$ac_ext <<_ACEOF
111308 /* end confdefs.h. */
111309 #include <math.h>
111310 int
111311 main ()
111312 {
111313 _sincosl(0, 0, 0);
111314 ;
111315 return 0;
111316 }
111317 _ACEOF
111318 rm -f conftest.$ac_objext
111319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111320 (eval $ac_compile) 2>conftest.er1
111321 ac_status=$?
111322 grep -v '^ *+' conftest.er1 >conftest.err
111323 rm -f conftest.er1
111324 cat conftest.err >&5
111325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111326 (exit $ac_status); } &&
111327 { ac_try='test -z "$ac_cxx_werror_flag"
111328 || test ! -s conftest.err'
111329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111330 (eval $ac_try) 2>&5
111331 ac_status=$?
111332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111333 (exit $ac_status); }; } &&
111334 { ac_try='test -s conftest.$ac_objext'
111335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111336 (eval $ac_try) 2>&5
111337 ac_status=$?
111338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111339 (exit $ac_status); }; }; then
111340 glibcxx_cv_func__sincosl_use=yes
111341 else
111342 echo "$as_me: failed program was:" >&5
111343 sed 's/^/| /' conftest.$ac_ext >&5
111344
111345 glibcxx_cv_func__sincosl_use=no
111346 fi
111347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111348 ac_ext=c
111349 ac_cpp='$CPP $CPPFLAGS'
111350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111353
111354
111355 fi
111356
111357 fi
111358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
111359 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
111360
111361 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
111362
111363 for ac_func in _sincosl
111364 do
111365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111366 echo "$as_me:$LINENO: checking for $ac_func" >&5
111367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111368 if eval "test \"\${$as_ac_var+set}\" = set"; then
111369 echo $ECHO_N "(cached) $ECHO_C" >&6
111370 else
111371 if test x$gcc_no_link = xyes; then
111372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111374 { (exit 1); exit 1; }; }
111375 fi
111376 cat >conftest.$ac_ext <<_ACEOF
111377 /* confdefs.h. */
111378 _ACEOF
111379 cat confdefs.h >>conftest.$ac_ext
111380 cat >>conftest.$ac_ext <<_ACEOF
111381 /* end confdefs.h. */
111382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111384 #define $ac_func innocuous_$ac_func
111385
111386 /* System header to define __stub macros and hopefully few prototypes,
111387 which can conflict with char $ac_func (); below.
111388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111389 <limits.h> exists even on freestanding compilers. */
111390
111391 #ifdef __STDC__
111392 # include <limits.h>
111393 #else
111394 # include <assert.h>
111395 #endif
111396
111397 #undef $ac_func
111398
111399 /* Override any gcc2 internal prototype to avoid an error. */
111400 #ifdef __cplusplus
111401 extern "C"
111402 {
111403 #endif
111404 /* We use char because int might match the return type of a gcc2
111405 builtin and then its argument prototype would still apply. */
111406 char $ac_func ();
111407 /* The GNU C library defines this for functions which it implements
111408 to always fail with ENOSYS. Some functions are actually named
111409 something starting with __ and the normal name is an alias. */
111410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111411 choke me
111412 #else
111413 char (*f) () = $ac_func;
111414 #endif
111415 #ifdef __cplusplus
111416 }
111417 #endif
111418
111419 int
111420 main ()
111421 {
111422 return f != $ac_func;
111423 ;
111424 return 0;
111425 }
111426 _ACEOF
111427 rm -f conftest.$ac_objext conftest$ac_exeext
111428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111429 (eval $ac_link) 2>conftest.er1
111430 ac_status=$?
111431 grep -v '^ *+' conftest.er1 >conftest.err
111432 rm -f conftest.er1
111433 cat conftest.err >&5
111434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111435 (exit $ac_status); } &&
111436 { ac_try='test -z "$ac_c_werror_flag"
111437 || test ! -s conftest.err'
111438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111439 (eval $ac_try) 2>&5
111440 ac_status=$?
111441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111442 (exit $ac_status); }; } &&
111443 { ac_try='test -s conftest$ac_exeext'
111444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111445 (eval $ac_try) 2>&5
111446 ac_status=$?
111447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111448 (exit $ac_status); }; }; then
111449 eval "$as_ac_var=yes"
111450 else
111451 echo "$as_me: failed program was:" >&5
111452 sed 's/^/| /' conftest.$ac_ext >&5
111453
111454 eval "$as_ac_var=no"
111455 fi
111456 rm -f conftest.err conftest.$ac_objext \
111457 conftest$ac_exeext conftest.$ac_ext
111458 fi
111459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111461 if test `eval echo '${'$as_ac_var'}'` = yes; then
111462 cat >>confdefs.h <<_ACEOF
111463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111464 _ACEOF
111465
111466 fi
111467 done
111468
111469 fi
111470 fi
111471
111472
111473
111474
111475
111476
111477 echo "$as_me:$LINENO: checking for finitel declaration" >&5
111478 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
111479 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
111480 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
111481 echo $ECHO_N "(cached) $ECHO_C" >&6
111482 else
111483
111484
111485
111486 ac_ext=cc
111487 ac_cpp='$CXXCPP $CPPFLAGS'
111488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111491
111492 cat >conftest.$ac_ext <<_ACEOF
111493 /* confdefs.h. */
111494 _ACEOF
111495 cat confdefs.h >>conftest.$ac_ext
111496 cat >>conftest.$ac_ext <<_ACEOF
111497 /* end confdefs.h. */
111498 #include <math.h>
111499 #ifdef HAVE_IEEEFP_H
111500 #include <ieeefp.h>
111501 #endif
111502
111503 int
111504 main ()
111505 {
111506 finitel(0);
111507 ;
111508 return 0;
111509 }
111510 _ACEOF
111511 rm -f conftest.$ac_objext
111512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111513 (eval $ac_compile) 2>conftest.er1
111514 ac_status=$?
111515 grep -v '^ *+' conftest.er1 >conftest.err
111516 rm -f conftest.er1
111517 cat conftest.err >&5
111518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111519 (exit $ac_status); } &&
111520 { ac_try='test -z "$ac_cxx_werror_flag"
111521 || test ! -s conftest.err'
111522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111523 (eval $ac_try) 2>&5
111524 ac_status=$?
111525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111526 (exit $ac_status); }; } &&
111527 { ac_try='test -s conftest.$ac_objext'
111528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111529 (eval $ac_try) 2>&5
111530 ac_status=$?
111531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111532 (exit $ac_status); }; }; then
111533 glibcxx_cv_func_finitel_use=yes
111534 else
111535 echo "$as_me: failed program was:" >&5
111536 sed 's/^/| /' conftest.$ac_ext >&5
111537
111538 glibcxx_cv_func_finitel_use=no
111539 fi
111540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111541 ac_ext=c
111542 ac_cpp='$CPP $CPPFLAGS'
111543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111546
111547
111548 fi
111549
111550 fi
111551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
111552 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
111553
111554 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
111555
111556 for ac_func in finitel
111557 do
111558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111559 echo "$as_me:$LINENO: checking for $ac_func" >&5
111560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111561 if eval "test \"\${$as_ac_var+set}\" = set"; then
111562 echo $ECHO_N "(cached) $ECHO_C" >&6
111563 else
111564 if test x$gcc_no_link = xyes; then
111565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111567 { (exit 1); exit 1; }; }
111568 fi
111569 cat >conftest.$ac_ext <<_ACEOF
111570 /* confdefs.h. */
111571 _ACEOF
111572 cat confdefs.h >>conftest.$ac_ext
111573 cat >>conftest.$ac_ext <<_ACEOF
111574 /* end confdefs.h. */
111575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111577 #define $ac_func innocuous_$ac_func
111578
111579 /* System header to define __stub macros and hopefully few prototypes,
111580 which can conflict with char $ac_func (); below.
111581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111582 <limits.h> exists even on freestanding compilers. */
111583
111584 #ifdef __STDC__
111585 # include <limits.h>
111586 #else
111587 # include <assert.h>
111588 #endif
111589
111590 #undef $ac_func
111591
111592 /* Override any gcc2 internal prototype to avoid an error. */
111593 #ifdef __cplusplus
111594 extern "C"
111595 {
111596 #endif
111597 /* We use char because int might match the return type of a gcc2
111598 builtin and then its argument prototype would still apply. */
111599 char $ac_func ();
111600 /* The GNU C library defines this for functions which it implements
111601 to always fail with ENOSYS. Some functions are actually named
111602 something starting with __ and the normal name is an alias. */
111603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111604 choke me
111605 #else
111606 char (*f) () = $ac_func;
111607 #endif
111608 #ifdef __cplusplus
111609 }
111610 #endif
111611
111612 int
111613 main ()
111614 {
111615 return f != $ac_func;
111616 ;
111617 return 0;
111618 }
111619 _ACEOF
111620 rm -f conftest.$ac_objext conftest$ac_exeext
111621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111622 (eval $ac_link) 2>conftest.er1
111623 ac_status=$?
111624 grep -v '^ *+' conftest.er1 >conftest.err
111625 rm -f conftest.er1
111626 cat conftest.err >&5
111627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111628 (exit $ac_status); } &&
111629 { ac_try='test -z "$ac_c_werror_flag"
111630 || test ! -s conftest.err'
111631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111632 (eval $ac_try) 2>&5
111633 ac_status=$?
111634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111635 (exit $ac_status); }; } &&
111636 { ac_try='test -s conftest$ac_exeext'
111637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111638 (eval $ac_try) 2>&5
111639 ac_status=$?
111640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111641 (exit $ac_status); }; }; then
111642 eval "$as_ac_var=yes"
111643 else
111644 echo "$as_me: failed program was:" >&5
111645 sed 's/^/| /' conftest.$ac_ext >&5
111646
111647 eval "$as_ac_var=no"
111648 fi
111649 rm -f conftest.err conftest.$ac_objext \
111650 conftest$ac_exeext conftest.$ac_ext
111651 fi
111652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111654 if test `eval echo '${'$as_ac_var'}'` = yes; then
111655 cat >>confdefs.h <<_ACEOF
111656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111657 _ACEOF
111658
111659 fi
111660 done
111661
111662 else
111663
111664 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
111665 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
111666 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
111667 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
111668 echo $ECHO_N "(cached) $ECHO_C" >&6
111669 else
111670
111671
111672
111673 ac_ext=cc
111674 ac_cpp='$CXXCPP $CPPFLAGS'
111675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111678
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 <math.h>
111686 #ifdef HAVE_IEEEFP_H
111687 #include <ieeefp.h>
111688 #endif
111689
111690 int
111691 main ()
111692 {
111693 _finitel(0);
111694 ;
111695 return 0;
111696 }
111697 _ACEOF
111698 rm -f conftest.$ac_objext
111699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111700 (eval $ac_compile) 2>conftest.er1
111701 ac_status=$?
111702 grep -v '^ *+' conftest.er1 >conftest.err
111703 rm -f conftest.er1
111704 cat conftest.err >&5
111705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111706 (exit $ac_status); } &&
111707 { ac_try='test -z "$ac_cxx_werror_flag"
111708 || test ! -s conftest.err'
111709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111710 (eval $ac_try) 2>&5
111711 ac_status=$?
111712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111713 (exit $ac_status); }; } &&
111714 { ac_try='test -s conftest.$ac_objext'
111715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111716 (eval $ac_try) 2>&5
111717 ac_status=$?
111718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111719 (exit $ac_status); }; }; then
111720 glibcxx_cv_func__finitel_use=yes
111721 else
111722 echo "$as_me: failed program was:" >&5
111723 sed 's/^/| /' conftest.$ac_ext >&5
111724
111725 glibcxx_cv_func__finitel_use=no
111726 fi
111727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111728 ac_ext=c
111729 ac_cpp='$CPP $CPPFLAGS'
111730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111733
111734
111735 fi
111736
111737 fi
111738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
111739 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
111740
111741 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
111742
111743 for ac_func in _finitel
111744 do
111745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111746 echo "$as_me:$LINENO: checking for $ac_func" >&5
111747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111748 if eval "test \"\${$as_ac_var+set}\" = set"; then
111749 echo $ECHO_N "(cached) $ECHO_C" >&6
111750 else
111751 if test x$gcc_no_link = xyes; then
111752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111754 { (exit 1); exit 1; }; }
111755 fi
111756 cat >conftest.$ac_ext <<_ACEOF
111757 /* confdefs.h. */
111758 _ACEOF
111759 cat confdefs.h >>conftest.$ac_ext
111760 cat >>conftest.$ac_ext <<_ACEOF
111761 /* end confdefs.h. */
111762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111764 #define $ac_func innocuous_$ac_func
111765
111766 /* System header to define __stub macros and hopefully few prototypes,
111767 which can conflict with char $ac_func (); below.
111768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111769 <limits.h> exists even on freestanding compilers. */
111770
111771 #ifdef __STDC__
111772 # include <limits.h>
111773 #else
111774 # include <assert.h>
111775 #endif
111776
111777 #undef $ac_func
111778
111779 /* Override any gcc2 internal prototype to avoid an error. */
111780 #ifdef __cplusplus
111781 extern "C"
111782 {
111783 #endif
111784 /* We use char because int might match the return type of a gcc2
111785 builtin and then its argument prototype would still apply. */
111786 char $ac_func ();
111787 /* The GNU C library defines this for functions which it implements
111788 to always fail with ENOSYS. Some functions are actually named
111789 something starting with __ and the normal name is an alias. */
111790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111791 choke me
111792 #else
111793 char (*f) () = $ac_func;
111794 #endif
111795 #ifdef __cplusplus
111796 }
111797 #endif
111798
111799 int
111800 main ()
111801 {
111802 return f != $ac_func;
111803 ;
111804 return 0;
111805 }
111806 _ACEOF
111807 rm -f conftest.$ac_objext conftest$ac_exeext
111808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111809 (eval $ac_link) 2>conftest.er1
111810 ac_status=$?
111811 grep -v '^ *+' conftest.er1 >conftest.err
111812 rm -f conftest.er1
111813 cat conftest.err >&5
111814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111815 (exit $ac_status); } &&
111816 { ac_try='test -z "$ac_c_werror_flag"
111817 || test ! -s conftest.err'
111818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111819 (eval $ac_try) 2>&5
111820 ac_status=$?
111821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111822 (exit $ac_status); }; } &&
111823 { ac_try='test -s conftest$ac_exeext'
111824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111825 (eval $ac_try) 2>&5
111826 ac_status=$?
111827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111828 (exit $ac_status); }; }; then
111829 eval "$as_ac_var=yes"
111830 else
111831 echo "$as_me: failed program was:" >&5
111832 sed 's/^/| /' conftest.$ac_ext >&5
111833
111834 eval "$as_ac_var=no"
111835 fi
111836 rm -f conftest.err conftest.$ac_objext \
111837 conftest$ac_exeext conftest.$ac_ext
111838 fi
111839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111841 if test `eval echo '${'$as_ac_var'}'` = yes; then
111842 cat >>confdefs.h <<_ACEOF
111843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111844 _ACEOF
111845
111846 fi
111847 done
111848
111849 fi
111850 fi
111851
111852
111853
111854
111855
111856 LIBS="$ac_save_LIBS"
111857 CXXFLAGS="$ac_save_CXXFLAGS"
111858
111859
111860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
111861 ac_save_CXXFLAGS="$CXXFLAGS"
111862 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
111863
111864
111865 echo "$as_me:$LINENO: checking for strtold declaration" >&5
111866 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
111867 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
111868 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
111869 echo $ECHO_N "(cached) $ECHO_C" >&6
111870 else
111871
111872
111873
111874 ac_ext=cc
111875 ac_cpp='$CXXCPP $CPPFLAGS'
111876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111879
111880 cat >conftest.$ac_ext <<_ACEOF
111881 /* confdefs.h. */
111882 _ACEOF
111883 cat confdefs.h >>conftest.$ac_ext
111884 cat >>conftest.$ac_ext <<_ACEOF
111885 /* end confdefs.h. */
111886 #include <stdlib.h>
111887 int
111888 main ()
111889 {
111890 strtold(0, 0);
111891 ;
111892 return 0;
111893 }
111894 _ACEOF
111895 rm -f conftest.$ac_objext
111896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111897 (eval $ac_compile) 2>conftest.er1
111898 ac_status=$?
111899 grep -v '^ *+' conftest.er1 >conftest.err
111900 rm -f conftest.er1
111901 cat conftest.err >&5
111902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111903 (exit $ac_status); } &&
111904 { ac_try='test -z "$ac_cxx_werror_flag"
111905 || test ! -s conftest.err'
111906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111907 (eval $ac_try) 2>&5
111908 ac_status=$?
111909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111910 (exit $ac_status); }; } &&
111911 { ac_try='test -s conftest.$ac_objext'
111912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111913 (eval $ac_try) 2>&5
111914 ac_status=$?
111915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111916 (exit $ac_status); }; }; then
111917 glibcxx_cv_func_strtold_use=yes
111918 else
111919 echo "$as_me: failed program was:" >&5
111920 sed 's/^/| /' conftest.$ac_ext >&5
111921
111922 glibcxx_cv_func_strtold_use=no
111923 fi
111924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111925 ac_ext=c
111926 ac_cpp='$CPP $CPPFLAGS'
111927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111930
111931
111932 fi
111933
111934 fi
111935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
111936 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
111937 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
111938
111939 for ac_func in strtold
111940 do
111941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111942 echo "$as_me:$LINENO: checking for $ac_func" >&5
111943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111944 if eval "test \"\${$as_ac_var+set}\" = set"; then
111945 echo $ECHO_N "(cached) $ECHO_C" >&6
111946 else
111947 if test x$gcc_no_link = xyes; then
111948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111950 { (exit 1); exit 1; }; }
111951 fi
111952 cat >conftest.$ac_ext <<_ACEOF
111953 /* confdefs.h. */
111954 _ACEOF
111955 cat confdefs.h >>conftest.$ac_ext
111956 cat >>conftest.$ac_ext <<_ACEOF
111957 /* end confdefs.h. */
111958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111960 #define $ac_func innocuous_$ac_func
111961
111962 /* System header to define __stub macros and hopefully few prototypes,
111963 which can conflict with char $ac_func (); below.
111964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111965 <limits.h> exists even on freestanding compilers. */
111966
111967 #ifdef __STDC__
111968 # include <limits.h>
111969 #else
111970 # include <assert.h>
111971 #endif
111972
111973 #undef $ac_func
111974
111975 /* Override any gcc2 internal prototype to avoid an error. */
111976 #ifdef __cplusplus
111977 extern "C"
111978 {
111979 #endif
111980 /* We use char because int might match the return type of a gcc2
111981 builtin and then its argument prototype would still apply. */
111982 char $ac_func ();
111983 /* The GNU C library defines this for functions which it implements
111984 to always fail with ENOSYS. Some functions are actually named
111985 something starting with __ and the normal name is an alias. */
111986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111987 choke me
111988 #else
111989 char (*f) () = $ac_func;
111990 #endif
111991 #ifdef __cplusplus
111992 }
111993 #endif
111994
111995 int
111996 main ()
111997 {
111998 return f != $ac_func;
111999 ;
112000 return 0;
112001 }
112002 _ACEOF
112003 rm -f conftest.$ac_objext conftest$ac_exeext
112004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112005 (eval $ac_link) 2>conftest.er1
112006 ac_status=$?
112007 grep -v '^ *+' conftest.er1 >conftest.err
112008 rm -f conftest.er1
112009 cat conftest.err >&5
112010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112011 (exit $ac_status); } &&
112012 { ac_try='test -z "$ac_c_werror_flag"
112013 || test ! -s conftest.err'
112014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112015 (eval $ac_try) 2>&5
112016 ac_status=$?
112017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112018 (exit $ac_status); }; } &&
112019 { ac_try='test -s conftest$ac_exeext'
112020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112021 (eval $ac_try) 2>&5
112022 ac_status=$?
112023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112024 (exit $ac_status); }; }; then
112025 eval "$as_ac_var=yes"
112026 else
112027 echo "$as_me: failed program was:" >&5
112028 sed 's/^/| /' conftest.$ac_ext >&5
112029
112030 eval "$as_ac_var=no"
112031 fi
112032 rm -f conftest.err conftest.$ac_objext \
112033 conftest$ac_exeext conftest.$ac_ext
112034 fi
112035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112037 if test `eval echo '${'$as_ac_var'}'` = yes; then
112038 cat >>confdefs.h <<_ACEOF
112039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112040 _ACEOF
112041
112042 fi
112043 done
112044
112045 fi
112046
112047
112048
112049
112050
112051 echo "$as_me:$LINENO: checking for strtof declaration" >&5
112052 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
112053 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
112054 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
112055 echo $ECHO_N "(cached) $ECHO_C" >&6
112056 else
112057
112058
112059
112060 ac_ext=cc
112061 ac_cpp='$CXXCPP $CPPFLAGS'
112062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
112065
112066 cat >conftest.$ac_ext <<_ACEOF
112067 /* confdefs.h. */
112068 _ACEOF
112069 cat confdefs.h >>conftest.$ac_ext
112070 cat >>conftest.$ac_ext <<_ACEOF
112071 /* end confdefs.h. */
112072 #include <stdlib.h>
112073 int
112074 main ()
112075 {
112076 strtof(0, 0);
112077 ;
112078 return 0;
112079 }
112080 _ACEOF
112081 rm -f conftest.$ac_objext
112082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112083 (eval $ac_compile) 2>conftest.er1
112084 ac_status=$?
112085 grep -v '^ *+' conftest.er1 >conftest.err
112086 rm -f conftest.er1
112087 cat conftest.err >&5
112088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112089 (exit $ac_status); } &&
112090 { ac_try='test -z "$ac_cxx_werror_flag"
112091 || test ! -s conftest.err'
112092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112093 (eval $ac_try) 2>&5
112094 ac_status=$?
112095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112096 (exit $ac_status); }; } &&
112097 { ac_try='test -s conftest.$ac_objext'
112098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112099 (eval $ac_try) 2>&5
112100 ac_status=$?
112101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112102 (exit $ac_status); }; }; then
112103 glibcxx_cv_func_strtof_use=yes
112104 else
112105 echo "$as_me: failed program was:" >&5
112106 sed 's/^/| /' conftest.$ac_ext >&5
112107
112108 glibcxx_cv_func_strtof_use=no
112109 fi
112110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112111 ac_ext=c
112112 ac_cpp='$CPP $CPPFLAGS'
112113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
112116
112117
112118 fi
112119
112120 fi
112121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
112122 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
112123 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
112124
112125 for ac_func in strtof
112126 do
112127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112128 echo "$as_me:$LINENO: checking for $ac_func" >&5
112129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112130 if eval "test \"\${$as_ac_var+set}\" = set"; then
112131 echo $ECHO_N "(cached) $ECHO_C" >&6
112132 else
112133 if test x$gcc_no_link = xyes; then
112134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112136 { (exit 1); exit 1; }; }
112137 fi
112138 cat >conftest.$ac_ext <<_ACEOF
112139 /* confdefs.h. */
112140 _ACEOF
112141 cat confdefs.h >>conftest.$ac_ext
112142 cat >>conftest.$ac_ext <<_ACEOF
112143 /* end confdefs.h. */
112144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112146 #define $ac_func innocuous_$ac_func
112147
112148 /* System header to define __stub macros and hopefully few prototypes,
112149 which can conflict with char $ac_func (); below.
112150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112151 <limits.h> exists even on freestanding compilers. */
112152
112153 #ifdef __STDC__
112154 # include <limits.h>
112155 #else
112156 # include <assert.h>
112157 #endif
112158
112159 #undef $ac_func
112160
112161 /* Override any gcc2 internal prototype to avoid an error. */
112162 #ifdef __cplusplus
112163 extern "C"
112164 {
112165 #endif
112166 /* We use char because int might match the return type of a gcc2
112167 builtin and then its argument prototype would still apply. */
112168 char $ac_func ();
112169 /* The GNU C library defines this for functions which it implements
112170 to always fail with ENOSYS. Some functions are actually named
112171 something starting with __ and the normal name is an alias. */
112172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112173 choke me
112174 #else
112175 char (*f) () = $ac_func;
112176 #endif
112177 #ifdef __cplusplus
112178 }
112179 #endif
112180
112181 int
112182 main ()
112183 {
112184 return f != $ac_func;
112185 ;
112186 return 0;
112187 }
112188 _ACEOF
112189 rm -f conftest.$ac_objext conftest$ac_exeext
112190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112191 (eval $ac_link) 2>conftest.er1
112192 ac_status=$?
112193 grep -v '^ *+' conftest.er1 >conftest.err
112194 rm -f conftest.er1
112195 cat conftest.err >&5
112196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112197 (exit $ac_status); } &&
112198 { ac_try='test -z "$ac_c_werror_flag"
112199 || test ! -s conftest.err'
112200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112201 (eval $ac_try) 2>&5
112202 ac_status=$?
112203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112204 (exit $ac_status); }; } &&
112205 { ac_try='test -s conftest$ac_exeext'
112206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112207 (eval $ac_try) 2>&5
112208 ac_status=$?
112209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112210 (exit $ac_status); }; }; then
112211 eval "$as_ac_var=yes"
112212 else
112213 echo "$as_me: failed program was:" >&5
112214 sed 's/^/| /' conftest.$ac_ext >&5
112215
112216 eval "$as_ac_var=no"
112217 fi
112218 rm -f conftest.err conftest.$ac_objext \
112219 conftest$ac_exeext conftest.$ac_ext
112220 fi
112221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112223 if test `eval echo '${'$as_ac_var'}'` = yes; then
112224 cat >>confdefs.h <<_ACEOF
112225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112226 _ACEOF
112227
112228 fi
112229 done
112230
112231 fi
112232
112233
112234
112235
112236
112237 CXXFLAGS="$ac_save_CXXFLAGS"
112238
112239 ;;
112240 *-netbsd*)
112241 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112242
112243
112244 # If we're not using GNU ld, then there's no point in even trying these
112245 # tests. Check for that first. We should have already tested for gld
112246 # by now (in libtool), but require it now just to be safe...
112247 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112248 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112249
112250
112251
112252 # The name set by libtool depends on the version of libtool. Shame on us
112253 # for depending on an impl detail, but c'est la vie. Older versions used
112254 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112255 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112256 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112257 # set (hence we're using an older libtool), then set it.
112258 if test x${with_gnu_ld+set} != xset; then
112259 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112260 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112261 with_gnu_ld=no
112262 else
112263 with_gnu_ld=$ac_cv_prog_gnu_ld
112264 fi
112265 fi
112266
112267 # Start by getting the version number. I think the libtool test already
112268 # does some of this, but throws away the result.
112269 glibcxx_ld_is_gold=no
112270 if test x"$with_gnu_ld" = x"yes"; then
112271 echo "$as_me:$LINENO: checking for ld version" >&5
112272 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112273
112274 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112275 glibcxx_ld_is_gold=yes
112276 fi
112277 ldver=`$LD --version 2>/dev/null | head -1 | \
112278 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112279
112280 glibcxx_gnu_ld_version=`echo $ldver | \
112281 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112282 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112283 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112284 fi
112285
112286 # Set --gc-sections.
112287 glibcxx_have_gc_sections=no
112288 if test "$glibcxx_ld_is_gold" = "yes"; then
112289 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112290 glibcxx_have_gc_sections=yes
112291 fi
112292 else
112293 glibcxx_gcsections_min_ld=21602
112294 if test x"$with_gnu_ld" = x"yes" &&
112295 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112296 glibcxx_have_gc_sections=yes
112297 fi
112298 fi
112299 if test "$glibcxx_have_gc_sections" = "yes"; then
112300 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112301 # NB: This flag only works reliably after 2.16.1. Configure tests
112302 # for this are difficult, so hard wire a value that should work.
112303
112304 ac_test_CFLAGS="${CFLAGS+set}"
112305 ac_save_CFLAGS="$CFLAGS"
112306 CFLAGS='-Wl,--gc-sections'
112307
112308 # Check for -Wl,--gc-sections
112309 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112310 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112311 if test x$gcc_no_link = xyes; then
112312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112314 { (exit 1); exit 1; }; }
112315 fi
112316 cat >conftest.$ac_ext <<_ACEOF
112317 /* confdefs.h. */
112318 _ACEOF
112319 cat confdefs.h >>conftest.$ac_ext
112320 cat >>conftest.$ac_ext <<_ACEOF
112321 /* end confdefs.h. */
112322 int one(void) { return 1; }
112323 int two(void) { return 2; }
112324
112325 int
112326 main ()
112327 {
112328 two();
112329 ;
112330 return 0;
112331 }
112332 _ACEOF
112333 rm -f conftest.$ac_objext conftest$ac_exeext
112334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112335 (eval $ac_link) 2>conftest.er1
112336 ac_status=$?
112337 grep -v '^ *+' conftest.er1 >conftest.err
112338 rm -f conftest.er1
112339 cat conftest.err >&5
112340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112341 (exit $ac_status); } &&
112342 { ac_try='test -z "$ac_c_werror_flag"
112343 || test ! -s conftest.err'
112344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112345 (eval $ac_try) 2>&5
112346 ac_status=$?
112347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112348 (exit $ac_status); }; } &&
112349 { ac_try='test -s conftest$ac_exeext'
112350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112351 (eval $ac_try) 2>&5
112352 ac_status=$?
112353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112354 (exit $ac_status); }; }; then
112355 ac_gcsections=yes
112356 else
112357 echo "$as_me: failed program was:" >&5
112358 sed 's/^/| /' conftest.$ac_ext >&5
112359
112360 ac_gcsections=no
112361 fi
112362 rm -f conftest.err conftest.$ac_objext \
112363 conftest$ac_exeext conftest.$ac_ext
112364 if test "$ac_gcsections" = "yes"; then
112365 rm -f conftest.c
112366 touch conftest.c
112367 if $CC -c conftest.c; then
112368 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112369 grep "Warning: gc-sections option ignored" > /dev/null; then
112370 ac_gcsections=no
112371 fi
112372 fi
112373 rm -f conftest.c conftest.o conftest
112374 fi
112375 if test "$ac_gcsections" = "yes"; then
112376 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112377 fi
112378 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112379 echo "${ECHO_T}$ac_gcsections" >&6
112380
112381 if test "$ac_test_CFLAGS" = set; then
112382 CFLAGS="$ac_save_CFLAGS"
112383 else
112384 # this is the suspicious part
112385 CFLAGS=''
112386 fi
112387 fi
112388
112389 # Set -z,relro.
112390 # Note this is only for shared objects.
112391 ac_ld_relro=no
112392 if test x"$with_gnu_ld" = x"yes"; then
112393 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112394 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112395 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112396 if test -n "$cxx_z_relo"; then
112397 OPT_LDFLAGS="-Wl,-z,relro"
112398 ac_ld_relro=yes
112399 fi
112400 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112401 echo "${ECHO_T}$ac_ld_relro" >&6
112402 fi
112403
112404 # Set linker optimization flags.
112405 if test x"$with_gnu_ld" = x"yes"; then
112406 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112407 fi
112408
112409
112410
112411
112412 cat >>confdefs.h <<\_ACEOF
112413 #define HAVE_FINITEF 1
112414 _ACEOF
112415
112416 cat >>confdefs.h <<\_ACEOF
112417 #define HAVE_FINITE 1
112418 _ACEOF
112419
112420 cat >>confdefs.h <<\_ACEOF
112421 #define HAVE_FREXPF 1
112422 _ACEOF
112423
112424 cat >>confdefs.h <<\_ACEOF
112425 #define HAVE_HYPOTF 1
112426 _ACEOF
112427
112428 cat >>confdefs.h <<\_ACEOF
112429 #define HAVE_ISINF 1
112430 _ACEOF
112431
112432 cat >>confdefs.h <<\_ACEOF
112433 #define HAVE_ISINFF 1
112434 _ACEOF
112435
112436 cat >>confdefs.h <<\_ACEOF
112437 #define HAVE_ISNAN 1
112438 _ACEOF
112439
112440 cat >>confdefs.h <<\_ACEOF
112441 #define HAVE_ISNANF 1
112442 _ACEOF
112443
112444 if test x"long_double_math_on_this_cpu" = x"yes"; then
112445 cat >>confdefs.h <<\_ACEOF
112446 #define HAVE_FINITEL 1
112447 _ACEOF
112448
112449 cat >>confdefs.h <<\_ACEOF
112450 #define HAVE_ISINFL 1
112451 _ACEOF
112452
112453 cat >>confdefs.h <<\_ACEOF
112454 #define HAVE_ISNANL 1
112455 _ACEOF
112456
112457 fi
112458 ;;
112459 *-netware)
112460 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112461
112462
112463 # If we're not using GNU ld, then there's no point in even trying these
112464 # tests. Check for that first. We should have already tested for gld
112465 # by now (in libtool), but require it now just to be safe...
112466 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112467 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112468
112469
112470
112471 # The name set by libtool depends on the version of libtool. Shame on us
112472 # for depending on an impl detail, but c'est la vie. Older versions used
112473 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112474 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112475 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112476 # set (hence we're using an older libtool), then set it.
112477 if test x${with_gnu_ld+set} != xset; then
112478 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112479 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112480 with_gnu_ld=no
112481 else
112482 with_gnu_ld=$ac_cv_prog_gnu_ld
112483 fi
112484 fi
112485
112486 # Start by getting the version number. I think the libtool test already
112487 # does some of this, but throws away the result.
112488 glibcxx_ld_is_gold=no
112489 if test x"$with_gnu_ld" = x"yes"; then
112490 echo "$as_me:$LINENO: checking for ld version" >&5
112491 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112492
112493 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112494 glibcxx_ld_is_gold=yes
112495 fi
112496 ldver=`$LD --version 2>/dev/null | head -1 | \
112497 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112498
112499 glibcxx_gnu_ld_version=`echo $ldver | \
112500 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112501 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112502 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112503 fi
112504
112505 # Set --gc-sections.
112506 glibcxx_have_gc_sections=no
112507 if test "$glibcxx_ld_is_gold" = "yes"; then
112508 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112509 glibcxx_have_gc_sections=yes
112510 fi
112511 else
112512 glibcxx_gcsections_min_ld=21602
112513 if test x"$with_gnu_ld" = x"yes" &&
112514 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112515 glibcxx_have_gc_sections=yes
112516 fi
112517 fi
112518 if test "$glibcxx_have_gc_sections" = "yes"; then
112519 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112520 # NB: This flag only works reliably after 2.16.1. Configure tests
112521 # for this are difficult, so hard wire a value that should work.
112522
112523 ac_test_CFLAGS="${CFLAGS+set}"
112524 ac_save_CFLAGS="$CFLAGS"
112525 CFLAGS='-Wl,--gc-sections'
112526
112527 # Check for -Wl,--gc-sections
112528 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112529 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112530 if test x$gcc_no_link = xyes; then
112531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112533 { (exit 1); exit 1; }; }
112534 fi
112535 cat >conftest.$ac_ext <<_ACEOF
112536 /* confdefs.h. */
112537 _ACEOF
112538 cat confdefs.h >>conftest.$ac_ext
112539 cat >>conftest.$ac_ext <<_ACEOF
112540 /* end confdefs.h. */
112541 int one(void) { return 1; }
112542 int two(void) { return 2; }
112543
112544 int
112545 main ()
112546 {
112547 two();
112548 ;
112549 return 0;
112550 }
112551 _ACEOF
112552 rm -f conftest.$ac_objext conftest$ac_exeext
112553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112554 (eval $ac_link) 2>conftest.er1
112555 ac_status=$?
112556 grep -v '^ *+' conftest.er1 >conftest.err
112557 rm -f conftest.er1
112558 cat conftest.err >&5
112559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112560 (exit $ac_status); } &&
112561 { ac_try='test -z "$ac_c_werror_flag"
112562 || test ! -s conftest.err'
112563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112564 (eval $ac_try) 2>&5
112565 ac_status=$?
112566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112567 (exit $ac_status); }; } &&
112568 { ac_try='test -s conftest$ac_exeext'
112569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112570 (eval $ac_try) 2>&5
112571 ac_status=$?
112572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112573 (exit $ac_status); }; }; then
112574 ac_gcsections=yes
112575 else
112576 echo "$as_me: failed program was:" >&5
112577 sed 's/^/| /' conftest.$ac_ext >&5
112578
112579 ac_gcsections=no
112580 fi
112581 rm -f conftest.err conftest.$ac_objext \
112582 conftest$ac_exeext conftest.$ac_ext
112583 if test "$ac_gcsections" = "yes"; then
112584 rm -f conftest.c
112585 touch conftest.c
112586 if $CC -c conftest.c; then
112587 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112588 grep "Warning: gc-sections option ignored" > /dev/null; then
112589 ac_gcsections=no
112590 fi
112591 fi
112592 rm -f conftest.c conftest.o conftest
112593 fi
112594 if test "$ac_gcsections" = "yes"; then
112595 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112596 fi
112597 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112598 echo "${ECHO_T}$ac_gcsections" >&6
112599
112600 if test "$ac_test_CFLAGS" = set; then
112601 CFLAGS="$ac_save_CFLAGS"
112602 else
112603 # this is the suspicious part
112604 CFLAGS=''
112605 fi
112606 fi
112607
112608 # Set -z,relro.
112609 # Note this is only for shared objects.
112610 ac_ld_relro=no
112611 if test x"$with_gnu_ld" = x"yes"; then
112612 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112613 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112614 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112615 if test -n "$cxx_z_relo"; then
112616 OPT_LDFLAGS="-Wl,-z,relro"
112617 ac_ld_relro=yes
112618 fi
112619 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112620 echo "${ECHO_T}$ac_ld_relro" >&6
112621 fi
112622
112623 # Set linker optimization flags.
112624 if test x"$with_gnu_ld" = x"yes"; then
112625 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112626 fi
112627
112628
112629
112630
112631 cat >>confdefs.h <<\_ACEOF
112632 #define HAVE_HYPOT 1
112633 _ACEOF
112634
112635 cat >>confdefs.h <<\_ACEOF
112636 #define HAVE_ISINF 1
112637 _ACEOF
112638
112639 cat >>confdefs.h <<\_ACEOF
112640 #define HAVE_ISNAN 1
112641 _ACEOF
112642
112643 ;;
112644 *-qnx6.1* | *-qnx6.2*)
112645 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112646
112647
112648 # If we're not using GNU ld, then there's no point in even trying these
112649 # tests. Check for that first. We should have already tested for gld
112650 # by now (in libtool), but require it now just to be safe...
112651 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112652 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112653
112654
112655
112656 # The name set by libtool depends on the version of libtool. Shame on us
112657 # for depending on an impl detail, but c'est la vie. Older versions used
112658 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112659 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112660 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112661 # set (hence we're using an older libtool), then set it.
112662 if test x${with_gnu_ld+set} != xset; then
112663 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112664 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112665 with_gnu_ld=no
112666 else
112667 with_gnu_ld=$ac_cv_prog_gnu_ld
112668 fi
112669 fi
112670
112671 # Start by getting the version number. I think the libtool test already
112672 # does some of this, but throws away the result.
112673 glibcxx_ld_is_gold=no
112674 if test x"$with_gnu_ld" = x"yes"; then
112675 echo "$as_me:$LINENO: checking for ld version" >&5
112676 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112677
112678 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112679 glibcxx_ld_is_gold=yes
112680 fi
112681 ldver=`$LD --version 2>/dev/null | head -1 | \
112682 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112683
112684 glibcxx_gnu_ld_version=`echo $ldver | \
112685 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112686 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112687 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112688 fi
112689
112690 # Set --gc-sections.
112691 glibcxx_have_gc_sections=no
112692 if test "$glibcxx_ld_is_gold" = "yes"; then
112693 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112694 glibcxx_have_gc_sections=yes
112695 fi
112696 else
112697 glibcxx_gcsections_min_ld=21602
112698 if test x"$with_gnu_ld" = x"yes" &&
112699 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112700 glibcxx_have_gc_sections=yes
112701 fi
112702 fi
112703 if test "$glibcxx_have_gc_sections" = "yes"; then
112704 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112705 # NB: This flag only works reliably after 2.16.1. Configure tests
112706 # for this are difficult, so hard wire a value that should work.
112707
112708 ac_test_CFLAGS="${CFLAGS+set}"
112709 ac_save_CFLAGS="$CFLAGS"
112710 CFLAGS='-Wl,--gc-sections'
112711
112712 # Check for -Wl,--gc-sections
112713 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112714 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112715 if test x$gcc_no_link = xyes; then
112716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112718 { (exit 1); exit 1; }; }
112719 fi
112720 cat >conftest.$ac_ext <<_ACEOF
112721 /* confdefs.h. */
112722 _ACEOF
112723 cat confdefs.h >>conftest.$ac_ext
112724 cat >>conftest.$ac_ext <<_ACEOF
112725 /* end confdefs.h. */
112726 int one(void) { return 1; }
112727 int two(void) { return 2; }
112728
112729 int
112730 main ()
112731 {
112732 two();
112733 ;
112734 return 0;
112735 }
112736 _ACEOF
112737 rm -f conftest.$ac_objext conftest$ac_exeext
112738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112739 (eval $ac_link) 2>conftest.er1
112740 ac_status=$?
112741 grep -v '^ *+' conftest.er1 >conftest.err
112742 rm -f conftest.er1
112743 cat conftest.err >&5
112744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112745 (exit $ac_status); } &&
112746 { ac_try='test -z "$ac_c_werror_flag"
112747 || test ! -s conftest.err'
112748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112749 (eval $ac_try) 2>&5
112750 ac_status=$?
112751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112752 (exit $ac_status); }; } &&
112753 { ac_try='test -s conftest$ac_exeext'
112754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112755 (eval $ac_try) 2>&5
112756 ac_status=$?
112757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112758 (exit $ac_status); }; }; then
112759 ac_gcsections=yes
112760 else
112761 echo "$as_me: failed program was:" >&5
112762 sed 's/^/| /' conftest.$ac_ext >&5
112763
112764 ac_gcsections=no
112765 fi
112766 rm -f conftest.err conftest.$ac_objext \
112767 conftest$ac_exeext conftest.$ac_ext
112768 if test "$ac_gcsections" = "yes"; then
112769 rm -f conftest.c
112770 touch conftest.c
112771 if $CC -c conftest.c; then
112772 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112773 grep "Warning: gc-sections option ignored" > /dev/null; then
112774 ac_gcsections=no
112775 fi
112776 fi
112777 rm -f conftest.c conftest.o conftest
112778 fi
112779 if test "$ac_gcsections" = "yes"; then
112780 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112781 fi
112782 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112783 echo "${ECHO_T}$ac_gcsections" >&6
112784
112785 if test "$ac_test_CFLAGS" = set; then
112786 CFLAGS="$ac_save_CFLAGS"
112787 else
112788 # this is the suspicious part
112789 CFLAGS=''
112790 fi
112791 fi
112792
112793 # Set -z,relro.
112794 # Note this is only for shared objects.
112795 ac_ld_relro=no
112796 if test x"$with_gnu_ld" = x"yes"; then
112797 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112798 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112799 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112800 if test -n "$cxx_z_relo"; then
112801 OPT_LDFLAGS="-Wl,-z,relro"
112802 ac_ld_relro=yes
112803 fi
112804 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112805 echo "${ECHO_T}$ac_ld_relro" >&6
112806 fi
112807
112808 # Set linker optimization flags.
112809 if test x"$with_gnu_ld" = x"yes"; then
112810 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112811 fi
112812
112813
112814
112815
112816 cat >>confdefs.h <<\_ACEOF
112817 #define HAVE_COSF 1
112818 _ACEOF
112819
112820 cat >>confdefs.h <<\_ACEOF
112821 #define HAVE_COSL 1
112822 _ACEOF
112823
112824 cat >>confdefs.h <<\_ACEOF
112825 #define HAVE_COSHF 1
112826 _ACEOF
112827
112828 cat >>confdefs.h <<\_ACEOF
112829 #define HAVE_COSHL 1
112830 _ACEOF
112831
112832 cat >>confdefs.h <<\_ACEOF
112833 #define HAVE_LOGF 1
112834 _ACEOF
112835
112836 cat >>confdefs.h <<\_ACEOF
112837 #define HAVE_LOGL 1
112838 _ACEOF
112839
112840 cat >>confdefs.h <<\_ACEOF
112841 #define HAVE_LOG10F 1
112842 _ACEOF
112843
112844 cat >>confdefs.h <<\_ACEOF
112845 #define HAVE_LOG10L 1
112846 _ACEOF
112847
112848 cat >>confdefs.h <<\_ACEOF
112849 #define HAVE_SINF 1
112850 _ACEOF
112851
112852 cat >>confdefs.h <<\_ACEOF
112853 #define HAVE_SINL 1
112854 _ACEOF
112855
112856 cat >>confdefs.h <<\_ACEOF
112857 #define HAVE_SINHF 1
112858 _ACEOF
112859
112860 cat >>confdefs.h <<\_ACEOF
112861 #define HAVE_SINHL 1
112862 _ACEOF
112863
112864 ;;
112865 *-solaris*)
112866 case "$target" in
112867 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112868
112869 # If we're not using GNU ld, then there's no point in even trying these
112870 # tests. Check for that first. We should have already tested for gld
112871 # by now (in libtool), but require it now just to be safe...
112872 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112873 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112874
112875
112876
112877 # The name set by libtool depends on the version of libtool. Shame on us
112878 # for depending on an impl detail, but c'est la vie. Older versions used
112879 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112880 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112881 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112882 # set (hence we're using an older libtool), then set it.
112883 if test x${with_gnu_ld+set} != xset; then
112884 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112885 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112886 with_gnu_ld=no
112887 else
112888 with_gnu_ld=$ac_cv_prog_gnu_ld
112889 fi
112890 fi
112891
112892 # Start by getting the version number. I think the libtool test already
112893 # does some of this, but throws away the result.
112894 glibcxx_ld_is_gold=no
112895 if test x"$with_gnu_ld" = x"yes"; then
112896 echo "$as_me:$LINENO: checking for ld version" >&5
112897 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112898
112899 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112900 glibcxx_ld_is_gold=yes
112901 fi
112902 ldver=`$LD --version 2>/dev/null | head -1 | \
112903 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112904
112905 glibcxx_gnu_ld_version=`echo $ldver | \
112906 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112907 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112908 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112909 fi
112910
112911 # Set --gc-sections.
112912 glibcxx_have_gc_sections=no
112913 if test "$glibcxx_ld_is_gold" = "yes"; then
112914 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112915 glibcxx_have_gc_sections=yes
112916 fi
112917 else
112918 glibcxx_gcsections_min_ld=21602
112919 if test x"$with_gnu_ld" = x"yes" &&
112920 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112921 glibcxx_have_gc_sections=yes
112922 fi
112923 fi
112924 if test "$glibcxx_have_gc_sections" = "yes"; then
112925 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112926 # NB: This flag only works reliably after 2.16.1. Configure tests
112927 # for this are difficult, so hard wire a value that should work.
112928
112929 ac_test_CFLAGS="${CFLAGS+set}"
112930 ac_save_CFLAGS="$CFLAGS"
112931 CFLAGS='-Wl,--gc-sections'
112932
112933 # Check for -Wl,--gc-sections
112934 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112935 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112936 if test x$gcc_no_link = xyes; then
112937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112939 { (exit 1); exit 1; }; }
112940 fi
112941 cat >conftest.$ac_ext <<_ACEOF
112942 /* confdefs.h. */
112943 _ACEOF
112944 cat confdefs.h >>conftest.$ac_ext
112945 cat >>conftest.$ac_ext <<_ACEOF
112946 /* end confdefs.h. */
112947 int one(void) { return 1; }
112948 int two(void) { return 2; }
112949
112950 int
112951 main ()
112952 {
112953 two();
112954 ;
112955 return 0;
112956 }
112957 _ACEOF
112958 rm -f conftest.$ac_objext conftest$ac_exeext
112959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112960 (eval $ac_link) 2>conftest.er1
112961 ac_status=$?
112962 grep -v '^ *+' conftest.er1 >conftest.err
112963 rm -f conftest.er1
112964 cat conftest.err >&5
112965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112966 (exit $ac_status); } &&
112967 { ac_try='test -z "$ac_c_werror_flag"
112968 || test ! -s conftest.err'
112969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112970 (eval $ac_try) 2>&5
112971 ac_status=$?
112972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112973 (exit $ac_status); }; } &&
112974 { ac_try='test -s conftest$ac_exeext'
112975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112976 (eval $ac_try) 2>&5
112977 ac_status=$?
112978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112979 (exit $ac_status); }; }; then
112980 ac_gcsections=yes
112981 else
112982 echo "$as_me: failed program was:" >&5
112983 sed 's/^/| /' conftest.$ac_ext >&5
112984
112985 ac_gcsections=no
112986 fi
112987 rm -f conftest.err conftest.$ac_objext \
112988 conftest$ac_exeext conftest.$ac_ext
112989 if test "$ac_gcsections" = "yes"; then
112990 rm -f conftest.c
112991 touch conftest.c
112992 if $CC -c conftest.c; then
112993 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112994 grep "Warning: gc-sections option ignored" > /dev/null; then
112995 ac_gcsections=no
112996 fi
112997 fi
112998 rm -f conftest.c conftest.o conftest
112999 fi
113000 if test "$ac_gcsections" = "yes"; then
113001 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113002 fi
113003 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113004 echo "${ECHO_T}$ac_gcsections" >&6
113005
113006 if test "$ac_test_CFLAGS" = set; then
113007 CFLAGS="$ac_save_CFLAGS"
113008 else
113009 # this is the suspicious part
113010 CFLAGS=''
113011 fi
113012 fi
113013
113014 # Set -z,relro.
113015 # Note this is only for shared objects.
113016 ac_ld_relro=no
113017 if test x"$with_gnu_ld" = x"yes"; then
113018 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113019 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113020 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113021 if test -n "$cxx_z_relo"; then
113022 OPT_LDFLAGS="-Wl,-z,relro"
113023 ac_ld_relro=yes
113024 fi
113025 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113026 echo "${ECHO_T}$ac_ld_relro" >&6
113027 fi
113028
113029 # Set linker optimization flags.
113030 if test x"$with_gnu_ld" = x"yes"; then
113031 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113032 fi
113033
113034
113035
113036
113037 cat >>confdefs.h <<\_ACEOF
113038 #define HAVE_MBSTATE_T 1
113039 _ACEOF
113040
113041 cat >>confdefs.h <<\_ACEOF
113042 #define HAVE_FINITE 1
113043 _ACEOF
113044
113045 cat >>confdefs.h <<\_ACEOF
113046 #define HAVE_FPCLASS 1
113047 _ACEOF
113048
113049 # All of the dependencies for wide character support are here, so
113050 # turn it on.
113051 cat >>confdefs.h <<\_ACEOF
113052 #define _GLIBCXX_USE_WCHAR_T 1
113053 _ACEOF
113054
113055 ;;
113056 esac
113057 case "$target" in
113058 *-*-solaris2.10)
113059 # These two C99 functions are present only in Solaris >= 10
113060 cat >>confdefs.h <<\_ACEOF
113061 #define HAVE_STRTOF 1
113062 _ACEOF
113063
113064 cat >>confdefs.h <<\_ACEOF
113065 #define HAVE_STRTOLD 1
113066 _ACEOF
113067
113068 ;;
113069 esac
113070 cat >>confdefs.h <<\_ACEOF
113071 #define HAVE_ISNAN 1
113072 _ACEOF
113073
113074 cat >>confdefs.h <<\_ACEOF
113075 #define HAVE_ISNANF 1
113076 _ACEOF
113077
113078 cat >>confdefs.h <<\_ACEOF
113079 #define HAVE_MODFF 1
113080 _ACEOF
113081
113082 cat >>confdefs.h <<\_ACEOF
113083 #define HAVE_HYPOT 1
113084 _ACEOF
113085
113086 ;;
113087 *-tpf)
113088 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113089
113090
113091 # If we're not using GNU ld, then there's no point in even trying these
113092 # tests. Check for that first. We should have already tested for gld
113093 # by now (in libtool), but require it now just to be safe...
113094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113096
113097
113098
113099 # The name set by libtool depends on the version of libtool. Shame on us
113100 # for depending on an impl detail, but c'est la vie. Older versions used
113101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113104 # set (hence we're using an older libtool), then set it.
113105 if test x${with_gnu_ld+set} != xset; then
113106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113108 with_gnu_ld=no
113109 else
113110 with_gnu_ld=$ac_cv_prog_gnu_ld
113111 fi
113112 fi
113113
113114 # Start by getting the version number. I think the libtool test already
113115 # does some of this, but throws away the result.
113116 glibcxx_ld_is_gold=no
113117 if test x"$with_gnu_ld" = x"yes"; then
113118 echo "$as_me:$LINENO: checking for ld version" >&5
113119 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113120
113121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113122 glibcxx_ld_is_gold=yes
113123 fi
113124 ldver=`$LD --version 2>/dev/null | head -1 | \
113125 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113126
113127 glibcxx_gnu_ld_version=`echo $ldver | \
113128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113129 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113130 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113131 fi
113132
113133 # Set --gc-sections.
113134 glibcxx_have_gc_sections=no
113135 if test "$glibcxx_ld_is_gold" = "yes"; then
113136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113137 glibcxx_have_gc_sections=yes
113138 fi
113139 else
113140 glibcxx_gcsections_min_ld=21602
113141 if test x"$with_gnu_ld" = x"yes" &&
113142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113143 glibcxx_have_gc_sections=yes
113144 fi
113145 fi
113146 if test "$glibcxx_have_gc_sections" = "yes"; then
113147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113148 # NB: This flag only works reliably after 2.16.1. Configure tests
113149 # for this are difficult, so hard wire a value that should work.
113150
113151 ac_test_CFLAGS="${CFLAGS+set}"
113152 ac_save_CFLAGS="$CFLAGS"
113153 CFLAGS='-Wl,--gc-sections'
113154
113155 # Check for -Wl,--gc-sections
113156 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113157 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113158 if test x$gcc_no_link = xyes; then
113159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113161 { (exit 1); exit 1; }; }
113162 fi
113163 cat >conftest.$ac_ext <<_ACEOF
113164 /* confdefs.h. */
113165 _ACEOF
113166 cat confdefs.h >>conftest.$ac_ext
113167 cat >>conftest.$ac_ext <<_ACEOF
113168 /* end confdefs.h. */
113169 int one(void) { return 1; }
113170 int two(void) { return 2; }
113171
113172 int
113173 main ()
113174 {
113175 two();
113176 ;
113177 return 0;
113178 }
113179 _ACEOF
113180 rm -f conftest.$ac_objext conftest$ac_exeext
113181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113182 (eval $ac_link) 2>conftest.er1
113183 ac_status=$?
113184 grep -v '^ *+' conftest.er1 >conftest.err
113185 rm -f conftest.er1
113186 cat conftest.err >&5
113187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113188 (exit $ac_status); } &&
113189 { ac_try='test -z "$ac_c_werror_flag"
113190 || test ! -s conftest.err'
113191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113192 (eval $ac_try) 2>&5
113193 ac_status=$?
113194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113195 (exit $ac_status); }; } &&
113196 { ac_try='test -s conftest$ac_exeext'
113197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113198 (eval $ac_try) 2>&5
113199 ac_status=$?
113200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113201 (exit $ac_status); }; }; then
113202 ac_gcsections=yes
113203 else
113204 echo "$as_me: failed program was:" >&5
113205 sed 's/^/| /' conftest.$ac_ext >&5
113206
113207 ac_gcsections=no
113208 fi
113209 rm -f conftest.err conftest.$ac_objext \
113210 conftest$ac_exeext conftest.$ac_ext
113211 if test "$ac_gcsections" = "yes"; then
113212 rm -f conftest.c
113213 touch conftest.c
113214 if $CC -c conftest.c; then
113215 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113216 grep "Warning: gc-sections option ignored" > /dev/null; then
113217 ac_gcsections=no
113218 fi
113219 fi
113220 rm -f conftest.c conftest.o conftest
113221 fi
113222 if test "$ac_gcsections" = "yes"; then
113223 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113224 fi
113225 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113226 echo "${ECHO_T}$ac_gcsections" >&6
113227
113228 if test "$ac_test_CFLAGS" = set; then
113229 CFLAGS="$ac_save_CFLAGS"
113230 else
113231 # this is the suspicious part
113232 CFLAGS=''
113233 fi
113234 fi
113235
113236 # Set -z,relro.
113237 # Note this is only for shared objects.
113238 ac_ld_relro=no
113239 if test x"$with_gnu_ld" = x"yes"; then
113240 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113241 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113242 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113243 if test -n "$cxx_z_relo"; then
113244 OPT_LDFLAGS="-Wl,-z,relro"
113245 ac_ld_relro=yes
113246 fi
113247 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113248 echo "${ECHO_T}$ac_ld_relro" >&6
113249 fi
113250
113251 # Set linker optimization flags.
113252 if test x"$with_gnu_ld" = x"yes"; then
113253 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113254 fi
113255
113256
113257
113258
113259 cat >>confdefs.h <<\_ACEOF
113260 #define HAVE_FINITE 1
113261 _ACEOF
113262
113263 cat >>confdefs.h <<\_ACEOF
113264 #define HAVE_FINITEF 1
113265 _ACEOF
113266
113267 cat >>confdefs.h <<\_ACEOF
113268 #define HAVE_FREXPF 1
113269 _ACEOF
113270
113271 cat >>confdefs.h <<\_ACEOF
113272 #define HAVE_HYPOTF 1
113273 _ACEOF
113274
113275 cat >>confdefs.h <<\_ACEOF
113276 #define HAVE_ISINF 1
113277 _ACEOF
113278
113279 cat >>confdefs.h <<\_ACEOF
113280 #define HAVE_ISINFF 1
113281 _ACEOF
113282
113283 cat >>confdefs.h <<\_ACEOF
113284 #define HAVE_ISNAN 1
113285 _ACEOF
113286
113287 cat >>confdefs.h <<\_ACEOF
113288 #define HAVE_ISNANF 1
113289 _ACEOF
113290
113291 cat >>confdefs.h <<\_ACEOF
113292 #define HAVE_SINCOS 1
113293 _ACEOF
113294
113295 cat >>confdefs.h <<\_ACEOF
113296 #define HAVE_SINCOSF 1
113297 _ACEOF
113298
113299 if test x"long_double_math_on_this_cpu" = x"yes"; then
113300 cat >>confdefs.h <<\_ACEOF
113301 #define HAVE_FINITEL 1
113302 _ACEOF
113303
113304 cat >>confdefs.h <<\_ACEOF
113305 #define HAVE_HYPOTL 1
113306 _ACEOF
113307
113308 cat >>confdefs.h <<\_ACEOF
113309 #define HAVE_ISINFL 1
113310 _ACEOF
113311
113312 cat >>confdefs.h <<\_ACEOF
113313 #define HAVE_ISNANL 1
113314 _ACEOF
113315
113316 fi
113317 ;;
113318 *-vxworks)
113319 cat >>confdefs.h <<\_ACEOF
113320 #define HAVE_ACOSF 1
113321 _ACEOF
113322
113323 cat >>confdefs.h <<\_ACEOF
113324 #define HAVE_ASINF 1
113325 _ACEOF
113326
113327 cat >>confdefs.h <<\_ACEOF
113328 #define HAVE_ATAN2F 1
113329 _ACEOF
113330
113331 cat >>confdefs.h <<\_ACEOF
113332 #define HAVE_ATANF 1
113333 _ACEOF
113334
113335 cat >>confdefs.h <<\_ACEOF
113336 #define HAVE_CEILF 1
113337 _ACEOF
113338
113339 cat >>confdefs.h <<\_ACEOF
113340 #define HAVE_COSF 1
113341 _ACEOF
113342
113343 cat >>confdefs.h <<\_ACEOF
113344 #define HAVE_COSHF 1
113345 _ACEOF
113346
113347 cat >>confdefs.h <<\_ACEOF
113348 #define HAVE_EXPF 1
113349 _ACEOF
113350
113351 cat >>confdefs.h <<\_ACEOF
113352 #define HAVE_FABSF 1
113353 _ACEOF
113354
113355 cat >>confdefs.h <<\_ACEOF
113356 #define HAVE_FLOORF 1
113357 _ACEOF
113358
113359 cat >>confdefs.h <<\_ACEOF
113360 #define HAVE_FMODF 1
113361 _ACEOF
113362
113363 cat >>confdefs.h <<\_ACEOF
113364 #define HAVE_HYPOT 1
113365 _ACEOF
113366
113367 cat >>confdefs.h <<\_ACEOF
113368 #define HAVE_LOG10F 1
113369 _ACEOF
113370
113371 cat >>confdefs.h <<\_ACEOF
113372 #define HAVE_LOGF 1
113373 _ACEOF
113374
113375 cat >>confdefs.h <<\_ACEOF
113376 #define HAVE_POWF 1
113377 _ACEOF
113378
113379 cat >>confdefs.h <<\_ACEOF
113380 #define HAVE_SINF 1
113381 _ACEOF
113382
113383 cat >>confdefs.h <<\_ACEOF
113384 #define HAVE_SINHF 1
113385 _ACEOF
113386
113387 cat >>confdefs.h <<\_ACEOF
113388 #define HAVE_SQRTF 1
113389 _ACEOF
113390
113391 cat >>confdefs.h <<\_ACEOF
113392 #define HAVE_TANF 1
113393 _ACEOF
113394
113395 cat >>confdefs.h <<\_ACEOF
113396 #define HAVE_TANHF 1
113397 _ACEOF
113398
113399 ;;
113400 *)
113401 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
113402 echo "$as_me: error: No support for this host/target combination." >&2;}
113403 { (exit 1); exit 1; }; }
113404 ;;
113405 esac
113406
113407 fi
113408
113409 # At some point, we should differentiate between architectures
113410 # like x86, which have long double versions, and alpha/powerpc/etc.,
113411 # which don't. For the time being, punt.
113412 if test x"long_double_math_on_this_cpu" = x"yes"; then
113413 cat >>confdefs.h <<\_ACEOF
113414 #define HAVE_ACOSL 1
113415 _ACEOF
113416
113417 cat >>confdefs.h <<\_ACEOF
113418 #define HAVE_ASINL 1
113419 _ACEOF
113420
113421 cat >>confdefs.h <<\_ACEOF
113422 #define HAVE_ATAN2L 1
113423 _ACEOF
113424
113425 cat >>confdefs.h <<\_ACEOF
113426 #define HAVE_ATANL 1
113427 _ACEOF
113428
113429 cat >>confdefs.h <<\_ACEOF
113430 #define HAVE_CEILL 1
113431 _ACEOF
113432
113433 cat >>confdefs.h <<\_ACEOF
113434 #define HAVE_COSL 1
113435 _ACEOF
113436
113437 cat >>confdefs.h <<\_ACEOF
113438 #define HAVE_COSHL 1
113439 _ACEOF
113440
113441 cat >>confdefs.h <<\_ACEOF
113442 #define HAVE_EXPL 1
113443 _ACEOF
113444
113445 cat >>confdefs.h <<\_ACEOF
113446 #define HAVE_FABSL 1
113447 _ACEOF
113448
113449 cat >>confdefs.h <<\_ACEOF
113450 #define HAVE_FLOORL 1
113451 _ACEOF
113452
113453 cat >>confdefs.h <<\_ACEOF
113454 #define HAVE_FMODL 1
113455 _ACEOF
113456
113457 cat >>confdefs.h <<\_ACEOF
113458 #define HAVE_FREXPL 1
113459 _ACEOF
113460
113461 cat >>confdefs.h <<\_ACEOF
113462 #define HAVE_LDEXPL 1
113463 _ACEOF
113464
113465 cat >>confdefs.h <<\_ACEOF
113466 #define HAVE_LOG10L 1
113467 _ACEOF
113468
113469 cat >>confdefs.h <<\_ACEOF
113470 #define HAVE_LOGL 1
113471 _ACEOF
113472
113473 cat >>confdefs.h <<\_ACEOF
113474 #define HAVE_MODFL 1
113475 _ACEOF
113476
113477 cat >>confdefs.h <<\_ACEOF
113478 #define HAVE_POWL 1
113479 _ACEOF
113480
113481 cat >>confdefs.h <<\_ACEOF
113482 #define HAVE_SINCOSL 1
113483 _ACEOF
113484
113485 cat >>confdefs.h <<\_ACEOF
113486 #define HAVE_SINL 1
113487 _ACEOF
113488
113489 cat >>confdefs.h <<\_ACEOF
113490 #define HAVE_SINHL 1
113491 _ACEOF
113492
113493 cat >>confdefs.h <<\_ACEOF
113494 #define HAVE_SQRTL 1
113495 _ACEOF
113496
113497 cat >>confdefs.h <<\_ACEOF
113498 #define HAVE_TANL 1
113499 _ACEOF
113500
113501 cat >>confdefs.h <<\_ACEOF
113502 #define HAVE_TANHL 1
113503 _ACEOF
113504
113505 fi
113506 fi
113507
113508 # Check for _Unwind_GetIPInfo.
113509
113510
113511 # Check whether --with-system-libunwind or --without-system-libunwind was given.
113512 if test "${with_system_libunwind+set}" = set; then
113513 withval="$with_system_libunwind"
113514
113515 fi;
113516 # If system-libunwind was not specifically set, pick a default setting.
113517 if test x$with_system_libunwind = x; then
113518 case ${target} in
113519 ia64-*-hpux*) with_system_libunwind=yes ;;
113520 *) with_system_libunwind=no ;;
113521 esac
113522 fi
113523 # Based on system-libunwind and target, do we have ipinfo?
113524 if test x$with_system_libunwind = xyes; then
113525 case ${target} in
113526 ia64-*-*) have_unwind_getipinfo=no ;;
113527 *) have_unwind_getipinfo=yes ;;
113528 esac
113529 else
113530 # Darwin before version 9 does not have _Unwind_GetIPInfo.
113531
113532 case ${target} in
113533 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
113534 *) have_unwind_getipinfo=yes ;;
113535 esac
113536
113537 fi
113538
113539 if test x$have_unwind_getipinfo = xyes; then
113540
113541 cat >>confdefs.h <<\_ACEOF
113542 #define HAVE_GETIPINFO 1
113543 _ACEOF
113544
113545 fi
113546
113547
113548
113549 # Check whether --enable-linux-futex or --disable-linux-futex was given.
113550 if test "${enable_linux_futex+set}" = set; then
113551 enableval="$enable_linux_futex"
113552
113553 case "$enableval" in
113554 yes|no|default) ;;
113555 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
113556 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
113557 { (exit 1); exit 1; }; } ;;
113558 esac
113559
113560 else
113561 enable_linux_futex=default
113562 fi;
113563
113564 case "$target" in
113565 *-linux*)
113566 case "$enable_linux_futex" in
113567 default)
113568 # If headers don't have gettid/futex syscalls definition, then
113569 # default to no, otherwise there will be compile time failures.
113570 # Otherwise, default to yes. If we don't detect we are
113571 # compiled/linked against NPTL and not cross-compiling, check
113572 # if programs are run by default against NPTL and if not, issue
113573 # a warning.
113574 enable_linux_futex=no
113575 if test x$gcc_no_link = xyes; then
113576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113578 { (exit 1); exit 1; }; }
113579 fi
113580 cat >conftest.$ac_ext <<_ACEOF
113581 /* confdefs.h. */
113582 _ACEOF
113583 cat confdefs.h >>conftest.$ac_ext
113584 cat >>conftest.$ac_ext <<_ACEOF
113585 /* end confdefs.h. */
113586 #include <sys/syscall.h>
113587 int lk;
113588 int
113589 main ()
113590 {
113591 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
113592 ;
113593 return 0;
113594 }
113595 _ACEOF
113596 rm -f conftest.$ac_objext conftest$ac_exeext
113597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113598 (eval $ac_link) 2>conftest.er1
113599 ac_status=$?
113600 grep -v '^ *+' conftest.er1 >conftest.err
113601 rm -f conftest.er1
113602 cat conftest.err >&5
113603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113604 (exit $ac_status); } &&
113605 { ac_try='test -z "$ac_c_werror_flag"
113606 || test ! -s conftest.err'
113607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113608 (eval $ac_try) 2>&5
113609 ac_status=$?
113610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113611 (exit $ac_status); }; } &&
113612 { ac_try='test -s conftest$ac_exeext'
113613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113614 (eval $ac_try) 2>&5
113615 ac_status=$?
113616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113617 (exit $ac_status); }; }; then
113618 save_LIBS="$LIBS"
113619 LIBS="-lpthread $LIBS"
113620 if test x$gcc_no_link = xyes; then
113621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113623 { (exit 1); exit 1; }; }
113624 fi
113625 cat >conftest.$ac_ext <<_ACEOF
113626 /* confdefs.h. */
113627 _ACEOF
113628 cat confdefs.h >>conftest.$ac_ext
113629 cat >>conftest.$ac_ext <<_ACEOF
113630 /* end confdefs.h. */
113631 #ifndef _GNU_SOURCE
113632 #define _GNU_SOURCE 1
113633 #endif
113634 #include <pthread.h>
113635 pthread_t th; void *status;
113636 int
113637 main ()
113638 {
113639 pthread_tryjoin_np (th, &status);
113640 ;
113641 return 0;
113642 }
113643 _ACEOF
113644 rm -f conftest.$ac_objext conftest$ac_exeext
113645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113646 (eval $ac_link) 2>conftest.er1
113647 ac_status=$?
113648 grep -v '^ *+' conftest.er1 >conftest.err
113649 rm -f conftest.er1
113650 cat conftest.err >&5
113651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113652 (exit $ac_status); } &&
113653 { ac_try='test -z "$ac_c_werror_flag"
113654 || test ! -s conftest.err'
113655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113656 (eval $ac_try) 2>&5
113657 ac_status=$?
113658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113659 (exit $ac_status); }; } &&
113660 { ac_try='test -s conftest$ac_exeext'
113661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113662 (eval $ac_try) 2>&5
113663 ac_status=$?
113664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113665 (exit $ac_status); }; }; then
113666 enable_linux_futex=yes
113667 else
113668 echo "$as_me: failed program was:" >&5
113669 sed 's/^/| /' conftest.$ac_ext >&5
113670
113671 if test x$cross_compiling = xno; then
113672 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
113673 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
113674 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
113675 If so, please configure with --disable-linux-futex" >&5
113676 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
113677 If so, please configure with --disable-linux-futex" >&2;}
113678 fi
113679 fi
113680 enable_linux_futex=yes
113681 fi
113682 rm -f conftest.err conftest.$ac_objext \
113683 conftest$ac_exeext conftest.$ac_ext
113684 LIBS="$save_LIBS"
113685 else
113686 echo "$as_me: failed program was:" >&5
113687 sed 's/^/| /' conftest.$ac_ext >&5
113688
113689 fi
113690 rm -f conftest.err conftest.$ac_objext \
113691 conftest$ac_exeext conftest.$ac_ext
113692 ;;
113693 yes)
113694 if test x$gcc_no_link = xyes; then
113695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113697 { (exit 1); exit 1; }; }
113698 fi
113699 cat >conftest.$ac_ext <<_ACEOF
113700 /* confdefs.h. */
113701 _ACEOF
113702 cat confdefs.h >>conftest.$ac_ext
113703 cat >>conftest.$ac_ext <<_ACEOF
113704 /* end confdefs.h. */
113705 #include <sys/syscall.h>
113706 int lk;
113707 int
113708 main ()
113709 {
113710 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
113711 ;
113712 return 0;
113713 }
113714 _ACEOF
113715 rm -f conftest.$ac_objext conftest$ac_exeext
113716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113717 (eval $ac_link) 2>conftest.er1
113718 ac_status=$?
113719 grep -v '^ *+' conftest.er1 >conftest.err
113720 rm -f conftest.er1
113721 cat conftest.err >&5
113722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113723 (exit $ac_status); } &&
113724 { ac_try='test -z "$ac_c_werror_flag"
113725 || test ! -s conftest.err'
113726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113727 (eval $ac_try) 2>&5
113728 ac_status=$?
113729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113730 (exit $ac_status); }; } &&
113731 { ac_try='test -s conftest$ac_exeext'
113732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113733 (eval $ac_try) 2>&5
113734 ac_status=$?
113735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113736 (exit $ac_status); }; }; then
113737 :
113738 else
113739 echo "$as_me: failed program was:" >&5
113740 sed 's/^/| /' conftest.$ac_ext >&5
113741
113742 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
113743 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
113744 { (exit 1); exit 1; }; }
113745 fi
113746 rm -f conftest.err conftest.$ac_objext \
113747 conftest$ac_exeext conftest.$ac_ext
113748 ;;
113749 esac
113750 ;;
113751 *)
113752 enable_linux_futex=no
113753 ;;
113754 esac
113755 if test x$enable_linux_futex = xyes; then
113756
113757 cat >>confdefs.h <<\_ACEOF
113758 #define HAVE_LINUX_FUTEX 1
113759 _ACEOF
113760
113761 fi
113762
113763
113764
113765
113766 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
113767
113768 acx_cv_header_stdint=stddef.h
113769 acx_cv_header_stdint_kind="(already complete)"
113770 for i in stdint.h $inttype_headers; do
113771 unset ac_cv_type_uintptr_t
113772 unset ac_cv_type_uintmax_t
113773 unset ac_cv_type_int_least32_t
113774 unset ac_cv_type_int_fast32_t
113775 unset ac_cv_type_uint64_t
113776 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
113777 echo "$as_me:$LINENO: checking for uintmax_t" >&5
113778 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
113779 if test "${ac_cv_type_uintmax_t+set}" = set; then
113780 echo $ECHO_N "(cached) $ECHO_C" >&6
113781 else
113782 cat >conftest.$ac_ext <<_ACEOF
113783 /* confdefs.h. */
113784 _ACEOF
113785 cat confdefs.h >>conftest.$ac_ext
113786 cat >>conftest.$ac_ext <<_ACEOF
113787 /* end confdefs.h. */
113788 #include <sys/types.h>
113789 #include <$i>
113790
113791 int
113792 main ()
113793 {
113794 if ((uintmax_t *) 0)
113795 return 0;
113796 if (sizeof (uintmax_t))
113797 return 0;
113798 ;
113799 return 0;
113800 }
113801 _ACEOF
113802 rm -f conftest.$ac_objext
113803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113804 (eval $ac_compile) 2>conftest.er1
113805 ac_status=$?
113806 grep -v '^ *+' conftest.er1 >conftest.err
113807 rm -f conftest.er1
113808 cat conftest.err >&5
113809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113810 (exit $ac_status); } &&
113811 { ac_try='test -z "$ac_c_werror_flag"
113812 || test ! -s conftest.err'
113813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113814 (eval $ac_try) 2>&5
113815 ac_status=$?
113816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113817 (exit $ac_status); }; } &&
113818 { ac_try='test -s conftest.$ac_objext'
113819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113820 (eval $ac_try) 2>&5
113821 ac_status=$?
113822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113823 (exit $ac_status); }; }; then
113824 ac_cv_type_uintmax_t=yes
113825 else
113826 echo "$as_me: failed program was:" >&5
113827 sed 's/^/| /' conftest.$ac_ext >&5
113828
113829 ac_cv_type_uintmax_t=no
113830 fi
113831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113832 fi
113833 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
113834 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
113835 if test $ac_cv_type_uintmax_t = yes; then
113836 acx_cv_header_stdint=$i
113837 else
113838 continue
113839 fi
113840
113841 echo "$as_me:$LINENO: checking for uintptr_t" >&5
113842 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
113843 if test "${ac_cv_type_uintptr_t+set}" = set; then
113844 echo $ECHO_N "(cached) $ECHO_C" >&6
113845 else
113846 cat >conftest.$ac_ext <<_ACEOF
113847 /* confdefs.h. */
113848 _ACEOF
113849 cat confdefs.h >>conftest.$ac_ext
113850 cat >>conftest.$ac_ext <<_ACEOF
113851 /* end confdefs.h. */
113852 #include <sys/types.h>
113853 #include <$i>
113854
113855 int
113856 main ()
113857 {
113858 if ((uintptr_t *) 0)
113859 return 0;
113860 if (sizeof (uintptr_t))
113861 return 0;
113862 ;
113863 return 0;
113864 }
113865 _ACEOF
113866 rm -f conftest.$ac_objext
113867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113868 (eval $ac_compile) 2>conftest.er1
113869 ac_status=$?
113870 grep -v '^ *+' conftest.er1 >conftest.err
113871 rm -f conftest.er1
113872 cat conftest.err >&5
113873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113874 (exit $ac_status); } &&
113875 { ac_try='test -z "$ac_c_werror_flag"
113876 || test ! -s conftest.err'
113877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113878 (eval $ac_try) 2>&5
113879 ac_status=$?
113880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113881 (exit $ac_status); }; } &&
113882 { ac_try='test -s conftest.$ac_objext'
113883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113884 (eval $ac_try) 2>&5
113885 ac_status=$?
113886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113887 (exit $ac_status); }; }; then
113888 ac_cv_type_uintptr_t=yes
113889 else
113890 echo "$as_me: failed program was:" >&5
113891 sed 's/^/| /' conftest.$ac_ext >&5
113892
113893 ac_cv_type_uintptr_t=no
113894 fi
113895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113896 fi
113897 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
113898 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
113899 if test $ac_cv_type_uintptr_t = yes; then
113900 :
113901 else
113902 acx_cv_header_stdint_kind="(mostly complete)"
113903 fi
113904
113905 echo "$as_me:$LINENO: checking for int_least32_t" >&5
113906 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
113907 if test "${ac_cv_type_int_least32_t+set}" = set; then
113908 echo $ECHO_N "(cached) $ECHO_C" >&6
113909 else
113910 cat >conftest.$ac_ext <<_ACEOF
113911 /* confdefs.h. */
113912 _ACEOF
113913 cat confdefs.h >>conftest.$ac_ext
113914 cat >>conftest.$ac_ext <<_ACEOF
113915 /* end confdefs.h. */
113916 #include <sys/types.h>
113917 #include <$i>
113918
113919 int
113920 main ()
113921 {
113922 if ((int_least32_t *) 0)
113923 return 0;
113924 if (sizeof (int_least32_t))
113925 return 0;
113926 ;
113927 return 0;
113928 }
113929 _ACEOF
113930 rm -f conftest.$ac_objext
113931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113932 (eval $ac_compile) 2>conftest.er1
113933 ac_status=$?
113934 grep -v '^ *+' conftest.er1 >conftest.err
113935 rm -f conftest.er1
113936 cat conftest.err >&5
113937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113938 (exit $ac_status); } &&
113939 { ac_try='test -z "$ac_c_werror_flag"
113940 || test ! -s conftest.err'
113941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113942 (eval $ac_try) 2>&5
113943 ac_status=$?
113944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113945 (exit $ac_status); }; } &&
113946 { ac_try='test -s conftest.$ac_objext'
113947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113948 (eval $ac_try) 2>&5
113949 ac_status=$?
113950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113951 (exit $ac_status); }; }; then
113952 ac_cv_type_int_least32_t=yes
113953 else
113954 echo "$as_me: failed program was:" >&5
113955 sed 's/^/| /' conftest.$ac_ext >&5
113956
113957 ac_cv_type_int_least32_t=no
113958 fi
113959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113960 fi
113961 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
113962 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
113963 if test $ac_cv_type_int_least32_t = yes; then
113964 :
113965 else
113966 acx_cv_header_stdint_kind="(mostly complete)"
113967 fi
113968
113969 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
113970 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
113971 if test "${ac_cv_type_int_fast32_t+set}" = set; then
113972 echo $ECHO_N "(cached) $ECHO_C" >&6
113973 else
113974 cat >conftest.$ac_ext <<_ACEOF
113975 /* confdefs.h. */
113976 _ACEOF
113977 cat confdefs.h >>conftest.$ac_ext
113978 cat >>conftest.$ac_ext <<_ACEOF
113979 /* end confdefs.h. */
113980 #include <sys/types.h>
113981 #include <$i>
113982
113983 int
113984 main ()
113985 {
113986 if ((int_fast32_t *) 0)
113987 return 0;
113988 if (sizeof (int_fast32_t))
113989 return 0;
113990 ;
113991 return 0;
113992 }
113993 _ACEOF
113994 rm -f conftest.$ac_objext
113995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113996 (eval $ac_compile) 2>conftest.er1
113997 ac_status=$?
113998 grep -v '^ *+' conftest.er1 >conftest.err
113999 rm -f conftest.er1
114000 cat conftest.err >&5
114001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114002 (exit $ac_status); } &&
114003 { ac_try='test -z "$ac_c_werror_flag"
114004 || test ! -s conftest.err'
114005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114006 (eval $ac_try) 2>&5
114007 ac_status=$?
114008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114009 (exit $ac_status); }; } &&
114010 { ac_try='test -s conftest.$ac_objext'
114011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114012 (eval $ac_try) 2>&5
114013 ac_status=$?
114014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114015 (exit $ac_status); }; }; then
114016 ac_cv_type_int_fast32_t=yes
114017 else
114018 echo "$as_me: failed program was:" >&5
114019 sed 's/^/| /' conftest.$ac_ext >&5
114020
114021 ac_cv_type_int_fast32_t=no
114022 fi
114023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114024 fi
114025 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
114026 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
114027 if test $ac_cv_type_int_fast32_t = yes; then
114028 :
114029 else
114030 acx_cv_header_stdint_kind="(mostly complete)"
114031 fi
114032
114033 echo "$as_me:$LINENO: checking for uint64_t" >&5
114034 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
114035 if test "${ac_cv_type_uint64_t+set}" = set; then
114036 echo $ECHO_N "(cached) $ECHO_C" >&6
114037 else
114038 cat >conftest.$ac_ext <<_ACEOF
114039 /* confdefs.h. */
114040 _ACEOF
114041 cat confdefs.h >>conftest.$ac_ext
114042 cat >>conftest.$ac_ext <<_ACEOF
114043 /* end confdefs.h. */
114044 #include <sys/types.h>
114045 #include <$i>
114046
114047 int
114048 main ()
114049 {
114050 if ((uint64_t *) 0)
114051 return 0;
114052 if (sizeof (uint64_t))
114053 return 0;
114054 ;
114055 return 0;
114056 }
114057 _ACEOF
114058 rm -f conftest.$ac_objext
114059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114060 (eval $ac_compile) 2>conftest.er1
114061 ac_status=$?
114062 grep -v '^ *+' conftest.er1 >conftest.err
114063 rm -f conftest.er1
114064 cat conftest.err >&5
114065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114066 (exit $ac_status); } &&
114067 { ac_try='test -z "$ac_c_werror_flag"
114068 || test ! -s conftest.err'
114069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114070 (eval $ac_try) 2>&5
114071 ac_status=$?
114072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114073 (exit $ac_status); }; } &&
114074 { ac_try='test -s conftest.$ac_objext'
114075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114076 (eval $ac_try) 2>&5
114077 ac_status=$?
114078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114079 (exit $ac_status); }; }; then
114080 ac_cv_type_uint64_t=yes
114081 else
114082 echo "$as_me: failed program was:" >&5
114083 sed 's/^/| /' conftest.$ac_ext >&5
114084
114085 ac_cv_type_uint64_t=no
114086 fi
114087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114088 fi
114089 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
114090 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
114091 if test $ac_cv_type_uint64_t = yes; then
114092 :
114093 else
114094 acx_cv_header_stdint_kind="(lacks uint64_t)"
114095 fi
114096
114097 break
114098 done
114099 if test "$acx_cv_header_stdint" = stddef.h; then
114100 acx_cv_header_stdint_kind="(lacks uintmax_t)"
114101 for i in stdint.h $inttype_headers; do
114102 unset ac_cv_type_uintptr_t
114103 unset ac_cv_type_uint32_t
114104 unset ac_cv_type_uint64_t
114105 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
114106 echo "$as_me:$LINENO: checking for uint32_t" >&5
114107 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
114108 if test "${ac_cv_type_uint32_t+set}" = set; then
114109 echo $ECHO_N "(cached) $ECHO_C" >&6
114110 else
114111 cat >conftest.$ac_ext <<_ACEOF
114112 /* confdefs.h. */
114113 _ACEOF
114114 cat confdefs.h >>conftest.$ac_ext
114115 cat >>conftest.$ac_ext <<_ACEOF
114116 /* end confdefs.h. */
114117 #include <sys/types.h>
114118 #include <$i>
114119
114120 int
114121 main ()
114122 {
114123 if ((uint32_t *) 0)
114124 return 0;
114125 if (sizeof (uint32_t))
114126 return 0;
114127 ;
114128 return 0;
114129 }
114130 _ACEOF
114131 rm -f conftest.$ac_objext
114132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114133 (eval $ac_compile) 2>conftest.er1
114134 ac_status=$?
114135 grep -v '^ *+' conftest.er1 >conftest.err
114136 rm -f conftest.er1
114137 cat conftest.err >&5
114138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114139 (exit $ac_status); } &&
114140 { ac_try='test -z "$ac_c_werror_flag"
114141 || test ! -s conftest.err'
114142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114143 (eval $ac_try) 2>&5
114144 ac_status=$?
114145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114146 (exit $ac_status); }; } &&
114147 { ac_try='test -s conftest.$ac_objext'
114148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114149 (eval $ac_try) 2>&5
114150 ac_status=$?
114151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114152 (exit $ac_status); }; }; then
114153 ac_cv_type_uint32_t=yes
114154 else
114155 echo "$as_me: failed program was:" >&5
114156 sed 's/^/| /' conftest.$ac_ext >&5
114157
114158 ac_cv_type_uint32_t=no
114159 fi
114160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114161 fi
114162 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
114163 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
114164 if test $ac_cv_type_uint32_t = yes; then
114165 acx_cv_header_stdint=$i
114166 else
114167 continue
114168 fi
114169
114170 echo "$as_me:$LINENO: checking for uint64_t" >&5
114171 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
114172 if test "${ac_cv_type_uint64_t+set}" = set; then
114173 echo $ECHO_N "(cached) $ECHO_C" >&6
114174 else
114175 cat >conftest.$ac_ext <<_ACEOF
114176 /* confdefs.h. */
114177 _ACEOF
114178 cat confdefs.h >>conftest.$ac_ext
114179 cat >>conftest.$ac_ext <<_ACEOF
114180 /* end confdefs.h. */
114181 #include <sys/types.h>
114182 #include <$i>
114183
114184 int
114185 main ()
114186 {
114187 if ((uint64_t *) 0)
114188 return 0;
114189 if (sizeof (uint64_t))
114190 return 0;
114191 ;
114192 return 0;
114193 }
114194 _ACEOF
114195 rm -f conftest.$ac_objext
114196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114197 (eval $ac_compile) 2>conftest.er1
114198 ac_status=$?
114199 grep -v '^ *+' conftest.er1 >conftest.err
114200 rm -f conftest.er1
114201 cat conftest.err >&5
114202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114203 (exit $ac_status); } &&
114204 { ac_try='test -z "$ac_c_werror_flag"
114205 || test ! -s conftest.err'
114206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114207 (eval $ac_try) 2>&5
114208 ac_status=$?
114209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114210 (exit $ac_status); }; } &&
114211 { ac_try='test -s conftest.$ac_objext'
114212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114213 (eval $ac_try) 2>&5
114214 ac_status=$?
114215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114216 (exit $ac_status); }; }; then
114217 ac_cv_type_uint64_t=yes
114218 else
114219 echo "$as_me: failed program was:" >&5
114220 sed 's/^/| /' conftest.$ac_ext >&5
114221
114222 ac_cv_type_uint64_t=no
114223 fi
114224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114225 fi
114226 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
114227 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
114228
114229 echo "$as_me:$LINENO: checking for uintptr_t" >&5
114230 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
114231 if test "${ac_cv_type_uintptr_t+set}" = set; then
114232 echo $ECHO_N "(cached) $ECHO_C" >&6
114233 else
114234 cat >conftest.$ac_ext <<_ACEOF
114235 /* confdefs.h. */
114236 _ACEOF
114237 cat confdefs.h >>conftest.$ac_ext
114238 cat >>conftest.$ac_ext <<_ACEOF
114239 /* end confdefs.h. */
114240 #include <sys/types.h>
114241 #include <$i>
114242
114243 int
114244 main ()
114245 {
114246 if ((uintptr_t *) 0)
114247 return 0;
114248 if (sizeof (uintptr_t))
114249 return 0;
114250 ;
114251 return 0;
114252 }
114253 _ACEOF
114254 rm -f conftest.$ac_objext
114255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114256 (eval $ac_compile) 2>conftest.er1
114257 ac_status=$?
114258 grep -v '^ *+' conftest.er1 >conftest.err
114259 rm -f conftest.er1
114260 cat conftest.err >&5
114261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114262 (exit $ac_status); } &&
114263 { ac_try='test -z "$ac_c_werror_flag"
114264 || test ! -s conftest.err'
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); }; } &&
114270 { ac_try='test -s conftest.$ac_objext'
114271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114272 (eval $ac_try) 2>&5
114273 ac_status=$?
114274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114275 (exit $ac_status); }; }; then
114276 ac_cv_type_uintptr_t=yes
114277 else
114278 echo "$as_me: failed program was:" >&5
114279 sed 's/^/| /' conftest.$ac_ext >&5
114280
114281 ac_cv_type_uintptr_t=no
114282 fi
114283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114284 fi
114285 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
114286 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
114287
114288 break
114289 done
114290 fi
114291 if test "$acx_cv_header_stdint" = stddef.h; then
114292 acx_cv_header_stdint_kind="(u_intXX_t style)"
114293 for i in sys/types.h $inttype_headers; do
114294 unset ac_cv_type_u_int32_t
114295 unset ac_cv_type_u_int64_t
114296 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
114297 echo "$as_me:$LINENO: checking for u_int32_t" >&5
114298 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
114299 if test "${ac_cv_type_u_int32_t+set}" = set; then
114300 echo $ECHO_N "(cached) $ECHO_C" >&6
114301 else
114302 cat >conftest.$ac_ext <<_ACEOF
114303 /* confdefs.h. */
114304 _ACEOF
114305 cat confdefs.h >>conftest.$ac_ext
114306 cat >>conftest.$ac_ext <<_ACEOF
114307 /* end confdefs.h. */
114308 #include <sys/types.h>
114309 #include <$i>
114310
114311 int
114312 main ()
114313 {
114314 if ((u_int32_t *) 0)
114315 return 0;
114316 if (sizeof (u_int32_t))
114317 return 0;
114318 ;
114319 return 0;
114320 }
114321 _ACEOF
114322 rm -f conftest.$ac_objext
114323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114324 (eval $ac_compile) 2>conftest.er1
114325 ac_status=$?
114326 grep -v '^ *+' conftest.er1 >conftest.err
114327 rm -f conftest.er1
114328 cat conftest.err >&5
114329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114330 (exit $ac_status); } &&
114331 { ac_try='test -z "$ac_c_werror_flag"
114332 || test ! -s conftest.err'
114333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114334 (eval $ac_try) 2>&5
114335 ac_status=$?
114336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114337 (exit $ac_status); }; } &&
114338 { ac_try='test -s conftest.$ac_objext'
114339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114340 (eval $ac_try) 2>&5
114341 ac_status=$?
114342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114343 (exit $ac_status); }; }; then
114344 ac_cv_type_u_int32_t=yes
114345 else
114346 echo "$as_me: failed program was:" >&5
114347 sed 's/^/| /' conftest.$ac_ext >&5
114348
114349 ac_cv_type_u_int32_t=no
114350 fi
114351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114352 fi
114353 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
114354 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
114355 if test $ac_cv_type_u_int32_t = yes; then
114356 acx_cv_header_stdint=$i
114357 else
114358 continue
114359 fi
114360
114361 echo "$as_me:$LINENO: checking for u_int64_t" >&5
114362 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
114363 if test "${ac_cv_type_u_int64_t+set}" = set; then
114364 echo $ECHO_N "(cached) $ECHO_C" >&6
114365 else
114366 cat >conftest.$ac_ext <<_ACEOF
114367 /* confdefs.h. */
114368 _ACEOF
114369 cat confdefs.h >>conftest.$ac_ext
114370 cat >>conftest.$ac_ext <<_ACEOF
114371 /* end confdefs.h. */
114372 #include <sys/types.h>
114373 #include <$i>
114374
114375 int
114376 main ()
114377 {
114378 if ((u_int64_t *) 0)
114379 return 0;
114380 if (sizeof (u_int64_t))
114381 return 0;
114382 ;
114383 return 0;
114384 }
114385 _ACEOF
114386 rm -f conftest.$ac_objext
114387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114388 (eval $ac_compile) 2>conftest.er1
114389 ac_status=$?
114390 grep -v '^ *+' conftest.er1 >conftest.err
114391 rm -f conftest.er1
114392 cat conftest.err >&5
114393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114394 (exit $ac_status); } &&
114395 { ac_try='test -z "$ac_c_werror_flag"
114396 || test ! -s conftest.err'
114397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114398 (eval $ac_try) 2>&5
114399 ac_status=$?
114400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114401 (exit $ac_status); }; } &&
114402 { ac_try='test -s conftest.$ac_objext'
114403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114404 (eval $ac_try) 2>&5
114405 ac_status=$?
114406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114407 (exit $ac_status); }; }; then
114408 ac_cv_type_u_int64_t=yes
114409 else
114410 echo "$as_me: failed program was:" >&5
114411 sed 's/^/| /' conftest.$ac_ext >&5
114412
114413 ac_cv_type_u_int64_t=no
114414 fi
114415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114416 fi
114417 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
114418 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
114419
114420 break
114421 done
114422 fi
114423 if test "$acx_cv_header_stdint" = stddef.h; then
114424 acx_cv_header_stdint_kind="(using manual detection)"
114425 fi
114426
114427 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
114428 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
114429 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
114430 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
114431 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
114432
114433 # ----------------- Summarize what we found so far
114434
114435 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
114436 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
114437
114438 case `$as_basename include/gstdint.h ||
114439 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
114440 Xinclude/gstdint.h : 'X\(//\)$' \| \
114441 Xinclude/gstdint.h : 'X\(/\)$' \| \
114442 . : '\(.\)' 2>/dev/null ||
114443 echo X/include/gstdint.h |
114444 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
114445 /^X\/\(\/\/\)$/{ s//\1/; q; }
114446 /^X\/\(\/\).*/{ s//\1/; q; }
114447 s/.*/./; q'` in
114448 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
114449 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
114450 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
114451 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
114452 *) ;;
114453 esac
114454
114455 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
114456 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
114457
114458 # ----------------- done included file, check C basic types --------
114459
114460 # Lacking an uintptr_t? Test size of void *
114461 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
114462 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
114463 echo $ECHO_N "checking for void *... $ECHO_C" >&6
114464 if test "${ac_cv_type_void_p+set}" = set; then
114465 echo $ECHO_N "(cached) $ECHO_C" >&6
114466 else
114467 cat >conftest.$ac_ext <<_ACEOF
114468 /* confdefs.h. */
114469 _ACEOF
114470 cat confdefs.h >>conftest.$ac_ext
114471 cat >>conftest.$ac_ext <<_ACEOF
114472 /* end confdefs.h. */
114473 $ac_includes_default
114474 int
114475 main ()
114476 {
114477 if ((void * *) 0)
114478 return 0;
114479 if (sizeof (void *))
114480 return 0;
114481 ;
114482 return 0;
114483 }
114484 _ACEOF
114485 rm -f conftest.$ac_objext
114486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114487 (eval $ac_compile) 2>conftest.er1
114488 ac_status=$?
114489 grep -v '^ *+' conftest.er1 >conftest.err
114490 rm -f conftest.er1
114491 cat conftest.err >&5
114492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114493 (exit $ac_status); } &&
114494 { ac_try='test -z "$ac_c_werror_flag"
114495 || test ! -s conftest.err'
114496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114497 (eval $ac_try) 2>&5
114498 ac_status=$?
114499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114500 (exit $ac_status); }; } &&
114501 { ac_try='test -s conftest.$ac_objext'
114502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114503 (eval $ac_try) 2>&5
114504 ac_status=$?
114505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114506 (exit $ac_status); }; }; then
114507 ac_cv_type_void_p=yes
114508 else
114509 echo "$as_me: failed program was:" >&5
114510 sed 's/^/| /' conftest.$ac_ext >&5
114511
114512 ac_cv_type_void_p=no
114513 fi
114514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114515 fi
114516 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
114517 echo "${ECHO_T}$ac_cv_type_void_p" >&6
114518
114519 echo "$as_me:$LINENO: checking size of void *" >&5
114520 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
114521 if test "${ac_cv_sizeof_void_p+set}" = set; then
114522 echo $ECHO_N "(cached) $ECHO_C" >&6
114523 else
114524 if test "$ac_cv_type_void_p" = yes; then
114525 # The cast to unsigned long works around a bug in the HP C Compiler
114526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
114527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
114528 # This bug is HP SR number 8606223364.
114529 if test "$cross_compiling" = yes; then
114530 # Depending upon the size, compute the lo and hi bounds.
114531 cat >conftest.$ac_ext <<_ACEOF
114532 /* confdefs.h. */
114533 _ACEOF
114534 cat confdefs.h >>conftest.$ac_ext
114535 cat >>conftest.$ac_ext <<_ACEOF
114536 /* end confdefs.h. */
114537 $ac_includes_default
114538 int
114539 main ()
114540 {
114541 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
114542 test_array [0] = 0
114543
114544 ;
114545 return 0;
114546 }
114547 _ACEOF
114548 rm -f conftest.$ac_objext
114549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114550 (eval $ac_compile) 2>conftest.er1
114551 ac_status=$?
114552 grep -v '^ *+' conftest.er1 >conftest.err
114553 rm -f conftest.er1
114554 cat conftest.err >&5
114555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114556 (exit $ac_status); } &&
114557 { ac_try='test -z "$ac_c_werror_flag"
114558 || test ! -s conftest.err'
114559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114560 (eval $ac_try) 2>&5
114561 ac_status=$?
114562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114563 (exit $ac_status); }; } &&
114564 { ac_try='test -s conftest.$ac_objext'
114565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114566 (eval $ac_try) 2>&5
114567 ac_status=$?
114568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114569 (exit $ac_status); }; }; then
114570 ac_lo=0 ac_mid=0
114571 while :; do
114572 cat >conftest.$ac_ext <<_ACEOF
114573 /* confdefs.h. */
114574 _ACEOF
114575 cat confdefs.h >>conftest.$ac_ext
114576 cat >>conftest.$ac_ext <<_ACEOF
114577 /* end confdefs.h. */
114578 $ac_includes_default
114579 int
114580 main ()
114581 {
114582 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
114583 test_array [0] = 0
114584
114585 ;
114586 return 0;
114587 }
114588 _ACEOF
114589 rm -f conftest.$ac_objext
114590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114591 (eval $ac_compile) 2>conftest.er1
114592 ac_status=$?
114593 grep -v '^ *+' conftest.er1 >conftest.err
114594 rm -f conftest.er1
114595 cat conftest.err >&5
114596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114597 (exit $ac_status); } &&
114598 { ac_try='test -z "$ac_c_werror_flag"
114599 || test ! -s conftest.err'
114600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114601 (eval $ac_try) 2>&5
114602 ac_status=$?
114603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114604 (exit $ac_status); }; } &&
114605 { ac_try='test -s conftest.$ac_objext'
114606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114607 (eval $ac_try) 2>&5
114608 ac_status=$?
114609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114610 (exit $ac_status); }; }; then
114611 ac_hi=$ac_mid; break
114612 else
114613 echo "$as_me: failed program was:" >&5
114614 sed 's/^/| /' conftest.$ac_ext >&5
114615
114616 ac_lo=`expr $ac_mid + 1`
114617 if test $ac_lo -le $ac_mid; then
114618 ac_lo= ac_hi=
114619 break
114620 fi
114621 ac_mid=`expr 2 '*' $ac_mid + 1`
114622 fi
114623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114624 done
114625 else
114626 echo "$as_me: failed program was:" >&5
114627 sed 's/^/| /' conftest.$ac_ext >&5
114628
114629 cat >conftest.$ac_ext <<_ACEOF
114630 /* confdefs.h. */
114631 _ACEOF
114632 cat confdefs.h >>conftest.$ac_ext
114633 cat >>conftest.$ac_ext <<_ACEOF
114634 /* end confdefs.h. */
114635 $ac_includes_default
114636 int
114637 main ()
114638 {
114639 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
114640 test_array [0] = 0
114641
114642 ;
114643 return 0;
114644 }
114645 _ACEOF
114646 rm -f conftest.$ac_objext
114647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114648 (eval $ac_compile) 2>conftest.er1
114649 ac_status=$?
114650 grep -v '^ *+' conftest.er1 >conftest.err
114651 rm -f conftest.er1
114652 cat conftest.err >&5
114653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114654 (exit $ac_status); } &&
114655 { ac_try='test -z "$ac_c_werror_flag"
114656 || test ! -s conftest.err'
114657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114658 (eval $ac_try) 2>&5
114659 ac_status=$?
114660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114661 (exit $ac_status); }; } &&
114662 { ac_try='test -s conftest.$ac_objext'
114663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114664 (eval $ac_try) 2>&5
114665 ac_status=$?
114666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114667 (exit $ac_status); }; }; then
114668 ac_hi=-1 ac_mid=-1
114669 while :; do
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 int
114678 main ()
114679 {
114680 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
114681 test_array [0] = 0
114682
114683 ;
114684 return 0;
114685 }
114686 _ACEOF
114687 rm -f conftest.$ac_objext
114688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114689 (eval $ac_compile) 2>conftest.er1
114690 ac_status=$?
114691 grep -v '^ *+' conftest.er1 >conftest.err
114692 rm -f conftest.er1
114693 cat conftest.err >&5
114694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114695 (exit $ac_status); } &&
114696 { ac_try='test -z "$ac_c_werror_flag"
114697 || test ! -s conftest.err'
114698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114699 (eval $ac_try) 2>&5
114700 ac_status=$?
114701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114702 (exit $ac_status); }; } &&
114703 { ac_try='test -s conftest.$ac_objext'
114704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114705 (eval $ac_try) 2>&5
114706 ac_status=$?
114707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114708 (exit $ac_status); }; }; then
114709 ac_lo=$ac_mid; break
114710 else
114711 echo "$as_me: failed program was:" >&5
114712 sed 's/^/| /' conftest.$ac_ext >&5
114713
114714 ac_hi=`expr '(' $ac_mid ')' - 1`
114715 if test $ac_mid -le $ac_hi; then
114716 ac_lo= ac_hi=
114717 break
114718 fi
114719 ac_mid=`expr 2 '*' $ac_mid`
114720 fi
114721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114722 done
114723 else
114724 echo "$as_me: failed program was:" >&5
114725 sed 's/^/| /' conftest.$ac_ext >&5
114726
114727 ac_lo= ac_hi=
114728 fi
114729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114730 fi
114731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114732 # Binary search between lo and hi bounds.
114733 while test "x$ac_lo" != "x$ac_hi"; do
114734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
114735 cat >conftest.$ac_ext <<_ACEOF
114736 /* confdefs.h. */
114737 _ACEOF
114738 cat confdefs.h >>conftest.$ac_ext
114739 cat >>conftest.$ac_ext <<_ACEOF
114740 /* end confdefs.h. */
114741 $ac_includes_default
114742 int
114743 main ()
114744 {
114745 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
114746 test_array [0] = 0
114747
114748 ;
114749 return 0;
114750 }
114751 _ACEOF
114752 rm -f conftest.$ac_objext
114753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114754 (eval $ac_compile) 2>conftest.er1
114755 ac_status=$?
114756 grep -v '^ *+' conftest.er1 >conftest.err
114757 rm -f conftest.er1
114758 cat conftest.err >&5
114759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114760 (exit $ac_status); } &&
114761 { ac_try='test -z "$ac_c_werror_flag"
114762 || test ! -s conftest.err'
114763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114764 (eval $ac_try) 2>&5
114765 ac_status=$?
114766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114767 (exit $ac_status); }; } &&
114768 { ac_try='test -s conftest.$ac_objext'
114769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114770 (eval $ac_try) 2>&5
114771 ac_status=$?
114772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114773 (exit $ac_status); }; }; then
114774 ac_hi=$ac_mid
114775 else
114776 echo "$as_me: failed program was:" >&5
114777 sed 's/^/| /' conftest.$ac_ext >&5
114778
114779 ac_lo=`expr '(' $ac_mid ')' + 1`
114780 fi
114781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114782 done
114783 case $ac_lo in
114784 ?*) ac_cv_sizeof_void_p=$ac_lo;;
114785 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
114786 echo "$as_me: error: in \`$ac_pwd':" >&2;}
114787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
114788 See \`config.log' for more details." >&5
114789 echo "$as_me: error: cannot compute sizeof (void *), 77
114790 See \`config.log' for more details." >&2;}
114791 { (exit 1); exit 1; }; }; } ;;
114792 esac
114793 else
114794 if test "$cross_compiling" = yes; then
114795 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
114796 echo "$as_me: error: in \`$ac_pwd':" >&2;}
114797 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
114798 See \`config.log' for more details." >&5
114799 echo "$as_me: error: cannot run test program while cross compiling
114800 See \`config.log' for more details." >&2;}
114801 { (exit 1); exit 1; }; }; }
114802 else
114803 cat >conftest.$ac_ext <<_ACEOF
114804 /* confdefs.h. */
114805 _ACEOF
114806 cat confdefs.h >>conftest.$ac_ext
114807 cat >>conftest.$ac_ext <<_ACEOF
114808 /* end confdefs.h. */
114809 $ac_includes_default
114810 long longval () { return (long) (sizeof (void *)); }
114811 unsigned long ulongval () { return (long) (sizeof (void *)); }
114812 #include <stdio.h>
114813 #include <stdlib.h>
114814 int
114815 main ()
114816 {
114817
114818 FILE *f = fopen ("conftest.val", "w");
114819 if (! f)
114820 exit (1);
114821 if (((long) (sizeof (void *))) < 0)
114822 {
114823 long i = longval ();
114824 if (i != ((long) (sizeof (void *))))
114825 exit (1);
114826 fprintf (f, "%ld\n", i);
114827 }
114828 else
114829 {
114830 unsigned long i = ulongval ();
114831 if (i != ((long) (sizeof (void *))))
114832 exit (1);
114833 fprintf (f, "%lu\n", i);
114834 }
114835 exit (ferror (f) || fclose (f) != 0);
114836
114837 ;
114838 return 0;
114839 }
114840 _ACEOF
114841 rm -f conftest$ac_exeext
114842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114843 (eval $ac_link) 2>&5
114844 ac_status=$?
114845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
114847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114848 (eval $ac_try) 2>&5
114849 ac_status=$?
114850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114851 (exit $ac_status); }; }; then
114852 ac_cv_sizeof_void_p=`cat conftest.val`
114853 else
114854 echo "$as_me: program exited with status $ac_status" >&5
114855 echo "$as_me: failed program was:" >&5
114856 sed 's/^/| /' conftest.$ac_ext >&5
114857
114858 ( exit $ac_status )
114859 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
114860 echo "$as_me: error: in \`$ac_pwd':" >&2;}
114861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
114862 See \`config.log' for more details." >&5
114863 echo "$as_me: error: cannot compute sizeof (void *), 77
114864 See \`config.log' for more details." >&2;}
114865 { (exit 1); exit 1; }; }; }
114866 fi
114867 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
114868 fi
114869 fi
114870 rm -f conftest.val
114871 else
114872 ac_cv_sizeof_void_p=0
114873 fi
114874 fi
114875 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
114876 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
114877 cat >>confdefs.h <<_ACEOF
114878 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
114879 _ACEOF
114880
114881 ;;
114882 esac
114883
114884 # Lacking an uint64_t? Test size of long
114885 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
114886 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
114887 echo $ECHO_N "checking for long... $ECHO_C" >&6
114888 if test "${ac_cv_type_long+set}" = set; then
114889 echo $ECHO_N "(cached) $ECHO_C" >&6
114890 else
114891 cat >conftest.$ac_ext <<_ACEOF
114892 /* confdefs.h. */
114893 _ACEOF
114894 cat confdefs.h >>conftest.$ac_ext
114895 cat >>conftest.$ac_ext <<_ACEOF
114896 /* end confdefs.h. */
114897 $ac_includes_default
114898 int
114899 main ()
114900 {
114901 if ((long *) 0)
114902 return 0;
114903 if (sizeof (long))
114904 return 0;
114905 ;
114906 return 0;
114907 }
114908 _ACEOF
114909 rm -f conftest.$ac_objext
114910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114911 (eval $ac_compile) 2>conftest.er1
114912 ac_status=$?
114913 grep -v '^ *+' conftest.er1 >conftest.err
114914 rm -f conftest.er1
114915 cat conftest.err >&5
114916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114917 (exit $ac_status); } &&
114918 { ac_try='test -z "$ac_c_werror_flag"
114919 || test ! -s conftest.err'
114920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114921 (eval $ac_try) 2>&5
114922 ac_status=$?
114923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114924 (exit $ac_status); }; } &&
114925 { ac_try='test -s conftest.$ac_objext'
114926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114927 (eval $ac_try) 2>&5
114928 ac_status=$?
114929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114930 (exit $ac_status); }; }; then
114931 ac_cv_type_long=yes
114932 else
114933 echo "$as_me: failed program was:" >&5
114934 sed 's/^/| /' conftest.$ac_ext >&5
114935
114936 ac_cv_type_long=no
114937 fi
114938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114939 fi
114940 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
114941 echo "${ECHO_T}$ac_cv_type_long" >&6
114942
114943 echo "$as_me:$LINENO: checking size of long" >&5
114944 echo $ECHO_N "checking size of long... $ECHO_C" >&6
114945 if test "${ac_cv_sizeof_long+set}" = set; then
114946 echo $ECHO_N "(cached) $ECHO_C" >&6
114947 else
114948 if test "$ac_cv_type_long" = yes; then
114949 # The cast to unsigned long works around a bug in the HP C Compiler
114950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
114951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
114952 # This bug is HP SR number 8606223364.
114953 if test "$cross_compiling" = yes; then
114954 # Depending upon the size, compute the lo and hi bounds.
114955 cat >conftest.$ac_ext <<_ACEOF
114956 /* confdefs.h. */
114957 _ACEOF
114958 cat confdefs.h >>conftest.$ac_ext
114959 cat >>conftest.$ac_ext <<_ACEOF
114960 /* end confdefs.h. */
114961 $ac_includes_default
114962 int
114963 main ()
114964 {
114965 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
114966 test_array [0] = 0
114967
114968 ;
114969 return 0;
114970 }
114971 _ACEOF
114972 rm -f conftest.$ac_objext
114973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114974 (eval $ac_compile) 2>conftest.er1
114975 ac_status=$?
114976 grep -v '^ *+' conftest.er1 >conftest.err
114977 rm -f conftest.er1
114978 cat conftest.err >&5
114979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114980 (exit $ac_status); } &&
114981 { ac_try='test -z "$ac_c_werror_flag"
114982 || test ! -s conftest.err'
114983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114984 (eval $ac_try) 2>&5
114985 ac_status=$?
114986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114987 (exit $ac_status); }; } &&
114988 { ac_try='test -s conftest.$ac_objext'
114989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114990 (eval $ac_try) 2>&5
114991 ac_status=$?
114992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114993 (exit $ac_status); }; }; then
114994 ac_lo=0 ac_mid=0
114995 while :; do
114996 cat >conftest.$ac_ext <<_ACEOF
114997 /* confdefs.h. */
114998 _ACEOF
114999 cat confdefs.h >>conftest.$ac_ext
115000 cat >>conftest.$ac_ext <<_ACEOF
115001 /* end confdefs.h. */
115002 $ac_includes_default
115003 int
115004 main ()
115005 {
115006 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
115007 test_array [0] = 0
115008
115009 ;
115010 return 0;
115011 }
115012 _ACEOF
115013 rm -f conftest.$ac_objext
115014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115015 (eval $ac_compile) 2>conftest.er1
115016 ac_status=$?
115017 grep -v '^ *+' conftest.er1 >conftest.err
115018 rm -f conftest.er1
115019 cat conftest.err >&5
115020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115021 (exit $ac_status); } &&
115022 { ac_try='test -z "$ac_c_werror_flag"
115023 || test ! -s conftest.err'
115024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115025 (eval $ac_try) 2>&5
115026 ac_status=$?
115027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115028 (exit $ac_status); }; } &&
115029 { ac_try='test -s conftest.$ac_objext'
115030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115031 (eval $ac_try) 2>&5
115032 ac_status=$?
115033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115034 (exit $ac_status); }; }; then
115035 ac_hi=$ac_mid; break
115036 else
115037 echo "$as_me: failed program was:" >&5
115038 sed 's/^/| /' conftest.$ac_ext >&5
115039
115040 ac_lo=`expr $ac_mid + 1`
115041 if test $ac_lo -le $ac_mid; then
115042 ac_lo= ac_hi=
115043 break
115044 fi
115045 ac_mid=`expr 2 '*' $ac_mid + 1`
115046 fi
115047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115048 done
115049 else
115050 echo "$as_me: failed program was:" >&5
115051 sed 's/^/| /' conftest.$ac_ext >&5
115052
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 $ac_includes_default
115060 int
115061 main ()
115062 {
115063 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
115064 test_array [0] = 0
115065
115066 ;
115067 return 0;
115068 }
115069 _ACEOF
115070 rm -f conftest.$ac_objext
115071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115072 (eval $ac_compile) 2>conftest.er1
115073 ac_status=$?
115074 grep -v '^ *+' conftest.er1 >conftest.err
115075 rm -f conftest.er1
115076 cat conftest.err >&5
115077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115078 (exit $ac_status); } &&
115079 { ac_try='test -z "$ac_c_werror_flag"
115080 || test ! -s conftest.err'
115081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115082 (eval $ac_try) 2>&5
115083 ac_status=$?
115084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115085 (exit $ac_status); }; } &&
115086 { ac_try='test -s conftest.$ac_objext'
115087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115088 (eval $ac_try) 2>&5
115089 ac_status=$?
115090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115091 (exit $ac_status); }; }; then
115092 ac_hi=-1 ac_mid=-1
115093 while :; do
115094 cat >conftest.$ac_ext <<_ACEOF
115095 /* confdefs.h. */
115096 _ACEOF
115097 cat confdefs.h >>conftest.$ac_ext
115098 cat >>conftest.$ac_ext <<_ACEOF
115099 /* end confdefs.h. */
115100 $ac_includes_default
115101 int
115102 main ()
115103 {
115104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
115105 test_array [0] = 0
115106
115107 ;
115108 return 0;
115109 }
115110 _ACEOF
115111 rm -f conftest.$ac_objext
115112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115113 (eval $ac_compile) 2>conftest.er1
115114 ac_status=$?
115115 grep -v '^ *+' conftest.er1 >conftest.err
115116 rm -f conftest.er1
115117 cat conftest.err >&5
115118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115119 (exit $ac_status); } &&
115120 { ac_try='test -z "$ac_c_werror_flag"
115121 || test ! -s conftest.err'
115122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115123 (eval $ac_try) 2>&5
115124 ac_status=$?
115125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115126 (exit $ac_status); }; } &&
115127 { ac_try='test -s conftest.$ac_objext'
115128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115129 (eval $ac_try) 2>&5
115130 ac_status=$?
115131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115132 (exit $ac_status); }; }; then
115133 ac_lo=$ac_mid; break
115134 else
115135 echo "$as_me: failed program was:" >&5
115136 sed 's/^/| /' conftest.$ac_ext >&5
115137
115138 ac_hi=`expr '(' $ac_mid ')' - 1`
115139 if test $ac_mid -le $ac_hi; then
115140 ac_lo= ac_hi=
115141 break
115142 fi
115143 ac_mid=`expr 2 '*' $ac_mid`
115144 fi
115145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115146 done
115147 else
115148 echo "$as_me: failed program was:" >&5
115149 sed 's/^/| /' conftest.$ac_ext >&5
115150
115151 ac_lo= ac_hi=
115152 fi
115153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115154 fi
115155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115156 # Binary search between lo and hi bounds.
115157 while test "x$ac_lo" != "x$ac_hi"; do
115158 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
115159 cat >conftest.$ac_ext <<_ACEOF
115160 /* confdefs.h. */
115161 _ACEOF
115162 cat confdefs.h >>conftest.$ac_ext
115163 cat >>conftest.$ac_ext <<_ACEOF
115164 /* end confdefs.h. */
115165 $ac_includes_default
115166 int
115167 main ()
115168 {
115169 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
115170 test_array [0] = 0
115171
115172 ;
115173 return 0;
115174 }
115175 _ACEOF
115176 rm -f conftest.$ac_objext
115177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115178 (eval $ac_compile) 2>conftest.er1
115179 ac_status=$?
115180 grep -v '^ *+' conftest.er1 >conftest.err
115181 rm -f conftest.er1
115182 cat conftest.err >&5
115183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115184 (exit $ac_status); } &&
115185 { ac_try='test -z "$ac_c_werror_flag"
115186 || test ! -s conftest.err'
115187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115188 (eval $ac_try) 2>&5
115189 ac_status=$?
115190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115191 (exit $ac_status); }; } &&
115192 { ac_try='test -s conftest.$ac_objext'
115193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115194 (eval $ac_try) 2>&5
115195 ac_status=$?
115196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115197 (exit $ac_status); }; }; then
115198 ac_hi=$ac_mid
115199 else
115200 echo "$as_me: failed program was:" >&5
115201 sed 's/^/| /' conftest.$ac_ext >&5
115202
115203 ac_lo=`expr '(' $ac_mid ')' + 1`
115204 fi
115205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115206 done
115207 case $ac_lo in
115208 ?*) ac_cv_sizeof_long=$ac_lo;;
115209 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115210 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
115212 See \`config.log' for more details." >&5
115213 echo "$as_me: error: cannot compute sizeof (long), 77
115214 See \`config.log' for more details." >&2;}
115215 { (exit 1); exit 1; }; }; } ;;
115216 esac
115217 else
115218 if test "$cross_compiling" = yes; then
115219 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115220 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115221 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
115222 See \`config.log' for more details." >&5
115223 echo "$as_me: error: cannot run test program while cross compiling
115224 See \`config.log' for more details." >&2;}
115225 { (exit 1); exit 1; }; }; }
115226 else
115227 cat >conftest.$ac_ext <<_ACEOF
115228 /* confdefs.h. */
115229 _ACEOF
115230 cat confdefs.h >>conftest.$ac_ext
115231 cat >>conftest.$ac_ext <<_ACEOF
115232 /* end confdefs.h. */
115233 $ac_includes_default
115234 long longval () { return (long) (sizeof (long)); }
115235 unsigned long ulongval () { return (long) (sizeof (long)); }
115236 #include <stdio.h>
115237 #include <stdlib.h>
115238 int
115239 main ()
115240 {
115241
115242 FILE *f = fopen ("conftest.val", "w");
115243 if (! f)
115244 exit (1);
115245 if (((long) (sizeof (long))) < 0)
115246 {
115247 long i = longval ();
115248 if (i != ((long) (sizeof (long))))
115249 exit (1);
115250 fprintf (f, "%ld\n", i);
115251 }
115252 else
115253 {
115254 unsigned long i = ulongval ();
115255 if (i != ((long) (sizeof (long))))
115256 exit (1);
115257 fprintf (f, "%lu\n", i);
115258 }
115259 exit (ferror (f) || fclose (f) != 0);
115260
115261 ;
115262 return 0;
115263 }
115264 _ACEOF
115265 rm -f conftest$ac_exeext
115266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115267 (eval $ac_link) 2>&5
115268 ac_status=$?
115269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
115271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115272 (eval $ac_try) 2>&5
115273 ac_status=$?
115274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115275 (exit $ac_status); }; }; then
115276 ac_cv_sizeof_long=`cat conftest.val`
115277 else
115278 echo "$as_me: program exited with status $ac_status" >&5
115279 echo "$as_me: failed program was:" >&5
115280 sed 's/^/| /' conftest.$ac_ext >&5
115281
115282 ( exit $ac_status )
115283 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115284 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
115286 See \`config.log' for more details." >&5
115287 echo "$as_me: error: cannot compute sizeof (long), 77
115288 See \`config.log' for more details." >&2;}
115289 { (exit 1); exit 1; }; }; }
115290 fi
115291 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
115292 fi
115293 fi
115294 rm -f conftest.val
115295 else
115296 ac_cv_sizeof_long=0
115297 fi
115298 fi
115299 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
115300 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
115301 cat >>confdefs.h <<_ACEOF
115302 #define SIZEOF_LONG $ac_cv_sizeof_long
115303 _ACEOF
115304
115305 ;;
115306 esac
115307
115308 if test $acx_cv_header_stdint = stddef.h; then
115309 # Lacking a good header? Test size of everything and deduce all types.
115310 echo "$as_me:$LINENO: checking for int" >&5
115311 echo $ECHO_N "checking for int... $ECHO_C" >&6
115312 if test "${ac_cv_type_int+set}" = set; then
115313 echo $ECHO_N "(cached) $ECHO_C" >&6
115314 else
115315 cat >conftest.$ac_ext <<_ACEOF
115316 /* confdefs.h. */
115317 _ACEOF
115318 cat confdefs.h >>conftest.$ac_ext
115319 cat >>conftest.$ac_ext <<_ACEOF
115320 /* end confdefs.h. */
115321 $ac_includes_default
115322 int
115323 main ()
115324 {
115325 if ((int *) 0)
115326 return 0;
115327 if (sizeof (int))
115328 return 0;
115329 ;
115330 return 0;
115331 }
115332 _ACEOF
115333 rm -f conftest.$ac_objext
115334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115335 (eval $ac_compile) 2>conftest.er1
115336 ac_status=$?
115337 grep -v '^ *+' conftest.er1 >conftest.err
115338 rm -f conftest.er1
115339 cat conftest.err >&5
115340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115341 (exit $ac_status); } &&
115342 { ac_try='test -z "$ac_c_werror_flag"
115343 || test ! -s conftest.err'
115344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115345 (eval $ac_try) 2>&5
115346 ac_status=$?
115347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115348 (exit $ac_status); }; } &&
115349 { ac_try='test -s conftest.$ac_objext'
115350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115351 (eval $ac_try) 2>&5
115352 ac_status=$?
115353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115354 (exit $ac_status); }; }; then
115355 ac_cv_type_int=yes
115356 else
115357 echo "$as_me: failed program was:" >&5
115358 sed 's/^/| /' conftest.$ac_ext >&5
115359
115360 ac_cv_type_int=no
115361 fi
115362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115363 fi
115364 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
115365 echo "${ECHO_T}$ac_cv_type_int" >&6
115366
115367 echo "$as_me:$LINENO: checking size of int" >&5
115368 echo $ECHO_N "checking size of int... $ECHO_C" >&6
115369 if test "${ac_cv_sizeof_int+set}" = set; then
115370 echo $ECHO_N "(cached) $ECHO_C" >&6
115371 else
115372 if test "$ac_cv_type_int" = yes; then
115373 # The cast to unsigned long works around a bug in the HP C Compiler
115374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115376 # This bug is HP SR number 8606223364.
115377 if test "$cross_compiling" = yes; then
115378 # Depending upon the size, compute the lo and hi bounds.
115379 cat >conftest.$ac_ext <<_ACEOF
115380 /* confdefs.h. */
115381 _ACEOF
115382 cat confdefs.h >>conftest.$ac_ext
115383 cat >>conftest.$ac_ext <<_ACEOF
115384 /* end confdefs.h. */
115385 $ac_includes_default
115386 int
115387 main ()
115388 {
115389 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
115390 test_array [0] = 0
115391
115392 ;
115393 return 0;
115394 }
115395 _ACEOF
115396 rm -f conftest.$ac_objext
115397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115398 (eval $ac_compile) 2>conftest.er1
115399 ac_status=$?
115400 grep -v '^ *+' conftest.er1 >conftest.err
115401 rm -f conftest.er1
115402 cat conftest.err >&5
115403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115404 (exit $ac_status); } &&
115405 { ac_try='test -z "$ac_c_werror_flag"
115406 || test ! -s conftest.err'
115407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115408 (eval $ac_try) 2>&5
115409 ac_status=$?
115410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115411 (exit $ac_status); }; } &&
115412 { ac_try='test -s conftest.$ac_objext'
115413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115414 (eval $ac_try) 2>&5
115415 ac_status=$?
115416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115417 (exit $ac_status); }; }; then
115418 ac_lo=0 ac_mid=0
115419 while :; do
115420 cat >conftest.$ac_ext <<_ACEOF
115421 /* confdefs.h. */
115422 _ACEOF
115423 cat confdefs.h >>conftest.$ac_ext
115424 cat >>conftest.$ac_ext <<_ACEOF
115425 /* end confdefs.h. */
115426 $ac_includes_default
115427 int
115428 main ()
115429 {
115430 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
115431 test_array [0] = 0
115432
115433 ;
115434 return 0;
115435 }
115436 _ACEOF
115437 rm -f conftest.$ac_objext
115438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115439 (eval $ac_compile) 2>conftest.er1
115440 ac_status=$?
115441 grep -v '^ *+' conftest.er1 >conftest.err
115442 rm -f conftest.er1
115443 cat conftest.err >&5
115444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115445 (exit $ac_status); } &&
115446 { ac_try='test -z "$ac_c_werror_flag"
115447 || test ! -s conftest.err'
115448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115449 (eval $ac_try) 2>&5
115450 ac_status=$?
115451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115452 (exit $ac_status); }; } &&
115453 { ac_try='test -s conftest.$ac_objext'
115454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115455 (eval $ac_try) 2>&5
115456 ac_status=$?
115457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115458 (exit $ac_status); }; }; then
115459 ac_hi=$ac_mid; break
115460 else
115461 echo "$as_me: failed program was:" >&5
115462 sed 's/^/| /' conftest.$ac_ext >&5
115463
115464 ac_lo=`expr $ac_mid + 1`
115465 if test $ac_lo -le $ac_mid; then
115466 ac_lo= ac_hi=
115467 break
115468 fi
115469 ac_mid=`expr 2 '*' $ac_mid + 1`
115470 fi
115471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115472 done
115473 else
115474 echo "$as_me: failed program was:" >&5
115475 sed 's/^/| /' conftest.$ac_ext >&5
115476
115477 cat >conftest.$ac_ext <<_ACEOF
115478 /* confdefs.h. */
115479 _ACEOF
115480 cat confdefs.h >>conftest.$ac_ext
115481 cat >>conftest.$ac_ext <<_ACEOF
115482 /* end confdefs.h. */
115483 $ac_includes_default
115484 int
115485 main ()
115486 {
115487 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
115488 test_array [0] = 0
115489
115490 ;
115491 return 0;
115492 }
115493 _ACEOF
115494 rm -f conftest.$ac_objext
115495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115496 (eval $ac_compile) 2>conftest.er1
115497 ac_status=$?
115498 grep -v '^ *+' conftest.er1 >conftest.err
115499 rm -f conftest.er1
115500 cat conftest.err >&5
115501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115502 (exit $ac_status); } &&
115503 { ac_try='test -z "$ac_c_werror_flag"
115504 || test ! -s conftest.err'
115505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115506 (eval $ac_try) 2>&5
115507 ac_status=$?
115508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115509 (exit $ac_status); }; } &&
115510 { ac_try='test -s conftest.$ac_objext'
115511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115512 (eval $ac_try) 2>&5
115513 ac_status=$?
115514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115515 (exit $ac_status); }; }; then
115516 ac_hi=-1 ac_mid=-1
115517 while :; do
115518 cat >conftest.$ac_ext <<_ACEOF
115519 /* confdefs.h. */
115520 _ACEOF
115521 cat confdefs.h >>conftest.$ac_ext
115522 cat >>conftest.$ac_ext <<_ACEOF
115523 /* end confdefs.h. */
115524 $ac_includes_default
115525 int
115526 main ()
115527 {
115528 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
115529 test_array [0] = 0
115530
115531 ;
115532 return 0;
115533 }
115534 _ACEOF
115535 rm -f conftest.$ac_objext
115536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115537 (eval $ac_compile) 2>conftest.er1
115538 ac_status=$?
115539 grep -v '^ *+' conftest.er1 >conftest.err
115540 rm -f conftest.er1
115541 cat conftest.err >&5
115542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115543 (exit $ac_status); } &&
115544 { ac_try='test -z "$ac_c_werror_flag"
115545 || test ! -s conftest.err'
115546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115547 (eval $ac_try) 2>&5
115548 ac_status=$?
115549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115550 (exit $ac_status); }; } &&
115551 { ac_try='test -s conftest.$ac_objext'
115552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115553 (eval $ac_try) 2>&5
115554 ac_status=$?
115555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115556 (exit $ac_status); }; }; then
115557 ac_lo=$ac_mid; break
115558 else
115559 echo "$as_me: failed program was:" >&5
115560 sed 's/^/| /' conftest.$ac_ext >&5
115561
115562 ac_hi=`expr '(' $ac_mid ')' - 1`
115563 if test $ac_mid -le $ac_hi; then
115564 ac_lo= ac_hi=
115565 break
115566 fi
115567 ac_mid=`expr 2 '*' $ac_mid`
115568 fi
115569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115570 done
115571 else
115572 echo "$as_me: failed program was:" >&5
115573 sed 's/^/| /' conftest.$ac_ext >&5
115574
115575 ac_lo= ac_hi=
115576 fi
115577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115578 fi
115579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115580 # Binary search between lo and hi bounds.
115581 while test "x$ac_lo" != "x$ac_hi"; do
115582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
115583 cat >conftest.$ac_ext <<_ACEOF
115584 /* confdefs.h. */
115585 _ACEOF
115586 cat confdefs.h >>conftest.$ac_ext
115587 cat >>conftest.$ac_ext <<_ACEOF
115588 /* end confdefs.h. */
115589 $ac_includes_default
115590 int
115591 main ()
115592 {
115593 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
115594 test_array [0] = 0
115595
115596 ;
115597 return 0;
115598 }
115599 _ACEOF
115600 rm -f conftest.$ac_objext
115601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115602 (eval $ac_compile) 2>conftest.er1
115603 ac_status=$?
115604 grep -v '^ *+' conftest.er1 >conftest.err
115605 rm -f conftest.er1
115606 cat conftest.err >&5
115607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115608 (exit $ac_status); } &&
115609 { ac_try='test -z "$ac_c_werror_flag"
115610 || test ! -s conftest.err'
115611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115612 (eval $ac_try) 2>&5
115613 ac_status=$?
115614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115615 (exit $ac_status); }; } &&
115616 { ac_try='test -s conftest.$ac_objext'
115617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115618 (eval $ac_try) 2>&5
115619 ac_status=$?
115620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115621 (exit $ac_status); }; }; then
115622 ac_hi=$ac_mid
115623 else
115624 echo "$as_me: failed program was:" >&5
115625 sed 's/^/| /' conftest.$ac_ext >&5
115626
115627 ac_lo=`expr '(' $ac_mid ')' + 1`
115628 fi
115629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115630 done
115631 case $ac_lo in
115632 ?*) ac_cv_sizeof_int=$ac_lo;;
115633 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115634 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
115636 See \`config.log' for more details." >&5
115637 echo "$as_me: error: cannot compute sizeof (int), 77
115638 See \`config.log' for more details." >&2;}
115639 { (exit 1); exit 1; }; }; } ;;
115640 esac
115641 else
115642 if test "$cross_compiling" = yes; then
115643 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115644 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115645 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
115646 See \`config.log' for more details." >&5
115647 echo "$as_me: error: cannot run test program while cross compiling
115648 See \`config.log' for more details." >&2;}
115649 { (exit 1); exit 1; }; }; }
115650 else
115651 cat >conftest.$ac_ext <<_ACEOF
115652 /* confdefs.h. */
115653 _ACEOF
115654 cat confdefs.h >>conftest.$ac_ext
115655 cat >>conftest.$ac_ext <<_ACEOF
115656 /* end confdefs.h. */
115657 $ac_includes_default
115658 long longval () { return (long) (sizeof (int)); }
115659 unsigned long ulongval () { return (long) (sizeof (int)); }
115660 #include <stdio.h>
115661 #include <stdlib.h>
115662 int
115663 main ()
115664 {
115665
115666 FILE *f = fopen ("conftest.val", "w");
115667 if (! f)
115668 exit (1);
115669 if (((long) (sizeof (int))) < 0)
115670 {
115671 long i = longval ();
115672 if (i != ((long) (sizeof (int))))
115673 exit (1);
115674 fprintf (f, "%ld\n", i);
115675 }
115676 else
115677 {
115678 unsigned long i = ulongval ();
115679 if (i != ((long) (sizeof (int))))
115680 exit (1);
115681 fprintf (f, "%lu\n", i);
115682 }
115683 exit (ferror (f) || fclose (f) != 0);
115684
115685 ;
115686 return 0;
115687 }
115688 _ACEOF
115689 rm -f conftest$ac_exeext
115690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115691 (eval $ac_link) 2>&5
115692 ac_status=$?
115693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
115695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115696 (eval $ac_try) 2>&5
115697 ac_status=$?
115698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115699 (exit $ac_status); }; }; then
115700 ac_cv_sizeof_int=`cat conftest.val`
115701 else
115702 echo "$as_me: program exited with status $ac_status" >&5
115703 echo "$as_me: failed program was:" >&5
115704 sed 's/^/| /' conftest.$ac_ext >&5
115705
115706 ( exit $ac_status )
115707 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115708 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
115710 See \`config.log' for more details." >&5
115711 echo "$as_me: error: cannot compute sizeof (int), 77
115712 See \`config.log' for more details." >&2;}
115713 { (exit 1); exit 1; }; }; }
115714 fi
115715 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
115716 fi
115717 fi
115718 rm -f conftest.val
115719 else
115720 ac_cv_sizeof_int=0
115721 fi
115722 fi
115723 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
115724 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
115725 cat >>confdefs.h <<_ACEOF
115726 #define SIZEOF_INT $ac_cv_sizeof_int
115727 _ACEOF
115728
115729
115730 echo "$as_me:$LINENO: checking for short" >&5
115731 echo $ECHO_N "checking for short... $ECHO_C" >&6
115732 if test "${ac_cv_type_short+set}" = set; then
115733 echo $ECHO_N "(cached) $ECHO_C" >&6
115734 else
115735 cat >conftest.$ac_ext <<_ACEOF
115736 /* confdefs.h. */
115737 _ACEOF
115738 cat confdefs.h >>conftest.$ac_ext
115739 cat >>conftest.$ac_ext <<_ACEOF
115740 /* end confdefs.h. */
115741 $ac_includes_default
115742 int
115743 main ()
115744 {
115745 if ((short *) 0)
115746 return 0;
115747 if (sizeof (short))
115748 return 0;
115749 ;
115750 return 0;
115751 }
115752 _ACEOF
115753 rm -f conftest.$ac_objext
115754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115755 (eval $ac_compile) 2>conftest.er1
115756 ac_status=$?
115757 grep -v '^ *+' conftest.er1 >conftest.err
115758 rm -f conftest.er1
115759 cat conftest.err >&5
115760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115761 (exit $ac_status); } &&
115762 { ac_try='test -z "$ac_c_werror_flag"
115763 || test ! -s conftest.err'
115764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115765 (eval $ac_try) 2>&5
115766 ac_status=$?
115767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115768 (exit $ac_status); }; } &&
115769 { ac_try='test -s conftest.$ac_objext'
115770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115771 (eval $ac_try) 2>&5
115772 ac_status=$?
115773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115774 (exit $ac_status); }; }; then
115775 ac_cv_type_short=yes
115776 else
115777 echo "$as_me: failed program was:" >&5
115778 sed 's/^/| /' conftest.$ac_ext >&5
115779
115780 ac_cv_type_short=no
115781 fi
115782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115783 fi
115784 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
115785 echo "${ECHO_T}$ac_cv_type_short" >&6
115786
115787 echo "$as_me:$LINENO: checking size of short" >&5
115788 echo $ECHO_N "checking size of short... $ECHO_C" >&6
115789 if test "${ac_cv_sizeof_short+set}" = set; then
115790 echo $ECHO_N "(cached) $ECHO_C" >&6
115791 else
115792 if test "$ac_cv_type_short" = yes; then
115793 # The cast to unsigned long works around a bug in the HP C Compiler
115794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115796 # This bug is HP SR number 8606223364.
115797 if test "$cross_compiling" = yes; then
115798 # Depending upon the size, compute the lo and hi bounds.
115799 cat >conftest.$ac_ext <<_ACEOF
115800 /* confdefs.h. */
115801 _ACEOF
115802 cat confdefs.h >>conftest.$ac_ext
115803 cat >>conftest.$ac_ext <<_ACEOF
115804 /* end confdefs.h. */
115805 $ac_includes_default
115806 int
115807 main ()
115808 {
115809 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
115810 test_array [0] = 0
115811
115812 ;
115813 return 0;
115814 }
115815 _ACEOF
115816 rm -f conftest.$ac_objext
115817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115818 (eval $ac_compile) 2>conftest.er1
115819 ac_status=$?
115820 grep -v '^ *+' conftest.er1 >conftest.err
115821 rm -f conftest.er1
115822 cat conftest.err >&5
115823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115824 (exit $ac_status); } &&
115825 { ac_try='test -z "$ac_c_werror_flag"
115826 || test ! -s conftest.err'
115827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115828 (eval $ac_try) 2>&5
115829 ac_status=$?
115830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115831 (exit $ac_status); }; } &&
115832 { ac_try='test -s conftest.$ac_objext'
115833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115834 (eval $ac_try) 2>&5
115835 ac_status=$?
115836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115837 (exit $ac_status); }; }; then
115838 ac_lo=0 ac_mid=0
115839 while :; do
115840 cat >conftest.$ac_ext <<_ACEOF
115841 /* confdefs.h. */
115842 _ACEOF
115843 cat confdefs.h >>conftest.$ac_ext
115844 cat >>conftest.$ac_ext <<_ACEOF
115845 /* end confdefs.h. */
115846 $ac_includes_default
115847 int
115848 main ()
115849 {
115850 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
115851 test_array [0] = 0
115852
115853 ;
115854 return 0;
115855 }
115856 _ACEOF
115857 rm -f conftest.$ac_objext
115858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115859 (eval $ac_compile) 2>conftest.er1
115860 ac_status=$?
115861 grep -v '^ *+' conftest.er1 >conftest.err
115862 rm -f conftest.er1
115863 cat conftest.err >&5
115864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115865 (exit $ac_status); } &&
115866 { ac_try='test -z "$ac_c_werror_flag"
115867 || test ! -s conftest.err'
115868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115869 (eval $ac_try) 2>&5
115870 ac_status=$?
115871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115872 (exit $ac_status); }; } &&
115873 { ac_try='test -s conftest.$ac_objext'
115874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115875 (eval $ac_try) 2>&5
115876 ac_status=$?
115877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115878 (exit $ac_status); }; }; then
115879 ac_hi=$ac_mid; break
115880 else
115881 echo "$as_me: failed program was:" >&5
115882 sed 's/^/| /' conftest.$ac_ext >&5
115883
115884 ac_lo=`expr $ac_mid + 1`
115885 if test $ac_lo -le $ac_mid; then
115886 ac_lo= ac_hi=
115887 break
115888 fi
115889 ac_mid=`expr 2 '*' $ac_mid + 1`
115890 fi
115891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115892 done
115893 else
115894 echo "$as_me: failed program was:" >&5
115895 sed 's/^/| /' conftest.$ac_ext >&5
115896
115897 cat >conftest.$ac_ext <<_ACEOF
115898 /* confdefs.h. */
115899 _ACEOF
115900 cat confdefs.h >>conftest.$ac_ext
115901 cat >>conftest.$ac_ext <<_ACEOF
115902 /* end confdefs.h. */
115903 $ac_includes_default
115904 int
115905 main ()
115906 {
115907 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
115908 test_array [0] = 0
115909
115910 ;
115911 return 0;
115912 }
115913 _ACEOF
115914 rm -f conftest.$ac_objext
115915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115916 (eval $ac_compile) 2>conftest.er1
115917 ac_status=$?
115918 grep -v '^ *+' conftest.er1 >conftest.err
115919 rm -f conftest.er1
115920 cat conftest.err >&5
115921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115922 (exit $ac_status); } &&
115923 { ac_try='test -z "$ac_c_werror_flag"
115924 || test ! -s conftest.err'
115925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115926 (eval $ac_try) 2>&5
115927 ac_status=$?
115928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115929 (exit $ac_status); }; } &&
115930 { ac_try='test -s conftest.$ac_objext'
115931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115932 (eval $ac_try) 2>&5
115933 ac_status=$?
115934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115935 (exit $ac_status); }; }; then
115936 ac_hi=-1 ac_mid=-1
115937 while :; do
115938 cat >conftest.$ac_ext <<_ACEOF
115939 /* confdefs.h. */
115940 _ACEOF
115941 cat confdefs.h >>conftest.$ac_ext
115942 cat >>conftest.$ac_ext <<_ACEOF
115943 /* end confdefs.h. */
115944 $ac_includes_default
115945 int
115946 main ()
115947 {
115948 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
115949 test_array [0] = 0
115950
115951 ;
115952 return 0;
115953 }
115954 _ACEOF
115955 rm -f conftest.$ac_objext
115956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115957 (eval $ac_compile) 2>conftest.er1
115958 ac_status=$?
115959 grep -v '^ *+' conftest.er1 >conftest.err
115960 rm -f conftest.er1
115961 cat conftest.err >&5
115962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115963 (exit $ac_status); } &&
115964 { ac_try='test -z "$ac_c_werror_flag"
115965 || test ! -s conftest.err'
115966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115967 (eval $ac_try) 2>&5
115968 ac_status=$?
115969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115970 (exit $ac_status); }; } &&
115971 { ac_try='test -s conftest.$ac_objext'
115972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115973 (eval $ac_try) 2>&5
115974 ac_status=$?
115975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115976 (exit $ac_status); }; }; then
115977 ac_lo=$ac_mid; break
115978 else
115979 echo "$as_me: failed program was:" >&5
115980 sed 's/^/| /' conftest.$ac_ext >&5
115981
115982 ac_hi=`expr '(' $ac_mid ')' - 1`
115983 if test $ac_mid -le $ac_hi; then
115984 ac_lo= ac_hi=
115985 break
115986 fi
115987 ac_mid=`expr 2 '*' $ac_mid`
115988 fi
115989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115990 done
115991 else
115992 echo "$as_me: failed program was:" >&5
115993 sed 's/^/| /' conftest.$ac_ext >&5
115994
115995 ac_lo= ac_hi=
115996 fi
115997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115998 fi
115999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116000 # Binary search between lo and hi bounds.
116001 while test "x$ac_lo" != "x$ac_hi"; do
116002 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116003 cat >conftest.$ac_ext <<_ACEOF
116004 /* confdefs.h. */
116005 _ACEOF
116006 cat confdefs.h >>conftest.$ac_ext
116007 cat >>conftest.$ac_ext <<_ACEOF
116008 /* end confdefs.h. */
116009 $ac_includes_default
116010 int
116011 main ()
116012 {
116013 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
116014 test_array [0] = 0
116015
116016 ;
116017 return 0;
116018 }
116019 _ACEOF
116020 rm -f conftest.$ac_objext
116021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116022 (eval $ac_compile) 2>conftest.er1
116023 ac_status=$?
116024 grep -v '^ *+' conftest.er1 >conftest.err
116025 rm -f conftest.er1
116026 cat conftest.err >&5
116027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116028 (exit $ac_status); } &&
116029 { ac_try='test -z "$ac_c_werror_flag"
116030 || test ! -s conftest.err'
116031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116032 (eval $ac_try) 2>&5
116033 ac_status=$?
116034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116035 (exit $ac_status); }; } &&
116036 { ac_try='test -s conftest.$ac_objext'
116037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116038 (eval $ac_try) 2>&5
116039 ac_status=$?
116040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116041 (exit $ac_status); }; }; then
116042 ac_hi=$ac_mid
116043 else
116044 echo "$as_me: failed program was:" >&5
116045 sed 's/^/| /' conftest.$ac_ext >&5
116046
116047 ac_lo=`expr '(' $ac_mid ')' + 1`
116048 fi
116049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116050 done
116051 case $ac_lo in
116052 ?*) ac_cv_sizeof_short=$ac_lo;;
116053 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116054 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
116056 See \`config.log' for more details." >&5
116057 echo "$as_me: error: cannot compute sizeof (short), 77
116058 See \`config.log' for more details." >&2;}
116059 { (exit 1); exit 1; }; }; } ;;
116060 esac
116061 else
116062 if test "$cross_compiling" = yes; then
116063 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116064 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116065 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116066 See \`config.log' for more details." >&5
116067 echo "$as_me: error: cannot run test program while cross compiling
116068 See \`config.log' for more details." >&2;}
116069 { (exit 1); exit 1; }; }; }
116070 else
116071 cat >conftest.$ac_ext <<_ACEOF
116072 /* confdefs.h. */
116073 _ACEOF
116074 cat confdefs.h >>conftest.$ac_ext
116075 cat >>conftest.$ac_ext <<_ACEOF
116076 /* end confdefs.h. */
116077 $ac_includes_default
116078 long longval () { return (long) (sizeof (short)); }
116079 unsigned long ulongval () { return (long) (sizeof (short)); }
116080 #include <stdio.h>
116081 #include <stdlib.h>
116082 int
116083 main ()
116084 {
116085
116086 FILE *f = fopen ("conftest.val", "w");
116087 if (! f)
116088 exit (1);
116089 if (((long) (sizeof (short))) < 0)
116090 {
116091 long i = longval ();
116092 if (i != ((long) (sizeof (short))))
116093 exit (1);
116094 fprintf (f, "%ld\n", i);
116095 }
116096 else
116097 {
116098 unsigned long i = ulongval ();
116099 if (i != ((long) (sizeof (short))))
116100 exit (1);
116101 fprintf (f, "%lu\n", i);
116102 }
116103 exit (ferror (f) || fclose (f) != 0);
116104
116105 ;
116106 return 0;
116107 }
116108 _ACEOF
116109 rm -f conftest$ac_exeext
116110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116111 (eval $ac_link) 2>&5
116112 ac_status=$?
116113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116116 (eval $ac_try) 2>&5
116117 ac_status=$?
116118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116119 (exit $ac_status); }; }; then
116120 ac_cv_sizeof_short=`cat conftest.val`
116121 else
116122 echo "$as_me: program exited with status $ac_status" >&5
116123 echo "$as_me: failed program was:" >&5
116124 sed 's/^/| /' conftest.$ac_ext >&5
116125
116126 ( exit $ac_status )
116127 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116128 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
116130 See \`config.log' for more details." >&5
116131 echo "$as_me: error: cannot compute sizeof (short), 77
116132 See \`config.log' for more details." >&2;}
116133 { (exit 1); exit 1; }; }; }
116134 fi
116135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116136 fi
116137 fi
116138 rm -f conftest.val
116139 else
116140 ac_cv_sizeof_short=0
116141 fi
116142 fi
116143 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
116144 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
116145 cat >>confdefs.h <<_ACEOF
116146 #define SIZEOF_SHORT $ac_cv_sizeof_short
116147 _ACEOF
116148
116149
116150 echo "$as_me:$LINENO: checking for char" >&5
116151 echo $ECHO_N "checking for char... $ECHO_C" >&6
116152 if test "${ac_cv_type_char+set}" = set; then
116153 echo $ECHO_N "(cached) $ECHO_C" >&6
116154 else
116155 cat >conftest.$ac_ext <<_ACEOF
116156 /* confdefs.h. */
116157 _ACEOF
116158 cat confdefs.h >>conftest.$ac_ext
116159 cat >>conftest.$ac_ext <<_ACEOF
116160 /* end confdefs.h. */
116161 $ac_includes_default
116162 int
116163 main ()
116164 {
116165 if ((char *) 0)
116166 return 0;
116167 if (sizeof (char))
116168 return 0;
116169 ;
116170 return 0;
116171 }
116172 _ACEOF
116173 rm -f conftest.$ac_objext
116174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116175 (eval $ac_compile) 2>conftest.er1
116176 ac_status=$?
116177 grep -v '^ *+' conftest.er1 >conftest.err
116178 rm -f conftest.er1
116179 cat conftest.err >&5
116180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116181 (exit $ac_status); } &&
116182 { ac_try='test -z "$ac_c_werror_flag"
116183 || test ! -s conftest.err'
116184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116185 (eval $ac_try) 2>&5
116186 ac_status=$?
116187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116188 (exit $ac_status); }; } &&
116189 { ac_try='test -s conftest.$ac_objext'
116190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116191 (eval $ac_try) 2>&5
116192 ac_status=$?
116193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116194 (exit $ac_status); }; }; then
116195 ac_cv_type_char=yes
116196 else
116197 echo "$as_me: failed program was:" >&5
116198 sed 's/^/| /' conftest.$ac_ext >&5
116199
116200 ac_cv_type_char=no
116201 fi
116202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116203 fi
116204 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
116205 echo "${ECHO_T}$ac_cv_type_char" >&6
116206
116207 echo "$as_me:$LINENO: checking size of char" >&5
116208 echo $ECHO_N "checking size of char... $ECHO_C" >&6
116209 if test "${ac_cv_sizeof_char+set}" = set; then
116210 echo $ECHO_N "(cached) $ECHO_C" >&6
116211 else
116212 if test "$ac_cv_type_char" = yes; then
116213 # The cast to unsigned long works around a bug in the HP C Compiler
116214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116216 # This bug is HP SR number 8606223364.
116217 if test "$cross_compiling" = yes; then
116218 # Depending upon the size, compute the lo and hi bounds.
116219 cat >conftest.$ac_ext <<_ACEOF
116220 /* confdefs.h. */
116221 _ACEOF
116222 cat confdefs.h >>conftest.$ac_ext
116223 cat >>conftest.$ac_ext <<_ACEOF
116224 /* end confdefs.h. */
116225 $ac_includes_default
116226 int
116227 main ()
116228 {
116229 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
116230 test_array [0] = 0
116231
116232 ;
116233 return 0;
116234 }
116235 _ACEOF
116236 rm -f conftest.$ac_objext
116237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116238 (eval $ac_compile) 2>conftest.er1
116239 ac_status=$?
116240 grep -v '^ *+' conftest.er1 >conftest.err
116241 rm -f conftest.er1
116242 cat conftest.err >&5
116243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116244 (exit $ac_status); } &&
116245 { ac_try='test -z "$ac_c_werror_flag"
116246 || test ! -s conftest.err'
116247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116248 (eval $ac_try) 2>&5
116249 ac_status=$?
116250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116251 (exit $ac_status); }; } &&
116252 { ac_try='test -s conftest.$ac_objext'
116253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116254 (eval $ac_try) 2>&5
116255 ac_status=$?
116256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116257 (exit $ac_status); }; }; then
116258 ac_lo=0 ac_mid=0
116259 while :; do
116260 cat >conftest.$ac_ext <<_ACEOF
116261 /* confdefs.h. */
116262 _ACEOF
116263 cat confdefs.h >>conftest.$ac_ext
116264 cat >>conftest.$ac_ext <<_ACEOF
116265 /* end confdefs.h. */
116266 $ac_includes_default
116267 int
116268 main ()
116269 {
116270 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
116271 test_array [0] = 0
116272
116273 ;
116274 return 0;
116275 }
116276 _ACEOF
116277 rm -f conftest.$ac_objext
116278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116279 (eval $ac_compile) 2>conftest.er1
116280 ac_status=$?
116281 grep -v '^ *+' conftest.er1 >conftest.err
116282 rm -f conftest.er1
116283 cat conftest.err >&5
116284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116285 (exit $ac_status); } &&
116286 { ac_try='test -z "$ac_c_werror_flag"
116287 || test ! -s conftest.err'
116288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116289 (eval $ac_try) 2>&5
116290 ac_status=$?
116291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116292 (exit $ac_status); }; } &&
116293 { ac_try='test -s conftest.$ac_objext'
116294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116295 (eval $ac_try) 2>&5
116296 ac_status=$?
116297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116298 (exit $ac_status); }; }; then
116299 ac_hi=$ac_mid; break
116300 else
116301 echo "$as_me: failed program was:" >&5
116302 sed 's/^/| /' conftest.$ac_ext >&5
116303
116304 ac_lo=`expr $ac_mid + 1`
116305 if test $ac_lo -le $ac_mid; then
116306 ac_lo= ac_hi=
116307 break
116308 fi
116309 ac_mid=`expr 2 '*' $ac_mid + 1`
116310 fi
116311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116312 done
116313 else
116314 echo "$as_me: failed program was:" >&5
116315 sed 's/^/| /' conftest.$ac_ext >&5
116316
116317 cat >conftest.$ac_ext <<_ACEOF
116318 /* confdefs.h. */
116319 _ACEOF
116320 cat confdefs.h >>conftest.$ac_ext
116321 cat >>conftest.$ac_ext <<_ACEOF
116322 /* end confdefs.h. */
116323 $ac_includes_default
116324 int
116325 main ()
116326 {
116327 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
116328 test_array [0] = 0
116329
116330 ;
116331 return 0;
116332 }
116333 _ACEOF
116334 rm -f conftest.$ac_objext
116335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116336 (eval $ac_compile) 2>conftest.er1
116337 ac_status=$?
116338 grep -v '^ *+' conftest.er1 >conftest.err
116339 rm -f conftest.er1
116340 cat conftest.err >&5
116341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116342 (exit $ac_status); } &&
116343 { ac_try='test -z "$ac_c_werror_flag"
116344 || test ! -s conftest.err'
116345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116346 (eval $ac_try) 2>&5
116347 ac_status=$?
116348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116349 (exit $ac_status); }; } &&
116350 { ac_try='test -s conftest.$ac_objext'
116351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116352 (eval $ac_try) 2>&5
116353 ac_status=$?
116354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116355 (exit $ac_status); }; }; then
116356 ac_hi=-1 ac_mid=-1
116357 while :; do
116358 cat >conftest.$ac_ext <<_ACEOF
116359 /* confdefs.h. */
116360 _ACEOF
116361 cat confdefs.h >>conftest.$ac_ext
116362 cat >>conftest.$ac_ext <<_ACEOF
116363 /* end confdefs.h. */
116364 $ac_includes_default
116365 int
116366 main ()
116367 {
116368 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
116369 test_array [0] = 0
116370
116371 ;
116372 return 0;
116373 }
116374 _ACEOF
116375 rm -f conftest.$ac_objext
116376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116377 (eval $ac_compile) 2>conftest.er1
116378 ac_status=$?
116379 grep -v '^ *+' conftest.er1 >conftest.err
116380 rm -f conftest.er1
116381 cat conftest.err >&5
116382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116383 (exit $ac_status); } &&
116384 { ac_try='test -z "$ac_c_werror_flag"
116385 || test ! -s conftest.err'
116386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116387 (eval $ac_try) 2>&5
116388 ac_status=$?
116389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116390 (exit $ac_status); }; } &&
116391 { ac_try='test -s conftest.$ac_objext'
116392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116393 (eval $ac_try) 2>&5
116394 ac_status=$?
116395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116396 (exit $ac_status); }; }; then
116397 ac_lo=$ac_mid; break
116398 else
116399 echo "$as_me: failed program was:" >&5
116400 sed 's/^/| /' conftest.$ac_ext >&5
116401
116402 ac_hi=`expr '(' $ac_mid ')' - 1`
116403 if test $ac_mid -le $ac_hi; then
116404 ac_lo= ac_hi=
116405 break
116406 fi
116407 ac_mid=`expr 2 '*' $ac_mid`
116408 fi
116409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116410 done
116411 else
116412 echo "$as_me: failed program was:" >&5
116413 sed 's/^/| /' conftest.$ac_ext >&5
116414
116415 ac_lo= ac_hi=
116416 fi
116417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116418 fi
116419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116420 # Binary search between lo and hi bounds.
116421 while test "x$ac_lo" != "x$ac_hi"; do
116422 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116423 cat >conftest.$ac_ext <<_ACEOF
116424 /* confdefs.h. */
116425 _ACEOF
116426 cat confdefs.h >>conftest.$ac_ext
116427 cat >>conftest.$ac_ext <<_ACEOF
116428 /* end confdefs.h. */
116429 $ac_includes_default
116430 int
116431 main ()
116432 {
116433 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
116434 test_array [0] = 0
116435
116436 ;
116437 return 0;
116438 }
116439 _ACEOF
116440 rm -f conftest.$ac_objext
116441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116442 (eval $ac_compile) 2>conftest.er1
116443 ac_status=$?
116444 grep -v '^ *+' conftest.er1 >conftest.err
116445 rm -f conftest.er1
116446 cat conftest.err >&5
116447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116448 (exit $ac_status); } &&
116449 { ac_try='test -z "$ac_c_werror_flag"
116450 || test ! -s conftest.err'
116451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116452 (eval $ac_try) 2>&5
116453 ac_status=$?
116454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116455 (exit $ac_status); }; } &&
116456 { ac_try='test -s conftest.$ac_objext'
116457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116458 (eval $ac_try) 2>&5
116459 ac_status=$?
116460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116461 (exit $ac_status); }; }; then
116462 ac_hi=$ac_mid
116463 else
116464 echo "$as_me: failed program was:" >&5
116465 sed 's/^/| /' conftest.$ac_ext >&5
116466
116467 ac_lo=`expr '(' $ac_mid ')' + 1`
116468 fi
116469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116470 done
116471 case $ac_lo in
116472 ?*) ac_cv_sizeof_char=$ac_lo;;
116473 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116474 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
116476 See \`config.log' for more details." >&5
116477 echo "$as_me: error: cannot compute sizeof (char), 77
116478 See \`config.log' for more details." >&2;}
116479 { (exit 1); exit 1; }; }; } ;;
116480 esac
116481 else
116482 if test "$cross_compiling" = yes; then
116483 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116484 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116485 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116486 See \`config.log' for more details." >&5
116487 echo "$as_me: error: cannot run test program while cross compiling
116488 See \`config.log' for more details." >&2;}
116489 { (exit 1); exit 1; }; }; }
116490 else
116491 cat >conftest.$ac_ext <<_ACEOF
116492 /* confdefs.h. */
116493 _ACEOF
116494 cat confdefs.h >>conftest.$ac_ext
116495 cat >>conftest.$ac_ext <<_ACEOF
116496 /* end confdefs.h. */
116497 $ac_includes_default
116498 long longval () { return (long) (sizeof (char)); }
116499 unsigned long ulongval () { return (long) (sizeof (char)); }
116500 #include <stdio.h>
116501 #include <stdlib.h>
116502 int
116503 main ()
116504 {
116505
116506 FILE *f = fopen ("conftest.val", "w");
116507 if (! f)
116508 exit (1);
116509 if (((long) (sizeof (char))) < 0)
116510 {
116511 long i = longval ();
116512 if (i != ((long) (sizeof (char))))
116513 exit (1);
116514 fprintf (f, "%ld\n", i);
116515 }
116516 else
116517 {
116518 unsigned long i = ulongval ();
116519 if (i != ((long) (sizeof (char))))
116520 exit (1);
116521 fprintf (f, "%lu\n", i);
116522 }
116523 exit (ferror (f) || fclose (f) != 0);
116524
116525 ;
116526 return 0;
116527 }
116528 _ACEOF
116529 rm -f conftest$ac_exeext
116530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116531 (eval $ac_link) 2>&5
116532 ac_status=$?
116533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116536 (eval $ac_try) 2>&5
116537 ac_status=$?
116538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116539 (exit $ac_status); }; }; then
116540 ac_cv_sizeof_char=`cat conftest.val`
116541 else
116542 echo "$as_me: program exited with status $ac_status" >&5
116543 echo "$as_me: failed program was:" >&5
116544 sed 's/^/| /' conftest.$ac_ext >&5
116545
116546 ( exit $ac_status )
116547 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116548 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
116550 See \`config.log' for more details." >&5
116551 echo "$as_me: error: cannot compute sizeof (char), 77
116552 See \`config.log' for more details." >&2;}
116553 { (exit 1); exit 1; }; }; }
116554 fi
116555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116556 fi
116557 fi
116558 rm -f conftest.val
116559 else
116560 ac_cv_sizeof_char=0
116561 fi
116562 fi
116563 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
116564 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
116565 cat >>confdefs.h <<_ACEOF
116566 #define SIZEOF_CHAR $ac_cv_sizeof_char
116567 _ACEOF
116568
116569
116570
116571 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
116572 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
116573 case "$ac_cv_sizeof_char" in
116574 1) acx_cv_type_int8_t=char ;;
116575 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
116576 echo "$as_me: error: no 8-bit type" >&2;}
116577 { (exit please report a bug); exit please report a bug; }; }
116578 esac
116579 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
116580 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
116581
116582 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
116583 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
116584 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
116585 2:*) acx_cv_type_int16_t=int ;;
116586 *:2) acx_cv_type_int16_t=short ;;
116587 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
116588 echo "$as_me: error: no 16-bit type" >&2;}
116589 { (exit please report a bug); exit please report a bug; }; }
116590 esac
116591 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
116592 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
116593
116594 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
116595 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
116596 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
116597 4:*) acx_cv_type_int32_t=int ;;
116598 *:4) acx_cv_type_int32_t=long ;;
116599 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
116600 echo "$as_me: error: no 32-bit type" >&2;}
116601 { (exit please report a bug); exit please report a bug; }; }
116602 esac
116603 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
116604 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
116605 fi
116606
116607 # These tests are here to make the output prettier
116608
116609 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
116610 case "$ac_cv_sizeof_long" in
116611 8) acx_cv_type_int64_t=long ;;
116612 esac
116613 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
116614 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
116615 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
116616 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
116617 fi
116618
116619 # Now we can use the above types
116620
116621 if test "$ac_cv_type_uintptr_t" != yes; then
116622 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
116623 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
116624 case $ac_cv_sizeof_void_p in
116625 2) acx_cv_type_intptr_t=int16_t ;;
116626 4) acx_cv_type_intptr_t=int32_t ;;
116627 8) acx_cv_type_intptr_t=int64_t ;;
116628 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
116629 echo "$as_me: error: no equivalent for intptr_t" >&2;}
116630 { (exit please report a bug); exit please report a bug; }; }
116631 esac
116632 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
116633 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
116634 fi
116635
116636 # ----------------- done all checks, emit header -------------
116637 ac_config_commands="$ac_config_commands include/gstdint.h"
116638
116639
116640
116641
116642 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
116643
116644
116645 # Check whether --enable-symvers or --disable-symvers was given.
116646 if test "${enable_symvers+set}" = set; then
116647 enableval="$enable_symvers"
116648
116649 case "$enableval" in
116650 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
116651 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
116652 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
116653 { (exit 1); exit 1; }; } ;;
116654 esac
116655
116656 else
116657 enable_symvers=yes
116658 fi;
116659
116660
116661 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
116662 # don't know enough about $LD to do tricks...
116663
116664
116665 # Turn a 'yes' into a suitable default.
116666 if test x$enable_symvers = xyes ; then
116667 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
116668 enable_symvers=no
116669 else
116670 if test $with_gnu_ld = yes ; then
116671 case ${target_os} in
116672 cygwin* | pe | mingw32* | hpux*)
116673 enable_symvers=no ;;
116674 *)
116675 enable_symvers=gnu ;;
116676 esac
116677 else
116678 case ${target_os} in
116679 darwin*)
116680 enable_symvers=darwin ;;
116681 *)
116682 enable_symvers=no ;;
116683 esac
116684 fi
116685 fi
116686 fi
116687
116688 # Check to see if 'darwin' or 'darwin-export' can win.
116689 if test x$enable_symvers = xdarwin-export ; then
116690 enable_symvers=darwin
116691 fi
116692
116693 # Check to see if 'gnu' can win.
116694 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
116695 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
116696 echo "$as_me:$LINENO: checking for shared libgcc" >&5
116697 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
116698 ac_save_CFLAGS="$CFLAGS"
116699 CFLAGS=' -lgcc_s'
116700 if test x$gcc_no_link = xyes; then
116701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116703 { (exit 1); exit 1; }; }
116704 fi
116705 cat >conftest.$ac_ext <<_ACEOF
116706 /* confdefs.h. */
116707 _ACEOF
116708 cat confdefs.h >>conftest.$ac_ext
116709 cat >>conftest.$ac_ext <<_ACEOF
116710 /* end confdefs.h. */
116711
116712 int
116713 main ()
116714 {
116715 return 0;
116716 ;
116717 return 0;
116718 }
116719 _ACEOF
116720 rm -f conftest.$ac_objext conftest$ac_exeext
116721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116722 (eval $ac_link) 2>conftest.er1
116723 ac_status=$?
116724 grep -v '^ *+' conftest.er1 >conftest.err
116725 rm -f conftest.er1
116726 cat conftest.err >&5
116727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116728 (exit $ac_status); } &&
116729 { ac_try='test -z "$ac_c_werror_flag"
116730 || test ! -s conftest.err'
116731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116732 (eval $ac_try) 2>&5
116733 ac_status=$?
116734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116735 (exit $ac_status); }; } &&
116736 { ac_try='test -s conftest$ac_exeext'
116737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116738 (eval $ac_try) 2>&5
116739 ac_status=$?
116740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116741 (exit $ac_status); }; }; then
116742 glibcxx_shared_libgcc=yes
116743 else
116744 echo "$as_me: failed program was:" >&5
116745 sed 's/^/| /' conftest.$ac_ext >&5
116746
116747 glibcxx_shared_libgcc=no
116748 fi
116749 rm -f conftest.err conftest.$ac_objext \
116750 conftest$ac_exeext conftest.$ac_ext
116751 CFLAGS="$ac_save_CFLAGS"
116752 if test $glibcxx_shared_libgcc = no; then
116753 cat > conftest.c <<EOF
116754 int main (void) { return 0; }
116755 EOF
116756 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
116757 -shared -shared-libgcc -o conftest.so \
116758 conftest.c -v 2>&1 >/dev/null \
116759 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
116760 rm -f conftest.c conftest.so
116761 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
116762 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
116763 if test x$gcc_no_link = xyes; then
116764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116766 { (exit 1); exit 1; }; }
116767 fi
116768 cat >conftest.$ac_ext <<_ACEOF
116769 /* confdefs.h. */
116770 _ACEOF
116771 cat confdefs.h >>conftest.$ac_ext
116772 cat >>conftest.$ac_ext <<_ACEOF
116773 /* end confdefs.h. */
116774
116775 int
116776 main ()
116777 {
116778 return 0;
116779 ;
116780 return 0;
116781 }
116782 _ACEOF
116783 rm -f conftest.$ac_objext conftest$ac_exeext
116784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116785 (eval $ac_link) 2>conftest.er1
116786 ac_status=$?
116787 grep -v '^ *+' conftest.er1 >conftest.err
116788 rm -f conftest.er1
116789 cat conftest.err >&5
116790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116791 (exit $ac_status); } &&
116792 { ac_try='test -z "$ac_c_werror_flag"
116793 || test ! -s conftest.err'
116794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116795 (eval $ac_try) 2>&5
116796 ac_status=$?
116797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116798 (exit $ac_status); }; } &&
116799 { ac_try='test -s conftest$ac_exeext'
116800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116801 (eval $ac_try) 2>&5
116802 ac_status=$?
116803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116804 (exit $ac_status); }; }; then
116805 glibcxx_shared_libgcc=yes
116806 else
116807 echo "$as_me: failed program was:" >&5
116808 sed 's/^/| /' conftest.$ac_ext >&5
116809
116810 fi
116811 rm -f conftest.err conftest.$ac_objext \
116812 conftest$ac_exeext conftest.$ac_ext
116813 CFLAGS="$ac_save_CFLAGS"
116814 fi
116815 fi
116816 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
116817 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
116818
116819 # For GNU ld, we need at least this version. The format is described in
116820 # GLIBCXX_CHECK_LINKER_FEATURES above.
116821 glibcxx_min_gnu_ld_version=21400
116822
116823 # If no shared libgcc, can't win.
116824 if test $glibcxx_shared_libgcc != yes; then
116825 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
116826 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
116827 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
116828 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
116829 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116830 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116831 enable_symvers=no
116832 elif test $with_gnu_ld != yes ; then
116833 # just fail for now
116834 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
116835 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
116836 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
116837 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
116838 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116839 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116840 enable_symvers=no
116841 elif test $glibcxx_ld_is_gold = yes ; then
116842 : All versions of gold support symbol versioning.
116843 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
116844 # The right tools, the right setup, but too old. Fallbacks?
116845 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
116846 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
116847 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
116848 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
116849 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
116850 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
116851 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
116852 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
116853 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116854 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116855 enable_symvers=no
116856 fi
116857 fi
116858
116859 # Everything parsed; figure out what file to use.
116860 case $enable_symvers in
116861 no)
116862 SYMVER_FILE=config/abi/pre/none.ver
116863 ;;
116864 gnu)
116865 SYMVER_FILE=config/abi/pre/gnu.ver
116866
116867 cat >>confdefs.h <<\_ACEOF
116868 #define _GLIBCXX_SYMVER_GNU 1
116869 _ACEOF
116870
116871 ;;
116872 gnu-versioned-namespace)
116873 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
116874
116875 cat >>confdefs.h <<\_ACEOF
116876 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
116877 _ACEOF
116878
116879 ;;
116880 darwin)
116881 SYMVER_FILE=config/abi/pre/gnu.ver
116882
116883 cat >>confdefs.h <<\_ACEOF
116884 #define _GLIBCXX_SYMVER_DARWIN 1
116885 _ACEOF
116886
116887 ;;
116888 esac
116889
116890 if test x$enable_symvers != xno ; then
116891
116892 cat >>confdefs.h <<\_ACEOF
116893 #define _GLIBCXX_SYMVER 1
116894 _ACEOF
116895
116896 fi
116897
116898 echo "$as_me:$LINENO: checking whether the target supports .symver directive" >&5
116899 echo $ECHO_N "checking whether the target supports .symver directive... $ECHO_C" >&6
116900 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then
116901 echo $ECHO_N "(cached) $ECHO_C" >&6
116902 else
116903
116904 cat >conftest.$ac_ext <<_ACEOF
116905 /* confdefs.h. */
116906 _ACEOF
116907 cat confdefs.h >>conftest.$ac_ext
116908 cat >>conftest.$ac_ext <<_ACEOF
116909 /* end confdefs.h. */
116910 void foo (void); __asm (".symver foo, bar@SYMVER");
116911 int
116912 main ()
116913 {
116914
116915 ;
116916 return 0;
116917 }
116918 _ACEOF
116919 rm -f conftest.$ac_objext
116920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116921 (eval $ac_compile) 2>conftest.er1
116922 ac_status=$?
116923 grep -v '^ *+' conftest.er1 >conftest.err
116924 rm -f conftest.er1
116925 cat conftest.err >&5
116926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116927 (exit $ac_status); } &&
116928 { ac_try='test -z "$ac_c_werror_flag"
116929 || test ! -s conftest.err'
116930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116931 (eval $ac_try) 2>&5
116932 ac_status=$?
116933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116934 (exit $ac_status); }; } &&
116935 { ac_try='test -s conftest.$ac_objext'
116936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116937 (eval $ac_try) 2>&5
116938 ac_status=$?
116939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116940 (exit $ac_status); }; }; then
116941 glibcxx_cv_have_as_symver_directive=yes
116942 else
116943 echo "$as_me: failed program was:" >&5
116944 sed 's/^/| /' conftest.$ac_ext >&5
116945
116946 glibcxx_cv_have_as_symver_directive=no
116947 fi
116948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116949 fi
116950 echo "$as_me:$LINENO: result: $glibcxx_cv_have_as_symver_directive" >&5
116951 echo "${ECHO_T}$glibcxx_cv_have_as_symver_directive" >&6
116952 if test $glibcxx_cv_have_as_symver_directive = yes; then
116953
116954 cat >>confdefs.h <<\_ACEOF
116955 #define HAVE_AS_SYMVER_DIRECTIVE 1
116956 _ACEOF
116957
116958 fi
116959
116960
116961
116962
116963
116964
116965
116966 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
116967 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
116968
116969 # Now, set up compatibility support, if any.
116970 # In addition, need this to deal with std::size_t mangling in
116971 # src/compatibility.cc. In a perfect world, could use
116972 # typeid(std::size_t).name()[0] to do direct substitution.
116973 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
116974 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
116975 ac_save_CFLAGS="$CFLAGS"
116976 CFLAGS="-Werror"
116977 cat >conftest.$ac_ext <<_ACEOF
116978 /* confdefs.h. */
116979 _ACEOF
116980 cat confdefs.h >>conftest.$ac_ext
116981 cat >>conftest.$ac_ext <<_ACEOF
116982 /* end confdefs.h. */
116983
116984 int
116985 main ()
116986 {
116987 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
116988 ;
116989 return 0;
116990 }
116991 _ACEOF
116992 rm -f conftest.$ac_objext
116993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116994 (eval $ac_compile) 2>conftest.er1
116995 ac_status=$?
116996 grep -v '^ *+' conftest.er1 >conftest.err
116997 rm -f conftest.er1
116998 cat conftest.err >&5
116999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117000 (exit $ac_status); } &&
117001 { ac_try='test -z "$ac_c_werror_flag"
117002 || test ! -s conftest.err'
117003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117004 (eval $ac_try) 2>&5
117005 ac_status=$?
117006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117007 (exit $ac_status); }; } &&
117008 { ac_try='test -s conftest.$ac_objext'
117009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117010 (eval $ac_try) 2>&5
117011 ac_status=$?
117012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117013 (exit $ac_status); }; }; then
117014 glibcxx_size_t_is_i=yes
117015 else
117016 echo "$as_me: failed program was:" >&5
117017 sed 's/^/| /' conftest.$ac_ext >&5
117018
117019 glibcxx_size_t_is_i=no
117020 fi
117021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117022 CFLAGS=$ac_save_CFLAGS
117023 if test "$glibcxx_size_t_is_i" = yes; then
117024
117025 cat >>confdefs.h <<\_ACEOF
117026 #define _GLIBCXX_SIZE_T_IS_UINT 1
117027 _ACEOF
117028
117029 fi
117030 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
117031 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
117032
117033 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
117034 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
117035 ac_save_CFLAGS="$CFLAGS"
117036 CFLAGS="-Werror"
117037 cat >conftest.$ac_ext <<_ACEOF
117038 /* confdefs.h. */
117039 _ACEOF
117040 cat confdefs.h >>conftest.$ac_ext
117041 cat >>conftest.$ac_ext <<_ACEOF
117042 /* end confdefs.h. */
117043
117044 int
117045 main ()
117046 {
117047 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
117048 ;
117049 return 0;
117050 }
117051 _ACEOF
117052 rm -f conftest.$ac_objext
117053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117054 (eval $ac_compile) 2>conftest.er1
117055 ac_status=$?
117056 grep -v '^ *+' conftest.er1 >conftest.err
117057 rm -f conftest.er1
117058 cat conftest.err >&5
117059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117060 (exit $ac_status); } &&
117061 { ac_try='test -z "$ac_c_werror_flag"
117062 || test ! -s conftest.err'
117063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117064 (eval $ac_try) 2>&5
117065 ac_status=$?
117066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117067 (exit $ac_status); }; } &&
117068 { ac_try='test -s conftest.$ac_objext'
117069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117070 (eval $ac_try) 2>&5
117071 ac_status=$?
117072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117073 (exit $ac_status); }; }; then
117074 glibcxx_ptrdiff_t_is_i=yes
117075 else
117076 echo "$as_me: failed program was:" >&5
117077 sed 's/^/| /' conftest.$ac_ext >&5
117078
117079 glibcxx_ptrdiff_t_is_i=no
117080 fi
117081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117082 CFLAGS=$ac_save_CFLAGS
117083 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
117084
117085 cat >>confdefs.h <<\_ACEOF
117086 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
117087 _ACEOF
117088
117089 fi
117090 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
117091 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
117092
117093
117094 # Check whether --enable-visibility or --disable-visibility was given.
117095 if test "${enable_visibility+set}" = set; then
117096 enableval="$enable_visibility"
117097
117098 case "$enableval" in
117099 yes|no) ;;
117100 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
117101 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
117102 { (exit 1); exit 1; }; } ;;
117103 esac
117104
117105 else
117106 enable_visibility=yes
117107 fi;
117108
117109
117110 if test x$enable_visibility = xyes ; then
117111 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
117112 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
117113 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
117114 echo $ECHO_N "(cached) $ECHO_C" >&6
117115 else
117116
117117 save_CFLAGS="$CFLAGS"
117118 CFLAGS="$CFLAGS -Werror"
117119 cat >conftest.$ac_ext <<_ACEOF
117120 /* confdefs.h. */
117121 _ACEOF
117122 cat confdefs.h >>conftest.$ac_ext
117123 cat >>conftest.$ac_ext <<_ACEOF
117124 /* end confdefs.h. */
117125 void __attribute__((visibility("hidden"))) foo(void) { }
117126 int
117127 main ()
117128 {
117129
117130 ;
117131 return 0;
117132 }
117133 _ACEOF
117134 rm -f conftest.$ac_objext
117135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117136 (eval $ac_compile) 2>conftest.er1
117137 ac_status=$?
117138 grep -v '^ *+' conftest.er1 >conftest.err
117139 rm -f conftest.er1
117140 cat conftest.err >&5
117141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117142 (exit $ac_status); } &&
117143 { ac_try='test -z "$ac_c_werror_flag"
117144 || test ! -s conftest.err'
117145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117146 (eval $ac_try) 2>&5
117147 ac_status=$?
117148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117149 (exit $ac_status); }; } &&
117150 { ac_try='test -s conftest.$ac_objext'
117151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117152 (eval $ac_try) 2>&5
117153 ac_status=$?
117154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117155 (exit $ac_status); }; }; then
117156 glibcxx_cv_have_attribute_visibility=yes
117157 else
117158 echo "$as_me: failed program was:" >&5
117159 sed 's/^/| /' conftest.$ac_ext >&5
117160
117161 glibcxx_cv_have_attribute_visibility=no
117162 fi
117163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117164 CFLAGS="$save_CFLAGS"
117165 fi
117166 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
117167 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
117168 if test $glibcxx_cv_have_attribute_visibility = no; then
117169 enable_visibility=no
117170 fi
117171 fi
117172
117173
117174 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
117175 echo "$as_me: visibility supported: $enable_visibility" >&6;}
117176
117177
117178 ac_ldbl_compat=no
117179 case "$target" in
117180 powerpc*-*-linux* | \
117181 powerpc*-*-gnu* | \
117182 sparc*-*-linux* | \
117183 s390*-*-linux* | \
117184 alpha*-*-linux*)
117185 cat >conftest.$ac_ext <<_ACEOF
117186 /* confdefs.h. */
117187 _ACEOF
117188 cat confdefs.h >>conftest.$ac_ext
117189 cat >>conftest.$ac_ext <<_ACEOF
117190 /* end confdefs.h. */
117191
117192 int
117193 main ()
117194 {
117195
117196 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
117197 #error no need for long double compatibility
117198 #endif
117199
117200 ;
117201 return 0;
117202 }
117203 _ACEOF
117204 rm -f conftest.$ac_objext
117205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117206 (eval $ac_compile) 2>conftest.er1
117207 ac_status=$?
117208 grep -v '^ *+' conftest.er1 >conftest.err
117209 rm -f conftest.er1
117210 cat conftest.err >&5
117211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117212 (exit $ac_status); } &&
117213 { ac_try='test -z "$ac_c_werror_flag"
117214 || test ! -s conftest.err'
117215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117216 (eval $ac_try) 2>&5
117217 ac_status=$?
117218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117219 (exit $ac_status); }; } &&
117220 { ac_try='test -s conftest.$ac_objext'
117221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117222 (eval $ac_try) 2>&5
117223 ac_status=$?
117224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117225 (exit $ac_status); }; }; then
117226 ac_ldbl_compat=yes
117227 else
117228 echo "$as_me: failed program was:" >&5
117229 sed 's/^/| /' conftest.$ac_ext >&5
117230
117231 ac_ldbl_compat=no
117232 fi
117233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117234 if test "$ac_ldbl_compat" = yes; then
117235
117236 cat >>confdefs.h <<\_ACEOF
117237 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
117238 _ACEOF
117239
117240 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
117241 fi
117242 esac
117243
117244
117245 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
117246
117247 if $GLIBCXX_IS_NATIVE ; then
117248 # Do checks for resource limit functions.
117249
117250 setrlimit_have_headers=yes
117251
117252
117253
117254 for ac_header in unistd.h sys/time.h sys/resource.h
117255 do
117256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
117257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
117258 echo "$as_me:$LINENO: checking for $ac_header" >&5
117259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
117260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
117261 echo $ECHO_N "(cached) $ECHO_C" >&6
117262 fi
117263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
117264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
117265 else
117266 # Is the header compilable?
117267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
117268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
117269 cat >conftest.$ac_ext <<_ACEOF
117270 /* confdefs.h. */
117271 _ACEOF
117272 cat confdefs.h >>conftest.$ac_ext
117273 cat >>conftest.$ac_ext <<_ACEOF
117274 /* end confdefs.h. */
117275 $ac_includes_default
117276 #include <$ac_header>
117277 _ACEOF
117278 rm -f conftest.$ac_objext
117279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117280 (eval $ac_compile) 2>conftest.er1
117281 ac_status=$?
117282 grep -v '^ *+' conftest.er1 >conftest.err
117283 rm -f conftest.er1
117284 cat conftest.err >&5
117285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117286 (exit $ac_status); } &&
117287 { ac_try='test -z "$ac_c_werror_flag"
117288 || test ! -s conftest.err'
117289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117290 (eval $ac_try) 2>&5
117291 ac_status=$?
117292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117293 (exit $ac_status); }; } &&
117294 { ac_try='test -s conftest.$ac_objext'
117295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117296 (eval $ac_try) 2>&5
117297 ac_status=$?
117298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117299 (exit $ac_status); }; }; then
117300 ac_header_compiler=yes
117301 else
117302 echo "$as_me: failed program was:" >&5
117303 sed 's/^/| /' conftest.$ac_ext >&5
117304
117305 ac_header_compiler=no
117306 fi
117307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
117309 echo "${ECHO_T}$ac_header_compiler" >&6
117310
117311 # Is the header present?
117312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
117313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
117314 cat >conftest.$ac_ext <<_ACEOF
117315 /* confdefs.h. */
117316 _ACEOF
117317 cat confdefs.h >>conftest.$ac_ext
117318 cat >>conftest.$ac_ext <<_ACEOF
117319 /* end confdefs.h. */
117320 #include <$ac_header>
117321 _ACEOF
117322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
117323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
117324 ac_status=$?
117325 grep -v '^ *+' conftest.er1 >conftest.err
117326 rm -f conftest.er1
117327 cat conftest.err >&5
117328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117329 (exit $ac_status); } >/dev/null; then
117330 if test -s conftest.err; then
117331 ac_cpp_err=$ac_c_preproc_warn_flag
117332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
117333 else
117334 ac_cpp_err=
117335 fi
117336 else
117337 ac_cpp_err=yes
117338 fi
117339 if test -z "$ac_cpp_err"; then
117340 ac_header_preproc=yes
117341 else
117342 echo "$as_me: failed program was:" >&5
117343 sed 's/^/| /' conftest.$ac_ext >&5
117344
117345 ac_header_preproc=no
117346 fi
117347 rm -f conftest.err conftest.$ac_ext
117348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
117349 echo "${ECHO_T}$ac_header_preproc" >&6
117350
117351 # So? What about this header?
117352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
117353 yes:no: )
117354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
117355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
117356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
117357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
117358 ac_header_preproc=yes
117359 ;;
117360 no:yes:* )
117361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
117362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
117363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
117364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
117365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
117366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
117367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
117368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
117369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
117370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
117371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
117372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
117373 (
117374 cat <<\_ASBOX
117375 ## ----------------------------------------- ##
117376 ## Report this to the package-unused lists. ##
117377 ## ----------------------------------------- ##
117378 _ASBOX
117379 ) |
117380 sed "s/^/$as_me: WARNING: /" >&2
117381 ;;
117382 esac
117383 echo "$as_me:$LINENO: checking for $ac_header" >&5
117384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
117385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
117386 echo $ECHO_N "(cached) $ECHO_C" >&6
117387 else
117388 eval "$as_ac_Header=\$ac_header_preproc"
117389 fi
117390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
117391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
117392
117393 fi
117394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
117395 cat >>confdefs.h <<_ACEOF
117396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
117397 _ACEOF
117398
117399 else
117400 setrlimit_have_headers=no
117401 fi
117402
117403 done
117404
117405 # If don't have the headers, then we can't run the tests now, and we
117406 # won't be seeing any of these during testsuite compilation.
117407 if test $setrlimit_have_headers = yes; then
117408 # Can't do these in a loop, else the resulting syntax is wrong.
117409
117410 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
117411 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
117412 cat >conftest.$ac_ext <<_ACEOF
117413 /* confdefs.h. */
117414 _ACEOF
117415 cat confdefs.h >>conftest.$ac_ext
117416 cat >>conftest.$ac_ext <<_ACEOF
117417 /* end confdefs.h. */
117418 #include <unistd.h>
117419 #include <sys/time.h>
117420 #include <sys/resource.h>
117421
117422 int
117423 main ()
117424 {
117425 int f = RLIMIT_DATA ;
117426 ;
117427 return 0;
117428 }
117429 _ACEOF
117430 rm -f conftest.$ac_objext
117431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117432 (eval $ac_compile) 2>conftest.er1
117433 ac_status=$?
117434 grep -v '^ *+' conftest.er1 >conftest.err
117435 rm -f conftest.er1
117436 cat conftest.err >&5
117437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117438 (exit $ac_status); } &&
117439 { ac_try='test -z "$ac_c_werror_flag"
117440 || test ! -s conftest.err'
117441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117442 (eval $ac_try) 2>&5
117443 ac_status=$?
117444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117445 (exit $ac_status); }; } &&
117446 { ac_try='test -s conftest.$ac_objext'
117447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117448 (eval $ac_try) 2>&5
117449 ac_status=$?
117450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117451 (exit $ac_status); }; }; then
117452 glibcxx_mresult=1
117453 else
117454 echo "$as_me: failed program was:" >&5
117455 sed 's/^/| /' conftest.$ac_ext >&5
117456
117457 glibcxx_mresult=0
117458 fi
117459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117460
117461 cat >>confdefs.h <<_ACEOF
117462 #define HAVE_LIMIT_DATA $glibcxx_mresult
117463 _ACEOF
117464
117465 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117466 echo "$as_me:$LINENO: result: $res" >&5
117467 echo "${ECHO_T}$res" >&6
117468
117469
117470 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
117471 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
117472 cat >conftest.$ac_ext <<_ACEOF
117473 /* confdefs.h. */
117474 _ACEOF
117475 cat confdefs.h >>conftest.$ac_ext
117476 cat >>conftest.$ac_ext <<_ACEOF
117477 /* end confdefs.h. */
117478 #include <unistd.h>
117479 #include <sys/time.h>
117480 #include <sys/resource.h>
117481
117482 int
117483 main ()
117484 {
117485 int f = RLIMIT_RSS ;
117486 ;
117487 return 0;
117488 }
117489 _ACEOF
117490 rm -f conftest.$ac_objext
117491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117492 (eval $ac_compile) 2>conftest.er1
117493 ac_status=$?
117494 grep -v '^ *+' conftest.er1 >conftest.err
117495 rm -f conftest.er1
117496 cat conftest.err >&5
117497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117498 (exit $ac_status); } &&
117499 { ac_try='test -z "$ac_c_werror_flag"
117500 || test ! -s conftest.err'
117501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117502 (eval $ac_try) 2>&5
117503 ac_status=$?
117504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117505 (exit $ac_status); }; } &&
117506 { ac_try='test -s conftest.$ac_objext'
117507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117508 (eval $ac_try) 2>&5
117509 ac_status=$?
117510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117511 (exit $ac_status); }; }; then
117512 glibcxx_mresult=1
117513 else
117514 echo "$as_me: failed program was:" >&5
117515 sed 's/^/| /' conftest.$ac_ext >&5
117516
117517 glibcxx_mresult=0
117518 fi
117519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117520
117521 cat >>confdefs.h <<_ACEOF
117522 #define HAVE_LIMIT_RSS $glibcxx_mresult
117523 _ACEOF
117524
117525 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117526 echo "$as_me:$LINENO: result: $res" >&5
117527 echo "${ECHO_T}$res" >&6
117528
117529
117530 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
117531 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
117532 cat >conftest.$ac_ext <<_ACEOF
117533 /* confdefs.h. */
117534 _ACEOF
117535 cat confdefs.h >>conftest.$ac_ext
117536 cat >>conftest.$ac_ext <<_ACEOF
117537 /* end confdefs.h. */
117538 #include <unistd.h>
117539 #include <sys/time.h>
117540 #include <sys/resource.h>
117541
117542 int
117543 main ()
117544 {
117545 int f = RLIMIT_VMEM ;
117546 ;
117547 return 0;
117548 }
117549 _ACEOF
117550 rm -f conftest.$ac_objext
117551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117552 (eval $ac_compile) 2>conftest.er1
117553 ac_status=$?
117554 grep -v '^ *+' conftest.er1 >conftest.err
117555 rm -f conftest.er1
117556 cat conftest.err >&5
117557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117558 (exit $ac_status); } &&
117559 { ac_try='test -z "$ac_c_werror_flag"
117560 || test ! -s conftest.err'
117561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117562 (eval $ac_try) 2>&5
117563 ac_status=$?
117564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117565 (exit $ac_status); }; } &&
117566 { ac_try='test -s conftest.$ac_objext'
117567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117568 (eval $ac_try) 2>&5
117569 ac_status=$?
117570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117571 (exit $ac_status); }; }; then
117572 glibcxx_mresult=1
117573 else
117574 echo "$as_me: failed program was:" >&5
117575 sed 's/^/| /' conftest.$ac_ext >&5
117576
117577 glibcxx_mresult=0
117578 fi
117579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117580
117581 cat >>confdefs.h <<_ACEOF
117582 #define HAVE_LIMIT_VMEM $glibcxx_mresult
117583 _ACEOF
117584
117585 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117586 echo "$as_me:$LINENO: result: $res" >&5
117587 echo "${ECHO_T}$res" >&6
117588
117589
117590 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
117591 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
117592 cat >conftest.$ac_ext <<_ACEOF
117593 /* confdefs.h. */
117594 _ACEOF
117595 cat confdefs.h >>conftest.$ac_ext
117596 cat >>conftest.$ac_ext <<_ACEOF
117597 /* end confdefs.h. */
117598 #include <unistd.h>
117599 #include <sys/time.h>
117600 #include <sys/resource.h>
117601
117602 int
117603 main ()
117604 {
117605 int f = RLIMIT_AS ;
117606 ;
117607 return 0;
117608 }
117609 _ACEOF
117610 rm -f conftest.$ac_objext
117611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117612 (eval $ac_compile) 2>conftest.er1
117613 ac_status=$?
117614 grep -v '^ *+' conftest.er1 >conftest.err
117615 rm -f conftest.er1
117616 cat conftest.err >&5
117617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117618 (exit $ac_status); } &&
117619 { ac_try='test -z "$ac_c_werror_flag"
117620 || test ! -s conftest.err'
117621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117622 (eval $ac_try) 2>&5
117623 ac_status=$?
117624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117625 (exit $ac_status); }; } &&
117626 { ac_try='test -s conftest.$ac_objext'
117627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117628 (eval $ac_try) 2>&5
117629 ac_status=$?
117630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117631 (exit $ac_status); }; }; then
117632 glibcxx_mresult=1
117633 else
117634 echo "$as_me: failed program was:" >&5
117635 sed 's/^/| /' conftest.$ac_ext >&5
117636
117637 glibcxx_mresult=0
117638 fi
117639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117640
117641 cat >>confdefs.h <<_ACEOF
117642 #define HAVE_LIMIT_AS $glibcxx_mresult
117643 _ACEOF
117644
117645 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117646 echo "$as_me:$LINENO: result: $res" >&5
117647 echo "${ECHO_T}$res" >&6
117648
117649
117650 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
117651 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
117652 cat >conftest.$ac_ext <<_ACEOF
117653 /* confdefs.h. */
117654 _ACEOF
117655 cat confdefs.h >>conftest.$ac_ext
117656 cat >>conftest.$ac_ext <<_ACEOF
117657 /* end confdefs.h. */
117658 #include <unistd.h>
117659 #include <sys/time.h>
117660 #include <sys/resource.h>
117661
117662 int
117663 main ()
117664 {
117665 int f = RLIMIT_FSIZE ;
117666 ;
117667 return 0;
117668 }
117669 _ACEOF
117670 rm -f conftest.$ac_objext
117671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117672 (eval $ac_compile) 2>conftest.er1
117673 ac_status=$?
117674 grep -v '^ *+' conftest.er1 >conftest.err
117675 rm -f conftest.er1
117676 cat conftest.err >&5
117677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117678 (exit $ac_status); } &&
117679 { ac_try='test -z "$ac_c_werror_flag"
117680 || test ! -s conftest.err'
117681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117682 (eval $ac_try) 2>&5
117683 ac_status=$?
117684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117685 (exit $ac_status); }; } &&
117686 { ac_try='test -s conftest.$ac_objext'
117687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117688 (eval $ac_try) 2>&5
117689 ac_status=$?
117690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117691 (exit $ac_status); }; }; then
117692 glibcxx_mresult=1
117693 else
117694 echo "$as_me: failed program was:" >&5
117695 sed 's/^/| /' conftest.$ac_ext >&5
117696
117697 glibcxx_mresult=0
117698 fi
117699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117700
117701 cat >>confdefs.h <<_ACEOF
117702 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
117703 _ACEOF
117704
117705 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117706 echo "$as_me:$LINENO: result: $res" >&5
117707 echo "${ECHO_T}$res" >&6
117708
117709
117710 # Check for rlimit, setrlimit.
117711 if test "${glibcxx_cv_setrlimit+set}" = set; then
117712 echo $ECHO_N "(cached) $ECHO_C" >&6
117713 else
117714
117715 cat >conftest.$ac_ext <<_ACEOF
117716 /* confdefs.h. */
117717 _ACEOF
117718 cat confdefs.h >>conftest.$ac_ext
117719 cat >>conftest.$ac_ext <<_ACEOF
117720 /* end confdefs.h. */
117721 #include <unistd.h>
117722 #include <sys/time.h>
117723 #include <sys/resource.h>
117724
117725 int
117726 main ()
117727 {
117728 struct rlimit r;
117729 setrlimit(0, &r);
117730 ;
117731 return 0;
117732 }
117733 _ACEOF
117734 rm -f conftest.$ac_objext
117735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117736 (eval $ac_compile) 2>conftest.er1
117737 ac_status=$?
117738 grep -v '^ *+' conftest.er1 >conftest.err
117739 rm -f conftest.er1
117740 cat conftest.err >&5
117741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117742 (exit $ac_status); } &&
117743 { ac_try='test -z "$ac_c_werror_flag"
117744 || test ! -s conftest.err'
117745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117746 (eval $ac_try) 2>&5
117747 ac_status=$?
117748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117749 (exit $ac_status); }; } &&
117750 { ac_try='test -s conftest.$ac_objext'
117751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117752 (eval $ac_try) 2>&5
117753 ac_status=$?
117754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117755 (exit $ac_status); }; }; then
117756 glibcxx_cv_setrlimit=yes
117757 else
117758 echo "$as_me: failed program was:" >&5
117759 sed 's/^/| /' conftest.$ac_ext >&5
117760
117761 glibcxx_cv_setrlimit=no
117762 fi
117763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117764
117765 fi
117766
117767 fi
117768
117769 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
117770 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
117771 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
117772 ac_res_limits=yes
117773
117774 cat >>confdefs.h <<\_ACEOF
117775 #define _GLIBCXX_RES_LIMITS 1
117776 _ACEOF
117777
117778 else
117779 ac_res_limits=no
117780 fi
117781 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
117782 echo "${ECHO_T}$ac_res_limits" >&6
117783
117784
117785 # Look for setenv, so that extended locale tests can be performed.
117786
117787 echo "$as_me:$LINENO: checking for setenv declaration" >&5
117788 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
117789 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
117790 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
117791 echo $ECHO_N "(cached) $ECHO_C" >&6
117792 else
117793
117794
117795
117796 ac_ext=cc
117797 ac_cpp='$CXXCPP $CPPFLAGS'
117798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117801
117802 cat >conftest.$ac_ext <<_ACEOF
117803 /* confdefs.h. */
117804 _ACEOF
117805 cat confdefs.h >>conftest.$ac_ext
117806 cat >>conftest.$ac_ext <<_ACEOF
117807 /* end confdefs.h. */
117808 #include <stdlib.h>
117809 int
117810 main ()
117811 {
117812 setenv(0, 0, 0);
117813 ;
117814 return 0;
117815 }
117816 _ACEOF
117817 rm -f conftest.$ac_objext
117818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117819 (eval $ac_compile) 2>conftest.er1
117820 ac_status=$?
117821 grep -v '^ *+' conftest.er1 >conftest.err
117822 rm -f conftest.er1
117823 cat conftest.err >&5
117824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117825 (exit $ac_status); } &&
117826 { ac_try='test -z "$ac_cxx_werror_flag"
117827 || test ! -s conftest.err'
117828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117829 (eval $ac_try) 2>&5
117830 ac_status=$?
117831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117832 (exit $ac_status); }; } &&
117833 { ac_try='test -s conftest.$ac_objext'
117834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117835 (eval $ac_try) 2>&5
117836 ac_status=$?
117837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117838 (exit $ac_status); }; }; then
117839 glibcxx_cv_func_setenv_use=yes
117840 else
117841 echo "$as_me: failed program was:" >&5
117842 sed 's/^/| /' conftest.$ac_ext >&5
117843
117844 glibcxx_cv_func_setenv_use=no
117845 fi
117846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117847 ac_ext=c
117848 ac_cpp='$CPP $CPPFLAGS'
117849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117852
117853
117854 fi
117855
117856 fi
117857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
117858 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
117859 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
117860
117861 for ac_func in setenv
117862 do
117863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117864 echo "$as_me:$LINENO: checking for $ac_func" >&5
117865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117866 if eval "test \"\${$as_ac_var+set}\" = set"; then
117867 echo $ECHO_N "(cached) $ECHO_C" >&6
117868 else
117869 if test x$gcc_no_link = xyes; then
117870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117872 { (exit 1); exit 1; }; }
117873 fi
117874 cat >conftest.$ac_ext <<_ACEOF
117875 /* confdefs.h. */
117876 _ACEOF
117877 cat confdefs.h >>conftest.$ac_ext
117878 cat >>conftest.$ac_ext <<_ACEOF
117879 /* end confdefs.h. */
117880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117882 #define $ac_func innocuous_$ac_func
117883
117884 /* System header to define __stub macros and hopefully few prototypes,
117885 which can conflict with char $ac_func (); below.
117886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117887 <limits.h> exists even on freestanding compilers. */
117888
117889 #ifdef __STDC__
117890 # include <limits.h>
117891 #else
117892 # include <assert.h>
117893 #endif
117894
117895 #undef $ac_func
117896
117897 /* Override any gcc2 internal prototype to avoid an error. */
117898 #ifdef __cplusplus
117899 extern "C"
117900 {
117901 #endif
117902 /* We use char because int might match the return type of a gcc2
117903 builtin and then its argument prototype would still apply. */
117904 char $ac_func ();
117905 /* The GNU C library defines this for functions which it implements
117906 to always fail with ENOSYS. Some functions are actually named
117907 something starting with __ and the normal name is an alias. */
117908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117909 choke me
117910 #else
117911 char (*f) () = $ac_func;
117912 #endif
117913 #ifdef __cplusplus
117914 }
117915 #endif
117916
117917 int
117918 main ()
117919 {
117920 return f != $ac_func;
117921 ;
117922 return 0;
117923 }
117924 _ACEOF
117925 rm -f conftest.$ac_objext conftest$ac_exeext
117926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117927 (eval $ac_link) 2>conftest.er1
117928 ac_status=$?
117929 grep -v '^ *+' conftest.er1 >conftest.err
117930 rm -f conftest.er1
117931 cat conftest.err >&5
117932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117933 (exit $ac_status); } &&
117934 { ac_try='test -z "$ac_c_werror_flag"
117935 || test ! -s conftest.err'
117936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117937 (eval $ac_try) 2>&5
117938 ac_status=$?
117939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117940 (exit $ac_status); }; } &&
117941 { ac_try='test -s conftest$ac_exeext'
117942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117943 (eval $ac_try) 2>&5
117944 ac_status=$?
117945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117946 (exit $ac_status); }; }; then
117947 eval "$as_ac_var=yes"
117948 else
117949 echo "$as_me: failed program was:" >&5
117950 sed 's/^/| /' conftest.$ac_ext >&5
117951
117952 eval "$as_ac_var=no"
117953 fi
117954 rm -f conftest.err conftest.$ac_objext \
117955 conftest$ac_exeext conftest.$ac_ext
117956 fi
117957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117959 if test `eval echo '${'$as_ac_var'}'` = yes; then
117960 cat >>confdefs.h <<_ACEOF
117961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117962 _ACEOF
117963
117964 fi
117965 done
117966
117967 fi
117968
117969 fi
117970
117971 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
117972 test $enable_symvers != no; then
117973 case "$host" in
117974 *-*-cygwin*)
117975 enable_abi_check=no ;;
117976 *)
117977 enable_abi_check=yes ;;
117978 esac
117979 else
117980 # Only build this as native, since automake does not understand
117981 # CXX_FOR_BUILD.
117982 enable_abi_check=no
117983 fi
117984
117985 # Export file names for ABI checking.
117986 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
117987
117988
117989
117990 # Propagate the target-specific source directories through the build chain.
117991 ATOMICITY_SRCDIR=config/${atomicity_dir}
117992 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
117993 ATOMIC_FLAGS=${atomic_flags}
117994 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
117995 OS_INC_SRCDIR=config/${os_include_dir}
117996 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
117997 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
117998
117999
118000
118001
118002
118003
118004
118005
118006
118007 # Determine cross-compile flags and AM_CONDITIONALs.
118008 #AC_SUBST(GLIBCXX_IS_NATIVE)
118009 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
118010
118011
118012 if test $is_hosted = yes; then
118013 GLIBCXX_HOSTED_TRUE=
118014 GLIBCXX_HOSTED_FALSE='#'
118015 else
118016 GLIBCXX_HOSTED_TRUE='#'
118017 GLIBCXX_HOSTED_FALSE=
118018 fi
118019
118020
118021
118022
118023 if test $enable_libstdcxx_pch = yes; then
118024 GLIBCXX_BUILD_PCH_TRUE=
118025 GLIBCXX_BUILD_PCH_FALSE='#'
118026 else
118027 GLIBCXX_BUILD_PCH_TRUE='#'
118028 GLIBCXX_BUILD_PCH_FALSE=
118029 fi
118030
118031
118032
118033
118034 if test $enable_cheaders = c; then
118035 GLIBCXX_C_HEADERS_C_TRUE=
118036 GLIBCXX_C_HEADERS_C_FALSE='#'
118037 else
118038 GLIBCXX_C_HEADERS_C_TRUE='#'
118039 GLIBCXX_C_HEADERS_C_FALSE=
118040 fi
118041
118042
118043
118044
118045 if test $enable_cheaders = c_std; then
118046 GLIBCXX_C_HEADERS_C_STD_TRUE=
118047 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
118048 else
118049 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
118050 GLIBCXX_C_HEADERS_C_STD_FALSE=
118051 fi
118052
118053
118054
118055
118056 if test $enable_cheaders = c_global; then
118057 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
118058 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
118059 else
118060 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
118061 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
118062 fi
118063
118064
118065
118066
118067 if test $c_compatibility = yes; then
118068 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
118069 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
118070 else
118071 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
118072 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
118073 fi
118074
118075
118076
118077
118078 if test $c_extra = yes; then
118079 GLIBCXX_C_HEADERS_EXTRA_TRUE=
118080 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
118081 else
118082 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
118083 GLIBCXX_C_HEADERS_EXTRA_FALSE=
118084 fi
118085
118086
118087
118088
118089 if test $enable_libstdcxx_debug = yes; then
118090 GLIBCXX_BUILD_DEBUG_TRUE=
118091 GLIBCXX_BUILD_DEBUG_FALSE='#'
118092 else
118093 GLIBCXX_BUILD_DEBUG_TRUE='#'
118094 GLIBCXX_BUILD_DEBUG_FALSE=
118095 fi
118096
118097
118098
118099
118100 if test $enable_parallel = yes; then
118101 ENABLE_PARALLEL_TRUE=
118102 ENABLE_PARALLEL_FALSE='#'
118103 else
118104 ENABLE_PARALLEL_TRUE='#'
118105 ENABLE_PARALLEL_FALSE=
118106 fi
118107
118108
118109
118110
118111 if test $enable_symvers != no; then
118112 ENABLE_SYMVERS_TRUE=
118113 ENABLE_SYMVERS_FALSE='#'
118114 else
118115 ENABLE_SYMVERS_TRUE='#'
118116 ENABLE_SYMVERS_FALSE=
118117 fi
118118
118119
118120
118121
118122 if test $enable_symvers = gnu; then
118123 ENABLE_SYMVERS_GNU_TRUE=
118124 ENABLE_SYMVERS_GNU_FALSE='#'
118125 else
118126 ENABLE_SYMVERS_GNU_TRUE='#'
118127 ENABLE_SYMVERS_GNU_FALSE=
118128 fi
118129
118130
118131
118132
118133 if test $enable_symvers = gnu-versioned-namespace; then
118134 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
118135 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
118136 else
118137 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
118138 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
118139 fi
118140
118141
118142
118143
118144 if test $enable_symvers = darwin; then
118145 ENABLE_SYMVERS_DARWIN_TRUE=
118146 ENABLE_SYMVERS_DARWIN_FALSE='#'
118147 else
118148 ENABLE_SYMVERS_DARWIN_TRUE='#'
118149 ENABLE_SYMVERS_DARWIN_FALSE=
118150 fi
118151
118152
118153
118154
118155 if test $enable_visibility = yes; then
118156 ENABLE_VISIBILITY_TRUE=
118157 ENABLE_VISIBILITY_FALSE='#'
118158 else
118159 ENABLE_VISIBILITY_TRUE='#'
118160 ENABLE_VISIBILITY_FALSE=
118161 fi
118162
118163
118164
118165
118166 if test $ac_ldbl_compat = yes; then
118167 GLIBCXX_LDBL_COMPAT_TRUE=
118168 GLIBCXX_LDBL_COMPAT_FALSE='#'
118169 else
118170 GLIBCXX_LDBL_COMPAT_TRUE='#'
118171 GLIBCXX_LDBL_COMPAT_FALSE=
118172 fi
118173
118174
118175
118176
118177 cat >confcache <<\_ACEOF
118178 # This file is a shell script that caches the results of configure
118179 # tests run on this system so they can be shared between configure
118180 # scripts and configure runs, see configure's option --config-cache.
118181 # It is not useful on other systems. If it contains results you don't
118182 # want to keep, you may remove or edit it.
118183 #
118184 # config.status only pays attention to the cache file if you give it
118185 # the --recheck option to rerun configure.
118186 #
118187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
118188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
118189 # following values.
118190
118191 _ACEOF
118192
118193 # The following way of writing the cache mishandles newlines in values,
118194 # but we know of no workaround that is simple, portable, and efficient.
118195 # So, don't put newlines in cache variables' values.
118196 # Ultrix sh set writes to stderr and can't be redirected directly,
118197 # and sets the high bit in the cache file unless we assign to the vars.
118198 {
118199 (set) 2>&1 |
118200 case `(ac_space=' '; set | grep ac_space) 2>&1` in
118201 *ac_space=\ *)
118202 # `set' does not quote correctly, so add quotes (double-quote
118203 # substitution turns \\\\ into \\, and sed turns \\ into \).
118204 sed -n \
118205 "s/'/'\\\\''/g;
118206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
118207 ;;
118208 *)
118209 # `set' quotes correctly as required by POSIX, so do not add quotes.
118210 sed -n \
118211 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
118212 ;;
118213 esac;
118214 } |
118215 sed '
118216 t clear
118217 : clear
118218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
118219 t end
118220 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
118221 : end' >>confcache
118222 if diff $cache_file confcache >/dev/null 2>&1; then :; else
118223 if test -w $cache_file; then
118224 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
118225 cat confcache >$cache_file
118226 else
118227 echo "not updating unwritable cache $cache_file"
118228 fi
118229 fi
118230 rm -f confcache
118231
118232 if test ${multilib} = yes; then
118233 multilib_arg="--enable-multilib"
118234 else
118235 multilib_arg=
118236 fi
118237
118238 # Export all the install information.
118239
118240 glibcxx_toolexecdir=no
118241 glibcxx_toolexeclibdir=no
118242 glibcxx_prefixdir=$prefix
118243
118244 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
118245 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
118246
118247 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
118248 if test "${with_gxx_include_dir+set}" = set; then
118249 withval="$with_gxx_include_dir"
118250 case "$withval" in
118251 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
118252 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
118253 { (exit 1); exit 1; }; } ;;
118254 no) gxx_include_dir=no ;;
118255 *) gxx_include_dir=$withval ;;
118256 esac
118257 else
118258 gxx_include_dir=no
118259 fi;
118260 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
118261 echo "${ECHO_T}$gxx_include_dir" >&6
118262
118263 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
118264 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
118265 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
118266 if test "${enable_version_specific_runtime_libs+set}" = set; then
118267 enableval="$enable_version_specific_runtime_libs"
118268 case "$enableval" in
118269 yes) version_specific_libs=yes ;;
118270 no) version_specific_libs=no ;;
118271 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
118272 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
118273 { (exit 1); exit 1; }; };;
118274 esac
118275 else
118276 version_specific_libs=no
118277 fi;
118278 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
118279 echo "${ECHO_T}$version_specific_libs" >&6
118280
118281 # Default case for install directory for include files.
118282 if test $version_specific_libs = no && test $gxx_include_dir = no; then
118283 gxx_include_dir='include/c++/${gcc_version}'
118284 if test -n "$with_cross_host" &&
118285 test x"$with_cross_host" != x"no"; then
118286 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
118287 else
118288 gxx_include_dir='${prefix}/'"$gxx_include_dir"
118289 fi
118290 fi
118291
118292 # Version-specific runtime libs processing.
118293 if test $version_specific_libs = yes; then
118294 # Need the gcc compiler version to know where to install libraries
118295 # and header files if --enable-version-specific-runtime-libs option
118296 # is selected. FIXME: these variables are misnamed, there are
118297 # no executables installed in _toolexecdir or _toolexeclibdir.
118298 if test x"$gxx_include_dir" = x"no"; then
118299 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
118300 fi
118301 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
118302 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
118303 fi
118304
118305 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
118306 # Install a library built with a cross compiler in tooldir, not libdir.
118307 if test x"$glibcxx_toolexecdir" = x"no"; then
118308 if test -n "$with_cross_host" &&
118309 test x"$with_cross_host" != x"no"; then
118310 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
118311 glibcxx_toolexeclibdir='${toolexecdir}/lib'
118312 else
118313 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
118314 glibcxx_toolexeclibdir='${libdir}'
118315 fi
118316 multi_os_directory=`$CXX -print-multi-os-directory`
118317 case $multi_os_directory in
118318 .) ;; # Avoid trailing /.
118319 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
118320 esac
118321 fi
118322
118323 echo "$as_me:$LINENO: checking for install location" >&5
118324 echo $ECHO_N "checking for install location... $ECHO_C" >&6
118325 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
118326 echo "${ECHO_T}$gxx_include_dir" >&6
118327
118328
118329
118330
118331
118332
118333
118334 # Export all the include and flag information to Makefiles.
118335
118336 # Used for every C++ compile we perform.
118337 GLIBCXX_INCLUDES="\
118338 -I$glibcxx_builddir/include/$host_alias \
118339 -I$glibcxx_builddir/include \
118340 -I$glibcxx_srcdir/libsupc++"
118341
118342 # For Canadian crosses, pick this up too.
118343 if test $CANADIAN = yes; then
118344 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
118345 fi
118346
118347 # Stuff in the actual top level. Currently only used by libsupc++ to
118348 # get unwind* headers from the gcc dir.
118349 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
118350 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
118351
118352 # Now, export this to all the little Makefiles....
118353
118354
118355
118356
118357 # Optimization flags that are probably a good idea for thrill-seekers. Just
118358 # uncomment the lines below and make, everything else is ready to go...
118359 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
118360 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
118361
118362
118363 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
118364
118365
118366
118367 if test "$enable_shared" = yes; then
118368 LIBSUPCXX_PICFLAGS="-prefer-pic"
118369 else
118370 LIBSUPCXX_PICFLAGS=
118371 fi
118372
118373
118374 ac_config_files="$ac_config_files Makefile include/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
118375
118376 ac_config_files="$ac_config_files scripts/testsuite_flags"
118377
118378
118379 ac_config_commands="$ac_config_commands default"
118380
118381
118382 cat >confcache <<\_ACEOF
118383 # This file is a shell script that caches the results of configure
118384 # tests run on this system so they can be shared between configure
118385 # scripts and configure runs, see configure's option --config-cache.
118386 # It is not useful on other systems. If it contains results you don't
118387 # want to keep, you may remove or edit it.
118388 #
118389 # config.status only pays attention to the cache file if you give it
118390 # the --recheck option to rerun configure.
118391 #
118392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
118393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
118394 # following values.
118395
118396 _ACEOF
118397
118398 # The following way of writing the cache mishandles newlines in values,
118399 # but we know of no workaround that is simple, portable, and efficient.
118400 # So, don't put newlines in cache variables' values.
118401 # Ultrix sh set writes to stderr and can't be redirected directly,
118402 # and sets the high bit in the cache file unless we assign to the vars.
118403 {
118404 (set) 2>&1 |
118405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
118406 *ac_space=\ *)
118407 # `set' does not quote correctly, so add quotes (double-quote
118408 # substitution turns \\\\ into \\, and sed turns \\ into \).
118409 sed -n \
118410 "s/'/'\\\\''/g;
118411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
118412 ;;
118413 *)
118414 # `set' quotes correctly as required by POSIX, so do not add quotes.
118415 sed -n \
118416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
118417 ;;
118418 esac;
118419 } |
118420 sed '
118421 t clear
118422 : clear
118423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
118424 t end
118425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
118426 : end' >>confcache
118427 if diff $cache_file confcache >/dev/null 2>&1; then :; else
118428 if test -w $cache_file; then
118429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
118430 cat confcache >$cache_file
118431 else
118432 echo "not updating unwritable cache $cache_file"
118433 fi
118434 fi
118435 rm -f confcache
118436
118437 test "x$prefix" = xNONE && prefix=$ac_default_prefix
118438 # Let make expand exec_prefix.
118439 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
118440
118441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
118442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
118443 # trailing colons and then remove the whole line if VPATH becomes empty
118444 # (actually we leave an empty line to preserve line numbers).
118445 if test "x$srcdir" = x.; then
118446 ac_vpsub='/^[ ]*VPATH[ ]*=/{
118447 s/:*\$(srcdir):*/:/;
118448 s/:*\${srcdir}:*/:/;
118449 s/:*@srcdir@:*/:/;
118450 s/^\([^=]*=[ ]*\):*/\1/;
118451 s/:*$//;
118452 s/^[^=]*=[ ]*$//;
118453 }'
118454 fi
118455
118456 DEFS=-DHAVE_CONFIG_H
118457
118458 ac_libobjs=
118459 ac_ltlibobjs=
118460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
118461 # 1. Remove the extension, and $U if already installed.
118462 ac_i=`echo "$ac_i" |
118463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
118464 # 2. Add them.
118465 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
118466 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
118467 done
118468 LIBOBJS=$ac_libobjs
118469
118470 LTLIBOBJS=$ac_ltlibobjs
118471
118472
118473 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
118474 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
118475 Usually this means the macro was only invoked conditionally." >&5
118476 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
118477 Usually this means the macro was only invoked conditionally." >&2;}
118478 { (exit 1); exit 1; }; }
118479 fi
118480 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
118481 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
118482 Usually this means the macro was only invoked conditionally." >&5
118483 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
118484 Usually this means the macro was only invoked conditionally." >&2;}
118485 { (exit 1); exit 1; }; }
118486 fi
118487 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
118488 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
118489 Usually this means the macro was only invoked conditionally." >&5
118490 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
118491 Usually this means the macro was only invoked conditionally." >&2;}
118492 { (exit 1); exit 1; }; }
118493 fi
118494 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
118495 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
118496 Usually this means the macro was only invoked conditionally." >&5
118497 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
118498 Usually this means the macro was only invoked conditionally." >&2;}
118499 { (exit 1); exit 1; }; }
118500 fi
118501 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
118502 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
118503 Usually this means the macro was only invoked conditionally." >&5
118504 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
118505 Usually this means the macro was only invoked conditionally." >&2;}
118506 { (exit 1); exit 1; }; }
118507 fi
118508 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
118509 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
118510 Usually this means the macro was only invoked conditionally." >&5
118511 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
118512 Usually this means the macro was only invoked conditionally." >&2;}
118513 { (exit 1); exit 1; }; }
118514 fi
118515 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
118516 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
118517 Usually this means the macro was only invoked conditionally." >&5
118518 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
118519 Usually this means the macro was only invoked conditionally." >&2;}
118520 { (exit 1); exit 1; }; }
118521 fi
118522 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
118523 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
118524 Usually this means the macro was only invoked conditionally." >&5
118525 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
118526 Usually this means the macro was only invoked conditionally." >&2;}
118527 { (exit 1); exit 1; }; }
118528 fi
118529 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
118530 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
118531 Usually this means the macro was only invoked conditionally." >&5
118532 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
118533 Usually this means the macro was only invoked conditionally." >&2;}
118534 { (exit 1); exit 1; }; }
118535 fi
118536 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
118537 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
118538 Usually this means the macro was only invoked conditionally." >&5
118539 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
118540 Usually this means the macro was only invoked conditionally." >&2;}
118541 { (exit 1); exit 1; }; }
118542 fi
118543 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
118544 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
118545 Usually this means the macro was only invoked conditionally." >&5
118546 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
118547 Usually this means the macro was only invoked conditionally." >&2;}
118548 { (exit 1); exit 1; }; }
118549 fi
118550 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
118551 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
118552 Usually this means the macro was only invoked conditionally." >&5
118553 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
118554 Usually this means the macro was only invoked conditionally." >&2;}
118555 { (exit 1); exit 1; }; }
118556 fi
118557 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
118558 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
118559 Usually this means the macro was only invoked conditionally." >&5
118560 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
118561 Usually this means the macro was only invoked conditionally." >&2;}
118562 { (exit 1); exit 1; }; }
118563 fi
118564 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
118565 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
118566 Usually this means the macro was only invoked conditionally." >&5
118567 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
118568 Usually this means the macro was only invoked conditionally." >&2;}
118569 { (exit 1); exit 1; }; }
118570 fi
118571 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
118572 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
118573 Usually this means the macro was only invoked conditionally." >&5
118574 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
118575 Usually this means the macro was only invoked conditionally." >&2;}
118576 { (exit 1); exit 1; }; }
118577 fi
118578 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
118579 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
118580 Usually this means the macro was only invoked conditionally." >&5
118581 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
118582 Usually this means the macro was only invoked conditionally." >&2;}
118583 { (exit 1); exit 1; }; }
118584 fi
118585
118586 : ${CONFIG_STATUS=./config.status}
118587 ac_clean_files_save=$ac_clean_files
118588 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
118589 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
118590 echo "$as_me: creating $CONFIG_STATUS" >&6;}
118591 cat >$CONFIG_STATUS <<_ACEOF
118592 #! $SHELL
118593 # Generated by $as_me.
118594 # Run this file to recreate the current configuration.
118595 # Compiler output produced by configure, useful for debugging
118596 # configure, is in config.log if it exists.
118597
118598 debug=false
118599 ac_cs_recheck=false
118600 ac_cs_silent=false
118601 SHELL=\${CONFIG_SHELL-$SHELL}
118602 _ACEOF
118603
118604 cat >>$CONFIG_STATUS <<\_ACEOF
118605 ## --------------------- ##
118606 ## M4sh Initialization. ##
118607 ## --------------------- ##
118608
118609 # Be Bourne compatible
118610 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
118611 emulate sh
118612 NULLCMD=:
118613 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
118614 # is contrary to our usage. Disable this feature.
118615 alias -g '${1+"$@"}'='"$@"'
118616 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
118617 set -o posix
118618 fi
118619 DUALCASE=1; export DUALCASE # for MKS sh
118620
118621 # Support unset when possible.
118622 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
118623 as_unset=unset
118624 else
118625 as_unset=false
118626 fi
118627
118628
118629 # Work around bugs in pre-3.0 UWIN ksh.
118630 $as_unset ENV MAIL MAILPATH
118631 PS1='$ '
118632 PS2='> '
118633 PS4='+ '
118634
118635 # NLS nuisances.
118636 for as_var in \
118637 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
118638 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
118639 LC_TELEPHONE LC_TIME
118640 do
118641 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
118642 eval $as_var=C; export $as_var
118643 else
118644 $as_unset $as_var
118645 fi
118646 done
118647
118648 # Required to use basename.
118649 if expr a : '\(a\)' >/dev/null 2>&1; then
118650 as_expr=expr
118651 else
118652 as_expr=false
118653 fi
118654
118655 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
118656 as_basename=basename
118657 else
118658 as_basename=false
118659 fi
118660
118661
118662 # Name of the executable.
118663 as_me=`$as_basename "$0" ||
118664 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
118665 X"$0" : 'X\(//\)$' \| \
118666 X"$0" : 'X\(/\)$' \| \
118667 . : '\(.\)' 2>/dev/null ||
118668 echo X/"$0" |
118669 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
118670 /^X\/\(\/\/\)$/{ s//\1/; q; }
118671 /^X\/\(\/\).*/{ s//\1/; q; }
118672 s/.*/./; q'`
118673
118674
118675 # PATH needs CR, and LINENO needs CR and PATH.
118676 # Avoid depending upon Character Ranges.
118677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
118678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
118679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
118680 as_cr_digits='0123456789'
118681 as_cr_alnum=$as_cr_Letters$as_cr_digits
118682
118683 # The user is always right.
118684 if test "${PATH_SEPARATOR+set}" != set; then
118685 echo "#! /bin/sh" >conf$$.sh
118686 echo "exit 0" >>conf$$.sh
118687 chmod +x conf$$.sh
118688 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
118689 PATH_SEPARATOR=';'
118690 else
118691 PATH_SEPARATOR=:
118692 fi
118693 rm -f conf$$.sh
118694 fi
118695
118696
118697 as_lineno_1=$LINENO
118698 as_lineno_2=$LINENO
118699 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
118700 test "x$as_lineno_1" != "x$as_lineno_2" &&
118701 test "x$as_lineno_3" = "x$as_lineno_2" || {
118702 # Find who we are. Look in the path if we contain no path at all
118703 # relative or not.
118704 case $0 in
118705 *[\\/]* ) as_myself=$0 ;;
118706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
118707 for as_dir in $PATH
118708 do
118709 IFS=$as_save_IFS
118710 test -z "$as_dir" && as_dir=.
118711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118712 done
118713
118714 ;;
118715 esac
118716 # We did not find ourselves, most probably we were run as `sh COMMAND'
118717 # in which case we are not to be found in the path.
118718 if test "x$as_myself" = x; then
118719 as_myself=$0
118720 fi
118721 if test ! -f "$as_myself"; then
118722 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
118723 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
118724 { (exit 1); exit 1; }; }
118725 fi
118726 case $CONFIG_SHELL in
118727 '')
118728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
118729 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
118730 do
118731 IFS=$as_save_IFS
118732 test -z "$as_dir" && as_dir=.
118733 for as_base in sh bash ksh sh5; do
118734 case $as_dir in
118735 /*)
118736 if ("$as_dir/$as_base" -c '
118737 as_lineno_1=$LINENO
118738 as_lineno_2=$LINENO
118739 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
118740 test "x$as_lineno_1" != "x$as_lineno_2" &&
118741 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
118742 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
118743 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
118744 CONFIG_SHELL=$as_dir/$as_base
118745 export CONFIG_SHELL
118746 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
118747 fi;;
118748 esac
118749 done
118750 done
118751 ;;
118752 esac
118753
118754 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
118755 # uniformly replaced by the line number. The first 'sed' inserts a
118756 # line-number line before each line; the second 'sed' does the real
118757 # work. The second script uses 'N' to pair each line-number line
118758 # with the numbered line, and appends trailing '-' during
118759 # substitution so that $LINENO is not a special case at line end.
118760 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
118761 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
118762 sed '=' <$as_myself |
118763 sed '
118764 N
118765 s,$,-,
118766 : loop
118767 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
118768 t loop
118769 s,-$,,
118770 s,^['$as_cr_digits']*\n,,
118771 ' >$as_me.lineno &&
118772 chmod +x $as_me.lineno ||
118773 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
118774 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
118775 { (exit 1); exit 1; }; }
118776
118777 # Don't try to exec as it changes $[0], causing all sort of problems
118778 # (the dirname of $[0] is not the place where we might find the
118779 # original and so on. Autoconf is especially sensible to this).
118780 . ./$as_me.lineno
118781 # Exit status is that of the last command.
118782 exit
118783 }
118784
118785
118786 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
118787 *c*,-n*) ECHO_N= ECHO_C='
118788 ' ECHO_T=' ' ;;
118789 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
118790 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
118791 esac
118792
118793 if expr a : '\(a\)' >/dev/null 2>&1; then
118794 as_expr=expr
118795 else
118796 as_expr=false
118797 fi
118798
118799 rm -f conf$$ conf$$.exe conf$$.file
118800 echo >conf$$.file
118801 if ln -s conf$$.file conf$$ 2>/dev/null; then
118802 # We could just check for DJGPP; but this test a) works b) is more generic
118803 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
118804 if test -f conf$$.exe; then
118805 # Don't use ln at all; we don't have any links
118806 as_ln_s='cp -p'
118807 else
118808 as_ln_s='ln -s'
118809 fi
118810 elif ln conf$$.file conf$$ 2>/dev/null; then
118811 as_ln_s=ln
118812 else
118813 as_ln_s='cp -p'
118814 fi
118815 rm -f conf$$ conf$$.exe conf$$.file
118816
118817 if mkdir -p . 2>/dev/null; then
118818 as_mkdir_p=:
118819 else
118820 test -d ./-p && rmdir ./-p
118821 as_mkdir_p=false
118822 fi
118823
118824 as_executable_p="test -f"
118825
118826 # Sed expression to map a string onto a valid CPP name.
118827 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
118828
118829 # Sed expression to map a string onto a valid variable name.
118830 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
118831
118832
118833 # IFS
118834 # We need space, tab and new line, in precisely that order.
118835 as_nl='
118836 '
118837 IFS=" $as_nl"
118838
118839 # CDPATH.
118840 $as_unset CDPATH
118841
118842 exec 6>&1
118843
118844 # Open the log real soon, to keep \$[0] and so on meaningful, and to
118845 # report actual input values of CONFIG_FILES etc. instead of their
118846 # values after options handling. Logging --version etc. is OK.
118847 exec 5>>config.log
118848 {
118849 echo
118850 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
118851 ## Running $as_me. ##
118852 _ASBOX
118853 } >&5
118854 cat >&5 <<_CSEOF
118855
118856 This file was extended by package-unused $as_me version-unused, which was
118857 generated by GNU Autoconf 2.59. Invocation command line was
118858
118859 CONFIG_FILES = $CONFIG_FILES
118860 CONFIG_HEADERS = $CONFIG_HEADERS
118861 CONFIG_LINKS = $CONFIG_LINKS
118862 CONFIG_COMMANDS = $CONFIG_COMMANDS
118863 $ $0 $@
118864
118865 _CSEOF
118866 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
118867 echo >&5
118868 _ACEOF
118869
118870 # Files that config.status was made for.
118871 if test -n "$ac_config_files"; then
118872 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
118873 fi
118874
118875 if test -n "$ac_config_headers"; then
118876 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
118877 fi
118878
118879 if test -n "$ac_config_links"; then
118880 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
118881 fi
118882
118883 if test -n "$ac_config_commands"; then
118884 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
118885 fi
118886
118887 cat >>$CONFIG_STATUS <<\_ACEOF
118888
118889 ac_cs_usage="\
118890 \`$as_me' instantiates files from templates according to the
118891 current configuration.
118892
118893 Usage: $0 [OPTIONS] [FILE]...
118894
118895 -h, --help print this help, then exit
118896 -V, --version print version number, then exit
118897 -q, --quiet do not print progress messages
118898 -d, --debug don't remove temporary files
118899 --recheck update $as_me by reconfiguring in the same conditions
118900 --file=FILE[:TEMPLATE]
118901 instantiate the configuration file FILE
118902 --header=FILE[:TEMPLATE]
118903 instantiate the configuration header FILE
118904
118905 Configuration files:
118906 $config_files
118907
118908 Configuration headers:
118909 $config_headers
118910
118911 Configuration commands:
118912 $config_commands
118913
118914 Report bugs to <bug-autoconf@gnu.org>."
118915 _ACEOF
118916
118917 cat >>$CONFIG_STATUS <<_ACEOF
118918 ac_cs_version="\\
118919 package-unused config.status version-unused
118920 configured by $0, generated by GNU Autoconf 2.59,
118921 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
118922
118923 Copyright (C) 2003 Free Software Foundation, Inc.
118924 This config.status script is free software; the Free Software Foundation
118925 gives unlimited permission to copy, distribute and modify it."
118926 srcdir=$srcdir
118927 INSTALL="$INSTALL"
118928 _ACEOF
118929
118930 cat >>$CONFIG_STATUS <<\_ACEOF
118931 # If no file are specified by the user, then we need to provide default
118932 # value. By we need to know if files were specified by the user.
118933 ac_need_defaults=:
118934 while test $# != 0
118935 do
118936 case $1 in
118937 --*=*)
118938 ac_option=`expr "x$1" : 'x\([^=]*\)='`
118939 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
118940 ac_shift=:
118941 ;;
118942 -*)
118943 ac_option=$1
118944 ac_optarg=$2
118945 ac_shift=shift
118946 ;;
118947 *) # This is not an option, so the user has probably given explicit
118948 # arguments.
118949 ac_option=$1
118950 ac_need_defaults=false;;
118951 esac
118952
118953 case $ac_option in
118954 # Handling of the options.
118955 _ACEOF
118956 cat >>$CONFIG_STATUS <<\_ACEOF
118957 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
118958 ac_cs_recheck=: ;;
118959 --version | --vers* | -V )
118960 echo "$ac_cs_version"; exit 0 ;;
118961 --he | --h)
118962 # Conflict between --help and --header
118963 { { echo "$as_me:$LINENO: error: ambiguous option: $1
118964 Try \`$0 --help' for more information." >&5
118965 echo "$as_me: error: ambiguous option: $1
118966 Try \`$0 --help' for more information." >&2;}
118967 { (exit 1); exit 1; }; };;
118968 --help | --hel | -h )
118969 echo "$ac_cs_usage"; exit 0 ;;
118970 --debug | --d* | -d )
118971 debug=: ;;
118972 --file | --fil | --fi | --f )
118973 $ac_shift
118974 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
118975 ac_need_defaults=false;;
118976 --header | --heade | --head | --hea )
118977 $ac_shift
118978 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
118979 ac_need_defaults=false;;
118980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
118981 | -silent | --silent | --silen | --sile | --sil | --si | --s)
118982 ac_cs_silent=: ;;
118983
118984 # This is an error.
118985 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
118986 Try \`$0 --help' for more information." >&5
118987 echo "$as_me: error: unrecognized option: $1
118988 Try \`$0 --help' for more information." >&2;}
118989 { (exit 1); exit 1; }; } ;;
118990
118991 *) ac_config_targets="$ac_config_targets $1" ;;
118992
118993 esac
118994 shift
118995 done
118996
118997 ac_configure_extra_args=
118998
118999 if $ac_cs_silent; then
119000 exec 6>/dev/null
119001 ac_configure_extra_args="$ac_configure_extra_args --silent"
119002 fi
119003
119004 _ACEOF
119005 cat >>$CONFIG_STATUS <<_ACEOF
119006 if \$ac_cs_recheck; then
119007 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
119008 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
119009 fi
119010
119011 _ACEOF
119012
119013 cat >>$CONFIG_STATUS <<_ACEOF
119014 #
119015 # INIT-COMMANDS section.
119016 #
119017
119018
119019 srcdir="$srcdir"
119020 host="$host"
119021 target="$target"
119022 with_multisubdir="$with_multisubdir"
119023 with_multisrctop="$with_multisrctop"
119024 with_target_subdir="$with_target_subdir"
119025 ac_configure_args="${multilib_arg} ${ac_configure_args}"
119026 multi_basedir="$multi_basedir"
119027 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
119028 CC="$CC"
119029
119030
119031 # The HP-UX ksh and POSIX shell print the target directory to stdout
119032 # if CDPATH is set.
119033 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
119034
119035 sed_quote_subst='$sed_quote_subst'
119036 double_quote_subst='$double_quote_subst'
119037 delay_variable_subst='$delay_variable_subst'
119038 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
119039 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
119040 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
119041 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
119042 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
119043 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
119044 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
119045 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
119046 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
119047 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
119048 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
119049 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
119050 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
119051 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
119052 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
119053 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
119054 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
119055 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
119056 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
119057 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
119058 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
119059 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
119060 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
119061 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
119062 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
119063 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
119064 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
119065 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119066 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
119067 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
119068 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
119069 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
119070 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
119071 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
119072 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
119073 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119074 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119075 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119076 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
119077 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
119078 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
119079 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
119080 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
119081 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
119082 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"`'
119083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
119084 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
119085 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
119086 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
119087 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
119088 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
119089 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
119090 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
119091 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
119092 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
119093 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
119094 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
119095 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
119096 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
119097 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
119098 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
119099 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
119100 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119101 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119102 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
119103 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
119104 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
119105 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
119106 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
119107 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119108 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119109 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119110 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119111 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119112 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119113 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
119114 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
119115 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
119116 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
119117 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
119118 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
119119 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
119120 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
119121 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
119122 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
119123 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
119124 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
119125 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
119126 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
119127 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
119128 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119129 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
119130 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
119131 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119132 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
119133 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
119134 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
119135 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
119136 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
119137 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
119138 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
119139 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
119140 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
119141 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
119142 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
119143 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119144 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119145 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119146 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
119147 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
119148 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
119149 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
119150 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
119151 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
119152 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
119153 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
119154 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
119155 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
119156 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
119157 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
119158 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
119159 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
119160 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
119161 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
119162 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119163 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119164 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119165 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119166 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119167 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119168 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119169 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119170 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119171 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119172 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119173 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119174 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119175 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119176 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119177 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119178 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119179 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119180 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119181 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119182 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119183 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119184 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119185 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119186 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119187 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119188 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119189 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119190 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119191 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119192 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119193 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119194 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119195 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119196 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119197 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119198 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119199 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119200 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119201 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119202 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119203 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119204 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119205 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119206 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119207 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119208 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119209
119210 LTCC='$LTCC'
119211 LTCFLAGS='$LTCFLAGS'
119212 compiler='$compiler_DEFAULT'
119213
119214 # Quote evaled strings.
119215 for var in SED \
119216 GREP \
119217 EGREP \
119218 FGREP \
119219 LD \
119220 NM \
119221 LN_S \
119222 lt_SP2NL \
119223 lt_NL2SP \
119224 reload_flag \
119225 OBJDUMP \
119226 deplibs_check_method \
119227 file_magic_cmd \
119228 AR \
119229 AR_FLAGS \
119230 STRIP \
119231 RANLIB \
119232 CC \
119233 CFLAGS \
119234 compiler \
119235 lt_cv_sys_global_symbol_pipe \
119236 lt_cv_sys_global_symbol_to_cdecl \
119237 lt_cv_sys_global_symbol_to_c_name_address \
119238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
119239 SHELL \
119240 ECHO \
119241 lt_prog_compiler_no_builtin_flag \
119242 lt_prog_compiler_wl \
119243 lt_prog_compiler_pic \
119244 lt_prog_compiler_static \
119245 lt_cv_prog_compiler_c_o \
119246 need_locks \
119247 DSYMUTIL \
119248 NMEDIT \
119249 LIPO \
119250 OTOOL \
119251 OTOOL64 \
119252 shrext_cmds \
119253 export_dynamic_flag_spec \
119254 whole_archive_flag_spec \
119255 compiler_needs_object \
119256 with_gnu_ld \
119257 allow_undefined_flag \
119258 no_undefined_flag \
119259 hardcode_libdir_flag_spec \
119260 hardcode_libdir_flag_spec_ld \
119261 hardcode_libdir_separator \
119262 fix_srcfile_path \
119263 exclude_expsyms \
119264 include_expsyms \
119265 file_list_spec \
119266 variables_saved_for_relink \
119267 libname_spec \
119268 library_names_spec \
119269 soname_spec \
119270 finish_eval \
119271 old_striplib \
119272 striplib \
119273 compiler_lib_search_dirs \
119274 predep_objects \
119275 postdep_objects \
119276 predeps \
119277 postdeps \
119278 compiler_lib_search_path \
119279 LD_CXX \
119280 compiler_CXX \
119281 lt_prog_compiler_no_builtin_flag_CXX \
119282 lt_prog_compiler_wl_CXX \
119283 lt_prog_compiler_pic_CXX \
119284 lt_prog_compiler_static_CXX \
119285 lt_cv_prog_compiler_c_o_CXX \
119286 export_dynamic_flag_spec_CXX \
119287 whole_archive_flag_spec_CXX \
119288 compiler_needs_object_CXX \
119289 with_gnu_ld_CXX \
119290 allow_undefined_flag_CXX \
119291 no_undefined_flag_CXX \
119292 hardcode_libdir_flag_spec_CXX \
119293 hardcode_libdir_flag_spec_ld_CXX \
119294 hardcode_libdir_separator_CXX \
119295 fix_srcfile_path_CXX \
119296 exclude_expsyms_CXX \
119297 include_expsyms_CXX \
119298 file_list_spec_CXX \
119299 compiler_lib_search_dirs_CXX \
119300 predep_objects_CXX \
119301 postdep_objects_CXX \
119302 predeps_CXX \
119303 postdeps_CXX \
119304 compiler_lib_search_path_CXX; do
119305 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
119306 *[\\\\\\\`\\"\\\$]*)
119307 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
119308 ;;
119309 *)
119310 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
119311 ;;
119312 esac
119313 done
119314
119315 # Double-quote double-evaled strings.
119316 for var in reload_cmds \
119317 old_postinstall_cmds \
119318 old_postuninstall_cmds \
119319 old_archive_cmds \
119320 extract_expsyms_cmds \
119321 old_archive_from_new_cmds \
119322 old_archive_from_expsyms_cmds \
119323 archive_cmds \
119324 archive_expsym_cmds \
119325 module_cmds \
119326 module_expsym_cmds \
119327 export_symbols_cmds \
119328 prelink_cmds \
119329 postinstall_cmds \
119330 postuninstall_cmds \
119331 finish_cmds \
119332 sys_lib_search_path_spec \
119333 sys_lib_dlsearch_path_spec \
119334 old_archive_cmds_CXX \
119335 old_archive_from_new_cmds_CXX \
119336 old_archive_from_expsyms_cmds_CXX \
119337 archive_cmds_CXX \
119338 archive_expsym_cmds_CXX \
119339 module_cmds_CXX \
119340 module_expsym_cmds_CXX \
119341 export_symbols_cmds_CXX \
119342 prelink_cmds_CXX; do
119343 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
119344 *[\\\\\\\`\\"\\\$]*)
119345 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
119346 ;;
119347 *)
119348 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
119349 ;;
119350 esac
119351 done
119352
119353 # Fix-up fallback echo if it was mangled by the above quoting rules.
119354 case \$lt_ECHO in
119355 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
119356 ;;
119357 esac
119358
119359 ac_aux_dir='$ac_aux_dir'
119360 xsi_shell='$xsi_shell'
119361 lt_shell_append='$lt_shell_append'
119362
119363 # See if we are running on zsh, and set the options which allow our
119364 # commands through without removal of \ escapes INIT.
119365 if test -n "\${ZSH_VERSION+set}" ; then
119366 setopt NO_GLOB_SUBST
119367 fi
119368
119369
119370 PACKAGE='$PACKAGE'
119371 VERSION='$VERSION'
119372 TIMESTAMP='$TIMESTAMP'
119373 RM='$RM'
119374 ofile='$ofile'
119375
119376
119377
119378
119379
119380
119381 GCC="$GCC"
119382 CC="$CC"
119383 acx_cv_header_stdint="$acx_cv_header_stdint"
119384 acx_cv_type_int8_t="$acx_cv_type_int8_t"
119385 acx_cv_type_int16_t="$acx_cv_type_int16_t"
119386 acx_cv_type_int32_t="$acx_cv_type_int32_t"
119387 acx_cv_type_int64_t="$acx_cv_type_int64_t"
119388 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
119389 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
119390 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
119391 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
119392 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
119393 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
119394 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
119395 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
119396 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
119397
119398
119399 # Variables needed in config.status (file generation) which aren't already
119400 # passed by autoconf.
119401 SUBDIRS="$SUBDIRS"
119402
119403
119404 _ACEOF
119405
119406
119407
119408 cat >>$CONFIG_STATUS <<\_ACEOF
119409 for ac_config_target in $ac_config_targets
119410 do
119411 case "$ac_config_target" in
119412 # Handling of arguments.
119413 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
119414 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
119415 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
119416 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
119417 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
119418 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
119419 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
119420 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
119421 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
119422 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
119423 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
119424 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
119425 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
119426 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
119427 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
119428 { (exit 1); exit 1; }; };;
119429 esac
119430 done
119431
119432 # If the user did not use the arguments to specify the items to instantiate,
119433 # then the envvar interface is used. Set only those that are not.
119434 # We use the long form for the default assignment because of an extremely
119435 # bizarre bug on SunOS 4.1.3.
119436 if $ac_need_defaults; then
119437 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
119438 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
119439 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
119440 fi
119441
119442 # Have a temporary directory for convenience. Make it in the build tree
119443 # simply because there is no reason to put it here, and in addition,
119444 # creating and moving files from /tmp can sometimes cause problems.
119445 # Create a temporary directory, and hook for its removal unless debugging.
119446 $debug ||
119447 {
119448 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
119449 trap '{ (exit 1); exit 1; }' 1 2 13 15
119450 }
119451
119452 # Create a (secure) tmp directory for tmp files.
119453
119454 {
119455 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
119456 test -n "$tmp" && test -d "$tmp"
119457 } ||
119458 {
119459 tmp=./confstat$$-$RANDOM
119460 (umask 077 && mkdir $tmp)
119461 } ||
119462 {
119463 echo "$me: cannot create a temporary directory in ." >&2
119464 { (exit 1); exit 1; }
119465 }
119466
119467 _ACEOF
119468
119469 cat >>$CONFIG_STATUS <<_ACEOF
119470
119471 #
119472 # CONFIG_FILES section.
119473 #
119474
119475 # No need to generate the scripts if there are no CONFIG_FILES.
119476 # This happens for instance when ./config.status config.h
119477 if test -n "\$CONFIG_FILES"; then
119478 # Protect against being on the right side of a sed subst in config.status.
119479 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
119480 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
119481 s,@SHELL@,$SHELL,;t t
119482 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
119483 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
119484 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
119485 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
119486 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
119487 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
119488 s,@exec_prefix@,$exec_prefix,;t t
119489 s,@prefix@,$prefix,;t t
119490 s,@program_transform_name@,$program_transform_name,;t t
119491 s,@bindir@,$bindir,;t t
119492 s,@sbindir@,$sbindir,;t t
119493 s,@libexecdir@,$libexecdir,;t t
119494 s,@datadir@,$datadir,;t t
119495 s,@sysconfdir@,$sysconfdir,;t t
119496 s,@sharedstatedir@,$sharedstatedir,;t t
119497 s,@localstatedir@,$localstatedir,;t t
119498 s,@libdir@,$libdir,;t t
119499 s,@includedir@,$includedir,;t t
119500 s,@oldincludedir@,$oldincludedir,;t t
119501 s,@infodir@,$infodir,;t t
119502 s,@mandir@,$mandir,;t t
119503 s,@build_alias@,$build_alias,;t t
119504 s,@host_alias@,$host_alias,;t t
119505 s,@target_alias@,$target_alias,;t t
119506 s,@DEFS@,$DEFS,;t t
119507 s,@ECHO_C@,$ECHO_C,;t t
119508 s,@ECHO_N@,$ECHO_N,;t t
119509 s,@ECHO_T@,$ECHO_T,;t t
119510 s,@LIBS@,$LIBS,;t t
119511 s,@libtool_VERSION@,$libtool_VERSION,;t t
119512 s,@multi_basedir@,$multi_basedir,;t t
119513 s,@build@,$build,;t t
119514 s,@build_cpu@,$build_cpu,;t t
119515 s,@build_vendor@,$build_vendor,;t t
119516 s,@build_os@,$build_os,;t t
119517 s,@host@,$host,;t t
119518 s,@host_cpu@,$host_cpu,;t t
119519 s,@host_vendor@,$host_vendor,;t t
119520 s,@host_os@,$host_os,;t t
119521 s,@target@,$target,;t t
119522 s,@target_cpu@,$target_cpu,;t t
119523 s,@target_vendor@,$target_vendor,;t t
119524 s,@target_os@,$target_os,;t t
119525 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
119526 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
119527 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
119528 s,@CYGPATH_W@,$CYGPATH_W,;t t
119529 s,@PACKAGE@,$PACKAGE,;t t
119530 s,@VERSION@,$VERSION,;t t
119531 s,@ACLOCAL@,$ACLOCAL,;t t
119532 s,@AUTOCONF@,$AUTOCONF,;t t
119533 s,@AUTOMAKE@,$AUTOMAKE,;t t
119534 s,@AUTOHEADER@,$AUTOHEADER,;t t
119535 s,@MAKEINFO@,$MAKEINFO,;t t
119536 s,@install_sh@,$install_sh,;t t
119537 s,@STRIP@,$STRIP,;t t
119538 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
119539 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
119540 s,@mkdir_p@,$mkdir_p,;t t
119541 s,@AWK@,$AWK,;t t
119542 s,@SET_MAKE@,$SET_MAKE,;t t
119543 s,@am__leading_dot@,$am__leading_dot,;t t
119544 s,@AMTAR@,$AMTAR,;t t
119545 s,@am__tar@,$am__tar,;t t
119546 s,@am__untar@,$am__untar,;t t
119547 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
119548 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
119549 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
119550 s,@CC@,$CC,;t t
119551 s,@ac_ct_CC@,$ac_ct_CC,;t t
119552 s,@EXEEXT@,$EXEEXT,;t t
119553 s,@OBJEXT@,$OBJEXT,;t t
119554 s,@CXX@,$CXX,;t t
119555 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
119556 s,@CFLAGS@,$CFLAGS,;t t
119557 s,@CXXFLAGS@,$CXXFLAGS,;t t
119558 s,@LN_S@,$LN_S,;t t
119559 s,@AS@,$AS,;t t
119560 s,@ac_ct_AS@,$ac_ct_AS,;t t
119561 s,@AR@,$AR,;t t
119562 s,@ac_ct_AR@,$ac_ct_AR,;t t
119563 s,@RANLIB@,$RANLIB,;t t
119564 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
119565 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
119566 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
119567 s,@MAINT@,$MAINT,;t t
119568 s,@CPP@,$CPP,;t t
119569 s,@CPPFLAGS@,$CPPFLAGS,;t t
119570 s,@EGREP@,$EGREP,;t t
119571 s,@LIBTOOL@,$LIBTOOL,;t t
119572 s,@SED@,$SED,;t t
119573 s,@FGREP@,$FGREP,;t t
119574 s,@GREP@,$GREP,;t t
119575 s,@LD@,$LD,;t t
119576 s,@DUMPBIN@,$DUMPBIN,;t t
119577 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
119578 s,@NM@,$NM,;t t
119579 s,@OBJDUMP@,$OBJDUMP,;t t
119580 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
119581 s,@lt_ECHO@,$lt_ECHO,;t t
119582 s,@DSYMUTIL@,$DSYMUTIL,;t t
119583 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
119584 s,@NMEDIT@,$NMEDIT,;t t
119585 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
119586 s,@LIPO@,$LIPO,;t t
119587 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
119588 s,@OTOOL@,$OTOOL,;t t
119589 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
119590 s,@OTOOL64@,$OTOOL64,;t t
119591 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
119592 s,@LDFLAGS@,$LDFLAGS,;t t
119593 s,@CXXCPP@,$CXXCPP,;t t
119594 s,@enable_shared@,$enable_shared,;t t
119595 s,@enable_static@,$enable_static,;t t
119596 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
119597 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
119598 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
119599 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
119600 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
119601 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
119602 s,@WERROR@,$WERROR,;t t
119603 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
119604 s,@CSTDIO_H@,$CSTDIO_H,;t t
119605 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
119606 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
119607 s,@check_msgfmt@,$check_msgfmt,;t t
119608 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
119609 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
119610 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
119611 s,@USE_NLS@,$USE_NLS,;t t
119612 s,@CLOCALE_H@,$CLOCALE_H,;t t
119613 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
119614 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
119615 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
119616 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
119617 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
119618 s,@CMONEY_CC@,$CMONEY_CC,;t t
119619 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
119620 s,@CTIME_H@,$CTIME_H,;t t
119621 s,@CTIME_CC@,$CTIME_CC,;t t
119622 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
119623 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
119624 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
119625 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
119626 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
119627 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
119628 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
119629 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
119630 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
119631 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
119632 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
119633 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
119634 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
119635 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
119636 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
119637 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
119638 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
119639 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
119640 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
119641 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
119642 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
119643 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
119644 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
119645 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
119646 s,@LIBICONV@,$LIBICONV,;t t
119647 s,@LTLIBICONV@,$LTLIBICONV,;t t
119648 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
119649 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
119650 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
119651 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
119652 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
119653 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
119654 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
119655 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
119656 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
119657 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
119658 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
119659 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
119660 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
119661 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
119662 s,@baseline_dir@,$baseline_dir,;t t
119663 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
119664 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
119665 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
119666 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
119667 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
119668 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
119669 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
119670 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
119671 s,@gxx_include_dir@,$gxx_include_dir,;t t
119672 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
119673 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
119674 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
119675 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
119676 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
119677 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
119678 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
119679 s,@LIBOBJS@,$LIBOBJS,;t t
119680 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
119681 CEOF
119682
119683 _ACEOF
119684
119685 cat >>$CONFIG_STATUS <<\_ACEOF
119686 # Split the substitutions into bite-sized pieces for seds with
119687 # small command number limits, like on Digital OSF/1 and HP-UX.
119688 ac_max_sed_lines=48
119689 ac_sed_frag=1 # Number of current file.
119690 ac_beg=1 # First line for current file.
119691 ac_end=$ac_max_sed_lines # Line after last line for current file.
119692 ac_more_lines=:
119693 ac_sed_cmds=
119694 while $ac_more_lines; do
119695 if test $ac_beg -gt 1; then
119696 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
119697 else
119698 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
119699 fi
119700 if test ! -s $tmp/subs.frag; then
119701 ac_more_lines=false
119702 else
119703 # The purpose of the label and of the branching condition is to
119704 # speed up the sed processing (if there are no `@' at all, there
119705 # is no need to browse any of the substitutions).
119706 # These are the two extra sed commands mentioned above.
119707 (echo ':t
119708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
119709 if test -z "$ac_sed_cmds"; then
119710 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
119711 else
119712 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
119713 fi
119714 ac_sed_frag=`expr $ac_sed_frag + 1`
119715 ac_beg=$ac_end
119716 ac_end=`expr $ac_end + $ac_max_sed_lines`
119717 fi
119718 done
119719 if test -z "$ac_sed_cmds"; then
119720 ac_sed_cmds=cat
119721 fi
119722 fi # test -n "$CONFIG_FILES"
119723
119724 _ACEOF
119725 cat >>$CONFIG_STATUS <<\_ACEOF
119726 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
119727 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
119728 case $ac_file in
119729 - | *:- | *:-:* ) # input from stdin
119730 cat >$tmp/stdin
119731 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
119732 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
119733 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
119734 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
119735 * ) ac_file_in=$ac_file.in ;;
119736 esac
119737
119738 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
119739 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
119740 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119741 X"$ac_file" : 'X\(//\)[^/]' \| \
119742 X"$ac_file" : 'X\(//\)$' \| \
119743 X"$ac_file" : 'X\(/\)' \| \
119744 . : '\(.\)' 2>/dev/null ||
119745 echo X"$ac_file" |
119746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119747 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119748 /^X\(\/\/\)$/{ s//\1/; q; }
119749 /^X\(\/\).*/{ s//\1/; q; }
119750 s/.*/./; q'`
119751 { if $as_mkdir_p; then
119752 mkdir -p "$ac_dir"
119753 else
119754 as_dir="$ac_dir"
119755 as_dirs=
119756 while test ! -d "$as_dir"; do
119757 as_dirs="$as_dir $as_dirs"
119758 as_dir=`(dirname "$as_dir") 2>/dev/null ||
119759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119760 X"$as_dir" : 'X\(//\)[^/]' \| \
119761 X"$as_dir" : 'X\(//\)$' \| \
119762 X"$as_dir" : 'X\(/\)' \| \
119763 . : '\(.\)' 2>/dev/null ||
119764 echo X"$as_dir" |
119765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119766 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119767 /^X\(\/\/\)$/{ s//\1/; q; }
119768 /^X\(\/\).*/{ s//\1/; q; }
119769 s/.*/./; q'`
119770 done
119771 test ! -n "$as_dirs" || mkdir $as_dirs
119772 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119773 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119774 { (exit 1); exit 1; }; }; }
119775
119776 ac_builddir=.
119777
119778 if test "$ac_dir" != .; then
119779 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
119780 # A "../" for each directory in $ac_dir_suffix.
119781 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
119782 else
119783 ac_dir_suffix= ac_top_builddir=
119784 fi
119785
119786 case $srcdir in
119787 .) # No --srcdir option. We are building in place.
119788 ac_srcdir=.
119789 if test -z "$ac_top_builddir"; then
119790 ac_top_srcdir=.
119791 else
119792 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
119793 fi ;;
119794 [\\/]* | ?:[\\/]* ) # Absolute path.
119795 ac_srcdir=$srcdir$ac_dir_suffix;
119796 ac_top_srcdir=$srcdir ;;
119797 *) # Relative path.
119798 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
119799 ac_top_srcdir=$ac_top_builddir$srcdir ;;
119800 esac
119801
119802 # Do not use `cd foo && pwd` to compute absolute paths, because
119803 # the directories may not exist.
119804 case `pwd` in
119805 .) ac_abs_builddir="$ac_dir";;
119806 *)
119807 case "$ac_dir" in
119808 .) ac_abs_builddir=`pwd`;;
119809 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
119810 *) ac_abs_builddir=`pwd`/"$ac_dir";;
119811 esac;;
119812 esac
119813 case $ac_abs_builddir in
119814 .) ac_abs_top_builddir=${ac_top_builddir}.;;
119815 *)
119816 case ${ac_top_builddir}. in
119817 .) ac_abs_top_builddir=$ac_abs_builddir;;
119818 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
119819 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
119820 esac;;
119821 esac
119822 case $ac_abs_builddir in
119823 .) ac_abs_srcdir=$ac_srcdir;;
119824 *)
119825 case $ac_srcdir in
119826 .) ac_abs_srcdir=$ac_abs_builddir;;
119827 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
119828 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
119829 esac;;
119830 esac
119831 case $ac_abs_builddir in
119832 .) ac_abs_top_srcdir=$ac_top_srcdir;;
119833 *)
119834 case $ac_top_srcdir in
119835 .) ac_abs_top_srcdir=$ac_abs_builddir;;
119836 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
119837 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
119838 esac;;
119839 esac
119840
119841
119842 case $INSTALL in
119843 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
119844 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
119845 esac
119846
119847 if test x"$ac_file" != x-; then
119848 { echo "$as_me:$LINENO: creating $ac_file" >&5
119849 echo "$as_me: creating $ac_file" >&6;}
119850 rm -f "$ac_file"
119851 fi
119852 # Let's still pretend it is `configure' which instantiates (i.e., don't
119853 # use $as_me), people would be surprised to read:
119854 # /* config.h. Generated by config.status. */
119855 if test x"$ac_file" = x-; then
119856 configure_input=
119857 else
119858 configure_input="$ac_file. "
119859 fi
119860 configure_input=$configure_input"Generated from `echo $ac_file_in |
119861 sed 's,.*/,,'` by configure."
119862
119863 # First look for the input files in the build tree, otherwise in the
119864 # src tree.
119865 ac_file_inputs=`IFS=:
119866 for f in $ac_file_in; do
119867 case $f in
119868 -) echo $tmp/stdin ;;
119869 [\\/$]*)
119870 # Absolute (can't be DOS-style, as IFS=:)
119871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119872 echo "$as_me: error: cannot find input file: $f" >&2;}
119873 { (exit 1); exit 1; }; }
119874 echo "$f";;
119875 *) # Relative
119876 if test -f "$f"; then
119877 # Build tree
119878 echo "$f"
119879 elif test -f "$srcdir/$f"; then
119880 # Source tree
119881 echo "$srcdir/$f"
119882 else
119883 # /dev/null tree
119884 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119885 echo "$as_me: error: cannot find input file: $f" >&2;}
119886 { (exit 1); exit 1; }; }
119887 fi;;
119888 esac
119889 done` || { (exit 1); exit 1; }
119890 _ACEOF
119891 cat >>$CONFIG_STATUS <<_ACEOF
119892 sed "$ac_vpsub
119893 $extrasub
119894 _ACEOF
119895 cat >>$CONFIG_STATUS <<\_ACEOF
119896 :t
119897 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
119898 s,@configure_input@,$configure_input,;t t
119899 s,@srcdir@,$ac_srcdir,;t t
119900 s,@abs_srcdir@,$ac_abs_srcdir,;t t
119901 s,@top_srcdir@,$ac_top_srcdir,;t t
119902 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
119903 s,@builddir@,$ac_builddir,;t t
119904 s,@abs_builddir@,$ac_abs_builddir,;t t
119905 s,@top_builddir@,$ac_top_builddir,;t t
119906 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
119907 s,@INSTALL@,$ac_INSTALL,;t t
119908 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
119909 rm -f $tmp/stdin
119910 if test x"$ac_file" != x-; then
119911 mv $tmp/out $ac_file
119912 else
119913 cat $tmp/out
119914 rm -f $tmp/out
119915 fi
119916
119917 # Run the commands associated with the file.
119918 case $ac_file in
119919 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
119920 esac
119921 done
119922 _ACEOF
119923 cat >>$CONFIG_STATUS <<\_ACEOF
119924
119925 #
119926 # CONFIG_HEADER section.
119927 #
119928
119929 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
119930 # NAME is the cpp macro being defined and VALUE is the value it is being given.
119931 #
119932 # ac_d sets the value in "#define NAME VALUE" lines.
119933 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
119934 ac_dB='[ ].*$,\1#\2'
119935 ac_dC=' '
119936 ac_dD=',;t'
119937 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
119938 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
119939 ac_uB='$,\1#\2define\3'
119940 ac_uC=' '
119941 ac_uD=',;t'
119942
119943 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
119944 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
119945 case $ac_file in
119946 - | *:- | *:-:* ) # input from stdin
119947 cat >$tmp/stdin
119948 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
119949 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
119950 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
119951 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
119952 * ) ac_file_in=$ac_file.in ;;
119953 esac
119954
119955 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
119956 echo "$as_me: creating $ac_file" >&6;}
119957
119958 # First look for the input files in the build tree, otherwise in the
119959 # src tree.
119960 ac_file_inputs=`IFS=:
119961 for f in $ac_file_in; do
119962 case $f in
119963 -) echo $tmp/stdin ;;
119964 [\\/$]*)
119965 # Absolute (can't be DOS-style, as IFS=:)
119966 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119967 echo "$as_me: error: cannot find input file: $f" >&2;}
119968 { (exit 1); exit 1; }; }
119969 # Do quote $f, to prevent DOS paths from being IFS'd.
119970 echo "$f";;
119971 *) # Relative
119972 if test -f "$f"; then
119973 # Build tree
119974 echo "$f"
119975 elif test -f "$srcdir/$f"; then
119976 # Source tree
119977 echo "$srcdir/$f"
119978 else
119979 # /dev/null tree
119980 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119981 echo "$as_me: error: cannot find input file: $f" >&2;}
119982 { (exit 1); exit 1; }; }
119983 fi;;
119984 esac
119985 done` || { (exit 1); exit 1; }
119986 # Remove the trailing spaces.
119987 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
119988
119989 _ACEOF
119990
119991 # Transform confdefs.h into two sed scripts, `conftest.defines' and
119992 # `conftest.undefs', that substitutes the proper values into
119993 # config.h.in to produce config.h. The first handles `#define'
119994 # templates, and the second `#undef' templates.
119995 # And first: Protect against being on the right side of a sed subst in
119996 # config.status. Protect against being in an unquoted here document
119997 # in config.status.
119998 rm -f conftest.defines conftest.undefs
119999 # Using a here document instead of a string reduces the quoting nightmare.
120000 # Putting comments in sed scripts is not portable.
120001 #
120002 # `end' is used to avoid that the second main sed command (meant for
120003 # 0-ary CPP macros) applies to n-ary macro definitions.
120004 # See the Autoconf documentation for `clear'.
120005 cat >confdef2sed.sed <<\_ACEOF
120006 s/[\\&,]/\\&/g
120007 s,[\\$`],\\&,g
120008 t clear
120009 : clear
120010 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
120011 t end
120012 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
120013 : end
120014 _ACEOF
120015 # If some macros were called several times there might be several times
120016 # the same #defines, which is useless. Nevertheless, we may not want to
120017 # sort them, since we want the *last* AC-DEFINE to be honored.
120018 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
120019 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
120020 rm -f confdef2sed.sed
120021
120022 # This sed command replaces #undef with comments. This is necessary, for
120023 # example, in the case of _POSIX_SOURCE, which is predefined and required
120024 # on some systems where configure will not decide to define it.
120025 cat >>conftest.undefs <<\_ACEOF
120026 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
120027 _ACEOF
120028
120029 # Break up conftest.defines because some shells have a limit on the size
120030 # of here documents, and old seds have small limits too (100 cmds).
120031 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
120032 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
120033 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
120034 echo ' :' >>$CONFIG_STATUS
120035 rm -f conftest.tail
120036 while grep . conftest.defines >/dev/null
120037 do
120038 # Write a limited-size here document to $tmp/defines.sed.
120039 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
120040 # Speed up: don't consider the non `#define' lines.
120041 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
120042 # Work around the forget-to-reset-the-flag bug.
120043 echo 't clr' >>$CONFIG_STATUS
120044 echo ': clr' >>$CONFIG_STATUS
120045 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
120046 echo 'CEOF
120047 sed -f $tmp/defines.sed $tmp/in >$tmp/out
120048 rm -f $tmp/in
120049 mv $tmp/out $tmp/in
120050 ' >>$CONFIG_STATUS
120051 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
120052 rm -f conftest.defines
120053 mv conftest.tail conftest.defines
120054 done
120055 rm -f conftest.defines
120056 echo ' fi # grep' >>$CONFIG_STATUS
120057 echo >>$CONFIG_STATUS
120058
120059 # Break up conftest.undefs because some shells have a limit on the size
120060 # of here documents, and old seds have small limits too (100 cmds).
120061 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
120062 rm -f conftest.tail
120063 while grep . conftest.undefs >/dev/null
120064 do
120065 # Write a limited-size here document to $tmp/undefs.sed.
120066 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
120067 # Speed up: don't consider the non `#undef'
120068 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
120069 # Work around the forget-to-reset-the-flag bug.
120070 echo 't clr' >>$CONFIG_STATUS
120071 echo ': clr' >>$CONFIG_STATUS
120072 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
120073 echo 'CEOF
120074 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
120075 rm -f $tmp/in
120076 mv $tmp/out $tmp/in
120077 ' >>$CONFIG_STATUS
120078 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
120079 rm -f conftest.undefs
120080 mv conftest.tail conftest.undefs
120081 done
120082 rm -f conftest.undefs
120083
120084 cat >>$CONFIG_STATUS <<\_ACEOF
120085 # Let's still pretend it is `configure' which instantiates (i.e., don't
120086 # use $as_me), people would be surprised to read:
120087 # /* config.h. Generated by config.status. */
120088 if test x"$ac_file" = x-; then
120089 echo "/* Generated by configure. */" >$tmp/config.h
120090 else
120091 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
120092 fi
120093 cat $tmp/in >>$tmp/config.h
120094 rm -f $tmp/in
120095 if test x"$ac_file" != x-; then
120096 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
120097 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
120098 echo "$as_me: $ac_file is unchanged" >&6;}
120099 else
120100 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
120101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120102 X"$ac_file" : 'X\(//\)[^/]' \| \
120103 X"$ac_file" : 'X\(//\)$' \| \
120104 X"$ac_file" : 'X\(/\)' \| \
120105 . : '\(.\)' 2>/dev/null ||
120106 echo X"$ac_file" |
120107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120109 /^X\(\/\/\)$/{ s//\1/; q; }
120110 /^X\(\/\).*/{ s//\1/; q; }
120111 s/.*/./; q'`
120112 { if $as_mkdir_p; then
120113 mkdir -p "$ac_dir"
120114 else
120115 as_dir="$ac_dir"
120116 as_dirs=
120117 while test ! -d "$as_dir"; do
120118 as_dirs="$as_dir $as_dirs"
120119 as_dir=`(dirname "$as_dir") 2>/dev/null ||
120120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120121 X"$as_dir" : 'X\(//\)[^/]' \| \
120122 X"$as_dir" : 'X\(//\)$' \| \
120123 X"$as_dir" : 'X\(/\)' \| \
120124 . : '\(.\)' 2>/dev/null ||
120125 echo X"$as_dir" |
120126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120128 /^X\(\/\/\)$/{ s//\1/; q; }
120129 /^X\(\/\).*/{ s//\1/; q; }
120130 s/.*/./; q'`
120131 done
120132 test ! -n "$as_dirs" || mkdir $as_dirs
120133 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
120134 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
120135 { (exit 1); exit 1; }; }; }
120136
120137 rm -f $ac_file
120138 mv $tmp/config.h $ac_file
120139 fi
120140 else
120141 cat $tmp/config.h
120142 rm -f $tmp/config.h
120143 fi
120144 # Compute $ac_file's index in $config_headers.
120145 _am_stamp_count=1
120146 for _am_header in $config_headers :; do
120147 case $_am_header in
120148 $ac_file | $ac_file:* )
120149 break ;;
120150 * )
120151 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
120152 esac
120153 done
120154 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
120155 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120156 X$ac_file : 'X\(//\)[^/]' \| \
120157 X$ac_file : 'X\(//\)$' \| \
120158 X$ac_file : 'X\(/\)' \| \
120159 . : '\(.\)' 2>/dev/null ||
120160 echo X$ac_file |
120161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120163 /^X\(\/\/\)$/{ s//\1/; q; }
120164 /^X\(\/\).*/{ s//\1/; q; }
120165 s/.*/./; q'`/stamp-h$_am_stamp_count
120166 done
120167 _ACEOF
120168 cat >>$CONFIG_STATUS <<\_ACEOF
120169
120170 #
120171 # CONFIG_COMMANDS section.
120172 #
120173 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
120174 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
120175 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
120176 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
120177 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120178 X"$ac_dest" : 'X\(//\)[^/]' \| \
120179 X"$ac_dest" : 'X\(//\)$' \| \
120180 X"$ac_dest" : 'X\(/\)' \| \
120181 . : '\(.\)' 2>/dev/null ||
120182 echo X"$ac_dest" |
120183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120185 /^X\(\/\/\)$/{ s//\1/; q; }
120186 /^X\(\/\).*/{ s//\1/; q; }
120187 s/.*/./; q'`
120188 { if $as_mkdir_p; then
120189 mkdir -p "$ac_dir"
120190 else
120191 as_dir="$ac_dir"
120192 as_dirs=
120193 while test ! -d "$as_dir"; do
120194 as_dirs="$as_dir $as_dirs"
120195 as_dir=`(dirname "$as_dir") 2>/dev/null ||
120196 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120197 X"$as_dir" : 'X\(//\)[^/]' \| \
120198 X"$as_dir" : 'X\(//\)$' \| \
120199 X"$as_dir" : 'X\(/\)' \| \
120200 . : '\(.\)' 2>/dev/null ||
120201 echo X"$as_dir" |
120202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120204 /^X\(\/\/\)$/{ s//\1/; q; }
120205 /^X\(\/\).*/{ s//\1/; q; }
120206 s/.*/./; q'`
120207 done
120208 test ! -n "$as_dirs" || mkdir $as_dirs
120209 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
120210 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
120211 { (exit 1); exit 1; }; }; }
120212
120213 ac_builddir=.
120214
120215 if test "$ac_dir" != .; then
120216 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
120217 # A "../" for each directory in $ac_dir_suffix.
120218 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
120219 else
120220 ac_dir_suffix= ac_top_builddir=
120221 fi
120222
120223 case $srcdir in
120224 .) # No --srcdir option. We are building in place.
120225 ac_srcdir=.
120226 if test -z "$ac_top_builddir"; then
120227 ac_top_srcdir=.
120228 else
120229 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
120230 fi ;;
120231 [\\/]* | ?:[\\/]* ) # Absolute path.
120232 ac_srcdir=$srcdir$ac_dir_suffix;
120233 ac_top_srcdir=$srcdir ;;
120234 *) # Relative path.
120235 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
120236 ac_top_srcdir=$ac_top_builddir$srcdir ;;
120237 esac
120238
120239 # Do not use `cd foo && pwd` to compute absolute paths, because
120240 # the directories may not exist.
120241 case `pwd` in
120242 .) ac_abs_builddir="$ac_dir";;
120243 *)
120244 case "$ac_dir" in
120245 .) ac_abs_builddir=`pwd`;;
120246 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
120247 *) ac_abs_builddir=`pwd`/"$ac_dir";;
120248 esac;;
120249 esac
120250 case $ac_abs_builddir in
120251 .) ac_abs_top_builddir=${ac_top_builddir}.;;
120252 *)
120253 case ${ac_top_builddir}. in
120254 .) ac_abs_top_builddir=$ac_abs_builddir;;
120255 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
120256 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
120257 esac;;
120258 esac
120259 case $ac_abs_builddir in
120260 .) ac_abs_srcdir=$ac_srcdir;;
120261 *)
120262 case $ac_srcdir in
120263 .) ac_abs_srcdir=$ac_abs_builddir;;
120264 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
120265 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
120266 esac;;
120267 esac
120268 case $ac_abs_builddir in
120269 .) ac_abs_top_srcdir=$ac_top_srcdir;;
120270 *)
120271 case $ac_top_srcdir in
120272 .) ac_abs_top_srcdir=$ac_abs_builddir;;
120273 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
120274 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
120275 esac;;
120276 esac
120277
120278
120279 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
120280 echo "$as_me: executing $ac_dest commands" >&6;}
120281 case $ac_dest in
120282 default-1 )
120283 # Only add multilib support code if we just rebuilt the top-level
120284 # Makefile.
120285 case " $CONFIG_FILES " in
120286 *" Makefile "*)
120287 ac_file=Makefile . ${multi_basedir}/config-ml.in
120288 ;;
120289 esac ;;
120290 libtool )
120291
120292 # See if we are running on zsh, and set the options which allow our
120293 # commands through without removal of \ escapes.
120294 if test -n "${ZSH_VERSION+set}" ; then
120295 setopt NO_GLOB_SUBST
120296 fi
120297
120298 cfgfile="${ofile}T"
120299 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
120300 $RM "$cfgfile"
120301
120302 cat <<_LT_EOF >> "$cfgfile"
120303 #! $SHELL
120304
120305 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
120306 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
120307 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
120308 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
120309 #
120310 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
120311 # 2006, 2007, 2008 Free Software Foundation, Inc.
120312 # Written by Gordon Matzigkeit, 1996
120313 #
120314 # This file is part of GNU Libtool.
120315 #
120316 # GNU Libtool is free software; you can redistribute it and/or
120317 # modify it under the terms of the GNU General Public License as
120318 # published by the Free Software Foundation; either version 2 of
120319 # the License, or (at your option) any later version.
120320 #
120321 # As a special exception to the GNU General Public License,
120322 # if you distribute this file as part of a program or library that
120323 # is built using GNU Libtool, you may include this file under the
120324 # same distribution terms that you use for the rest of that program.
120325 #
120326 # GNU Libtool is distributed in the hope that it will be useful,
120327 # but WITHOUT ANY WARRANTY; without even the implied warranty of
120328 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
120329 # GNU General Public License for more details.
120330 #
120331 # You should have received a copy of the GNU General Public License
120332 # along with GNU Libtool; see the file COPYING. If not, a copy
120333 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
120334 # obtained by writing to the Free Software Foundation, Inc.,
120335 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
120336
120337
120338 # The names of the tagged configurations supported by this script.
120339 available_tags="CXX "
120340
120341 # ### BEGIN LIBTOOL CONFIG
120342
120343 # Which release of libtool.m4 was used?
120344 macro_version=$macro_version
120345 macro_revision=$macro_revision
120346
120347 # Whether or not to build shared libraries.
120348 build_libtool_libs=$enable_shared
120349
120350 # Whether or not to build static libraries.
120351 build_old_libs=$enable_static
120352
120353 # What type of objects to build.
120354 pic_mode=$pic_mode
120355
120356 # Whether or not to optimize for fast installation.
120357 fast_install=$enable_fast_install
120358
120359 # The host system.
120360 host_alias=$host_alias
120361 host=$host
120362 host_os=$host_os
120363
120364 # The build system.
120365 build_alias=$build_alias
120366 build=$build
120367 build_os=$build_os
120368
120369 # A sed program that does not truncate output.
120370 SED=$lt_SED
120371
120372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
120373 Xsed="\$SED -e 1s/^X//"
120374
120375 # A grep program that handles long lines.
120376 GREP=$lt_GREP
120377
120378 # An ERE matcher.
120379 EGREP=$lt_EGREP
120380
120381 # A literal string matcher.
120382 FGREP=$lt_FGREP
120383
120384 # A BSD- or MS-compatible name lister.
120385 NM=$lt_NM
120386
120387 # Whether we need soft or hard links.
120388 LN_S=$lt_LN_S
120389
120390 # What is the maximum length of a command?
120391 max_cmd_len=$max_cmd_len
120392
120393 # Object file suffix (normally "o").
120394 objext=$ac_objext
120395
120396 # Executable file suffix (normally "").
120397 exeext=$exeext
120398
120399 # whether the shell understands "unset".
120400 lt_unset=$lt_unset
120401
120402 # turn spaces into newlines.
120403 SP2NL=$lt_lt_SP2NL
120404
120405 # turn newlines into spaces.
120406 NL2SP=$lt_lt_NL2SP
120407
120408 # How to create reloadable object files.
120409 reload_flag=$lt_reload_flag
120410 reload_cmds=$lt_reload_cmds
120411
120412 # An object symbol dumper.
120413 OBJDUMP=$lt_OBJDUMP
120414
120415 # Method to check whether dependent libraries are shared objects.
120416 deplibs_check_method=$lt_deplibs_check_method
120417
120418 # Command to use when deplibs_check_method == "file_magic".
120419 file_magic_cmd=$lt_file_magic_cmd
120420
120421 # The archiver.
120422 AR=$lt_AR
120423 AR_FLAGS=$lt_AR_FLAGS
120424
120425 # A symbol stripping program.
120426 STRIP=$lt_STRIP
120427
120428 # Commands used to install an old-style archive.
120429 RANLIB=$lt_RANLIB
120430 old_postinstall_cmds=$lt_old_postinstall_cmds
120431 old_postuninstall_cmds=$lt_old_postuninstall_cmds
120432
120433 # A C compiler.
120434 LTCC=$lt_CC
120435
120436 # LTCC compiler flags.
120437 LTCFLAGS=$lt_CFLAGS
120438
120439 # Take the output of nm and produce a listing of raw symbols and C names.
120440 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
120441
120442 # Transform the output of nm in a proper C declaration.
120443 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
120444
120445 # Transform the output of nm in a C name address pair.
120446 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
120447
120448 # Transform the output of nm in a C name address pair when lib prefix is needed.
120449 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
120450
120451 # The name of the directory that contains temporary libtool files.
120452 objdir=$objdir
120453
120454 # Shell to use when invoking shell scripts.
120455 SHELL=$lt_SHELL
120456
120457 # An echo program that does not interpret backslashes.
120458 ECHO=$lt_ECHO
120459
120460 # Used to examine libraries when file_magic_cmd begins with "file".
120461 MAGIC_CMD=$MAGIC_CMD
120462
120463 # Must we lock files when doing compilation?
120464 need_locks=$lt_need_locks
120465
120466 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
120467 DSYMUTIL=$lt_DSYMUTIL
120468
120469 # Tool to change global to local symbols on Mac OS X.
120470 NMEDIT=$lt_NMEDIT
120471
120472 # Tool to manipulate fat objects and archives on Mac OS X.
120473 LIPO=$lt_LIPO
120474
120475 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
120476 OTOOL=$lt_OTOOL
120477
120478 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
120479 OTOOL64=$lt_OTOOL64
120480
120481 # Old archive suffix (normally "a").
120482 libext=$libext
120483
120484 # Shared library suffix (normally ".so").
120485 shrext_cmds=$lt_shrext_cmds
120486
120487 # The commands to extract the exported symbol list from a shared archive.
120488 extract_expsyms_cmds=$lt_extract_expsyms_cmds
120489
120490 # Variables whose values should be saved in libtool wrapper scripts and
120491 # restored at link time.
120492 variables_saved_for_relink=$lt_variables_saved_for_relink
120493
120494 # Do we need the "lib" prefix for modules?
120495 need_lib_prefix=$need_lib_prefix
120496
120497 # Do we need a version for libraries?
120498 need_version=$need_version
120499
120500 # Library versioning type.
120501 version_type=$version_type
120502
120503 # Shared library runtime path variable.
120504 runpath_var=$runpath_var
120505
120506 # Shared library path variable.
120507 shlibpath_var=$shlibpath_var
120508
120509 # Is shlibpath searched before the hard-coded library search path?
120510 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
120511
120512 # Format of library name prefix.
120513 libname_spec=$lt_libname_spec
120514
120515 # List of archive names. First name is the real one, the rest are links.
120516 # The last name is the one that the linker finds with -lNAME
120517 library_names_spec=$lt_library_names_spec
120518
120519 # The coded name of the library, if different from the real name.
120520 soname_spec=$lt_soname_spec
120521
120522 # Command to use after installation of a shared archive.
120523 postinstall_cmds=$lt_postinstall_cmds
120524
120525 # Command to use after uninstallation of a shared archive.
120526 postuninstall_cmds=$lt_postuninstall_cmds
120527
120528 # Commands used to finish a libtool library installation in a directory.
120529 finish_cmds=$lt_finish_cmds
120530
120531 # As "finish_cmds", except a single script fragment to be evaled but
120532 # not shown.
120533 finish_eval=$lt_finish_eval
120534
120535 # Whether we should hardcode library paths into libraries.
120536 hardcode_into_libs=$hardcode_into_libs
120537
120538 # Compile-time system search path for libraries.
120539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
120540
120541 # Run-time system search path for libraries.
120542 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
120543
120544 # Whether dlopen is supported.
120545 dlopen_support=$enable_dlopen
120546
120547 # Whether dlopen of programs is supported.
120548 dlopen_self=$enable_dlopen_self
120549
120550 # Whether dlopen of statically linked programs is supported.
120551 dlopen_self_static=$enable_dlopen_self_static
120552
120553 # Commands to strip libraries.
120554 old_striplib=$lt_old_striplib
120555 striplib=$lt_striplib
120556
120557
120558 # The linker used to build libraries.
120559 LD=$lt_LD
120560
120561 # Commands used to build an old-style archive.
120562 old_archive_cmds=$lt_old_archive_cmds
120563
120564 # A language specific compiler.
120565 CC=$lt_compiler
120566
120567 # Is the compiler the GNU compiler?
120568 with_gcc=$GCC
120569
120570 # Compiler flag to turn off builtin functions.
120571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
120572
120573 # How to pass a linker flag through the compiler.
120574 wl=$lt_lt_prog_compiler_wl
120575
120576 # Additional compiler flags for building library objects.
120577 pic_flag=$lt_lt_prog_compiler_pic
120578
120579 # Compiler flag to prevent dynamic linking.
120580 link_static_flag=$lt_lt_prog_compiler_static
120581
120582 # Does compiler simultaneously support -c and -o options?
120583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
120584
120585 # Whether or not to add -lc for building shared libraries.
120586 build_libtool_need_lc=$archive_cmds_need_lc
120587
120588 # Whether or not to disallow shared libs when runtime libs are static.
120589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
120590
120591 # Compiler flag to allow reflexive dlopens.
120592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
120593
120594 # Compiler flag to generate shared objects directly from archives.
120595 whole_archive_flag_spec=$lt_whole_archive_flag_spec
120596
120597 # Whether the compiler copes with passing no objects directly.
120598 compiler_needs_object=$lt_compiler_needs_object
120599
120600 # Create an old-style archive from a shared archive.
120601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
120602
120603 # Create a temporary old-style archive to link instead of a shared archive.
120604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
120605
120606 # Commands used to build a shared archive.
120607 archive_cmds=$lt_archive_cmds
120608 archive_expsym_cmds=$lt_archive_expsym_cmds
120609
120610 # Commands used to build a loadable module if different from building
120611 # a shared archive.
120612 module_cmds=$lt_module_cmds
120613 module_expsym_cmds=$lt_module_expsym_cmds
120614
120615 # Whether we are building with GNU ld or not.
120616 with_gnu_ld=$lt_with_gnu_ld
120617
120618 # Flag that allows shared libraries with undefined symbols to be built.
120619 allow_undefined_flag=$lt_allow_undefined_flag
120620
120621 # Flag that enforces no undefined symbols.
120622 no_undefined_flag=$lt_no_undefined_flag
120623
120624 # Flag to hardcode \$libdir into a binary during linking.
120625 # This must work even if \$libdir does not exist
120626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
120627
120628 # If ld is used when linking, flag to hardcode \$libdir into a binary
120629 # during linking. This must work even if \$libdir does not exist.
120630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
120631
120632 # Whether we need a single "-rpath" flag with a separated argument.
120633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
120634
120635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
120636 # DIR into the resulting binary.
120637 hardcode_direct=$hardcode_direct
120638
120639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
120640 # DIR into the resulting binary and the resulting library dependency is
120641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
120642 # library is relocated.
120643 hardcode_direct_absolute=$hardcode_direct_absolute
120644
120645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
120646 # into the resulting binary.
120647 hardcode_minus_L=$hardcode_minus_L
120648
120649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
120650 # into the resulting binary.
120651 hardcode_shlibpath_var=$hardcode_shlibpath_var
120652
120653 # Set to "yes" if building a shared library automatically hardcodes DIR
120654 # into the library and all subsequent libraries and executables linked
120655 # against it.
120656 hardcode_automatic=$hardcode_automatic
120657
120658 # Set to yes if linker adds runtime paths of dependent libraries
120659 # to runtime path list.
120660 inherit_rpath=$inherit_rpath
120661
120662 # Whether libtool must link a program against all its dependency libraries.
120663 link_all_deplibs=$link_all_deplibs
120664
120665 # Fix the shell variable \$srcfile for the compiler.
120666 fix_srcfile_path=$lt_fix_srcfile_path
120667
120668 # Set to "yes" if exported symbols are required.
120669 always_export_symbols=$always_export_symbols
120670
120671 # The commands to list exported symbols.
120672 export_symbols_cmds=$lt_export_symbols_cmds
120673
120674 # Symbols that should not be listed in the preloaded symbols.
120675 exclude_expsyms=$lt_exclude_expsyms
120676
120677 # Symbols that must always be exported.
120678 include_expsyms=$lt_include_expsyms
120679
120680 # Commands necessary for linking programs (against libraries) with templates.
120681 prelink_cmds=$lt_prelink_cmds
120682
120683 # Specify filename containing input files.
120684 file_list_spec=$lt_file_list_spec
120685
120686 # How to hardcode a shared library path into an executable.
120687 hardcode_action=$hardcode_action
120688
120689 # The directories searched by this compiler when creating a shared library.
120690 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
120691
120692 # Dependencies to place before and after the objects being linked to
120693 # create a shared library.
120694 predep_objects=$lt_predep_objects
120695 postdep_objects=$lt_postdep_objects
120696 predeps=$lt_predeps
120697 postdeps=$lt_postdeps
120698
120699 # The library search path used internally by the compiler when linking
120700 # a shared library.
120701 compiler_lib_search_path=$lt_compiler_lib_search_path
120702
120703 # ### END LIBTOOL CONFIG
120704
120705 _LT_EOF
120706
120707 case $host_os in
120708 aix3*)
120709 cat <<\_LT_EOF >> "$cfgfile"
120710 # AIX sometimes has problems with the GCC collect2 program. For some
120711 # reason, if we set the COLLECT_NAMES environment variable, the problems
120712 # vanish in a puff of smoke.
120713 if test "X${COLLECT_NAMES+set}" != Xset; then
120714 COLLECT_NAMES=
120715 export COLLECT_NAMES
120716 fi
120717 _LT_EOF
120718 ;;
120719 esac
120720
120721
120722 ltmain="$ac_aux_dir/ltmain.sh"
120723
120724
120725 # We use sed instead of cat because bash on DJGPP gets confused if
120726 # if finds mixed CR/LF and LF-only lines. Since sed operates in
120727 # text mode, it properly converts lines to CR/LF. This bash problem
120728 # is reportedly fixed, but why not run on old versions too?
120729 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
120730 || (rm -f "$cfgfile"; exit 1)
120731
120732 case $xsi_shell in
120733 yes)
120734 cat << \_LT_EOF >> "$cfgfile"
120735
120736 # func_dirname file append nondir_replacement
120737 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
120738 # otherwise set result to NONDIR_REPLACEMENT.
120739 func_dirname ()
120740 {
120741 case ${1} in
120742 */*) func_dirname_result="${1%/*}${2}" ;;
120743 * ) func_dirname_result="${3}" ;;
120744 esac
120745 }
120746
120747 # func_basename file
120748 func_basename ()
120749 {
120750 func_basename_result="${1##*/}"
120751 }
120752
120753 # func_dirname_and_basename file append nondir_replacement
120754 # perform func_basename and func_dirname in a single function
120755 # call:
120756 # dirname: Compute the dirname of FILE. If nonempty,
120757 # add APPEND to the result, otherwise set result
120758 # to NONDIR_REPLACEMENT.
120759 # value returned in "$func_dirname_result"
120760 # basename: Compute filename of FILE.
120761 # value retuned in "$func_basename_result"
120762 # Implementation must be kept synchronized with func_dirname
120763 # and func_basename. For efficiency, we do not delegate to
120764 # those functions but instead duplicate the functionality here.
120765 func_dirname_and_basename ()
120766 {
120767 case ${1} in
120768 */*) func_dirname_result="${1%/*}${2}" ;;
120769 * ) func_dirname_result="${3}" ;;
120770 esac
120771 func_basename_result="${1##*/}"
120772 }
120773
120774 # func_stripname prefix suffix name
120775 # strip PREFIX and SUFFIX off of NAME.
120776 # PREFIX and SUFFIX must not contain globbing or regex special
120777 # characters, hashes, percent signs, but SUFFIX may contain a leading
120778 # dot (in which case that matches only a dot).
120779 func_stripname ()
120780 {
120781 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
120782 # positional parameters, so assign one to ordinary parameter first.
120783 func_stripname_result=${3}
120784 func_stripname_result=${func_stripname_result#"${1}"}
120785 func_stripname_result=${func_stripname_result%"${2}"}
120786 }
120787
120788 # func_opt_split
120789 func_opt_split ()
120790 {
120791 func_opt_split_opt=${1%%=*}
120792 func_opt_split_arg=${1#*=}
120793 }
120794
120795 # func_lo2o object
120796 func_lo2o ()
120797 {
120798 case ${1} in
120799 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
120800 *) func_lo2o_result=${1} ;;
120801 esac
120802 }
120803
120804 # func_xform libobj-or-source
120805 func_xform ()
120806 {
120807 func_xform_result=${1%.*}.lo
120808 }
120809
120810 # func_arith arithmetic-term...
120811 func_arith ()
120812 {
120813 func_arith_result=$(( $* ))
120814 }
120815
120816 # func_len string
120817 # STRING may not start with a hyphen.
120818 func_len ()
120819 {
120820 func_len_result=${#1}
120821 }
120822
120823 _LT_EOF
120824 ;;
120825 *) # Bourne compatible functions.
120826 cat << \_LT_EOF >> "$cfgfile"
120827
120828 # func_dirname file append nondir_replacement
120829 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
120830 # otherwise set result to NONDIR_REPLACEMENT.
120831 func_dirname ()
120832 {
120833 # Extract subdirectory from the argument.
120834 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
120835 if test "X$func_dirname_result" = "X${1}"; then
120836 func_dirname_result="${3}"
120837 else
120838 func_dirname_result="$func_dirname_result${2}"
120839 fi
120840 }
120841
120842 # func_basename file
120843 func_basename ()
120844 {
120845 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
120846 }
120847
120848
120849 # func_stripname prefix suffix name
120850 # strip PREFIX and SUFFIX off of NAME.
120851 # PREFIX and SUFFIX must not contain globbing or regex special
120852 # characters, hashes, percent signs, but SUFFIX may contain a leading
120853 # dot (in which case that matches only a dot).
120854 # func_strip_suffix prefix name
120855 func_stripname ()
120856 {
120857 case ${2} in
120858 .*) func_stripname_result=`$ECHO "X${3}" \
120859 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
120860 *) func_stripname_result=`$ECHO "X${3}" \
120861 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
120862 esac
120863 }
120864
120865 # sed scripts:
120866 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
120867 my_sed_long_arg='1s/^-[^=]*=//'
120868
120869 # func_opt_split
120870 func_opt_split ()
120871 {
120872 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
120873 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
120874 }
120875
120876 # func_lo2o object
120877 func_lo2o ()
120878 {
120879 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
120880 }
120881
120882 # func_xform libobj-or-source
120883 func_xform ()
120884 {
120885 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
120886 }
120887
120888 # func_arith arithmetic-term...
120889 func_arith ()
120890 {
120891 func_arith_result=`expr "$@"`
120892 }
120893
120894 # func_len string
120895 # STRING may not start with a hyphen.
120896 func_len ()
120897 {
120898 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
120899 }
120900
120901 _LT_EOF
120902 esac
120903
120904 case $lt_shell_append in
120905 yes)
120906 cat << \_LT_EOF >> "$cfgfile"
120907
120908 # func_append var value
120909 # Append VALUE to the end of shell variable VAR.
120910 func_append ()
120911 {
120912 eval "$1+=\$2"
120913 }
120914 _LT_EOF
120915 ;;
120916 *)
120917 cat << \_LT_EOF >> "$cfgfile"
120918
120919 # func_append var value
120920 # Append VALUE to the end of shell variable VAR.
120921 func_append ()
120922 {
120923 eval "$1=\$$1\$2"
120924 }
120925
120926 _LT_EOF
120927 ;;
120928 esac
120929
120930
120931 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
120932 || (rm -f "$cfgfile"; exit 1)
120933
120934 mv -f "$cfgfile" "$ofile" ||
120935 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
120936 chmod +x "$ofile"
120937
120938
120939 cat <<_LT_EOF >> "$ofile"
120940
120941 # ### BEGIN LIBTOOL TAG CONFIG: CXX
120942
120943 # The linker used to build libraries.
120944 LD=$lt_LD_CXX
120945
120946 # Commands used to build an old-style archive.
120947 old_archive_cmds=$lt_old_archive_cmds_CXX
120948
120949 # A language specific compiler.
120950 CC=$lt_compiler_CXX
120951
120952 # Is the compiler the GNU compiler?
120953 with_gcc=$GCC_CXX
120954
120955 # Compiler flag to turn off builtin functions.
120956 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
120957
120958 # How to pass a linker flag through the compiler.
120959 wl=$lt_lt_prog_compiler_wl_CXX
120960
120961 # Additional compiler flags for building library objects.
120962 pic_flag=$lt_lt_prog_compiler_pic_CXX
120963
120964 # Compiler flag to prevent dynamic linking.
120965 link_static_flag=$lt_lt_prog_compiler_static_CXX
120966
120967 # Does compiler simultaneously support -c and -o options?
120968 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
120969
120970 # Whether or not to add -lc for building shared libraries.
120971 build_libtool_need_lc=$archive_cmds_need_lc_CXX
120972
120973 # Whether or not to disallow shared libs when runtime libs are static.
120974 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
120975
120976 # Compiler flag to allow reflexive dlopens.
120977 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
120978
120979 # Compiler flag to generate shared objects directly from archives.
120980 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
120981
120982 # Whether the compiler copes with passing no objects directly.
120983 compiler_needs_object=$lt_compiler_needs_object_CXX
120984
120985 # Create an old-style archive from a shared archive.
120986 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
120987
120988 # Create a temporary old-style archive to link instead of a shared archive.
120989 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
120990
120991 # Commands used to build a shared archive.
120992 archive_cmds=$lt_archive_cmds_CXX
120993 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
120994
120995 # Commands used to build a loadable module if different from building
120996 # a shared archive.
120997 module_cmds=$lt_module_cmds_CXX
120998 module_expsym_cmds=$lt_module_expsym_cmds_CXX
120999
121000 # Whether we are building with GNU ld or not.
121001 with_gnu_ld=$lt_with_gnu_ld_CXX
121002
121003 # Flag that allows shared libraries with undefined symbols to be built.
121004 allow_undefined_flag=$lt_allow_undefined_flag_CXX
121005
121006 # Flag that enforces no undefined symbols.
121007 no_undefined_flag=$lt_no_undefined_flag_CXX
121008
121009 # Flag to hardcode \$libdir into a binary during linking.
121010 # This must work even if \$libdir does not exist
121011 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
121012
121013 # If ld is used when linking, flag to hardcode \$libdir into a binary
121014 # during linking. This must work even if \$libdir does not exist.
121015 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
121016
121017 # Whether we need a single "-rpath" flag with a separated argument.
121018 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
121019
121020 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
121021 # DIR into the resulting binary.
121022 hardcode_direct=$hardcode_direct_CXX
121023
121024 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
121025 # DIR into the resulting binary and the resulting library dependency is
121026 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
121027 # library is relocated.
121028 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
121029
121030 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
121031 # into the resulting binary.
121032 hardcode_minus_L=$hardcode_minus_L_CXX
121033
121034 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
121035 # into the resulting binary.
121036 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
121037
121038 # Set to "yes" if building a shared library automatically hardcodes DIR
121039 # into the library and all subsequent libraries and executables linked
121040 # against it.
121041 hardcode_automatic=$hardcode_automatic_CXX
121042
121043 # Set to yes if linker adds runtime paths of dependent libraries
121044 # to runtime path list.
121045 inherit_rpath=$inherit_rpath_CXX
121046
121047 # Whether libtool must link a program against all its dependency libraries.
121048 link_all_deplibs=$link_all_deplibs_CXX
121049
121050 # Fix the shell variable \$srcfile for the compiler.
121051 fix_srcfile_path=$lt_fix_srcfile_path_CXX
121052
121053 # Set to "yes" if exported symbols are required.
121054 always_export_symbols=$always_export_symbols_CXX
121055
121056 # The commands to list exported symbols.
121057 export_symbols_cmds=$lt_export_symbols_cmds_CXX
121058
121059 # Symbols that should not be listed in the preloaded symbols.
121060 exclude_expsyms=$lt_exclude_expsyms_CXX
121061
121062 # Symbols that must always be exported.
121063 include_expsyms=$lt_include_expsyms_CXX
121064
121065 # Commands necessary for linking programs (against libraries) with templates.
121066 prelink_cmds=$lt_prelink_cmds_CXX
121067
121068 # Specify filename containing input files.
121069 file_list_spec=$lt_file_list_spec_CXX
121070
121071 # How to hardcode a shared library path into an executable.
121072 hardcode_action=$hardcode_action_CXX
121073
121074 # The directories searched by this compiler when creating a shared library.
121075 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
121076
121077 # Dependencies to place before and after the objects being linked to
121078 # create a shared library.
121079 predep_objects=$lt_predep_objects_CXX
121080 postdep_objects=$lt_postdep_objects_CXX
121081 predeps=$lt_predeps_CXX
121082 postdeps=$lt_postdeps_CXX
121083
121084 # The library search path used internally by the compiler when linking
121085 # a shared library.
121086 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
121087
121088 # ### END LIBTOOL TAG CONFIG: CXX
121089 _LT_EOF
121090
121091 ;;
121092 include/gstdint.h )
121093 if test "$GCC" = yes; then
121094 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
121095 else
121096 echo "/* generated for $CC */" > tmp-stdint.h
121097 fi
121098
121099 sed 's/^ *//' >> tmp-stdint.h <<EOF
121100
121101 #ifndef GCC_GENERATED_STDINT_H
121102 #define GCC_GENERATED_STDINT_H 1
121103
121104 #include <sys/types.h>
121105 EOF
121106
121107 if test "$acx_cv_header_stdint" != stdint.h; then
121108 echo "#include <stddef.h>" >> tmp-stdint.h
121109 fi
121110 if test "$acx_cv_header_stdint" != stddef.h; then
121111 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
121112 fi
121113
121114 sed 's/^ *//' >> tmp-stdint.h <<EOF
121115 /* glibc uses these symbols as guards to prevent redefinitions. */
121116 #ifdef __int8_t_defined
121117 #define _INT8_T
121118 #define _INT16_T
121119 #define _INT32_T
121120 #endif
121121 #ifdef __uint32_t_defined
121122 #define _UINT32_T
121123 #endif
121124
121125 EOF
121126
121127 # ----------------- done header, emit basic int types -------------
121128 if test "$acx_cv_header_stdint" = stddef.h; then
121129 sed 's/^ *//' >> tmp-stdint.h <<EOF
121130
121131 #ifndef _UINT8_T
121132 #define _UINT8_T
121133 #ifndef __uint8_t_defined
121134 #define __uint8_t_defined
121135 typedef unsigned $acx_cv_type_int8_t uint8_t;
121136 #endif
121137 #endif
121138
121139 #ifndef _UINT16_T
121140 #define _UINT16_T
121141 #ifndef __uint16_t_defined
121142 #define __uint16_t_defined
121143 typedef unsigned $acx_cv_type_int16_t uint16_t;
121144 #endif
121145 #endif
121146
121147 #ifndef _UINT32_T
121148 #define _UINT32_T
121149 #ifndef __uint32_t_defined
121150 #define __uint32_t_defined
121151 typedef unsigned $acx_cv_type_int32_t uint32_t;
121152 #endif
121153 #endif
121154
121155 #ifndef _INT8_T
121156 #define _INT8_T
121157 #ifndef __int8_t_defined
121158 #define __int8_t_defined
121159 typedef $acx_cv_type_int8_t int8_t;
121160 #endif
121161 #endif
121162
121163 #ifndef _INT16_T
121164 #define _INT16_T
121165 #ifndef __int16_t_defined
121166 #define __int16_t_defined
121167 typedef $acx_cv_type_int16_t int16_t;
121168 #endif
121169 #endif
121170
121171 #ifndef _INT32_T
121172 #define _INT32_T
121173 #ifndef __int32_t_defined
121174 #define __int32_t_defined
121175 typedef $acx_cv_type_int32_t int32_t;
121176 #endif
121177 #endif
121178 EOF
121179 elif test "$ac_cv_type_u_int32_t" = yes; then
121180 sed 's/^ *//' >> tmp-stdint.h <<EOF
121181
121182 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
121183 #ifndef _INT8_T
121184 #define _INT8_T
121185 #endif
121186 #ifndef _INT16_T
121187 #define _INT16_T
121188 #endif
121189 #ifndef _INT32_T
121190 #define _INT32_T
121191 #endif
121192
121193 #ifndef _UINT8_T
121194 #define _UINT8_T
121195 #ifndef __uint8_t_defined
121196 #define __uint8_t_defined
121197 typedef u_int8_t uint8_t;
121198 #endif
121199 #endif
121200
121201 #ifndef _UINT16_T
121202 #define _UINT16_T
121203 #ifndef __uint16_t_defined
121204 #define __uint16_t_defined
121205 typedef u_int16_t uint16_t;
121206 #endif
121207 #endif
121208
121209 #ifndef _UINT32_T
121210 #define _UINT32_T
121211 #ifndef __uint32_t_defined
121212 #define __uint32_t_defined
121213 typedef u_int32_t uint32_t;
121214 #endif
121215 #endif
121216 EOF
121217 else
121218 sed 's/^ *//' >> tmp-stdint.h <<EOF
121219
121220 /* Some systems have guard macros to prevent redefinitions, define them. */
121221 #ifndef _INT8_T
121222 #define _INT8_T
121223 #endif
121224 #ifndef _INT16_T
121225 #define _INT16_T
121226 #endif
121227 #ifndef _INT32_T
121228 #define _INT32_T
121229 #endif
121230 #ifndef _UINT8_T
121231 #define _UINT8_T
121232 #endif
121233 #ifndef _UINT16_T
121234 #define _UINT16_T
121235 #endif
121236 #ifndef _UINT32_T
121237 #define _UINT32_T
121238 #endif
121239 EOF
121240 fi
121241
121242 # ------------- done basic int types, emit int64_t types ------------
121243 if test "$ac_cv_type_uint64_t" = yes; then
121244 sed 's/^ *//' >> tmp-stdint.h <<EOF
121245
121246 /* system headers have good uint64_t and int64_t */
121247 #ifndef _INT64_T
121248 #define _INT64_T
121249 #endif
121250 #ifndef _UINT64_T
121251 #define _UINT64_T
121252 #endif
121253 EOF
121254 elif test "$ac_cv_type_u_int64_t" = yes; then
121255 sed 's/^ *//' >> tmp-stdint.h <<EOF
121256
121257 /* system headers have an u_int64_t (and int64_t) */
121258 #ifndef _INT64_T
121259 #define _INT64_T
121260 #endif
121261 #ifndef _UINT64_T
121262 #define _UINT64_T
121263 #ifndef __uint64_t_defined
121264 #define __uint64_t_defined
121265 typedef u_int64_t uint64_t;
121266 #endif
121267 #endif
121268 EOF
121269 elif test -n "$acx_cv_type_int64_t"; then
121270 sed 's/^ *//' >> tmp-stdint.h <<EOF
121271
121272 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
121273 #ifndef _INT64_T
121274 #define _INT64_T
121275 typedef $acx_cv_type_int64_t int64_t;
121276 #endif
121277 #ifndef _UINT64_T
121278 #define _UINT64_T
121279 #ifndef __uint64_t_defined
121280 #define __uint64_t_defined
121281 typedef unsigned $acx_cv_type_int64_t uint64_t;
121282 #endif
121283 #endif
121284 EOF
121285 else
121286 sed 's/^ *//' >> tmp-stdint.h <<EOF
121287
121288 /* some common heuristics for int64_t, using compiler-specific tests */
121289 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
121290 #ifndef _INT64_T
121291 #define _INT64_T
121292 #ifndef __int64_t_defined
121293 typedef long long int64_t;
121294 #endif
121295 #endif
121296 #ifndef _UINT64_T
121297 #define _UINT64_T
121298 typedef unsigned long long uint64_t;
121299 #endif
121300
121301 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
121302 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
121303 does not implement __extension__. But that compiler doesn't define
121304 __GNUC_MINOR__. */
121305 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
121306 # define __extension__
121307 # endif
121308
121309 # ifndef _INT64_T
121310 # define _INT64_T
121311 __extension__ typedef long long int64_t;
121312 # endif
121313 # ifndef _UINT64_T
121314 # define _UINT64_T
121315 __extension__ typedef unsigned long long uint64_t;
121316 # endif
121317
121318 #elif !defined __STRICT_ANSI__
121319 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
121320
121321 # ifndef _INT64_T
121322 # define _INT64_T
121323 typedef __int64 int64_t;
121324 # endif
121325 # ifndef _UINT64_T
121326 # define _UINT64_T
121327 typedef unsigned __int64 uint64_t;
121328 # endif
121329 # endif /* compiler */
121330
121331 #endif /* ANSI version */
121332 EOF
121333 fi
121334
121335 # ------------- done int64_t types, emit intptr types ------------
121336 if test "$ac_cv_type_uintptr_t" != yes; then
121337 sed 's/^ *//' >> tmp-stdint.h <<EOF
121338
121339 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
121340 #ifndef __uintptr_t_defined
121341 typedef u$acx_cv_type_intptr_t uintptr_t;
121342 #endif
121343 #ifndef __intptr_t_defined
121344 typedef $acx_cv_type_intptr_t intptr_t;
121345 #endif
121346 EOF
121347 fi
121348
121349 # ------------- done intptr types, emit int_least types ------------
121350 if test "$ac_cv_type_int_least32_t" != yes; then
121351 sed 's/^ *//' >> tmp-stdint.h <<EOF
121352
121353 /* Define int_least types */
121354 typedef int8_t int_least8_t;
121355 typedef int16_t int_least16_t;
121356 typedef int32_t int_least32_t;
121357 #ifdef _INT64_T
121358 typedef int64_t int_least64_t;
121359 #endif
121360
121361 typedef uint8_t uint_least8_t;
121362 typedef uint16_t uint_least16_t;
121363 typedef uint32_t uint_least32_t;
121364 #ifdef _UINT64_T
121365 typedef uint64_t uint_least64_t;
121366 #endif
121367 EOF
121368 fi
121369
121370 # ------------- done intptr types, emit int_fast types ------------
121371 if test "$ac_cv_type_int_fast32_t" != yes; then
121372 sed 's/^ *//' >> tmp-stdint.h <<EOF
121373
121374 /* Define int_fast types. short is often slow */
121375 typedef int8_t int_fast8_t;
121376 typedef int int_fast16_t;
121377 typedef int32_t int_fast32_t;
121378 #ifdef _INT64_T
121379 typedef int64_t int_fast64_t;
121380 #endif
121381
121382 typedef uint8_t uint_fast8_t;
121383 typedef unsigned int uint_fast16_t;
121384 typedef uint32_t uint_fast32_t;
121385 #ifdef _UINT64_T
121386 typedef uint64_t uint_fast64_t;
121387 #endif
121388 EOF
121389 fi
121390
121391 if test "$ac_cv_type_uintmax_t" != yes; then
121392 sed 's/^ *//' >> tmp-stdint.h <<EOF
121393
121394 /* Define intmax based on what we found */
121395 #ifdef _INT64_T
121396 typedef int64_t intmax_t;
121397 #else
121398 typedef long intmax_t;
121399 #endif
121400 #ifdef _UINT64_T
121401 typedef uint64_t uintmax_t;
121402 #else
121403 typedef unsigned long uintmax_t;
121404 #endif
121405 EOF
121406 fi
121407
121408 sed 's/^ *//' >> tmp-stdint.h <<EOF
121409
121410 #endif /* GCC_GENERATED_STDINT_H */
121411 EOF
121412
121413 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
121414 rm -f tmp-stdint.h
121415 else
121416 mv -f tmp-stdint.h include/gstdint.h
121417 fi
121418
121419 ;;
121420 default ) if test -n "$CONFIG_FILES"; then
121421 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
121422 # that multilib installs will end up installed in the correct place.
121423 # The testsuite needs it for multilib-aware ABI baseline files.
121424 # To work around this not being passed down from config-ml.in ->
121425 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
121426 # append it here. Only modify Makefiles that have just been created.
121427 #
121428 # Also, get rid of this simulated-VPATH thing that automake does.
121429 cat > vpsed << \_EOF
121430 s!`test -f '$<' || echo '$(srcdir)/'`!!
121431 _EOF
121432 for i in $SUBDIRS; do
121433 case $CONFIG_FILES in
121434 *${i}/Makefile*)
121435 #echo "Adding MULTISUBDIR to $i/Makefile"
121436 sed -f vpsed $i/Makefile > tmp
121437 grep '^MULTISUBDIR =' Makefile >> tmp
121438 mv tmp $i/Makefile
121439 ;;
121440 esac
121441 done
121442 rm vpsed
121443 fi
121444 (cd include && ${MAKE-make})
121445 ;;
121446 esac
121447 done
121448 _ACEOF
121449
121450 cat >>$CONFIG_STATUS <<\_ACEOF
121451
121452 { (exit 0); exit 0; }
121453 _ACEOF
121454 chmod +x $CONFIG_STATUS
121455 ac_clean_files=$ac_clean_files_save
121456
121457
121458 # configure is writing to config.log, and then calls config.status.
121459 # config.status does its own redirection, appending to config.log.
121460 # Unfortunately, on DOS this fails, as config.log is still kept open
121461 # by configure, so config.status won't be able to write to it; its
121462 # output is simply discarded. So we exec the FD to /dev/null,
121463 # effectively closing config.log, so it can be properly (re)opened and
121464 # appended to by config.status. When coming back to configure, we
121465 # need to make the FD available again.
121466 if test "$no_create" != yes; then
121467 ac_cs_success=:
121468 ac_config_status_args=
121469 test "$silent" = yes &&
121470 ac_config_status_args="$ac_config_status_args --quiet"
121471 exec 5>/dev/null
121472 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
121473 exec 5>>config.log
121474 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
121475 # would make configure fail if this is the last instruction.
121476 $ac_cs_success || { (exit 1); exit 1; }
121477 fi
121478